/* ===================================================================
   EVScout: Design System
   Helles, klares SaaS-Theme passend zum Logo: Weiss/Hellgrau, dunkler
   Waldgruen-Text, ein leuchtendes Limettengruen als Akzent. Inter
   durchgehend, drei echte Schriftschnitte (400/600/700).
=================================================================== */

:root {
  --ink: #f6f7f9;          /* Seitenhintergrund, helles Kuehlgrau */
  --ink-2: #ffffff;        /* Karten/Flaechen */
  --ink-3: #eef0f3;        /* sekundaere Flaechen, Hover */
  --line: rgba(15, 26, 24, 0.09);
  --line-strong: rgba(15, 26, 24, 0.18);
  --text: #131f1d;
  --text-muted: #565f5d;
  --text-faint: #8b938f;

  --accent: #9fd62e;
  --accent-strong: #153938;
  --accent-tint: rgba(21, 57, 56, 0.08);
  --accent-contrast: #153938;

  --gold: #8a6318;
  --rust: #a3492c;
  --steel: #5b5f68;

  --radius-sm: 8px;
  --radius: 16px;
  --shadow: 0 12px 28px -16px rgba(20, 22, 30, 0.18);

  --font-head: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --track: 0.06em;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
p { margin: 0 0 12px; }
.muted { color: var(--text-muted); }
.hidden { display: none !important; }
.accent { color: var(--accent-strong); }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Bewegung: sanfte, dezente Einstiegs- und Scroll-Animationen */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(.16,.8,.3,1), transform 0.7s cubic-bezier(.16,.8,.3,1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

.nav-cards-grid [data-reveal]:nth-child(2), .fact-grid [data-reveal]:nth-child(2), .tip-grid [data-reveal]:nth-child(2) { transition-delay: 0.09s; }
.nav-cards-grid [data-reveal]:nth-child(3), .fact-grid [data-reveal]:nth-child(3), .tip-grid [data-reveal]:nth-child(3) { transition-delay: 0.18s; }
.myth-grid [data-reveal]:nth-child(2) { transition-delay: 0.06s; }
.myth-grid [data-reveal]:nth-child(3) { transition-delay: 0.12s; }
.myth-grid [data-reveal]:nth-child(4) { transition-delay: 0.18s; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes cardRise {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; animation-delay: 0s !important; }
}

.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.12em; flex-shrink: 0; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--text-faint); display: inline-block; flex-shrink: 0; }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::before { display: none; }

section h2 { font-size: 1.7rem; margin-bottom: 6px; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before { display: none; }

.estimate-note {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: 0.76rem; color: var(--text-faint);
}
.estimate-note .icon { width: 14px; height: 14px; }

/* Buttons */
.btn-primary, .btn-ghost {
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  letter-spacing: var(--track); text-transform: uppercase;
  border-radius: var(--radius-sm); cursor: pointer;
  padding: 12px 22px; display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s cubic-bezier(.2,.7,.3,1), box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--accent); color: var(--accent-contrast); border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 22px -12px rgba(21, 57, 56, 0.45); }
.btn-primary:active { transform: translateY(0) scale(0.97); box-shadow: none; }
.btn-ghost {
  background: transparent; color: var(--text); border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--text-faint); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0) scale(0.97); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 0 0 rgba(20, 22, 30, 0);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px -18px rgba(20, 22, 30, 0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.logo {
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  display: flex; gap: 9px; align-items: center; letter-spacing: -0.01em;
}
.logo .logo-mark { width: 26px; height: 26px; object-fit: contain; display: block; transition: transform 0.25s ease; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.08); }
.logo:hover { text-decoration: none; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a {
  color: var(--text-muted); font-size: 0.78rem; font-weight: 600;
  letter-spacing: var(--track); text-transform: uppercase;
  position: relative; padding-bottom: 2px;
}
.site-header nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px;
  background: var(--accent-strong); transition: right 0.2s ease;
}
.site-header nav a:hover::after, .site-header nav a.active::after { right: 0; }
.site-header nav a:hover { color: var(--text); text-decoration: none; }
.site-header nav a.active { color: var(--accent-strong); }

/* Sprachumschalter */
.lang-switch {
  display: flex; gap: 2px; padding: 3px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--ink-2);
}
.lang-switch a {
  font-size: 0.72rem; font-weight: 700; letter-spacing: var(--track);
  color: var(--text-muted); padding: 4px 10px; border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch a:hover { color: var(--text); text-decoration: none; background: var(--ink-3); }
.lang-switch a[aria-current="true"] { background: var(--accent-strong); color: #fff; }

/* Settings panel */
.settings-panel {
  max-height: 0; overflow: hidden; background: var(--ink-2);
  border-bottom: 1px solid var(--line); transition: max-height 0.25s ease;
}
.settings-panel.open { max-height: 420px; }
.settings-panel .container { padding: 24px 24px 28px; }
.settings-panel h3 { font-size: 1rem; margin-bottom: 4px; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 18px 0; }
.settings-grid label { display: flex; flex-direction: column; gap: 7px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text-muted); text-transform: uppercase; }
.settings-grid input {
  padding: 9px 11px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--ink); color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
}
.grid-mix { border: none; padding: 0; margin: 0; }
.grid-mix legend { font-weight: 600; margin-bottom: 10px; font-size: 0.85rem; }
.grid-mix label { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; margin-bottom: 8px; }

/* Electrification ticker */
.ticker { background: var(--accent-tint); border-bottom: 1px solid var(--line); }
.ticker-inner {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: 26px 24px;
}
.ticker-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: var(--track); text-transform: uppercase;
  color: var(--accent-strong);
}
.ticker-headline { max-width: 560px; margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--text); }
.ticker-bar-wrap { width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 12px; }
.ticker-bar-track {
  display: flex; width: 100%; height: 12px; border-radius: 999px; overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line);
}
.ticker-bar-segment { height: 100%; width: 0; transition: width 1.1s cubic-bezier(.16,.8,.3,1); }
.ticker-bar-segment.bev { background: var(--accent-strong); }
.ticker-bar-segment.phev { background: var(--accent); }
.ticker-legend { display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: center; font-size: 0.8rem; color: var(--text-muted); }
.ticker-legend .legend-item { display: flex; align-items: center; gap: 7px; }
.ticker-legend strong { font-family: var(--font-head); font-size: 0.95rem; color: var(--text); font-weight: 700; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.legend-dot.bev { background: var(--accent-strong); }
.legend-dot.phev { background: var(--accent); }
.legend-dot.rest { background: var(--ink-2); border: 1px solid var(--text-faint); }
.ticker-extra { margin: 0; font-size: 0.88rem; color: var(--text-muted); }
.ticker-extra strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--text); }
.ticker-source { font-size: 0.7rem; color: var(--text-faint); }

/* Sub-page intro (Auto-Check, Laden, Warum Elektro) */
.page-intro { padding-top: 48px; padding-bottom: 8px; text-align: center; animation: riseIn 0.7s cubic-bezier(.16,.8,.3,1) backwards; }
.page-intro h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 12px; }
.page-intro-sub { max-width: 640px; margin: 0 auto; color: var(--text-muted); font-size: 1rem; }
.page-intro .hero-top { text-align: left; margin-bottom: 0; }
.page-intro .hero-top .page-intro-sub { margin: 0; max-width: none; }

/* Hero */
.hero { position: relative; padding: 70px 0 50px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -10% -10% auto -10%; height: 480px; z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 64px);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, black, transparent 70%);
  opacity: 0.7; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; top: -160px; left: 50%; width: 620px; height: 620px; z-index: 0;
  background: radial-gradient(circle, var(--accent) 0%, transparent 68%);
  opacity: 0.22; filter: blur(6px); transform: translateX(-50%);
  animation: heroGlow 12s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes heroGlow {
  from { transform: translateX(-52%) translateY(0) scale(1); opacity: 0.18; }
  to { transform: translateX(-46%) translateY(24px) scale(1.1); opacity: 0.28; }
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow, .hero h1, .hero-sub, .hero-stats, .hero-media {
  animation: riseIn 0.8s cubic-bezier(.16,.8,.3,1) backwards;
}
.hero .eyebrow { animation-delay: 0.02s; }
.hero h1 { animation-delay: 0.12s; }
.hero-sub { animation-delay: 0.24s; }
.hero-media { animation-delay: 0.3s; }
.hero-stats { animation-delay: 0.36s; }
.hero-top { display: grid; grid-template-columns: 1.15fr 0.95fr; gap: 44px; align-items: center; text-align: left; margin-bottom: 40px; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0 0 18px; }
.hero-sub { margin: 0; color: var(--text-muted); font-size: 1.02rem; }
.hero-media img {
  width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block;
  opacity: 0.88;
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, black 45%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, black 45%, transparent 100%);
}
.hero-stats { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat {
  display: flex; flex-direction: column; gap: 4px; padding: 22px 34px; border-left: 1px solid var(--line);
  transition: transform 0.2s ease;
}
.hero-stats .stat:first-child { border-left: none; }
.stat:hover { transform: translateY(-2px); }
.stat strong { font-family: var(--font-head); font-size: 1.5rem; }
.stat span { font-size: 0.74rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: var(--track); }

/* Tooltip (Info-Hinweis bei Radio/Checkbox-Optionen) */
.tooltip { position: relative; display: inline-flex; vertical-align: middle; margin-left: 6px; color: var(--text-faint); cursor: help; }
.tooltip .icon { width: 15px; height: 15px; }
.tooltip-box {
  display: none; position: absolute; bottom: 135%; left: 50%; transform: translateX(-50%);
  width: 240px; background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 10px 12px; font-size: 0.78rem; line-height: 1.4; color: var(--text-muted); box-shadow: var(--shadow);
  z-index: 10; text-transform: none; font-weight: 400;
}
.tooltip:hover .tooltip-box, .tooltip:focus .tooltip-box, .tooltip:focus-within .tooltip-box { display: block; }

/* Homepage nav cards */
.nav-cards { padding-top: 56px; padding-bottom: 72px; }
.nav-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) {
  .nav-cards-grid { grid-template-columns: 1fr; }
}
.nav-card {
  display: flex; flex-direction: column; gap: 14px; background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; text-decoration: none; color: var(--text);
  transition: border-color 0.2s ease, transform 0.25s cubic-bezier(.2,.7,.3,1), box-shadow 0.25s ease;
}
.nav-card:hover { border-color: var(--accent-strong); transform: translateY(-6px); text-decoration: none; box-shadow: 0 22px 42px -20px rgba(20, 22, 30, 0.3); }
.nav-card-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-strong);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s cubic-bezier(.2,.7,.3,1), background 0.25s ease, color 0.25s ease;
}
.nav-card-icon .icon { width: 22px; height: 22px; }
.nav-card:hover .nav-card-icon { transform: scale(1.08) rotate(-4deg); background: var(--accent); color: var(--accent-contrast); }
.nav-card h3 { font-size: 1.1rem; margin: 0; }
.nav-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; flex: 1; }
.nav-card-link { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--accent-strong); }
.nav-card-link .icon { width: 15px; height: 15px; transition: transform 0.2s ease; }
.nav-card:hover .nav-card-link .icon { transform: translateX(4px); }

/* Ratgeber-Übersicht */
.ratgeber-list { padding-top: 8px; padding-bottom: 72px; }
.ratgeber-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.ratgeber-card {
  display: flex; flex-direction: column; gap: 14px; background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; text-decoration: none; color: var(--text);
  transition: border-color 0.2s ease, transform 0.25s cubic-bezier(.2,.7,.3,1), box-shadow 0.25s ease;
}
.ratgeber-card:hover { border-color: var(--accent-strong); transform: translateY(-6px); text-decoration: none; box-shadow: 0 22px 42px -20px rgba(20, 22, 30, 0.3); }
.ratgeber-card:hover .nav-card-icon { transform: scale(1.08) rotate(-4deg); background: var(--accent); color: var(--accent-contrast); }
.ratgeber-card h3 { font-size: 1.08rem; margin: 0; line-height: 1.3; }
.ratgeber-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; flex: 1; }
.ratgeber-card:hover .nav-card-link .icon { transform: translateX(4px); }

/* Auto-Check / wizard */
.finder { padding-top: 32px; padding-bottom: 64px; }
.progress-rail { display: flex; align-items: center; gap: 0; max-width: 560px; margin: 0 auto 36px; }
.progress-step {
  flex: 1; text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: var(--track);
  text-transform: uppercase; color: var(--text-faint); padding-bottom: 12px; border-bottom: 2px solid var(--line-strong);
  position: relative;
}
.progress-step.active { color: var(--accent-strong); border-color: var(--accent-strong); }
.progress-step.done { color: var(--text); border-color: var(--text-faint); }

.wizard-card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 36px; max-width: 720px; margin: 0 auto;
}
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: stepIn 0.4s cubic-bezier(.2,.7,.3,1); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.wizard-step h3 { margin-top: 0; font-size: 1.15rem; margin-bottom: 20px; }

.range-label { display: flex; flex-direction: column; gap: 10px; font-weight: 600; font-size: 0.85rem; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--text-muted); }
.range-label input[type="range"] { width: 100%; accent-color: var(--accent-strong); }
.range-label output { font-family: var(--font-head); font-weight: 700; color: var(--text); font-size: 1.1rem; text-transform: none; letter-spacing: 0; }

.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 6px; }
.body-chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--text-muted); cursor: pointer; font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; font-family: var(--font-body);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.body-chip:hover { border-color: var(--accent-strong); color: var(--text); }
.body-chip.active { background: var(--accent-tint); border-color: var(--accent-strong); color: var(--accent-strong); }
.body-chip:active { transform: scale(0.95); }

.radio-row { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.radio-row label { display: flex; gap: 10px; align-items: center; font-size: 0.95rem; }

.weight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 18px 0; }
.weight-grid label { display: flex; flex-direction: column; gap: 9px; font-weight: 600; font-size: 0.82rem; color: var(--text-muted); }
.weight-grid label .label-row { display: flex; align-items: center; gap: 7px; color: var(--text); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.03em; }
.weight-grid .icon { color: var(--accent-strong); }
.weight-grid input[type="range"] { accent-color: var(--accent-strong); }

.wizard-nav { display: flex; justify-content: space-between; margin-top: 28px; }

/* Results */
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; padding-bottom: 20px; }
.empty-hint { text-align: center; color: var(--text-faint); grid-column: 1 / -1; padding: 30px 0; }

.car-card {
  background: var(--ink-2); border: 1px solid var(--line); border-top: 3px solid var(--type-color, var(--accent-strong));
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  animation: cardRise 0.5s cubic-bezier(.2,.7,.3,1) backwards;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.car-card:hover { transform: translateY(-4px); box-shadow: 0 20px 38px -20px rgba(20, 22, 30, 0.3); }
.car-card-head { display: flex; justify-content: space-between; align-items: baseline; }
.type-tag { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: var(--track); text-transform: uppercase; color: var(--type-color, var(--accent-strong)); }
.type-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--type-color, var(--accent-strong)); }
.type-ev { --type-color: var(--accent-strong); }
.type-benzin { --type-color: var(--rust); }
.type-diesel { --type-color: var(--steel); }
.type-hybrid { --type-color: var(--gold); }

.match-wrap { text-align: right; }
.match-value { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; }
.match-bar { width: 70px; height: 3px; background: var(--line-strong); border-radius: 2px; margin-top: 5px; overflow: hidden; }
.match-bar span { display: block; height: 100%; background: var(--accent-strong); }

.car-card h3 { font-size: 1.2rem; }
.car-sub { margin: 0; color: var(--text-muted); font-size: 0.85rem; }

.spec-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.spec-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; }
.spec-row span { color: var(--text-muted); }
.spec-row strong { font-weight: 600; }
.spec-row.eco strong { color: var(--accent-strong); }

.btn-compare {
  margin-top: 4px; padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: transparent; color: var(--text); font-weight: 600; cursor: pointer;
  font-size: 0.78rem; letter-spacing: 0.03em; text-transform: uppercase; font-family: var(--font-body);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-compare.active { background: var(--accent-tint); border-color: var(--accent-strong); color: var(--accent-strong); }

/* Comparison + charts */
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-bottom: 30px; }
.chart-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }

/* Model catalog (Marken & Modelle) */
.catalog { padding-top: 48px; padding-bottom: 48px; }
.catalog-controls { display: flex; justify-content: center; margin: 22px 0 6px; }
.catalog-controls select {
  padding: 11px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--ink-2); color: var(--text); font-family: var(--font-body); font-size: 0.95rem; min-width: 240px;
}
.catalog-results { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.model-chip {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--ink-2); font-size: 0.82rem; color: var(--text-muted); cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.model-chip:hover { border-color: var(--accent-strong); color: var(--text); }
.model-chip:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.model-chip.has-data { border-color: var(--accent-strong); color: var(--accent-strong); font-weight: 600; }
.model-chip.has-data:hover { background: var(--accent-tint); }

/* AI advisor (lokal via Ollama) */
.advisor { padding-top: 48px; padding-bottom: 48px; }
.advisor-box { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin: 24px auto 0; }
.advisor-box textarea {
  padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--ink-2); color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
  min-height: 90px; resize: vertical;
}
.advisor-box .btn-primary { align-self: flex-end; }
.advisor-answer {
  max-width: 640px; margin: 18px auto 0; background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; white-space: pre-wrap;
  font-size: 0.92rem; line-height: 1.6;
}

/* Charging finder */
.charging-counter {
  display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap;
  text-align: center; margin: 0 0 24px; padding: 18px 20px; background: var(--accent-tint);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.charging-counter strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--accent-strong); }
.charging-counter span { font-size: 0.85rem; color: var(--text-muted); max-width: 320px; text-align: left; }
.charging { padding-top: 32px; padding-bottom: 64px; }
.charging-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: center; margin: 26px 0 14px; }
.charging-controls input[type="text"] {
  padding: 11px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--ink-2); color: var(--text); min-width: 200px; font-family: var(--font-body); font-size: 0.92rem;
}
.radius-label { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; color: var(--text-muted); }
.radius-label select {
  padding: 8px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--ink-2); color: var(--text); font-family: var(--font-body);
}
.charging-status { text-align: center; min-height: 1.2em; margin: 6px 0 18px; font-size: 0.85rem; }
.charging-map { height: 420px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 22px; background: var(--ink-2); }
.charging-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.fallback-note {
  grid-column: 1 / -1; background: var(--accent-tint); color: var(--accent-strong); padding: 11px 15px;
  border-radius: var(--radius-sm); font-size: 0.82rem; margin: 0 0 4px; border: 1px solid var(--line);
}
.station-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.station-card h4 { margin: 0 0 6px; font-size: 0.98rem; font-family: var(--font-body); font-weight: 600; }
.station-card p { margin: 2px 0; font-size: 0.85rem; }
.lookup-source { text-align: center; font-size: 0.78rem; margin-top: 14px; }

/* Home/public charging decision + tabs */
.charging-decision {
  max-width: 640px; margin: 28px auto 32px; background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; text-align: center;
}
.charging-decision-q { font-weight: 600; margin-bottom: 16px; }
.charging-decision-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.charging-unsure-info { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); text-align: left; }
.charging-unsure-info ul { margin: 10px 0 18px; padding-left: 20px; color: var(--text-muted); font-size: 0.88rem; }
.charging-unsure-info li { margin-bottom: 6px; }
.charging-unsure-info .charging-decision-btns { justify-content: flex-start; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.public-tips { margin-bottom: 36px; }
.public-tips h3 { margin: 4px 0 16px; }
.tip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tip-card {
  position: relative; overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tip-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); transform: scaleX(0.18); transform-origin: left; transition: transform 0.35s ease; }
.tip-card:hover { transform: translateY(-4px); box-shadow: 0 20px 38px -20px rgba(20, 22, 30, 0.3); border-color: var(--accent-strong); }
.tip-card:hover::before { transform: scaleX(1); }
.tip-head { display: flex; align-items: center; justify-content: space-between; }
.tip-ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-strong); color: var(--accent); }
.tip-ico .icon { width: 20px; height: 20px; color: var(--accent); }
.tip-num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--line-strong); }
.tip-card h4 { margin: 2px 0 0; font-size: 1.05rem; line-height: 1.3; font-family: var(--font-body); font-weight: 700; color: var(--text); }
.tip-lead { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--text); }
.tip-facts { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; flex: 1; }
.tip-facts li { position: relative; padding-left: 20px; font-size: 0.84rem; line-height: 1.5; color: var(--text-muted); }
.tip-facts li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.tip-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tip-links a {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px;
  background: var(--ink-3); border: 1px solid var(--line); color: var(--accent-strong);
  font-size: 0.78rem; font-weight: 600; text-decoration: none; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tip-links a:hover { background: var(--accent-strong); color: #fff; border-color: var(--accent-strong); }
.tip-links a .icon { width: 13px; height: 13px; }

.joya-banner {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: center;
  margin: 0 0 18px; padding: 26px 28px; border-radius: var(--radius);
  background: var(--accent-strong); color: #eef4f2; position: relative; overflow: hidden;
}
.joya-banner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(159, 214, 46, 0.28), rgba(159, 214, 46, 0) 70%); pointer-events: none; }
.joya-main, .joya-stats { position: relative; z-index: 1; }
.joya-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-contrast); font-size: 0.7rem; font-weight: 700; letter-spacing: var(--track); text-transform: uppercase; }
.joya-banner h4 { margin: 10px 0 6px; font-size: 1.3rem; line-height: 1.25; font-family: var(--font-head); font-weight: 700; color: #fff; }
.joya-banner p { margin: 0 0 14px; font-size: 0.88rem; line-height: 1.55; color: rgba(238, 244, 242, 0.82); max-width: 56ch; }
.joya-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-contrast); font-size: 0.82rem; font-weight: 700; text-decoration: none; transition: transform 0.15s ease; }
.joya-link:hover { transform: translateX(3px); }
.joya-link .icon { width: 14px; height: 14px; }
.joya-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.joya-stats li { display: flex; align-items: baseline; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); }
.joya-stats strong { flex: 0 0 auto; min-width: 7.2ch; font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--accent); letter-spacing: -0.01em; }
.joya-stats span { font-size: 0.8rem; line-height: 1.35; color: rgba(238, 244, 242, 0.8); }

@media (max-width: 960px) {
  .tip-grid { grid-template-columns: 1fr; }
  .joya-banner { grid-template-columns: 1fr; padding: 22px 20px; gap: 18px; }
}

.home-controls { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; margin: 20px 0 26px; }
.home-check { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.home-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.wallbox-card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px; cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  animation: cardRise 0.5s cubic-bezier(.2,.7,.3,1) backwards;
}
.wallbox-card:hover { border-color: var(--accent-strong); transform: translateY(-4px); box-shadow: 0 20px 38px -20px rgba(20, 22, 30, 0.3); }
.wallbox-card:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.wallbox-card h4 { margin: 0 0 4px; font-size: 1rem; font-family: var(--font-body); font-weight: 600; }
.wallbox-card .wallbox-brand { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; display: block; }
.wallbox-card .spec-row { font-size: 0.85rem; }
.wallbox-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; }
.wallbox-tag.ac { background: var(--accent-tint); color: var(--accent-strong); }
.wallbox-tag.dc { background: rgba(180, 130, 60, 0.16); color: var(--gold); }

.wallbox-toggle {
  display: flex; align-items: center; gap: 6px; margin-top: 12px;
  color: var(--accent-strong); font-weight: 600; font-size: 0.82rem;
}
.wallbox-toggle .icon { width: 14px; height: 14px; }

.wallbox-details-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); margin: 18px 0 8px; }
.feature-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.feature-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.feature-yes { color: var(--accent-strong); }
.feature-no { color: var(--text-faint); }
.feature-unknown { color: var(--text-faint); font-size: 0.8rem; }
.wallbox-description { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 12px; }
.vehicle-list { margin: 0; padding-left: 18px; font-size: 0.82rem; color: var(--text-muted); }
.vehicle-list li { margin-bottom: 4px; }

/* Wallbox-Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15, 16, 24, 0.5); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 100;
}
.modal-overlay.hidden { display: none; }
.modal-box {
  background: var(--ink-2); border-radius: var(--radius); box-shadow: var(--shadow);
  max-width: 540px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 30px; position: relative;
}
.modal-box h3 { font-size: 1.25rem; margin-bottom: 2px; }
.modal-box .spec-list { border-top: 1px solid var(--line); margin-top: 14px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--ink-3); color: var(--text);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.modal-close .icon { width: 16px; height: 16px; }
.modal-close:hover { border-color: var(--accent-strong); color: var(--accent-strong); }

/* Leaflet dark-mode integration */
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--ink-2); color: var(--text); box-shadow: var(--shadow); }
.leaflet-popup-content { font-family: var(--font-body); font-size: 0.85rem; margin: 12px 14px; }
.leaflet-control-zoom a { background: var(--ink-2) !important; color: var(--text) !important; border-color: var(--line) !important; }
.leaflet-div-icon.charging-marker-wrap { background: transparent; border: none; }
.charging-marker { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-strong); border: 3px solid var(--ink-2); box-shadow: 0 0 0 1px var(--line-strong); }

/* Education */
.education { padding-top: 32px; padding-bottom: 40px; }
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.fact-card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.fact-card:hover { transform: translateY(-4px); box-shadow: 0 20px 38px -20px rgba(20, 22, 30, 0.3); border-color: var(--accent-strong); }
.fact-card .icon { width: 20px; height: 20px; color: var(--accent-strong); margin-bottom: 10px; }
.fact-card h4 { margin: 0 0 8px; font-size: 0.98rem; font-family: var(--font-body); font-weight: 600; }
.fact-card p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

.section-lead { max-width: 680px; margin: 0 auto 28px; text-align: center; }
.section-lead h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 10px; }
.section-lead p { margin: 0; color: var(--text-muted); }

/* Impact-Banner: der provokative Breakeven-Punkt */
.impact-banner {
  background: var(--accent-strong); color: #fff; border-radius: var(--radius);
  padding: 44px 28px; text-align: center; margin: 8px 0 36px;
}
.impact-banner .impact-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: var(--track); text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.impact-banner .impact-number {
  display: block; font-family: var(--font-head); font-weight: 700; line-height: 1;
  font-size: clamp(2.6rem, 8vw, 4.4rem); color: var(--accent); margin-bottom: 14px;
}
.impact-banner .impact-number small { font-size: 0.35em; font-weight: 600; color: rgba(255,255,255,0.85); }
.impact-banner p { max-width: 620px; margin: 0 auto; color: rgba(255,255,255,0.88); font-size: 1.02rem; }
.impact-banner .impact-note { margin-top: 16px; font-size: 0.78rem; color: rgba(255,255,255,0.55); }

/* Mythos vs. Realitaet */
.myth-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 8px 0 44px; }
.myth-card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 28px; display: grid; gap: 20px;
  transition: box-shadow 0.25s ease;
}
.myth-card:hover { box-shadow: 0 22px 42px -22px rgba(20, 22, 30, 0.3); }
@media (min-width: 860px) {
  .myth-card.with-chart { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
}
.myth-tag, .reality-tag {
  display: inline-flex; align-items: center; gap: 7px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: var(--track); text-transform: uppercase; margin-bottom: 8px;
}
.myth-tag { color: var(--rust); }
.myth-tag::before { content: "✕"; }
.reality-tag { color: var(--accent-strong); }
.reality-tag::before { content: "✓"; }
.myth-claim {
  font-size: 1.08rem; font-weight: 600; color: var(--text-faint);
  text-decoration: line-through; text-decoration-color: var(--rust); text-decoration-thickness: 2px;
  margin: 0 0 14px;
}
.myth-card .reality-text { margin: 0; color: var(--text); }
.myth-card .reality-text + .reality-text { margin-top: 10px; }
.myth-card .mini-chart { height: 220px; position: relative; }

/* Provokativer Abschluss */
.cta-banner { text-align: center; background: var(--ink-3); border-radius: var(--radius); padding: 48px 28px; margin: 8px 0; }
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { max-width: 540px; margin: 0 auto 24px; color: var(--text-muted); }

/* Footer */
.site-footer { padding: 34px 0 90px; text-align: center; color: var(--text-faint); font-size: 0.78rem; border-top: 1px solid var(--line); margin-top: 20px; }
.footer-links { display: flex; justify-content: center; gap: 18px; margin-top: 14px; }
.footer-links a { color: var(--text-faint); text-decoration: none; }
.footer-links a:hover { color: var(--text-muted); text-decoration: underline; }

/* Legal pages (Impressum, Datenschutz) */
.legal { padding-top: 48px; padding-bottom: 64px; }
.legal .container { max-width: 760px; }
.legal h2 { margin: 36px 0 12px; font-size: 1.2rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { color: var(--text-muted); margin: 0 0 14px; }
.legal address { font-style: normal; color: var(--text-muted); line-height: 1.7; }
.legal ul { color: var(--text-muted); margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal .updated-note { font-size: 0.78rem; color: var(--text-faint); margin-top: 40px; }
.legal figure { margin: 16px 0 20px; }
.legal figure img { width: 100%; max-width: 420px; display: block; margin: 0 auto; border-radius: var(--radius-sm); border: 1px solid var(--line); box-shadow: var(--shadow); }
.legal figcaption { text-align: center; font-size: 0.78rem; color: var(--text-faint); margin-top: 8px; }

/* Kantonsseiten und Kostenseiten */
.tax-summary {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 24px; margin: 8px 0 28px;
}
.tax-summary h2 { margin: 10px 0 8px !important; }
.tax-summary p { margin: 0; color: var(--text); }
.tax-badge {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 4px 10px; border-radius: 999px; background: var(--ink-3); color: var(--steel);
}
.tax-badge.befreit { background: var(--accent-tint); color: var(--accent-strong); }
.tax-badge.reduziert { background: rgba(180, 130, 60, 0.16); color: var(--gold); }
.tax-badge.keine_ermaessigung { background: rgba(163, 73, 44, 0.12); color: var(--rust); }
.tax-badge.spezialtarif { background: var(--ink-3); color: var(--steel); }
.canton-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.canton-links a {
  font-size: 0.8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--ink-2); color: var(--text-muted);
}
.canton-links a:hover { border-color: var(--accent-strong); color: var(--accent-strong); text-decoration: none; }
.source-list a { word-break: break-word; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; }
.canton-table, .cost-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.canton-table th, .canton-table td, .cost-table th, .cost-table td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line);
}
.canton-table th, .cost-table th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: var(--track); color: var(--text-faint); }
.cost-table td.num, .cost-table th.num { text-align: right; white-space: nowrap; }
.cost-table tr.total td { font-weight: 700; color: var(--text); border-top: 2px solid var(--line-strong); }
.cost-note { font-size: 0.8rem; }
.cost-calc {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 24px; margin: 0 0 18px;
}
.cost-calc label { display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text); }
.cost-calc output { font-weight: 700; color: var(--accent-strong); }
.cost-calc input[type="number"] {
  padding: 9px 11px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  font: inherit; background: var(--ink); color: var(--text); max-width: 160px;
}
.cost-calc .cost-note { grid-column: 1 / -1; margin: 0; }
@media (max-width: 640px) { .cost-calc { grid-template-columns: 1fr; } }

/* Compare tray */
.compare-tray {
  position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%);
  background: var(--ink-2); color: var(--text); border: 1px solid var(--line-strong); padding: 14px 22px;
  border-radius: var(--radius); display: flex; align-items: center; gap: 18px; box-shadow: var(--shadow);
  transition: bottom 0.25s ease; z-index: 30; font-size: 0.85rem;
}
.compare-tray.visible { bottom: 24px; }
.compare-tray .btn-primary { padding: 9px 16px; font-size: 0.75rem; }

@media (max-width: 860px) {
  .hero-top { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .hero-top .eyebrow { justify-content: center; }
  .hero-top .eyebrow::before { display: none; }
  .hero-media { order: -1; }
  .hero-media img { max-height: 260px; }
}

@media (max-width: 920px) {
  .header-inner { flex-wrap: wrap; row-gap: 10px; }
  .site-header nav { order: 3; width: 100%; justify-content: center; gap: 20px; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 1.7rem; }
  .weight-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .hero-stats .stat:first-child { border-top: none; }
}
/* Trefferliste: Werkzeugleiste, Hinweise, Mehr anzeigen */
.results-toolbar {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px; margin: 0 0 4px;
}
.results-count { margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.results-sort { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.results-sort select {
  padding: 8px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  font: inherit; font-weight: 500; background: var(--ink-2); color: var(--text);
}
.results-more { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 6px; }
.car-notes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; align-items: center; }
.car-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.01em; padding: 3px 9px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent-strong);
}
.car-why { font-size: 0.76rem; color: var(--text-faint); }
/* Schnellwahl, Filter, Aufschlüsselung der Bewertung */
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.preset-chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--ink-2); color: var(--text-muted); font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.preset-chip:hover { border-color: var(--accent-strong); color: var(--accent-strong); }
.preset-chip.active { background: var(--accent-tint); border-color: var(--accent-strong); color: var(--accent-strong); }
.filter-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; margin: 18px 0 4px; }
.filter-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 600; }
.filter-grid select {
  padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  font: inherit; background: var(--ink-2); color: var(--text);
}
@media (max-width: 640px) { .filter-grid { grid-template-columns: 1fr; } }
.why-details { margin: 0 0 12px; font-size: 0.8rem; }
.why-details summary { cursor: pointer; color: var(--accent-strong); font-weight: 600; }
.why-row { display: grid; grid-template-columns: 1fr 90px 28px; align-items: center; gap: 10px; margin-top: 8px; }
.why-label { display: flex; flex-direction: column; color: var(--text); font-weight: 600; }
.why-label small { font-weight: 400; color: var(--text-faint); font-size: 0.7rem; }
.why-bar { height: 6px; border-radius: 99px; background: var(--ink-3); overflow: hidden; }
.why-bar span { display: block; height: 100%; background: var(--accent-strong); border-radius: 99px; }
.why-row strong { text-align: right; }
.why-note { margin: 10px 0 0; font-size: 0.72rem; color: var(--text-faint); line-height: 1.5; }
.results-count small { color: var(--text-faint); font-size: 0.75rem; }
.car-estimate { margin-left: 8px; font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(180, 130, 60, 0.16); color: var(--gold); cursor: help; }
/* Direktvergleich */
.compare-box { max-width: 980px; max-height: 92vh; padding: 28px 28px 24px; }
.compare-box h3 { font-size: 1.5rem; margin-bottom: 4px; }
.cmp-sub { margin: 0 0 14px; font-size: 0.85rem; }
.cmp-verdict {
  list-style: none; margin: 0 0 18px; padding: 16px 18px; background: var(--accent-tint);
  border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; gap: 8px; font-size: 0.92rem;
}
.cmp-verdict li { padding-left: 22px; position: relative; }
.cmp-verdict li::before { content: "→"; position: absolute; left: 0; color: var(--accent-strong); font-weight: 700; }
.cmp-table-wrap { overflow-x: auto; margin: 0 -4px 18px; padding: 0 4px; }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.88rem; min-width: calc(120px + var(--cols) * 150px); }
.cmp-table th, .cmp-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp-table tbody th[scope="row"] {
  position: sticky; left: 0; background: var(--ink-2); font-weight: 600; color: var(--text-muted); width: 120px; z-index: 1;
}
.cmp-car { background: var(--ink-3); border-radius: var(--radius-sm) var(--radius-sm) 0 0; min-width: 150px; }
.cmp-car strong { display: block; font-size: 0.98rem; }
.cmp-car small { display: block; color: var(--text-faint); font-weight: 500; margin: 2px 0 8px; }
.cmp-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.cmp-remove {
  border: 0; background: none; padding: 0; font: inherit; font-size: 0.75rem; color: var(--text-faint);
  text-decoration: underline; cursor: pointer;
}
.cmp-remove:hover { color: var(--rust); }
.cmp-group th {
  background: none; color: var(--accent-strong); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: var(--track); padding-top: 18px; border-bottom: 2px solid var(--line-strong);
}
.cmp-cell { min-width: 130px; }
.cmp-val { display: block; font-weight: 700; color: var(--text); }
.cmp-flag { margin-left: 6px; color: var(--accent-strong); font-weight: 800; }
.cmp-bar { display: block; height: 5px; border-radius: 99px; background: var(--ink-3); margin: 6px 0 2px; overflow: hidden; }
.cmp-bar span { display: block; height: 100%; border-radius: 99px; opacity: 0.85; }
.cmp-delta { display: block; font-size: 0.74rem; color: var(--text-faint); }
.cmp-cell.best { background: var(--accent-tint); }
.cmp-strong th[scope="row"], .cmp-strong .cmp-val { color: var(--text); }
.cmp-strong td, .cmp-strong th { border-top: 1px solid var(--line-strong); }
.cmp-chart-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.cmp-chart-head h4 { margin: 0; font-size: 1rem; }
.cmp-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; background: var(--ink-2); }
.cmp-toggle button {
  border: 0; background: none; padding: 5px 14px; border-radius: 999px; font: inherit; font-size: 0.8rem; font-weight: 600;
  color: var(--text-muted); cursor: pointer;
}
.cmp-toggle button.active { background: var(--accent-strong); color: #fff; }
.cmp-chart { height: 280px; margin-bottom: 12px; }
.cmp-note { font-size: 0.78rem; color: var(--text-faint); margin: 0; }
.tray-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 12px; border-radius: 999px;
  background: var(--ink-3); border: 1px solid var(--line); font-weight: 600; font-size: 0.8rem; white-space: nowrap;
}
.tray-chip-x {
  border: 0; background: var(--ink-2); width: 20px; height: 20px; border-radius: 50%; cursor: pointer; color: var(--text-muted);
  font-size: 0.95rem; line-height: 1; padding: 0;
}
.tray-chip-x:hover { color: var(--rust); }
#compare-tray-text { display: flex; gap: 8px; flex-wrap: wrap; }
.compare-tray .btn-primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
@media (max-width: 640px) {
  .compare-box { padding: 20px 14px 18px; max-height: 94vh; }
  .cmp-table { min-width: calc(86px + var(--cols) * 112px); font-size: 0.8rem; }
  .cmp-table th, .cmp-table td { padding: 8px 8px; }
  .cmp-table tbody th[scope="row"] { width: 86px; }
  .cmp-car { min-width: 112px; }
  .cmp-cell { min-width: 100px; }
  .compare-tray { width: calc(100% - 24px); flex-wrap: wrap; justify-content: center; gap: 10px; }
}

/* Kontakt- und Bewertungsseiten */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.fb-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; padding-top: 12px; padding-bottom: 64px; }
.fb-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.fb-card h2 { margin: 0 0 18px; font-size: 1.25rem; }
.fb-form { display: flex; flex-direction: column; gap: 16px; }
.fb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fb-field { display: flex; flex-direction: column; gap: 6px; }
.fb-field > span, .fb-stars legend { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.fb-field small { font-size: 0.76rem; color: var(--text-faint); }
.fb-field input, .fb-field select, .fb-field textarea {
  padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--ink); color: var(--text); font-family: var(--font-body); font-size: 0.92rem; width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fb-field textarea { resize: vertical; min-height: 120px; }
.fb-field input:focus, .fb-field select:focus, .fb-field textarea:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--accent-tint); }
.fb-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; line-height: 1.5; color: var(--text-muted); }
.fb-consent input { margin-top: 3px; accent-color: var(--accent-strong); flex: 0 0 auto; }
.fb-consent a { color: var(--accent-strong); font-weight: 600; }
.fb-submit { align-self: flex-start; cursor: pointer; font-family: var(--font-body); }
.fb-submit:disabled { opacity: 0.55; cursor: wait; transform: none; box-shadow: none; }
.fb-status { min-height: 1.2em; font-size: 0.86rem; }
.fb-status.error { color: var(--rust); font-weight: 600; }
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb-done { padding: 22px; border-radius: var(--radius-sm); background: var(--accent-tint); border: 1px solid var(--line); }
.fb-done strong { display: block; font-size: 1.05rem; margin-bottom: 4px; color: var(--accent-strong); }
.fb-done p { margin: 0; color: var(--text-muted); }
.fb-aside { display: flex; flex-direction: column; gap: 16px; }
.fb-note { background: var(--accent-strong); color: #eef4f2; border-radius: var(--radius); padding: 22px; }
.fb-note + .fb-note { background: var(--ink-2); color: var(--text); border: 1px solid var(--line); }
.fb-note h3 { margin: 0 0 8px; font-size: 1.02rem; }
.fb-note p { margin: 0; font-size: 0.88rem; line-height: 1.55; opacity: 0.9; }
.fb-note a { color: inherit; font-weight: 700; text-decoration: underline; }

.fb-stars { border: 0; margin: 0; padding: 0; }
.stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; margin-top: 6px; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { cursor: pointer; font-size: 2rem; line-height: 1; color: var(--line-strong); transition: color 0.12s ease, transform 0.12s ease; }
.stars-input label::before { content: "\2605"; }
.stars-input label:hover, .stars-input label:hover ~ label, .stars-input input:checked ~ label { color: #e0a82e; }
.stars-input label:hover { transform: scale(1.12); }
.stars-input input:focus-visible + label { outline: 2px solid var(--accent-strong); outline-offset: 2px; border-radius: 4px; }

.rev-box { display: flex; flex-direction: column; gap: 16px; }
.rev-empty { margin: 0; padding: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--text-muted); text-align: center; }
.rev-summary { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.rev-summary[hidden] { display: none; }
.rev-avg { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 120px; }
.rev-avg > span:first-child { font-size: 0.72rem; font-weight: 700; letter-spacing: var(--track); text-transform: uppercase; color: var(--text-faint); }
.rev-avg strong { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; color: var(--accent-strong); }
.rev-avg small { font-size: 0.78rem; color: var(--text-muted); }
.rev-stars { color: #e0a82e; letter-spacing: 1px; }
.rev-bars { display: flex; flex-direction: column; gap: 6px; }
.rev-bar-row { display: grid; grid-template-columns: 34px 1fr 24px; gap: 10px; align-items: center; font-size: 0.78rem; color: var(--text-muted); }
.rev-bar { height: 8px; border-radius: 99px; background: var(--ink-3); overflow: hidden; }
.rev-bar > span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.rev-bar-n { text-align: right; }
.rev-list { display: flex; flex-direction: column; gap: 12px; }
.rev-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.rev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 8px; }
.rev-head time { margin-left: auto; font-size: 0.78rem; color: var(--text-faint); }
.rev-card p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--text-muted); }

@media (max-width: 900px) {
  .fb-grid { grid-template-columns: 1fr; }
  .fb-row { grid-template-columns: 1fr; }
  .rev-summary { grid-template-columns: 1fr; gap: 18px; }
  .fb-card { padding: 22px 18px; }
}
/* Feedback-Bereich ganz unten auf jeder Seite */
.feedback-strip { background: var(--ink-3); border-top: 1px solid var(--line); padding: 56px 0; margin-top: 48px; }
.fs-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.fs-intro h2 { margin: 4px 0 10px; font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.02em; }
.fs-intro p { margin: 0 0 16px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; max-width: 44ch; }
.fs-links { display: flex; flex-wrap: wrap; gap: 8px; }
.fs-links a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--ink-2); color: var(--accent-strong); font-size: 0.8rem; font-weight: 600; text-decoration: none; transition: background 0.15s ease, color 0.15s ease; }
.fs-links a:hover { background: var(--accent-strong); color: #fff; border-color: var(--accent-strong); }
.fs-card { padding: 22px 24px 24px; }
.fs-tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 999px; background: var(--ink-3); }
.fs-tabs button { flex: 1; padding: 9px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--text-muted); font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.fs-tabs button[aria-selected="true"] { background: var(--accent-strong); color: #fff; }
.fs-tabs button:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.fs-card [hidden] { display: none; }
@media (max-width: 900px) {
  .fs-inner { grid-template-columns: 1fr; gap: 24px; }
  .feedback-strip { padding: 40px 0; }
}