/* ==========================================================================
   QORA · Startseite
   Statisches CSS, 1:1 aus dem Claude-Design-Quellcode ueberfuehrt.
   Werte (Farben, Abstaende, Radien, Schatten) sind exakt aus template.html,
   RetroTV.dc.html, Kopfzeile.dc.html und Fusszeile.dc.html uebernommen.
   ========================================================================== */

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --bg: #141414;
  --panel: #1F1F1F;
  --panel-2: #2D2D2D;
  --border: #2D2D2D;
  --text: #fff;
  --text-muted: #BCBCBC;
  --text-dim: #808080;
  --akzent: #E8A33D;
  --akzent-hover: #f2bd6c;
  --schatten: 0 8px 24px rgba(0, 0, 0, 0.7);
  --pad-seite: clamp(20px, 5vw, 90px);
  --pad-seite-breit: clamp(20px, 5vw, 64px);
  --breite-inhalt: 1320px;
  --breite-kopf: 1440px;
}

/* ---- Schrift: Inter, selbst gehostet (variabel, 400 bis 800) --------------*/
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/Inter-Variable.woff2") format("woff2-variations"), url("../fonts/Inter-Variable.woff2") format("woff2");
}

/* ---- Reset / Grundlagen ---------------------------------------------------*/
* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-padding-top: 90px;
}
@media all {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--akzent); }
a:hover { color: var(--akzent-hover); }

:focus-visible {
  outline: 3px solid var(--akzent);
  outline-offset: 3px;
  border-radius: 6px;
}

summary::-webkit-details-marker { display: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Grundlayout-Container, den jede Sektion nutzt */
.abschnitt {
  max-width: var(--breite-inhalt);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 120px) var(--pad-seite);
}
.abschnitt__kopf {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.abschnitt__kicker {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.abschnitt__titel {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* ==========================================================================
   Kopfzeile
   ========================================================================== */
.kopfzeile {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transform: translateY(0);
  transition: transform 250ms ease-out;
}
.kopfzeile.ist-kompakt { transform: translateY(-8px); }

.kopfzeile__hintergrund {
  position: absolute;
  inset: 0;
  background: var(--bg);
  box-shadow: var(--schatten);
  opacity: 0;
  transition: opacity 250ms ease-out;
  pointer-events: none;
}
.kopfzeile.ist-kompakt .kopfzeile__hintergrund,
.kopfzeile.ist-offen .kopfzeile__hintergrund { opacity: 1; }

.kopfzeile__reihe {
  position: relative;
  max-width: var(--breite-kopf);
  margin: 0 auto;
  padding: 20px var(--pad-seite-breit) 14px;
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 44px;
}

.kopfzeile__logo {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.kopfzeile__logo img { height: 26px; width: auto; }

.hauptnav {
  display: flex;
  gap: 4px;
  flex: 1;
}
.hauptnav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 8px;
}
.hauptnav a:hover, .hauptnav a:focus-visible { color: var(--text); }

.knopf-download {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--akzent);
  color: var(--bg);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}
.knopf-download:hover { color: var(--bg); background: var(--akzent-hover); }
.knopf-download[aria-disabled="true"] {
  cursor: not-allowed;
  background: var(--panel-2);
  color: var(--text-muted);
}
.knopf-download[aria-disabled="true"]:hover { background: var(--panel-2); color: var(--text-muted); }

.kopfzeile__menuknopf {
  display: none;
  margin-left: auto;
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border-radius: 10px;
  border: 0;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.mobilmenue {
  position: relative;
  display: none;
  flex-direction: column;
  padding: 8px var(--pad-seite-breit) 24px;
  background: var(--bg);
  box-shadow: var(--schatten);
}
.kopfzeile.ist-offen .mobilmenue { display: flex; }
.mobilmenue a {
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--panel);
}
.mobilmenue a:last-of-type { border-bottom: 0; }
.mobilmenue .knopf-download {
  margin-top: 16px;
  justify-content: center;
  min-height: 48px;
}

@media (max-width: 1179px) {
  .hauptnav, .kopfzeile__reihe > .knopf-download { display: none; }
  .kopfzeile__menuknopf { display: inline-flex; align-items: center; justify-content: center; }
}

/* ==========================================================================
   Fernbedienungs-Ebene (schwebt vor allem Inhalt, folgt der Fernbedienung)
   ========================================================================== */
.fernbedienung-ebene {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.fernbedienung-ebene svg.spur-svg {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: visible;
}
.fernbedienung-spur {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.5;
}
.fernbedienung {
  position: absolute;
  left: 0; top: 0;
  width: 52px; height: 148px;
  transform: translate(-300px, -300px);
  will-change: transform;
}
.fernbedienung svg { width: 100%; height: 100%; overflow: visible; }

@media not all { /* Bewegung immer voll (Dommes Vorgabe 25.09.2026) */
  .fernbedienung-ebene { display: none; }
}

/* ==========================================================================
   RetroTV
   ========================================================================== */
.retro-tv {
  position: relative;
  width: 100%;
  display: block;
}
.retro-tv[data-geraet="tv"] { aspect-ratio: 400 / 350; }
.retro-tv[data-geraet="tablet"] { aspect-ratio: 400 / 330; }
.retro-tv[data-geraet="handy"] { aspect-ratio: 200 / 412; }

.retro-tv__body { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.retro-tv__antenne, .retro-tv__knopf { transform-box: fill-box; transform-origin: center; }

.retro-tv__bildschirm {
  position: absolute;
  overflow: hidden;
  background: #0b0b0b;
  container-type: inline-size;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.7);
}
.retro-tv[data-geraet="tv"] .retro-tv__bildschirm { left: 8.5%; top: 24%; width: 72%; height: 46.2857%; border-radius: 11% / 20%; }
.retro-tv[data-geraet="tablet"] .retro-tv__bildschirm { left: 8.5%; top: 12.1212%; width: 75%; height: 68.1818%; border-radius: 7.3% / 9.8%; }
.retro-tv[data-geraet="handy"] .retro-tv__bildschirm { left: 13%; top: 9.7087%; width: 74%; height: 77.83%; border-radius: 10.8% / 5%; }

.retro-tv__bild {
  position: absolute;
  inset: 0;
  transform-origin: center;
}
.retro-tv__foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Nicht display:none: Lazy-Bilder ohne Layout laedt der Browser nie. */
  opacity: 0;
}
.retro-tv__bild.hat-bild .retro-tv__foto { opacity: 1; }
.retro-tv__bild.hat-bild .retro-tv__platzhalter { display: none; }

.retro-tv__platzhalter {
  position: absolute;
  inset: 0;
  background: var(--panel) repeating-linear-gradient(135deg, rgba(255,255,255,0.028) 0 2px, transparent 2px 11px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9%;
}
.retro-tv__platzhalter::before {
  content: "";
  position: absolute;
  inset: 5%;
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 10px;
}
.retro-tv__platzhalter-text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}
.retro-tv__platzhalter-zeile1 {
  font-family: ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: clamp(9px, 3.5cqw, 14px);
  line-height: 1.4;
  color: var(--text-muted);
  text-wrap: pretty;
}
.retro-tv__platzhalter-zeile2 {
  font-family: ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: clamp(8px, 2.6cqw, 11px);
  color: var(--text-dim);
}

.retro-tv__scanlines {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.22) 0 1px, transparent 1px 3px);
  opacity: 0.35;
}
.retro-tv__glanz {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(155deg, rgba(255,255,255,0.11) 0%, rgba(255,255,255,0.035) 28%, rgba(255,255,255,0) 44%);
  box-shadow: inset 0 0 36px rgba(0,0,0,0.65);
}
.retro-tv__rauschen {
  position: absolute; inset: -10%; pointer-events: none; opacity: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}
.retro-tv__linie {
  position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px;
  background: #fff; opacity: 0; pointer-events: none;
}
.retro-tv__punkt {
  position: absolute; left: calc(50% - 3px); top: calc(50% - 3px); width: 6px; height: 6px;
  border-radius: 50%; background: #fff; opacity: 0; pointer-events: none;
}

/* Ueberlagerte Wiedergabe-Anzeige (Sync-Sektion) */
.geraet-overlay {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}
.retro-tv[data-geraet="tv"] + .geraet-overlay { left: 8.5%; top: 24%; width: 72%; height: 46.2857%; border-radius: 11% / 20%; }
.retro-tv[data-geraet="tablet"] + .geraet-overlay { left: 8.5%; top: 12.1212%; width: 75%; height: 68.1818%; border-radius: 7.3% / 9.8%; }
.retro-tv[data-geraet="handy"] + .geraet-overlay { left: 13%; top: 9.7087%; width: 74%; height: 77.83%; border-radius: 10.8% / 5%; }
.geraet-overlay__innen {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12% 6% 6%;
  background: linear-gradient(0deg, rgba(20,20,20,0.96), rgba(20,20,20,0));
  display: flex; flex-direction: column; gap: 7px;
}
.retro-tv[data-geraet="tablet"] + .geraet-overlay .geraet-overlay__innen { padding: 14% 7% 7%; }
.retro-tv[data-geraet="handy"] + .geraet-overlay .geraet-overlay__innen { padding: 30% 9% 10%; flex-direction: column; gap: 2px; }
.geraet-overlay__zeile {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px;
}
.retro-tv[data-geraet="tablet"] + .geraet-overlay .geraet-overlay__zeile { font-size: 12px; }
.retro-tv[data-geraet="handy"] + .geraet-overlay .geraet-overlay__zeile { font-size: 11px; flex-direction: column; align-items: flex-start; }
.geraet-overlay__label { color: var(--text-muted); white-space: nowrap; }
.geraet-overlay__zeit { font-variant-numeric: tabular-nums; white-space: nowrap; }
.geraet-overlay__zeit b { color: #fff; font-weight: 600; }
.geraet-overlay__zeit span { color: var(--text-dim); }
.geraet-overlay__balken {
  height: 4px; background: rgba(255,255,255,0.22); border-radius: 2px; overflow: hidden;
}
.retro-tv[data-geraet="handy"] + .geraet-overlay .geraet-overlay__balken { height: 3px; }
.geraet-overlay__fuellung {
  height: 100%; background: var(--akzent); transform-origin: left center; transform: scaleX(0);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  padding-top: clamp(120px, 14vw, 170px);
  padding-bottom: clamp(64px, 8vw, 120px);
}
.hero__text {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 600px;
}
.hero__titel {
  font-size: clamp(44px, 6.2vw, 86px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__geraete-zeile {
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center;
  font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted);
}
.hero__geraete-zeile .dim { color: var(--text-dim); letter-spacing: 0.08em; }
.hero__lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}
.hero__hinweis {
  font-size: 17px; line-height: 1.55; color: #fff;
  padding: 16px 18px; background: var(--panel); border-radius: 12px;
  text-wrap: pretty;
}
.hero__hinweis strong { font-weight: 600; }
.hero__hinweis span { color: var(--text-muted); }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }

.knopf-primaer {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px;
  border-radius: 12px; background: var(--akzent); color: var(--bg);
  font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: var(--schatten);
  border: 0; cursor: pointer;
}
.knopf-primaer[aria-disabled="true"] { cursor: not-allowed; opacity: 0.6; }
.knopf-sekundaer {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px;
  border-radius: 12px; background: var(--panel); color: #fff;
  font-weight: 600; font-size: 17px; text-decoration: none;
}
.knopf-sekundaer:hover { background: var(--panel-2); color: #fff; }

.hero__bild { flex: 1 1 480px; max-width: 720px; margin: 0 auto; }

/* ==========================================================================
   Geraete / Sync
   ========================================================================== */
.geraete__kopf {
  display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.geraete__kopf-text { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.geraete__intro { flex: 1 1 360px; max-width: 520px; font-size: 18px; line-height: 1.55; color: var(--text-muted); text-wrap: pretty; }

.sync-reihe {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center;
  gap: clamp(24px, 4vw, 56px);
}
.sync-geraet { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.sync-geraet--tv { flex: 1 1 440px; max-width: 600px; }
.sync-geraet--tablet { flex: 1 1 260px; max-width: 360px; }
.sync-geraet--handy { flex: 0 1 170px; min-width: 140px; }
.sync-geraet__rahmen { position: relative; }
.sync-geraet figcaption { color: var(--text-dim); font-size: 14px; text-align: center; }

.sync-pille {
  position: absolute; left: 0; top: 0; opacity: 0;
  padding: 8px 14px; border-radius: 999px; background: var(--akzent); color: var(--bg);
  font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums;
  box-shadow: var(--schatten); pointer-events: none; z-index: 3;
}
.sync-status {
  margin-top: 36px; text-align: center; color: var(--text-muted); font-size: 16px;
  opacity: 0; transition: opacity 300ms ease-out;
}

/* ==========================================================================
   Funktionen / Horizontale Galerie
   ========================================================================== */
.galerie-abschnitt { position: relative; }
.galerie-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(28px, 4vh, 48px); padding: clamp(56px, 8vw, 96px) 0;
}
.galerie-sticky__kopf {
  max-width: var(--breite-inhalt); width: 100%; box-sizing: border-box; margin: 0 auto;
  padding: 0 var(--pad-seite);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px;
}
.galerie-fortschritt { display: flex; align-items: center; gap: 18px; min-width: 240px; }
.galerie-fortschritt__spur { width: 180px; height: 3px; background: var(--panel-2); border-radius: 2px; overflow: hidden; }
.galerie-fortschritt__fuellung { height: 100%; background: var(--akzent); transform-origin: left center; transform: scaleX(0.125); }
.galerie-fortschritt__zaehler { font-variant-numeric: tabular-nums; font-size: 16px; color: #fff; letter-spacing: 0.04em; }

.galerie-horizontal {
  display: flex; align-items: flex-start; gap: 48px; width: max-content;
  padding: 0 max(clamp(20px, 5vw, 90px), calc((100vw - 1320px) / 2 + 90px));
  will-change: transform;
}
.galerie-karte {
  flex: none; width: clamp(340px, min(34vw, 58vh), 520px);
  display: flex; flex-direction: column; gap: 24px;
}
.galerie-karte__text { display: flex; flex-direction: column; gap: 8px; padding: 0 6%; }
.galerie-karte__nr { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--text-dim); }
.galerie-karte__titel { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.01em; }
.galerie-karte__satz { font-size: 17px; line-height: 1.5; color: var(--text-muted); text-wrap: pretty; }

@media (max-width: 1023px) {
  .galerie-abschnitt { height: auto !important; }
  .galerie-sticky { position: relative; height: auto; }
  .galerie-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 48px 32px;
    max-width: var(--breite-inhalt);
    margin: 0 auto;
    padding: 0 var(--pad-seite);
    width: 100%;
  }
}
/* Zwischenstufe Touch/Tablet: horizontales Scroll-Snap statt sticky-Fahrt */
@media (min-width: 1024px) and (pointer: coarse) {
  .galerie-sticky { position: relative; height: auto; }
  .galerie-horizontal {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 0 var(--pad-seite) 12px; scroll-padding-left: var(--pad-seite);
    scrollbar-width: none; width: 100%;
  }
  .galerie-horizontal::-webkit-scrollbar { display: none; }
  .galerie-karte { width: min(82vw, 440px); scroll-snap-align: start; gap: 20px; }
}

/* ==========================================================================
   Familie
   ========================================================================== */
.familie {
  display: flex; flex-wrap: wrap-reverse; align-items: center; gap: clamp(40px, 6vw, 96px);
}
.familie__bild { flex: 1 1 420px; max-width: 620px; }
.familie__text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 28px; max-width: 520px; }
.familie__kopf { display: flex; flex-direction: column; gap: 14px; }
.familie__lead { font-size: 18px; line-height: 1.55; color: var(--text-muted); text-wrap: pretty; }
.familie__liste { list-style: none; display: flex; flex-direction: column; }
.familie__liste li {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-top: 1px solid var(--border);
}
.familie__liste li:last-child { border-bottom: 1px solid var(--border); }
.familie__liste .stark { font-size: 20px; font-weight: 600; }
.familie__liste .klein { font-size: 16px; line-height: 1.5; color: var(--text-muted); }
.familie__fussnote { font-size: 14px; color: var(--text-dim); }

/* ==========================================================================
   So geht's / Schritte
   ========================================================================== */
.schritte {
  position: relative; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px 48px;
}
.schritte__linie-grund, .schritte__linie {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
}
.schritte__linie-grund { background: var(--panel-2); }
.schritte__linie { background: var(--akzent); transform-origin: left top; }
.schritt { position: relative; display: flex; flex-direction: column; gap: 14px; }
.schritt__ziffer {
  width: 56px; height: 56px; border-radius: 50%; background: var(--panel);
  box-shadow: 0 0 0 8px var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--akzent);
}
.schritt__titel { font-size: 24px; font-weight: 600; margin-top: 10px; }
.schritt__text { font-size: 17px; line-height: 1.5; color: var(--text-muted); text-wrap: pretty; }

/* ==========================================================================
   Preise
   ========================================================================== */
.preise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: stretch; }
.preis-karte {
  display: flex; flex-direction: column; gap: 26px; padding: clamp(28px, 3.5vw, 44px);
  border-radius: 20px; background: var(--panel);
}
.preis-karte--plus { background: var(--panel-2); box-shadow: var(--schatten); }
.preis-karte--ultra { background: var(--panel-2); }
.preis-karte--ultra .preis-karte__liste { color: #fff; }
.preis-karte--ultra .preis-karte__punkt { background: var(--akzent); }
.preis-karte--ultra .knopf-karte { background: var(--panel); }
.preis-karte__kopf { display: flex; flex-direction: column; gap: 10px; }
.preis-karte__titel { font-size: 24px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.preis-karte__titel .abo-name-slot {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; font-weight: 400; color: var(--text-muted);
}
.preis-karte__preis { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.preis-karte__betrag { font-size: 48px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.preis-karte__zeitraum { color: var(--text-muted); font-size: 16px; }
.preis-karte__liste { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.45; color: var(--text-muted); }
.preis-karte--plus .preis-karte__liste { color: #fff; }
.preis-karte__liste li { display: flex; gap: 12px; }
.preis-karte__punkt { flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--text-dim); }
.preis-karte--plus .preis-karte__punkt { background: var(--akzent); }
.knopf-karte {
  margin-top: auto; display: inline-flex; align-self: flex-start; align-items: center;
  min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--panel-2); color: #fff;
  font-weight: 600; text-decoration: none;
}
.knopf-karte:hover { color: #fff; background: #383838; }
.knopf-karte--akzent { background: var(--akzent); color: var(--bg); font-weight: 700; }
.knopf-karte--akzent:hover { background: var(--akzent-hover); color: var(--bg); }
.preise-fussnote { margin-top: 28px; font-size: 17px; color: var(--text-muted); }

/* ==========================================================================
   Fragen / FAQ
   ========================================================================== */
.fragen-abschnitt { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.fragen__intro { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; max-width: 380px; }
.fragen__intro-link { font-size: 16px; margin-top: 6px; }
.fragen__liste { flex: 2 1 480px; display: flex; flex-direction: column; }

.faq-eintrag { border-top: 1px solid var(--border); }
.faq-eintrag summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 22px 0; min-height: 44px; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600;
}
.faq-eintrag__plus {
  flex: none; color: var(--akzent); font-size: 24px; font-weight: 400;
  transition: transform 180ms ease-out;
}
.faq-eintrag[open] .faq-eintrag__plus { transform: rotate(45deg); }
.faq-eintrag p {
  padding: 0 0 24px; max-width: 62ch; font-size: 17px; line-height: 1.6; color: var(--text-muted); text-wrap: pretty;
}
.fragen__liste-ende { border-top: 1px solid var(--border); }

/* ==========================================================================
   Anleitungen
   ========================================================================== */
.anleitungen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.anleitung-karte {
  display: flex; flex-direction: column; gap: 18px; padding: 28px 24px 26px;
  border-radius: 20px; background: var(--panel); color: #fff; text-decoration: none;
}
.anleitung-karte:hover { background: #262626; color: #fff; }
.anleitung-karte__bild { height: 240px; display: flex; align-items: flex-end; justify-content: center; }
.anleitung-karte__bild > div { width: 100%; max-width: 270px; }
.anleitung-karte__bild--schmal > div { max-width: 250px; }
.anleitung-karte__bild--handy > div { width: 116px; max-width: none; }
.anleitung-karte__titel { font-size: 21px; font-weight: 600; }
.anleitung-karte__text { font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.anleitung-karte__link { margin-top: auto; color: var(--akzent); font-size: 15px; font-weight: 600; }

/* ==========================================================================
   Download
   ========================================================================== */
.download__kopf {
  display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.download__intro { flex: 1 1 340px; max-width: 480px; font-size: 18px; line-height: 1.55; color: var(--text-muted); text-wrap: pretty; }
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.download-karte {
  display: flex; flex-direction: column; gap: 22px; padding: 32px; border-radius: 20px; background: var(--panel);
}
.download-karte--primaer { background: var(--panel-2); box-shadow: var(--schatten); }
.download-karte__kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.download-karte__plattform { font-size: 14px; color: #fff; font-weight: 600; }
.download-karte__status { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--panel-2); color: var(--text-muted); }
.download-karte__status--aktiv { background: var(--akzent); color: var(--bg); font-weight: 700; }
.download-badge {
  display: flex; align-items: center; justify-content: center; height: 72px; border-radius: 12px;
  border: 1px dashed rgba(255,255,255,0.3); background: var(--panel); text-decoration: none;
  font-size: 14px; font-weight: 600; color: var(--text-muted); text-align: center; padding: 0 16px;
}
.download-badge--inaktiv { border-color: rgba(255,255,255,0.2); color: var(--text-dim); opacity: 0.7; cursor: not-allowed; }
.download-karte__text { font-size: 16px; line-height: 1.5; color: var(--text-muted); }

/* ==========================================================================
   Abschluss
   ========================================================================== */
.abschluss {
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 96px);
  padding-top: clamp(64px, 9vw, 140px); padding-bottom: clamp(64px, 9vw, 140px);
}
.abschluss__bild { flex: 1 1 400px; max-width: 560px; }
.abschluss__text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 22px; }
.abschluss__titel { font-size: clamp(38px, 5vw, 68px); line-height: 1.03; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.abschluss__zeile { font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.abschluss__text .knopf-primaer { align-self: flex-start; }

/* ==========================================================================
   Fusszeile
   ========================================================================== */
.fusszeile { border-top: 1px solid var(--panel); margin-top: 40px; }
.fusszeile__reihe {
  max-width: var(--breite-inhalt); margin: 0 auto; padding: 56px var(--pad-seite) 40px;
  display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between;
}
.fusszeile__marke { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.fusszeile__marke img { height: 22px; width: auto; align-self: flex-start; } /* ohne align-self zieht die Flex-Spalte das Logo in die Breite */
.fusszeile__claim { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.55; }
.fussnav {
  flex: 2 1 420px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 4px 32px;
}
.fussnav a { color: var(--text-muted); text-decoration: none; font-size: 15px; padding: 12px 0; }
.fussnav a:hover { color: #fff; }
.fusszeile__copyright { max-width: var(--breite-inhalt); margin: 0 auto; padding: 0 var(--pad-seite) 40px; color: var(--text-dim); font-size: 13px; }

/* ==========================================================================
   Text-Platzhalter-Slot (technische Angaben, wird nachgereicht)
   ========================================================================== */
[data-text="technik-sicherheit"] {
  display: inline;
  border-bottom: 1px dashed rgba(255,255,255,0.35);
}

/* ==========================================================================
   WhatsApp-Knopf (einzige gestalterische Ergaenzung)
   ========================================================================== */
.whatsapp-knopf {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 20px));
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--akzent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.7);
  text-decoration: none;
  z-index: 60;
  opacity: 0;
  transform: translate(120px, 120px) scale(0.6);
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}
.whatsapp-knopf svg { width: 30px; height: 30px; display: block; }
.whatsapp-knopf.ist-sichtbar {
  animation: whatsapp-einflug 620ms cubic-bezier(.2,.8,.2,1) forwards;
}
.whatsapp-knopf.schwebt { animation: whatsapp-einflug 620ms cubic-bezier(.2,.8,.2,1) forwards, whatsapp-schweben 3600ms ease-in-out 620ms infinite; }
.whatsapp-knopf:hover, .whatsapp-knopf:focus-visible { transform: scale(1.08); box-shadow: 0 10px 28px rgba(0,0,0,0.8); }
.whatsapp-knopf.schwebt:hover, .whatsapp-knopf.schwebt:focus-visible { animation-play-state: paused; }

@keyframes whatsapp-einflug {
  from { opacity: 0; transform: translate(120px, 120px) scale(0.6); }
  to { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes whatsapp-schweben {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1); }
}
@media not all { /* Bewegung immer voll (Dommes Vorgabe 25.09.2026) */
  .whatsapp-knopf { transition: none; }
  .whatsapp-knopf.ist-sichtbar, .whatsapp-knopf.schwebt {
    animation: none;
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

/* Sicherstellen, dass der Knopf Fussbereich/Galerie nicht verdeckt */
@media (max-width: 480px) {
  .whatsapp-knopf { width: 52px; height: 52px; }
  .whatsapp-knopf svg { width: 28px; height: 28px; }
}

/* ==========================================================================
   Technik: Vorteile gegen Ruckler (Dommes Auftrag 26.09.2026)
   Gleiche Listen-Sprache wie Familie: Haarlinien, starke Zeile, leise Zeile.
   ========================================================================== */
.vorteile__lead { font-size: 18px; line-height: 1.55; color: var(--text-muted); max-width: 720px; text-wrap: pretty; }
.vorteile {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  column-gap: clamp(28px, 3vw, 40px); margin-top: clamp(32px, 4vw, 48px);
}
.vorteil { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; border-top: 1px solid var(--border); }
.vorteil__titel { font-size: 20px; font-weight: 600; }
.vorteil__text { font-size: 16px; line-height: 1.5; color: var(--text-muted); text-wrap: pretty; }
.vorteile__fussnote { margin-top: 28px; font-size: 16px; color: var(--text-muted); }

/* Graue Store-Logos: Plattform noch nicht verfuegbar (Dommes Auftrag 28.09.2026) */
.store-logo {
  display: flex; align-items: center; gap: 14px; height: 72px; padding: 0 20px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14); background: var(--panel); color: var(--text-dim);
  filter: grayscale(1); cursor: default; user-select: none;
}
.store-logo__icon { flex: none; width: 30px; height: 30px; }
.store-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.store-logo__klein { font-size: 12px; letter-spacing: 0.02em; }
.store-logo__gross { font-size: 20px; font-weight: 600; }
.download-karte .knopf-karte { align-self: flex-start; }
.download-karte:not(.download-karte--primaer) .knopf-karte { background: var(--panel-2); }
.download-karte--primaer .download-karte__status { background: var(--panel); }

/* Sprachwahl als Fahnen in der Kopfzeile (Dommes Auftrag 28.09.2026).
   Aktiv: volle Deckkraft plus Bernstein-Unterstrich, nie ein duenner Rahmen. */
.flaggen { display: flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 16px; }
.flagge {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px; opacity: 0.55;
  transition: opacity 180ms ease-out, background-color 180ms ease-out;
}
.flagge svg { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); }
.flagge:hover { opacity: 1; background: var(--panel-2); }
.flagge.ist-aktiv { opacity: 1; }
.flagge.ist-aktiv::after {
  content: ''; position: absolute; left: 9px; right: 9px; bottom: 3px; height: 2px; border-radius: 1px; background: var(--akzent);
}
.flagge:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; opacity: 1; }
.sprachumschalter--flaggen { gap: 8px; }
@media (max-width: 1179px) { .flaggen { margin-right: 10px; } }
