/* Ergänzungen zur übernommenen Astra-Gestaltung. */
/* Warenkorb, Konto und Login gibt es nicht mehr. */
.ast-header-account, .ast-header-woo-cart, .sc-cart-icon, [class*="surecart-cart"], .wp-block-surecart-cart-menu-icon-button { display: none !important; }
/* Mobiles Menü: Astra blendet es per Skript ein, hier per Klasse. */
#ast-mobile-header .ast-mobile-header-content { display: none; }
#ast-mobile-header.offen .ast-mobile-header-content { display: block; }
/* Zwei-Klick-Videos (ersetzen den Borlabs-Platzhalter). */
.rdw-video { position: relative; aspect-ratio: 16 / 9; background: #1f4e5f; color: #fff; overflow: hidden; border-radius: 8px; }
.rdw-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.rdw-video-start { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); padding: .8em 1.4em; white-space: nowrap; border: 0; border-radius: 999px; background: #e0708c; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.rdw-video-hinweis { margin: .5em 0 0; font-size: .8rem; line-height: 1.4; opacity: .8; }
.rdw-video-hinweis a { color: inherit; text-decoration: underline; }
.rdw-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Mobiles Menü als einfache Liste (die Astra-Regeln dafür hat WP Rocket entfernt). */
#ast-mobile-header.offen .ast-mobile-header-content { position: absolute; left: 0; right: 0; z-index: 99; background: #fff; box-shadow: 0 8px 16px rgba(0,0,0,.08); padding: .5rem 0 1rem; }
#ast-mobile-header #ast-hf-mobile-menu { display: block; margin: 0; padding: 0; list-style: none; }
#ast-mobile-header #ast-hf-mobile-menu li { display: block; border: 0; margin: 0; }
#ast-mobile-header #ast-hf-mobile-menu a { display: block; padding: .7rem 1.25rem; border: 0; text-decoration: none; color: #1f4e5f; font-weight: 500; }
#ast-mobile-header #ast-hf-mobile-menu .sub-menu { display: block; position: static; margin: 0; padding: 0 0 0 1rem; list-style: none; box-shadow: none; border: 0; opacity: 1; visibility: visible; width: auto; }
#ast-mobile-header #ast-hf-mobile-menu .sub-menu a { padding: .5rem 1.25rem; font-weight: 400; font-size: .95em; }
#ast-mobile-header .ast-icon.icon-arrow, #ast-mobile-header .ast-menu-toggle, #ast-mobile-header .dropdown-menu-toggle { display: none; }
#ast-mobile-header .ast-mobile-header-wrap { position: relative; }
/* Eigene Formulare (ersetzen SureForms und BookingPress), im Stil der alten SureForms-Formulare:
   Felder 40 px, Petrol #025e73 mit 25 % als Rahmen und 2 % als Fläche, Ecken 6 px, Open Sans 14 px; rosa Knopf. */
.rdw-form { display: grid; gap: 1rem; max-width: 640px; margin: 0 auto; text-align: left; font-family: "Open Sans", sans-serif; font-size: 14px; }
.rdw-form .rdw-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rdw-form--newsletter { max-width: 560px; margin: 0; }
.rdw-form--newsletter .rdw-zeile { grid-template-columns: 1fr auto; align-items: end; }
/* Block statt Grid: Passwortmanager (LastPass) hängen ein leeres Element hinter das Feld; im Grid bekäme es
   eine eigene Zeile samt Abstand. Feste Höhe für Eingabe und Auswahl, damit fremde Stile sie nicht verändern. */
.rdw-feld { display: block; margin: 0; font-size: 14px; font-weight: 500; color: #1f4e5f; }
.rdw-feld > span { display: block; margin-bottom: .35rem; }
.rdw-feld > span.rdw-unsichtbar { position: absolute; margin: 0; }
.rdw-feld input, .rdw-feld select { height: 40px !important; min-height: 0 !important; max-height: none !important; padding-top: 0 !important; padding-bottom: 0 !important; }
.rdw-feld input, .rdw-feld textarea { display: block; width: 100%; box-sizing: border-box; min-height: 40px; padding: 10px 12px; border: 1px solid rgba(2, 94, 115, .25); border-radius: 6px; background: rgba(2, 94, 115, .02); box-shadow: none; color: #025e73; font: inherit; font-size: 14px; font-weight: 400; line-height: 1.4; }
.rdw-feld textarea { resize: vertical; }
.rdw-feld input::placeholder, .rdw-feld textarea::placeholder { color: rgba(2, 94, 115, .5); opacity: 1; }
.rdw-feld input:focus, .rdw-feld textarea:focus { outline: none; border-color: #025e73; box-shadow: 0 0 0 3px rgba(242, 102, 139, .25); }
.rdw-form-knopf, a.rdw-kaufen { justify-self: start; min-height: 40px; box-sizing: border-box; padding: 8px 22px; border: 1px solid #f2668b; border-radius: 6px; background: #f2668b; color: #fff; font-family: "Open Sans", sans-serif; font-size: 14px; font-weight: 400; letter-spacing: normal; line-height: 1.6; text-transform: uppercase; cursor: pointer; text-decoration: none; display: inline-block; }
.rdw-form--kontakt, .rdw-form--kontakt .rdw-zeile { row-gap: 1.75rem; }
.rdw-form--kontakt textarea { min-height: 92px; }
.rdw-form--kontakt .rdw-form-knopf { justify-self: stretch; }
.rdw-form-knopf:hover, a.rdw-kaufen:hover { background: #d9547a; border-color: #d9547a; color: #fff; }
.rdw-form-knopf:disabled { opacity: .6; cursor: default; }
.rdw-form-hinweis, .rdw-kauf-hinweis { margin: 0; font-size: .8rem; line-height: 1.5; color: inherit; opacity: .85; }
.rdw-form-hinweis a, .rdw-kauf-hinweis a { color: inherit; text-decoration: underline; }
.rdw-kauf-hinweis { max-width: 520px; margin: 0 0 1rem; }
.rdw-form-meldung, .rdw-bestaetigung { margin: 0; padding: .8rem 1rem; font-size: .95rem; line-height: 1.5; border-left: 4px solid #1f4e5f; background: #eef4f5; color: #1f2d30; }
.rdw-form-meldung.rdw-gut, .rdw-bestaetigung.rdw-gut { border-color: #2e8b57; background: #edf7f1; }
.rdw-form-meldung.rdw-fehler, .rdw-bestaetigung.rdw-fehler { border-color: #c0392b; background: #fbeeee; }
.rdw-bestaetigung { max-width: 560px; margin: 0 0 1.2rem; }
.rdw-form--fertig .rdw-feld, .rdw-form--fertig .rdw-fenster, .rdw-form--fertig .rdw-form-knopf, .rdw-form--fertig .rdw-form-hinweis { display: none; }
/* Termin: erst Tag (Auswahlliste), dann Uhrzeit (Radio als Knöpfe, mobil gut zu treffen) */
.rdw-fenster { display: grid; gap: 1rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.rdw-fenster legend { float: left; width: 100%; padding: 0; margin: 0; font-size: 16px; font-weight: 600; color: #1f4e5f; }
.rdw-tag { max-width: 320px; }
.rdw-feld select { width: 100%; box-sizing: border-box; min-height: 40px; padding: 10px 36px 10px 12px; border: 1px solid rgba(2, 94, 115, .25); border-radius: 6px; background: rgba(2, 94, 115, .02) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23025e73' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; color: #025e73; font: inherit; font-size: 14px; font-weight: 400; -webkit-appearance: none; appearance: none; cursor: pointer; }
.rdw-feld select:focus { outline: none; border-color: #025e73; box-shadow: 0 0 0 3px rgba(242, 102, 139, .25); }
.rdw-uhrzeit { display: grid; gap: .35rem; }
.rdw-uhrzeit-titel { font-size: 14px; font-weight: 500; color: #1f4e5f; }
.rdw-fenster-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; }
.rdw-fenster-leer { grid-column: 1 / -1; margin: 0; padding: 10px 0; font-size: 14px; color: rgba(2, 94, 115, .6); }
.rdw-fenster-wahl { position: relative; display: flex; justify-content: center; align-items: center; min-height: 44px; box-sizing: border-box; padding: 8px; border: 1px solid rgba(2, 94, 115, .25); border-radius: 6px; background: rgba(2, 94, 115, .02); color: #025e73; font-size: 15px; font-variant-numeric: tabular-nums; cursor: pointer; }
.rdw-fenster-wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.rdw-fenster-wahl:hover { border-color: #f2668b; }
.rdw-fenster-wahl:has(input:checked) { border-color: #f2668b; background: #f2668b; color: #fff; font-weight: 600; }
.rdw-fenster-wahl:has(input:focus-visible) { outline: 2px solid #f2668b; outline-offset: 2px; }
.rdw-fenster-wahl:has(input:disabled) { opacity: .5; cursor: default; }
.rdw-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rdw-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rdw-danke { max-width: 640px; margin: 3rem auto; }
@media (max-width: 600px) {
  .rdw-form .rdw-zeile, .rdw-form--newsletter .rdw-zeile { grid-template-columns: 1fr; }
}
/* Rechtstexte (Datenschutz, AGB, Widerruf), neu gefasst 16.11.2026: schlichte Lesespalte */
.rdw-rechtstext { max-width: 760px; margin: 0 auto; padding: 2rem 20px 4rem; box-sizing: border-box; font-size: 16px; line-height: 1.65; color: #1f2d30; }
.rdw-rechtstext h2 { margin: 2.4rem 0 .8rem; font-size: 1.45rem; line-height: 1.3; color: #025e73; }
.rdw-rechtstext h3 { margin: 1.8rem 0 .5rem; font-size: 1.1rem; line-height: 1.35; color: #025e73; }
.rdw-rechtstext p { margin: 0 0 1rem; }
.rdw-rechtstext ul { margin: 0 0 1rem 1.2rem; padding: 0; }
.rdw-rechtstext li { margin: 0 0 .4rem; }
.rdw-rechtstext a { color: #025e73; text-decoration: underline; overflow-wrap: anywhere; }
.rdw-rechtstext-stand { font-size: 14px; color: #5b6b6e; }
.rdw-rechtstext-sprung { padding: .8rem 1rem; border-radius: 6px; background: rgba(2, 94, 115, .05); }
.rdw-widerruf-muster { margin: 1rem 0; padding: 1rem 1.2rem; border: 1px solid rgba(2, 94, 115, .25); border-radius: 6px; }
.rdw-widerruf-muster p { overflow-wrap: anywhere; }
/* Der Videorahmen von WordPress hält mit ::before Platz für ein iframe frei; .rdw-video hat sein Seitenverhältnis selbst. */
.wp-block-embed__wrapper:has(> .rdw-video)::before { display: none !important; }
/* Sprungmarken des Inhaltsverzeichnisses nicht an die Oberkante kleben. */
[id] { scroll-margin-top: 24px; }
/* FAQ-Akkordeon (Spectra), geöffnet per rdw.js */
.wp-block-uagb-faq .uagb-faq-item.uagb-faq-item-active .uagb-faq-content { display: block !important; }
.wp-block-uagb-faq .uagb-faq-questions-button { cursor: pointer; }
/* Slider (Spectra/Swiper), geblättert per rdw.js */
.uagb-slider-container .swiper-wrapper { transition: transform .35s ease; }
/* Popups (Spectra-Modal): zu, bis rdw.js sie öffnet; offen als Ebene über der Seite. */
.uagb-modal-popup:not(.active) { display: none !important; }
.uagb-modal-popup.active { position: fixed !important; inset: 0; z-index: 99999; display: flex !important; visibility: visible; justify-content: center; align-items: center; background: rgba(0,0,0,.7); }
.uagb-modal-popup.active .uagb-modal-popup-wrap { position: relative; opacity: 1; transform: none; max-height: calc(100vh - 32px); max-width: calc(100vw - 32px); overflow: auto; }
html.rdw-popup-offen { overflow: hidden; }
/* Karussell der Bildergalerie: Pfeile seitlich über den Karten. */
.uagb-slick-carousel.slick-initialized { position: relative; }
.uagb-slick-carousel .slick-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; background: #fff; cursor: pointer; }
.uagb-slick-carousel .slick-arrow.slick-disabled { opacity: .35; cursor: default; }
.spectra-image-gallery__media-thumbnail-caption { hyphens: auto; overflow-wrap: normal; word-break: normal; }
.uagb-modal-popup.active .uagb-modal-popup-close { z-index: 2; width: 40px; height: 40px; justify-content: center; border-radius: 50%; background: rgba(0,0,0,.6) !important; }
/* Zeitleiste: Linie hinter den Punkten (Lage setzt rdw.js) */
.uagb-timeline__outer-wrap { position: relative; }
.uagb-timeline__outer-wrap > .uagb-timeline__line { z-index: 0; }
.uagb-timeline__outer-wrap .uagb-timeline__marker { position: relative; z-index: 1; }
/* Kundenstimme (Spectra-Testimonial): Slick blendet sie bis zum Start des Skripts aus; es gibt nur eine. */
.wp-block-uagb-testimonial .is-carousel { visibility: visible !important; }
.rdw-video-hinweis--hell, .rdw-video-hinweis--hell a { color: #fff; }
/* Quadratisches Foto im 4:3-Rahmen eines Teasers (verweise.py) */
.rdw-bild-4zu3 { aspect-ratio: 4 / 3; object-fit: cover; height: auto; width: 100%; }
