/* ============================================================
   VacationVisuals · Cinematic Landing Page
   Palette: Babyblau (Himmel) + warmes Off-White + Ozean-Akzent,
   ein bewusster Theme-Wechsel: heller Himmel oben, Kino-Block unten
   Radius-System: Buttons = Pill · Karten/Medien = 20px · Inputs = 12px
   ============================================================ */

@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
/* Nur für Ghost-Schriftzüge: statischer Schnitt mit per fonttools
   verschmolzenen Konturen — die Outline ist EINE durchgehende Linie,
   keine Kreuzungen im Buchstabeninneren (Nicos 2D-Regel) */
@font-face {
  font-family: "Outfit Ghost";
  src: url("../assets/fonts/outfit-ghost.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #FBFAF7;
  --bg-tint: #EDF6FB;
  --baby: #A9D9EE;
  --baby-soft: #D3EBF7;
  --sand: #F4EDE1;
  --accent: #0E7196;
  --accent-deep: #0A5A78;
  --ink: #12303C;
  --ink-soft: #48626E;
  --line: #DCE7EC;
  --shadow-tint: 18, 66, 92;

  /* Kino-Block */
  --dark: #0B2029;
  --dark-2: #0E2733;
  --dark-text: #E9F3F8;
  --dark-soft: #93AEBB;
  --dark-line: #1D3946;

  --r-card: 20px;
  --r-input: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
/* Kein CSS-Smooth-Scrolling: Lenis übernimmt das Scrollen.
   Nur im statischen Modus (ohne Lenis) glättet der Browser Anker-Sprünge. */
html { scroll-behavior: auto; }
html.static { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); font-weight: 680; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 650; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 560;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn--primary {
  background: var(--accent);
  color: #FDFEFF;
  box-shadow: 0 8px 24px rgba(var(--shadow-tint), 0.22);
}
.btn--primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(var(--shadow-tint), 0.3);
}
.btn--nav { padding: 10px 22px; font-size: 0.95rem; }
.btn--big { padding: 17px 42px; font-size: 1.1rem; }
.btn--glow {
  background: var(--baby);
  color: var(--ink);
  box-shadow: 0 0 44px rgba(169, 217, 238, 0.45), 0 8px 24px rgba(0, 0, 0, 0.3);
}
.btn--glow:hover {
  background: var(--baby-soft);
  box-shadow: 0 0 64px rgba(169, 217, 238, 0.6), 0 10px 28px rgba(0, 0, 0, 0.32);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40; /* Layer: 40 Nav · 10 Wolken vorn · 5 Video · 1 Ghost */
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(18, 48, 60, 0.06);
}
.nav.is-dark.is-scrolled { background: rgba(11, 32, 41, 0.78); box-shadow: 0 1px 0 rgba(233, 243, 248, 0.08); }
.nav.is-dark .nav__brand { color: var(--dark-text); }
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav__mark { width: 34px; height: 34px; }
.nav__name { font-size: 1.15rem; }
.nav__name strong { font-weight: 680; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 24px 48px;
}
.hero__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 500px at 78% 6%, rgba(255, 249, 235, 0.85) 0%, transparent 55%),
    linear-gradient(180deg, #BFE2F4 0%, #D8EEF9 38%, #F2F9FD 72%, var(--bg) 100%);
}

.cloud {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  /* Weichheit steckt im Verlauf selbst, kein filter: blur (Repaint-Kosten) */
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.5) 48%, rgba(255, 255, 255, 0) 92%);
}
.cloud--b1 { width: 46vw; height: 13vw; left: -8vw; top: 16%; opacity: 0.9; }
.cloud--b2 { width: 38vw; height: 11vw; right: -6vw; top: 9%; opacity: 0.75; }
.cloud--b3 { width: 30vw; height: 9vw; right: 12vw; top: 42%; opacity: 0.6; }
.cloud--f1 {
  width: 64vw; height: 17vw;
  left: -12vw; bottom: 17%;
  z-index: 10; opacity: 0.95;
}
.cloud--f2 {
  width: 52vw; height: 15vw;
  right: -10vw; bottom: 12%;
  z-index: 10; opacity: 0.9;
}

.hero__ghost {
  position: absolute;
  z-index: 6; /* schwebt als Kontur ÜBER dem Video, wie eine Glasgravur */
  top: 13%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(4rem, 11.5vw, 10.2rem);
  font-family: "Outfit Ghost", "Outfit", sans-serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0.05em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
  text-stroke: 1.5px rgba(255, 255, 255, 0.85);
  will-change: transform, opacity;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.hero__stage {
  position: relative;
  z-index: 5;
  width: min(760px, 86vw);
  border-radius: var(--r-card);
  margin-top: 4vh;
  will-change: transform;
}
.hero__copy { will-change: transform, opacity; }
.hero__stage video {
  width: 100%;
  border-radius: var(--r-card);
  box-shadow: 0 40px 90px rgba(var(--shadow-tint), 0.35);
  /* weiche Kanten, damit das Haus im Himmel schwebt */
  -webkit-mask-image: radial-gradient(120% 120% at 50% 45%, #000 62%, transparent 98%);
  mask-image: radial-gradient(120% 120% at 50% 45%, #000 62%, transparent 98%);
}

.soundtoggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 12;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: rgba(18, 48, 60, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.soundtoggle:hover { background: rgba(18, 48, 60, 0.78); transform: scale(1.06); }
.soundtoggle svg { width: 21px; height: 21px; }
.soundtoggle .icon-sound { display: none; }
.soundtoggle[aria-pressed="true"] .icon-sound { display: block; }
.soundtoggle[aria-pressed="true"] .icon-muted { display: none; }

.hero__copy {
  position: relative;
  z-index: 15;
  text-align: center;
  margin-top: 3vh;
  max-width: 620px;
}
.hero__copy p {
  margin: 14px auto 24px;
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ---------- Manifest ---------- */
.manifest {
  padding: 20vh 24px;
  display: flex;
  justify-content: center;
}
.manifest__text {
  max-width: 22ch;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  font-weight: 640;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}
.manifest__text .word { opacity: 0.12; display: inline-block; }

/* ---------- Chevrons ---------- */
.chevrons {
  display: flex;
  justify-content: center;
  gap: 2.4vw;
  padding: 4vh 24px 14vh;
  overflow: hidden;
}
.chevron {
  width: 17vw;
  max-width: 240px;
  aspect-ratio: 0.78;
  clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%);
  flex: none;
}
.chevron img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Beispiele ---------- */
.examples { padding: 4vh 0 16vh; }
.examples__head {
  max-width: 640px;
  margin-bottom: 9vh;
}
.examples__head p { margin-top: 16px; font-size: 1.1rem; color: var(--ink-soft); }

.examples__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5vw;
  row-gap: 11vh;
}
.example { position: relative; margin: 0; }
.example--offset { margin-top: 13vh; }

.example__ghost {
  position: absolute;
  z-index: 0;
  top: -0.62em;
  left: -0.02em;
  font-size: clamp(2.8rem, 6.6vw, 5.8rem);
  font-family: "Outfit Ghost", "Outfit", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(18, 48, 60, 0.25);
  text-stroke: 1.2px rgba(18, 48, 60, 0.25);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.example__frame {
  position: relative;
  z-index: 1;
  border-radius: var(--r-card);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 24px 56px rgba(var(--shadow-tint), 0.18);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.example__frame:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 32px 70px rgba(var(--shadow-tint), 0.26);
}
.example__frame video { width: 100%; height: auto; }

.playbtn {
  position: absolute;
  inset: 0;
  width: 100%;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: linear-gradient(to top, rgba(18, 48, 60, 0.35), rgba(18, 48, 60, 0.05));
  color: var(--ink);
  transition: opacity 0.3s var(--ease);
}
.playbtn svg {
  width: 64px;
  height: 64px;
  padding: 17px;
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.92);
  box-shadow: 0 10px 28px rgba(var(--shadow-tint), 0.3);
  transition: transform 0.25s var(--ease);
}
.example__frame:hover .playbtn svg { transform: scale(1.1); }
.example__frame.is-playing .playbtn { opacity: 0; pointer-events: none; }

.example figcaption {
  margin-top: 16px;
  font-weight: 540;
  font-size: 1.05rem;
}

/* ---------- Kino-Block (bewusster Theme-Wechsel) ---------- */
.cinema {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--dark-text);
  padding: 16vh 0 0;
  border-radius: 44px 44px 0 0;
}
.cinema__head { margin-bottom: 10vh; }

.impact { display: grid; }
.impact__row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: center;
  padding: 7vh 0;
  border-top: 1px solid var(--dark-line);
}
.impact__row:last-child { border-bottom: 1px solid var(--dark-line); }
.impact__word {
  font-size: clamp(3.4rem, 9vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--dark-text);
}
.impact__copy {
  color: var(--dark-soft);
  font-size: 1.1rem;
  max-width: 42ch;
}

/* ---------- Ablauf ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 14vh 0 4vh;
}
.flow__item { border-top: 2px solid var(--baby); padding-top: 22px; }
.flow__item h3 { color: var(--dark-text); margin-bottom: 10px; }
.flow__item p { color: var(--dark-soft); font-size: 0.99rem; }

/* ---------- FAQ (dunkel) ---------- */
.faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 10vh 0 4vh;
  display: grid;
  gap: 12px;
}
.faq details {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px var(--dark-line);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease);
}
.faq details[open] { box-shadow: inset 0 0 0 1.5px var(--baby); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 560;
  font-size: 1.03rem;
  position: relative;
  color: var(--dark-text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--baby);
  border-bottom: 2px solid var(--baby);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 24px 22px; color: var(--dark-soft); }

/* ---------- Kontakt (dunkel) ---------- */
.contact {
  text-align: center;
  padding: 12vh 0 14vh;
}
.contact h2 {
  max-width: 22ch;
  margin: 0 auto;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}
.contact p {
  margin: 20px auto 0;
  max-width: 54ch;
  font-size: 1.1rem;
  color: var(--dark-soft);
}
.contact .btn--big { margin-top: 36px; }
.contact__mail { font-size: 0.98rem; }
.contact__mail a { color: var(--baby); font-weight: 540; }

/* ---------- Footer (dunkel) ---------- */
.footer {
  border-top: 1px solid var(--dark-line);
  padding: 28px 0;
  font-size: 0.92rem;
  color: var(--dark-soft);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer nav { display: flex; gap: 20px; }
.footer a { color: var(--dark-soft); text-decoration: none; }
.footer a:hover { color: var(--dark-text); text-decoration: underline; }

/* ---------- Animation-Startzustände (GSAP animiert sie ein) ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); }
[data-word-reveal] { clip-path: inset(0 100% 0 0); }

/* Statischer Modus: reduzierte Bewegung, fehlendes GSAP oder ?static=1 */
html.static [data-reveal] { opacity: 1; transform: none; }
html.static [data-word-reveal] { clip-path: none; }
html.static .manifest__text .word { opacity: 1; }
html.static { scroll-behavior: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-word-reveal] { clip-path: none; }
  .manifest__text .word { opacity: 1 !important; }
  .btn, .example__frame, .playbtn svg, .soundtoggle { transition: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .nav__inner { height: 64px; }
  .nav__name { font-size: 1rem; }
  .btn--nav { padding: 9px 16px; font-size: 0.88rem; }

  .hero { padding: 88px 20px 40px; }
  .hero__ghost { font-size: 15.5vw; top: 13%; }
  .hero__stage { width: 100%; margin-top: 2vh; }
  .hero__copy p { font-size: 1.02rem; }

  .manifest { padding: 14vh 20px; }

  .chevron { width: 21vw; }
  .chevron:nth-child(4) { display: none; }

  .examples__grid {
    grid-template-columns: 1fr;
    row-gap: 9vh;
  }
  .example--offset { margin-top: 0; }
  .example__ghost { font-size: clamp(2.4rem, 11vw, 4rem); }

  .impact__row { grid-template-columns: 1fr; gap: 14px; padding: 5vh 0; }
  .impact__word { font-size: clamp(2.8rem, 13vw, 4.6rem); }

  .flow { grid-template-columns: 1fr; gap: 28px; padding: 10vh 0 2vh; }

  .cinema { border-radius: 28px 28px 0 0; }
}

/* ---------- Preise (Kino-Block) ---------- */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 22px;
  margin: 11vh auto 0;
  max-width: 860px;
}
.pricing__card {
  background: linear-gradient(160deg, rgba(169, 217, 238, 0.16), rgba(169, 217, 238, 0.05));
  border: 1px solid rgba(169, 217, 238, 0.35);
  border-radius: 20px;
  padding: 34px 32px;
  text-align: center;
}
.pricing__label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--baby);
  font-weight: 560;
}
.pricing__amount {
  font-size: clamp(3.2rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--dark-text);
  margin-top: 6px;
}
.pricing__unit { color: var(--dark-soft); margin-top: 4px; }
.pricing__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--dark-text);
  font-size: 0.98rem;
}
.pricing__list li::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--baby);
  margin-right: 10px;
  vertical-align: 2px;
}
.pricing__side { display: grid; gap: 22px; }
.pricing__box {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: 20px;
  padding: 26px 28px;
}
.pricing__box strong {
  display: block;
  color: var(--dark-text);
  font-weight: 640;
  font-size: 1.06rem;
  margin-bottom: 8px;
}
.pricing__box p { color: var(--dark-soft); font-size: 0.97rem; }

@media (max-width: 760px) {
  .pricing { grid-template-columns: 1fr; }
}
