/* ============================================================
   CallCoco — Landing Page
   Palette, type & components extracted from the Claude Design
   prototype (CallCoco Landing.dc.html).
   ============================================================ */

/* ---------- Fonts: self-hosted (DSGVO; keine Google-Server) ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/manrope.woff2') format('woff2');
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/karla.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/fraunces.woff2') format('woff2');
}

:root {
  --bg:      #FBF6EF; /* cream */
  --ink:     #4A342A; /* brown */
  --coral:   #FF7A66;
  --gold:    #F2B84B;

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-hero:    'Manrope', system-ui, sans-serif;
  --font-logo:    'Fraunces', Georgia, serif;   /* nur das CallCoco-Wortzeichen */
  --font-body:    'Karla', system-ui, sans-serif;

  --maxw: 1160px;
}

* { box-sizing: border-box; }

/* html-Hintergrund = "Canvas": iOS Safari faerbt Statusbar/Toolbar-Bereich damit.
   Weiss, damit der Bereich ueber der Navbar weiss ist (body bleibt creme). */
html { scroll-behavior: smooth; background-color: #fff; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); }

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */
.legal { max-width: 760px; padding-top: clamp(120px, 16vh, 170px); }
.legal h1 {
  font-family: var(--font-hero); font-weight: 800;
  font-size: clamp(34px, 4.5vw, 48px); letter-spacing: -.03em; margin: 0 0 34px;
}
.legal h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; letter-spacing: -.01em; margin: 34px 0 10px;
}
.legal p { font-size: 15.5px; line-height: 1.7; opacity: .85; margin: 0 0 12px; }
.legal a { color: var(--coral); font-weight: 600; text-decoration: none; }
.legal a:hover { text-decoration: underline; }

/* ---------- Politur: A11y-Fokus + dezente Micro-Interaktionen ---------- */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 8px;
}
.btn:active { transform: translateY(1px) scale(.995); }

/* ---------- Keyframes ---------- */
@keyframes cocoRise      { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes underlineDraw { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
@keyframes scrollNudge   { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(5px); opacity: 1; } }

/* ---------- Shared helpers ---------- */
.wrap        { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 96px) 24px; }
.eyebrow     { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); margin: 0 0 14px; }
.section-h2  { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.02em; line-height: 1.12; margin: 0 0 46px; text-wrap: balance; }
.grid-auto   { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }

/* ============================================================
   NAVBAR — floating pill
   ============================================================ */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  padding: 0 16px; pointer-events: none;
}
.nav__inner {
  position: relative;
  max-width: 1080px; margin: 0 auto;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(74,52,42,.14);
  border-radius: 999px;
  padding: 9px 12px 9px 22px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  box-shadow: 0 10px 34px rgba(74,52,42,.12);
  pointer-events: auto;
}
/* Burger — hidden on desktop, shown on phones */
.nav__burger {
  display: none; margin-left: auto;
  width: 42px; height: 42px; padding: 0;
  border: none; background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink);
  transition: background .15s ease;
}
.nav__burger:hover { background: rgba(74,52,42,.07); }
.nav__burger-close { display: none; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav__brand span { font-family: var(--font-logo); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.nav__links { display: flex; gap: 24px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav__link  { color: var(--ink); opacity: .78; text-decoration: none; font-weight: 600; font-size: 15px; transition: opacity .15s ease; }
.nav__link:hover { opacity: 1; }

/* ---------- Buttons ---------- */
.btn { text-decoration: none; font-weight: 700; border-radius: 999px; display: inline-block; text-align: center; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease; }
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 4px 14px rgba(255,122,102,.35); }
.btn--coral:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,122,102,.45); }

.nav__cta { font-size: 15px; padding: 10px 20px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  background: var(--bg);
}
.hero__video, .hero__still {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero__still[hidden] { display: none; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg,
    rgba(251,246,239,0) 0%, rgba(251,246,239,0) 28%,
    rgba(251,246,239,.6) 44%, rgba(251,246,239,.94) 58%, var(--bg) 72%);
}
.hero__inner {
  position: relative; z-index: 2; max-width: 1160px; width: 100%;
  margin: 0 auto; padding: clamp(104px, 13vh, 150px) 24px clamp(64px, 8vh, 96px);
  display: flex; align-items: center; justify-content: flex-end;
}
.hero__content { width: min(560px, 100%); animation: cocoRise .7s ease both; }

.hero__h1 {
  font-family: var(--font-hero); font-weight: 800;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.02; letter-spacing: -.03em; margin: 0 0 26px;
}

/* ---- FlipWords: rotierendes Wort in der Hero-Headline ---- */
.flip-words {
  position: relative; display: inline-block; text-align: left;
  color: var(--coral); overflow: visible; vertical-align: baseline;
  transition: width .5s cubic-bezier(.76,0,.24,1); will-change: width;
}
/* nullbreiter Steg hält Grundlinie + Zeilenhöhe, damit "gebucht." korrekt sitzt */
.flip-words__baseline { display: inline-block; width: 0; overflow: hidden; }
.fw-word { position: absolute; left: 0; top: 0; white-space: nowrap; }
.fw-letter { display: inline-block; will-change: transform, opacity, filter; }
.fw-underline {
  position: absolute; left: -2%; bottom: -.06em; width: 104%; height: .3em;
  overflow: visible; pointer-events: none; z-index: -1;
}

.hero__lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; opacity: .84; margin: 0 0 32px; max-width: 44ch; text-wrap: pretty; }
.hero__lead strong { opacity: 1; }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.btn--hero-primary { font-size: 17px; padding: 16px 32px; box-shadow: 0 6px 20px rgba(255,122,102,.4); }
.btn--hero-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,122,102,.5); }
.btn--ghost {
  color: var(--ink); font-size: 17px; padding: 16px 28px;
  border: 2px solid rgba(74,52,42,.2); background: rgba(255,255,255,.55);
}
.btn--ghost:hover { border-color: var(--ink); background: #fff; }

.hero__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; opacity: .62; }

.scroll-hint {
  position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; color: var(--ink); opacity: .55;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}

/* ============================================================
   PROBLEM
   ============================================================ */
.section--panel { background: #fff; border-top: 1px solid rgba(74,52,42,.06); border-bottom: 1px solid rgba(74,52,42,.06); }
.section--panel .section-h2 { max-width: 22ch; }

.card-soft { background: var(--bg); border-radius: 18px; padding: 28px; }
.card-soft h3, .card-step h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.card-soft p, .card-step p { font-size: 15px; line-height: 1.6; opacity: .78; margin: 0; }
.card-soft svg { margin-bottom: 16px; }

/* ---------- Problem-Abschnitt: lebendige Karten ---------- */
.problem { background: var(--bg); }
.problem--anim { min-height: 100svh; display: flex; align-items: center; }   /* gepinntes Akkordeon: Inhalt mittig */
/* Timeline: Linie links, Knoten pro Karte (Scrub-Animation zeichnet den Fill) */
.problem-timeline {
  position: relative; max-width: 720px; margin: 0 auto;
  padding-left: 62px; display: flex; flex-direction: column; gap: 22px;
}
/* Der Track ist eine Rille, keine gezeichnete Linie: 3px Kapsel, in der Mitte
   etwas praesenter als an den Enden, wo die Mask ihn ohnehin ausblendet. */
.problem-rail {
  /* Knoten-Mitte = 62px Timeline-Padding + 1px Karten-Border - 42px + 7,5px
     = 28,5px. Rail 3px breit -> left 27px zentriert exakt darunter. */
  position: absolute; left: 27px; top: 4px; bottom: 4px; width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg,
    rgba(74,52,42,.07) 0%, rgba(74,52,42,.14) 20%,
    rgba(74,52,42,.14) 80%, rgba(74,52,42,.07) 100%);
  /* weiche Enden statt hartem Abschneiden */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30px, #000 calc(100% - 30px), transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 30px, #000 calc(100% - 30px), transparent);
}
/* coral -> gold -> braun: die Last nimmt zu, waehrend man liest. Der warme
   Zwischenton haelt den Verlauf davor, in der Mitte auszugrauen. */
.problem-rail__fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 999px;
  background: linear-gradient(180deg,
    var(--coral) 0%, #F89958 34%, var(--gold) 58%, #8A6A4F 82%, var(--ink) 100%);
  transform-origin: top;   /* scaleY per GSAP; Default = voll (Fallback) */
}
/* --rgb speist die Glow-Schichten, die GSAP am aktiven Knoten aufzieht.
   CSS zeigt den offenen Zustand: das ist zugleich der Fallback ohne GSAP. */
.problem-node {
  position: absolute; left: -42px; top: 51px;
  width: 15px; height: 15px; border-radius: 50%; box-sizing: border-box;
  background: currentColor; border: 2.5px solid currentColor;
  /* 1. Halo verdeckt die Rail hinter dem Knoten, 2. Ring, 3. Abwurf nach unten */
  box-shadow:
    0 0 0 5px var(--bg),
    0 0 0 9px rgba(var(--rgb), .15),
    0 6px 16px rgba(var(--rgb), .40);
}
.problem-node--coral { color: var(--coral); --rgb: 255,122,102; }
.problem-node--gold  { color: var(--gold);  --rgb: 242,184,75; }
.problem-node--ink   { color: var(--ink);   --rgb: 74,52,42; }

@media (max-width: 720px) {
  /* Waehrend des Pins: oben ausrichten + stark verdichtet, damit auch mit
     Safari-Leisten (reale svh ~660px) nichts abgeschnitten wird */
  .problem--anim { align-items: flex-start; }
  .problem--anim .wrap { padding-top: 72px; padding-bottom: 16px; }
  .problem--anim .eyebrow { display: none; }   /* H2 traegt die Botschaft; Platz fuer reale svh */
  .problem .section-h2 { font-size: 24px; margin-bottom: 16px; }

  .problem-timeline { padding-left: 36px; gap: 10px; }
  /* Knoten-Mitte = 36 + 1 - 30 + 6,5 = 13,5px -> Rail 3px ab 12px */
  .problem-rail { left: 12px; }
  .problem-node {
    width: 13px; height: 13px; left: -30px; top: 26px; border-width: 2px;
    box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px rgba(var(--rgb), .14);
  }

  .problem-card { padding: 14px; border-radius: 16px; }
  .problem-card__head { gap: 11px; }
  .problem-card__head .problem-card__icon { width: 36px; height: 36px; border-radius: 11px; }
  .problem-card__head .problem-card__icon svg { width: 19px; height: 19px; }
  .problem-card h3 { font-size: 15.5px; }
  .problem-card p  { font-size: 13.5px; line-height: 1.5; }
  .problem-card__body p { margin-top: 8px; }
}

.problem-card {
  position: relative;
  background: #fff; border-radius: 22px; padding: 30px 28px;
  border: 1px solid rgba(74,52,42,.05);
  box-shadow: 0 8px 24px rgba(74,52,42,.07);
  transition: transform .2s ease, box-shadow .2s ease;
  /* Der Knoten sitzt in der Karte, links ausserhalb. Skalierte GSAP die Karte
     um ihre Mitte, zoege sie den Knoten ~9px von der Rail weg. Anker links:
     die Karte weicht nach rechts zurueck, der Knoten bleibt auf der Linie. */
  transform-origin: left center;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(74,52,42,.13); }
.problem-card__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.problem-card__icon svg { width: 28px; height: 28px; }
.problem-card__icon--coral { background: var(--coral); color: #fff; }
.problem-card__icon--gold  { background: var(--gold);  color: var(--ink); }
.problem-card__icon--ink   { background: var(--ink);   color: var(--bg); }
/* Kopf (immer sichtbar) + aufklappbarer Koerper */
.problem-card__head { display: flex; align-items: center; gap: 16px; }
.problem-card__head .problem-card__icon { margin-bottom: 0; flex: none; }
.problem-card__head h3 { margin: 0; }
.problem-card__body { overflow: hidden; }
.problem-card__body p { margin: 14px 0 0; }
.problem-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.01em; }
.problem-card p  { font-size: 15px; line-height: 1.6; opacity: .78; margin: 0; }

/* ============================================================
   SO FUNKTIONIERT'S — 3 steps
   ============================================================ */
.card-step { background: #fff; border-radius: 18px; padding: 30px; box-shadow: 0 2px 12px rgba(74,52,42,.05); position: relative; }
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #fff;
  background: var(--coral); width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.step-num--gold { background: var(--gold); color: var(--ink); }

/* ============================================================
   CHAT DEMO
   ============================================================ */
.chat { position: relative; background: var(--bg); border-top: 1px solid rgba(74,52,42,.06); }
.chat__pin { position: relative; min-height: 100svh; display: flex; align-items: center; padding: clamp(48px, 8vh, 96px) 24px; }
.chat__grid {
  position: relative; z-index: 1;   /* Blasen liegen ueber dem Ast */
  max-width: 1080px; width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 6vw, 72px); align-items: center;
}
.chat__h2 { font-weight: 700; font-size: clamp(38px, 5vw, 60px); letter-spacing: -.03em; line-height: 1.06; margin: 0 0 20px; max-width: 14ch; text-wrap: balance; }
.chat__lead { font-size: clamp(16px, 1.8vw, 19px); line-height: 1.6; opacity: .82; margin: 0 0 32px; max-width: 40ch; text-wrap: pretty; }
.chat__nudge { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: .55; }
.chat__nudge svg { animation: scrollNudge 1.6s ease-in-out infinite; }

.chat__thread { justify-self: center; width: 100%; max-width: 500px; display: flex; flex-direction: column; gap: 16px; }
.bubble { max-width: 88%; }
.bubble--me  { align-self: flex-start; }
.bubble--coco { align-self: flex-end; max-width: 90%; }
.bubble__body { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.5; padding: 16px 21px; }
.bubble--me .bubble__body   { background: #fff; color: var(--ink); border-radius: 26px 26px 26px 8px; box-shadow: 0 8px 22px rgba(74,52,42,.1); }
.bubble--coco .bubble__body { background: var(--coral); color: #fff; border-radius: 26px 26px 8px 26px; box-shadow: 0 10px 26px rgba(255,122,102,.3); }
.bubble__time { font-size: 12px; color: rgba(74,52,42,.5); margin: 6px 8px 0; }
.bubble--coco .bubble__time { display: flex; gap: 4px; justify-content: flex-end; align-items: center; }
.tick { color: var(--gold); font-weight: 700; }

/* ============================================================
   FUNKTIONEN
   Beweis-Reihen: links die Aussage, rechts das Artefakt, das sie belegt.
   Keine Kaesten, Haarlinien statt Raender, jede Reihe gleich gebaut.
   Der Grund bleibt creme. Ink markiert auf dieser Seite die Pointe
   (.cta-box, .diff-card--brand); ein ganzer dunkler Abschnitt fuer eine
   Aufzaehlung verbraucht diese Betonung und nimmt "Der Unterschied"
   direkt danach den Kontrast.
   ============================================================ */
/* Alle Reihen auf die Hoehe der hoechsten: die Beweise sind verschieden lang
   (zwei Blasen, eine Blase, Kalenderkarte), ohne das zappelt das Raster. */
.features { display: grid; grid-auto-rows: 1fr; border-top: 1px solid rgba(74,52,42,.12); }
.feat {
  display: grid;
  grid-template-columns: 26px 1fr minmax(210px, 268px);
  gap: 24px; align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(74,52,42,.12);
}
.feat__icon { color: var(--coral); display: flex; align-self: start; margin-top: 2px; }
.feat__icon svg { width: 26px; height: 26px; }
.feat h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 5px; }
.feat p  { font-size: 14.5px; line-height: 1.55; opacity: .72; margin: 0; max-width: 46ch; }

/* Artefakte sprechen die Sprache der Chat-Demo, nur kleiner. Farben, Ecken
   und Ausrichtung kommen unveraendert von .bubble--me / .bubble--coco. */
.feat__proof { display: flex; flex-direction: column; gap: 8px; }
.feat__proof .bubble { max-width: 100%; }
.feat__proof .bubble__body { font-size: 12.5px; line-height: 1.45; padding: 9px 13px; }
.feat__proof .bubble--me .bubble__body   { border-radius: 15px 15px 15px 5px; box-shadow: 0 3px 10px rgba(74,52,42,.09); }
.feat__proof .bubble--coco .bubble__body { border-radius: 15px 15px 5px 15px; box-shadow: 0 4px 12px rgba(255,122,102,.22); }
.feat__proof .bubble__time { font-size: 10px; margin: 3px 6px 0; }
/* Quick-Reply-Buttons wie in WhatsApp-Business: in der Blase, unter dem Text,
   Haarlinien dazwischen, zentriert und fett. Negativ-Margins heben die
   Polsterung des Blasenkoerpers auf, damit die Linien bis zum Rand laufen. */
.feat__proof .bubble__btns { display: block; margin: 9px -13px -9px; }
.feat__proof .bubble__btn {
  display: block; text-align: center;
  padding: 7px 10px; font-size: 12px; font-weight: 700;
  border-top: 1px solid rgba(255,255,255,.32);
}
.feat__proof .cal-card { margin-top: 0; padding: 9px 11px; }
.feat__proof .cal-card__title { font-size: 12.5px; }
.feat__proof .cal-card__sub   { font-size: 11px; }

/* Zusage, keine Funktion: steht darum ohne Reihe und ohne Haarlinie da. */
.features__closing { font-size: 15.5px; line-height: 1.6; opacity: .72; margin: 28px 0 0; max-width: 58ch; }
.features__closing strong { opacity: 1; font-weight: 800; }

@media (max-width: 860px) {
  /* Gestapelt sind die Reihen ohnehin verschieden hoch, gleichmachen wuerde
     nur Leere erzeugen. */
  .features { display: block; }
  /* Artefakt unter den Text, buendig mit ihm: nebeneinander quetscht beides */
  .feat { grid-template-columns: 26px 1fr; gap: 4px 18px; padding: 24px 0; }
  .feat__proof { grid-column: 2; margin-top: 14px; max-width: 300px; }
}

/* ============================================================
   DIFFERENZIERUNG
   ============================================================ */
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; align-items: stretch; }
.diff-card { border-radius: 18px; padding: 30px; }
.diff-card--muted { background: #fff; border: 1px solid rgba(74,52,42,.08); }
.diff-card--muted h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 0 0 20px; opacity: .55; }
.diff-card--brand { background: var(--ink); color: var(--bg); box-shadow: 0 14px 40px rgba(74,52,42,.22); }
.diff-card--brand h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 0 0 20px; color: var(--gold); }
.diff-list { display: flex; flex-direction: column; gap: 14px; }
.diff-row { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; }
.diff-card--muted .diff-row { opacity: .65; }
.diff-mark { font-weight: 800; flex: none; }
.diff-mark--x  { color: var(--coral); }
.diff-mark--ok { color: var(--gold); }

/* ============================================================
   PREISE
   ============================================================ */
.pricing__head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 42px; }
.pricing__head .section-h2 { margin: 0; max-width: 22ch; }
.toggle-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.toggle { display: inline-flex; background: #fff; border: 1px solid rgba(74,52,42,.12); border-radius: 999px; padding: 4px; }
.toggle__btn {
  border: none; cursor: pointer; font-family: var(--font-body); font-weight: 700;
  font-size: 14px; padding: 9px 18px; border-radius: 999px;
  background: transparent; color: var(--ink); transition: all .2s ease;
}
.toggle__btn.is-active { background: var(--ink); color: var(--bg); }
.toggle__note { font-size: 13px; font-weight: 700; color: var(--coral); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; align-items: stretch; }
.plan { border-radius: 20px; padding: 32px; display: flex; flex-direction: column; }
.plan--soft { background: #fff; border: 1px solid rgba(74,52,42,.08); box-shadow: 0 6px 20px rgba(74,52,42,.06); transition: transform .2s ease, box-shadow .2s ease; }
.plan--soft:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(74,52,42,.12); }
.plan--pro  { background: var(--ink); color: var(--bg); position: relative; box-shadow: 0 18px 48px rgba(74,52,42,.26); transform: translateY(-6px); }
.plan h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.plan__sub { font-size: 14px; opacity: .7; margin: 0 0 22px; }
.plan--pro .plan__sub { opacity: .75; }
.plan__price { margin-bottom: 24px; }
.plan__price .amount { font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.plan__price .per { font-size: 14px; opacity: .6; }
.plan--pro .plan__price .per { opacity: .65; }
.plan__eff { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; opacity: .58; }
.plan__eff[hidden] { display: none; }
.plan--pro .plan__eff { opacity: .7; }
.plan__features { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; margin-bottom: 28px; }
.plan__features .diff-row { opacity: 1; }
.plan__badge {
  position: absolute; top: -13px; left: 32px; background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.plan__title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.plan__title-row h3 { margin: 0; }
.pill-early { background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }

.btn--plan-outline { margin-top: auto; font-size: 15.5px; padding: 14px 24px; color: var(--ink); border: 2px solid rgba(74,52,42,.25); }
.btn--plan-outline:hover { border-color: var(--ink); background: #fff; }
.btn--plan-coral { margin-top: auto; font-size: 15.5px; padding: 14px 24px; color: #fff; background: var(--coral); box-shadow: 0 6px 18px rgba(255,122,102,.4); }
.btn--plan-coral:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255,122,102,.5); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.pricing__fineprint { text-align: center; font-size: 14px; opacity: .6; margin: 30px 0 0; }

/* ============================================================
   SOCIAL PROOF — placeholders
   ============================================================ */
.social .section-h2 { max-width: 24ch; }
.ph-card {
  background: repeating-linear-gradient(-45deg, rgba(74,52,42,.05) 0 10px, transparent 10px 20px);
  border: 1.5px dashed rgba(74,52,42,.28); border-radius: 18px; padding: 30px; min-height: 170px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.ph-card__tag  { font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .05em; color: rgba(74,52,42,.55); }
.ph-card__text { font-size: 15px; line-height: 1.55; color: rgba(74,52,42,.6); font-style: italic; }
.logo-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; align-items: center; }
.logo-slot {
  flex: 1 1 140px; height: 52px; border-radius: 10px;
  background: repeating-linear-gradient(-45deg, rgba(74,52,42,.05) 0 8px, transparent 8px 16px);
  border: 1.5px dashed rgba(74,52,42,.25);
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; color: rgba(74,52,42,.5);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq .wrap { max-width: 820px; }
.faq .section-h2 { margin-bottom: 40px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq.section--panel { background: var(--bg); }   /* Section creme statt weiss */
.faq__item { background: #fff; border-radius: 14px; border: 1px solid rgba(74,52,42,.08); box-shadow: 0 4px 16px rgba(74,52,42,.05); overflow: hidden; }   /* Cards weiss */
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; background: none; border: none; cursor: pointer; padding: 20px 24px;
  font-family: var(--font-body); font-weight: 700; font-size: 16.5px; color: var(--ink);
}
.faq__icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(74,52,42,.1); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; transition: all .2s ease;
}
.faq__item.is-open .faq__icon { background: var(--coral); color: #fff; transform: rotate(45deg); }
.faq__a { margin: 0; padding: 0 24px 22px; font-size: 15.5px; line-height: 1.65; opacity: .8; }
.faq__a[hidden] { display: none; }

/* ============================================================
   CLOSING CTA
   ============================================================ */
.cta-box {
  background: var(--ink); color: var(--bg); border-radius: 28px;
  padding: clamp(44px, 7vw, 80px) clamp(28px, 6vw, 80px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-box h2 { font-weight: 800; font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.025em; line-height: 1.08; margin: 0 0 18px; text-wrap: balance; }
.cta-box p.lead { font-size: clamp(16px, 1.8vw, 19px); line-height: 1.6; opacity: .82; max-width: 52ch; margin: 0 auto 34px; text-wrap: pretty; }
.btn--cta { font-size: 18px; padding: 18px 42px; box-shadow: 0 8px 26px rgba(255,122,102,.45); }
.btn--cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,122,102,.55); }
.cta-box p.fine { font-size: 13.5px; opacity: .55; margin: 22px 0 0; }

/* Coming-Soon-Badge über der CTA-Headline */
.cta-soon {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink); background: var(--gold);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 18px;
}
.cta-soon::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink); animation: soon-pulse 2s ease-in-out infinite;
}
@keyframes soon-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* Warteliste (mailto-basiert, kein Backend) */
.waitlist {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  max-width: 480px; margin: 0 auto;
}
.waitlist__input {
  flex: 1 1 240px; min-width: 0;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--ink);
  background: #fff; border: 2px solid rgba(74,52,42,.15); border-radius: 999px;
  padding: 15px 22px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.waitlist__input::placeholder { color: var(--ink); opacity: .38; font-weight: 500; }
.waitlist__input:hover { border-color: rgba(74,52,42,.3); }
.waitlist__input:focus {
  outline: none; border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255,122,102,.18);
}
.waitlist__input[aria-invalid="true"] { border-color: var(--coral); }
.waitlist__btn { flex: 0 0 auto; font-size: 16px; padding: 15px 30px; border: 2px solid transparent; cursor: pointer; }
.waitlist__btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: 0 4px 14px rgba(255,122,102,.2); }
.waitlist__note { font-size: 13.5px; margin: 16px 0 0; opacity: .6; min-height: 1.4em; }
.waitlist__note--done { color: var(--coral); opacity: 1; font-weight: 700; font-size: 16px; }
.waitlist__note--error { color: var(--ink); opacity: 1; font-weight: 700; }
.waitlist__note--error a { color: var(--coral); }
.waitlist__privacy { font-size: 12px; line-height: 1.55; margin: 14px auto 0; max-width: 46ch; opacity: .5; }
.waitlist__privacy a { color: inherit; font-weight: 700; }
@media (max-width: 560px) {
  .waitlist { flex-direction: column; }
  /* Gestapelt zeigt die Flex-Basis (240px) nach unten und wuerde zur Hoehe */
  .waitlist__input { flex: none; }
  .waitlist__btn { width: 100%; }
}
.cta-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--bg); margin-bottom: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.cta-logo img { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid rgba(74,52,42,.1); }
.footer__top { max-width: var(--maxw); margin: 0 auto; padding: 52px 24px 40px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer__brand { max-width: 320px; }
.footer__brand .row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer__brand .row span { font-family: var(--font-logo); font-weight: 700; font-size: 18px; }
.footer__brand p { font-size: 14px; line-height: 1.6; opacity: .7; margin: 0; }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col .head { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .5; }
.footer__col a, .footer__col span:not(.head) { color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; opacity: .8; }
.footer__col a { transition: opacity .15s ease; }
.footer__col a:hover { opacity: 1; }
.footer__legal { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; opacity: .55; }

/* On narrow screens the hero text stacks over the full-bleed video, so the
   diagonal (right-weighted) scrim no longer sits behind it. Swap to a vertical
   scrim: a sliver of video up top, cream behind the copy for legibility. */
@media (max-width: 1024px) {
  .hero__scrim {
    background: linear-gradient(180deg,
      rgba(251,246,239,0) 0%, rgba(251,246,239,.5) 12%,
      rgba(251,246,239,.92) 24%, var(--bg) 34%);
  }
}

/* ============================================================
   AST-FINALE der Chat-Scrub-Sequenz
   Ganzer Ast unten im gepinnten Bereich; wird als letzter Schritt der
   Scrub-Timeline per clip-path von rechts "reingemalt" (Stamm -> Spitzen).
   ============================================================ */
.chat__branch {
  position: absolute; right: 0; bottom: clamp(6px, 3vh, 40px);
  width: 100%; max-width: 860px; height: auto;  /* ganzer Ast, kein Zuschnitt */
  z-index: 0;                                   /* hinter den Blasen */
  pointer-events: none;                         /* rechts verankert -> wächst vom Rand rein */
}

/* Offizielles Kalender-Event-Card in der letzten Coco-Blase */
.cal-card {
  display: flex; align-items: center; gap: 11px;
  margin-top: 12px; padding: 10px 12px;
  background: #fff; border: 1px solid rgba(74,52,42,.1);
  border-radius: 14px; box-shadow: 0 5px 16px rgba(74,52,42,.16);
  text-align: left;
}
.cal-card__logo { flex: none; display: block; }
.cal-card__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.cal-card__title { font-size: 13.5px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.cal-card__sub { font-size: 12px; font-weight: 600; color: rgba(74,52,42,.6); }
.cal-card__check { flex: none; margin-left: auto; display: block; }

/* ============================================================
   PHONE LAYOUT (≤ 720px)
   - Navbar collapses to a burger menu
   - Hero stacks: text on top, video as a block below
   ============================================================ */
@media (max-width: 720px) {
  /* ---- Navbar: volle Bar (statt schwebender Pille) ---- */
  .nav { top: 0; left: 0; right: 0; padding: 0; }
  .nav__inner {
    flex-wrap: nowrap; gap: 12px;
    max-width: none; border-radius: 0;
    border: none; border-bottom: 1px solid rgba(74,52,42,.12);
    background: #fff;
    box-shadow: 0 2px 14px rgba(74,52,42,.07);
    padding: 11px 18px;
  }
  .nav__burger { display: inline-flex; }

  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    margin-left: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(74,52,42,.12);
    border-radius: 0 0 18px 18px; padding: 12px 16px 16px;
    box-shadow: 0 16px 40px rgba(74,52,42,.16);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav.is-open .nav__burger-open { display: none; }
  .nav.is-open .nav__burger-close { display: inline; }

  .nav__link { font-size: 16px; padding: 12px 14px; border-radius: 12px; opacity: 1; }
  .nav__link:hover { background: rgba(74,52,42,.06); }
  .nav__cta { text-align: center; margin-top: 4px; }

  /* ---- Hero: video on top, fading down into the headline below ---- */
  .hero {
    flex-direction: column; align-items: stretch;
    min-height: 0;
    padding-top: 64px;           /* buendig an die volle Navbar-Bar anschliessen */
  }
  .hero__scrim { display: none; }
  .scroll-hint { display: none; }

  .hero__video, .hero__still {
    order: 1; position: static;
    width: 100%; height: auto; display: block;
    background: var(--bg);
    /* slow fade of the bottom edge into the cream behind → melts into headline */
    -webkit-mask-image: linear-gradient(to bottom, #000 42%, transparent 96%);
            mask-image: linear-gradient(to bottom, #000 42%, transparent 96%);
    margin-bottom: -7%;          /* pull the headline up into the faded zone */
  }

  .hero__inner {
    order: 2; display: block; position: static;
    padding: 0 22px 30px;
  }
  .hero__content { width: 100%; }

  /* Compact the copy so it fits the upper part of the screen */
  .hero__h1 { font-size: clamp(34px, 8.5vw, 46px); margin: 0 0 16px; }
  .hero__lead { font-size: 16px; margin: 0 0 22px; max-width: none; }
  .hero__actions { gap: 10px; margin-bottom: 12px; }
  .btn--hero-primary, .btn--ghost { font-size: 16px; padding: 14px 26px; }

  /* Chat-Scrub kompakter, damit alle 4 Blasen + Ast auf den Screen passen */
  .chat__pin { align-items: flex-start; padding: 76px 20px 12px; }
  .chat__lead { display: none; }
  .chat__nudge { display: none; }
  .chat__h2 { font-size: clamp(25px, 6vw, 34px); margin: 0 0 14px; line-height: 1.12; }
  .chat__thread { gap: 8px; }
  .bubble__body { font-size: 14px; padding: 10px 14px; line-height: 1.4; }
  .bubble__time { font-size: 11px; margin-top: 3px; }
  .chat__branch { right: auto; left: 50%; transform: translateX(-50%); max-width: none; width: 100%; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__content, .chat__nudge svg, .cta-soon::before { animation: none !important; }
  .flip-words { transition: none !important; }
}
