/* ==========================================================================
   favowe landing — light, precise, stripe-adjacent
   Self-contained: no external requests except local assets.
   ========================================================================== */

/* ---- Fonts (Manrope variable, self-hosted, OFL — see assets/fonts/OFL.txt) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('./assets/fonts/manrope-vf-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('./assets/fonts/manrope-vf-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --bg: #fbfbfd;
  --bg-tint: #f5f6fa;
  --ink: #171a2b;
  --body: #4c5266;
  --muted: #7c839b;
  --line: #e8eaf1;
  --card: #ffffff;
  --accent: #5a55d6;
  --accent-deep: #4a45c4;
  --violet: #8d7ef0;
  --blue: #6ba6f8;
  --teal: #53d3c4;
  --radius: 14px;
  --shell: 1120px;
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* Inline-Textlink im Fließtext (Store-Links der Erweiterung, 5.9.2026): das
   globale a{} ist bewusst unauffällig, weil Buttons und Karten ganze Links
   sind — mitten im Absatz braucht ein Link eine sichtbare Unterstreichung. */
.text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.text-link:hover { text-decoration-color: currentColor; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

/* ---- Typography --------------------------------------------------------- */
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 780; letter-spacing: -0.03em; }
h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.5rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.037em;
}
/* Hero-Headline pro Sprache kalibriert: die 2-Zeilen-Setzung (<br> im Markup)
   darf nie zusätzlich umbrechen — eine Einheitsgröße passt nicht für sechs
   verschieden lange Sprachen. EN = Basisgröße; die Rechtsseiten überschreiben
   .legal h1 weiter unten ohnehin. */
:lang(de) h1, :lang(tr) h1 { font-size: clamp(2.5rem, 5.7vw, 4rem); }
:lang(fr) h1 { font-size: clamp(2.5rem, 5.5vw, 3.8rem); }
:lang(es) h1 { font-size: clamp(2.4rem, 5.2vw, 3.7rem); }
:lang(pt) h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); }
h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  max-width: 21em;
}
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}
.lede {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.65;
  max-width: 34em;
  margin-top: 22px;
}
.section-lede { margin-top: 14px; max-width: 38em; color: var(--muted); }

/* ---- Buttons — small, precise ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 0.93rem;
  font-weight: 650;
  letter-spacing: -0.005em;
  line-height: 1;
  padding: 10px 17px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
  will-change: transform;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(23, 26, 43, .12), 0 6px 18px -8px rgba(90, 85, 214, .5);
}
.btn-solid:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(23,26,43,.12), 0 10px 24px -8px rgba(90,85,214,.55); }
.btn-solid:active { transform: translateY(0); }

/* Deaktiviert MUSS deaktiviert aussehen. Der Kündigungs-/Widerrufs-Knopf wird
   bewusst tot ausgeliefert und erst von legal-action.js scharf gestellt
   (Prüfung 3.8.2026, B6); ohne diese Regel sähe er dabei voll bedienbar aus,
   weil .btn-solid Farbe und Schatten fest setzt — der Kunde klickt dann in
   einen Knopf, der nichts tut, statt den Ersatzweg darunter zu lesen.
   Die :hover-Neutralisierung ist nötig, weil :hover auch auf deaktivierten
   Knöpfen matcht. Greift zusätzlich, solange eine Absendung läuft. */
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn:disabled:hover { transform: none; box-shadow: none; }
.btn-solid:disabled:hover { background: var(--accent); }

.btn-ghost { color: var(--ink); padding: 10px 12px; }
.btn-ghost:hover { color: var(--accent); }

.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.btn-lg { font-size: 1rem; padding: 13px 22px; border-radius: 12px; }
.btn-block { width: 100%; justify-content: center; }

.btn-arrow { color: var(--ink); font-weight: 650; padding: 13px 6px; }
.btn-arrow:hover { color: var(--accent); }

/* ---- Header ------------------------------------------------------------- */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(251, 251, 253, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-head.scrolled {
  background: rgba(251, 251, 253, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
/* Verlaufs-Hairline statt grauer Linie, sobald der Header scrolled/blurred ist */
.site-head::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(141, 126, 240, .5) 18%, rgba(107, 166, 248, .45) 50%, rgba(83, 211, 196, .5) 82%, transparent);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.site-head.scrolled::after { opacity: 1; }
.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
/* Wordmark = reine Typographie (wie die App: LoginPage-Wordmark, kein Bildzeichen) */
.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.28rem;
  letter-spacing: 2.5px;
  color: var(--ink);
}
.head-nav { display: none; gap: 26px; }
.head-nav a { position: relative; font-size: 0.93rem; font-weight: 600; color: var(--body); transition: color .18s ease; }
.head-nav a:hover { color: var(--ink); }
.head-nav a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -9px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  transform: translateX(-50%) scale(0);
  transition: transform .18s ease;
}
.head-nav a:hover::after { transform: translateX(-50%) scale(1); }
.head-actions { display: flex; align-items: center; gap: 8px; }
.head-actions .btn-ghost { display: none; }

@media (min-width: 760px) {
  .head-nav { display: flex; }
  .head-actions .btn-ghost { display: inline-flex; }
}

/* Sprach-Dropdown (details/summary — funktioniert auch ohne JS; main.js
   schließt zusätzlich bei Outside-Click/Escape) */
/* Auch auf Mobile sichtbar (13.7.): Auto-Erkennung fängt das meiste ab, aber
   ein deutsches Handy, das Englisch will, braucht den Schalter. Kompakt genug:
   390px-Viewport gemessen — Wortmarke 83 + Schalter 56 + CTA 161 + Ränder passt.
   Nur Uralt-Schmalgeräte (≤370px) brauchen die verdichtete Variante unten. */
.lang-menu { position: relative; display: block; }
@media (max-width: 370px) {
  .head-actions .btn { padding: 10px 12px; font-size: 0.88rem; }
  .lang-menu summary { padding: 10px 8px; }
}
.lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.93rem;
  font-weight: 650;
  letter-spacing: -0.005em;
  line-height: 1;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .15s ease;
}
.lang-menu[open] summary::after { transform: rotate(225deg) translateY(-1px); }
.lang-menu summary:hover { color: var(--accent); }
.lang-menu summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 164px;
  display: grid;
  padding: 6px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px -12px rgba(23, 26, 43, .28);
  z-index: 60;
}
.lang-list a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--body);
}
.lang-list a:hover { background: var(--bg-tint); color: var(--ink); }
.lang-list a[aria-current] { color: var(--ink); font-weight: 700; }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 128px 0 72px;
  overflow: hidden;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; }
.hero-copy { max-width: 560px; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 34px; }

.hero-stage { position: relative; min-height: 360px; }

.sphere-host {
  position: absolute;
  /* Canvas ragt allseitig über die Bühne hinaus — Icons am Kugelrand würden
     sonst an der Canvas-Kante abgeschnitten (die Kugel selbst bleibt gleich groß) */
  inset: -24px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.sphere-host.dragging { cursor: grabbing; }
.sphere-host canvas { opacity: 0; transition: opacity .9s ease; }
.sphere-host.live canvas { opacity: 1; }

@media (min-width: 900px) {
  .hero { padding: 168px 0 110px; }
  .hero-grid { grid-template-columns: 1fr 1.08fr; align-items: center; gap: 48px; }
  .hero-stage { min-height: 560px; }
  /* links passt -44px in den 48px-Grid-Gap; rechts nur -24px (Shell-Padding) —
     mehr würde bei schmalen Desktops über den Viewport hinausragen */
  .sphere-host { inset: -24px -24px -24px -44px; }
}

/* ---- Aurora — slow diagonal gradient drift ------------------------------ */
.aurora { position: absolute; inset: -12% -6%; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.blob-a {
  width: 62vw; height: 62vw; max-width: 900px; max-height: 900px;
  left: -14%; top: -22%;
  background: radial-gradient(closest-side, rgba(141, 126, 240, .30), rgba(141, 126, 240, 0) 72%);
  animation: drift-a 52s ease-in-out infinite alternate;
}
.blob-b {
  width: 56vw; height: 56vw; max-width: 820px; max-height: 820px;
  right: -12%; top: -8%;
  background: radial-gradient(closest-side, rgba(107, 166, 248, .26), rgba(107, 166, 248, 0) 72%);
  animation: drift-b 64s ease-in-out infinite alternate;
}
.blob-c {
  width: 48vw; height: 48vw; max-width: 700px; max-height: 700px;
  left: 28%; bottom: -34%;
  background: radial-gradient(closest-side, rgba(83, 211, 196, .22), rgba(83, 211, 196, 0) 72%);
  animation: drift-c 58s ease-in-out infinite alternate;
}
@keyframes drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(16vw, 12vh, 0) scale(1.14); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0) scale(1.08); } to { transform: translate3d(-14vw, 16vh, 0) scale(0.94); } }
@keyframes drift-c { from { transform: translate3d(0, 0, 0) scale(0.96); } to { transform: translate3d(10vw, -10vh, 0) scale(1.12); } }

/* ---- Sections ----------------------------------------------------------- */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-tint { background: var(--bg-tint); }

@media (min-width: 900px) { .section { padding: 120px 0; } }

/* ---- Feature showcase (3 Alleinstellungen, mymind-inspiriert: eine Zeile
       pro Feature, Text + abstraktes Diagramm im bestehenden Hairline-Look) -- */
.showcase { display: grid; gap: 64px; margin-top: 56px; }
.show-row { display: grid; gap: 26px; align-items: center; }
@media (min-width: 880px) {
  .showcase { gap: 88px; margin-top: 72px; }
  .show-row { grid-template-columns: 5fr 7fr; gap: 56px; }
  .show-row-flip { grid-template-columns: 7fr 5fr; }
  .show-row-flip .show-copy { order: 2; }
  .show-row-flip .diagram { order: 1; }
}
.show-copy h3 { margin-top: 20px; font-size: clamp(1.35rem, 2.6vw, 1.7rem); letter-spacing: -0.022em; }
.show-copy p { margin-top: 12px; max-width: 32em; }

.diagram {
  height: 216px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 26px 28px;
  overflow: hidden;
}

/* Feature-Bilder — echte Produkt-Shots (Komposition: Karte + Glow, Pipeline in
   dev/landing-feature-shots/). Bild-Hintergrund = Seiten-Weiß, die Karte im Bild
   bringt ihren eigenen Rahmen/Schatten mit → der .diagram-Rahmen entfällt hier.
   Natürliches Seitenverhältnis (kein Crop) — die Bildspalte ist dafür breiter
   als die Textspalte (7:5 im .show-row-Grid). */
.diagram-image { padding: 0; border: 0; background: transparent; height: auto; }
.diagram-image img { width: 100%; height: auto; display: block; }

/* ---- Features (Grid: die Basics unter dem Showcase) ----------------------- */
.grid-lede { margin-top: 96px; color: var(--muted); }
.feature-grid { display: grid; gap: 40px; margin-top: 52px; }
.grid-lede + .feature-grid { margin-top: 30px; }
@media (min-width: 680px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .feature { padding-right: 24px; }
}
@media (min-width: 1060px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 36px; }
}
.feature { border-top: 1px solid var(--line); padding-top: 28px; }
.glyph {
  /* --h pro Kachel im Markup gesetzt — gleiche Hue-Familie wie Sphäre/Board-Diagramm */
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: hsl(var(--h, 252) 56% 50%);
  background: hsl(var(--h, 252) 72% 58% / .13);
}
.glyph svg { width: 22px; height: 22px; }
.feature h3 { margin-top: 18px; }
.feature p { margin-top: 10px; font-size: 0.99rem; }

/* ---- Product video ------------------------------------------------------- */
/* Bricht bewusst aus der Shell aus (1120px): die 1080p-UI-Aufnahme braucht
   Fläche, sonst ist der Inhalt zu klein (Gründer 13.7.). Zentrierung über
   left:50% + negative Marge statt transform — .reveal animiert transform. */
.film-frame {
  --film-w: min(1320px, 100vw - 48px);
  position: relative;
  left: 50%;
  width: var(--film-w);
  max-width: none;
  margin: 48px 0 0 calc(var(--film-w) / -2);
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 10px;
  box-shadow:
    0 2px 8px rgba(23, 26, 43, .05),
    0 36px 70px -34px rgba(23, 26, 43, .28);
}
.film-frame video { width: 100%; border-radius: 12px; aspect-ratio: 16 / 9; background: #eef0f6; object-fit: cover; }
/* Vollbild: Android wendet Seiten-CSS auch im nativen Fullscreen an — cover
   schneidet auf 20:9-Handys oben+unten je ~10 % ab (Gründer-Foto 7.8.).
   contain zeigt das ganze Bild mit schwarzen Balken. Zwei getrennte Regeln:
   ein unbekanntes Pseudo in einer Selektor-Liste kippt sonst die ganze Regel. */
.film-frame video:fullscreen { object-fit: contain; border-radius: 0; background: #000; }
.film-frame video:-webkit-full-screen { object-fit: contain; border-radius: 0; background: #000; }
.play-button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px; height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(23, 26, 43, .35);
  transition: transform .18s ease, background-color .18s ease;
}
.play-button svg { width: 30px; height: 30px; margin-left: 3px; }
.play-button:hover { transform: scale(1.06); background: rgba(255, 255, 255, .9); }
.play-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* display:grid oben überstimmt sonst das hidden-Attribut — der Button bliebe
   nach dem Start dauerhaft sichtbar (Gründer-Bug 13.7.) */
.play-button[hidden] { display: none; }

/* ---- Mood clip ------------------------------------------------------------ */
.mood {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* 72vh statt 52vh seit dem 21:9-Glasscheiben-Clip (11.7.): die Scheibe ist ein
   ganzes Objekt und braucht die Höhe, sonst schneidet object-fit sie ab.
   Seit 7.8. als max-height-Kappung über aspect-ratio (1920×824 = Clip-Maße)
   statt fester Höhe: im Hochformat schnitt die feste Höhe ~70 % der Scheibe
   seitlich ab (Gründer-Foto) — jetzt folgt das Band dort dem Clip-Format,
   am Desktop greift weiter die Kappung wie bisher. */
/* width:100% ist PFLICHT neben aspect-ratio + max-height (8.8.): sobald die
   Kappung greift (ab ~1500px Fensterbreite), rechnet aspect-ratio sonst die
   BREITE mit herunter — das Band wurde schmaler als die Sektion, rechts blieb
   ein weisser Streifen (134px bei 1920px) und die Mood-Zeile stand daneben auf
   Weiss statt im Bild (Gruender-Screenshot). Mit fester Breite bestimmt
   aspect-ratio nur noch die Hoehe, max-height kappt sie, und object-fit:cover
   beschneidet den Clip oben/unten — genau das, was der Umbau vom 7.8. am
   Desktop wollte. Im Hochformat bleibt alles wie seit 7.8.: dort ist die
   errechnete Hoehe kleiner als die Kappung, es wird nichts beschnitten. */
/* Ultra-Wide-Deckel (28.8., Gründer-Screenshot 5120px): width:100% liess den
   1920px-Clip auf 2,67× hochskalieren, und die 760px-Kappung zeigte davon nur
   noch einen 35-%-Streifen — vergrösserte Link-Zeilen statt Glasscheibe.
   Deckel bei 2560px = die breiteste verbreitete Monitorklasse, dort sieht das
   Band schon heute live so aus (69 % des Clips sichtbar, 1,33×); darüber
   bleibt es zentriert stehen statt weiter aufzublasen, seitlich zeigt sich
   der Sektions-Hintergrund. Die Mood-Zeile rechnet ihren rechten Abstand über
   denselben Deckel, damit sie im Bild bleibt (Bugklasse 8.8.). */
.mood { --mood-max: 2560px; }
.mood-media { position: relative; width: 100%; max-width: var(--mood-max); margin-inline: auto; aspect-ratio: 1920 / 824; max-height: clamp(340px, 72vh, 760px); overflow: hidden; }
.mood-media img, .mood-media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.mood-line {
  position: absolute;
  /* rechts unten in der Spiegelungszone (21:9-Clip, 11.7.). Mobil sitzt die
     Zeile seit 8.8. tiefer (4px statt ~15px): das Band wird dort über
     max-height beschnitten, dadurch rückt der Fuß der Glasscheibe nach oben
     und die Zeile lag auf ihrer Unterkante statt in der Spiegelung darunter
     (Gründer-Screenshot). Ab 760px gilt wieder der bisherige Wert. */
  /* rechter Abstand = Seitenrand des gedeckelten Bands (0 bis 2560px Breite)
     + bisheriger Innenabstand — siehe Ultra-Wide-Deckel bei .mood-media. */
  inset: auto calc(max(0px, (100% - var(--mood-max)) / 2) + clamp(20px, 3.5vw, 64px)) 4px auto;
  display: grid;
  place-items: center;
  font-weight: 500;
  font-size: clamp(1rem, 3vw, 1.9rem); /* Untergrenze 1rem statt 1.25rem: auf dem flachen Mobile-Band wirkte 20px zu wuchtig (Gründer 7.8.) */
  letter-spacing: .12em; /* Wordmark-Proportion (2.5px @ 1.28rem), skaliert mit */
  color: rgba(255, 255, 255, .96);
  text-shadow: 0 1px 22px rgba(23, 26, 43, .30), 0 0 6px rgba(23, 26, 43, .18);
  pointer-events: none;
}
@media (min-width: 760px) { .mood-line { bottom: clamp(8px, 1.8vh, 18px); } }

/* ---- Pricing --------------------------------------------------------------- */
.price-grid { display: grid; gap: 24px; margin: 52px auto 0; max-width: 880px; }
@media (min-width: 780px) { .price-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* Monats/Jahres-Umschalter (13.7.) — lebt IN der Pro-Karte direkt über dem
   CTA (Gründer-Wunsch). margin-top:auto übernimmt das Ans-Ende-Schieben,
   der Button darunter bekommt deshalb festen Abstand statt auto. */
.bill-toggle {
  display: inline-flex;
  gap: 3px;
  align-self: center;
  margin-top: auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-tint);
}
.price-card-pro .btn-block { margin-top: 14px; }
.bill-toggle button {
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: -0.005em;
  line-height: 1;
  padding: 7px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.bill-toggle button:hover { color: var(--ink); }
.bill-toggle button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.bill-toggle button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bill-save { margin-left: 7px; font-size: 0.8em; font-weight: 700; opacity: .8; }

.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 32px 30px;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(23, 26, 43, .25); }

.price-card-pro {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, var(--violet), var(--blue) 50%, var(--teal)) border-box;
  box-shadow: 0 18px 44px -26px rgba(90, 85, 214, .4);
}
/* .plan-badge („empfohlen") entfernt 13.7. — bei nur zwei Plänen leere Geste,
   die Karte ist über den Verlaufs-Rahmen schon hervorgehoben (Gründer + Claude einig) */
.plan-name { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.06em; }
.plan-price { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; }
/* display:flex überstimmt sonst das hidden-Attribut (gleiche Falle wie beim
   Play-Button) — der Monats/Jahres-Umschalter hängt an [hidden] */
.plan-price[hidden] { display: none; }
.plan-price .amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.plan-price .per { font-size: 0.9rem; color: var(--muted); }
.plan-alt { margin-top: 6px; font-size: 0.85rem; color: var(--muted); }

.plan-list { list-style: none; margin: 26px 0 28px; padding: 0; display: grid; gap: 11px; align-content: start; }
.price-card .btn-block { margin-top: auto; }
.plan-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.96rem;
  line-height: 1.55;
}
.plan-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.plan-list strong { color: var(--ink); font-weight: 700; }
.plan-note { margin: 22px auto 0; max-width: 640px; text-align: center; font-size: 0.83rem; line-height: 1.6; color: var(--muted); }

.promises {
  list-style: none;
  justify-content: center;
  margin: 44px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
}
.promises li {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.promises li::before {
  content: '';
  width: 11px; height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-1px);
}

/* ---- Switching (Umzug in 3 Schritten) --------------------------------------- */
.switch-steps { list-style: none; margin: 52px 0 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 900px) { .switch-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.switch-steps li { border-top: 1px solid var(--line); padding-top: 26px; text-align: center; }
.step-num {
  /* --h pro Schritt im Markup — gleiche Hue-Familie wie die Feature-Glyphs */
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-inline: auto;
  font-size: 0.95rem;
  font-weight: 700;
  color: hsl(var(--h, 252) 56% 50%);
  background: hsl(var(--h, 252) 72% 58% / .13);
}
.switch-steps h3 { margin-top: 16px; }

/* ---- FAQ (eigene Footer-Spalte, bewusst unauffällig) -------------------------- */
.faq-list { margin: 2px 0 0; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--body);
}
.faq-list summary:hover { color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  flex: none;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform .18s ease;
}
.faq-list details[open] > summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 14px; font-size: 0.86rem; color: var(--muted); }
/* „more questions"-Aufklapper: hält die Footer-FAQ bei 5 sichtbaren Zeilen —
   die eingeklappten Fragen stehen voll im HTML (Crawler/Agenten lesen den
   Quelltext, nicht das Gerenderte). Das `>` im [open]-Selektor oben ist
   Pflicht: sonst rotieren beim Öffnen von „more" auch die +-Icons der noch
   geschlossenen Unterfragen. */
.faq-more > details { margin-left: 14px; }
.faq-more > details:last-child { border-bottom: none; }

/* ---- Closing CTA (Panel am Ende der Switching-Sektion) ------------------------ */
.closing-panel {
  position: relative;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 72px 28px;
  margin-top: 72px;
  overflow: hidden;
  background:
    radial-gradient(120% 160% at 12% -20%, rgba(141, 126, 240, .16), transparent 55%),
    radial-gradient(120% 160% at 88% -10%, rgba(107, 166, 248, .14), transparent 55%),
    radial-gradient(140% 160% at 50% 130%, rgba(83, 211, 196, .13), transparent 60%),
    var(--card);
}
.closing-panel h2 { margin: 0 auto; }
.closing-panel h2, .closing-panel .btn { position: relative; }
.closing-panel .btn { margin-top: 30px; }

/* Bookend zum Hero: dieselben Aurora-Blobs, klein und leiser, im Panel eingesperrt */
.aurora-closing { inset: 0; overflow: hidden; border-radius: inherit; }
.aurora-closing .blob-a { width: 540px; height: 540px; left: -10%; top: -70%; opacity: .5; }
.aurora-closing .blob-b { width: 480px; height: 480px; right: -8%; top: -40%; opacity: .5; }
.aurora-closing .blob-c { width: 440px; height: 440px; left: 36%; bottom: -80%; opacity: .45; }

/* ---- Footer ---------------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--line); padding: 56px 0 0; overflow: hidden; }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.5fr 0.8fr 0.8fr 1.9fr; } }
.foot-brand .wordmark { margin: 0; }
.foot-tag { margin-top: 6px; font-size: 0.9rem; color: var(--muted); letter-spacing: 0.04em; }
.foot-social { display: flex; gap: 16px; margin-top: 16px; }
.foot-social a { color: var(--muted); transition: color .18s ease; display: grid; place-items: center; }
.foot-social a:hover { color: var(--ink); }
.foot-social svg { width: 17px; height: 17px; fill: currentColor; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.foot-col a { font-size: 0.92rem; color: var(--body); transition: color .18s ease; width: fit-content; }
.foot-col a:hover { color: var(--ink); }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-base p { font-size: 0.84rem; color: var(--muted); }

/* ---- Footer-Finale: Riesen-Wordmark im Aurora-Schimmer (Brand-Schlussakkord,
       12.7. — halb angeschnitten am Seitenende, overflow clippt am .site-foot) --- */
.foot-finale { position: relative; height: clamp(80px, 12vw, 170px); margin-top: 10px; }
.finale-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.finale-glow-a { width: 46vw; height: 26vw; left: 4%; bottom: -14vw; background: radial-gradient(closest-side, rgba(141, 126, 240, .17), transparent 70%); }
.finale-glow-b { width: 44vw; height: 24vw; left: 30%; bottom: -12vw; background: radial-gradient(closest-side, rgba(107, 166, 248, .15), transparent 70%); }
.finale-glow-c { width: 44vw; height: 25vw; right: 2%; bottom: -13vw; background: radial-gradient(closest-side, rgba(83, 211, 196, .16), transparent 70%); }
.foot-finale span {
  position: absolute;
  left: 50%; bottom: -0.26em;
  transform: translateX(-50%);
  font-size: clamp(56px, 16.5vw, 248px); /* min klein genug für 360px-Phones — nowrap darf nie seitlich anschneiden */
  line-height: 1;
  font-weight: 500;
  letter-spacing: .1em;
  padding-left: .1em; /* gleicht das Trailing-Tracking aus — sonst optisch links */
  white-space: nowrap;
  background: linear-gradient(100deg, #e2dff4 0%, #dde6f6 48%, #d9efea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

/* ---- Legal pages (imprint / privacy) ---------------------------------------------- */
.legal-main { padding: 128px 0 88px; }
.legal-shell { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4.6vw, 2.8rem); letter-spacing: -0.03em; }
.legal-stand { margin-top: 12px; font-size: 0.88rem; color: var(--muted); }
.legal h2 { font-size: 1.3rem; max-width: none; margin-top: 52px; }
.legal h3 { margin-top: 30px; }
.legal p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal li::marker { color: var(--muted); }
.legal a { color: var(--accent); }
.legal a:hover { color: var(--accent-deep); }
.legal strong { color: var(--ink); font-weight: 700; }
.legal-note {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-tint);
  padding: 16px 20px;
  font-size: 0.94rem;
}
.legal-note p { margin-top: 0; }
.legal-todo {
  background: rgba(240, 180, 41, .18);
  border-radius: 6px;
  padding: 1px 7px;
}
.legal .table-scroll { margin-top: 18px; overflow-x: auto; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 560px;
}
.legal th, .legal td {
  text-align: left;
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal th { color: var(--ink); font-weight: 700; }
.foot-col a[aria-current] { color: var(--ink); font-weight: 650; }

/* ---- Scroll reveals ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---- Reduced motion ----------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .price-card, .play-button, .head-nav a::after { transition: none; }
}

/* PAngV-Hinweis an der Pro-Preiskarte (Rechts-Review A3): preisnah, dezent */
.plan-vat { font-size: .74rem; opacity: .7; margin-top: .45rem; letter-spacing: .01em; }

