/* ══════════════════════════════════════════════════════════
   FRONTEND REDESIGN – VARIANTE B (hell / blau)
   ──────────────────────────────────────────────────────────
   Wird NUR geladen, wenn header.php $dmLight = true setzt.
   Alle Regeln sind auf body.theme-light begrenzt.
   Login, Register, Dashboard und Kaufstrecken bleiben
   unberührt (styles.css wird nicht verändert).
   ══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   1. DESIGN-TOKENS
   Überschreibt die Variablen aus styles.css nur innerhalb
   von body.theme-light – dadurch werden bestehende
   Komponenten automatisch hell.
   ═══════════════════════════════════════ */
body.theme-light {
  --bg-deep: #FAFBFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-tint: #EEF3FD;
  --bg-soft: #F1F4F9;
  --accent-cyan: #1F5BD8;
  --accent-blue: #123E9C;
  --accent-purple: #1F5BD8;
  --accent-gradient: linear-gradient(135deg, #1F5BD8 0%, #1F5BD8 100%);
  --text-primary: #0E1420;
  --text-secondary: #3A4352;
  --text-dim: #5B6472;
  --text-muted: #5B6472;
  --border-subtle: #E4E8EF;
  --border-strong: #DCE1E9;
  --glow-cyan: 0 14px 36px rgba(14, 20, 32, 0.08);
  --icon-color: #1F5BD8;
  --ink: #0E1420;
  --footer-bg: #0E1420;
  --footer-text: #C3CAD6;
  --footer-line: #2A3240;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
}

/* Animierter Dunkel-Hintergrund entfällt */
body.theme-light .page-bg { display: none; }

/* Typografie */
body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

/* Formularelemente & Buttons erben Manrope statt hart codiertem Outfit */
body.theme-light :is(button, input, textarea, select,
  .cta-btn, .nav-dropdown-btn, .nav-dropdown-item,
  .nav-auth-login, .nav-auth-register) {
  font-family: inherit;
}

/* Sichtbarer Fokus (Tastatur) */
body.theme-light :focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

body.theme-light ::selection {
  background: var(--bg-tint);
  color: var(--ink);
}

/* ═══════════════════════════════════════
   2. NAVIGATION – Mobile First
   ═══════════════════════════════════════ */
body.theme-light .nav {
  background: rgba(250, 251, 252, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

body.theme-light .nav-logo { height: 32px; }

/* Burger */
body.theme-light .nav-burger {
  border-color: var(--border-strong);
  background: #FFFFFF;
}
body.theme-light .nav-burger:hover {
  border-color: #C8CFDA;
  background: var(--bg-soft);
}
body.theme-light .nav-burger span { background: var(--text-secondary); }
body.theme-light .nav-burger.open span { background: var(--accent-cyan); }

/* Mobiles Overlay-Menü */
body.theme-light .nav-links {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(14, 20, 32, 0.08);
}
body.theme-light .nav-backdrop { background: rgba(14, 20, 32, 0.35); }

/* Pill-Container (nur im hellen Theme vorhanden) */
body.theme-light .nav-pill {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Menüpunkte */
body.theme-light .nav-link {
  color: #2C3442;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
}
body.theme-light .nav-link:hover {
  color: var(--ink);
  background: var(--bg-soft);
}
body.theme-light .nav-link.active {
  color: var(--accent-cyan);
  background: var(--bg-tint);
  border-color: transparent;
}

/* AI Core: gleiche Optik wie die anderen, nur Sparkle in Blau */
body.theme-light .nav-link--ai { color: #2C3442; }
body.theme-light .nav-link--ai:hover { color: var(--ink); background: var(--bg-soft); }
body.theme-light .nav-link--ai.active { color: var(--accent-cyan); background: var(--bg-tint); border-color: transparent; }
body.theme-light .nav-ai-sparkle { color: var(--accent-cyan); }

/* Zurück-Link (nur mobil sichtbar) */
body.theme-light .nav-back {
  color: var(--text-secondary);
  border-color: var(--border-subtle);
  border-radius: 999px;
}
body.theme-light .nav-back:hover {
  color: var(--ink);
  border-color: var(--border-strong);
  background: var(--bg-soft);
}

/* Sprachumschalter DE · EN */
body.theme-light .nav-lang {
  background: transparent;
  border: 0;
  padding: 0;
}
body.theme-light .nav-lang-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: #4B5565;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
}
body.theme-light .nav-lang-btn:hover {
  color: var(--ink);
  background: var(--bg-soft);
}
body.theme-light .nav-lang-btn.active {
  color: var(--accent-cyan);
  background: var(--bg-tint);
  box-shadow: none;
}

/* Kundenbereich-Button (Insights-Dropdown) */
body.theme-light .nav-dropdown-btn {
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 600;
}
body.theme-light .nav-dropdown-btn:hover {
  background: #1C2433;
  box-shadow: 0 6px 18px rgba(14, 20, 32, 0.18);
}

body.theme-light .nav-dropdown-menu {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 18px 44px rgba(14, 20, 32, 0.12);
}
body.theme-light .nav-dropdown-item {
  color: #2C3442;
  font-weight: 600;
  border-radius: 10px;
}
body.theme-light .nav-dropdown-item:hover {
  background: var(--bg-soft);
  color: var(--ink);
}
body.theme-light .nav-dropdown-item svg {
  opacity: 0.7;
  color: var(--accent-cyan);
}

/* Eingeloggt: Vorname + Abmelden */
body.theme-light .nav-auth-login {
  color: #2C3442;
  font-weight: 600;
  border-radius: 999px;
}
body.theme-light .nav-auth-login:hover {
  color: var(--ink);
  background: var(--bg-soft);
}
body.theme-light .nav-auth-register { border-radius: 999px; }

/* ── Tablet 640–1199px: Burger-Menü beibehalten ──
   styles.css schaltet ab 640px auf die Desktop-Leiste; mit
   Pill-Navigation + Kundenbereich ist das zu eng. Im hellen
   Theme bleibt deshalb bis 1199px das mobile Menü aktiv. */
@media (min-width: 640px) and (max-width: 1199px) {
  body.theme-light .nav-burger { display: flex; }
  body.theme-light .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1.5rem 1.25rem;
    gap: 0.25rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
  }
  body.theme-light .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  body.theme-light .nav-link { padding: 0.85rem 1rem; font-size: 0.95rem; }
  body.theme-light .nav-back { display: flex; }
  body.theme-light .nav-lang { margin: 0.5rem 0 0.25rem; align-self: center; }
  body.theme-light .nav-dropdown { width: 100%; margin: 0.25rem 0; }
  body.theme-light .nav-dropdown-btn { width: 100%; justify-content: center; padding: 0.75rem 1rem; }
  body.theme-light .nav-dropdown-menu {
    position: static;
    min-width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 0.4rem;
  }
  body.theme-light .nav-dropdown.open .nav-dropdown-menu { display: block; }
  body.theme-light .nav-auth { width: 100%; justify-content: center; margin: 0.25rem 0; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  body.theme-light .nav-links { top: 76px; }
}

/* ── Desktop ab 1200px: Pill-Navigation ── */
@media (min-width: 1024px) {
  body.theme-light .nav { height: 76px; }
  body.theme-light .nav-logo { height: 40px; }
}
@media (min-width: 1200px) {
  body.theme-light .nav {
    height: 76px;
    padding: 0 max(1.5rem, calc((100% - 1192px) / 2));
  }
  body.theme-light .nav-logo { height: 40px; }
  body.theme-light .nav-links {
    flex: 1;
    gap: 0.5rem;
    background: none;
    border: 0;
    box-shadow: none;
  }
  body.theme-light .nav-pill {
    flex-direction: row;
    align-items: center;
    gap: 2px;
    margin: 0 auto;
    padding: 5px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
  }
  body.theme-light .nav-link {
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
  }
}

/* Schmale Desktops 1200–1360px: etwas kompakter */
@media (min-width: 1200px) and (max-width: 1360px) {
  body.theme-light .nav-link { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
  body.theme-light .nav-logo { height: 34px; }
}

/* ═══════════════════════════════════════
   3. FOOTER – dunkler Abschluss (Variante B)
   ═══════════════════════════════════════ */
body.theme-light .footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "brand"
    "info1"
    "info2"
    "links"
    "apps"
    "copy";
  row-gap: 1rem;
  text-align: left;
  margin-top: 0;
  padding: 3rem 1.5rem 2rem;
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 0;
}

body.theme-light .footer-brand {
  grid-area: brand;
  justify-content: flex-start;
  margin: 0;
  background: none;
  -webkit-text-fill-color: initial;
}
body.theme-light .footer-logo { height: 40px; }

body.theme-light .footer-brand + .footer-links + .footer-info { grid-area: info1; margin-top: 0.25rem; }
body.theme-light .footer-info + .footer-info { grid-area: info2; margin-top: 0; }
body.theme-light .footer-info {
  color: var(--footer-text);
  font-size: 0.85rem;
  line-height: 1.75;
  max-width: 460px;
}
body.theme-light .footer-info a { color: #FFFFFF; }
body.theme-light .footer-info a:hover { color: #9DB8F2; }

body.theme-light .footer-links {
  grid-area: links;
  justify-content: flex-start;
  gap: 0.6rem 1.25rem;
  margin: 0.5rem 0 0;
}
body.theme-light .footer-links a {
  color: var(--footer-text);
  font-size: 0.88rem;
}
body.theme-light .footer-links a:hover { color: #FFFFFF; }

/* App-Store-Buttons (nur im hellen Theme ausgegeben) */
body.theme-light .footer-apps {
  grid-area: apps;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
body.theme-light .footer-apps a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid #3A4352;
  border-radius: 10px;
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
body.theme-light .footer-apps a:hover {
  border-color: #6B7584;
  background: rgba(255, 255, 255, 0.04);
}
body.theme-light .footer-apps svg { flex-shrink: 0; }

body.theme-light .footer-copy {
  grid-area: copy;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--footer-line);
  color: #8D96A6;
  font-size: 0.78rem;
}

@media (min-width: 768px) {
  body.theme-light .footer {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
    grid-template-areas:
      "brand links apps"
      "info1 links apps"
      "info2 links apps"
      "copy  copy  copy";
    column-gap: 3rem;
    row-gap: 0.75rem;
    padding: 3.5rem max(1.5rem, calc((100% - 1192px) / 2)) 2rem;
  }
  body.theme-light .footer-links {
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
  }
  body.theme-light .footer-apps {
    flex-direction: column;
    margin: 0;
  }
}

/* In der nativen App keine Store-Links (Apple Guideline) */
html.is-native-app .footer-apps { display: none !important; }

/* ═══════════════════════════════════════
   4. STARTSEITE (includes/home-b.php)
   Präfix .hb- = Home Variante B
   ═══════════════════════════════════════ */
body.theme-light .hb { position: relative; z-index: 1; }

body.theme-light .hb-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

body.theme-light .hb-accent { color: var(--accent-cyan); }

body.theme-light .hb-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
body.theme-light .hb-eyebrow--dark { color: var(--accent-blue); }

body.theme-light .hb-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin: 0.85rem 0 2.25rem;
  color: var(--ink);
}
body.theme-light .hb-h2--sm { font-size: clamp(1.7rem, 3.4vw, 2.75rem); margin-bottom: 0.9rem; }

body.theme-light .hb-section { padding-top: 5.5rem; }
body.theme-light .hb-section--last { padding-bottom: 5.5rem; }

/* ── Buttons ── */
body.theme-light .hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.75rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
body.theme-light .hb-btn--primary { background: var(--accent-cyan); color: #FFFFFF; }
body.theme-light .hb-btn--primary:hover {
  background: var(--accent-blue);
  box-shadow: 0 10px 26px rgba(31, 91, 216, 0.25);
  transform: translateY(-1px);
}
body.theme-light .hb-btn--ghost {
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
body.theme-light .hb-btn--ghost:hover { border-color: #B9C2D0; background: var(--bg-soft); }

/* ── Hero ── */
body.theme-light .hb-hero {
  padding-top: 7rem;
  text-align: center;
}
body.theme-light .hb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 100%;
  padding: 0.4rem 1rem 0.4rem 0.45rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s;
}
body.theme-light .hb-badge:hover { border-color: var(--border-strong); }
body.theme-light .hb-badge-tag {
  flex-shrink: 0;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-cyan);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
html.is-native-app .hb-badge { display: none !important; }

body.theme-light .hb-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 940px;
  margin: 1.6rem auto 1.25rem;
  color: var(--ink);
}
body.theme-light .hb-lead {
  max-width: 640px;
  margin: 0 auto 2.1rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
body.theme-light .hb-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ── Bildfläche + Glas-Panel ──
   Eigenes Motiv: Foto als img/hero.jpg hochladen.
   Ohne Foto greift der Verlauf darunter. */
body.theme-light .hb-visual {
  margin-top: 3.5rem;
  border-radius: 20px;
  min-height: 420px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    url('../img/hero.jpg'),
    radial-gradient(ellipse at 20% 15%, #DCE6F7 0%, transparent 55%),
    radial-gradient(ellipse at 85% 90%, #C9D6EC 0%, transparent 55%),
    linear-gradient(160deg, #E8EDF5 0%, #C3CEDD 100%);
  background-size: cover, auto, auto, auto;
  background-position: center;
  overflow: hidden;
}
body.theme-light .hb-glass {
  width: 100%;
  max-width: 780px;
  padding: 1.5rem 1.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(14, 20, 32, 0.16);
}
body.theme-light .hb-glass-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0.2rem 0 1rem;
  color: var(--ink);
}
body.theme-light .hb-table-wrap { overflow-x: auto; }
body.theme-light .hb-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
body.theme-light .hb-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4B5565;
  padding: 0.65rem 0.75rem 0.65rem 0;
  border-bottom: 1px solid var(--border-strong);
}
body.theme-light .hb-table td {
  padding: 0.85rem 0.75rem 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}
body.theme-light .hb-table tr:last-child td { border-bottom: 0; }
body.theme-light .hb-table-name { font-weight: 700; color: var(--ink); }
body.theme-light .hb-table-q { color: #4B5565; white-space: nowrap; }

body.theme-light .hb-pill {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
body.theme-light .hb-pill--done   { background: #E2F5E9; color: #1A6A37; }
body.theme-light .hb-pill--active { background: var(--accent-cyan); color: #FFFFFF; }
body.theme-light .hb-pill--open   { background: #ECEFF3; color: #3A4352; }

/* ── Vertrauens-Kacheln ── */
body.theme-light .hb-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
body.theme-light .hb-fact {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.35rem 1.4rem;
}
body.theme-light .hb-fact-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--ink);
}
body.theme-light .hb-fact-value.hb-accent { color: var(--accent-cyan); }
body.theme-light .hb-fact-label { font-size: 0.88rem; color: #4B5565; margin-top: 0.2rem; }

/* ── Partner ── */
body.theme-light .hb-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 2rem;
  margin-top: 2.25rem;
  color: #5B6472;
  font-size: 0.9rem;
  font-weight: 600;
}
body.theme-light .hb-partners-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B7584;
}
body.theme-light .hb-partner { display: inline-flex; align-items: center; gap: 0.45rem; }

/* ── Produktkacheln ── */
body.theme-light .hb-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}
body.theme-light .hb-product {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 250px;
  padding: 1.9rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
body.theme-light .hb-product:hover {
  border-color: #C9D5EE;
  box-shadow: var(--glow-cyan);
  transform: translateY(-3px);
}
body.theme-light .hb-product .hb-ico { color: var(--accent-cyan); }
body.theme-light .hb-product h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: inherit;
}
body.theme-light .hb-product p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
body.theme-light .hb-product-meta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4B5565;
}
body.theme-light .hb-product--accent { background: var(--accent-cyan); border-color: var(--accent-cyan); color: #FFFFFF; }
body.theme-light .hb-product--accent:hover { border-color: var(--accent-blue); background: #1C52C4; }
body.theme-light .hb-product--accent .hb-ico { color: #FFFFFF; }
body.theme-light .hb-product--accent p { color: #E3EBFF; }
body.theme-light .hb-product-link { margin-top: auto; font-weight: 700; }

/* ── Tokenisierung ── */
body.theme-light .hb-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 2px solid var(--ink);
}
body.theme-light .hb-steps li { padding: 1.5rem 1.5rem 0.5rem 0; }
body.theme-light .hb-step-no {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-cyan);
}
body.theme-light .hb-steps h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0.6rem 0 0.45rem;
  color: var(--ink);
}
body.theme-light .hb-steps p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--text-secondary); }

/* ── Nächstes Kapitel ── */
body.theme-light .hb-chapter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 1.5rem;
  background: #EAF0FC;
  border-radius: 24px;
}
body.theme-light .hb-chapter-text { flex: 1 1 520px; min-width: 0; }
body.theme-light .hb-chapter-text p { margin: 0; color: #2C3442; max-width: 560px; line-height: 1.65; }

/* ── Breakpoints Startseite ── */
/* Mobil: Roadmap-Zeilen gestapelt statt horizontal scrollen */
@media (max-width: 639px) {
  body.theme-light .hb-table { min-width: 0; }
  body.theme-light .hb-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  body.theme-light .hb-table tr {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.4rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  body.theme-light .hb-table tr:last-child { border-bottom: 0; }
  body.theme-light .hb-table td { display: block; padding: 0; border: 0; }
  body.theme-light .hb-table-name { grid-column: 1 / -1; }
}

@media (min-width: 640px) {
  body.theme-light .hb-wrap { padding: 0 1.5rem; }
  body.theme-light .hb-hero { padding-top: 8.5rem; }
  body.theme-light .hb-visual { min-height: 520px; padding: 3rem 1.5rem; }
  body.theme-light .hb-glass { padding: 1.9rem 2rem 0.9rem; }
  body.theme-light .hb-glass-title { font-size: 2rem; }
  body.theme-light .hb-chapter { padding: 3.5rem 3rem; }
}
@media (min-width: 1024px) {
  body.theme-light .hb-hero { padding-top: 10rem; }
  body.theme-light .hb-lead { font-size: 1.25rem; }
  body.theme-light .hb-visual { min-height: 580px; }
  body.theme-light .hb-section { padding-top: 7.5rem; }
  body.theme-light .hb-section--last { padding-bottom: 7rem; }
  body.theme-light .hb-chapter { padding: 4rem 3rem; }
}

/* ═══════════════════════════════════════
   5. UNTERSEITEN (Philosophie, Produkte, AI Core, Preisliste)
   Gestaltet die gemeinsamen Klassen aus styles.css –
   gilt automatisch für DE und EN.
   ═══════════════════════════════════════ */

/* Sprungziele nicht unter der fixen Navigation verstecken */
body.theme-light [id] { scroll-margin-top: 96px; }

/* ── Hero ── */
body.theme-light .hero-bg {
  background: radial-gradient(ellipse 60% 75% at 50% 0%, rgba(31, 91, 216, 0.08) 0%, transparent 100%);
}
body.theme-light .hero-badge {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}
body.theme-light .hero-badge-dot { background: var(--accent-cyan); }
body.theme-light .hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
body.theme-light .hero-desc {
  color: var(--text-secondary);
  font-weight: 400;
}

/* Verlaufs-Text → einfarbig Blau (Variable ist im hellen Theme einfarbig) */
body.theme-light .gradient { -webkit-text-fill-color: transparent; }

/* ── Sektionen ── */
body.theme-light .section { max-width: 1040px; }
body.theme-light .divider { max-width: 1040px; background: var(--border-subtle); }
body.theme-light .section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
}
body.theme-light .section-label::before { content: '— '; }
body.theme-light .section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}
body.theme-light .section h3 { color: var(--ink); }
body.theme-light .section p {
  color: var(--text-secondary);
  font-weight: 400;
}
body.theme-light .section p strong { color: var(--ink); font-weight: 700; }

/* Hervorhebung */
body.theme-light .highlight-block {
  background: var(--bg-tint);
  border: 0;
  border-radius: 16px;
}
body.theme-light .highlight-block p {
  color: var(--ink);
  font-style: normal;
  font-weight: 500;
}
body.theme-light .highlight-block h4 {
  font-family: var(--font-display);
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

/* ── Karten (gemeinsam) ── */
body.theme-light :is(.product-card, .feature-item, .usecase-card, .contact-section, .pricing-item) {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
}
body.theme-light :is(.product-card, .feature-item, .usecase-card) { border-radius: 18px; }
body.theme-light :is(.product-card, .feature-item, .usecase-card):hover {
  border-color: #C9D5EE;
  box-shadow: var(--glow-cyan);
}
body.theme-light :is(.product-card, .feature-item, .usecase-card) h3,
body.theme-light :is(.product-card, .feature-item, .usecase-card, .step-card) h4 {
  font-family: var(--font-display);
  color: var(--ink);
}
body.theme-light :is(.product-card, .feature-item, .usecase-card, .step-card) p,
body.theme-light .usecase-list li {
  color: var(--text-secondary);
  font-weight: 400;
}

/* Icon-Kacheln */
body.theme-light :is(.feature-icon, .product-card-icon, .contact-icon, .pricing-category-icon, .choice-card-icon) {
  background: var(--bg-tint);
  border: 0;
}
body.theme-light .usecase-list li::before { background: var(--accent-cyan); opacity: 1; }

body.theme-light .badge {
  background: var(--bg-tint);
  border: 0;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

/* Schritte als Zeitstrahl (wie Startseite) */
body.theme-light .steps-grid {
  gap: 0;
  border-top: 2px solid var(--ink);
}
body.theme-light .step-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 1.5rem 1.5rem 0.5rem 0;
}
body.theme-light .step-card:hover { transform: none; }
body.theme-light .step-number {
  font-size: 0.9rem;
  font-weight: 500;
  background: none;
  -webkit-text-fill-color: var(--accent-cyan);
  color: var(--accent-cyan);
  opacity: 1;
  margin-bottom: 0.6rem;
}

/* ── FAQ ── */
body.theme-light .faq-item { border-bottom-color: var(--border-subtle); }
body.theme-light .faq-question { color: var(--ink); font-weight: 600; }
body.theme-light .faq-question:hover { color: var(--accent-cyan); }
body.theme-light .faq-toggle { color: #6B7584; }
body.theme-light .faq-item.open .faq-toggle { color: var(--accent-cyan); }
body.theme-light .faq-answer p { color: var(--text-secondary); font-weight: 400; }

/* ── Buttons ── */
body.theme-light .cta-btn {
  background: var(--accent-cyan);
  border-radius: 12px;
  font-weight: 700;
  min-height: 48px;
}
body.theme-light .cta-btn:hover {
  background: var(--accent-blue);
  box-shadow: 0 10px 26px rgba(31, 91, 216, 0.25);
}

/* ── Kontaktformular ── */
body.theme-light .contact-section { border-radius: 20px; }
body.theme-light .form-input {
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  font-size: 1rem;
}
body.theme-light .form-input::placeholder { color: #6B7584; }
body.theme-light .form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(31, 91, 216, 0.12);
}
body.theme-light .service-selection__label { color: #4B5565; }
body.theme-light .service-card {
  background: #FFFFFF;
  border-color: var(--border-strong);
}
body.theme-light .service-card:hover { border-color: #B9C2D0; background: var(--bg-soft); }
body.theme-light .service-card__title { color: var(--text-secondary); }
body.theme-light .service-card__check { border-color: #B9C2D0; }
body.theme-light .service-card__check::after { border-color: #FFFFFF; }
body.theme-light .service-card:has(input[type="checkbox"]:checked) {
  background: var(--bg-tint);
  border-color: var(--accent-cyan);
  box-shadow: none;
}
body.theme-light .service-card:has(input[type="checkbox"]:checked) .service-card__title { color: var(--ink); }
body.theme-light .contact-consent { color: var(--text-secondary); }
body.theme-light .contact-consent input[type="checkbox"] { accent-color: var(--accent-cyan); }
body.theme-light .contact-consent a { color: var(--accent-cyan); }
body.theme-light .contact-feedback.success { background: #E2F5E9; color: #1A6A37; border-color: #B7E4C7; }
body.theme-light .contact-feedback.error { background: #FDECEC; color: #B42318; border-color: #F6C9C9; }

/* ── Preisliste ── */
body.theme-light .pricing-category-header { border-bottom-color: var(--border-subtle); }
body.theme-light .pricing-category-title { font-family: var(--font-display); color: var(--ink); }
body.theme-light .pricing-item { border-radius: 14px; }
body.theme-light .pricing-item:hover { border-color: #C9D5EE; }
body.theme-light .pricing-item-header:hover { background: var(--bg-soft); }
body.theme-light .pricing-item-name { color: var(--ink); font-weight: 600; }
body.theme-light .pricing-item-price { color: var(--accent-cyan); font-weight: 500; }
body.theme-light .pricing-item-toggle { color: #6B7584; }
body.theme-light .pricing-item.open .pricing-item-toggle { color: var(--accent-cyan); }
body.theme-light .pricing-item-desc-inner { color: var(--text-secondary); font-weight: 400; }
body.theme-light .pricing-note {
  background: var(--bg-tint);
  border: 0;
  border-radius: 14px;
  color: #3A4352;
}

/* ── Videos ── */
body.theme-light :is(.ai-video, .product-video) {
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 44px rgba(14, 20, 32, 0.12);
}

/* ═══════════════════════════════════════
   5a. PRODUKTE – Inline-Styles aus produkte.php
   ═══════════════════════════════════════ */

/* Roadmap-Zeitleiste */
body.theme-light .roadmap::before {
  background: linear-gradient(90deg, rgba(31,91,216,0) 0%, rgba(31,91,216,0.35) 15%, rgba(31,91,216,0.35) 85%, rgba(31,91,216,0) 100%);
}
body.theme-light .roadmap-quarter { color: var(--accent-cyan); font-family: var(--font-mono); font-weight: 500; }
body.theme-light .roadmap-dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 0 4px var(--bg-deep), 0 0 0 6px rgba(31, 91, 216, 0.25);
}
body.theme-light .roadmap-item:hover .roadmap-dot {
  box-shadow: 0 0 0 4px var(--bg-deep), 0 0 0 6px rgba(31, 91, 216, 0.45);
}
body.theme-light .roadmap-title { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) {
  body.theme-light .roadmap::before {
    background: linear-gradient(180deg, rgba(31,91,216,0) 0%, rgba(31,91,216,0.35) 8%, rgba(31,91,216,0.35) 92%, rgba(31,91,216,0) 100%);
  }
}

/* Produktkarten-Akkordeon */
body.theme-light .product-card-icon-btn:hover::after { border-color: rgba(31, 91, 216, 0.3); }
body.theme-light .product-card.is-open .product-card-icon-btn::after { border-color: rgba(31, 91, 216, 0.4); }
body.theme-light .product-card-chevron { background: var(--bg-soft); border-color: var(--border-subtle); }
body.theme-light .product-card-chevron svg { stroke: #6B7584; }
body.theme-light .product-card.is-open .product-card-chevron { background: var(--bg-tint); border-color: #C9D5EE; }
body.theme-light .product-card.is-open .product-card-chevron svg { stroke: var(--accent-cyan); }
body.theme-light .product-card.is-open .product-card-header { border-bottom-color: var(--border-subtle); }
body.theme-light .product-price-tag {
  background: var(--bg-tint);
  border: 0;
  color: var(--accent-blue);
}
body.theme-light .product-price-tag .price-value { color: var(--ink); }
body.theme-light .product-bullet-list li { color: var(--text-secondary); }
body.theme-light .product-bullet-list li::before { color: var(--accent-cyan); }
body.theme-light .product-body-label { color: #5B6472; font-family: var(--font-mono); font-weight: 500; }
body.theme-light .product-note {
  background: var(--bg-soft);
  border-left: 0;
  border-radius: 12px;
  color: var(--text-secondary);
}
body.theme-light .product-note strong { color: var(--ink); }
/* Inline-Farbangabe (weiß) im Absatz „Der DATA-M Token dient …“ */
body.theme-light .product-card-body p[style*="255,255,255"] { color: var(--text-secondary) !important; }

/* Token-Rechner */
body.theme-light .tr-calc { background: #F7F9FC; border-color: var(--border-subtle); }
body.theme-light .tr-head { border-bottom-color: var(--border-subtle); }
body.theme-light .tr-title-icon { background: var(--bg-tint); border: 0; color: var(--accent-cyan); }
body.theme-light .tr-title h3 { color: var(--ink); }
body.theme-light :is(.tr-title .tr-sub, .tr-price-label, .tr-block-label, .tr-input-suffix, .tr-scale .start em) { color: #5B6472; }
body.theme-light .tr-scale { color: #5B6472; }
body.theme-light .tr-scale .start b { color: var(--ink); }
body.theme-light .tr-bubble { color: #FFFFFF; box-shadow: 0 6px 16px rgba(31, 91, 216, 0.3); }
body.theme-light .tr-slider::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan) var(--fill, 0%), #DCE1E9 var(--fill, 0%));
}
body.theme-light .tr-slider::-moz-range-track { background: #DCE1E9; }
body.theme-light .tr-slider::-moz-range-progress { background: var(--accent-cyan); }
body.theme-light .tr-slider::-webkit-slider-thumb { box-shadow: 0 2px 10px rgba(31, 91, 216, 0.35); }
body.theme-light .tr-slider::-moz-range-thumb { box-shadow: 0 2px 10px rgba(31, 91, 216, 0.35); }
body.theme-light .tr-input { background: #FFFFFF; border-color: var(--border-strong); color: var(--ink); }
body.theme-light .tr-input::placeholder { color: #8D96A6; }
body.theme-light .tr-input:focus { border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(31, 91, 216, 0.12); }
body.theme-light .tr-chip { background: #FFFFFF; border-color: var(--border-strong); color: var(--text-secondary); }
body.theme-light .tr-chip:hover { border-color: #B9C2D0; color: var(--ink); background: var(--bg-soft); }
body.theme-light .tr-chip.active { border-color: var(--accent-cyan); color: var(--accent-cyan); background: var(--bg-tint); }
body.theme-light .tr-res { background: #FFFFFF; border-color: var(--border-subtle); }
body.theme-light .tr-res .k { color: #5B6472; }
body.theme-light .tr-res .v { color: var(--ink); }
body.theme-light .tr-res.gain { background: #ECF8F0; border-color: #B7E4C7; }
body.theme-light .tr-res.gain .k, body.theme-light .tr-res.gain .v { color: #166534; }
body.theme-light .tr-res.loss { background: #FDECEC; border-color: #F6C9C9; }
body.theme-light .tr-res.loss .k, body.theme-light .tr-res.loss .v { color: #B42318; }
body.theme-light .tr-note { color: #5B6472; }

/* ═══════════════════════════════════════
   5b. AI CORE – Vergleich, Architektur, Banner
   (nur Farben; Layout bleibt aus der bestehenden CSS)
   ═══════════════════════════════════════ */
body.theme-light .ai-compare-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
}
body.theme-light .ai-compare-card--core {
  background: var(--bg-tint);
  border-color: #C9D5EE;
}
body.theme-light .ai-compare-label { color: var(--accent-cyan); font-family: var(--font-mono); }
body.theme-light .ai-compare-card h4 { font-family: var(--font-display); color: var(--ink); }
body.theme-light .ai-compare-list li { color: var(--text-secondary); }

body.theme-light .ai-human-banner {
  background: #EAF0FC;
  border: 0;
}
body.theme-light .ai-human-banner h2 { color: var(--ink); }
body.theme-light .ai-human-banner p { color: #2C3442; }
body.theme-light .ai-human-icon { background: #FFFFFF; border: 0; }
body.theme-light .ai-human-icon svg { stroke: var(--accent-cyan); fill: none; }

body.theme-light .ai-arch-layer {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
}
body.theme-light .ai-arch-num { color: var(--accent-cyan); -webkit-text-fill-color: var(--accent-cyan); background: none; }
body.theme-light .ai-arch-content h4 { font-family: var(--font-display); color: var(--ink); }
body.theme-light .ai-arch-content p { color: var(--text-secondary); }
body.theme-light .ai-arch-arrow svg { stroke: #8D96A6; fill: none; }

/* ═══════════════════════════════════════
   6. RECHTSSEITEN & TEXTSEITEN
   (Impressum, Datenschutz, AGB, Risikohinweis, Cookie, AUP, Kontolöschung)
   ═══════════════════════════════════════ */

/* Angenehme Zeilenlänge für Fließtext */
body.theme-light .section > p { max-width: 75ch; }

/* Textlinks im Inhalt */
body.theme-light :is(.section, .highlight-block) a:not([class]) {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
body.theme-light :is(.section, .highlight-block) a:not([class]):hover { color: var(--accent-blue); }

/* Mehrere Absätze im Info-Kasten */
body.theme-light .highlight-block p + p { margin-top: 0.75rem; }
body.theme-light .highlight-block p strong { color: var(--ink); font-weight: 700; }

/* Listen in Rechtstexten */
body.theme-light .section :is(ul, ol):not([class]) {
  color: var(--text-secondary);
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
  line-height: 1.75;
}
body.theme-light .section :is(ul, ol):not([class]) li::marker { color: var(--accent-cyan); }

/* Tabellen in Rechtstexten (z. B. Cookie-Übersicht) */
body.theme-light .section table:not([class]) {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
body.theme-light .section table:not([class]) :is(th, td) {
  text-align: left;
  padding: 0.7rem 0.75rem 0.7rem 0;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}
body.theme-light .section table:not([class]) th { color: var(--ink); font-weight: 700; }

/* ═══════════════════════════════════════
   7. ÄNDERUNGSWÜNSCHE KUNDE (Runde 6)
   ═══════════════════════════════════════ */

/* Intro-Video auf heller Fläche */
body.theme-light .hb-preloader { background: #FFFFFF; cursor: pointer; }
body.theme-light .hb-preloader-logo { height: 52px; width: auto; }

/* MTC-Kachel ist ein Link */
body.theme-light .hb-fact--link {
  display: block;
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
body.theme-light .hb-fact--link:hover {
  border-color: #C9D5EE;
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}
body.theme-light .hb-fact--link .hb-fact-value { font-size: 1.5rem; }

/* Produktkachel-Link „Mehr erfahren“ in Blau (Karte selbst bleibt weiß) */
body.theme-light .hb-product-link { color: var(--accent-cyan); }

/* Offizielle Store-Badges statt Text-Buttons */
body.theme-light .footer-apps a {
  padding: 0;
  border: 0;
  min-height: 0;
  border-radius: 8px;
  background: none;
}
body.theme-light .footer-apps a:hover { background: none; opacity: 0.85; }
body.theme-light .footer-apps img { display: block; height: 40px; width: auto; }

/* ═══════════════════════════════════════
   8. SPRACHAUSWAHL (Dropdown, 5 Sprachen)
   ═══════════════════════════════════════ */
.nav-lang--app { display: none !important; }
.nav-dd-label-old { display: none; }

.nav-dropdown--lang .nav-dropdown-btn {
  gap: 0.35rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.nav-dropdown--lang .nav-dropdown-menu { min-width: 180px; }
.nav-lang-code {
  display: inline-block;
  min-width: 1.9rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  opacity: 0.7;
}

/* Helles Theme */
body.theme-light .nav-dropdown--lang .nav-dropdown-btn {
  background: transparent;
  color: #2C3442;
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 0.8rem;
}
body.theme-light .nav-dropdown--lang .nav-dropdown-btn:hover {
  background: var(--bg-soft);
  box-shadow: none;
  transform: none;
}
body.theme-light .nav-dropdown--lang .nav-dropdown-item.active {
  color: var(--accent-cyan);
  background: var(--bg-tint);
}

/* ═══════════════════════════════════════
   9. iOS/Android-App: bisherige Navigation behalten
   (Klasse wird schon im <head> gesetzt)
   ═══════════════════════════════════════ */
html.is-native-app .nav-link--new,
html.is-native-app .nav-dropdown--lang { display: none !important; }
html.is-native-app .nav-pill { display: contents !important; }
html.is-native-app .nav-lang--app { display: flex !important; }
html.is-native-app .nav-dd-label-new { display: none; }
html.is-native-app .nav-dd-label-old { display: inline; }

/* ═══════════════════════════════════════
   10. DUNKLE SEITEN MIT NEUER NAVIGATION
   (Sign In, Register, Partner/Voucher Validation …)
   Nur Navigation – Seiteninhalt bleibt unverändert dunkel.
   ═══════════════════════════════════════ */
html:not(.is-native-app) body.theme-dark-nav .nav {
  font-family: 'Manrope', system-ui, sans-serif;
}
html:not(.is-native-app) body.theme-dark-nav :is(.nav-link, .nav-dropdown-btn, .nav-dropdown-item, .nav-auth-login, .nav-auth-register, .nav-back) {
  font-family: 'Manrope', system-ui, sans-serif;
}

/* Mobil < 640px: Menüpunkte untereinander */
html:not(.is-native-app) body.theme-dark-nav .nav-pill {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
html:not(.is-native-app) body.theme-dark-nav .nav-link {
  color: #C9CFDB;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
}
html:not(.is-native-app) body.theme-dark-nav .nav-link:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.06); }
html:not(.is-native-app) body.theme-dark-nav .nav-link.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  border-color: transparent;
}
html:not(.is-native-app) body.theme-dark-nav .nav-link--ai { color: #C9CFDB; }
html:not(.is-native-app) body.theme-dark-nav .nav-link--ai:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.06); }
html:not(.is-native-app) body.theme-dark-nav .nav-ai-sparkle { color: var(--accent-cyan); }
html:not(.is-native-app) body.theme-dark-nav .nav-back { border-radius: 999px; }

/* Kundenbereich-Button: hell auf dunkel (Gegenstück zum hellen Design) */
html:not(.is-native-app) body.theme-dark-nav .nav-dropdown:not(.nav-dropdown--lang) .nav-dropdown-btn {
  background: #FFFFFF;
  color: #0E1420;
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
  font-size: 0.88rem;
}
html:not(.is-native-app) body.theme-dark-nav .nav-dropdown:not(.nav-dropdown--lang) .nav-dropdown-btn:hover {
  background: #E8ECF3;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
/* Sprache */
html:not(.is-native-app) body.theme-dark-nav .nav-dropdown--lang .nav-dropdown-btn {
  background: transparent;
  color: #C9CFDB;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
}
html:not(.is-native-app) body.theme-dark-nav .nav-dropdown--lang .nav-dropdown-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  transform: none;
}
html:not(.is-native-app) body.theme-dark-nav .nav-dropdown--lang .nav-dropdown-item.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

/* Tablet 640–1199px: Burger-Menü (wie helles Design) */
@media (min-width: 640px) and (max-width: 1199px) {
  html:not(.is-native-app) body.theme-dark-nav .nav-burger { display: flex; }
  html:not(.is-native-app) body.theme-dark-nav .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1.5rem 1.25rem;
    gap: 0.25rem;
    background: rgba(6, 8, 13, 0.97);
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
  }
  html:not(.is-native-app) body.theme-dark-nav .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  html:not(.is-native-app) body.theme-dark-nav .nav-link { padding: 0.85rem 1rem; font-size: 0.95rem; }
  html:not(.is-native-app) body.theme-dark-nav .nav-back { display: flex; }
  html:not(.is-native-app) body.theme-dark-nav .nav-dropdown { width: 100%; margin: 0.25rem 0; }
  html:not(.is-native-app) body.theme-dark-nav .nav-dropdown-btn { width: 100%; justify-content: center; padding: 0.75rem 1rem; }
  html:not(.is-native-app) body.theme-dark-nav .nav-dropdown-menu {
    position: static;
    min-width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 0.4rem;
  }
  html:not(.is-native-app) body.theme-dark-nav .nav-dropdown.open .nav-dropdown-menu { display: block; }
  html:not(.is-native-app) body.theme-dark-nav .nav-auth { width: 100%; justify-content: center; margin: 0.25rem 0; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  html:not(.is-native-app) body.theme-dark-nav .nav-links { top: 72px; }
}

/* Desktop ab 1200px: Pill-Navigation */
@media (min-width: 1200px) {
  html:not(.is-native-app) body.theme-dark-nav .nav {
    padding: 0 max(1.5rem, calc((100% - 1192px) / 2));
  }
  html:not(.is-native-app) body.theme-dark-nav .nav-links { flex: 1; gap: 0.5rem; }
  html:not(.is-native-app) body.theme-dark-nav .nav-pill {
    flex-direction: row;
    align-items: center;
    gap: 2px;
    margin: 0 auto;
    padding: 5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
  }
  html:not(.is-native-app) body.theme-dark-nav .nav-link { padding: 0.55rem 1rem; font-size: 0.9rem; }
}
@media (min-width: 1200px) and (max-width: 1360px) {
  html:not(.is-native-app) body.theme-dark-nav .nav-link { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
}

/* ═══════════════════════════════════════
   11. MTC-SEITE
   ═══════════════════════════════════════ */
@media (min-width: 1024px) {
  .mtc-features { grid-template-columns: repeat(3, 1fr); }
}
.mtc-claim {
  margin-top: 2.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}
.mtc-claim-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}
.mtc-claim-line {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
body.theme-light .mtc-claim { background: #EAF0FC; border: 0; }
body.theme-light .mtc-claim-line { font-family: var(--font-display); color: var(--ink); }

/* Kacheltext kleiner als Kachelüberschrift (styles.css setzt .section p größer) */
body.theme-light .feature-item h4 { font-size: 1.02rem; line-height: 1.35; }
body.theme-light .feature-item p { font-size: 0.92rem; line-height: 1.6; }
/* MTC: längere Texte linksbündig */
.mtc-features .feature-item { text-align: left; }
.mtc-features .feature-icon { margin-left: 0; }
