/*
 * Resavio (Buchung der Ferienwohnungen), Block „Ferienwohnung buchen (Resavio)“.
 * Sinngemäß aus dem Customizer-CSS des alten Themes (Beitrag 1080: .resavio-sticky-bar in #3d6a55,
 * .resavio-button in #6f6d5c, helle Beschriftungen) übertragen, jetzt mit den Farben des Designsystems:
 * Band in Tanne 900, Felder auf Schnee, Knopf in Sonne. Kein fremdes Skript, kein fremdes CSS.
 */

.ps-resavio:is(.ps-resavio--suche, .ps-resavio--hinweis) {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 24px clamp(32px, 5vw, 72px);
	align-items: end;
	margin: 0;
	padding: clamp(36px, 5vw, 56px) max(var(--gutter), calc((100% - var(--container)) / 2));
	background: var(--tanne-900);
	color: var(--tanne-100);
}
.ps-resavio:is(.ps-resavio--suche, .ps-resavio--hinweis) > * { margin: 0; }
/* Resavio abgeschaltet (hotel-fakten.json „aktiv“: false): Kasten mit Satz und Knopf zur Buchungsseite,
   gleiches Band wie die Suchmaske; ab 782 px Text links, Knopf rechts unten. */
.ps-resavio--hinweis .ps-resavio__hinweis { max-width: 60ch; font-size: var(--fs-body); line-height: 1.6; color: var(--tanne-100); }
.ps-resavio--hinweis .wp-block-buttons { margin: 0; }
@media (min-width: 782px) {
	.ps-resavio.ps-resavio--hinweis { grid-template-columns: minmax(0, 1fr) auto; }
	.ps-resavio--hinweis > .wp-block-buttons { justify-self: end; }
}
.ps-resavio__text { display: grid; gap: 10px; }
.ps-resavio__text > * { margin: 0; }
.ps-resavio .ps-resavio__dach { color: var(--sonne-300); }
.ps-resavio__titel { color: var(--schnee); font: 300 var(--fs-h2)/1.1 var(--font-display); letter-spacing: var(--ls-display); }
.ps-resavio__hinweis { max-width: 52ch; font-size: var(--fs-small); color: var(--tanne-200); }

.ps-resavio__form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; margin: 0; }
.ps-resavio__feld { display: grid; gap: 6px; margin: 0; }
.ps-resavio__feld label { font: 600 var(--fs-eyebrow)/1.2 var(--font-sans); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--tanne-100); }
.ps-resavio__feld :is(input, select) {
	height: 48px;
	width: 100%;
	padding: 0 12px;
	border: 1px solid rgba(252, 250, 245, .3);
	border-radius: var(--radius-control);
	background: var(--schnee);
	color: var(--text-strong);
	font: 500 var(--fs-small)/1 var(--font-sans);
	color-scheme: light;
	transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.ps-resavio__feld :is(input, select):focus { outline: none; border-color: var(--sonne-500); box-shadow: var(--shadow-focus); }
.ps-resavio__feld--klein { max-width: none; }
.ps-resavio__senden.wp-block-button { margin: 0; }
.ps-resavio__senden .wp-block-button__link { width: 100%; min-height: 48px; border: 0; cursor: pointer; }
.ps-resavio__alt { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-small); color: var(--tanne-200); }
.ps-resavio__alt a { color: var(--schnee); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(252, 250, 245, .45); transition: text-decoration-color var(--dur-fast), color var(--dur-fast); }
.ps-resavio__alt a:hover { color: var(--sonne-300); text-decoration-color: currentColor; }

.ps-resavio--knopf { margin-block: 24px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
