/* Aufgeld-Check – Design-System
 * Muster: Trust & Authority (Navy) mit Gold als Akzent. Schrift: IBM Plex Sans, lokal eingebunden.
 * Die Klassen für Tabellen, Diagramme und Rechner erzeugt assets/app.js – Namen nicht ändern.
 */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/ibm-plex-sans-700.woff2") format("woff2"); }

:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --ink: #0f1b2d;
  --ink-2: #4a5568;
  --line: #e1e7ef;
  --link: #0369a1;

  --navy: #0a1828;
  --navy-2: #10233a;
  --navy-3: #1a3350;
  --on-navy: #eef3f9;
  --on-navy-2: #a9b8cc;

  --gold: #c39223;
  --gold-ink: #8a6311;
  --gold-light: #e9c66b;
  --gold-soft: #f7eed7;
  --silver: #6b7280;
  --silver-soft: #e8eaee;

  --good: #15803d;
  --good-soft: #e3f4e9;
  --warn: #9a5b00;
  --warn-soft: #fbefd9;
  --bad: #b42318;
  --bad-soft: #fde7e4;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 8px 24px -8px rgba(15, 27, 45, .10);
  --shadow-lg: 0 2px 4px rgba(15, 27, 45, .04), 0 24px 48px -16px rgba(15, 27, 45, .22);
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Diagramme */
  --s1: #2563eb; --s2: #ea6a2f; --s3: #16a34a; --grid: #e6ebf2; --axis: #64748b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08121f;
    --surface: #0e1c2e;
    --surface-2: #14263c;
    --ink: #e8eef6;
    --ink-2: #9fb0c6;
    --line: #1f3350;
    --link: #5cb3ea;
    --navy: #060e19;
    --navy-2: #0b1828;
    --navy-3: #16293f;
    --gold: #d9ab3e;
    --gold-ink: #e6bf5f;
    --gold-soft: #2c2410;
    --silver: #a9b0bc;
    --silver-soft: #222a35;
    --good: #4ade80;
    --good-soft: #0f2a1b;
    --warn: #f5b454;
    --warn-soft: #33260c;
    --bad: #f8907c;
    --bad-soft: #36160f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-lg: 0 24px 48px -16px rgba(0, 0, 0, .6);
    --s1: #4f8cf0; --s2: #f07b42; --s3: #22c55e; --grid: #1c2e46; --axis: #8aa0bb;
  }
}

/* ---------- Basis ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; transition: color .2s var(--ease); }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font); font-weight: 700; line-height: 1.12; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1rem; }
small, .muted { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--gold-light); color: #1a1405; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.section { margin-top: clamp(4rem, 9vw, 6.5rem); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); color: var(--ink); padding: .5rem 1rem; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 24, 40, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(10, 24, 40, .94); box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .45); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; color: #fff; text-decoration: none; white-space: nowrap; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fbe6a2, #d9a93a 45%, #9c6f12 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25), inset 0 -3px 6px rgba(0, 0, 0, .25), 0 4px 14px -4px rgba(217, 169, 58, .7);
  display: grid; place-items: center; color: #3b2a05; font: 700 .72rem/1 var(--font); letter-spacing: .02em;
}
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a { color: var(--on-navy-2); text-decoration: none; padding: .5rem .8rem; border-radius: 999px; font-size: .94rem; font-weight: 500; transition: color .2s var(--ease), background .2s var(--ease); }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a[aria-current="page"] { color: #fff; background: rgba(233, 198, 107, .14); box-shadow: inset 0 0 0 1px rgba(233, 198, 107, .3); }
.nav .nav-cta { margin-left: .5rem; background: var(--gold-light); color: #241a03; font-weight: 600; }
.nav .nav-cta:hover { background: #f3d68a; color: #241a03; }
.nav .nav-cta[aria-current="page"] { background: var(--gold-light); color: #241a03; box-shadow: none; }
@media (max-width: 720px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0; min-height: 0; padding-top: .6rem; }
  .logo { min-height: 40px; }
  .nav { width: calc(100% + 40px); margin: .35rem -20px 0; padding: 0 20px .55rem; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; padding: .45rem .75rem; font-size: .9rem; }
  .nav .nav-cta { margin-left: auto; }
  html { scroll-padding-top: 120px; }
}

/* ---------- Hero (immer dunkel) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy);
  color: var(--on-navy);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(217, 169, 58, .22), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(3, 105, 161, .28), transparent 65%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
}
.hero h1 { color: #fff; }
.hero .lead { color: var(--on-navy-2); }
.hero .lead strong { color: #fff; font-weight: 600; }
.hero a:not(.btn) { color: var(--gold-light); }
.gold-text {
  background: linear-gradient(100deg, #f6dc8f 0%, #e3b44c 40%, #fff1c4 55%, #d39c2c 75%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-sub { padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.75rem); }
.hero-sub h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 600; color: var(--gold-ink); margin-bottom: .85rem; }
.hero .eyebrow { color: var(--gold-light); }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .85rem .4rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: var(--on-navy-2); font-size: .84rem; margin-bottom: 1.4rem; }
.pill b { color: #fff; font-weight: 600; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #34d399; flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #34d399; opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .live-dot::after { animation: none; } }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 640px; line-height: 1.65; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 2rem 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--on-navy-2); }
.trust li { display: inline-flex; align-items: center; gap: .5rem; }
.trust .icon { color: var(--gold-light); width: 1.1em; height: 1.1em; }

.spot-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 2rem; max-width: 520px; }
.spot { position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: .9rem 1.1rem; overflow: hidden; }
.spot::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--gold-light), var(--gold)); }
.spot.silver::before { background: linear-gradient(#e5e9f0, #9aa5b5); }
.spot > span { display: block; font-size: .8rem; color: var(--on-navy-2); }
.spot b { display: block; font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 700; color: #fff; letter-spacing: -.01em; margin: .1rem 0; }
.checked { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; color: var(--on-navy-2); margin-top: 1rem; }
@media (max-width: 420px) { .spot-row { grid-template-columns: 1fr 1fr; gap: .5rem; } .spot { padding: .75rem .85rem; } }

/* Preis-Anatomie (Hero-Karte, befüllt von motion.js) */
.anatomy {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
}
.anatomy-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.anatomy-kicker { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.anatomy h2 { color: #fff; font-size: 1.2rem; margin: .3rem 0 0; letter-spacing: -.01em; }
.coin {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 32% 28%, #fff0bd, #e2b54c 40%, #a87a12 80%, #7a560a);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25), inset 0 0 0 6px rgba(120, 85, 10, .35), 0 10px 24px -6px rgba(217, 169, 58, .6);
  display: grid; place-items: center; color: #4a3505; font-weight: 700; font-size: .78rem;
}
.ana-base { display: flex; justify-content: space-between; font-size: .85rem; color: var(--on-navy-2); padding-bottom: .65rem; border-bottom: 1px dashed rgba(255, 255, 255, .18); margin-bottom: 1rem; }
.ana-base b { color: #fff; font-weight: 600; }
.ana-row { margin-bottom: 1rem; }
.ana-label { display: flex; justify-content: space-between; gap: .75rem; font-size: .88rem; margin-bottom: .4rem; }
.ana-label span { color: var(--on-navy-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ana-label b { color: #fff; font-weight: 600; white-space: nowrap; }
.ana-track { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.ana-fill { display: block; height: 100%; border-radius: 999px; transform-origin: left center; }
.ana-fill.best { background: linear-gradient(90deg, #34d399, #10b981); }
.ana-fill.worst { background: linear-gradient(90deg, #fbbf24, #f97316); }
.ana-total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.ana-total span { font-size: .88rem; color: var(--on-navy-2); max-width: 15rem; line-height: 1.4; }
.ana-total b { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.ana-note { font-size: .76rem; color: var(--on-navy-2); opacity: .8; margin: .9rem 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--navy-3); color: #fff; text-decoration: none; font: 600 .92rem/1.2 var(--font);
  padding: .65rem 1.05rem; border-radius: 10px; white-space: nowrap; border: 0; cursor: pointer; min-height: 44px;
  transition: translate .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: #24456b; translate: 0 -1px; box-shadow: 0 8px 18px -8px rgba(16, 35, 58, .6); }
.btn:active { translate: 0 0; }
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btn.secondary { background: var(--surface-2); color: var(--ink); }
.btn.secondary:hover { background: var(--line); box-shadow: none; }
.btn.gold { background: linear-gradient(180deg, #f1d07c, #dcaa3c); color: #241a03; box-shadow: 0 10px 24px -10px rgba(217, 169, 58, .8), inset 0 1px 0 rgba(255, 255, 255, .5); padding: .8rem 1.3rem; font-size: 1rem; }
.btn.gold:hover { background: linear-gradient(180deg, #f6da93, #e3b44c); }
.btn.ghost { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); padding: .8rem 1.3rem; font-size: 1rem; }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }
@media (prefers-color-scheme: dark) {
  .btn { background: #24456b; } .btn:hover { background: #2d5482; }
  .btn.secondary { background: var(--surface-2); color: var(--ink); } .btn.secondary:hover { background: var(--line); }
}

/* ---------- Abschnittsköpfe ---------- */
.section-head { max-width: 720px; margin-bottom: 1.75rem; }
.section-head h2 { margin: 0 0 .6rem; }
.section-head p { color: var(--ink-2); margin: 0; font-size: 1.04rem; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.section-head.split > div { max-width: 680px; }
.overview-section { position: relative; margin-top: -2.25rem; z-index: 2; }
.overview-section .section-head { background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; padding: 1.4rem 1.4rem 1.1rem; margin: 0; max-width: none; }
.overview-section .section-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.overview-section .table-wrap { border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); }
.overview-section .table-wrap th:first-child, .overview-section .table-wrap td:first-child { padding-left: 1.4rem; }
.overview-section .table-wrap th:last-child, .overview-section .table-wrap td:last-child { padding-right: 1.4rem; }

/* ---------- Karten ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.1rem, 2.5vw, 1.5rem); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 680px) { .grid-2 { grid-template-columns: 1fr; } }
.insight { display: flex; flex-direction: column; transition: translate .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.insight:hover { translate: 0 -3px; box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); }
.insight h3 { margin: 1rem 0 .5rem; font-size: 1.2rem; }
.insight p { color: var(--ink-2); flex: 1; }
.insight a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.insight a .icon { width: 1em; height: 1em; color: var(--gold-ink); transition: transform .2s var(--ease); }
.insight a:hover .icon { transform: translateX(3px); }
.icon-badge { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); }
.icon-badge .icon { width: 22px; height: 22px; }

a.card.link-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: .5rem; transition: translate .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
a.card.link-card:hover { translate: 0 -3px; box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); }
a.card.link-card h3 { margin: 0; font-size: 1.15rem; }
a.card.link-card p { margin: 0; }
a.card.link-card .more { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--gold-ink); }

.callout { border-left: 3px solid var(--gold); background: var(--gold-soft); padding: 1rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5rem 0; }
.callout.warn { border-color: var(--warn); background: var(--warn-soft); }

/* CTA-Band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: var(--on-navy); border-radius: 22px;
  padding: clamp(2rem, 5vw, 3.25rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(217, 169, 58, .28), transparent 60%), radial-gradient(50% 100% at 0% 100%, rgba(3, 105, 161, .3), transparent 60%); }
.cta-band h2 { color: #fff; margin: 0 0 .6rem; }
.cta-band p { color: var(--on-navy-2); margin: 0; max-width: 620px; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Tabs & Chips ---------- */
.tabs { display: inline-flex; background: var(--surface-2); border-radius: 12px; padding: 4px; gap: 4px; border: 1px solid var(--line); }
.tab { border: 0; background: transparent; font: 600 .95rem var(--font); color: var(--ink-2); padding: .55rem 1.25rem; border-radius: 9px; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; gap: .5rem; transition: color .2s var(--ease), background .2s var(--ease); }
.tab::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fbe6a2, #c39223); }
.tab[data-metal="silver"]::before { background: radial-gradient(circle at 35% 30%, #fff, #9aa5b5); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 .9rem var(--font); padding: .45rem .9rem; border-radius: 999px; cursor: pointer; min-height: 38px; transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); }
.chip:hover { border-color: var(--gold); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--navy-3); color: #fff; border-color: var(--navy-3); }
@media (prefers-color-scheme: dark) { .chip[aria-pressed="true"] { background: var(--gold-light); color: #241a03; border-color: var(--gold-light); } }
.chip-group { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; width: 100%; }
.chip-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); font-weight: 600; min-width: 4.75rem; }

/* ---------- Tabellen ---------- */
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .95rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); font-weight: 600; background: var(--surface-2); }
tbody tr { transition: background .2s var(--ease); }
tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; }
td strong { font-weight: 700; }
.rank { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface-2); font-weight: 700; font-size: .9rem; color: var(--ink-2); }
tr.best { background: linear-gradient(90deg, color-mix(in srgb, var(--gold-soft) 70%, transparent), transparent 60%); }
tr.best .rank { background: radial-gradient(circle at 32% 28%, #fbe6a2, #d9a93a 50%, #a87a12); color: #3b2a05; box-shadow: 0 4px 12px -4px rgba(217, 169, 58, .7); }
.dealer { font-weight: 600; }
.variant { display: block; font-size: .82rem; color: var(--ink-2); }
.badge { display: inline-block; font-size: .76rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.b-good { background: var(--good-soft); color: var(--good); }
.b-warn { background: var(--warn-soft); color: var(--warn); }
.b-bad { background: var(--bad-soft); color: var(--bad); }
.b-neutral { background: var(--surface-2); color: var(--ink-2); }
.unavailable td:not(:last-child) { opacity: .55; }

@media (max-width: 900px) {
  table.responsive thead { display: none; }
  table.responsive, table.responsive tbody, table.responsive tr, table.responsive td { display: block; width: 100%; }
  table.responsive tr { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: .5rem .9rem; align-items: center; }
  table.responsive td { min-width: 0; }
  table.responsive .badge { white-space: normal; }
  table.responsive .pbar { flex-wrap: wrap; gap: .35rem; }
  table.responsive tr:last-child { border-bottom: 0; }
  table.responsive td { border: 0; padding: 0; }
  table.responsive td[data-label]:not(.keep)::before { content: attr(data-label); display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-bottom: .1rem; }
  table.responsive td.c-main { grid-column: 2 / 4; }
  table.responsive td.c-stat { grid-column: span 1; text-align: left; }
  table.responsive td.c-cta { grid-column: 1 / 4; margin-top: .25rem; }
  table.responsive td.c-cta .btn { width: 100%; text-align: center; }
  .overview-section .table-wrap td:first-child, .overview-section .table-wrap td:last-child { padding: 0; }
  .overview-section .section-head { padding: 1.2rem 1.1rem 1rem; }
}

/* ---------- Formulare ---------- */
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select { font: 1rem var(--font); padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); width: 100%; min-height: 46px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field input:hover, .field select:hover { border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent); }
.hint { font-size: .84rem; color: var(--ink-2); }
.calc { display: grid; grid-template-columns: 340px 1fr; gap: 1.5rem; align-items: start; }
.calc form { position: sticky; top: 92px; }
@media (max-width: 880px) { .calc { grid-template-columns: 1fr; } .calc form { position: static; } }
.verdict { padding: 1.2rem 1.35rem; border-radius: var(--radius); margin-bottom: 1rem; border: 1px solid transparent; }
.verdict h3 { margin: 0 0 .35rem; font-size: 1.25rem; }
.verdict p:last-child { margin-bottom: 0; }
.verdict.good { background: var(--good-soft); border-color: color-mix(in srgb, var(--good) 25%, transparent); }
.verdict.warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.verdict.bad { background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 25%, transparent); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.05rem; box-shadow: var(--shadow); }
.kpi span { display: block; font-size: .8rem; color: var(--ink-2); }
.kpi b { font-size: 1.2rem; letter-spacing: -.01em; }

/* ---------- FAQ ---------- */
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .65rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
details:hover { border-color: color-mix(in srgb, var(--gold) 35%, var(--line)); }
details[open] { box-shadow: var(--shadow); }
summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 1.25rem; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 10px; height: 10px; flex: none; border-right: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
details[open] summary::after { transform: rotate(-135deg) translate(-2px, -1px); }
details > :not(summary) { padding: 0 1.25rem; color: var(--ink-2); }
details > p:last-child { padding-bottom: 1.1rem; margin: 0; }

/* ---------- Artikel & Rechtliches ---------- */
.article { padding-top: .5rem; }
.article h2 { margin-top: 2.5rem; font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.article ul, .article ol { padding-left: 1.25rem; }
.article li { margin-bottom: .45rem; }
.article li::marker { color: var(--gold-ink); }
.article .lead { margin-bottom: 1.5rem; }
.breadcrumb { font-size: .86rem; color: var(--ink-2); margin: 2rem 0 0; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.article > h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .5rem; }
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; }
.legal address { font-style: normal; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-2); margin-top: clamp(4.5rem, 9vw, 7rem); padding: clamp(2.75rem, 6vw, 4rem) 0 2rem; font-size: .9rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, .7fr)); gap: 2rem 3rem; }
.footer-grid .logo { margin-bottom: 1rem; }
.footer-brand p { max-width: 460px; }
.footer-col h3 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin: .35rem 0 .9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .82rem; line-height: 1.6; display: grid; gap: .5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Diagramme ---------- */
.pbar { display: inline-flex; align-items: center; gap: .5rem; justify-content: flex-end; }
.pbar-track { width: 60px; height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; display: inline-block; }
.pbar-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-light), var(--gold)); border-radius: 0 3px 3px 0; }
@media (max-width: 900px) { .pbar { justify-content: flex-start; } .pbar-track { width: 40px; } }

.viz { position: relative; }
.viz svg { display: block; overflow: visible; }
.viz .grid { stroke: var(--grid); stroke-width: 1; }
.viz .baseline { stroke: var(--axis); stroke-width: 1; opacity: .5; }
.viz .axis { fill: var(--axis); font: 12px var(--font); font-variant-numeric: tabular-nums; }
.viz .direct { fill: var(--ink); font: 600 13px var(--font); }
.viz .line { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.viz .line.s1 { stroke: var(--s1); } .viz .line.s2 { stroke: var(--s2); }
.viz .dot { stroke: var(--surface); stroke-width: 2.5; }
.viz .dot.s1 { fill: var(--s1); } .viz .dot.s2 { fill: var(--s2); }
.viz .crosshair { stroke: var(--axis); stroke-width: 1; stroke-dasharray: 3 3; }
.viz .hit { cursor: crosshair; }
.viz-legend { display: flex; gap: 1.25rem; font-size: .88rem; color: var(--ink-2); margin-bottom: .75rem; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .4rem; vertical-align: -1px; }
.sw.s1 { background: var(--s1); } .sw.s2 { background: var(--s2); } .sw.s3 { background: var(--s3); }
.viz-tip { position: absolute; display: none; z-index: 50; pointer-events: none; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: .65rem .8rem; font-size: .82rem; line-height: 1.45; max-width: 260px; }
.tip-h { font-weight: 700; margin-bottom: .25rem; }
.tip-row { margin-top: .35rem; }
.tip-sub { color: var(--ink-2); padding-left: 1.05rem; }
.curve-card { padding: clamp(1rem, 3vw, 1.75rem); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1rem; }
.fact { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem; box-shadow: var(--shadow); overflow: hidden; }
.fact::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold-light), var(--gold) 60%, transparent); }
.fact b { display: block; font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.02em; color: var(--gold-ink); line-height: 1.1; margin-bottom: .35rem; font-variant-numeric: tabular-nums; }
.fact span { font-size: .9rem; color: var(--ink-2); line-height: 1.45; display: block; }

.costbar { margin-bottom: 1rem; position: relative; }
.cb-track { display: flex; gap: 2px; height: 24px; border-radius: 8px; overflow: hidden; }
.cb-seg { display: block; min-width: 3px; }
.cb-seg.s1 { background: var(--s1); } .cb-seg.s2 { background: var(--s2); } .cb-seg.s3 { background: var(--s3); }
.cb-marker { position: relative; width: 0; height: 26px; margin-top: -2px; }
.cb-marker::before { content: ""; position: absolute; left: 0; top: -22px; height: 26px; border-left: 2px dashed var(--ink); }
.cb-marker span { position: absolute; left: 0; top: 6px; transform: translateX(calc(-100% - 6px)); font-size: .78rem; white-space: nowrap; color: var(--ink-2); }
.cb-legend { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .88rem; }

/* ---------- Motion: Startzustand, nur wenn motion.js läuft (Klasse setzt ein Inline-Skript im <head>) ---------- */
.motion [data-intro], .motion [data-reveal] { visibility: hidden; }
.hero .breadcrumb { margin: 0 0 1.1rem; color: var(--on-navy-2); }
.hero .breadcrumb a { color: var(--on-navy-2); }
.hero .breadcrumb a:hover { color: #fff; }
