/* ==========================================================================
   Ko'Ono | Landingpage "Golden Aloha Days am Bodensee"
   Herbst-Arrangement, Buchung über die Viato CBE.

   Designsprache übernommen aus dem Meta-Ad-Creative der Kampagne:
   - Headlines in Patua One, Satzschreibung statt Versalien
   - Teal-Pill-Button mit weißem Ring und Icon-Kachel
   - das Herbstgefühl trägt die Fotografie, nicht eine zusätzliche UI-Farbe
   ========================================================================== */

:root {
  color-scheme: light;

  --teal: #1d616b;
  --teal-deep: #164f58;
  --teal-soft: #2a7480;
  --cream: #fcf6ef;
  --cream-warm: #fbefe3;
  --peach: #e1aa79;
  --white: #ffffff;
  --ink: #545454;
  --ink-muted: #6e6e6e;
  --overlay: 20, 50, 56;
  --line: rgba(29, 97, 107, 0.16);

  /* Formsprache aus dem Ad: alles Interaktive ist eine Pille */
  --r-pill: 999px;
  --r-card: 20px;
  --r-tile: 10px;

  --shadow-card: 0 10px 30px rgba(29, 97, 107, 0.08);
  --shadow-soft: 0 6px 20px rgba(29, 97, 107, 0.06);
  --shadow-float: 0 16px 44px rgba(var(--overlay), 0.24);

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 300ms;

  --header-h: 64px;
  --content: 1120px;
  --pad-x: clamp(20px, 5vw, 48px);
  --section-y: clamp(56px, 8vw, 104px);
}

/* Farbregel: Peach nur auf Teal und auf Fotos (auf Cream 1,9:1, fällt durch AA).
   Auf hellen Flächen ist der Akzent Teal. */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

/* Muss nach den display-Utilities greifen, sonst überschreibt z. B. flex [hidden]. */
[hidden] { display: none !important; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }

:where(a, button, input, summary):focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: var(--content); margin-inline: auto; }
.narrow { max-width: 780px; }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Typografie ---------------------------------------------------- */

h1, h2, h3 {
  font-family: "Patua One", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--teal);
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.12; }
h3 { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.25; }

.script {
  font-family: "Satisfy", cursive;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.25;
  color: var(--teal);
  margin: 0;
}

.lead {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
  max-width: 60ch;
  margin: 0;
}

.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; align-items: center; }

/* ---------- Buttons ------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: "Patua One", Georgia, serif;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--white);
  background: var(--teal);
  border: 0;
  border-radius: var(--r-pill);
  padding: 15px 28px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), transform 160ms var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { background: var(--teal-deep); color: var(--white); }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--sm { font-size: 16px; padding: 11px 20px; }

/* Wie im Ad: Button mit weißem Ring und Icon-Kachel rechts */
.btn--hero {
  font-size: clamp(22px, 2.4vw, 30px);
  padding: 12px 12px 12px clamp(26px, 3vw, 38px);
  gap: clamp(18px, 2.4vw, 30px);
  box-shadow: 0 0 0 3px var(--white), var(--shadow-float);
}
.btn__tile {
  display: grid;
  place-items: center;
  width: clamp(40px, 3.6vw, 48px);
  height: clamp(40px, 3.6vw, 48px);
  border-radius: var(--r-tile);
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.8em;
}
.btn--hero:hover .btn__tile .icon { transform: translate(2px, -2px); }
.btn__tile .icon { transition: transform var(--dur) var(--ease-out); }

/* Preis im Hero-Button macht ihn lang: auf schmalen Handys (360 px) mitskalieren */
@media (max-width: 420px) {
  .btn--hero {
    font-size: clamp(17px, 5.3vw, 22px);
    padding-left: 20px;
    gap: 12px;
  }
  .btn__tile { width: 38px; height: 38px; }
}

.btn--light { background: var(--white); color: var(--teal); }
.btn--light:hover { background: var(--cream-warm); color: var(--teal-deep); }

.btn--ghost {
  background: var(--white);
  color: var(--teal);
  box-shadow: inset 0 0 0 1.5px var(--teal);
}
.btn--ghost:hover { background: var(--cream-warm); color: var(--teal-deep); }

.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.linklike:hover { color: var(--teal-deep); }

/* ---------- Header -------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 246, 239, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  min-height: var(--header-h);
  padding: 10px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__logo { height: 38px; width: auto; }
.site-header__right { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  text-decoration: none;
  color: var(--teal);
}
.site-header__phone .icon { font-size: 18px; }

/* ---------- Hero ----------------------------------------------------------
   Aufbau wie das Ad: Headline, Subline und Button oben im hellen Himmel. Zentriert, weil die Seite die Fortsetzung
   der Anzeige ist und der Wiedererkennungseffekt hier Conversion bringt. */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #7fa9b3;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 var(--pad-x);
  text-align: center;
}
/* <picture> absolut aus dem Layout nehmen. Mit display: contents würden die
   <source>-Kinder zu Grid- bzw. Flex-Elementen und die Headline nach unten
   schieben. Das Bild darin füllt den Rahmen per inset: 0. */
.hero > picture,
.tile > picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
/* Oben heller Schleier für die Teal-Headline, unten leichte Tiefe */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(252, 246, 239, 0.88) 0%,
      rgba(252, 246, 239, 0.62) 16%,
      rgba(252, 246, 239, 0.16) 34%,
      rgba(252, 246, 239, 0) 46%),
    linear-gradient(0deg,
      rgba(var(--overlay), 0.36) 0%,
      rgba(var(--overlay), 0) 34%);
}

.hero__head {
  align-self: start;
  padding-top: clamp(36px, 8vh, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.6vw, 18px);
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 74px);
  line-height: 1.04;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.7), 0 1px 1px rgba(255, 255, 255, 0.5);
}
.hero__sub {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--teal-deep);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.8);
}
/* Button direkt unter der Subline, mit mehr Luft als zwischen den Texten */
.hero__head .btn--hero { margin-top: clamp(14px, 2.2vw, 26px); }
/* Preisangabe zum Button (PAngV): liegt über dem Foto, daher eigene Fläche */
.hero__note {
  margin: 0;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: rgba(252, 246, 239, 0.88);
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--teal-deep);
}
/* "…mit Frühstück und Dinner" soll auch auf 360 px in einer Zeile bleiben */
@media (max-width: 420px) {
  .hero__note { font-size: 13px; padding: 5px 12px; }
}

/* ---------- Aushängeschilder (Bento) -------------------------------------- */

.features { padding: var(--section-y) var(--pad-x); background: var(--cream); }

.bento {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 210px 210px 250px;
  gap: 16px;
}
.tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px;
  min-height: 0;
}
.tile--lg { grid-column: 1 / 3; grid-row: 1 / 3; padding: 30px; }
.tile--b { grid-column: 3; grid-row: 1; }
.tile--c { grid-column: 3; grid-row: 2; }
.tile--d { grid-column: 1; grid-row: 3; }
.tile--e { grid-column: 2 / 4; grid-row: 3; }

.tile__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.tile--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(var(--overlay), 0.04) 30%,
    rgba(var(--overlay), 0.6) 72%,
    rgba(var(--overlay), 0.86) 100%);
}
.tile--photo:hover .tile__img { transform: scale(1.04); }
.tile--photo h3, .tile--photo p { color: var(--white); }
.tile--photo p { text-shadow: 0 1px 12px rgba(var(--overlay), 0.5); }

.tile--teal { background: var(--teal); }
.tile--teal h3 { color: var(--white); }
.tile--teal p { color: rgba(255, 255, 255, 0.9); }
.tile--teal .icon { color: var(--peach); font-size: 28px; margin-bottom: auto; }

.tile--warm { background: var(--cream-warm); box-shadow: var(--shadow-card); }
/* Surf & Turf in der breiten Dinner-Kachel: Burger und Pommes im Bild halten */
.tile__img--dinner { object-position: 50% 58%; }
/* Seeblick: Sonne und Wasser über der Textzone halten */
.tile__img--seeblick { object-position: 30% 95%; }

/* Variante mit Dinner-Kachel (golden-aloha-dinner): sechs Kacheln,
   der Gastgeber-Text rutscht als breites Band in eine eigene Zeile */
.bento--dinner { grid-template-rows: 210px 210px 230px auto; }
.bento--dinner .tile--d { grid-column: 1; grid-row: 3; }
.bento--dinner .tile--f { grid-column: 2 / 4; grid-row: 3; }
.bento--dinner .tile--e { grid-column: 1 / 4; grid-row: 4; }

.tile--lg h3 { font-size: clamp(22px, 2.4vw, 30px); }
.tile p { margin: 0; font-size: 14.5px; line-height: 1.6; max-width: 46ch; }

/* ---------- Arrangement --------------------------------------------------- */

.package { padding: var(--section-y) var(--pad-x); background: var(--cream-warm); }
.package__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.package__copy { display: flex; flex-direction: column; gap: 16px; }

.incl {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
}
.incl li { display: flex; gap: 14px; align-items: center; font-size: 16.5px; line-height: 1.4; color: var(--teal-deep); }
.incl__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  color: var(--teal);
  font-size: 22px;
}
.incl small { display: block; font-size: 13.5px; color: var(--ink-muted); }

.extras { margin-top: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.extras h3 { font-size: 20px; margin-bottom: 14px; }
.extras__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  font-size: 15px;
  line-height: 1.55;
}
.extras__list b { display: block; color: var(--teal); font-weight: 700; }

.price-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--teal);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-float);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  color: var(--white);
}
.price-card__kind {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}
.price-card__kind .icon { color: var(--peach); font-size: 20px; margin-top: 1px; }
.price-card__price {
  margin: 18px 0 0;
  font-family: "Patua One", Georgia, serif;
  font-size: clamp(48px, 5vw, 66px);
  line-height: 1;
  white-space: nowrap;
  color: var(--white);
}
/* Preise mit Cent-Betrag ("ab 94,50 €") passen sonst nicht in die schmale Karte */
.price-card__price--long { font-size: clamp(38px, 3.4vw, 50px); }
.price-card__unit { margin: 6px 0 22px; font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.price-card__note { margin: 16px 0 0; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }
.btn--block { width: 100%; }

/* ---------- Buchung (Viato CBE) ------------------------------------------- */

.wave { display: block; width: 100%; height: clamp(50px, 6vw, 88px); }

.booking {
  background: var(--teal);
  padding: clamp(12px, 2vw, 24px) var(--pad-x) clamp(56px, 7vw, 96px);
}
.booking .section-head h2,
.booking .section-head .lead { color: var(--white); }
.booking .section-head .lead { color: rgba(255, 255, 255, 0.9); }

.booking__trust {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.92);
}
.booking__trust li { display: inline-flex; align-items: center; gap: 8px; }
.booking__trust .icon { color: var(--peach); font-size: 18px; }

.cbe-shell {
  position: relative;
  margin-top: clamp(24px, 3vw, 36px);
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-float);
  padding: clamp(6px, 1.4vw, 20px);
  min-height: 560px;
  overflow: hidden;
}
/* Die Engine setzt ihr iFrame mit min-height 1100px, Breite 100 %. */
#viatoCbe iframe { display: block; border-radius: calc(var(--r-card) - 8px); }

/* Ladezustand: Skelett in der Form der Buchungsmaske */
.cbe-skeleton { display: grid; gap: 14px; padding: clamp(10px, 2vw, 24px); }
.cbe-skeleton span {
  display: block;
  height: 18px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, #eef3f3 0%, #f7faf9 50%, #eef3f3 100%);
  background-size: 200% 100%;
}
.cbe-skeleton span:nth-child(1) { width: 38%; height: 26px; }
.cbe-skeleton span:nth-child(2) { width: 100%; height: 64px; border-radius: 14px; }
.cbe-skeleton span:nth-child(3) { width: 72%; }
.cbe-skeleton span:nth-child(4) { width: 100%; height: 220px; border-radius: 14px; }
.cbe-skeleton span:nth-child(5) { width: 54%; }
.cbe-skeleton p { margin: 6px 0 0; font-size: 14px; color: var(--ink-muted); text-align: center; }

/* Fehlerzustand: Engine lädt nicht (Blocker, Netz, Referer-Sperre) */
.cbe-error {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: clamp(32px, 6vw, 64px) clamp(16px, 4vw, 48px);
}
.cbe-error h3 { color: var(--teal); }
.cbe-error p { margin: 0; max-width: 52ch; }
.cbe-error__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.booking__alt {
  text-align: center;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14.5px;
}
.booking__alt a { color: var(--white); }

/* ---------- Schnellsuche (booking-search.js) ------------------------------
   Formensprache nach OnePageBooking: weiße Pille mit Icon-Feldern
   (kleine Beschriftung, darunter der Wert), Popover für Kalender und Gäste.
   Farben und Schriften bleiben Ko'Ono. */

.btn:disabled { opacity: 0.45; cursor: not-allowed; background: var(--teal); transform: none; }

.qb {
  display: flex;
  align-items: stretch;
  width: 100%;
  padding: 6px;
  background: var(--white);
  border-radius: var(--r-pill);
  text-align: left;
}
.qb__field {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 20px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.qb__field--guests { flex: 0.72 1 0; }
/* Trennlinie zwischen den Feldern, verschwindet neben dem aktiven Feld */
.qb__field + .qb__field::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: var(--line);
  transition: opacity var(--dur) var(--ease);
}
.qb__field:hover,
.qb__field[aria-expanded="true"] { background: var(--cream); }
.qb__field:hover::before,
.qb__field[aria-expanded="true"]::before,
.qb__field:hover + .qb__field::before,
.qb__field[aria-expanded="true"] + .qb__field::before { opacity: 0; }

.qb__icon { font-size: 22px; color: var(--teal); }
.qb__text { display: grid; min-width: 0; line-height: 1.3; }
.qb__label { font-size: 12px; letter-spacing: 0.02em; color: var(--ink-muted); }
.qb__value {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--teal-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qb__value.is-empty { color: var(--ink-muted); font-weight: 400; }
.qb__chev {
  margin-left: auto;
  font-size: 14px;
  color: var(--ink-muted);
  transition: transform var(--dur) var(--ease);
}
.qb__field[aria-expanded="true"] .qb__chev { transform: rotate(180deg); }

.qb__submit { flex: none; margin-left: 6px; }

/* Im Hero: freistehend auf dem Foto, Button mit Preis wie bisher */
.qb--hero {
  max-width: 860px;
  margin-top: clamp(14px, 2.2vw, 26px);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55), var(--shadow-float);
}
.qb--hero .qb__submit {
  font-size: clamp(18px, 1.7vw, 21px);
  padding: 8px 8px 8px 24px;
  gap: 16px;
}
.qb--hero .btn__tile { width: 42px; height: 42px; }
.qb--hero .qb__submit:hover .btn__tile .icon { transform: translate(2px, -2px); }

/* In der Buchungskarte: auf Weiß, daher Creme-Fläche statt Schatten */
.qb--inline {
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line);
}
.qb--inline .qb__field:hover,
.qb--inline .qb__field[aria-expanded="true"] { background: var(--white); }
.qb--inline .qb__submit { padding: 0 26px; }

/* Popover hängt am <body> (sonst schneidet der Hero es ab) */
.qb-pop {
  position: absolute;
  z-index: 80;
  width: 340px;
  max-width: calc(100vw - 24px);
  padding: 20px 22px;
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: 0 24px 60px rgba(var(--overlay), 0.28), 0 0 0 1px var(--line);
  color: var(--ink);
}
.qb-pop--dates { width: 700px; }
@media (max-width: 759px) { .qb-pop--dates { width: 360px; } }

.qb-backdrop {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(var(--overlay), 0.45);
}
html.qb-lock, html.qb-lock body { overflow: hidden; }

/* Kalender */
.qb-pop--dates { padding-top: 16px; }
.qb-cal__nav {
  position: absolute;
  top: 16px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.qb-cal__arrow {
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--teal);
  font-size: 16px;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.qb-cal__arrow:hover { background: var(--cream-warm); }
.qb-cal__arrow:disabled { opacity: 0.35; cursor: default; }
.qb-cal__months {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}
.qb-cal__title {
  margin: 0 0 12px;
  font-family: "Patua One", Georgia, serif;
  font-size: 18px;
  line-height: 36px;
  color: var(--teal);
  text-align: center;
}
.qb-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 3px; }
.qb-cal__wd { padding-bottom: 6px; font-size: 12px; color: var(--ink-muted); text-align: center; }
.qb-day {
  position: relative;
  aspect-ratio: 1;
  min-height: 38px;
  border: 0;
  border-radius: var(--r-tile);
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
}
.qb-day:hover:not(:disabled) { background: var(--cream-warm); }
.qb-day:disabled { color: #c4c4c4; cursor: default; }
.qb-day.is-today::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--teal);
}
.qb-day.is-range { border-radius: 0; background: rgba(29, 97, 107, 0.1); color: var(--teal-deep); }
.qb-day.is-start,
.qb-day.is-end,
.qb-day.is-hover-end { background: var(--teal); color: var(--white); font-weight: 700; }
.qb-day.is-start::after,
.qb-day.is-end::after { background: var(--white); }

.qb-cal__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.qb-cal__status { margin: 0; font-size: 14px; line-height: 1.5; }
.qb-cal__status strong { color: var(--teal-deep); }
.qb-cal__actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }

/* Gäste */
.qb-guests__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.qb-guests__label { margin: 0; font-size: 16px; font-weight: 700; color: var(--teal-deep); }
.qb-guests__hint { margin: 0; font-size: 13px; color: var(--ink-muted); }
.qb-stepper { display: flex; align-items: center; gap: 14px; }
.qb-step {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  font-size: 15px;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.qb-step:hover:not(:disabled) { background: var(--cream); }
.qb-step:disabled { border-color: var(--line); color: #bdbdbd; cursor: default; }
.qb-stepper__value {
  min-width: 1.4ch;
  font-family: "Patua One", Georgia, serif;
  font-size: 21px;
  color: var(--teal);
  text-align: center;
}
.qb-guests__note { margin: 14px 0 16px; font-size: 13.5px; line-height: 1.55; }

/* Kopf der Buchungskarte: Schritte, Suche, Raten-Hinweis */
.cbe-shell--native {
  overflow: visible;
  padding: clamp(12px, 2vw, 24px);
  scroll-margin-top: calc(var(--header-h) + 16px); /* Sprungziel nach der Suche */
}
.bk-head {
  display: grid;
  gap: 16px;
  padding: clamp(2px, 0.8vw, 8px) clamp(2px, 0.8vw, 8px) clamp(18px, 2vw, 24px);
  margin-bottom: clamp(10px, 1.6vw, 18px);
  border-bottom: 1px solid var(--line);
}
.bk-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 14px;
  color: var(--ink-muted);
}
.bk-steps li { display: inline-flex; align-items: center; gap: 9px; }
.bk-steps__num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: 13px;
  font-weight: 700;
}
/* aktueller Schritt */
.bk-steps[data-step="1"] li:nth-child(1),
.bk-steps[data-step="2"] li:nth-child(2) { color: var(--teal-deep); font-weight: 700; }
.bk-steps[data-step="1"] li:nth-child(1) .bk-steps__num,
.bk-steps[data-step="2"] li:nth-child(2) .bk-steps__num { background: var(--teal); color: var(--white); box-shadow: none; }
/* erledigter Schritt */
.bk-steps[data-step="2"] li:nth-child(1) { color: var(--teal); }
.bk-steps[data-step="2"] li:nth-child(1) .bk-steps__num { background: rgba(29, 97, 107, 0.12); color: var(--teal); box-shadow: none; }

.bk-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--cream-warm);
  font-size: 14px;
  line-height: 1.5;
}
.bk-hint .icon { flex: none; margin-top: 2px; font-size: 18px; color: var(--teal); }
.bk-hint strong { color: var(--teal-deep); }

/* Handy: Felder untereinander, Popover als Bottom-Sheet */
@media (max-width: 640px) {
  .qb {
    flex-direction: column;
    padding: 8px;
    border-radius: var(--r-card);
  }
  .qb__field, .qb__field--guests { flex: none; padding: 11px 14px; border-radius: 14px; }
  .qb__field + .qb__field::before { left: 14px; right: 14px; top: 0; bottom: auto; width: auto; height: 1px; }
  .qb__submit { margin: 8px 0 0; width: 100%; }
  .qb--hero .qb__submit { justify-content: space-between; }
  .qb--inline .qb__submit { padding: 14px 20px; }

  .qb-pop {
    position: fixed;
    left: 0 !important;
    right: 0;
    bottom: 0;
    top: auto !important;
    width: auto;
    max-width: none;
    max-height: 88vh;
    overflow: auto;
    border-radius: var(--r-card) var(--r-card) 0 0;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
  .qb-pop--dates { width: auto; }
  .qb-cal__months { gap: 18px; }
  .qb-day { aspect-ratio: auto; height: 44px; }
  .qb-cal__foot { flex-direction: column; align-items: stretch; }
  .bk-steps { gap: 8px 14px; font-size: 13px; }
  .bk-steps li { gap: 6px; }
  .bk-steps__num { width: 22px; height: 22px; font-size: 12px; }
  .qb-cal__actions { justify-content: space-between; margin-left: 0; }
}

/* ---------- Zimmer -------------------------------------------------------- */

.rooms { padding: var(--section-y) var(--pad-x); background: var(--cream); }

/* Größte Kategorie als breiter Aufmacher, die beiden anderen darunter.
   Mobil in Buchungsreihenfolge: Basic, Comfort, Family and Friends. */
.rooms__grid {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}
.room {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.room picture { display: block; }
.room__img { display: block; width: 100%; height: 260px; object-fit: cover; }
.room--feature { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: 1.45fr 1fr; }
.room--basic { grid-column: 1; grid-row: 2; }
.room--comfort { grid-column: 2; grid-row: 2; }
.room--comfort .room__img { object-position: 62% 50%; }
.room--feature .room__img { height: 100%; min-height: 360px; }
.room__body { padding: 20px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.room--feature .room__body { justify-content: center; padding: clamp(24px, 3.4vw, 44px); }
.room__size {
  align-self: flex-start;
  margin: 0 0 2px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--cream-warm);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.room__body p:not(.room__size) { margin: 0; font-size: 15px; line-height: 1.65; }

/* ---------- Bewertungen --------------------------------------------------- */

.reviews { padding: var(--section-y) var(--pad-x); background: var(--cream-warm); }
.reviews__grid {
  margin-top: clamp(26px, 3.5vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 4vw, 64px);
}
.review { margin: 0; }
.review blockquote {
  margin: 0 0 16px;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
  color: var(--teal);
}
.review__by { font-size: 13.5px; color: var(--ink-muted); }
.review__stars { display: flex; gap: 3px; color: var(--teal-soft); margin-bottom: 14px; }
.review__stars .icon { font-size: 15px; }

/* ---------- Lage ---------------------------------------------------------- */

.place { padding: var(--section-y) var(--pad-x); background: var(--cream); }
.place__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.place__copy { display: flex; flex-direction: column; gap: 14px; }
.place__media { display: block; }
.place img { border-radius: var(--r-card); width: 100%; height: 100%; max-height: 430px; object-fit: cover; }
.check-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; }
.check-list .icon { font-size: 20px; color: var(--teal); margin-top: 3px; }

/* ---------- FAQ ----------------------------------------------------------- */

.faq { padding: 0 var(--pad-x) var(--section-y); background: var(--cream); }
.faq__list { margin-top: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 16px 22px;
}
.faq summary {
  font-family: "Patua One", Georgia, serif;
  font-size: 17.5px;
  color: var(--teal);
  cursor: pointer;
  padding-left: 4px;
}
.faq summary::marker { color: var(--teal-soft); }
.faq p { margin: 10px 0 2px; font-size: 15px; line-height: 1.7; }

/* ---------- Footer -------------------------------------------------------- */

.site-footer {
  background: var(--white);
  padding: 34px var(--pad-x) 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  text-align: center;
}
.site-footer img { height: 34px; width: auto; }
.site-footer p { margin: 0; font-size: 13.5px; color: var(--ink-muted); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 13px; }

/* ---------- Sticky CTA (mobil) -------------------------------------------- */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--white);
  box-shadow: 0 -6px 24px rgba(var(--overlay), 0.18);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.sticky-cta__price { font-family: "Patua One", Georgia, serif; color: var(--teal); font-size: 20px; line-height: 1.1; }
.sticky-cta small { display: block; font-family: "Lato", sans-serif; font-size: 12px; color: var(--ink-muted); }

@media (max-width: 820px) { .sticky-cta { display: flex; } }
/* Sticky-CTA ausblenden, solange Banner offen ist oder die Buchung im Blick ist */
.sticky-cta[data-consent-blocked],
.sticky-cta[data-booking-visible],
.sticky-cta[data-hero-visible] { display: none; }

/* ---------- Consent-Banner ------------------------------------------------ */

.consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  padding: 16px var(--pad-x) calc(16px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.consent__card {
  pointer-events: auto;
  width: 100%;
  max-width: 720px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-float);
  padding: clamp(20px, 2.4vw, 28px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.consent[data-visible="true"] .consent__card { opacity: 1; transform: none; }

.consent__title {
  font-family: "Patua One", Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--teal);
  margin: 0 0 8px;
}
.consent__title:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.consent__text { margin: 0; font-size: 14px; line-height: 1.6; max-width: 68ch; }

.consent__options {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.consent__option { display: flex; gap: 14px; align-items: flex-start; }
.consent__option b { display: block; font-size: 14.5px; color: var(--teal); }
.consent__option p { margin: 2px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-muted); }

.switch { position: relative; flex: none; display: block; width: 46px; height: 26px; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch input:disabled { cursor: not-allowed; }
.switch__track {
  position: absolute;
  inset: 0;
  border-radius: var(--r-pill);
  background: #d8d3cc;
  transition: background var(--dur) var(--ease);
  pointer-events: none;
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(var(--overlay), 0.3);
  transition: transform var(--dur) var(--ease);
}
.switch input:checked + .switch__track { background: var(--teal); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:disabled + .switch__track { background: var(--teal-soft); opacity: 0.55; }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--teal); outline-offset: 3px; }

.consent__actions { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent[data-options="true"] .consent__actions { grid-template-columns: repeat(3, 1fr); }
/* Gleiche Fläche für Ablehnen und Akzeptieren, sonst ist es Nudging. */
.consent__actions .btn { width: 100%; font-size: 16px; padding: 14px 12px; }

.consent__foot { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; }
.consent__legal { margin-left: auto; display: flex; gap: 16px; }

/* ---------- Responsive ---------------------------------------------------- */

@media (max-width: 980px) {
  .package__grid { grid-template-columns: 1fr; }
  .price-card { position: static; }
  .place__grid { grid-template-columns: 1fr; }
  .place img { max-height: 300px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: 220px 190px 210px; }
  .tile--lg { grid-column: 1 / 3; grid-row: 1; }
  .tile--b { grid-column: 1; grid-row: 2; }
  .tile--c { grid-column: 2; grid-row: 2; }
  .tile--d { grid-column: 1; grid-row: 3; }
  .tile--e { grid-column: 2; grid-row: 3; }
  .bento--dinner { grid-template-rows: 220px 190px 210px auto; }
  .bento--dinner .tile--f { grid-column: 2; grid-row: 3; }
  .bento--dinner .tile--e { grid-column: 1 / 3; grid-row: 4; }
}

@media (max-width: 760px) {
  .rooms__grid { grid-template-columns: 1fr; }
  .room--feature, .room--basic, .room--comfort { grid-column: 1; grid-row: auto; }
  .room--feature { grid-template-columns: 1fr; }
  .room--feature .room__img, .room__img { height: 220px; min-height: 0; }
  .hero { min-height: calc(100dvh - var(--header-h)); }
  .hero::before {
    background:
      linear-gradient(180deg,
        rgba(252, 246, 239, 0.96) 0%,
        rgba(252, 246, 239, 0.82) 26%,
        rgba(252, 246, 239, 0.2) 48%,
        rgba(252, 246, 239, 0) 60%),
      linear-gradient(0deg, rgba(var(--overlay), 0.5) 0%, rgba(var(--overlay), 0) 45%);
  }
  .hero__media { object-position: 50% 30%; }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: minmax(190px, auto); }
  .tile--lg, .tile--b, .tile--c, .tile--d, .tile--e,
  .bento--dinner .tile { grid-column: 1; grid-row: auto; }
  .site-header__phone span { display: none; }
  .incl, .extras__list { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .consent { padding-left: 12px; padding-right: 12px; }
  .consent__actions,
  .consent[data-options="true"] .consent__actions { grid-template-columns: 1fr; }
  .consent__card { max-height: 82vh; overflow-y: auto; }
}

/* ---------- Motion -------------------------------------------------------- */

/* Hero-Auftakt in der Lesereihenfolge des Ads: Headline, Leiste, Button.
   Scroll-Reveals geben den Sektionen eine Reihenfolge. Ruhig, keine Bounces. */
@media (prefers-reduced-motion: no-preference) {
  .hero__head > * {
    animation: rise 900ms var(--ease-out) both;
  }
  .hero__head > :nth-child(2) { animation-delay: 120ms; }
  .hero__head > :nth-child(3) { animation-delay: 260ms; }
  .hero__head > :nth-child(4) { animation-delay: 340ms; }

  .cbe-skeleton span { animation: shimmer 1.6s linear infinite; }

  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .consent__card { opacity: 1; transform: none; }
  .tile--photo:hover .tile__img { transform: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
