/* =========================================================
   WGRR / VERMIETUNGEN
   Seitenspezifische Ergänzungen
   Voraussetzung:
   - wgrr-base.css
   - wgrr-layout.css
========================================================= */

.wgrr-rental-page {
	position: relative;
	z-index: 3;
	margin-top: clamp(-4.2rem, -0.8rem - 2.6vw, -1.4rem);
	padding-bottom: var(--wgrr-space-3xl);
}

.wgrr-rental-page .container {
	width: min(100% - 2rem, 68rem);
}

.wgrr-rental-page__inner {
	background: var(--wgrr-color-white);
	padding:
		clamp(1.3rem, 1rem + 1vw, 2rem)
		clamp(1.25rem, 0.6rem + 2vw, 2.25rem)
		clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem);
}

.wgrr-rental-page__header {
	margin-bottom: clamp(1.2rem, 0.9rem + 1vw, 2rem);
	text-align: center;
}

.wgrr-rental-page__title,
.wgrr-rental-locations__title {
	margin: 0;
	font-family: var(--wgrr-font-sans-bold);
	font-size: clamp(1.9rem, 1.45rem + 1.4vw, 2.65rem);
	font-weight: normal;
	line-height: 1.12;
	letter-spacing: 0.03em;
	text-align: center;
	text-transform: uppercase;
	color: var(--wgrr-color-green-mid);
}

.wgrr-rental-topgrid,
.wgrr-rental-form,
.wgrr-rental-locations__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.4rem, 1rem + 1.2vw, 2rem);
	align-items: start;
}

.wgrr-rental-offers__image {
	width: 100%;
	height: auto;
}

.wgrr-rental-card {
	background: var(--wgrr-color-green-light);
}

.wgrr-rental-card__image {
	width: 100%;
	aspect-ratio: 1.45 / 0.68;
	object-fit: cover;
}

.wgrr-rental-card__body {
	padding: clamp(0.9rem, 0.75rem + 0.5vw, 1.2rem);
	font-family: var(--wgrr-font-sans);
	font-size: clamp(1rem, 0.94rem + 0.22vw, 1.18rem);
	line-height: 1.32;
	color: var(--wgrr-color-black);
}

.wgrr-rental-card__title {
	margin: 0 0 0.45rem;
	font-family: var(--wgrr-font-sans-bold);
	font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.85rem);
	font-weight: normal;
	line-height: 1.05;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wgrr-color-black);
}

.wgrr-rental-card__body p,
.wgrr-rental-card__contact {
	margin: 0;
}

.wgrr-rental-card__contact {
	margin-top: 0.35rem;
	font-style: normal;
}

.wgrr-rental-card strong {
	font-family: var(--wgrr-font-sans-bold);
	font-weight: normal;
}

.wgrr-rental-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: var(--wgrr-color-green-dark);
	font-family: var(--wgrr-font-sans-bold);
	font-weight: normal;
	line-height: 1.2;
	text-decoration: none !important;
}

.wgrr-rental-card__icon {
	display: inline-block;
	flex: 0 0 auto;
	width: 0.95em;
	height: 0.95em;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.wgrr-rental-card__icon--phone {
	-webkit-mask-image: url("../img/wgr-img/wgr-icons/wgr-phone-icon.svg");
	mask-image: url("../img/wgr-img/wgr-icons/wgr-phone-icon.svg");
}

.wgrr-rental-card__icon--mail {
	-webkit-mask-image: url("../img/wgr-img/wgr-icons/wgr-mail-icon.svg");
	mask-image: url("../img/wgr-img/wgr-icons/wgr-mail-icon.svg");
}

.wgrr-rental-formbox {
	margin-top: clamp(1.8rem, 1.2rem + 1.8vw, 3rem);
	padding: clamp(1.15rem, 0.9rem + 0.8vw, 1.6rem);
	background: var(--wgrr-color-green-light);
}

.wgrr-rental-formbox__title,
.wgrr-rental-form__heading,
.wgrr-rental-fieldset legend {
	margin: 0 0 clamp(0.7rem, 0.55rem + 0.45vw, 1rem);
	font-family: var(--wgrr-font-sans-bold);
	font-size: clamp(1rem, 0.94rem + 0.25vw, 1.16rem);
	font-weight: normal;
	line-height: 1.25;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wgrr-color-black);
}

.wgrr-rental-formbox__title {
	font-size: clamp(1.25rem, 1.05rem + 0.65vw, 1.65rem);
	color: var(--wgrr-color-green-dark);
}

.wgrr-rental-form__col {
	display: flex;
	flex-direction: column;
}

.wgrr-rental-form__bottom {
	margin-top: auto;
	padding-top: clamp(1.4rem, 1rem + 1.2vw, 2rem);
}

.wgrr-rental-field,
.wgrr-rental-check,
.wgrr-rental-choicegroup,
.wgrr-rental-fieldset {
	margin: 0;
}

.wgrr-rental-field + .wgrr-rental-field,
.wgrr-rental-fieldset + .wgrr-rental-fieldset,
.wgrr-rental-fieldset + .wgrr-rental-field {
	margin-top: 0.75rem;
}

.wgrr-rental-field span:not(.wgrr-rental-inlinefields span),
.wgrr-rental-inlinefields label span {
	position: absolute;
	width: 0.0625rem;
	height: 0.0625rem;
	padding: 0;
	margin: -0.0625rem;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wgrr-rental-field input,
.wgrr-rental-field textarea,
.wgrr-rental-inlinefields input {
	width: 100%;
	border: 0;
	border-radius: var(--wgrr-radius-s);
	background: var(--wgrr-color-white);
	color: var(--wgrr-color-black);
	font-family: var(--wgrr-font-sans);
	font-size: clamp(1rem, 0.95rem + 0.18vw, 1.1rem);
	line-height: 1.35;
	padding: 0.42rem 0.6rem;
}

.wgrr-rental-field textarea {
	min-height: clamp(7rem, 5.5rem + 4vw, 9rem);
	resize: vertical;
}

.wgrr-rental-field input::placeholder,
.wgrr-rental-field textarea::placeholder {
	color: var(--wgrr-color-black);
	opacity: 1;
}

.wgrr-rental-choicegroup {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.55rem;
	padding: 0;
	border: 0;
	font-family: var(--wgrr-font-sans);
	font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
	line-height: 1.35;
	color: var(--wgrr-color-black);
}

.wgrr-rental-choicegroup legend {
	float: left;
	width: auto;
	margin: 0 0.15rem 0 0;
	font-family: var(--wgrr-font-sans);
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.wgrr-rental-choicegroup label,
.wgrr-rental-check {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-family: var(--wgrr-font-sans);
	font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
	line-height: 1.35;
	color: var(--wgrr-color-black);
}

.wgrr-rental-choicegroup input,
.wgrr-rental-check input,
.wgrr-rental-consent input {
	width: 1.65rem;
	height: 1.65rem;
	margin: 0;
	border: 0;
	border-radius: 0.48rem;
	accent-color: var(--wgrr-color-green-dark);
}

.wgrr-rental-fieldset {
	padding: 0;
	border: 0;
	font-family: var(--wgrr-font-sans);
	font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
	line-height: 1.35;
	color: var(--wgrr-color-black);
}

.wgrr-rental-fieldset legend {
	margin-bottom: 0.35rem;
	color: var(--wgrr-color-black);
}

.wgrr-rental-fieldset legend a {
	color: var(--wgrr-color-green-dark);
	text-decoration: none !important;
}

.wgrr-rental-fieldset legend a::before,
.wgrr-rental-submit::before {
	content: "»";
	font-family: var(--wgrr-font-sans-black);
	margin-inline: 0.15rem;
}

.wgrr-rental-inlinefields,
.wgrr-rental-checkrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.4rem;
}

.wgrr-rental-inlinefields input {
	width: clamp(3.8rem, 3rem + 2vw, 5.2rem);
	padding-block: 0.34rem;
}

.wgrr-rental-privacy {
	margin: 0 0 0.45rem;
	font-family: var(--wgrr-font-sans);
	font-size: clamp(0.95rem, 0.9rem + 0.22vw, 1.05rem);
	line-height: 1.35;
	color: var(--wgrr-color-green-dark);
}

.wgrr-rental-consent {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	width: fit-content;
	color: var(--wgrr-color-green-dark);
	font-family: var(--wgrr-font-sans);
	font-size: clamp(1rem, 0.94rem + 0.25vw, 1.1rem);
	line-height: 1.35;
}

.wgrr-rental-submit {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	width: fit-content;
	margin-top: 1rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--wgrr-color-green-dark);
	font-family: var(--wgrr-font-sans-bold);
	font-size: clamp(1rem, 0.94rem + 0.25vw, 1.12rem);
	font-weight: normal;
	line-height: 1.25;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
}

.wgrr-rental-divider {
	margin:
		clamp(2.2rem, 1.7rem + 1.6vw, 3.5rem)
		0
		clamp(1.6rem, 1.2rem + 1.2vw, 2.5rem);
	border: 0;
	border-top: 0.13rem solid var(--wgrr-color-border);
}

.wgrr-rental-locations__title {
	color: var(--wgrr-color-green-dark);
}

.wgrr-rental-locations__grid {
	margin-top: clamp(1.4rem, 1rem + 1.2vw, 2rem);
}

.wgrr-rental-locations__map {
	width: 100%;
	height: auto;
}

.wgrr-rental-locations__list {
	padding: clamp(1rem, 0.85rem + 0.5vw, 1.35rem);
	background: var(--wgrr-color-yellow);
	color: var(--wgrr-color-black);
	font-family: var(--wgrr-font-sans);
	font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.18rem);
	line-height: 1.25;
}

.wgrr-rental-locations__list h3 {
	margin: 0;
	font-family: var(--wgrr-font-sans-bold);
	font-size: 1em;
	font-weight: normal;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--wgrr-color-black);
}

.wgrr-rental-locations__list p {
	margin: 0 0 0.7rem;
}

.wgrr-rental-locations__list p:last-child {
	margin-bottom: 0;
}

@media (min-width: 48rem) {
	.wgrr-rental-topgrid {
		grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr);
	}

	.wgrr-rental-form {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: clamp(1.8rem, 1.2rem + 2vw, 3rem);
	}

	.wgrr-rental-locations__grid {
		grid-template-columns: minmax(0, 2fr) minmax(13rem, 1fr);
	}
}

@media (max-width: 47.99875rem) {
	.wgrr-rental-page {
		margin-top: 0;
		padding-bottom: var(--wgrr-space-2xl);
	}

	.wgrr-rental-page .container {
		width: min(100% - 1.25rem, 68rem);
	}

	.wgrr-rental-page__inner {
		padding: 1.15rem 1rem 1.6rem;
	}

	.wgrr-rental-page__title,
	.wgrr-rental-locations__title {
		font-size: clamp(1.65rem, 1.3rem + 1.2vw, 2rem);
		line-height: 1.15;
	}

	.wgrr-rental-formbox {
		padding: 1rem;
	}

	.wgrr-rental-card__body,
	.wgrr-rental-field input,
	.wgrr-rental-field textarea,
	.wgrr-rental-inlinefields input,
	.wgrr-rental-choicegroup,
	.wgrr-rental-fieldset,
	.wgrr-rental-privacy,
	.wgrr-rental-consent,
	.wgrr-rental-locations__list {
		font-size: clamp(1rem, 0.94rem + 0.28vw, 1.08rem);
		line-height: 1.42;
	}

	.wgrr-rental-card__title,
	.wgrr-rental-formbox__title {
		font-size: clamp(1.25rem, 1.08rem + 0.65vw, 1.55rem);
	}
}
