/* ============================================================================
 * Contornia Landing — Stylesheet
 * Self-contained: keine externen Fonts, kein CDN, keine Webfont-Requests.
 * Systemschrift (SF Pro auf dem Mac) = passend zur nativen Mac-App + 0 KB.
 * ========================================================================== */

/* --- 1. Tokens ------------------------------------------------------------ */

:root {
  /* Marke — abgeleitet aus dem App-Icon (blauer Wireframe-Wuerfel,
     orange leuchtende Knoten). Blau = Produkt, Orange = Aktion. */
  --brand-blue: #2b7fd4;
  --brand-blue-bright: #4a9eff;
  --brand-orange: #f7941e;

  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1120px;
  --maxw-text: 68ch;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.2vw, 2.35rem);
  --step-4: clamp(2.1rem, 1.6rem + 2.6vw, 3.6rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Light (Default + explizites data-theme="light") */
:root,
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --text: #0f1720;
  --text-muted: #55636f;
  --border: #dbe3ec;
  --border-strong: #c2cedb;
  --border-input: #6b7785;   /* 4.56:1 auf Weiss — Grenze interaktiver Elemente, WCAG 1.4.11 */
  --accent: #0a5cc4;          /* Blau, AA-tauglich auf hell */
  --accent-contrast: #ffffff;
  --cta: #b45309;             /* Orange dunkel genug fuer AA auf hell */
  --cta-hover: #92400e;
  --cta-contrast: #ffffff;
  --good: #0f7a3d;
  --bad: #a8321f;
  --grid-line: rgba(43, 127, 212, 0.13);
  --glow: rgba(43, 127, 212, 0.16);
  --shadow: 0 1px 2px rgba(15, 23, 32, 0.06), 0 8px 24px rgba(15, 23, 32, 0.07);
  --shadow-lg: 0 2px 4px rgba(15, 23, 32, 0.06), 0 18px 48px rgba(15, 23, 32, 0.12);
}

/* Dark — Systempraeferenz ... */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0b0e14;
    --bg-alt: #0f141d;
    --surface: #141a24;
    --surface-2: #19212d;
    --text: #e7edf4;
    --text-muted: #93a1b3;
    --border: #232c3a;
    --border-strong: #33405280;
    --accent: #62aaff;
    --accent-contrast: #06121f;
    --cta: #f7941e;
    --cta-hover: #ffab3d;
    --cta-contrast: #1a1000;
    --good: #4ade80;
    --bad: #ff8a75;
    --grid-line: rgba(98, 170, 255, 0.09);
    --glow: rgba(74, 158, 255, 0.14);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.5), 0 18px 48px rgba(0, 0, 0, 0.55);
  }
}

/* ... und der manuelle Toggle muss in BEIDE Richtungen gewinnen. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0e14;
  --bg-alt: #0f141d;
  --surface: #141a24;
  --surface-2: #19212d;
  --text: #e7edf4;
  --text-muted: #93a1b3;
  --border: #232c3a;
  --border-strong: #33405280;
  --border-input: #6b7d91;   /* 4.57:1 auf --bg, 3.83:1 auf --surface-2 */
  --accent: #62aaff;
  --accent-contrast: #06121f;
  --cta: #f7941e;
  --cta-hover: #ffab3d;
  --cta-contrast: #1a1000;
  --good: #4ade80;
  --bad: #ff8a75;
  --grid-line: rgba(98, 170, 255, 0.09);
  --glow: rgba(74, 158, 255, 0.14);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.5), 0 18px 48px rgba(0, 0, 0, 0.55);
}

/* --- 2. Reset / Basis ----------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem; /* Sticky-Nav nicht ueber Ankerziele */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* Sicherheitsnetz, keine Ausrede */
  /* Deutsche Komposita ("Auftragsverarbeitungsvertrag") sprengen sonst auf
     320px die Zeile — overflow-x wuerde sie nur abschneiden statt umbrechen. */
  overflow-wrap: break-word;
}

/* Silbentrennung nur im Fliesstext der Rechtsseiten: dort stehen die langen
   Komposita, und ein flatternder Rand ist da schlimmer als Trennstriche. */
.legal p, .legal li, .legal address { hyphens: auto; }

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

/* MUSS nach der img/video/svg-Regel stehen: eine Author-Regel mit display:block
   schlaegt sonst das [hidden] des UA-Stylesheets, und `el.hidden = true` wird
   still zum No-Op (das Video blieb sichtbar, das Platzhalter-Badge klebte fest). */
[hidden] { display: none !important; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: var(--step-4); letter-spacing: -0.035em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: 0.2em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 650; color: var(--text); }
small { font-size: 0.8125rem; line-height: 1.5; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --- 3. Layout ------------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.lede { font-size: var(--step-1); color: var(--text-muted); max-width: var(--maxw-text); }
.muted { color: var(--text-muted); }

/* --- 4. Buttons ----------------------------------------------------------- */

.btn {
  --btn-bg: var(--cta);
  --btn-fg: var(--cta-contrast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.6em;
  min-height: 44px; /* Touch-Target */
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 640;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.15s var(--ease),
    box-shadow 0.15s var(--ease);
  box-shadow: var(--shadow);
}
.btn:hover { background: var(--cta-hover); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }
.btn-lg { font-size: var(--step-1); padding: 1em 1.9em; }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--border-input);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--accent); transform: none; box-shadow: none; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  color: var(--accent);
  font-weight: 560;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  padding-bottom: 1px;
}
.btn-link:hover { border-bottom-color: var(--accent); }

/* --- 5. Nav --------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.nav[data-scrolled="true"] { border-bottom-color: var(--border); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 60px;
  padding-block: 0.5rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 680;
  font-size: 1.0625rem;
  letter-spacing: -0.025em;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
}
.nav-logo img { width: 28px; height: 28px; border-radius: 6px; }

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 520;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.nav .btn { padding: 0.6em 1.1em; min-height: 38px; font-size: 0.9375rem; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }
.icon-btn svg { width: 17px; height: 17px; }
:root[data-theme="dark"] .icon-sun, .icon-moon { display: block; }
:root[data-theme="dark"] .icon-moon, .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}

.lang-switch {
  font-size: 0.8125rem;
  font-weight: 640;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.45em 0.7em;
  border: 1px solid var(--border);
  border-radius: 8px;
  white-space: nowrap;
}
.lang-switch:hover { color: var(--text); border-color: var(--border-strong); }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* Auf schmalen Screens passt "Founder-Platz sichern" nicht mehr neben Logo,
   Sprachwahl und Theme-Schalter — die Nav wuerde die ganze Seite horizontal
   aufreissen. Sichtbar wird dann nur der Preis; der zugaengliche Name bleibt
   ueber das visuell versteckte Langlabel vollstaendig. */
.nav-cta-short { display: none; }
@media (max-width: 560px) {
  .nav-cta-short { display: inline; }
  .nav-cta-long {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* --- 6. Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 9vw, 6rem) clamp(3rem, 7vw, 5rem);
  isolation: isolate;
}
/* Blueprint-Raster wie im CAD-Viewport */
.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 78%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30%; left: 50%;
  width: min(1000px, 120vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--glow) 0%, transparent 62%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-badges, .hero-cta { justify-content: center; }
  .hero-lede { margin-inline: auto; }
  .hero-art { order: -1; max-width: 260px; margin-inline: auto; }
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.32em 0.75em;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 560;
  color: var(--text-muted);
  white-space: nowrap;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cta); flex-shrink: 0; }

/* Hero-A/B/C: alle drei im DOM, genau eine sichtbar. display:none nimmt die
   inaktiven auch aus dem Accessibility-Tree — Screenreader lesen nur eine. */
.hero-variant { display: none; }
:root:not([data-hero]) .hero-variant[data-variant="A"],
:root[data-hero="A"] .hero-variant[data-variant="A"],
:root[data-hero="B"] .hero-variant[data-variant="B"],
:root[data-hero="D"] .hero-variant[data-variant="D"],
:root[data-hero="C"] .hero-variant[data-variant="C"] { display: block; }

.hero h1 { margin-bottom: 0.35em; }
.hero-sub {
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.9em;
}
.hero-lede { max-width: 60ch; margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.25rem; margin-bottom: 1.1rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 0.9em;
  font-size: 0.875rem;
  color: var(--text-muted);
}
@media (max-width: 900px) { .hero-trust { justify-content: center; } }
.hero-trust span { display: inline-flex; align-items: center; gap: 0.35em; }

/* Das Icon-PNG ist auf die Squircle-Silhouette freigestellt (transparenter
   Alpha-Kanal) — deshalb hier weder border-radius noch Blend-Mode: der weisse
   Hintergrund des Originals ist gar nicht mehr drin. */
.hero-art { position: relative; }
.hero-art img {
  width: 100%;
  filter: drop-shadow(0 24px 60px var(--glow));
}
/* Echter Viewport-Screenshot statt Icon: Rahmen wie ein Fenster, kein Glow-Ausschnitt. */
.hero-art .hero-shot {
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 18px 48px var(--glow));
}

/* --- 6b. Echte Bilder ---------------------------------------------------- */

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.shot { margin: 0; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.shot figcaption {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* --- 7. Getriebe-Demo ----------------------------------------------------- */

.demo-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.demo-frame video { width: 100%; height: 100%; object-fit: cover; }

.demo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 65%),
    var(--surface-2);
}
.demo-placeholder img { width: auto; max-width: 100%; max-height: 100%; }

/* Pause/Play fuer den Autoplay-Loop (WCAG 2.2.2). Eigener Button statt
   controls="true", damit der Player-Chrome den Hook nicht zukleistert. */
.media-btn {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--border-input);
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  cursor: pointer;
}
.media-btn:hover { background: var(--bg); }
.media-btn svg { width: 17px; height: 17px; }
.media-btn .icon-play { display: none; }
.media-btn[data-state="paused"] .icon-play { display: block; }
.media-btn[data-state="paused"] .icon-pause { display: none; }

.placeholder-tag {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.3em 0.7em;
  border: 1px dashed var(--cta);
  border-radius: 6px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  color: var(--cta);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.demo-caption { max-width: var(--maxw-text); margin-top: 1.75rem; }
.demo-caption p { margin-bottom: 1rem; }

/* --- 8. Wedge-Tabelle ----------------------------------------------------- */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.wedge-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 640px;
}
.wedge-table th, .wedge-table td {
  padding: 1.05rem 1.25rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.wedge-table thead th {
  background: var(--surface-2);
  font-size: 0.8125rem;
  font-weight: 680;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-strong);
}
.wedge-table tbody tr:last-child td { border-bottom: 0; }
.wedge-table td:first-child { color: var(--text-muted); }
.wedge-table td:last-child { border-left: 1px solid var(--border); }
.col-fusion { width: 50%; }
.col-contornia { width: 50%; color: var(--text); }
.mark { display: inline-block; margin-right: 0.4em; font-weight: 700; }
.mark-bad { color: var(--bad); }
.mark-good { color: var(--good); }

/* Auf Mobile: Tabelle → Kartenpaare, statt 640px Zwangs-Scroll. */
@media (max-width: 700px) {
  .table-scroll { border: 0; background: transparent; overflow: visible; }
  .wedge-table, .wedge-table tbody, .wedge-table tr, .wedge-table td { display: block; min-width: 0; }
  .wedge-table thead { display: none; }
  .wedge-table tr {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    margin-bottom: 0.9rem;
    overflow: hidden;
  }
  .wedge-table td { border-bottom: 0; padding: 1rem 1.1rem; }
  .wedge-table td:first-child { background: var(--surface-2); border-bottom: 1px solid var(--border); }
  .wedge-table td:last-child { border-left: 0; }
  .wedge-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
}

.closer {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--cta);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-2);
  font-size: var(--step-1);
  max-width: var(--maxw-text);
}
.closer p:last-child { margin-bottom: 0; }

/* --- 9. Features ---------------------------------------------------------- */

/* Bewusst 2x2 statt auto-fit: bei vier Kacheln mit je einem Absatz Text laesst
   auto-fit auf ueblichen Breiten 3+1 stehen — eine einzelne Kachel in der
   zweiten Reihe sieht aus wie ein Fehler. */
.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}
@media (min-width: 760px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  font-size: 1.25rem;
  line-height: 1;
}
.card p:last-child { margin-bottom: 0; color: var(--text-muted); }

/* --- 10. Preis ------------------------------------------------------------ */

.price-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 520px; }
.price-table th, .price-table td {
  padding: 0.95rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.price-table thead th {
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-strong);
}
.price-table tbody th { font-weight: 560; color: var(--text-muted); }
.price-table .col-founder {
  background: color-mix(in srgb, var(--cta) 8%, transparent);
  border-inline: 1px solid color-mix(in srgb, var(--cta) 30%, transparent);
  font-weight: 560;
  color: var(--text);
}
.price-table tbody tr:last-child td, .price-table tbody tr:last-child th { border-bottom: 0; }
.price-big { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.03em; }
.price-strike { text-decoration: line-through; color: var(--text-muted); }
.yes { color: var(--good); font-weight: 700; }
.no { color: var(--text-muted); }

.fineprint {
  margin-top: 1.75rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  max-width: var(--maxw-text);
}
.fineprint ul { margin: 0; padding-left: 1.15em; }
.fineprint li { margin-bottom: 0.7em; color: var(--text-muted); font-size: 0.9375rem; }
.fineprint li:last-child { margin-bottom: 0; }

@media (max-width: 620px) {
  .price-table { min-width: 0; font-size: 0.875rem; }
  .price-table th, .price-table td { padding: 0.75rem 0.7rem; }
}

/* --- 11. Deposit-CTA ------------------------------------------------------ */

.deposit-card {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: start;
  padding: clamp(1.6rem, 4vw, 2.75rem);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 820px) { .deposit-card { grid-template-columns: 1fr; } }

.perks { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.perks li {
  display: flex;
  gap: 0.75em;
  align-items: flex-start;
  padding: 0.6em 0;
  border-bottom: 1px solid var(--border);
}
.perks li:last-child { border-bottom: 0; }
.perks .perk-icon { flex-shrink: 0; font-size: 1.05rem; line-height: 1.5; }

.roadmap-note {
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-2);
  font-size: 0.9375rem;
}
.roadmap-note p:last-child { margin-bottom: 0; }

.pay-note {
  margin-top: 0.9rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

/* Sichtbar, solange kein echter Payment-Link konfiguriert ist. */
.placeholder-warn {
  display: flex;
  gap: 0.75em;
  margin-bottom: 1.25rem;
  padding: 0.9rem 1.1rem;
  border: 1px dashed var(--cta);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--cta) 9%, transparent);
  color: var(--text);
  font-size: 0.875rem;
}
.placeholder-warn code { font-family: var(--font-mono); font-size: 0.9em; }

.email-box {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.email-form { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.email-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.8em 1em;
  min-height: 44px;
  border: 1px solid var(--border-input);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.email-form input::placeholder { color: var(--text-muted); }
.email-form input:focus-visible { border-color: var(--accent); }
.form-status { margin: 0.75rem 0 0; font-size: 0.875rem; }
/* Kein display:none im Leerzustand: eine aria-live-Region, die erst beim
   Befuellen eingeblendet wird, sagt die erste Meldung oft gar nicht an. */
.form-status:empty { margin: 0; }
.form-status[data-state="ok"] { color: var(--good); }
.form-status[data-state="err"] { color: var(--bad); }

/* --- 11b. Einwand-Poll ------------------------------------------------- */

.objection-box { margin-top: 1.25rem; font-size: 0.9375rem; }
.objection-box > p { margin-bottom: 0.6rem; }
.objection-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font: inherit;
  font-size: 0.875rem;
  padding: 0.45em 0.95em;
  border: 1px solid var(--border-input);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.chip:hover { border-color: var(--accent); background: var(--surface-2); }
.chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 15%, transparent);
}
.chip:disabled { cursor: default; opacity: 0.65; }
.chip[aria-pressed="true"]:disabled { opacity: 1; }

/* --- 12. FAQ -------------------------------------------------------------- */

.faq { max-width: 800px; margin-top: 2.5rem; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  min-height: 44px;
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 9px; height: 9px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:hover { background: var(--surface-2); }
.faq .faq-body { padding: 0 1.4rem 1.35rem; color: var(--text-muted); max-width: var(--maxw-text); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* --- 13. Footer ----------------------------------------------------------- */

.footer {
  padding-block: 3rem 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-bottom: 1rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-claim { max-width: 46ch; margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem; font-weight: 650; color: var(--text); }
.footer-brand img { width: 24px; height: 24px; border-radius: 5px; }

/* --- 14. Rechtstexte (Unterseiten) ---------------------------------------- */

.legal { max-width: var(--maxw-text); padding-block: 3rem 5rem; }
.legal h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.legal h3 { margin-top: 1.75rem; }
.legal address { font-style: normal; }

.todo-banner {
  display: flex;
  gap: 0.85em;
  padding: 1.1rem 1.3rem;
  margin-bottom: 2.5rem;
  border: 1px dashed var(--cta);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--cta) 9%, transparent);
  font-size: 0.9375rem;
}
.todo-banner p:last-child { margin-bottom: 0; }

/* Unausgefuellte Platzhalter im Rechtstext sollen ANSPRINGEN.
   Kein white-space: nowrap — manche Platzhalter sind ganze Saetze und wuerden
   die Seite sonst horizontal aufreissen. */
.ph {
  padding: 0.1em 0.4em;
  border-radius: 4px;
  background: color-mix(in srgb, var(--cta) 22%, transparent);
  font-family: var(--font-mono);
  font-size: 0.85em;
  font-weight: 600;
  color: var(--text);
  overflow-wrap: anywhere;
}

/* --- 15. Print ------------------------------------------------------------ */

@media print {
  .nav, .hero::before, .hero::after, .demo-frame, .email-box { display: none !important; }
  body { background: #fff; color: #000; }
  .faq details { break-inside: avoid; }
  .faq .faq-body { display: block !important; }
}
