/* ─────────────────────────────────────────────────────────────────────
   frontscheibe-kosten.de — Editorial Tech Hybrid
   Bricolage Grotesque (Display) · Public Sans (Body) · JetBrains Mono (Numerik)
   OKLCH Token-System · WCAG 2.1 AA · Anti-AI-Slop
   ───────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300..800&family=JetBrains+Mono:wght@400;500;700&family=Public+Sans:wght@300..800&display=swap');

/* ─── 1. Tokens ─────────────────────────────────────────────────── */
:root {
  --bg:           oklch(99.2% 0.005 240);
  --surface:      oklch(98%   0.006 240);
  --surface-2:    oklch(96.5% 0.008 240);
  --surface-warm: oklch(97.5% 0.012 75);

  --line:         oklch(91% 0.012 240);
  --line-strong:  oklch(82% 0.018 240);
  --line-ink:     oklch(20% 0.02  250);

  --ink:          oklch(18% 0.02 250);
  --ink-soft:     oklch(38% 0.018 250);
  --ink-muted:    oklch(55% 0.014 250);
  --ink-faint:    oklch(72% 0.01 250);

  --primary:      oklch(54% 0.16 230);
  --primary-hi:   oklch(48% 0.17 230);
  --primary-lo:   oklch(94% 0.04 230);
  --on-primary:   oklch(99% 0.005 240);

  --accent-mint:  oklch(72% 0.16 165);
  --accent-mint-bg: oklch(95% 0.04 165);
  --accent-amber: oklch(74% 0.16 75);
  --accent-amber-bg: oklch(96% 0.045 75);
  --accent-rose:  oklch(64% 0.20 25);
  --accent-rose-bg: oklch(96% 0.035 25);

  /* Type-Scale (fluid, klare Stufen, weniger Skalierungs-Drift) */
  --step--1: clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);
  --step-0:  clamp(0.9375rem, 0.91rem + 0.13vw, 1rem);
  --step-1:  clamp(1.0625rem, 1.02rem + 0.20vw, 1.125rem);
  --step-2:  clamp(1.25rem,   1.18rem + 0.36vw, 1.4375rem);
  --step-3:  clamp(1.5rem,    1.39rem + 0.55vw, 1.75rem);
  --step-4:  clamp(1.875rem,  1.69rem + 0.95vw, 2.375rem);
  --step-5:  clamp(2.25rem,   1.96rem + 1.5vw,  3.0625rem);
  --step-6:  clamp(2.625rem,  2.18rem + 2.30vw, 3.875rem);

  /* Spacing */
  --s-1: 0.25rem; --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 2.75rem; --s-8: 4rem;
  --s-9: 5.5rem;  --s-10: 7rem;

  --r-2: 4px; --r-3: 6px; --r-4: 10px; --r-5: 14px; --r-6: 20px;
  --max-w: 1140px;
  --max-w-prose: 920px;
  --pad-x: clamp(20px, 4vw, 48px);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 140ms;
  --t-base: 240ms;

  --shadow-1: 0 1px 2px oklch(20% 0.02 250 / 0.04), 0 1px 3px oklch(20% 0.02 250 / 0.04);
  --shadow-2: 0 4px 12px oklch(20% 0.02 250 / 0.05), 0 2px 4px oklch(20% 0.02 250 / 0.04);
  --shadow-3: 0 12px 32px oklch(20% 0.02 250 / 0.08), 0 4px 8px oklch(20% 0.02 250 / 0.04);
}

/* ─── 2. Reset + Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; tab-size: 4; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11', 'kern';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
hr { border: 0; height: 1px; background: var(--line); margin: var(--s-6) 0; }
table { border-collapse: collapse; width: 100%; }
strong { font-weight: 700; color: var(--ink); }

.skip {
  position: absolute; top: -40px; left: 8px;
  background: var(--ink); color: var(--bg);
  padding: 8px 16px; border-radius: var(--r-3);
  font-weight: 600; z-index: 999;
  transition: top var(--t-fast) var(--ease-out-expo);
}
.skip:focus-visible { top: 8px; outline: 2px solid var(--primary); outline-offset: 2px; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--r-3);
}

/* ─── 3. Typography ─────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Bricolage Grotesque', 'Public Sans', sans-serif;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
  font-variation-settings: 'opsz' 32;
  margin: 0;
}
h1 {
  font-size: var(--step-5);
  font-variation-settings: 'opsz' 96;
  letter-spacing: -0.028em;
  line-height: 1.05;
}
h2 {
  font-size: var(--step-4);
  font-variation-settings: 'opsz' 64;
  letter-spacing: -0.024em;
  line-height: 1.1;
}
h3 {
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: -0.018em;
}
h4 {
  font-family: 'Public Sans', sans-serif;
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin: 0;
}
p {
  margin: 0;
  color: var(--ink-soft);
  text-wrap: pretty;
  max-width: 65ch;
}
p + p { margin-top: var(--s-3); }
.lead {
  font-size: var(--step-1);
  color: var(--ink);
  max-width: 56ch;
  line-height: 1.55;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: 'Public Sans', sans-serif;
  font-size: var(--step--1); font-weight: 600;
  color: var(--ink-soft); letter-spacing: 0.06em; text-transform: uppercase;
}
.eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--ink-soft);
}

.num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-feature-settings: 'tnum', 'zero';
  font-variant-numeric: tabular-nums;
}

::selection { background: var(--primary); color: var(--on-primary); }

/* ─── 4. Layout-Primitives ──────────────────────────────────────── */
.wrap        { max-width: var(--max-w); margin: 0 auto; padding-inline: var(--pad-x); }
.wrap-narrow { max-width: 880px;        margin: 0 auto; padding-inline: var(--pad-x); }
.wrap-prose  { max-width: var(--max-w-prose); margin: 0 auto; padding-inline: var(--pad-x); }

section { padding-block: clamp(var(--s-7), 6vw, var(--s-9)); }
.section-head { max-width: 60ch; margin: 0 auto var(--s-6); }
.section-head.left { margin-inline: 0; }
.section-head .eyebrow { margin-bottom: var(--s-3); }
.section-head h2 { margin-top: 0; margin-bottom: var(--s-3); }
.section-head p { margin-top: var(--s-3); }

/* ─── 5. Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--bg), transparent 6%);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3); height: 64px;
  max-width: 1400px;
}
.brand {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 1rem; letter-spacing: -0.018em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-mark {
  width: 30px; height: 30px;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  border-radius: var(--r-3);
  flex-shrink: 0;
}
.brand-mark svg { width: 16px; height: 16px; }

.nav-primary {
  display: none; gap: var(--s-1);
  font-size: var(--step--1); font-weight: 500; color: var(--ink-soft);
  align-items: center;
}
.nav-primary > a, .nav-primary > .nav-item > .nav-trigger {
  padding: 8px 12px; border-radius: var(--r-3);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
  color: var(--ink-soft);
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  border: 0;
  background: transparent;
  white-space: nowrap;
}
.nav-primary > a:hover, .nav-primary > .nav-item > .nav-trigger:hover { color: var(--ink); background: var(--surface-2); }
.nav-primary > a.is-active, .nav-primary > .nav-item > .nav-trigger.is-active { color: var(--ink); background: var(--surface-2); }
.nav-primary .nav-trigger svg.chevron {
  width: 12px; height: 12px;
  transition: transform var(--t-fast);
}
@media (min-width: 1080px) { .nav-primary { display: inline-flex; } }

/* ─── Mega-Menu-Dropdowns (CSS-only) ──────────────────────────── */
.nav-item {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 280px;
  max-width: 720px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  padding: var(--s-4);
  box-shadow: var(--shadow-3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease-out-expo), transform var(--t-fast) var(--ease-out-expo), visibility 0s linear var(--t-fast);
  z-index: 110;
}
.nav-dropdown::before {
  /* Hover-bridge */
  content: '';
  position: absolute;
  top: -8px; left: 0; right: 0; height: 8px;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.nav-item:hover .nav-trigger .chevron,
.nav-item:focus-within .nav-trigger .chevron {
  transform: rotate(180deg);
}

.nav-dropdown-grid {
  display: grid;
  gap: var(--s-1);
}
.nav-dropdown.cols-2 { min-width: 480px; }
.nav-dropdown.cols-2 .nav-dropdown-grid { grid-template-columns: repeat(2, 1fr); }
.nav-dropdown.cols-3 { min-width: 640px; }
.nav-dropdown.cols-3 .nav-dropdown-grid { grid-template-columns: repeat(3, 1fr); }
.nav-dropdown.cols-4 { min-width: 760px; }
.nav-dropdown.cols-4 .nav-dropdown-grid { grid-template-columns: repeat(4, 1fr); }

.nav-dropdown-section {
  display: grid;
  gap: 2px;
}
.nav-dropdown-section + .nav-dropdown-section {
  padding-top: var(--s-3);
  margin-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.nav-dropdown-label {
  display: block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted);
  padding: 4px 10px;
  margin-bottom: 2px;
}
.nav-dropdown a {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
  padding: 8px 10px;
  border-radius: var(--r-3);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast);
  text-decoration: none;
}
.nav-dropdown a:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.nav-dropdown a .item-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-muted);
  font-weight: 400;
  white-space: nowrap;
}
.nav-dropdown a .item-icon {
  width: 16px; height: 16px;
  color: var(--ink-faint);
  flex-shrink: 0;
}
.nav-dropdown .nav-dropdown-foot {
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-dropdown .nav-dropdown-foot a {
  background: var(--ink); color: var(--bg);
  font-weight: 600;
  padding: 8px 14px;
}
.nav-dropdown .nav-dropdown-foot a:hover {
  background: var(--primary);
}

/* Mobile-Drawer Akkordeon (für Erweiterung) */
.drawer details {
  margin-bottom: var(--s-3);
}
.drawer details > summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-3);
  border-radius: var(--r-3);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.9rem;
  cursor: pointer;
  background: var(--surface-2);
}
.drawer details > summary::-webkit-details-marker { display: none; }
.drawer details > summary::after {
  content: '';
  width: 12px; height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform var(--t-base) var(--ease-out-expo);
}
.drawer details[open] > summary::after { transform: rotate(180deg); }
.drawer details > div {
  padding: var(--s-2) 0;
  display: grid; gap: 2px;
}

/* ─── Header-Search (Desktop) ──────────────────────────────────── */
.header-search {
  display: none;
  position: relative;
  flex: 1 1 auto;
  min-width: 200px;
  max-width: 420px;
}
@media (min-width: 1080px) { .header-search { display: block; } }
.header-search input {
  width: 100%;
  padding: 9px 36px 9px 38px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  font-size: var(--step--1);
  font-family: inherit;
  color: var(--ink);
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.header-search input::placeholder { color: var(--ink-muted); }
.header-search input:focus {
  outline: none;
  background: var(--bg);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px oklch(54% 0.16 230 / 0.20);
}
.header-search .search-icon {
  position: absolute;
  left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--ink-muted);
  pointer-events: none;
}
.header-search .clear-btn {
  position: absolute;
  right: 8px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px;
  display: none;
  place-items: center;
  background: var(--surface);
  border: 0; border-radius: 50%;
  cursor: pointer;
  color: var(--ink-muted);
}
.header-search.has-value .clear-btn { display: grid; }
.header-search .clear-btn svg { width: 12px; height: 12px; }
.header-search .clear-btn:hover { background: var(--ink); color: var(--bg); }

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  min-width: 380px;
  background: var(--bg);
  border: 1px solid oklch(92% 0.005 230);
  border-radius: var(--r-5);
  box-shadow: 0 12px 48px oklch(20% 0.02 250 / 0.12), 0 4px 12px oklch(20% 0.02 250 / 0.06);
  max-height: 70vh;
  overflow-y: auto;
  display: none;
  z-index: 120;
  padding: var(--s-3);
  animation: search-pop 200ms var(--ease-out-expo) both;
}
@keyframes search-pop {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.header-search.has-value .search-results,
.header-search:focus-within .search-results.has-results { display: block; }
.search-results .search-empty {
  padding: var(--s-6) var(--s-4);
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.92rem;
  display: grid; gap: 4px;
}
.search-results .search-empty::before {
  content: '🔎'; display: block; font-size: 1.6rem; opacity: 0.4; margin-bottom: 4px;
}
.search-results .search-group {
  padding: var(--s-2) 0;
}
.search-results .search-group + .search-group {
  border-top: 1px solid oklch(94% 0.005 230);
  margin-top: 6px; padding-top: var(--s-3);
}
.search-results .search-group-label {
  display: inline-flex; align-items: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: oklch(38% 0.13 165);
  background: var(--accent-mint-bg);
  padding: 4px 10px; border-radius: 999px;
  margin: 0 0 var(--s-2) var(--s-2);
}
.search-results a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: var(--s-3);
  padding: 10px 12px;
  border-radius: var(--r-4);
  font-size: 0.95rem; line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast);
}
.search-results a:hover, .search-results a.is-focused {
  background: linear-gradient(90deg, var(--accent-mint-bg) 0%, oklch(98% 0.005 230) 100%);
  transform: translateX(2px);
}
.search-results a > span:first-child { font-weight: 500; }
.search-results a .item-meta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem; font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.search-results mark {
  background: oklch(94% 0.16 90);
  color: var(--ink);
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 700;
}

/* ─── Mobile-Search: Full-Screen-Overlay ─────────────────────── */
.mobile-search-trigger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink); cursor: pointer;
  transition: background var(--t-fast);
}
.mobile-search-trigger:hover { background: var(--surface); }
.mobile-search-trigger svg { width: 18px !important; height: 18px !important; }
@media (max-width: 1079px) {
  .mobile-search-trigger { display: inline-flex; }
}
.mobile-search-overlay {
  position: fixed; inset: 0;
  background: oklch(8% 0.01 230 / 0.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  padding: var(--s-5) var(--s-4);
  overflow-y: auto;
}
.mobile-search-overlay.is-open { display: block; animation: mso-fade 200ms var(--ease-out-expo) both; }
@keyframes mso-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.mobile-search-card {
  max-width: 640px; margin: 6vh auto 0;
  background: var(--bg);
  border-radius: var(--r-6);
  box-shadow: 0 20px 60px oklch(8% 0.02 230 / 0.4);
  overflow: hidden;
  display: flex; flex-direction: column;
  max-height: 85vh;
}
.mobile-search-head {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-4);
  border-bottom: 1px solid oklch(94% 0.005 230);
  position: relative;
}
.mobile-search-head svg.search-icon {
  width: 20px !important; height: 20px !important;
  color: var(--ink-muted); flex-shrink: 0;
}
.mobile-search-head input {
  flex: 1;
  border: 0; outline: 0; background: transparent;
  font-size: 1.1rem; font-family: inherit; color: var(--ink);
  padding: 6px 0;
}
.mobile-search-head input::placeholder { color: var(--ink-muted); }
.mobile-search-close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--surface-2); border: 0; border-radius: 50%;
  color: var(--ink); cursor: pointer;
  font-size: 1.4rem; line-height: 1;
}
.mobile-search-close svg { width: 16px !important; height: 16px !important; }
.mobile-search-body {
  flex: 1; overflow-y: auto;
  padding: var(--s-3);
}
.mobile-search-body .search-group { padding: var(--s-3) 0; }
.mobile-search-body .search-group + .search-group {
  border-top: 1px solid oklch(94% 0.005 230);
  margin-top: 4px;
}
.mobile-search-body .search-group-label {
  display: inline-flex; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: oklch(38% 0.13 165);
  background: var(--accent-mint-bg);
  padding: 4px 10px; border-radius: 999px;
  margin: 0 0 var(--s-3) var(--s-2);
}
.mobile-search-body a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: var(--s-3);
  padding: 14px 14px;
  font-size: 1rem;
  color: var(--ink); text-decoration: none;
  border-radius: var(--r-4);
}
.mobile-search-body a + a { margin-top: 2px; }
.mobile-search-body a:active { background: var(--accent-mint-bg); }
.mobile-search-body a > span:first-child { font-weight: 500; }
.mobile-search-body a .item-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem; color: var(--ink-muted);
  white-space: nowrap;
}
.mobile-search-body mark {
  background: oklch(94% 0.16 90); padding: 0 2px;
  border-radius: 2px; font-weight: 700;
}
.mobile-search-empty {
  padding: var(--s-7) var(--s-4);
  text-align: center; color: var(--ink-muted); font-size: 0.95rem;
}
.mobile-search-empty::before {
  content: '🔎'; display: block; font-size: 2rem; opacity: 0.3; margin-bottom: var(--s-3);
}
body.no-scroll { overflow: hidden; }

/* ─── Mobile-Menü (Full-Screen Overlay, Redesign 2026) ────────── */
.mobile-menu { position: relative; }
@media (min-width: 1080px) { .mobile-menu { display: none; } }

.mobile-menu > summary {
  list-style: none;
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--r-3);
  background: var(--surface-2);
  border: 1px solid var(--line);
  cursor: pointer;
  color: var(--ink);
  transition: background var(--t-fast), border-color var(--t-fast);
  position: relative;
  z-index: 210;
}
.mobile-menu > summary::-webkit-details-marker,
.mobile-menu > summary::marker { display: none; content: ''; }
.mobile-menu > summary:hover { background: var(--surface); border-color: var(--ink); }
.mobile-menu > summary svg { width: 22px; height: 22px; transition: opacity var(--t-fast); }
.mobile-menu > summary .icon-close { display: none; }
.mobile-menu[open] > summary { background: var(--ink); border-color: var(--ink); color: var(--bg); position: fixed; top: 11px; right: var(--pad-x); }
.mobile-menu[open] > summary .icon-burger { display: none; }
.mobile-menu[open] > summary .icon-close { display: inline-block; }

.mobile-menu .drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--bg);
  z-index: 200;
  padding: 76px var(--pad-x) calc(var(--s-7) + env(safe-area-inset-bottom));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  animation: drawer-in var(--t-base) var(--ease-out-expo);
}
@keyframes drawer-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.mobile-menu .drawer-search {
  position: relative;
  margin-bottom: var(--s-5);
}
.mobile-menu .drawer-search input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  font-size: var(--step-0);
  font-family: inherit;
  color: var(--ink);
}
.mobile-menu .drawer-search input:focus {
  outline: none;
  background: var(--bg);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px oklch(54% 0.16 230 / 0.20);
}
.mobile-menu .drawer-search .search-icon {
  position: absolute;
  left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--ink-muted);
  pointer-events: none;
}

.mobile-menu .drawer-section {
  padding: 0;
  border: 0;
}
.mobile-menu .drawer-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted); margin: 0;
  padding: var(--s-3) var(--s-3) var(--s-2);
}
.mobile-menu .drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-3);
  border-radius: var(--r-4);
  font-size: var(--step-0); font-weight: 500;
  color: var(--ink);
  transition: background var(--t-fast);
  text-decoration: none;
}
.mobile-menu .drawer-link:hover, .mobile-menu .drawer-link:focus { background: var(--surface-2); }
.mobile-menu .drawer-link svg {
  width: 16px; height: 16px;
  color: var(--ink-faint); flex-shrink: 0;
}
.mobile-menu .drawer-cta {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--s-3);
}

body:has(.mobile-menu[open]) { overflow: hidden; }

/* ─── Header-CTA (Desktop only — auf Mobile ausgeblendet) ──────── */
.header-cta {
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: var(--ink); color: var(--bg);
  padding: 10px 18px;
  border-radius: var(--r-4);
  font-weight: 600; font-size: var(--step--1);
  transition: background var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}
.header-cta:hover { background: var(--primary); }
.header-cta:active { transform: translateY(1px); }
.header-cta svg { width: 14px; height: 14px; }
@media (max-width: 1079px) {
  .header-cta { display: none; }
}

/* ─── 6. Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-block: clamp(var(--s-7), 6vw, var(--s-9)) clamp(var(--s-7), 5vw, var(--s-8));
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, oklch(94% 0.045 230 / 0.40), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero-meta {
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  font-size: var(--step--1); font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: var(--s-5);
}
.hero-meta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 0 4px oklch(72% 0.16 165 / 0.18);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  margin-bottom: var(--s-4);
  max-width: 18ch;
}
.hero h1 .lead-line { display: block; }
.hero h1 .accent {
  display: inline;
  background: linear-gradient(180deg, transparent 62%, oklch(72% 0.16 165 / 0.40) 62%);
  padding: 0 0.08em;
}

.hero .lead { margin-bottom: var(--s-6); max-width: 52ch; }

/* Big-Number-Display — Signature Move */
.price-display {
  margin-block: var(--s-6) var(--s-5);
  padding: clamp(var(--s-5), 3vw, var(--s-6)) clamp(var(--s-5), 3vw, var(--s-7));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-6);
  box-shadow: var(--shadow-2);
  max-width: 720px;
}
.price-display-label {
  font-family: 'Public Sans', sans-serif;
  font-size: var(--step--1); font-weight: 600; color: var(--ink-soft);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.price-display-range {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.75rem, 2rem + 4.5vw, 5rem);
  font-weight: 500;
  font-variation-settings: 'opsz' 96;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 0.18em;
  white-space: nowrap;
}
.price-display-range .num { font-family: 'JetBrains Mono', monospace; font-weight: 500; }
.price-display-range .sep {
  display: inline-block;
  width: 0.4em; height: 0.08em;
  background: var(--ink-faint);
  border-radius: 1px;
  align-self: center;
  flex-shrink: 0;
}
.price-display-range .currency {
  font-size: 0.45em;
  color: var(--ink-soft);
  align-self: center;
  margin-left: 0.05em;
}
.price-display-foot {
  margin-top: var(--s-4);
  display: flex; flex-wrap: wrap;
  gap: var(--s-2);
  font-size: var(--step--1); color: var(--ink-muted);
}
.price-display-foot .pip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line);
}
.price-display-foot .pip svg { width: 12px; height: 12px; color: var(--ink-soft); flex-shrink: 0; }

/* CTA Buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 13px 22px;
  border-radius: var(--r-4);
  font-weight: 600; font-size: var(--step-0);
  letter-spacing: -0.005em;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--primary); box-shadow: var(--shadow-2); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--ink); }
.btn-mint { background: var(--accent-mint); color: var(--ink); box-shadow: var(--shadow-1); }
.btn-mint:hover { background: oklch(64% 0.18 165); }

/* ─── 7. Surface-Sections ───────────────────────────────────────── */
.surface { background: var(--surface); border-block: 1px solid var(--line); }
.surface-2-bg { background: var(--surface-2); border-block: 1px solid var(--line); }

/* ─── 8. Faktoren-Grid ──────────────────────────────────────────── */
.factors-grid {
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .factors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .factors-grid { grid-template-columns: repeat(4, 1fr); } }

.factor {
  position: relative;
  padding: var(--s-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.factor:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.factor-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border-radius: var(--r-4);
  margin-bottom: var(--s-3);
}
.factor-icon svg { width: 18px; height: 18px; color: var(--ink); }
.factor h3 { font-size: var(--step-1); margin-bottom: var(--s-2); line-height: 1.2; }
.factor p { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: var(--s-3); line-height: 1.5; }
.factor-range {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem; font-weight: 600;
  color: var(--ink);
  display: flex; align-items: baseline; gap: var(--s-2);
  flex-wrap: wrap;
}
.factor-range .delta { font-family: 'Public Sans', sans-serif; font-size: 0.8rem; color: var(--ink-muted); font-weight: 400; }

/* ─── 9. Cost Matrix ────────────────────────────────────────────── */
.matrix-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-1);
}
.matrix-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix {
  width: 100%; min-width: 680px;
  font-size: var(--step--1);
}
.matrix thead th {
  text-align: left; padding: var(--s-4);
  background: var(--surface-2);
  font-weight: 700; color: var(--ink);
  letter-spacing: 0.02em; text-transform: uppercase; font-size: 0.72rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.matrix tbody td {
  padding: var(--s-4); border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix tbody tr:hover td { background: var(--surface-2); }
.matrix .vehicle { font-weight: 700; color: var(--ink); }
.matrix .vehicle-sub { display: block; font-weight: 400; font-size: 0.8rem; color: var(--ink-muted); margin-top: 2px; }
.matrix .price { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--ink); white-space: nowrap; }
.matrix .price-mint { color: oklch(50% 0.16 165); }
.matrix .price-amber { color: oklch(58% 0.18 65); }
.matrix .price-rose { color: oklch(54% 0.20 25); }
.matrix-foot {
  padding: var(--s-3) var(--s-4);
  background: var(--surface-2);
  font-size: 0.78rem; color: var(--ink-muted);
  border-top: 1px solid var(--line);
}

/* Brand-spezifische Marken-Tabelle */
.brand-prices {
  display: grid; gap: var(--s-3);
  grid-template-columns: 1fr;
  margin-top: var(--s-6);
}
@media (min-width: 720px) { .brand-prices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .brand-prices { grid-template-columns: repeat(3, 1fr); } }

.brand-card {
  padding: var(--s-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  display: flex; flex-direction: column;
  gap: var(--s-3);
}
.brand-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
}
.brand-card-name { font-weight: 700; font-size: var(--step-1); color: var(--ink); }
.brand-card-tag {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--r-2);
  background: var(--surface-2);
  color: var(--ink-soft);
  white-space: nowrap;
}
.brand-card-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--ink);
}
.brand-card-price .currency { font-size: 0.6em; color: var(--ink-soft); margin-left: 4px; }
.brand-card p { font-size: var(--step--1); margin: 0; color: var(--ink-soft); }

/* ─── 10. Compare Cards ─────────────────────────────────────────── */
.compare {
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .compare { grid-template-columns: 1fr 1fr; } }

.compare-card {
  position: relative;
  padding: var(--s-6);
  border-radius: var(--r-5);
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex; flex-direction: column;
}
.compare-card.repair { background: var(--accent-mint-bg); border-color: oklch(85% 0.06 165); }
.compare-tag {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
}
.compare-tag.go { background: var(--accent-mint); color: var(--ink); border-color: transparent; }
.compare-card h3 { font-size: var(--step-2); margin-bottom: var(--s-3); }
.compare-card > p { margin-bottom: var(--s-4); }
.compare-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--step-3); font-weight: 600;
  color: var(--ink);
  margin: 0 0 var(--s-3);
  display: flex; align-items: baseline; gap: 6px;
}
.compare-price .currency { font-size: 0.5em; color: var(--ink-soft); font-weight: 400; }
.compare-list {
  list-style: none; padding: 0; margin: var(--s-4) 0 0;
  display: grid; gap: var(--s-3);
}
.compare-list li {
  display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3);
  font-size: var(--step--1); color: var(--ink-soft); line-height: 1.55;
}
.compare-list svg { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.compare-list .ok svg { color: oklch(50% 0.16 165); }
.compare-list .no svg { color: oklch(58% 0.18 25); }

/* ─── 11. Insurance Cards ──────────────────────────────────────── */
.insurance-grid {
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .insurance-grid { grid-template-columns: repeat(3, 1fr); } }

.ins-card {
  padding: var(--s-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  display: flex; flex-direction: column;
}
.ins-card-head {
  display: flex; align-items: center; gap: var(--s-3);
  margin-bottom: var(--s-3);
  flex-wrap: wrap;
}
.ins-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: var(--r-2);
  background: var(--surface-2); color: var(--ink-soft);
  border: 1px solid var(--line);
}
.ins-card.teilkasko .ins-badge { background: var(--accent-mint-bg); color: oklch(38% 0.16 165); border-color: oklch(80% 0.08 165); }
.ins-card.vollkasko .ins-badge { background: var(--primary-lo); color: var(--primary-hi); border-color: oklch(85% 0.06 230); }
.ins-card.selbstzahler .ins-badge { background: var(--accent-amber-bg); color: oklch(45% 0.16 65); border-color: oklch(85% 0.08 75); }
.ins-card h4 { margin: 0; font-size: var(--step-1); }
.ins-card .ins-cost {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--step-3); font-weight: 600;
  color: var(--ink); margin: var(--s-3) 0;
  line-height: 1;
}
.ins-card .ins-cost .label {
  display: block;
  font-family: 'Public Sans', sans-serif;
  font-size: 0.78rem; color: var(--ink-muted); font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0;
}
.ins-card p { margin-bottom: var(--s-3); font-size: var(--step--1); }
.ins-note {
  margin-top: auto; padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--ink-muted);
}

/* Insurance-Tarife-Tabelle */
.tariff-table {
  margin-top: var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  overflow: hidden;
  background: var(--bg);
}
.tariff-table table { font-size: var(--step--1); }
.tariff-table thead th {
  background: var(--surface-2);
  text-align: left; padding: var(--s-3) var(--s-4);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--line);
}
.tariff-table tbody td {
  padding: var(--s-4); border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.tariff-table tbody tr:last-child td { border-bottom: 0; }
.tariff-table .insurer { font-weight: 700; color: var(--ink); }
.tariff-table .deductible { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--ink); }

/* ─── 12. ADAS-Section ──────────────────────────────────────────── */
.adas-systems {
  display: grid; gap: var(--s-3);
  grid-template-columns: 1fr;
  margin-top: var(--s-6);
}
@media (min-width: 720px) { .adas-systems { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .adas-systems { grid-template-columns: repeat(3, 1fr); } }

.adas-card {
  padding: var(--s-4) var(--s-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  display: grid; grid-template-columns: 32px 1fr auto; gap: var(--s-3);
  align-items: center;
}
.adas-card .icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border-radius: var(--r-3);
}
.adas-card .icon svg { width: 16px; height: 16px; color: var(--ink); }
.adas-card .name { font-weight: 600; color: var(--ink); font-size: var(--step--1); line-height: 1.3; }
.adas-card .price { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: var(--step--1); color: oklch(50% 0.16 165); white-space: nowrap; }

/* ─── 13. HowTo Steinschlag-Schritte ────────────────────────────── */
.steps {
  margin-top: var(--s-6);
  display: grid; gap: var(--s-3);
  counter-reset: step;
}
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4);
  padding: var(--s-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem; font-weight: 700;
  color: var(--ink-faint);
  line-height: 1;
  letter-spacing: -0.03em;
}
.step-body h4 { margin-bottom: var(--s-2); font-size: var(--step-1); }
.step-body p { font-size: var(--step--1); margin: 0; }
.step-time {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: var(--s-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem; font-weight: 600;
  color: var(--ink-soft);
}
.step-time svg { width: 12px; height: 12px; }

/* ─── 14. Spar-Tipps ────────────────────────────────────────────── */
.tips-grid {
  display: grid; gap: var(--s-3);
  grid-template-columns: 1fr;
  margin-top: var(--s-6);
}
@media (min-width: 720px) { .tips-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tips-grid { grid-template-columns: repeat(3, 1fr); } }

.tip {
  padding: var(--s-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.tip-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem; font-weight: 700;
  color: var(--accent-mint);
  letter-spacing: 0.04em;
}
.tip h4 { font-size: var(--step-0); line-height: 1.3; }
.tip p { font-size: var(--step--1); margin: 0; }
.tip-saving {
  margin-top: auto; padding-top: var(--s-3);
  border-top: 1px dashed var(--line);
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s-2);
}
.tip-saving .label { font-size: 0.75rem; color: var(--ink-muted); }
.tip-saving .value {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: oklch(50% 0.16 165);
  font-size: 0.95rem;
}

/* ─── 15. Glossar ───────────────────────────────────────────────── */
.glossary {
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr;
  margin-top: var(--s-6);
}
@media (min-width: 720px) { .glossary { grid-template-columns: repeat(2, 1fr); } }

.glossary-item {
  padding: var(--s-4) var(--s-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
}
.glossary-item dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-hi);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.glossary-item dd {
  margin: 0;
  font-size: var(--step--1);
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ─── 16. Cities ────────────────────────────────────────────────── */
.cities-grid {
  display: grid; gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px) { .cities-grid { grid-template-columns: repeat(4, 1fr); } }

.city {
  padding: var(--s-4);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  text-align: left;
  transition: border-color var(--t-fast), transform var(--t-fast);
  display: block;
}
.city:hover { border-color: var(--ink); transform: translateY(-2px); }
.city .city-name {
  font-weight: 700; color: var(--ink); font-size: var(--step-0);
  margin-bottom: 2px;
  line-height: 1.2;
}
.city .city-plz {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.city .city-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem; font-weight: 700; color: var(--primary);
  margin-top: var(--s-3);
  display: flex; align-items: center; justify-content: space-between;
}
.city .city-price svg { width: 14px; height: 14px; color: var(--ink-faint); }

/* ─── 17. FAQ ──────────────────────────────────────────────────── */
.faq-stack { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.faq {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq[open] { border-color: var(--ink); box-shadow: var(--shadow-1); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  cursor: pointer; list-style: none;
  font-weight: 600; font-size: var(--step-0);
  color: var(--ink);
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 14px; height: 14px; flex-shrink: 0;
  margin-top: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
  transition: transform var(--t-base) var(--ease-out-expo);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 var(--s-5) var(--s-5);
  color: var(--ink-soft);
  font-size: var(--step--1);
  line-height: 1.65;
}
.faq-body p { margin: 0 0 var(--s-3); max-width: none; }
.faq-body p:last-child { margin-bottom: 0; }

/* ─── 18. Trust Cards ──────────────────────────────────────────── */
.trust-grid {
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr;
  margin-top: var(--s-6);
}
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

.trust-card {
  padding: var(--s-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
}
.trust-card-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border-radius: var(--r-3);
  margin-bottom: var(--s-3);
}
.trust-card-icon svg { width: 18px; height: 18px; color: var(--ink); }
.trust-card h4 { font-size: var(--step-0); margin-bottom: 4px; line-height: 1.3; }
.trust-card p { font-size: 0.875rem; color: var(--ink-muted); margin: 0; }

/* ─── 19. Final CTA ────────────────────────────────────────────── */
.final-cta {
  position: relative;
  padding: clamp(var(--s-7), 6vw, var(--s-9)) var(--pad-x);
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, oklch(72% 0.16 165 / 0.20), transparent 60%),
    var(--ink);
  color: var(--bg);
  text-align: center;
}
.final-cta h2 {
  color: var(--bg);
  max-width: 22ch; margin: 0 auto var(--s-3);
}
.final-cta p {
  color: oklch(85% 0.02 240);
  max-width: 56ch; margin: 0 auto var(--s-5);
  font-size: var(--step-1);
}
.final-cta .btn-primary { background: var(--accent-mint); color: var(--ink); }
.final-cta .btn-primary:hover { background: oklch(64% 0.18 165); }

/* ─── 20. Footer ───────────────────────────────────────────────── */
.site-footer {
  padding: var(--s-7) 0 var(--s-5);
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.site-footer .wrap {
  display: grid; gap: var(--s-6);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-col h5 {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 var(--s-3);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.footer-col a {
  font-size: var(--step--1); color: var(--ink-soft);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--ink); }
.footer-disclaimer {
  margin-top: var(--s-6); padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--ink-muted);
  display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between;
}

/* ─── 21. Sticky CTA Mobile ────────────────────────────────────── */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
  padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom));
  background: color-mix(in oklab, var(--bg), transparent 4%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px oklch(20% 0.02 250 / 0.06);
}
.sticky-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  max-width: 720px; margin: 0 auto;
}
.sticky-cta-info { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-cta-info .label { font-size: 0.7rem; color: var(--ink-muted); font-weight: 500; }
.sticky-cta-info .price { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--ink); font-size: 1rem; }
.sticky-cta .btn { padding: 9px 16px; font-size: var(--step--1); }
@media (min-width: 880px) { .sticky-cta { display: none; } }
@media (max-width: 879px) { body { padding-bottom: 80px; } }

/* ─── 22. Animations ───────────────────────────────────────────── */
@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: reveal-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
  @keyframes reveal-in { to { opacity: 1; transform: none; } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ─── 24. Page-Hero (Long-Tail-Pages) ──────────────────────────── */
.page-hero {
  padding-block: clamp(var(--s-7), 5vw, var(--s-8)) clamp(var(--s-6), 4vw, var(--s-7));
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, oklch(94% 0.045 230 / 0.30), transparent 65%),
    var(--bg);
}
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: var(--ink-muted);
  margin-bottom: var(--s-4);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-muted); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb svg { width: 12px; height: 12px; color: var(--ink-faint); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

.page-hero h1 {
  font-size: clamp(1.875rem, 1.4rem + 2.2vw, 3rem);
  margin-bottom: var(--s-4);
  max-width: 22ch;
  line-height: 1.08;
}
.page-hero .lead { margin-bottom: var(--s-5); max-width: 56ch; }
.page-hero-meta {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin-top: var(--s-5);
}
.page-hero-meta .pip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.page-hero-meta .pip svg { width: 13px; height: 13px; color: var(--ink-soft); }
.page-hero-meta .pip strong { color: var(--ink); }

.quick-stat {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: var(--s-3);
  align-items: baseline;
  padding: var(--s-4) var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  margin-top: var(--s-5);
  box-shadow: var(--shadow-1);
}
.quick-stat .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.quick-stat .num .currency { font-size: 0.5em; color: var(--ink-soft); margin-left: 4px; }
.quick-stat .label {
  font-size: var(--step--1);
  color: var(--ink-soft);
  line-height: 1.3;
  max-width: 18ch;
}

/* ─── 25. Article-Cards (Blog-Übersicht) ──────────────────────── */
.articles-grid {
  display: grid; gap: var(--s-5);
  grid-template-columns: 1fr;
  margin-top: var(--s-7);
}
@media (min-width: 720px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  overflow: hidden;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.article-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.article-card .cover {
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.article-card .cover-pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, oklch(72% 0.16 165 / 0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, oklch(54% 0.16 230 / 0.15), transparent 50%),
    var(--surface-2);
}
.article-card .cover-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: -0.03em;
  z-index: 1;
  font-variation-settings: 'opsz' 96;
}
.article-card .body {
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-2);
  flex: 1;
}
.article-card .meta {
  display: flex; align-items: center; gap: var(--s-3);
  font-size: 0.78rem; color: var(--ink-muted);
  margin-bottom: var(--s-1);
}
.article-card .category {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary);
}
.article-card .reading-time { font-family: 'JetBrains Mono', monospace; }
.article-card h3 {
  font-size: var(--step-1);
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}
.article-card p {
  font-size: var(--step--1);
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}
.article-card .read-more {
  margin-top: var(--s-3);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--primary-hi);
}
.article-card .read-more svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.article-card:hover .read-more svg { transform: translateX(3px); }

/* Featured Article (erstes/größeres) */
.article-featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 720px) {
  .article-featured { grid-template-columns: 1.2fr 1fr; }
  .article-featured .cover { aspect-ratio: auto; min-height: 100%; }
  .article-featured .body { padding: var(--s-7); justify-content: center; }
  .article-featured h3 { font-size: var(--step-3); }
}

/* Categories filter */
.categories {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin-top: var(--s-5);
}
.category-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: var(--step--1); font-weight: 600;
  color: var(--ink-soft);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.category-pill:hover, .category-pill.is-active {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.category-pill .count {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500; font-size: 0.75rem;
  opacity: 0.6;
}

/* ─── 26. Article-Prose (Long-Tail-Page-Body) ─────────────────── */
.prose { max-width: 70ch; }
.prose h2 {
  font-size: var(--step-3);
  margin: var(--s-7) 0 var(--s-3);
  scroll-margin-top: 80px;
}
.prose h3 {
  font-size: var(--step-2);
  margin: var(--s-6) 0 var(--s-3);
}
.prose p { margin: 0 0 var(--s-4); font-size: var(--step-0); line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.5rem; margin: 0 0 var(--s-5); }
.prose li { margin-bottom: var(--s-2); color: var(--ink-soft); line-height: 1.6; }
.prose li::marker { color: var(--primary); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose blockquote {
  border-left: 3px solid var(--primary);
  padding: var(--s-3) var(--s-5);
  margin: var(--s-5) 0;
  background: var(--surface);
  font-style: italic;
  color: var(--ink-soft);
}
.prose .callout {
  padding: var(--s-5);
  border-radius: var(--r-5);
  margin: var(--s-5) 0;
  border: 1px solid var(--line);
}
.prose .callout.info { background: var(--primary-lo); border-color: oklch(85% 0.06 230); }
.prose .callout.tip  { background: var(--accent-mint-bg); border-color: oklch(85% 0.06 165); }
.prose .callout.warn { background: var(--accent-amber-bg); border-color: oklch(85% 0.08 75); }
.prose .callout strong { display: block; margin-bottom: 6px; }

/* ─── 27. TOC (Table of Contents) ──────────────────────────────── */
.toc {
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  margin-bottom: var(--s-7);
}
.toc h4 {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 var(--s-3);
}
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.toc a {
  font-size: var(--step--1);
  color: var(--ink-soft);
  display: flex; align-items: baseline; gap: var(--s-2);
}
.toc a::before {
  content: ''; width: 16px; height: 1px; background: var(--line-strong);
  align-self: center;
  transition: width var(--t-fast), background var(--t-fast);
}
.toc a:hover { color: var(--ink); }
.toc a:hover::before { width: 24px; background: var(--ink); }

/* ─── 28. Related-Pages (Cross-Linking) ────────────────────────── */
.related {
  display: grid; gap: var(--s-3);
  grid-template-columns: 1fr;
  margin-top: var(--s-6);
}
@media (min-width: 720px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .related { grid-template-columns: repeat(3, 1fr); } }

.related-card {
  padding: var(--s-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  display: flex; flex-direction: column; gap: var(--s-2);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.related-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.related-card .related-tag {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary);
}
.related-card h4 { font-size: var(--step-1); line-height: 1.3; }
.related-card p { font-size: var(--step--1); color: var(--ink-soft); margin: 0; }
.related-card .arrow {
  margin-top: var(--s-3);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; color: var(--primary-hi); font-weight: 600;
}
.related-card .arrow svg { width: 14px; height: 14px; }

/* ─── 29. Interactive Tools ────────────────────────────────────── */
.tool-card {
  padding: clamp(var(--s-5), 4vw, var(--s-7));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-6);
  margin-top: var(--s-7);
  box-shadow: var(--shadow-2);
}

/* Slider/Range Inputs */
.tool-row {
  display: grid; gap: var(--s-2);
  margin-bottom: var(--s-5);
}
.tool-row:last-child { margin-bottom: 0; }
.tool-row > label {
  font-weight: 600; color: var(--ink);
  font-size: var(--step-0);
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s-3);
}
.tool-row .value {
  font-family: 'JetBrains Mono', monospace;
  color: var(--primary-hi);
  font-weight: 700;
  font-size: var(--step--1);
}
.tool-row .helper {
  font-size: 0.78rem; color: var(--ink-muted);
}

/* Segment-Picker */
.segments {
  display: flex; flex-wrap: wrap;
  gap: var(--s-2);
}
.segment {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  font-size: var(--step--1); font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  user-select: none;
}
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment:hover { border-color: var(--ink); color: var(--ink); }
.segment:has(input:checked) {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.segment .seg-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-left: 4px;
}
.segment:has(input:checked) .seg-meta { opacity: 0.8; }

/* Range Slider */
.slider-input {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: var(--surface-2);
  border-radius: 999px;
  outline: none;
  margin: var(--s-2) 0;
}
.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--bg);
  cursor: pointer;
  box-shadow: var(--shadow-2);
  transition: background var(--t-fast), transform var(--t-fast);
}
.slider-input::-webkit-slider-thumb:hover { background: var(--primary); transform: scale(1.1); }
.slider-input::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--bg);
  cursor: pointer;
}
.slider-ticks {
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; color: var(--ink-muted);
}

/* PLZ-Input + Form-Inputs */
.input-row {
  display: grid; gap: var(--s-2);
}
.input-field {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-4);
  font-family: inherit;
  font-size: var(--step-0);
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input-field:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px oklch(54% 0.16 230 / 0.20);
}
.input-field.is-valid { border-color: var(--accent-mint); box-shadow: 0 0 0 3px oklch(72% 0.16 165 / 0.20); }
.input-field.is-invalid { border-color: var(--accent-rose); box-shadow: 0 0 0 3px oklch(64% 0.20 25 / 0.20); }

.select-field {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-4);
  font-family: inherit;
  font-size: var(--step-0);
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}

/* Result-Box (live updates) */
.result-box {
  padding: clamp(var(--s-5), 4vw, var(--s-7));
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-6);
  margin-top: var(--s-6);
}
.result-box .result-label {
  font-size: var(--step--1);
  color: oklch(85% 0.02 240);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--s-2);
}
.result-box .result-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.5rem, 1.8rem + 4vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variation-settings: 'opsz' 96;
}
.result-box .result-value .num {
  font-family: 'JetBrains Mono', monospace;
}
.result-box .result-value .currency {
  font-size: 0.4em; color: oklch(80% 0.02 240); margin-left: 4px;
}
.result-box .result-breakdown {
  margin-top: var(--s-5);
  display: grid; gap: var(--s-2);
  padding-top: var(--s-4);
  border-top: 1px solid oklch(35% 0.02 250);
}
.result-box .breakdown-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: var(--step--1);
  color: oklch(85% 0.02 240);
}
.result-box .breakdown-row .num {
  font-family: 'JetBrains Mono', monospace;
  color: var(--bg);
  font-weight: 600;
}
.result-box .breakdown-row.total {
  padding-top: var(--s-3);
  border-top: 1px dashed oklch(35% 0.02 250);
  margin-top: var(--s-2);
  font-weight: 700;
  color: var(--bg);
  font-size: var(--step-0);
}
.result-box .result-cta {
  display: inline-flex; align-items: center; gap: var(--s-2);
  margin-top: var(--s-5);
  padding: 12px 22px;
  background: var(--accent-mint);
  color: var(--ink);
  border-radius: var(--r-4);
  font-weight: 700;
  transition: background var(--t-fast);
}
.result-box .result-cta:hover { background: oklch(64% 0.18 165); }

/* Quiz-Steps */
.quiz {
  padding: clamp(var(--s-5), 4vw, var(--s-7));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-6);
  margin-top: var(--s-7);
  box-shadow: var(--shadow-2);
}
.quiz-progress {
  display: flex; gap: 4px;
  margin-bottom: var(--s-5);
}
.quiz-progress .step {
  flex: 1; height: 4px; border-radius: 2px;
  background: var(--surface-2);
  transition: background var(--t-base) var(--ease-out-expo);
}
.quiz-progress .step.is-done { background: var(--accent-mint); }
.quiz-progress .step.is-active { background: var(--ink); }

.quiz-step {
  display: none;
  animation: quiz-fade-in var(--t-base) var(--ease-out-expo);
}
.quiz-step.is-active { display: block; }
@keyframes quiz-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.quiz-step h3 {
  font-size: var(--step-2);
  margin-bottom: var(--s-2);
  line-height: 1.2;
}
.quiz-step .question-meta {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-bottom: var(--s-3);
  letter-spacing: 0.04em;
}
.quiz-step p.helper {
  color: var(--ink-soft); font-size: var(--step--1);
  margin-bottom: var(--s-5);
  max-width: 50ch;
}
.quiz-options {
  display: grid; gap: var(--s-2);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .quiz-options { grid-template-columns: repeat(2, 1fr); } }

.quiz-option {
  display: block;
  padding: var(--s-4) var(--s-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
  user-select: none;
}
.quiz-option:hover { border-color: var(--ink); transform: translateY(-1px); }
.quiz-option input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-option:has(input:checked) {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.quiz-option .option-label {
  font-weight: 600;
  font-size: var(--step-0);
  display: block;
  margin-bottom: 2px;
}
.quiz-option .option-meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.quiz-option:has(input:checked) .option-meta { color: oklch(80% 0.02 240); }

.quiz-nav {
  display: flex; justify-content: space-between; gap: var(--s-3);
  margin-top: var(--s-6);
}
.quiz-result {
  display: none;
  padding: var(--s-6);
  border-radius: var(--r-5);
  margin-top: var(--s-5);
}
.quiz-result.is-active { display: block; animation: quiz-fade-in var(--t-base); }
.quiz-result.repair { background: var(--accent-mint-bg); border: 1px solid oklch(85% 0.06 165); }
.quiz-result.replace { background: var(--accent-amber-bg); border: 1px solid oklch(85% 0.08 75); }
.quiz-result.urgent { background: var(--accent-rose-bg); border: 1px solid oklch(85% 0.06 25); }
.quiz-result h3 {
  font-size: var(--step-3);
  margin-bottom: var(--s-3);
  line-height: 1.15;
}
.quiz-result.repair h3 { color: oklch(35% 0.16 165); }
.quiz-result.replace h3 { color: oklch(35% 0.15 65); }
.quiz-result.urgent h3 { color: oklch(40% 0.20 25); }
.quiz-result p { margin-bottom: var(--s-3); }
.quiz-result .result-stat {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--step-2); font-weight: 700;
  margin: var(--s-3) 0;
}
.quiz-result.repair .result-stat { color: oklch(35% 0.16 165); }
.quiz-result.replace .result-stat { color: oklch(35% 0.15 65); }
.quiz-result.urgent .result-stat { color: oklch(40% 0.20 25); }

/* Werkstatt-Cards */
.workshop-list {
  display: grid; gap: var(--s-3);
  margin-top: var(--s-6);
}
.workshop-card {
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.workshop-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.workshop-info h4 { font-size: var(--step-1); margin-bottom: 2px; }
.workshop-info .workshop-meta {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  font-size: 0.85rem; color: var(--ink-muted);
  margin-top: var(--s-2);
}
.workshop-info .workshop-meta span {
  display: inline-flex; align-items: center; gap: 4px;
}
.workshop-info .workshop-meta svg {
  width: 12px; height: 12px;
}
.workshop-info .workshop-tags {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-top: var(--s-3);
}
.workshop-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-2);
  background: var(--surface-2);
  color: var(--ink-soft);
}
.workshop-tag.partner { background: var(--accent-mint-bg); color: oklch(35% 0.16 165); }
.workshop-tag.adas { background: var(--primary-lo); color: var(--primary-hi); }
.workshop-tag.mobile { background: var(--accent-amber-bg); color: oklch(45% 0.16 65); }
.workshop-action {
  display: flex; flex-direction: column;
  align-items: flex-end; justify-content: space-between;
  gap: var(--s-2);
}
.workshop-distance {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem; font-weight: 700;
  color: var(--ink);
}
.workshop-card .btn { padding: 9px 16px; font-size: var(--step--1); }
.workshop-empty {
  padding: var(--s-7);
  text-align: center;
  background: var(--surface-2);
  border-radius: var(--r-5);
  color: var(--ink-muted);
}

/* ─── 30. Inline-Link (interne Cross-Links im Content) ─────────── */
.inline-link {
  color: var(--primary-hi);
  text-decoration: underline;
  text-decoration-color: oklch(70% 0.10 230 / 0.3);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--t-fast), color var(--t-fast);
}
.inline-link:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

/* ─── 31. Hub-Cards (auf index.html) ───────────────────────────── */
.hub-grid {
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr;
  margin-top: var(--s-6);
}
@media (min-width: 600px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hub-grid { grid-template-columns: repeat(3, 1fr); } }
.hub-grid.large { grid-template-columns: 1fr; }
@media (min-width: 720px) { .hub-grid.large { grid-template-columns: repeat(2, 1fr); } }

.hub-card {
  display: flex; flex-direction: column;
  padding: var(--s-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.hub-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.hub-card .hub-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border-radius: var(--r-4);
  margin-bottom: var(--s-3);
}
.hub-card .hub-icon svg { width: 20px; height: 20px; color: var(--ink); }
.hub-card.tool .hub-icon { background: var(--accent-mint-bg); }
.hub-card.tool .hub-icon svg { color: oklch(40% 0.16 165); }
.hub-card h3 {
  font-size: var(--step-1);
  margin-bottom: var(--s-2);
  line-height: 1.25;
}
.hub-card p {
  font-size: var(--step--1);
  color: var(--ink-soft);
  margin: 0 0 var(--s-3);
  flex: 1;
}
.hub-card .hub-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--primary-hi);
  margin-top: auto;
}
.hub-card .hub-arrow svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.hub-card:hover .hub-arrow svg { transform: translateX(3px); }
.hub-card .hub-meta {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-mint);
  background: var(--accent-mint-bg);
  padding: 3px 8px;
  border-radius: var(--r-2);
  align-self: flex-start;
  margin-bottom: var(--s-2);
}

/* ─── 32. FINDER-APP (Fullscreen Lead-Magnet) ─────────────────── */
.finder-page { background: var(--surface); }
.finder-page .site-header,
.finder-page .site-footer,
.finder-page .sticky-cta { display: none; }

.finder-app {
  position: fixed; inset: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--bg);
  z-index: 1;
}

.finder-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-3) var(--s-5);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  z-index: 10;
  gap: var(--s-3);
}
.finder-bar .brand {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.018em;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.finder-bar .brand-mark {
  width: 28px; height: 28px;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  border-radius: var(--r-3);
  flex-shrink: 0;
}
.finder-bar .brand-mark svg { width: 15px; height: 15px; }
.finder-bar .brand-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  background: var(--accent-mint-bg);
  color: oklch(35% 0.16 165);
  padding: 3px 8px;
  border-radius: var(--r-2);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.finder-bar .close-btn {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: var(--r-3);
  background: var(--surface-2);
  color: var(--ink);
  text-decoration: none;
  transition: background var(--t-fast);
}
.finder-bar .close-btn:hover { background: var(--ink); color: var(--bg); }
.finder-bar .close-btn svg { width: 18px; height: 18px; }

.finder-body {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}
@media (min-width: 880px) {
  .finder-body { grid-template-columns: 380px 1fr; }
}

.finder-sidebar {
  display: flex; flex-direction: column;
  background: var(--bg);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--s-5);
  gap: var(--s-5);
}
@media (max-width: 879px) {
  .finder-sidebar { max-height: 60vh; border-right: 0; border-bottom: 1px solid var(--line); }
}

.finder-search-block h2 {
  font-size: var(--step-2);
  margin-bottom: var(--s-2);
  line-height: 1.2;
}
.finder-search-block p {
  font-size: var(--step--1);
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
}
.finder-plz-input-wrap {
  position: relative;
  margin-bottom: var(--s-4);
}
.finder-plz-input {
  width: 100%;
  padding: 16px 18px 16px 56px;
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: var(--r-5);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.finder-plz-input:focus {
  outline: none;
  background: var(--bg);
  border-color: var(--ink);
  box-shadow: 0 0 0 4px oklch(54% 0.16 230 / 0.20);
}
.finder-plz-input.is-valid {
  border-color: var(--accent-mint);
  background: var(--accent-mint-bg);
}
.finder-plz-input.is-invalid { border-color: var(--accent-rose); }
.finder-plz-icon {
  position: absolute;
  left: 18px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px;
  color: var(--ink-muted);
  pointer-events: none;
}
.finder-plz-status {
  display: flex; align-items: center; gap: var(--s-2);
  font-size: var(--step--1);
  color: var(--ink-soft);
  padding: 8px 12px;
  background: var(--surface-2);
  border-radius: var(--r-3);
  margin-top: var(--s-2);
}
.finder-plz-status svg { width: 14px; height: 14px; flex-shrink: 0; }
.finder-plz-status.is-valid { background: var(--accent-mint-bg); color: oklch(35% 0.16 165); }

.finder-filters {
  display: grid; gap: 8px;
}
.finder-filters .filter-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.finder-filter {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
  font-size: var(--step--1);
  user-select: none;
}
.finder-filter:hover { border-color: var(--ink); }
.finder-filter input { width: 16px; height: 16px; accent-color: var(--ink); }
.finder-filter:has(input:checked) { background: var(--bg); border-color: var(--ink); }
.finder-filter .label { font-weight: 600; flex: 1; color: var(--ink); }
.finder-filter .count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.finder-results-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.finder-results-head h3 { font-size: var(--step-1); margin: 0; }
.finder-results-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 700;
}

.finder-results { display: grid; gap: var(--s-3); }
.finder-result-card {
  padding: var(--s-4);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  display: grid; gap: var(--s-2);
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  cursor: pointer;
}
.finder-result-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.finder-result-card.is-selected { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.finder-result-card .result-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2);
}
.finder-result-card h4 { font-size: var(--step-0); margin: 0; line-height: 1.25; }
.finder-result-card .distance {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--primary-hi);
  font-weight: 700;
  white-space: nowrap;
}
.finder-result-card .meta {
  display: flex; align-items: center; gap: var(--s-3);
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.finder-result-card .meta span { display: inline-flex; align-items: center; gap: 4px; }
.finder-result-card .meta svg { width: 12px; height: 12px; }
.finder-result-card .tags { display: flex; flex-wrap: wrap; gap: 4px; }
.finder-result-card .tag {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 7px;
  border-radius: var(--r-2);
  background: var(--surface-2);
  color: var(--ink-soft);
}
.finder-result-card .tag.partner { background: var(--accent-mint-bg); color: oklch(35% 0.16 165); }
.finder-result-card .tag.adas { background: var(--primary-lo); color: var(--primary-hi); }
.finder-result-card .tag.mobile { background: var(--accent-amber-bg); color: oklch(45% 0.16 65); }
.finder-result-card .actions {
  display: flex; gap: var(--s-2);
  margin-top: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px dashed var(--line);
}
.finder-result-card .actions a {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border-radius: var(--r-3);
  font-size: 0.85rem; font-weight: 600;
  text-decoration: none;
  transition: background var(--t-fast);
}
.finder-result-card .actions .primary {
  background: var(--ink); color: var(--bg);
}
.finder-result-card .actions .primary:hover { background: var(--primary); }
.finder-result-card .actions .secondary {
  background: var(--surface-2); color: var(--ink);
  border: 1px solid var(--line);
}
.finder-result-card .actions .secondary:hover { background: var(--bg); border-color: var(--ink); }

.finder-empty {
  padding: var(--s-7) var(--s-5);
  text-align: center;
  background: var(--surface-2);
  border-radius: var(--r-5);
  color: var(--ink-muted);
  font-size: var(--step--1);
}
.finder-empty svg {
  width: 40px; height: 40px;
  margin: 0 auto var(--s-3);
  color: var(--ink-faint);
}

/* Map-Container */
.finder-map {
  position: relative;
  background: var(--surface);
  overflow: hidden;
}
.finder-map svg {
  width: 100%; height: 100%;
  display: block;
}
/* Leaflet-Container Anpassungen */
.finder-map #leaflet-map {
  width: 100%; height: 100%;
  z-index: 1;
}
.finder-map .leaflet-control-attribution {
  font-size: 10px;
  background: color-mix(in oklab, var(--bg), transparent 10%) !important;
}
.finder-map .leaflet-bar a {
  background: var(--bg) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
.finder-map .leaflet-bar a:hover {
  background: var(--surface-2) !important;
}
.finder-map .ws-marker {
  background: var(--ink);
  color: var(--bg);
  border: 2px solid var(--bg);
  border-radius: 50%;
  width: 32px !important; height: 32px !important;
  display: grid !important; place-items: center;
  box-shadow: var(--shadow-2);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: transform var(--t-fast);
}
.finder-map .ws-marker:hover {
  transform: scale(1.15);
  background: var(--primary);
}
.finder-map .ws-marker.is-active {
  background: var(--accent-mint);
  color: var(--ink);
  transform: scale(1.2);
}
.finder-map .center-marker {
  background: var(--accent-mint);
  border: 3px solid var(--bg);
  border-radius: 50%;
  width: 24px !important; height: 24px !important;
  box-shadow: 0 0 0 0 var(--accent-mint);
  animation: center-pulse 2s ease-out infinite;
}
@keyframes center-pulse {
  0% { box-shadow: 0 0 0 0 oklch(72% 0.16 165 / 0.7); }
  100% { box-shadow: 0 0 0 30px oklch(72% 0.16 165 / 0); }
}
.finder-map .leaflet-popup-content-wrapper {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-3);
  padding: 4px;
}
.finder-map .leaflet-popup-content {
  margin: var(--s-3) var(--s-4);
  font-family: 'Public Sans', sans-serif;
  color: var(--ink);
}
.finder-map .leaflet-popup-content strong {
  color: var(--ink);
  font-weight: 700;
}
.finder-map .leaflet-popup-tip {
  background: var(--bg);
  border: 1px solid var(--line);
}
.finder-map .map-bg {
  fill: var(--surface);
}
.finder-map .map-state {
  fill: var(--bg);
  stroke: var(--line-strong);
  stroke-width: 0.5;
  transition: fill var(--t-fast);
}
.finder-map .map-state:hover {
  fill: var(--surface-2);
}
.finder-map .map-state.is-active {
  fill: var(--accent-mint-bg);
}
.finder-map .map-pin {
  fill: var(--ink);
  stroke: var(--bg);
  stroke-width: 2;
  cursor: pointer;
  transition: r var(--t-fast), fill var(--t-fast);
}
.finder-map .map-pin:hover, .finder-map .map-pin.is-hover {
  fill: var(--primary);
}
.finder-map .map-pin.is-active {
  fill: var(--accent-mint);
  r: 9;
}
.finder-map .map-pin-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  fill: var(--ink);
  pointer-events: none;
  text-anchor: middle;
}
.finder-map .map-pin-pulse {
  fill: var(--accent-mint);
  opacity: 0;
  animation: map-pulse 2s var(--ease-out-expo) infinite;
  pointer-events: none;
}
@keyframes map-pulse {
  0% { r: 5; opacity: 0.6; }
  100% { r: 24; opacity: 0; }
}

.finder-map-overlay {
  position: absolute;
  bottom: var(--s-4);
  left: var(--s-4);
  background: color-mix(in oklab, var(--bg), transparent 8%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-4);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow-2);
  display: flex; align-items: center; gap: var(--s-3);
}
.finder-map-overlay .legend-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
}
.finder-map-overlay .legend-dot.dark { background: var(--ink); }
.finder-map-overlay .legend-dot.active { background: var(--accent-mint); }

/* ─── 33. Lead-Popup (Modal, UWG-konform) ─────────────────────── */
.lead-modal-backdrop {
  position: fixed; inset: 0;
  background: oklch(20% 0.02 250 / 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 300;
  display: none;
  align-items: center; justify-content: center;
  padding: var(--s-4);
  animation: lead-fade var(--t-base) var(--ease-out-expo);
}
.lead-modal-backdrop.is-open { display: flex; }
@keyframes lead-fade { from { opacity: 0; } to { opacity: 1; } }

body:has(.lead-modal-backdrop.is-open) { overflow: hidden; }

.lead-modal {
  background: var(--bg);
  border-radius: var(--r-6);
  box-shadow: var(--shadow-3);
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  animation: lead-slide var(--t-base) var(--ease-out-expo);
}
@keyframes lead-slide { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: none; } }

.lead-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink);
  z-index: 5;
  transition: background var(--t-fast);
}
.lead-modal-close:hover { background: var(--ink); color: var(--bg); }
.lead-modal-close svg { width: 16px; height: 16px; }

.lead-modal-head {
  padding: var(--s-6) var(--s-6) var(--s-3);
  background: linear-gradient(135deg, oklch(95% 0.04 230) 0%, oklch(95% 0.04 165) 100%);
  border-radius: var(--r-6) var(--r-6) 0 0;
}
.lead-modal-head .badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary-hi);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--s-3);
}
.lead-modal-head .badge svg { width: 12px; height: 12px; }
.lead-modal-head h2 {
  font-size: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
  margin-bottom: var(--s-2);
  line-height: 1.15;
  letter-spacing: -0.022em;
}
.lead-modal-head p {
  font-size: var(--step--1);
  color: var(--ink-soft);
  margin: 0;
}

.lead-modal-body {
  padding: var(--s-5) var(--s-6) var(--s-6);
}
.lead-form { display: grid; gap: var(--s-3); }
.lead-form-row { display: grid; gap: var(--s-1); }
.lead-form-row.two {
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
@media (max-width: 540px) { .lead-form-row.two { grid-template-columns: 1fr; gap: var(--s-1); } }

.lead-form label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  display: flex; justify-content: space-between;
}
.lead-form label .required { color: var(--accent-rose); margin-left: 2px; }
.lead-form label .optional { color: var(--ink-muted); font-weight: 400; font-size: 0.72rem; }
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  font-family: inherit;
  font-size: var(--step-0);
  color: var(--ink);
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  background: var(--bg);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px oklch(54% 0.16 230 / 0.20);
}
.lead-form input:invalid:not(:placeholder-shown) {
  border-color: var(--accent-rose);
}
.lead-form textarea {
  resize: vertical;
  min-height: 70px;
  font-family: inherit;
}

.lead-checkbox {
  display: grid; grid-template-columns: 18px 1fr;
  gap: var(--s-2);
  align-items: start;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.5;
  cursor: pointer;
  margin-top: 2px;
}
.lead-checkbox input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); cursor: pointer; }
.lead-checkbox a { color: var(--primary-hi); text-decoration: underline; }
.lead-checkbox .req-mark { color: var(--accent-rose); }

.lead-form-cta {
  display: flex; flex-direction: column; gap: var(--s-3);
  margin-top: var(--s-3);
}
.lead-form-cta button {
  width: 100%;
  padding: 14px 20px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: var(--r-4);
  font-weight: 700;
  font-size: var(--step-0);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  transition: background var(--t-fast), transform var(--t-fast);
}
.lead-form-cta button:hover:not(:disabled) { background: var(--primary); }
.lead-form-cta button:active:not(:disabled) { transform: translateY(1px); }
.lead-form-cta button:disabled { opacity: 0.5; cursor: not-allowed; }
.lead-form-cta button svg { width: 16px; height: 16px; }
.lead-form-cta .small {
  font-size: 0.7rem;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.4;
}

.lead-trust-row {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  padding-top: var(--s-3);
  margin-top: var(--s-2);
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--ink-muted);
}
.lead-trust-row span {
  display: inline-flex; align-items: center; gap: 4px;
}
.lead-trust-row svg { width: 12px; height: 12px; color: oklch(50% 0.16 165); }

/* Erfolgs-State */
.lead-success {
  display: none;
  padding: var(--s-7) var(--s-6);
  text-align: center;
}
.lead-success.is-active { display: block; animation: lead-slide var(--t-base); }
.lead-success .check-icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--s-4);
  background: var(--accent-mint);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
}
.lead-success .check-icon svg { width: 32px; height: 32px; stroke-width: 3; }
.lead-success h3 {
  font-size: var(--step-3);
  margin-bottom: var(--s-3);
  line-height: 1.2;
}
.lead-success p {
  color: var(--ink-soft);
  font-size: var(--step-0);
  margin-bottom: var(--s-4);
  max-width: 36ch;
  margin-left: auto; margin-right: auto;
}
.lead-success .next-steps {
  background: var(--surface-2);
  padding: var(--s-4);
  border-radius: var(--r-4);
  text-align: left;
  margin-top: var(--s-5);
  font-size: var(--step--1);
}
.lead-success .next-steps strong {
  display: block;
  margin-bottom: var(--s-2);
  color: var(--ink);
}
.lead-success .next-steps ol {
  margin: 0; padding-left: 1.4rem;
  color: var(--ink-soft);
}
.lead-success .next-steps li { margin-bottom: 4px; }

/* ─── 23. Print ────────────────────────────────────────────────── */
@media print {
  .site-header, .sticky-cta, .final-cta, .mobile-menu { display: none; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
  section { padding: 1cm 0; page-break-inside: avoid; }
  .inline-link { color: black; }
}

/* ─── Post-Visual-Module (Charts, Timelines, Stats) ────────────── */

.post-stats {
  display: grid; gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin: var(--s-6) 0;
  padding: 0;
  background: var(--surface);
  border-radius: var(--r-5);
  border: 1px solid oklch(92% 0.005 230);
  overflow: hidden;
}
@media (max-width: 640px) {
  .post-stats { grid-template-columns: 1fr; }
  .post-stat { border-bottom: 1px solid oklch(94% 0.005 230); }
  .post-stat:last-child { border-bottom: 0; }
}
.post-stat {
  text-align: left;
  padding: var(--s-4) var(--s-5);
  border-right: 1px solid oklch(94% 0.005 230);
}
.post-stat:last-child { border-right: 0; }
@media (max-width: 640px) { .post-stat { border-right: 0; } }
.post-stat-num {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: var(--step-3);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 6px;
  animation: post-stat-rise 600ms var(--ease-out-expo) both;
}
.post-stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.3;
}
.post-stat-sub {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 4px;
  display: block;
  line-height: 1.4;
}
@keyframes post-stat-rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.post-stat:nth-child(2) .post-stat-num { animation-delay: 80ms; }
.post-stat:nth-child(3) .post-stat-num { animation-delay: 160ms; }
.post-stat:nth-child(4) .post-stat-num { animation-delay: 240ms; }

.post-bars { margin: var(--s-5) 0; }
.post-bars-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: var(--s-5); flex-wrap: wrap; gap: var(--s-3);
}
.post-bars-title {
  font-size: var(--step-2); font-weight: 600; letter-spacing: -0.01em; margin: 0;
}
.post-bars-meta { font-size: 0.85rem; color: var(--ink-muted); font-family: 'JetBrains Mono', monospace; }
.post-bars-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.post-bar {
  display: grid;
  grid-template-columns: minmax(120px, 28%) 1fr auto;
  align-items: center; gap: var(--s-4);
}
.post-bar-label { font-weight: 500; font-size: 0.95rem; }
.post-bar-track {
  position: relative; height: 10px; border-radius: 999px;
  background: oklch(94% 0.005 230); overflow: hidden;
}
.post-bar-fill {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-mint), oklch(64% 0.18 200));
  transform-origin: left center; transform: scaleX(0);
  animation: post-bar-grow 1100ms var(--ease-out-expo) both;
}
.post-bar.is-warn .post-bar-fill { background: linear-gradient(90deg, var(--accent-amber), oklch(72% 0.20 50)); }
.post-bar.is-bad  .post-bar-fill { background: linear-gradient(90deg, var(--accent-rose), oklch(58% 0.22 15)); }
.post-bar-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem; font-weight: 600; min-width: 5ch; text-align: right;
}
@keyframes post-bar-grow { to { transform: scaleX(var(--bar-w, 1)); } }
.post-bar:nth-child(1) .post-bar-fill { animation-delay: 100ms; }
.post-bar:nth-child(2) .post-bar-fill { animation-delay: 220ms; }
.post-bar:nth-child(3) .post-bar-fill { animation-delay: 340ms; }
.post-bar:nth-child(4) .post-bar-fill { animation-delay: 460ms; }
.post-bar:nth-child(5) .post-bar-fill { animation-delay: 580ms; }

.post-timeline { margin: var(--s-5) 0; position: relative; padding-left: 2px; }
.post-timeline::before {
  content: ''; position: absolute; left: 22px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--accent-mint), oklch(85% 0.04 230));
}
.post-tl-step {
  position: relative; padding: var(--s-3) 0 var(--s-5) 60px;
}
.post-tl-step::before {
  content: ''; position: absolute; left: 14px; top: var(--s-4);
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent-mint);
  box-shadow: 0 0 0 4px oklch(95% 0.04 165);
  animation: post-tl-pop 600ms var(--ease-out-expo) both;
}
.post-tl-step:nth-child(2)::before { animation-delay: 100ms; }
.post-tl-step:nth-child(3)::before { animation-delay: 200ms; }
.post-tl-step:nth-child(4)::before { animation-delay: 300ms; }
.post-tl-step:nth-child(5)::before { animation-delay: 400ms; }
.post-tl-when {
  font-family: 'JetBrains Mono', monospace; font-size: 0.78rem;
  color: var(--accent-mint); font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: var(--s-1);
}
.post-tl-title { font-size: var(--step-2); font-weight: 600; margin: 0 0 var(--s-2); letter-spacing: -0.01em; }
.post-tl-text { color: var(--ink-soft); margin: 0; line-height: 1.6; }
@keyframes post-tl-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.post-callout {
  display: flex; gap: var(--s-4); align-items: flex-start;
  padding: var(--s-4) var(--s-5); margin: var(--s-5) 0;
  background: var(--accent-mint-bg);
  border: 1px solid oklch(85% 0.06 165);
  border-left: 4px solid var(--accent-mint);
  border-radius: var(--r-5);
}
.post-callout.is-warn  { background: var(--accent-amber-bg); border-color: oklch(85% 0.07 75); border-left-color: var(--accent-amber); }
.post-callout.is-bad   { background: var(--accent-rose-bg);  border-color: oklch(85% 0.06 25); border-left-color: var(--accent-rose); }
.post-callout svg { flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; stroke: var(--accent-mint); }
.post-callout.is-warn svg { stroke: var(--accent-amber); }
.post-callout.is-bad  svg { stroke: var(--accent-rose); }
.post-callout-body { flex: 1; }
.post-callout-title { font-size: var(--step-1); font-weight: 600; margin: 0 0 var(--s-2); }
.post-callout-text { margin: 0; color: var(--ink-soft); line-height: 1.55; }

.post-compare {
  display: grid; gap: var(--s-4); margin: var(--s-5) 0;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .post-compare { grid-template-columns: 1fr 1fr; } }
.post-compare-col {
  padding: var(--s-5); border-radius: var(--r-5);
  border: 1px solid oklch(92% 0.01 230); background: var(--surface);
  transition: transform var(--t-base) var(--ease-out-expo), box-shadow var(--t-base);
}
.post-compare-col:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.post-compare-col.is-pro  { background: var(--accent-mint-bg); border-color: oklch(85% 0.06 165); }
.post-compare-col.is-con  { background: var(--accent-rose-bg); border-color: oklch(85% 0.06 25); }
.post-compare-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; margin-bottom: var(--s-3);
}
.post-compare-col.is-pro .post-compare-tag { background: var(--accent-mint); color: var(--ink); }
.post-compare-col.is-con .post-compare-tag { background: var(--accent-rose); color: white; }
.post-compare-title { font-size: var(--step-2); font-weight: 600; margin: 0 0 var(--s-3); letter-spacing: -0.01em; }
.post-compare-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.post-compare-list li {
  display: flex; gap: var(--s-3); align-items: flex-start; line-height: 1.5;
  font-size: 0.95rem;
}
.post-compare-list li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px;
  background: currentColor; mask: var(--icon-check) center / contain no-repeat;
}
.post-compare-col.is-con .post-compare-list li::before { mask: var(--icon-x) center / contain no-repeat; }

@property --icon-check { syntax: '<url>'; inherits: false; initial-value: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'><path d='M5 12l5 5L20 7'/></svg>"); }
.post-compare-list li::before { background: oklch(50% 0.18 165); --icon-check: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'><path d='M5 12l5 5L20 7'/></svg>"); --icon-x: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'><path d='M6 6l12 12M6 18L18 6'/></svg>"); }
.post-compare-col.is-con .post-compare-list li::before { background: oklch(50% 0.20 25); }

@media (prefers-reduced-motion: reduce) {
  .post-stat-num, .post-bar-fill, .post-tl-step::before { animation: none; }
  .post-bar-fill { transform: scaleX(var(--bar-w, 1)); }
}

/* ─── Post-Layout-Spacing-Korrekturen ────────────────────────── */

/* Im Post-Body: section-padding kleiner, da Module schon eigene Margins haben */
main > section.post-mod-section,
main > .wrap-prose > section.post-mod-section {
  padding-block: var(--s-5);
}
/* Wenn ein <section> NUR ein post-stats/bars/timeline/callout/compare enthält,
   dessen Margin neutralisieren — section gibt schon Spacing */
section > .wrap-prose > .post-stats,
section > .wrap-prose > .post-bars,
section > .wrap-prose > .post-timeline,
section > .wrap-prose > .post-callout,
section > .wrap-prose > .post-compare {
  margin: 0;
}
/* Direktnach-Page-Hero: weniger top-padding */
.page-hero + section { padding-block-start: var(--s-6); }

/* Breadcrumb-Style: jetzt mit echten Links */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: var(--s-4);
  font-size: 0.85rem; color: var(--ink-muted);
  font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.02em;
}
.breadcrumb a { color: var(--ink-muted); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.5; flex-shrink: 0; }
.breadcrumb [aria-current="page"] {
  color: var(--ink); font-weight: 600;
  max-width: 50ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ─── Post-Body-Hierarchie ──────────────────────────────────── */

.wrap-prose h2 {
  font-size: var(--step-4);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: var(--s-7) 0 var(--s-3);
  position: relative; padding-left: var(--s-4);
}
.wrap-prose h2::before {
  content: ''; position: absolute; left: 0; top: 0.2em; bottom: 0.2em;
  width: 4px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-mint), oklch(64% 0.18 200));
}
.wrap-prose h3 {
  font-size: var(--step-2);
  font-weight: 600; letter-spacing: -0.01em; line-height: 1.3;
  margin: var(--s-6) 0 var(--s-3);
  color: var(--ink);
}
.wrap-prose h4 {
  font-size: var(--step-1);
  font-weight: 600; letter-spacing: -0.005em;
  margin: var(--s-5) 0 var(--s-2);
}
.wrap-prose p { margin: 0 0 var(--s-4); line-height: 1.65; }
.wrap-prose ul, .wrap-prose ol { padding-left: 1.4em; line-height: 1.65; margin: 0 0 var(--s-4); }
.wrap-prose ul li, .wrap-prose ol li { margin-bottom: var(--s-2); }
.wrap-prose blockquote {
  margin: var(--s-6) 0;
  padding: var(--s-4) var(--s-5);
  border-left: 4px solid var(--accent-mint);
  background: oklch(98% 0.01 165);
  border-radius: 0 var(--r-4) var(--r-4) 0;
  font-style: italic; color: var(--ink-soft);
}

/* ─── Module-Variationen für mehr visuelle Abwechslung ─────── */

.post-stats { padding: var(--s-5) var(--s-6); }
.post-stats.is-dark {
  background: linear-gradient(135deg, oklch(20% 0.02 230) 0%, oklch(15% 0.03 165) 100%);
  border-color: transparent;
}
.post-stats.is-dark .post-stat-num {
  background: linear-gradient(135deg, oklch(85% 0.18 165) 0%, oklch(70% 0.18 200) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.post-stats.is-dark .post-stat-label, .post-stats.is-dark .post-stat-sub { color: oklch(80% 0.02 230); }

.post-bars-track-row { padding: var(--s-2) 0; }
.post-bars.is-compact .post-bar { grid-template-columns: minmax(140px, 32%) 1fr auto; }

/* Variant: Bar-Chart mit "Tab"-Style */
.post-bars.is-cards .post-bar {
  padding: var(--s-3) var(--s-4); background: var(--surface);
  border: 1px solid oklch(94% 0.005 230); border-radius: var(--r-4);
  transition: transform var(--t-base) var(--ease-out-expo);
}
.post-bars.is-cards .post-bar:hover { transform: translateX(4px); }

/* Numbered-Section-Headings für Posts (dezent, monochromer Mono-Tag) */
.post-h2-num {
  display: inline-block;
  margin-right: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  vertical-align: 0.25em;
}
.post-h2-num::before { content: '— '; opacity: 0.5; }
.wrap-prose h2:has(.post-h2-num)::before { display: none; }
.wrap-prose h2:has(.post-h2-num) { padding-left: 0; }

/* Pull-Quote — für Highlights mitten im Body */
.post-pullquote {
  display: block;
  font-size: var(--step-3); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3;
  color: var(--ink);
  padding: var(--s-5) 0 var(--s-5) var(--s-5);
  margin: var(--s-7) 0;
  border-left: 6px solid var(--accent-mint);
  background: linear-gradient(90deg, oklch(98% 0.015 165) 0%, transparent 100%);
}
.post-pullquote-cite {
  display: block; margin-top: var(--s-3);
  font-size: 0.85rem; color: var(--ink-muted); font-weight: 500;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.post-pullquote-cite::before { content: '— '; }

/* Inline-Stats-Strip — schmal, in den Body integrierbar */
.post-keypoints {
  display: grid; gap: var(--s-3);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: var(--s-6) 0; padding: var(--s-4) 0;
  border-top: 1px solid oklch(92% 0.01 230);
  border-bottom: 1px solid oklch(92% 0.01 230);
}
.post-keypoint {
  display: flex; flex-direction: column; gap: 4px;
}
.post-keypoint-num {
  font-family: 'JetBrains Mono', monospace; font-weight: 700;
  font-size: var(--step-2); color: var(--accent-mint); letter-spacing: -0.01em;
}
.post-keypoint-label { font-size: 0.85rem; color: var(--ink-soft); }

/* ─── Post-Untertitel + FAQ + Quellen ───────────────────────── */

.post-subtitle {
  font-size: var(--step-1);
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 var(--s-5);
  max-width: 65ch;
}

.post-faq {
  display: grid; gap: var(--s-2);
  margin: var(--s-4) 0 var(--s-6);
}
.post-faq-item {
  background: var(--surface);
  border: 1px solid oklch(94% 0.005 230);
  border-radius: var(--r-4);
  overflow: hidden;
  transition: border-color var(--t-base);
}
.post-faq-item[open] { border-color: oklch(85% 0.06 165); }
.post-faq-item summary {
  padding: var(--s-4) var(--s-5);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex; align-items: center; gap: var(--s-3);
  position: relative;
  transition: background-color var(--t-fast);
}
.post-faq-item summary::-webkit-details-marker { display: none; }
.post-faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.4em;
  font-weight: 300;
  color: var(--ink-muted);
  transition: transform var(--t-base) var(--ease-out-expo);
}
.post-faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent-mint); }
.post-faq-item summary:hover { background: oklch(98% 0.005 230); }
.post-faq-answer {
  padding: 0 var(--s-5) var(--s-4);
  color: var(--ink-soft); line-height: 1.65;
}
.post-faq-answer p { margin: 0 0 var(--s-3); }
.post-faq-answer p:last-child { margin-bottom: 0; }

.post-sources {
  margin: var(--s-6) 0 0;
  padding: var(--s-5);
  background: oklch(98% 0.005 230);
  border-radius: var(--r-5);
  border-left: 3px solid oklch(80% 0.01 230);
}
.post-sources h4 {
  margin: 0 0 var(--s-3);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  font-weight: 600;
}
.post-sources ul {
  margin: 0; padding-left: 1.2em;
  color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6;
}
.post-sources ul li { margin-bottom: 4px; }
.post-sources-meta {
  margin: var(--s-4) 0 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
  border-top: 1px solid oklch(92% 0.005 230);
  padding-top: var(--s-3);
}

/* H2 mit "FAQ" oder "∎" als Pill — etwas anders als nummern */
.post-h2-num:not([class*="num-"]) {
  font-style: normal;
}

/* ─── Footer-Sources-Block ──────────────────────────────────── */
.footer-sources {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid oklch(92% 0.005 230 / 0.4);
}
.footer-sources h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 var(--s-3);
  color: var(--ink-muted);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}
.footer-sources-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
}
.footer-sources-list a {
  font-size: 0.85rem; color: var(--ink-muted);
  transition: color var(--t-fast);
}
.footer-sources-list a:hover { color: var(--ink); text-decoration: underline; }

/* ─── Social-Share-Buttons (Posts) ──────────────────────────── */
.post-share {
  display: flex; align-items: center; gap: var(--s-3);
  flex-wrap: wrap; margin: var(--s-5) 0;
  padding: var(--s-4) 0;
  border-top: 1px solid oklch(94% 0.005 230);
  border-bottom: 1px solid oklch(94% 0.005 230);
}
.post-share-label {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-muted);
  font-family: 'JetBrains Mono', monospace; margin-right: var(--s-2);
}
.post-share a, .post-share button {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid oklch(92% 0.005 230);
  color: var(--ink); cursor: pointer;
  transition: transform var(--t-base) var(--ease-out-expo), border-color var(--t-base);
}
.post-share a:hover, .post-share button:hover {
  transform: translateY(-1px);
  border-color: var(--accent-mint);
}
.post-share svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ─── Post-Hero (Blog-Artikel) ─────────────────────────────── */
.post-hero {
  padding-block: clamp(var(--s-7), 5vw, var(--s-9)) clamp(var(--s-5), 3vw, var(--s-6));
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, oklch(96% 0.04 165 / 0.5), transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 30%, oklch(96% 0.05 200 / 0.4), transparent 70%),
    var(--bg);
  border-bottom: 1px solid oklch(94% 0.005 230);
  position: relative;
}
.post-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-mint) 50%, transparent);
  opacity: 0.4;
}
.post-hero .breadcrumb { margin-bottom: var(--s-5); }
.post-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--ink-muted); text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.post-hero-cat {
  background: var(--accent-mint-bg);
  color: oklch(38% 0.13 165);
  padding: 4px 12px; border-radius: 999px;
  letter-spacing: 0.06em;
}
.post-hero-dot { opacity: 0.4; }
.post-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  margin: 0 0 var(--s-4);
  max-width: 22ch;
  background: linear-gradient(180deg, var(--ink) 0%, oklch(35% 0 230) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.post-hero-lead {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
  margin: 0 0 var(--s-5);
  max-width: 60ch;
}
.post-hero-meta {
  display: flex; gap: var(--s-5); flex-wrap: wrap;
  font-size: 0.85rem; color: var(--ink-muted);
  margin-bottom: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid oklch(94% 0.005 230);
}
.post-hero-author, .post-hero-update {
  display: inline-flex; align-items: center; gap: 8px;
}
.post-hero-author strong { color: var(--ink); font-weight: 600; }
.post-hero-meta svg,
.post-hero-author svg,
.post-hero-update svg {
  display: inline-block;
  width: 16px !important; height: 16px !important;
  min-width: 16px; max-width: 16px;
  flex-shrink: 0; opacity: 0.6;
  vertical-align: -2px;
}
.post-share svg {
  display: inline-block !important;
  width: 16px !important; height: 16px !important;
  min-width: 16px; flex-shrink: 0;
}
.breadcrumb svg {
  display: inline-block !important;
  width: 14px !important; height: 14px !important;
  min-width: 14px;
}

/* Share-Bar bleibt im Hero — kompakter, mobile-friendly */
.post-hero .post-share {
  margin: var(--s-3) 0 0;
  padding: var(--s-4) 0 0;
  border-top: 1px solid oklch(94% 0.005 230);
  border-bottom: 0;
  gap: 8px;
}
.post-hero .post-share-label { margin-right: var(--s-3); }

/* Mobile: Share-Buttons Icon-only */
@media (max-width: 640px) {
  .post-hero-title { font-size: clamp(1.75rem, 7vw, 2.2rem); max-width: none; }
  .post-hero-lead { font-size: 1rem; }
  .post-hero-meta { gap: var(--s-3); flex-direction: column; }
  .post-share {
    gap: 6px; padding: var(--s-3) 0 0;
  }
  .post-share-label {
    width: 100%; margin: 0 0 var(--s-2); display: block;
  }
  .post-share a, .post-share button {
    padding: 8px 10px;
    font-size: 0;
    gap: 0;
  }
  .post-share a span:not([aria-hidden]),
  .post-share button span:not([aria-hidden]) {
    display: none;
  }
  .post-share svg { width: 18px; height: 18px; }
}

/* Alte page-hero behalten für non-Posts */
.post-hero { /* anchor for specificity */ }

/* ─── Drawer-Search-Results (Mobile, im Burger-Menu) ──────── */
.drawer-search-results {
  margin: var(--s-3) 0 var(--s-5);
  display: none;
  background: var(--bg);
  border: 1px solid oklch(92% 0.005 230);
  border-radius: var(--r-5);
  max-height: 60vh;
  overflow-y: auto;
  padding: var(--s-3);
}
.drawer-search-results.has-results { display: block; }
.drawer-search-results .search-group {
  padding: var(--s-2) 0;
}
.drawer-search-results .search-group + .search-group {
  border-top: 1px solid oklch(94% 0.005 230);
  margin-top: 6px; padding-top: var(--s-3);
}
.drawer-search-results .search-group-label {
  display: inline-flex; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: oklch(38% 0.13 165);
  background: var(--accent-mint-bg);
  padding: 4px 10px; border-radius: 999px;
  margin: 0 0 var(--s-2) var(--s-2);
}
.drawer-search-results a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline; gap: var(--s-3);
  padding: 12px 14px;
  border-radius: var(--r-4);
  font-size: 0.95rem;
  color: var(--ink); text-decoration: none;
}
.drawer-search-results a:active { background: var(--accent-mint-bg); }
.drawer-search-results a > span:first-child { font-weight: 500; }
.drawer-search-results a .item-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; color: var(--ink-muted);
  white-space: nowrap;
}
.drawer-search-results .search-empty {
  padding: var(--s-5); text-align: center;
  color: var(--ink-muted); font-size: 0.92rem;
}
.drawer-search-results mark {
  background: oklch(94% 0.16 90);
  padding: 0 2px; border-radius: 2px; font-weight: 700;
}
