/* ==========================================================================
   Ko'Ono | Landingpage "Weihnachtsfeier im Ko'Ono" (go.koono.de/weihnachtsfeier/)
   Baut auf ../styles.css auf (Tokens, Buttons, Header, Footer, Consent,
   Sticky-CTA, Preis-Card, FAQ). Hier nur, was diese Seite zusätzlich braucht.

   Conversion: Anfrageformular (Netlify Forms), keine Buchungsmaske.
   Formregel: Buttons Pill, Cards 20px, Formularfelder 14px.
   Farbregel wie gehabt: Peach nur auf Teal und auf Fotos.
   ========================================================================== */

/* ---------- Hero ----------------------------------------------------------
   Anders als Golden Aloha: Abendfoto mit dunklem Himmel, deshalb Text
   unten links in Weiß über einem Teal-Schwarz-Verlauf statt Teal auf hellem
   Schleier. Feuerschale und Lichterketten bleiben oben frei. */

.hero--xmas {
  grid-template-rows: 1fr;
  align-items: end;
  text-align: left;
  background: #1f2f33;
}
.hero--xmas::before {
  background:
    linear-gradient(0deg,
      rgba(var(--overlay), 0.92) 0%,
      rgba(var(--overlay), 0.62) 32%,
      rgba(var(--overlay), 0.12) 62%,
      rgba(var(--overlay), 0) 76%),
    linear-gradient(90deg,
      rgba(var(--overlay), 0.5) 0%,
      rgba(var(--overlay), 0) 58%);
}
.hero--xmas .hero__media { object-position: 50% 62%; }

.hero--xmas .hero__head {
  align-self: end;
  align-items: flex-start;
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding: 0 0 clamp(40px, 8vh, 88px);
}
.hero--xmas .script { color: var(--peach); }
.hero--xmas h1 {
  max-width: 21ch;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.06;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(var(--overlay), 0.45);
}
.hero--xmas .hero__sub {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: clamp(10px, 1.8vw, 20px);
}
.hero__call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  color: var(--white);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: border-color var(--dur) var(--ease);
}
.hero__call:hover { color: var(--white); border-color: var(--white); }
.hero__call .icon { font-size: 18px; color: var(--peach); }

/* ---------- Luau: die Idee ------------------------------------------------ */

.luau { padding: var(--section-y) var(--pad-x); background: var(--cream); }
.luau__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.luau__media { margin: 0; }
.luau__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
/* Pflichthinweis für das KI-Bild, unter dem Foto statt darauf */
.luau__media figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-muted); }

.luau__copy { display: flex; flex-direction: column; gap: 18px; }
.luau__copy h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; }

.facts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.facts li { display: flex; align-items: center; gap: 14px; font-size: 16px; line-height: 1.45; color: var(--teal-deep); }
.facts .icon {
  box-sizing: content-box;
  flex: none;
  width: 20px;
  height: 20px;
  padding: 11px;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  color: var(--teal);
}

/* ---------- Ablauf als Zeitleiste ----------------------------------------- */

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

.timeline {
  --tl-gap: clamp(20px, 3vw, 40px);
  list-style: none;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--tl-gap);
}
/* Gestrichelte Linie verbindet jede Station mit der nächsten */
.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px;
  left: 72px;
  right: calc(var(--tl-gap) * -1 + 16px);
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(29, 97, 107, 0.35) 0 6px, transparent 6px 14px);
}
.timeline li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.timeline__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: var(--peach);
  font-size: 26px;
  box-shadow: 0 0 0 8px var(--cream-warm);
  margin-bottom: 8px;
}
.timeline p { margin: 0; font-size: 15px; line-height: 1.65; }

/* ---------- Luau Platte --------------------------------------------------- */

.platter { padding: var(--section-y) var(--pad-x); background: var(--cream); }
.platter__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.menu { display: flex; flex-direction: column; gap: 16px; }

.dishes {
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 36px;
}
.dishes dt { font-family: "Patua One", Georgia, serif; font-size: 19px; line-height: 1.3; color: var(--teal); }
.dishes dd { margin: 4px 0 0; font-size: 15px; line-height: 1.6; }
/* Das Signature-Gericht als Aufmacher über die volle Breite */
.dishes > div:first-child { grid-column: 1 / -1; }
.dishes > div:first-child dt { font-size: clamp(22px, 2.2vw, 26px); }
.dishes > div:first-child dd { font-size: 16px; max-width: 56ch; }

.menu__sides { margin: 12px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.65; }
.menu__sides b { color: var(--teal); margin-right: 6px; }
.menu__vegan {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--cream-warm);
  font-size: 15px;
  line-height: 1.55;
  color: var(--teal-deep);
}
.menu__vegan .icon { font-size: 22px; color: var(--teal); margin-top: 1px; }

/* Preis-Card aus styles.css, hier mit Aufpreis-Liste */
.price-card h3 { color: var(--white); }
.price-card__unit { line-height: 1.5; }
.addons__title { margin-top: 2px; font-size: 19px; }
.addons { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 9px; }
.addons li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.9); }
.addons b { color: var(--white); white-space: nowrap; font-variant-numeric: tabular-nums; }
.addons__unit { margin: 8px 0 22px; font-size: 12.5px; color: rgba(255, 255, 255, 0.75); }

/* ---------- Kalkulation --------------------------------------------------- */

.calc { padding: var(--section-y) var(--pad-x); background: var(--cream-warm); }
.calc__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.calc__copy { display: flex; flex-direction: column; gap: 14px; }
.calc__copy p { margin: 0; }
.calc__copy b { color: var(--teal-deep); }
.calc__copy .calc__legal { font-size: 13.5px; color: var(--ink-muted); }

/* Wie ein Beleg: weiß, leicht gedreht, Summe in Patua One */
.receipt {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 3vw, 36px);
  rotate: 0.8deg;
}
.receipt h3 { font-size: 19px; margin-bottom: 14px; }
.receipt__rows { margin: 0; }
.receipt__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.receipt__rows dt { font-size: 15.5px; }
.receipt__rows dd { margin: 0; font-weight: 700; color: var(--teal-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt__sum {
  display: flex;
  justify-content: space-between;
  margin: 12px 0 0;
  padding-top: 14px;
  border-top: 2px dashed rgba(29, 97, 107, 0.3);
  font-family: "Patua One", Georgia, serif;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  color: var(--teal);
}
.receipt__room {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--cream-warm);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-deep);
}
.receipt__room .icon { font-size: 18px; color: var(--teal); }
.receipt__note { margin: 16px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-muted); }

/* ---------- Mehr als Essen (Bento) ---------------------------------------- */

.extras-bento { padding: var(--section-y) var(--pad-x); background: var(--cream); }
.xbento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: minmax(230px, auto) auto;
  gap: 16px;
}
.xtile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  border-radius: var(--r-card);
  background: var(--cream-warm);
  box-shadow: var(--shadow-card);
}
.xtile p { margin: 0; font-size: 15px; line-height: 1.55; }
.xtile__icon { font-size: 30px; color: var(--teal); margin-bottom: 14px; }

.xtile--intro { grid-column: 1 / 3; justify-content: flex-end; gap: 12px; background: var(--teal); box-shadow: none; }
.xtile--intro h2 { color: var(--white); font-size: clamp(26px, 3vw, 38px); }
.xtile--intro p { color: rgba(255, 255, 255, 0.9); font-size: 16px; max-width: 44ch; }

.xtile--photo { grid-column: 3 / 5; justify-content: flex-end; box-shadow: none; }
.xtile--photo > picture { position: absolute; inset: 0; z-index: -2; display: block; }
.xtile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.xtile--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(var(--overlay), 0) 35%, rgba(var(--overlay), 0.82) 100%);
}
.xtile--photo:hover .xtile__img { transform: scale(1.04); }
.xtile--photo h3, .xtile--photo p { color: var(--white); }

.xtile--lei { grid-column: 3 / 5; padding-right: 120px; }
.xtile__price {
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: "Patua One", Georgia, serif;
  font-size: 28px !important;
  line-height: 1.1 !important;
  color: var(--teal);
  text-align: right;
}
.xtile__price small { display: block; font-family: "Lato", sans-serif; font-size: 13px; color: var(--ink-muted); }

/* ---------- Feiern und bleiben -------------------------------------------- */

.stay { padding: var(--section-y) var(--pad-x); background: var(--cream-warm); }
.stay__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.stay__media { display: block; }
.stay__media img {
  width: 100%;
  height: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.stay__copy { display: flex; flex-direction: column; gap: 14px; }

.host {
  margin-top: 10px;
  padding: 18px 22px;
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.host p { margin: 0; }
.host__label { font-size: 13.5px; color: var(--ink-muted); }
.host__name { font-family: "Satisfy", cursive; font-size: 32px; line-height: 1.25; color: var(--teal); }
.host__text { font-size: 15px; }

/* ---------- Anfrage ------------------------------------------------------- */

.inquiry {
  scroll-margin-top: calc(var(--header-h) + 12px); /* Sprungziel aller CTAs */
  background: var(--teal);
  padding: clamp(12px, 2vw, 24px) var(--pad-x) clamp(56px, 7vw, 96px);
}
.inquiry__wrap { max-width: 860px; }
.inquiry .section-head h2 { color: var(--white); }
.inquiry .section-head .lead { color: rgba(255, 255, 255, 0.9); }
.script--on-teal { color: var(--peach); }

.form-card {
  margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: var(--shadow-float);
}

.lead-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 700; color: var(--teal-deep); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  padding: 13px 16px;
  border: 1.5px solid rgba(29, 97, 107, 0.3);
  border-radius: 14px;
  background: var(--cream);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover,
.field textarea:hover { border-color: rgba(29, 97, 107, 0.55); }
.field input:focus,
.field textarea:focus { border-color: var(--teal); background: var(--white); }
.field textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
/* Fehler ohne Signalfarbe: kräftiger Rahmen, Icon und fetter Text */
.field input[aria-invalid="true"] {
  border-width: 2px;
  border-color: var(--teal-deep);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(29, 97, 107, 0.12);
}
.field__error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-deep);
}
.field__error .icon { font-size: 17px; }
.field__help { margin: 0; font-size: 13.5px; color: var(--ink-muted); }

/* Honeypot für Netlify, für Menschen unsichtbar */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }

.lead-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.lead-form__submit .icon { font-size: 20px; }
.lead-form__submit[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.lead-form__privacy { flex: 1 1 260px; margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-muted); }

.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--cream-warm);
  color: var(--teal-deep);
}
.form-alert .icon { font-size: 20px; margin-top: 2px; color: var(--teal); }
.form-alert p { margin: 0; font-size: 14.5px; line-height: 1.55; }

.form-success {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: clamp(16px, 3vw, 32px) 0;
  text-align: center;
}
.form-success:focus { outline: none; }
.form-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--r-pill);
  background: var(--cream-warm);
  color: var(--teal);
  font-size: 34px;
}
.form-success p { margin: 0; max-width: 48ch; }

.inquiry__direct { margin: 22px auto 0; text-align: center; font-size: 14.5px; color: rgba(255, 255, 255, 0.9); }
.inquiry__direct a { color: var(--white); }
.inquiry__sign {
  margin: 18px 0 0;
  text-align: center;
  font-family: "Satisfy", cursive;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.3;
  color: var(--peach);
}

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

.faq--xmas { padding-top: clamp(24px, 4vw, 48px); }

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

@media (max-width: 980px) {
  .platter__grid { grid-template-columns: 1fr; }
  .price-card { position: static; }
}

@media (max-width: 900px) {
  .luau__grid,
  .calc__grid,
  .stay__grid { grid-template-columns: 1fr; }
  .stay__media img { max-height: 320px; }
  .receipt { rotate: none; }

  .timeline { grid-template-columns: 1fr; --tl-gap: 26px; }
  .timeline li:not(:last-child)::after {
    top: 70px;
    bottom: calc(var(--tl-gap) * -1 + 14px);
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, rgba(29, 97, 107, 0.35) 0 6px, transparent 6px 14px);
  }
  .timeline li { padding-left: 80px; min-height: 56px; }
  .timeline__icon { position: absolute; left: 0; top: 0; margin: 0; }

  .xbento { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .xtile--intro, .xtile--photo, .xtile--lei { grid-column: 1 / -1; }
  .xtile--photo { min-height: 240px; }
}

@media (max-width: 760px) {
  /* Hochkant würde der Text die Feuerschale verdecken. Deshalb sitzt das Foto
     nur im oberen Teil und läuft in eine Teal-Schwarz-Fläche für den Text aus. */
  .hero--xmas { background: rgb(var(--overlay)); }
  .hero--xmas > picture { bottom: auto; height: 64%; }
  .hero--xmas .hero__media { object-position: 18% 88%; }
  .hero--xmas::before {
    background: linear-gradient(0deg,
      rgb(var(--overlay)) 0%,
      rgb(var(--overlay)) 36%,
      rgba(var(--overlay), 0.55) 44%,
      rgba(var(--overlay), 0) 56%);
  }
  .hero--xmas .hero__head { padding-bottom: 32px; }
}

@media (max-width: 640px) {
  .dishes { grid-template-columns: 1fr; gap: 18px; }
  .lead-form { grid-template-columns: 1fr; }
  .lead-form__submit { width: 100%; }
  .hero__actions { gap: 14px; }
}

@media (max-width: 520px) {
  .xbento { grid-template-columns: 1fr; }
  .xtile { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .xtile--photo:hover .xtile__img { transform: none; }
}
