/* Online-Buchung Mietanhaenger (mieten-2026.php), Layouts _layouts_/Mieten-1 bis -4 */

.rent { --rent-rosa: #FBE4E4; }
.rent h3 { font-size: 1.9rem; font-weight: 700; line-height: 1.3; margin: 0; }
.rent h4 { font-size: 1.7rem; font-weight: 700; margin: 2rem 0 0.2rem; }
.rent .rent-h { font-size: 2.2rem; margin: 0 0 2rem; }
.rent .rent-number { margin: 0 0 2rem; }
.rent .rent-phone { margin-bottom: 4rem; }
.rent .rent-intro-info { padding-top: 6rem; }
.rent .rent-spec { margin: 0 0 1.5rem; }
.rent .rent-back { margin: 3rem 0 0; font-size: 1.4rem; }

/* buttons: layout uses "»" in the text, no animated arrow */
.rent .rent-btn { margin-top: 0; padding: 8px 22px; font-weight: 700; border: none; cursor: pointer; font-size: 1.5rem; font-family: inherit; }
.rent .rent-btn::after,
.rent .rent-btn:hover::after { content: none; }

/* back links are POST buttons (no url parameters), styled like links */
.rent .rent-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 1.4rem; color: var(--rot); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rent .rent-linkbtn:hover { color: var(--black); }
.rent form.rent-back { margin: 3rem 0 0; }

/* price table */
.rent-prices { border-collapse: collapse; width: auto; }
.rent-prices td { border: none; background: none; }
.rent-prices td { padding: 0 3rem 0 0; vertical-align: top; }

/* Mieten-1: list of rental groups */
.rent-item {
	display: grid;
	grid-template-columns: 170px 1fr auto;
	grid-gap: 2rem;
	align-items: center;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--grau1);
	}
.rent-item-img img { display: block; }
.rent-item-action { align-self: end; }

/* Mieten-2 to -4: left content, right summary */
.rent-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 330px);
	grid-gap: 8rem;
	align-items: start;
	}

/* Mieten-2a: trailer versions */
.rent-version { margin-bottom: 20px; padding: 1.5rem; background: var(--grau2); }
.rent-version-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.rent-version .rent-spec { margin-bottom: 0; }
.rent-version .rent-blocked { margin-top: 1rem; }

/* existing bookings */
.rent-blocked { background: var(--grau2); padding: 0; font-size: 1.4rem; }

.rent-blocked strong { font-weight: 700; }
.rent-blocked ul { list-style: none; margin: 0 0 3rem 2rem; }
.rent-blocked li::before {
	content: '';
	display: inline-block;
	width: 1.1rem; height: 1.1rem;
	margin-right: 0.6rem;
	border-radius: 50%;
	background: var(--rot) linear-gradient(#fff, #fff) center / 60% 2px no-repeat;
	vertical-align: -1px;
	}
.rent-block-period { margin-bottom: 3rem; }	
.rent-block-period > .rent-blocked { padding: 1.5rem; }
.rent-block-period > .rent-blocked ul { margin: 0 0 0 2rem; }
	

/* Mieten-2b: period form */
.rent-form .rent-blocked + .rent-h,
.rent-grid > div > .rent-blocked + .rent-form .rent-h { margin-top: 4rem; }
.rent-date { display: block; margin-bottom: 3rem; }
.rent-date input { margin-top: 0.5rem; padding: 0.4rem 0.6rem; font: inherit; font-size: 1.5rem; border: 1px solid var(--grau1); }
.rent-extras { width: 100%; border-collapse: collapse; margin-bottom: 3rem; }
.rent-extras td { padding: 0.8rem 1rem; vertical-align: top; }
.rent-extras td:first-child { width: 3rem; }
.rent-extras td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.rent-extras tr.on { background: var(--grau2); }
.rent-extras input { width: 1.8rem; height: 1.8rem; accent-color: var(--rot); }
.rent-form strong { font-weight: 700; }


/* Mieten-3: personal data */
.rent-person label { display: block; margin-bottom: 1.8rem; }
.rent-person input[type=text],
.rent-person input[type=email],
.rent-person input[type=tel],
.rent-person select {
	display: block;
	width: 100%;
	max-width: 340px;
	margin-top: 0.4rem;
	padding: 0.6rem 0.8rem;
	font: inherit;
	border: 1px solid var(--grau1);
	border-radius: 3px;
	background: var(--weiss);
	}
.rent-zipcity { display: grid; grid-template-columns: 80px 1fr; grid-gap: 2rem; max-width: 340px; }
.rent-person .rent-check { display: grid; grid-template-columns: 2.4rem 1fr; font-size: 1.3rem; line-height: 1.35; margin-bottom: 1.2rem; }
.rent-person .rent-check input { margin-top: 0.2rem; accent-color: var(--rot); width: 18px; height: 18px; }
.rent-person .rent-btn { margin-top: 2rem; }

/* errors */
.rent-errors { background: var(--marker); border-left: 4px solid var(--rot); padding: 1rem 1.5rem; margin-bottom: 2rem; }
.rent-errors ul { list-style: none; }

/* summary box right */
.rent-aside img { display: block; }
.rent-summary { background: var(--rent-rosa); padding: 1.5rem; margin-top: 0.8rem; font-size: 1.4rem; }
.rent-summary p { margin: 0; }
.rent-summary .rent-spec { margin-bottom: 1.5rem; }
.rent-summary h4 { font-size: 1.5rem; }
.rent-summary .rent-total-label { margin-top: 3rem; font-weight: 700; font-size: 1.5rem; }
.rent-summary .rent-total { font-size: 3rem; font-weight: 700; line-height: 1.3; }
.rent-summary .rent-small { font-size: 1.2rem; }
.rent-summary .rent-payment { margin-top: 1.5rem; font-size: 1.5rem; }

@media screen and (max-width: 800px) {
	.rent .rent-intro-info { padding-top: 0; }
	.rent-item { grid-template-columns: 110px 1fr; }
	.rent-item-action { grid-column: 1 / -1; }
	.rent-grid { grid-template-columns: 1fr; grid-gap: 4rem; }
	.rent-version-head { flex-direction: column; gap: 1rem; }
	.rent-prices td { padding-right: 1.5rem; }
}
