/* Selbst gehostete Schriften (SIL Open Font License) – keine Anfrage an Google */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/barlow-condensed-800-italic.woff2") format("woff2"); }

/* ==========================================================================
   VoltMX – Stylesheet
   Dunkles MX-Layout, Neon-Akzent, diagonale Schnitte, Cockpit-Kennzahlen
   ========================================================================== */

:root {
  --bg: #0a0a0c;
  --bg-2: #121216;
  --bg-3: #1a1a20;
  --panel: #17171c;
  --line: #2a2a33;
  --line-2: #3a3a46;
  --text: #f3f3f0;
  --muted: #a3a3ad;
  --muted-2: #6f6f7a;
  --accent: #c8ff00;
  --accent-ink: #0b0d00;
  --accent-2: #ff5a1f;
  --warn: #ffb020;
  --ok: #45e07a;
  --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --cut: 3.5vw;
  --radius: 6px;
  --maxw: 1200px;
  --gutter: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.4em;
  display: block;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.02em; }
.logo:hover { text-decoration: none; }
.logo svg { width: 34px; height: 34px; }
.logo em { color: var(--accent); font-style: italic; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.04em; font-family: var(--font-head); font-size: 1.05rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--bg-3); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); padding: 8px 10px; border-radius: 4px; font: inherit; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px; }
  .nav.is-open { display: flex; }
}

/* --------------------------------------------------------------------------
   Buttons, Forms, Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 1.15rem; padding: 12px 22px 12px 20px; border: 2px solid var(--accent); color: var(--accent);
  background: transparent; cursor: pointer; border-radius: 3px; transition: transform .12s ease, background .12s ease, color .12s ease;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn:hover { background: var(--accent); color: var(--accent-ink); text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #dfff4a; }
.btn-sm { font-size: 1rem; padding: 8px 16px; }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--bg-3); color: var(--text); }

.badge {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 0.8rem; line-height: 1; padding: 5px 8px 4px; border-radius: 2px; border: 1px solid var(--line-2); color: var(--muted); background: var(--bg-3);
  white-space: nowrap;
}
.badge-cat.badge-dirtbike { border-color: var(--accent); color: var(--accent); background: rgba(200, 255, 0, 0.08); }
.badge-cat.badge-pedelec { border-color: #5cc8ff; color: #5cc8ff; background: rgba(92, 200, 255, 0.08); }
.badge-cat.badge-strasse { border-color: var(--accent-2); color: var(--accent-2); background: rgba(255, 90, 31, 0.08); }
.badge-status-aktuell { border-color: var(--ok); color: var(--ok); background: rgba(69, 224, 122, 0.08); }
.badge-status-angekuendigt { border-color: #5cc8ff; color: #5cc8ff; }
.badge-status-vorgaenger { border-color: var(--warn); color: var(--warn); }
.badge-status-eingestellt { border-color: #ff4d4d; color: #ff4d4d; background: rgba(255, 77, 77, 0.08); }

.alert { border-left: 5px solid var(--accent-2); background: rgba(255, 90, 31, 0.1); padding: 14px 18px; margin: 0 0 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.alert strong { color: var(--accent-2); }
.alert-info { border-left-color: #5cc8ff; background: rgba(92, 200, 255, 0.08); }
.alert-info strong { color: #5cc8ff; }

/* --------------------------------------------------------------------------
   Sections & diagonal cuts
   -------------------------------------------------------------------------- */
.section { padding: 64px 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-cut { clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 calc(100% - var(--cut))); padding: calc(64px + var(--cut)) 0; margin: calc(var(--cut) * -1) 0; }
.section-cut-rev { clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { margin: 0; }
.stripe {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background: repeating-linear-gradient(-55deg, transparent 0 34px, rgba(200, 255, 0, 0.05) 34px 40px);
  mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: radial-gradient(1200px 500px at 85% 10%, rgba(200, 255, 0, 0.12), transparent 60%), var(--bg); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-60deg, transparent 0 48px, rgba(255, 255, 255, 0.025) 48px 56px);
}
.hero::after {
  content: ""; position: absolute; right: -8vw; top: -10%; bottom: -10%; width: 42vw; min-width: 320px;
  background: var(--accent); opacity: 0.06; transform: skewX(-14deg); pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; }
.hero-claim { margin-bottom: 12px; }
.hero-claim span { color: var(--accent); }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 56ch; margin-bottom: 26px; }
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 560px; }
.hero-visual img { width: 100%; filter: drop-shadow(0 30px 24px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 40px rgba(200, 255, 0, 0.12)); }
.hero-visual .startline { position: absolute; left: 4%; right: 4%; bottom: 8%; height: 4px; background: repeating-linear-gradient(90deg, var(--text) 0 20px, transparent 20px 40px); opacity: 0.45; }
.hero-visual .plate {
  position: absolute; left: 2%; top: 0; background: var(--accent); color: var(--accent-ink); font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 2rem; padding: 4px 16px; transform: skewX(-8deg); box-shadow: 4px 4px 0 #000;
}
.hero-facts { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.hero-facts .fact { font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-facts .fact b { color: var(--text); font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; font-style: italic; }
.hero-facts svg { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 400px; }
  .hero::after { width: 60vw; }
}

/* --------------------------------------------------------------------------
   Picker / Vergleichs-Tool
   -------------------------------------------------------------------------- */
.picker-form { background: var(--panel); border: 1px solid var(--line); padding: 18px; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); position: relative; }
.picker-form::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); }
.picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.picker-grid.has-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) { .picker-grid, .picker-grid.has-3 { grid-template-columns: 1fr; } }
.picker { position: relative; }
.picker label { display: block; font-family: var(--font-head); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.picker-input {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 1.05rem;
  padding: 12px 40px 12px 14px; border-radius: 4px; outline: none;
}
.picker-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200, 255, 0, 0.18); }
.picker-input::placeholder { color: var(--muted-2); }
.picker-clear { position: absolute; right: 8px; bottom: 8px; background: none; border: 0; color: var(--muted); font-size: 1.2rem; cursor: pointer; padding: 4px 8px; line-height: 1; display: none; }
.picker.has-value .picker-clear { display: block; }
.picker-list {
  position: absolute; z-index: 40; left: 0; right: 0; top: 100%; margin-top: 4px; max-height: 320px; overflow: auto;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 4px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); display: none; list-style: none; padding: 4px; margin-left: 0;
}
.picker.is-open .picker-list { display: block; }
.picker-list li { padding: 8px 10px; cursor: pointer; border-radius: 3px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.picker-list li:hover, .picker-list li.is-active { background: var(--bg-3); }
.picker-list li .pl-name { font-weight: 600; }
.picker-list li .pl-name small { color: var(--muted); font-weight: 400; display: block; font-size: 0.8rem; }
.picker-list li.pl-group { color: var(--muted-2); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; cursor: default; padding-top: 10px; }
.picker-list li.pl-group:hover { background: none; }
.picker-list li.pl-empty { color: var(--muted); cursor: default; }
.picker-actions { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.picker-actions .add-third { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.picker-actions .add-third:hover { color: var(--text); }
.picker-error { color: var(--accent-2); font-size: 0.95rem; margin: 10px 0 0; display: none; }
.picker-error.is-visible { display: block; }

/* --------------------------------------------------------------------------
   Tiles
   -------------------------------------------------------------------------- */
.tiles { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--text);
  display: flex; flex-direction: column; gap: 10px; overflow: hidden; transition: transform .15s ease, border-color .15s ease;
}
a.tile:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--accent); }
.tile::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; background: var(--accent); opacity: 0.05; transform: skewX(-16deg); }
.tile h3 { margin: 0; }
.tile p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.tile .tile-cta { margin-top: auto; font-family: var(--font-head); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.tile .icon { width: 42px; height: 42px; color: var(--accent); }
.cat-tile .cat-count { position: absolute; right: 18px; top: 16px; font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 2.4rem; color: var(--line-2); line-height: 1; }
.cat-tile.cat-pedelec .icon { color: #5cc8ff; }
.cat-tile.cat-strasse .icon { color: var(--accent-2); }
.cat-tile .cat-why { border-top: 1px dashed var(--line-2); padding-top: 10px; font-size: 0.9rem; }

.cmp-tile { padding: 0; }
.cmp-tile .vs-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 18px 18px 8px; }
.cmp-tile .vs-head img { width: 100%; max-width: 150px; margin: 0 auto; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.6)); }
.cmp-tile .vs { font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 1.6rem; color: var(--accent); background: var(--bg); border: 2px solid var(--accent); width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.cmp-tile .vs-body { padding: 8px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cmp-tile .vs-sub { color: var(--muted); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-head); }

.guide-tile .kicker { margin: 0; }

/* --------------------------------------------------------------------------
   Gauges / Kennzahlen
   -------------------------------------------------------------------------- */
.gauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.gauge {
  position: relative; background: var(--bg-2); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 16px 14px 12px; border-radius: 4px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.gauge .gauge-num { font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 2.6rem; line-height: 1; letter-spacing: -0.01em; }
.gauge .gauge-num small { font-size: 1rem; color: var(--muted); font-weight: 700; margin-left: 4px; letter-spacing: 0.05em; }
.gauge .gauge-label { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--muted); margin-top: 4px; font-weight: 600; }
.gauge.is-na .gauge-num { color: var(--muted-2); font-size: 1.6rem; padding-top: 10px; }
.gauge .gauge-sub { font-size: 0.8rem; color: var(--muted-2); margin-top: 4px; }
.gauge svg.needle { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; color: var(--line-2); }

/* --------------------------------------------------------------------------
   Vergleichstabelle
   -------------------------------------------------------------------------- */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table.cmp { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 640px; }
table.cmp.cols-3 { min-width: 860px; }
table.cmp th, table.cmp td { padding: 12px 14px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp .cmp-label { position: sticky; left: 0; z-index: 2; background: var(--panel); width: 190px; min-width: 150px; font-family: var(--font-head); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; color: var(--muted); box-shadow: 1px 0 0 var(--line); }
table.cmp .cmp-unit { color: var(--muted-2); font-size: 0.8rem; letter-spacing: 0.04em; }
table.cmp .cmp-hint { display: block; font-family: var(--font-body); font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 0.78rem; color: var(--muted-2); margin-top: 4px; line-height: 1.35; }
table.cmp .cmp-hint.cmp-neutral { color: var(--warn); }
table.cmp .cmp-col { min-width: 220px; background: var(--bg-2); vertical-align: bottom; }
table.cmp .cmp-corner { background: var(--bg-2); vertical-align: bottom; }
table.cmp thead th { border-bottom: 2px solid var(--line-2); }
.cmp-head { display: block; color: var(--text); }
.cmp-head:hover { text-decoration: none; }
.cmp-head:hover .cmp-model { color: var(--accent); }
.cmp-img { display: block; margin-bottom: 8px; }
.cmp-img img { width: 100%; max-width: 220px; filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.6)); }
.cmp-brand { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.cmp-model { display: block; font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.5rem; line-height: 1; margin: 2px 0 8px; }
.cmp-tags { display: flex; gap: 6px; flex-wrap: wrap; }
table.cmp tr.cmp-group th { background: var(--bg); color: var(--accent); font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; padding: 8px 14px; position: sticky; left: 0; }
table.cmp .cmp-cell { position: relative; font-size: 0.98rem; }
table.cmp .cmp-cell .num { font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 1.7rem; line-height: 1; }
table.cmp .cmp-cell .unit { font-size: 0.8rem; color: var(--muted); margin-left: 4px; letter-spacing: 0.05em; font-weight: 700; }
table.cmp .cmp-cell .txt { font-weight: 700; }
table.cmp .cmp-cell .cell-sub { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
table.cmp .cmp-cell .cell-note { color: var(--muted-2); font-size: 0.78rem; margin-top: 4px; line-height: 1.35; }
table.cmp .cmp-cell.is-best { background: rgba(200, 255, 0, 0.07); box-shadow: inset 3px 0 0 var(--accent); }
table.cmp .cmp-cell.is-best .num, table.cmp .cmp-cell.is-best .txt { color: var(--accent); }
table.cmp .cmp-cell .best-mark { position: absolute; right: 10px; top: 10px; color: var(--accent); font-size: 0.8rem; }
table.cmp .cmp-cell.is-na .na { color: var(--muted-2); font-style: italic; }
.cmp-legend { color: var(--muted-2); font-size: 0.85rem; margin-top: 10px; }
.cmp-legend .best-mark { color: var(--accent); }
.zul-ja { color: var(--ok); } .zul-nein { color: var(--accent-2); } .zul-variante { color: var(--warn); } .zul-geplant { color: #5cc8ff; }

/* Mobile: Tabelle bleibt horizontal scrollbar, Label-Spalte klebt links */
@media (max-width: 640px) {
  table.cmp .cmp-label { width: 120px; min-width: 110px; font-size: 0.8rem; padding: 10px 8px; }
  table.cmp .cmp-col { min-width: 180px; }
  table.cmp .cmp-cell .num { font-size: 1.35rem; }
  .cmp-model { font-size: 1.2rem; }
  .cmp-img img { max-width: 150px; }
  table.cmp .cmp-hint { display: none; }
}

.cmp-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
.share-box { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 0.9rem; color: var(--muted); }
.share-box input { background: var(--bg); border: 1px solid var(--line-2); color: var(--text); padding: 8px 10px; border-radius: 4px; font: inherit; font-size: 0.85rem; min-width: 220px; flex: 1; }

/* --------------------------------------------------------------------------
   Fahrzeug-Karten & Detailseite
   -------------------------------------------------------------------------- */
.vehicle-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.vehicle-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; color: var(--text); display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.vehicle-card:hover { border-color: var(--accent); text-decoration: none; }
.vehicle-card img { width: 100%; max-width: 240px; margin: 0 auto; filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.6)); }
.vehicle-card .vc-brand { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.vehicle-card .vc-model { font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.vehicle-card .vc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.vehicle-card .vc-stats { display: flex; gap: 14px; margin-top: 4px; }
.vehicle-card .vc-stats div { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); }
.vehicle-card .vc-stats b { display: block; font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 1.3rem; color: var(--text); letter-spacing: 0; text-transform: none; }
.filterbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filterbar button { background: var(--bg-3); border: 1px solid var(--line-2); color: var(--muted); font: inherit; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; font-style: italic; padding: 8px 14px; border-radius: 3px; cursor: pointer; }
.filterbar button.is-active, .filterbar button:hover { border-color: var(--accent); color: var(--accent); }

.detail-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.detail-hero .detail-img img { width: 100%; max-width: 560px; filter: drop-shadow(0 30px 24px rgba(0, 0, 0, 0.7)); }
.detail-hero .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
@media (max-width: 800px) { .detail-hero { grid-template-columns: 1fr; } .detail-hero .detail-img { order: -1; } }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 220px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; font-style: italic; color: var(--muted); font-size: 0.95rem; }
.spec-table td .cell-note, .spec-table td .cell-sub { display: block; font-size: 0.85rem; color: var(--muted-2); }
.spec-table td .num { font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 1.4rem; }
.spec-table td .unit { color: var(--muted); font-size: 0.8rem; margin-left: 4px; font-weight: 700; }
@media (max-width: 600px) { .spec-table th { width: 130px; } }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.sidebox { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.sidebox h3 { font-size: 1.3rem; }
.sidebox ul { list-style: none; padding: 0; margin: 0; }
.sidebox li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.sidebox li:last-child { border-bottom: 0; }
.quelle { font-size: 0.85rem; color: var(--muted-2); }

/* --------------------------------------------------------------------------
   Artikel / Ratgeber
   -------------------------------------------------------------------------- */
.article { max-width: 760px; }
.article h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; }
.article p { font-size: 1.05rem; }
.article .disclaimer { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 32px; color: var(--muted-2); font-size: 0.9rem; }
.breadcrumb { font-size: 0.85rem; color: var(--muted-2); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 6px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 64px; clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding-top: calc(48px + var(--cut)); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--muted); letter-spacing: 0.1em; font-size: 0.95rem; margin-bottom: 12px; }
.brand-index { columns: 2; column-gap: 24px; list-style: none; padding: 0; margin: 0; }
.brand-index li { padding: 3px 0; break-inside: avoid; }
.brand-index a { color: var(--text); font-weight: 600; }
.brand-index a.is-inactive { color: var(--muted-2); text-decoration: line-through; }
.brand-index small { color: var(--muted-2); font-weight: 400; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 3px 0; }
.footer-links a { color: var(--text); }
.footer-meta { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: 0.85rem; }
.footer-meta .datenstand { color: var(--muted); }
.footer-meta .datenstand b { color: var(--accent); font-family: var(--font-head); font-size: 1.1rem; font-style: italic; }
.neutral-note { background: var(--bg); border: 1px dashed var(--line-2); padding: 12px 14px; border-radius: 4px; font-size: 0.9rem; color: var(--muted); margin-top: 16px; }

/* Utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-block; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text); padding: 6px 12px; border-radius: 999px; font-size: 0.9rem; }
.chip:hover { border-color: var(--accent); text-decoration: none; }

/* Inline-SVG-Größen (Icons in Buttons / Share-Box) */
.btn svg { width: 18px; height: 18px; flex: none; }
.share-box > svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.tile .icon svg { width: 100%; height: 100%; }
.hero-facts .fact svg { width: 18px; height: 18px; flex: none; }
.sidebox .picker-grid, .sidebox .picker-grid.has-3 { grid-template-columns: 1fr; }


/* --------------------------------------------------------------------------
   Consent-Banner & Rechtliches
   -------------------------------------------------------------------------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom)); pointer-events: none; }
.consent[hidden] { display: none; }
.consent-box {
  pointer-events: auto; max-width: var(--maxw); margin: 0 auto; background: var(--panel); border: 1px solid var(--line-2); border-left: 6px solid var(--accent);
  border-radius: var(--radius); box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6); padding: 16px 18px; display: grid; gap: 12px; grid-template-columns: 1fr auto; align-items: center;
}
.consent-text { font-size: 0.95rem; color: var(--muted); }
.consent-text strong { color: var(--text); display: block; font-family: var(--font-head); font-style: italic; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.1rem; margin-bottom: 2px; }
.consent-opts { grid-column: 1 / -1; display: flex; gap: 20px; flex-wrap: wrap; border-top: 1px dashed var(--line-2); padding-top: 10px; }
.consent-opts[hidden] { display: none; }
.consent-opts label { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; cursor: pointer; }
.consent-opts label small { color: var(--muted-2); }
.consent-opts input { accent-color: var(--accent); width: 18px; height: 18px; }
.consent-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .consent-box { grid-template-columns: 1fr; } .consent-actions { justify-content: stretch; } .consent-actions .btn { flex: 1; } }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--text); cursor: pointer; text-align: left; }
.linklike:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-address { font-style: normal; line-height: 1.6; margin-bottom: 1em; }
.article code { background: var(--bg-3); padding: 1px 6px; border-radius: 3px; font-size: 0.9em; }
.consent-placeholder { background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 24px; text-align: center; color: var(--muted); }
