/* ==========================================================================
   Leitkante. — Design System
   Struktur nach Linear-Prinzip (dunkles Substrat, Hairlines statt Schatten,
   ein funktionaler Akzent), Raumgefuehl nach Monad (grosszuegige Sections).
   Farben/Typo: Leitkante Branding Blueprint.
   ========================================================================== */

/* ---------- 1. Fonts (self-hosted, DSGVO-konform) ---------- */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 2. Tokens ---------- */

:root {
  /* Grund — dark-first, bewusst kein Light-Theme (Blueprint-Look) */
  --canvas: #0F172A;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-hover: rgba(255, 255, 255, 0.045);
  --surface-blue: #0D2253;

  /* Marke */
  --blue-900: #0D2253;
  --blue-700: #1E40AF;
  --blue: #2563EB;
  --blue-400: #60A5FA;
  --blue-200: #BFDBFE;

  /* Akzent — genau eine funktionale Farbe, 5-10 % Flaeche */
  --accent: #F97316;
  --accent-hover: #FB8B3C;
  --accent-press: #E5650A;

  /* Text */
  --text: #F8FAFC;
  --text-2: #94A3B8;
  --text-3: #64748B;
  --text-blue: #BFDBFE;

  /* Linien — Elevation ueber Hairlines, nie ueber Schatten */
  --line: rgba(96, 165, 250, 0.14);
  --line-strong: rgba(96, 165, 250, 0.30);
  --line-accent: rgba(249, 115, 22, 0.35);
  --grid: rgba(191, 219, 254, 0.055);

  /* Radien — knappes Vokabular, keine Pills */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 12px;

  /* Raster — 60er-Konstruktionsraster wie im Logo */
  --grid-size: 60px;

  /* Raum */
  --gap-1: 4px;
  --gap-2: 8px;
  --gap-3: 12px;
  --gap-4: 16px;
  --gap-5: 24px;
  --gap-6: 32px;
  --gap-7: 40px;
  --gap-8: 56px;
  --gap-9: 80px;
  --section: clamp(80px, 9vw, 132px);
  --pad-card: clamp(24px, 3vw, 40px);
  --shell: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 68px;
}

/* ---------- 3. Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

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

::selection { background: var(--blue); color: #fff; }

/* ---------- 4. Blueprint-Raster (Hintergrundebene) ---------- */

.blueprint {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  -webkit-mask-image: radial-gradient(120% 75% at 50% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(120% 75% at 50% 0%, #000 0%, transparent 72%);
}

/* ---------- 5. Typografie ---------- */

.display, h1, h2, h3, .h3 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  color: var(--text);
  text-wrap: balance;
}

.display {
  font-size: clamp(38px, 6.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.032em;
}

h2, .h2 {
  font-size: clamp(29px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.026em;
}

h3, .h3 {
  font-size: clamp(19px, 1.6vw, 21px);
  line-height: 1.28;
  letter-spacing: -0.014em;
}

.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--text-2);
  text-wrap: pretty;
  max-width: 56ch;
}

p { text-wrap: pretty; }
.muted { color: var(--text-2); }
.dim   { color: var(--text-3); }

/* Der Punkt der Wortmarke — Praezisionszeichen, taucht in Headlines auf */
.dot { color: var(--accent); }

/* Eyebrow / Label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-3);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-blue);
  margin-bottom: var(--gap-5);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--blue-400);
  flex: none;
}

/* Monospaced Indizes (01 / 02 / 03) — technische Auszeichnung */
.index {
  font-family: 'Space Grotesk', monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--blue-400);
  font-variant-numeric: tabular-nums;
}

/* ---------- 6. Layout ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

main { position: relative; z-index: 1; }

section { padding-block: var(--section); }

.section-head { max-width: 62ch; margin-bottom: var(--gap-9); }
.section-head .lead { margin-top: var(--gap-5); }

.rule {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 0;
}

.grid { display: grid; gap: var(--gap-5); }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 7. Buttons ---------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primaer — nur ein Mal pro Bildschirm. Die einzige orange Flaeche. */
.btn-primary {
  --btn-bg: var(--accent);
  --btn-fg: #1A0B00;
  --btn-bd: var(--accent);
  font-weight: 700;
}
.btn-primary:hover { --btn-bg: var(--accent-hover); --btn-bd: var(--accent-hover); }
.btn-primary:active { --btn-bg: var(--accent-press); }

.btn-ghost:hover { --btn-bd: var(--blue-400); background: var(--surface); }

.btn-sm { padding: 9px 16px; font-size: 14px; }

.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Textlink mit Unterkante */
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-200);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid transparent;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.link:hover { color: var(--text); border-bottom-color: var(--blue-400); }

/* ---------- 8. Karten ---------- */

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--pad-card);
  transition: border-color .22s var(--ease), background-color .22s var(--ease);
}
.card:hover { border-color: var(--line-strong); background: var(--surface-hover); }
.card h3 { margin-bottom: var(--gap-3); }
.card p { color: var(--text-2); font-size: 15px; }

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-4);
  margin-bottom: var(--gap-6);
}

.card-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--blue-400);
  background: rgba(37, 99, 235, 0.07);
}

.card-list { margin-top: var(--gap-5); display: grid; gap: 10px; }
.card-list li {
  display: flex; gap: 10px;
  font-size: 14.5px; color: var(--text-2);
  align-items: flex-start;
}
.card-list li::before {
  content: '';
  flex: none;
  width: 6px; height: 6px;
  margin-top: 9px;
  border: 1px solid var(--blue-400);
  transform: rotate(45deg);
}

/* ---------- 9. Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); background: rgba(15, 23, 42, 0.9); }

.header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-5);
}

.nav { display: none; gap: 4px; }
@media (min-width: 940px) { .nav { display: flex; } }

.nav a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  color: var(--text-2);
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav a:hover { color: var(--text); background: var(--surface); }

.header-cta { display: none; }
@media (min-width: 940px) { .header-cta { display: inline-flex; } }

/* Wortmarke */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.017em; /* Kerning-Regel: t und k duerfen sich nicht beruehren */
  color: var(--text);
}
/* Das Zeichen kommt per <use> aus einem <symbol>. Klassenselektoren greifen dort
   nicht hinein — die Strichfarbe laeuft deshalb ueber currentColor. */
.wordmark svg { width: 18px; height: 22px; flex: none; color: var(--text); }

/* Burger */
/* Flex statt Grid: gestreckte Grid-Rows wuerden die Balken auseinanderziehen,
   dann treffen sie sich beim Aufklappen nicht in der Mitte zum X. */
.burger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
}
@media (min-width: 940px) { .burger { display: none; } }
.burger span {
  display: block; width: 17px; height: 1.5px;
  background: var(--text);
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.burger span + span { margin-top: 4.5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile-Drawer */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 45;
  background: var(--canvas);
  border-top: 1px solid var(--line);
  padding: var(--gap-6) var(--gutter) var(--gap-9);
  display: grid;
  align-content: start;
  gap: var(--gap-1);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.drawer.is-open { opacity: 1; transform: none; visibility: visible; }
.drawer a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.drawer .btn { margin-top: var(--gap-6); }
@media (min-width: 940px) { .drawer { display: none; } }

.skip {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--accent);
  color: #1A0B00;
  font-weight: 700;
  border-radius: var(--r-sm);
}
.skip:focus { left: var(--gutter); top: 12px; }

/* ---------- 10. Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(72px, 12vw, 148px) clamp(64px, 9vw, 112px);
  overflow: hidden;
}

/* Winkel-Glow: der Lichtkegel sitzt oben links wie eine Zeichenlampe */
.hero::before {
  content: '';
  position: absolute;
  top: -30%; left: -10%;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.20) 0%, transparent 62%);
  filter: blur(60px);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -35%; right: -12%;
  width: 48%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.10) 0%, transparent 64%);
  filter: blur(70px);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero .display { max-width: 15ch; }
.hero .lead { margin-top: var(--gap-6); font-size: clamp(18px, 1.7vw, 21px); }

.hero-actions {
  margin-top: var(--gap-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-3);
}

.hero-meta {
  margin-top: var(--gap-8);
  padding-top: var(--gap-6);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-5) var(--gap-8);
  font-size: 13.5px;
  color: var(--text-3);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta span::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--blue-400);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- 11. Problem-Band ---------- */

.band {
  border-block: 1px solid var(--line);
  background: rgba(13, 34, 83, 0.28);
}

.contrast-pair {
  display: grid;
  gap: var(--gap-6);
}
@media (min-width: 800px) {
  .contrast-pair { grid-template-columns: 1fr 1fr; gap: 0; }
  .contrast-pair > div + div { border-left: 1px solid var(--line); padding-left: var(--gap-8); }
  .contrast-pair > div:first-child { padding-right: var(--gap-8); }
}
.contrast-pair h3 { margin-bottom: var(--gap-4); }
.contrast-pair p { color: var(--text-2); }

/* ---------- 12. Vorher/Nachher ---------- */

.compare {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-blue);
  aspect-ratio: 4 / 3;
  touch-action: pan-y;
  cursor: ew-resize;
}
.compare:hover { border-color: var(--line-strong); }

.compare-layer { position: absolute; inset: 0; }
.compare-layer img { width: 100%; height: 100%; object-fit: cover; }

/* Die Nachher-Ebene wird von links aufgezogen */
.compare-after { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }

.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 1px;
  background: var(--accent);
  pointer-events: none;
  z-index: 3;
}
.compare-handle::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 50%; left: 50%;
  width: 32px; height: 32px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--accent);
  background: var(--canvas);
  border-radius: var(--r-sm);
}
/* Greifhinweis im Kaestchen — sonst sieht man dem Regler nicht an, dass er einer ist */
.compare-handle::before {
  content: '\2194';
  position: absolute;
  z-index: 1;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  line-height: 1;
  color: var(--accent);
}

/* Der native Regler steuert nur noch Tastatur/Fokus — das Ziehen per Maus
   und Touch uebernimmt die Zeiger-Logik in main.js (greift ueberall im Bild).
   Deshalb faengt er selbst keine Zeiger-Gesten mehr ab. */
.compare-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; }
.compare-range::-moz-range-thumb { width: 44px; height: 100%; border: 0; opacity: 0; }
.compare-range:focus-visible { outline-offset: -3px; }

.compare-tag {
  position: absolute;
  bottom: 12px;
  z-index: 2;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  background: rgba(15, 23, 42, 0.82);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  font-family: 'Space Grotesk', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.compare-tag.is-before { right: 12px; }
.compare-tag.is-after { left: 12px; border-color: var(--line-accent); color: var(--text); }

.case { display: grid; gap: var(--gap-4); }
.case-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap-4);
}
.case-meta h3 { font-size: 17px; }
.case-meta span { font-size: 13px; color: var(--text-3); }

/* ---------- 13. Ablauf ---------- */

.steps { counter-reset: step; display: grid; gap: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  padding: var(--gap-6) 0 var(--gap-6) var(--gap-6);
  border-left: 1px solid var(--line);
}
@media (min-width: 900px) {
  .step {
    padding: var(--gap-7) var(--gap-5) 0 var(--gap-5);
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .step:first-child { padding-left: 0; }
}
.step::before {
  content: '';
  position: absolute;
  top: var(--gap-6); left: -1px;
  width: 2px; height: 0;
  background: var(--accent);
  transition: height .4s var(--ease), width .4s var(--ease);
}
@media (min-width: 900px) {
  .step::before { top: -1px; left: 0; width: 0; height: 2px; }
}
.step.is-in::before { height: 34px; }
@media (min-width: 900px) { .step.is-in::before { height: 2px; width: 44%; } }
.step .index { display: block; margin-bottom: var(--gap-4); }
.step h3 { margin-bottom: var(--gap-3); font-size: 18px; }
.step p { color: var(--text-2); font-size: 14.5px; }

/* ---------- 14. Pakete ---------- */

.price-grid { display: grid; gap: var(--gap-5); align-items: stretch; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }

.price { display: flex; flex-direction: column; }
.price.is-featured {
  background: var(--surface-blue);
  border-color: var(--line-strong);
}
.price-flag {
  position: absolute;
  top: 0; right: var(--pad-card);
  transform: translateY(-50%);
  padding: 4px 10px;
  background: var(--accent);
  color: #1A0B00;
  border-radius: var(--r-xs);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.price h3 { font-size: 20px; margin-bottom: var(--gap-2); }
.price .price-sub { font-size: 14px; color: var(--text-2); }
.price-tag {
  margin: var(--gap-6) 0 var(--gap-5);
  padding-top: var(--gap-5);
  border-top: 1px solid var(--line);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.03em;
}
.price-tag small {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-3);
  margin-bottom: 4px;
}
.price .card-list { flex: 1; margin-bottom: var(--gap-6); }
.price .btn { width: 100%; }

.price-note {
  margin-top: var(--gap-6);
  font-size: 13.5px;
  color: var(--text-3);
  max-width: 68ch;
}

/* ---------- 15. FAQ ---------- */

.faq { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-5);
  padding: var(--gap-6) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(17px, 1.6vw, 19px);
  letter-spacing: -0.016em;
  color: var(--text);
  transition: color .16s var(--ease);
}
.faq-q:hover { color: var(--blue-200); }
.faq-icon {
  position: relative;
  flex: none;
  width: 22px; height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--blue-200);
  transform: translate(-50%, -50%);
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.faq-icon::before { width: 9px; height: 1px; }
.faq-icon::after { width: 1px; height: 9px; }
.faq-q[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: var(--gap-6); color: var(--text-2); max-width: 68ch; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- 16. Kontakt ---------- */

.contact {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface-blue);
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  gap: var(--gap-8);
  position: relative;
  overflow: hidden;
}
@media (min-width: 940px) { .contact { grid-template-columns: 0.9fr 1.1fr; gap: var(--gap-9); } }
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(191, 219, 254, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(191, 219, 254, 0.05) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  pointer-events: none;
}
.contact > * { position: relative; }

.field { display: grid; gap: var(--gap-2); margin-bottom: var(--gap-4); }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field .req { color: var(--accent); }

.input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 15px;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.input::placeholder { color: var(--text-3); }
.input:hover { border-color: var(--line-strong); }
.input:focus { border-color: var(--blue-400); background: rgba(255, 255, 255, 0.05); outline: none; }
textarea.input { resize: vertical; min-height: 108px; line-height: 1.6; }

.field-row { display: grid; gap: var(--gap-4); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.form-foot { margin-top: var(--gap-6); display: grid; gap: var(--gap-4); }
/* Der Absende-Button bleibt auf seiner Textbreite — eine volle orange Leiste
   waere zu viel Akzentflaeche. Auf schmalen Displays darf er durchlaufen. */
@media (min-width: 560px) { .form-foot .btn { justify-self: start; } }
.form-note { font-size: 12.5px; color: var(--text-3); line-height: 1.55; }
.form-note a { color: var(--blue-200); border-bottom: 1px solid var(--line-strong); }

.form-status {
  margin-top: var(--gap-4);
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.form-status:empty { display: none; }
.form-status.is-error { border-color: var(--line-accent); }

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.contact-list { display: grid; gap: var(--gap-5); margin-top: var(--gap-7); }
.contact-list li { display: grid; gap: 3px; }
.contact-list .k {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3);
}
.contact-list .v { font-size: 15.5px; color: var(--text); }
.contact-list a.v:hover { color: var(--blue-200); }

/* ---------- 17. Footer ---------- */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding-block: var(--gap-9) var(--gap-7);
  font-size: 14px;
}
.footer-top {
  display: grid;
  gap: var(--gap-8);
  padding-bottom: var(--gap-8);
}
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h4 {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: var(--gap-4);
}
.footer ul { display: grid; gap: 10px; }
.footer li a { color: var(--text-2); transition: color .16s var(--ease); }
.footer li a:hover { color: var(--text); }
.footer-claim { margin-top: var(--gap-4); color: var(--text-2); max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: var(--gap-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-4) var(--gap-6);
  justify-content: space-between;
  color: var(--text-3);
  font-size: 13px;
}

/* ---------- 18. Rechtstexte (Unterseiten) ---------- */

.legal { max-width: 76ch; padding-block: clamp(56px, 7vw, 96px); }
.legal h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.028em; margin-bottom: var(--gap-5); }
.legal h2 { font-size: clamp(20px, 2vw, 24px); margin: var(--gap-9) 0 var(--gap-4); }
.legal h3 { font-size: 17px; margin: var(--gap-6) 0 var(--gap-3); }
.legal p, .legal li { color: var(--text-2); font-size: 15.5px; }
.legal p + p { margin-top: var(--gap-4); }
.legal ul { margin-top: var(--gap-4); display: grid; gap: 8px; }
.legal ul li { display: flex; gap: 10px; }
.legal ul li::before {
  content: ''; flex: none; width: 6px; height: 6px; margin-top: 9px;
  border: 1px solid var(--blue-400); transform: rotate(45deg);
}
.legal address { font-style: normal; color: var(--text); margin-top: var(--gap-4); line-height: 1.8; }
.legal a { color: var(--blue-200); border-bottom: 1px solid var(--line-strong); }
.legal a:hover { color: var(--text); }
.legal .todo {
  border: 1px dashed var(--line-accent);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  margin-top: var(--gap-5);
  font-size: 14px;
  color: var(--text-2);
  background: rgba(249, 115, 22, 0.05);
}
.legal .todo strong { color: var(--accent); }
.legal .back { display: inline-flex; margin-bottom: var(--gap-7); border: 0; }

/* ---------- 19. Reveal (nur wenn JS laeuft) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- 20. Print ---------- */

@media print {
  .blueprint, .header, .drawer, .hero::before, .hero::after { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .contact { border-color: #ccc; background: #fff; }
}
