/* ============================================================
   MenuTome — Landing-Page
   Gleiches Design-System wie die App: Verlauf Violett→Türkis als
   Signatur, Arbeits-/Leseflächen hell & ruhig, Fraunces (Display) +
   Public Sans (UI). Selbes Deko-Rezept (atmende Glüh-Cluster) wie in
   der App → App und Landing wirken als EINE Marke.
   Self-contained: nur diese Datei + assets/, kein Build-Schritt.
   ============================================================ */

:root {
  /* Signatur-Verlauf „Frisch" — identisch zur App (tokens.css); seit 18.08.2026 Farbweg 1, leiser (CEO-Entscheid Design-Remake) */
  --g1: #7a6ce8;
  --g2: #6f7ae0;
  --g3: #5f9fd6;
  --g4: #5fbfc2;
  --grad: linear-gradient(120deg, #7a6ce8 0%, #6f7ae0 38%, #5f9fd6 68%, #5fbfc2 100%);
  --grad-deep: linear-gradient(125deg, #5b4bd0 0%, #4a55c4 40%, #3a7cb0 70%, #3f9ea4 100%);

  --app-bg: #f7f6fc;
  --surface: #ffffff;
  --surface-alt: #fafbfc;
  --ink-panel: #15141f;

  --ink-1: #14161d;
  --ink-2: #4a4f5c;
  --ink-3: #878d9b;

  --line: #e7e9ee;
  --line-2: #eef0f4;

  --accent: #6d5ae6;
  --accent-ink: #5143aa;
  --accent-tint: rgba(109, 90, 230, 0.09);

  --ok: #16a34a;
  --focus: 0 0 0 3px rgba(109, 90, 230, 0.3);

  --maxw: 1180px;
  /* Weicher gestellt 2026-07-28 abends — gleiche Stufen wie die App
     (tokens.css: --r-card 20 / --r-btn 14), damit Website und App
     dieselbe Handschrift tragen. Vorher: 16 / 10. */
  --radius-card: 20px;
  --radius-ctrl: 14px;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  background: var(--app-bg);
  color: var(--ink-1);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Baloo 2', 'Nunito', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.tnum { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: none; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

section { position: relative; z-index: 1; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-ink);
}

.eyebrow.on-dark { color: rgba(255, 255, 255, 0.75); }

.lede { color: var(--ink-2); font-size: clamp(16px, 1.4vw, 18px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--radius-ctrl);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 160ms ease,
    border-color 160ms ease, color 160ms ease;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 18px rgba(74, 87, 222, 0.28);
}
.btn-primary:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 12px 28px rgba(74, 87, 222, 0.36); }

.btn-ghost { background: var(--surface); color: var(--ink-1); border-color: var(--line); }
.btn-ghost:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--accent-ink); }

/* Invertiert auf Verlauf/Foto-Bühne */
.btn-invert { background: #fff; color: var(--accent-ink); }
.btn-invert:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22); }

.btn-outline-light { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.2); }

/* Pulsierender Ring auf dem Haupt-Download-Button */
.btn.pulse { position: relative; }
.btn.pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(109, 40, 216, 0.5);
  animation: ctapulse 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes ctapulse {
  0% { box-shadow: 0 0 0 0 rgba(109, 40, 216, 0.45); }
  60% { box-shadow: 0 0 0 14px rgba(109, 40, 216, 0); }
  100% { box-shadow: 0 0 0 0 rgba(109, 40, 216, 0); }
}

/* ============================================================
   Hintergrund-Deko — fixe Ebene, exakt das App-Rezept: zwei atmende
   Glüh-Cluster (Violett oben-links → Türkis unten-rechts = Diagonale
   des Signatur-Verlaufs). Bleibt beim Scrollen stehen → immer Leben
   an den Rändern, ohne verstreut/abgeschnitten zu wirken.
   ============================================================ */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Brücken-Glühen — Mitte des Verlaufs (Blau) tief zwischen den beiden
   Eck-Clustern, füllt große Leerflächen; identisch zur App-Deko. */
.atmosphere::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 66%;
  width: 1100px;
  height: 620px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(46, 130, 210, 0.08) 0%, transparent 66%);
  filter: blur(44px);
  animation: breathc 12.5s ease-in-out infinite;
  animation-delay: -6s;
}
@keyframes breathc {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}

.atmosphere .zone { position: absolute; inset: 0; }

.atmosphere .zone-tl {
  -webkit-mask-image: radial-gradient(130% 130% at 0% 0%, #000 16%, transparent 62%);
  mask-image: radial-gradient(130% 130% at 0% 0%, #000 16%, transparent 62%);
}
.atmosphere .zone-br {
  -webkit-mask-image: radial-gradient(130% 130% at 100% 100%, #000 16%, transparent 62%);
  mask-image: radial-gradient(130% 130% at 100% 100%, #000 16%, transparent 62%);
}

.aura { position: absolute; border-radius: 50%; filter: blur(34px); }
.aura-tl {
  width: 620px; height: 620px; top: -180px; left: -170px;
  background: radial-gradient(circle, rgba(109, 40, 216, 0.2) 0%, transparent 70%);
  animation: breath 8.5s ease-in-out infinite;
}
.aura-br {
  width: 700px; height: 700px; bottom: -210px; right: -200px;
  background: radial-gradient(circle, rgba(21, 190, 192, 0.18) 0%, transparent 70%);
  animation: breath 11s ease-in-out infinite;
  animation-delay: -3.5s;
}
@keyframes breath {
  0%, 100% { transform: scale(1); opacity: 0.82; }
  50% { transform: scale(1.06); opacity: 1; }
}

.ring { position: absolute; border-radius: 50%; }
.ring-tl {
  width: 320px; height: 320px; top: -40px; left: 10px;
  border: 2px solid rgba(109, 40, 216, 0.18);
  animation: glow 7.5s ease-in-out infinite;
}
.ring-br {
  width: 170px; height: 170px; bottom: 70px; right: 60px;
  border: 2px solid rgba(21, 190, 192, 0.24);
  animation: glow 9.5s ease-in-out infinite;
  animation-delay: -2s;
}
@keyframes glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.dots {
  position: absolute; width: 210px; height: 210px;
  -webkit-mask-image: radial-gradient(circle, #000 24%, transparent 70%);
  mask-image: radial-gradient(circle, #000 24%, transparent 70%);
  background-size: 22px 22px;
}
.dots-tl {
  top: 160px; left: 120px;
  background-image: radial-gradient(rgba(109, 40, 216, 0.22) 1.5px, transparent 1.5px);
}
.dots-br {
  bottom: 150px; right: 130px;
  background-image: radial-gradient(rgba(21, 190, 192, 0.22) 1.5px, transparent 1.5px);
}

/* ---------- Beta-/Testphase-Banner (Pflicht bis zum finalen Go) ----------
   Schmaler, nicht blockierender Streifen: sticky-top, Info-Farbe (kein
   Alarm-Rot), schließbar (Zustand nur in localStorage, kein Cookie),
   role="status", Kontrast AA. */
.beta-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px clamp(14px, 3vw, 24px);
  background: #eef2fc;
  border-bottom: 1px solid #d6e0f5;
  color: #23529e;
  font-size: 13.5px;
  line-height: 1.45;
  text-align: center;
}

.beta-banner strong { font-weight: 700; }
.beta-banner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.beta-banner-close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.beta-banner-close:hover { background: rgba(35, 82, 158, 0.1); }
.beta-banner-close:focus-visible { outline: none; box-shadow: var(--focus); }

.beta-banner[hidden] { display: none; }

/* ---------- Kopf / Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 245, 248, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; }
/* Marke — CEO-Entscheid 2026-07-28 abends: rundes Zeichen + Schriftzug daneben.
   Die gefasste Pille (Fassung c) wirkte lang gezogen. Schriftzug in Fraunces,
   Gewicht und Laufweite wie die Überschriften. ⛔ Zeichen nie verzerren. */
/* Kopfzeile trägt das LABEL (CEO 2026-07-30: „der erste Kontakt mit dem
   Kunden") — eigene Kopf-Fassung mit vergrößerter, fetter Bogenschrift,
   bei 58 px lesbar. */
.brand-round { display: block; width: 58px; height: 58px; flex-shrink: 0; }
.brand-name { font-family: 'Baloo 2', 'Nunito', sans-serif; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink-1); }
.nav .btn { padding: 9px 16px; }

/* Sprachumschalter (CEO 2026-08-04). Bleibt auch auf dem Handy sichtbar —
   die Menülinks daneben verschwinden dort, die Sprachwahl darf das nicht:
   Sie ist der Ausweg aus der automatischen Weiche (lang.js). */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 22px;
  padding: 3px;
  border: 1px solid var(--line, rgba(20, 22, 40, 0.12));
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}
.lang-switch a {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  line-height: 1;
}
.lang-switch a:hover { color: var(--ink-1); background: rgba(20, 22, 40, 0.05); }
.lang-switch a[aria-current='true'] {
  color: #fff;
  background: linear-gradient(135deg, #6d28d8, #2e82d2 55%, #15bec0);
}
@media (max-width: 900px) {
  .lang-switch { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 90px) 0 clamp(40px, 6vw, 72px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); margin: 16px 0 18px; }
/* Akzentwort SOLIDE, nicht als Verlauf — Design-Mandat („keine
   Verlauf-Wörter in Headlines") + AA-Kontrast (#4a57de ≈ 5,2:1). */
.hero .accent-word { color: var(--g2); }
.hero p { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }

/* Hero-Buch: Foto-Cover mit Verlaufsschleier + Tilt beim Hover */
.hero-book-stage { perspective: 1500px; display: grid; place-items: center; }

/* ---------- Das Hero-Buch als echter 3D-Körper ----------
   Vorher war es eine flache Kachel mit einem gemalten Rücken. Damit liess sich
   nichts zeigen, was hinter der Vorderseite liegt. Jetzt sind es vier Flächen —
   Vorderseite, Buchrücken, Rückseite, Schnitt — und beim Überfahren dreht sich
   das Buch EINMAL langsam durch. Genau das ist unser Verkaufsargument: Wir
   bauen das ganze Cover, nicht nur ein Titelbild.
   --bw = Buchbreite, --bd = Rückenstärke. Alle Flächen rechnen daraus. */
.hero-book {
  --bw: min(340px, 78vw);
  --bd: 34px;
  position: relative;
  width: var(--bw);
  aspect-ratio: 3 / 4;
  transform-style: preserve-3d;
  transform: rotateY(-18deg) rotateX(6deg);
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.25, 1);
  cursor: pointer;
  outline: none;
}

.hero-book:hover,
.hero-book:focus-visible {
  transform: rotateY(-10deg) rotateX(3deg) translateY(-4px);
}

/* Eine volle Umdrehung, einmal. Als Animation statt als Übergang, damit sie
   auch dann zu Ende läuft, wenn der Zeiger unterwegs weggeht. */
.hero-book.dreht {
  animation: hb-drehung 7s cubic-bezier(0.45, 0, 0.55, 1) 1;
}

@keyframes hb-drehung {
  0%   { transform: rotateY(-18deg) rotateX(6deg); }
  100% { transform: rotateY(342deg) rotateX(6deg); }
}

.hb-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  border-radius: 3px;
}

.hb-front {
  transform: translateZ(calc(var(--bd) / 2));
  border-radius: 3px 12px 12px 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hb-back {
  transform: rotateY(180deg) translateZ(calc(var(--bd) / 2));
  border-radius: 12px 3px 3px 12px;
  background: linear-gradient(200deg, #3b2f6b, #171a2e);
  display: grid;
  align-items: end;
}

/* Seitenflächen: mittig gelegt, dann nach aussen gedreht und geschoben. */
.hb-spine,
.hb-edge {
  width: var(--bd);
  left: calc(var(--bw) / 2 - var(--bd) / 2);
  right: auto;
}

.hb-spine {
  transform: rotateY(-90deg) translateZ(calc(var(--bw) / 2));
  background: linear-gradient(90deg, #241d4d, #3a2f70 55%, #241d4d);
  display: grid;
  place-items: center;
}

.hb-spine-txt {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.9);
  max-height: 88%;
  overflow: hidden;
}

/* Der Schnitt: gestapelte Seiten, nicht einfach eine weisse Fläche. */
.hb-edge {
  transform: rotateY(90deg) translateZ(calc(var(--bw) / 2));
  background:
    repeating-linear-gradient(90deg, #efeae0 0 1px, #fdfbf6 1px 3px);
  box-shadow: inset 0 0 12px rgba(120, 110, 90, 0.35);
}

.hero-book img { width: 100%; height: 100%; object-fit: cover; }

.hb-back-txt {
  position: relative;
  z-index: 2;
  display: block;
  padding: 26px 22px 20px;
  color: rgba(255, 255, 255, 0.88);
}

.hb-blurb { display: block; font-size: 12.5px; line-height: 1.55; }

/* Die KDP-Barcode-Zone — sie gehört zum Beweis, dass hier druckfertig
   gearbeitet wird. */
.hb-barcode {
  display: block;
  margin-top: 16px;
  width: 62%;
  height: 46px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, #14161d 0 2px, #fff 2px 5px);
  opacity: 0.92;
}

.hero-book .scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(165deg, rgba(94, 32, 196, 0.32), rgba(18, 20, 40, 0.72));
}
.hero-book .cover-txt {
  position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 26px; color: #fff;
}
.hero-book .cover-eyebrow {
  display: block; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.78;
}
.hero-book .cover-title { display: block; font-family: 'Baloo 2', 'Nunito', sans-serif; font-size: 27px; margin-top: 6px; }
.hero-book .cover-author { display: block; font-size: 12.5px; opacity: 0.82; margin-top: 8px; }

.hero-book-hint {
  margin: 18px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .hero-book.dreht { animation: none; }
  .hero-book-hint { display: none; }
}

/* Vertrauens-Zeile */
.trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 34px; font-size: 14px; color: var(--ink-2);
}
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--g1); }
.trust .dot.g2 { background: var(--g3); }
.trust .dot.g3 { background: var(--g4); }

/* ---------- Sektions-Grundlagen ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 12px 0 14px; }

/* Drei Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 160ms ease;
}
.step:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 22, 40, 0.09); border-color: var(--line-2); }
.step-n {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--accent-tint); color: var(--accent-ink);
  font-family: 'Baloo 2', 'Nunito', sans-serif; font-weight: 600; font-size: 19px;
  margin-bottom: 16px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* Feature-Split (KI-Differenzierung) */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.feature-list { list-style: none; margin-top: 22px; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 13px; }
.feature-ic {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 15px;
}
.feature-list strong { display: block; font-size: 16.5px; }
.feature-list span { color: var(--ink-2); font-size: 14.5px; }
.feature-photo {
  border-radius: var(--radius-card); overflow: hidden; position: relative;
  box-shadow: 0 20px 50px rgba(20, 22, 40, 0.14);
  aspect-ratio: 4 / 3;
}
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-photo .tag {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(21, 20, 31, 0.72); color: #fff; backdrop-filter: blur(4px);
  padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600;
}

/* „Verkaufsfertig bis zum Buchrücken" — Verlaufs-Band mit Regler */
.publisher {
  background: var(--grad-deep);
  background-size: 180% 180%;
  animation: drift 16s ease-in-out infinite alternate;
  color: #fff;
  border-radius: 22px;
  padding: clamp(30px, 4vw, 52px);
  overflow: hidden;
  position: relative;
}
@keyframes drift { 0% { background-position: 0% 30%; } 100% { background-position: 100% 70%; } }
.publisher-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.publisher h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin: 12px 0 14px; }
.publisher p { color: rgba(255, 255, 255, 0.86); max-width: 34em; }
.metrics { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; }
.metric { min-width: 120px; }
.metric b { font-family: 'Baloo 2', 'Nunito', sans-serif; font-size: 25px; display: block; }
.metric span { font-size: 13px; color: rgba(255, 255, 255, 0.75); }

/* Aufgeklappter Cover-Bogen mit Rücken-Regler */
/* Verlag-Sektion: dasselbe 3D-Buch wie im Hero, kleiner — der Regler steuert
   die echte Rückenstärke (--bd) über script.js. */
.verlag-book-stage {
  perspective: 1200px;
  display: grid;
  place-items: center;
  padding: 10px 0 26px;
}

.verlag-book {
  --bw: min(230px, 58vw);
  --bd: 16px;
}

/* Plattform-Zeile unter den Download-Knöpfen: Windows jetzt, macOS/iOS folgen */
/* Fuß: das volle Signet als Marke — Bogen ist bei 104 px gut lesbar */
.brand-signet { display: inline-block; }
.brand-signet img { display: block; width: 104px; height: 104px; }

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 2px;
}

.pf {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: var(--surface);
}

.pf-ok { border-color: rgba(21, 190, 192, 0.55); color: #0d7c7e; background: rgba(21, 190, 192, 0.08); }

.pf-soon { color: var(--ink-3); border-style: dashed; }

.platforms-hell .pf { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); color: rgba(255, 255, 255, 0.85); }

.platforms-hell .pf-ok { background: rgba(21, 190, 192, 0.25); border-color: rgba(21, 190, 192, 0.7); color: #fff; }

/* Erklärvideo-Platzhalter: Marken-Fläche mit Play-Kreis. Wird beim Video-Einbau
   komplett durch das Embed ersetzt (Kommentar im HTML). */
/* Erklärvideo (21.08.2026). Erbt die Maße des früheren Platzhalters — 860 px
   und 16:9 —, damit der Abschnitt an derselben Stelle gleich groß bleibt.
   Der dunkle Grund darunter ist sichtbar, solange das Standbild lädt. */
.video-box {
  max-width: 860px;
  margin: 0 auto;
}

.video-box video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  background: linear-gradient(150deg, #1c2040, #171a2e);
  box-shadow: 0 18px 44px rgba(12, 10, 32, 0.28);
}

.video-cap {
  margin: 10px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

/* Platzhalter-Stile: bleiben, bis die zweite Videostelle (Buchfabrik-Seite)
   ebenfalls ein echtes Video hat. Nicht löschen, ohne dort nachzusehen. */
.video-ph {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 160% at 12% 0%, rgba(109, 40, 216, 0.55), transparent 55%),
    radial-gradient(130% 150% at 95% 100%, rgba(21, 190, 192, 0.5), transparent 55%),
    linear-gradient(150deg, #1c2040, #171a2e);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 22, 40, 0.22);
}

.video-ph-play {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}

.video-ph-play::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 22px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}

.video-ph-title { font-family: 'Baloo 2', 'Nunito', sans-serif; font-size: 22px; font-weight: 600; }

.video-ph-sub { font-size: 13.5px; color: rgba(255, 255, 255, 0.72); }

.spine-demo {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 24px;
}
.cover-sheet {
  display: flex; justify-content: center; align-items: stretch;
  height: 210px; margin-bottom: 22px;
}
.cover-sheet .panel {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  display: grid; place-items: center; text-align: center;
  color: var(--ink-2); font-size: 12px; padding: 8px;
}
.cover-sheet .back { width: 150px; border-radius: 4px 0 0 4px; }
.cover-sheet .spine {
  background: linear-gradient(180deg, #6d28d8, #15bec0);
  color: #fff; writing-mode: vertical-rl; text-orientation: mixed;
  font-size: 11px; letter-spacing: 0.1em; padding: 6px 0;
  transition: width 90ms linear;
  overflow: hidden; /* Text ragt bei minimaler Rückenbreite nicht heraus */
}
.cover-sheet .front {
  width: 150px; border-radius: 0 4px 4px 0; overflow: hidden; position: relative;
  padding: 0;
}
.cover-sheet .front img { width: 100%; height: 100%; object-fit: cover; }
.cover-sheet .front .mini-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(94, 32, 196, 0.25), rgba(18, 20, 40, 0.7));
}
.cover-sheet .front .mini-title {
  position: absolute; left: 10px; bottom: 12px; right: 10px;
  color: #fff; font-family: 'Baloo 2', 'Nunito', sans-serif; font-size: 15px; text-align: left;
}
.slider-row label { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.8); margin-bottom: 10px; }
.slider-row .readout { color: #fff; font-weight: 700; }
.slider-row input[type='range'] {
  width: 100%; accent-color: #15bec0; height: 4px;
}

/* Beispiel-Bücher (Foto-Cover) */
.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.book-card {
  border-radius: var(--radius-card); overflow: hidden; position: relative;
  aspect-ratio: 3 / 4;
  box-shadow: 0 16px 40px rgba(20, 22, 40, 0.16);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.book-card:hover { transform: translateY(-4px); box-shadow: 0 26px 56px rgba(20, 22, 40, 0.22); }
.book-card img { width: 100%; height: 100%; object-fit: cover; }
.book-card .scrim { position: absolute; inset: 0; background: linear-gradient(165deg, rgba(94, 32, 196, 0.22), rgba(18, 20, 40, 0.74)); }
.book-card .edge { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad); }
.book-card .txt { position: absolute; inset: auto 18px 22px; color: #fff; }
.book-card .cover-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.book-card .cover-title { font-family: 'Baloo 2', 'Nunito', sans-serif; font-size: 22px; margin-top: 6px; }
.book-card .cover-author { font-size: 12px; opacity: 0.82; margin-top: 6px; }

/* Abschluss-CTA über Foto */
.cta {
  position: relative; border-radius: 22px; overflow: hidden;
  text-align: center; color: #fff;
  padding: clamp(48px, 7vw, 84px) clamp(20px, 4vw, 40px);
}
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(94, 32, 196, 0.78), rgba(18, 20, 40, 0.82)); }
.cta .inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, 0.88); margin-bottom: 26px; }
.cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-panel); color: rgba(255, 255, 255, 0.7); padding: 54px 0 34px; margin-top: clamp(40px, 6vw, 80px); position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer .brand-name { color: #fff; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; font-family: 'Nunito', sans-serif; font-weight: 700; }
.footer a { display: block; color: rgba(255, 255, 255, 0.68); font-size: 14px; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer .muted { font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-top: 12px; max-width: 34em; }
.footer-bottom {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, 0.5);
}

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal-hero { padding: clamp(36px, 5vw, 60px) 0 8px; }
.legal-hero h1 { font-size: clamp(30px, 4vw, 44px); margin-top: 10px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; color: var(--ink-2); margin-bottom: 8px;
}
.back-link:hover { color: var(--accent-ink); }

.legal {
  max-width: 760px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 44px);
  margin: 24px 0 clamp(40px, 6vw, 72px);
}
.legal h2 { font-size: 22px; margin: 28px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 16.5px; margin: 18px 0 6px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.legal .addr { line-height: 1.5; }

/* ---------- Rechtsformulare: Kündigung (§ 312k BGB) + Widerruf (§ 356a BGB) ----------
   Anlass: Doc 34 §5 / Doc 66 — Pflicht-Strecken vor dem Verkaufsstart. Die Seiten
   müssen OHNE Login funktionieren; das Formular ist der gesetzliche Abgabeweg,
   nicht bloß Deko. Gleiche Handschrift wie der Rest (Tokens oben). */

/* Sichtbarer Entwurfs-Hinweis — wird erst nach anwaltlicher Freigabe entfernt (Doc 66). */
.draft-banner {
  max-width: 760px;
  margin: 24px 0 0;
  padding: 12px 18px;
  border: 1px solid #e5b74a;
  background: #fdf6e3;
  color: #7a5b12;
  border-radius: var(--radius-ctrl);
  font-size: 14.5px;
}

.legal-form { margin-top: 18px; }
.legal-form fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius-ctrl);
  padding: 16px 18px 18px;
  margin: 0 0 18px;
}
.legal-form legend {
  font-weight: 600;
  font-size: 15.5px;
  padding: 0 6px;
  color: var(--ink-1);
}
.legal-form label { display: block; font-size: 14.5px; font-weight: 600; margin: 12px 0 4px; }
.legal-form label .opt { font-weight: 400; color: var(--ink-3); }
.legal-form input[type='text'],
.legal-form input[type='email'],
.legal-form input[type='date'],
.legal-form textarea {
  width: 100%;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink-1);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.legal-form textarea { min-height: 84px; resize: vertical; }
.legal-form input:focus-visible,
.legal-form textarea:focus-visible,
.legal-form input[type='radio']:focus-visible { outline: none; box-shadow: var(--focus); }
.legal-form .radio-row { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; }
.legal-form .radio-row input[type='radio'] { margin-top: 5px; accent-color: var(--accent); }
.legal-form .radio-row label { margin: 0; font-weight: 400; color: var(--ink-2); }
.legal-form .radio-row label strong { color: var(--ink-1); }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.form-hint { font-size: 13.5px; color: var(--ink-3); }
.form-error {
  display: none;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid #d9822b;
  background: #fdf1e6;
  color: #8a4b0f;
  border-radius: var(--radius-ctrl);
  font-size: 14.5px;
}
.form-error.sichtbar { display: block; }

/* Honigtopf gegen Formular-Bots: für Menschen unsichtbar, Bots füllen es aus.
   display:none reicht nicht — manche Bots prüfen das; daher aus dem Sichtfeld schieben. */
.hp-feld { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }

/* Bestätigungsansicht nach dem Absenden: die abgegebene Erklärung mit Datum und
   Uhrzeit, speicher- und druckbar (§ 312k Abs. 2 S. 3 / § 356a — Pflicht). */
.form-done { display: none; }
.form-done.sichtbar { display: block; }
.receipt-box {
  border: 1px solid var(--line);
  background: var(--surface-alt);
  border-radius: var(--radius-ctrl);
  padding: 16px 18px;
  margin: 14px 0;
  font-size: 15px;
  white-space: pre-wrap;
  font-variant-numeric: tabular-nums;
}
.done-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ok);
  font-size: 16px;
}
.done-badge::before { content: '✓'; font-size: 18px; }

@media print {
  /* Beim Drucken der Bestätigung nur die Erklärung selbst aufs Papier */
  .atmosphere, .nav, .footer, .form-actions, .draft-banner, .legal-hero .back-link { display: none !important; }
  .legal { border: none; padding: 0; }
  body { background: #fff; }
}

/* ---------- Reveal beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-book-stage { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .publisher-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

/* ---------- Preise / Pläne ---------- */
/* Drei Stufen NEBENEINANDER (CEO 2026-07-30) — vorher 2 Spalten, Max rutschte
   allein in die zweite Reihe und sah wie ein Anhängsel aus. */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 980px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 22px 50px rgba(20, 22, 40, 0.1);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
}
.plan-name { font-size: 15px; font-weight: 700; color: var(--ink-1); letter-spacing: 0.01em; }
.plan-price { margin: 8px 0 2px; font-size: clamp(30px, 3.4vw, 38px); font-weight: 800; color: var(--ink-1); }
.plan-price span { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.plan-note { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 6px 0 22px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.plan-list .pl-ic { flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-ink); font-size: 12px; font-weight: 800; margin-top: 1px; }
.plan-list li.muted-row { color: var(--ink-3); }
.plan-list li.muted-row .pl-ic { background: var(--line-2); color: var(--ink-3); }
.plan .btn { margin-top: auto; width: 100%; justify-content: center; }
.plans-foot { text-align: center; color: var(--ink-3); font-size: 13px; margin-top: 22px; }
@media (max-width: 720px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; }
}

/* ---------- Bewegung aus (System-Einstellung) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Sprachen-Abschnitt (Sprachpaket, 2026-07-29) ----------
   Die Sprachnamen stehen in ihrer EIGENEN Schreibweise da — „Čeština",
   „Ελληνικά", „Українська". Das ist der Beweis in der Auslage: Wer die
   Zeichen auf der Seite sieht, glaubt, dass sie auch im Buch ankommen. */
.lang-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 26px auto 0;
  padding: 0;
  max-width: 900px;
}

.lang-chips li {
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(20, 22, 29, 0.08);
  box-shadow: 0 2px 10px rgba(20, 22, 29, 0.05);
  font-size: 15px;
  font-weight: 600;
  color: #14161d;
  white-space: nowrap;
}

.lang-note {
  margin: 22px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.6;
  color: #6b7280;
}

@media (max-width: 640px) {
  .lang-chips li { padding: 7px 14px; font-size: 13.5px; }
}
