/* Schriften: lokal eingebunden (keine Verbindung zu Google) */
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #F3F4F1;
  --surface: #FFFFFF;
  --surface-2: #E9EBE6;
  --ink: #14191C;
  --muted: #566066;
  --line: #D6DAD3;
  --accent: #1D6FB8;
  --accent-hover: #175C99;
  --accent-ink: #FFFFFF;
  --accent-soft: #E2EDF7;
  --signal-soft: #FBF0C7;
  --signal-ink: #5A4600;
  --ok: #2B7A3D;
  --ok-ink: #FFFFFF;
  --danger: #B42318;
  --l1: #7A4B2C;
  --l2: #1B1B1B;
  --l3: #8E9193;
  --n: #1D6FB8;
  --pe-g: #2F9A41;
  --pe-y: #E8C000;
  --shadow: 0 1px 2px rgba(20, 25, 28, .06), 0 10px 28px rgba(20, 25, 28, .07);
  --font-display: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --maxw: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0F1315;
    --surface: #171C1F;
    --surface-2: #1D2326;
    --ink: #E8ECE9;
    --muted: #9CA6AB;
    --line: #2B3337;
    --accent: #5AA8EA;
    --accent-hover: #7DBBF0;
    --accent-ink: #08131D;
    --accent-soft: #15283A;
    --signal-soft: #2E2710;
    --signal-ink: #F1D98A;
    --ok: #5DBF79;
    --ok-ink: #0B1A10;
    --danger: #F07466;
    --l2: #050505;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .28);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0F1315;
  --surface: #171C1F;
  --surface-2: #1D2326;
  --ink: #E8ECE9;
  --muted: #9CA6AB;
  --line: #2B3337;
  --accent: #5AA8EA;
  --accent-hover: #7DBBF0;
  --accent-ink: #08131D;
  --accent-soft: #15283A;
  --signal-soft: #2E2710;
  --signal-ink: #F1D98A;
  --ok: #5DBF79;
  --ok-ink: #0B1A10;
  --danger: #F07466;
  --l2: #050505;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 84px; }
a { color: inherit; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* Platzhalter-Markierung */
.ph {
  background: var(--signal-soft);
  color: var(--signal-ink);
  border-radius: 4px;
  padding: 0 .3em;
}
.draft { background: var(--signal-soft); color: var(--signal-ink); font-size: 13.5px; line-height: 1.45; }
.draft .wrap { display: flex; gap: 10px; align-items: baseline; padding-block: 8px; }
.draft b { font-family: var(--font-mono); font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
}
.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background:
    linear-gradient(90deg, var(--l1) 0 20%, var(--l2) 20% 40%, var(--l3) 40% 60%, var(--n) 60% 80%, transparent 80%),
    repeating-linear-gradient(135deg, var(--pe-g) 0 7px, var(--pe-y) 7px 14px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 66px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo-mark { display: flex; gap: 3px; height: 24px; }
.logo-mark i { width: 4px; border-radius: 1.5px; background: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); }
.logo-mark i.pe { background: repeating-linear-gradient(180deg, var(--pe-g) 0 4px, var(--pe-y) 4px 8px); }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: .005em; }
.logo-text span { color: var(--accent); font-weight: 600; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 28px; }
.logo-text, .header-cta .btn { white-space: nowrap; }
.cta-short { display: none; }
@media (max-width: 880px) { .nav-links { display: none; } }
@media (max-width: 480px) {
  .header-inner { gap: 12px; }
  .logo-text { font-size: 18px; }
  .header-cta .btn { padding: 10px 12px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1.1 var(--font-body);
  padding: 13px 20px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 14px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 500;
  font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 6.2vw, 70px); line-height: 1.02; letter-spacing: -.012em;
  margin: 18px 0 22px; text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 54ch; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg, .checks svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Beispiel-Vorgang */
.case { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.case-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.case-id { font-family: var(--font-mono); font-weight: 500; color: var(--ink); font-size: 13px; }
.case-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; padding: 16px 20px; margin: 0; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.case-facts dt { color: var(--muted); }
.case-facts dd { margin: 0; font-family: var(--font-mono); font-weight: 500; font-size: 13.5px; padding-top: 1px; }
.timeline { list-style: none; margin: 0; padding: 18px 20px 6px; }
.tl-item { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: start; position: relative; padding-bottom: 18px; }
.tl-item:not(:last-child)::before { content: ""; position: absolute; left: 10px; top: 24px; bottom: 2px; width: 2px; background: var(--line); }
.tl-item.done:not(:last-child)::before { background: var(--ok); }
.tl-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); background: var(--surface); }
.tl-item.done .tl-dot { background: var(--ok); border-color: var(--ok); color: var(--ok-ink); }
.tl-item.done .tl-dot svg { width: 13px; height: 13px; }
.tl-item.active .tl-dot { border-color: var(--accent); }
.tl-item.active .tl-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .tl-item.active .tl-dot { animation: pulse 2.2s ease-out infinite; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); }
  70% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); }
}
.tl-title { font-weight: 500; font-size: 15px; line-height: 1.35; padding-top: 1px; }
.tl-item.open .tl-title { color: var(--muted); }
.tl-meta { font-family: var(--font-mono); font-weight: 500; font-size: 12.5px; color: var(--muted); white-space: nowrap; padding-top: 2px; font-variant-numeric: tabular-nums; }
.tl-item.active .tl-meta { color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; }
.case-foot { padding: 12px 20px; background: var(--surface-2); font-size: 13px; color: var(--muted); }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 36px; }
h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(31px, 4vw, 46px); line-height: 1.06; letter-spacing: -.005em; margin: 12px 0 14px; text-wrap: balance; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; max-width: 62ch; }
h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; text-wrap: balance; }

.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split .section-head { margin-bottom: 0; }

/* Übersicht-Tabelle */
.matrix-box { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.matrix { width: 100%; border-collapse: collapse; font-size: 15px; }
.matrix th {
  text-align: left; font: 500 12px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.matrix td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.matrix tbody tr:last-child td { border-bottom: 0; }
.dev { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.dev svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.chip { display: inline-block; font: 600 12.5px/1 var(--font-body); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.chip-yes { background: var(--accent-soft); color: var(--accent); }
.chip-cond { background: var(--signal-soft); color: var(--signal-ink); }
.chip-no { color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.cell-note { display: block; margin-top: 7px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.row-link { font: 600 14px/1.2 var(--font-body); color: var(--accent); background: none; border: 0; cursor: pointer; padding: 6px 0; white-space: nowrap; }
.row-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.footnote { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; max-width: 82ch; }
@media (max-width: 760px) {
  .matrix, .matrix thead, .matrix tbody, .matrix tr, .matrix td { display: block; }
  .matrix thead { display: none; }
  .matrix tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .matrix tbody tr:last-child { border-bottom: 0; }
  .matrix td { border: 0; padding: 7px 0; display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; align-items: start; }
  .matrix td::before { content: attr(data-label); font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
  .matrix td.dev-cell, .matrix td.link-cell { display: block; }
  .matrix td.dev-cell { padding-bottom: 10px; }
  .matrix td.dev-cell::before, .matrix td.link-cell::before { content: none; }
}

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 40px; }
.step { position: relative; padding: 30px 28px 0 0; border-top: 2px solid var(--line); }
.step::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.step-num { font-family: var(--font-mono); font-weight: 500; font-size: 13px; color: var(--accent); }
.step h3 { font-size: 24px; margin: 6px 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); row-gap: 32px; } .step { padding-right: 0; } }

/* Zielgruppen */
.aud-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 820px) { .aud-grid { grid-template-columns: minmax(0, 1fr); } }
.aud { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.aud-tag { font: 500 12px/1.3 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.aud h3 { font-size: 30px; margin: 0; }
.aud p { margin: 0; color: var(--muted); max-width: 52ch; }
.checks { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { margin-top: 3px; }
.aud .btn { align-self: flex-start; margin-top: auto; }

/* Preise */
.pricelist { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px clamp(18px, 3vw, 30px); }
.price-row { display: flex; align-items: baseline; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-name { font-weight: 500; min-width: 0; }
.price-name small { display: block; color: var(--muted); font-size: 13.5px; font-weight: 400; margin-top: 2px; }
.leader { flex: 1 1 24px; min-width: 16px; border-bottom: 2px dotted var(--line); transform: translateY(-5px); }
.price { font-family: var(--font-mono); font-size: 17px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-note { font-size: 13.5px; color: var(--muted); margin: 16px 0 0; }

/* Formular */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: clamp(20px, 3.2vw, 34px); }
.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0 0 26px; }
.stepper li { display: grid; gap: 8px; font: 500 12px/1.3 var(--font-mono); letter-spacing: .04em; color: var(--muted); }
.stepper li::before { content: ""; height: 4px; border-radius: 2px; background: var(--line); }
.stepper li.done::before, .stepper li.current::before { background: var(--accent); }
.stepper li.current { color: var(--ink); }
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-step legend { font-family: var(--font-display); font-weight: 600; font-size: 25px; line-height: 1.2; padding: 0; margin-bottom: 6px; }
.step-intro { color: var(--muted); margin: 0 0 20px; font-size: 15px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile label {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  padding: 16px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.tile label:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.tile svg.ico { width: 30px; height: 30px; color: var(--muted); }
.tile .t-name { font-weight: 600; font-size: 15px; line-height: 1.25; hyphens: auto; overflow-wrap: anywhere; padding-right: 4px; }
@media (max-width: 420px) { .tile label { padding: 14px 12px; } .tile .t-name { font-size: 14px; } }
.tile .t-sub { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.tile .tick { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; color: transparent; }
.tile .tick svg { width: 12px; height: 12px; }
.tile input:checked + label { border-color: var(--accent); background: var(--accent-soft); }
.tile input:checked + label svg.ico { color: var(--accent); }
.tile input:checked + label .tick { background: var(--accent); box-shadow: none; color: var(--accent-ink); }
.tile input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.fields { display: grid; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; align-content: start; }
.field > label, .group-label { font-weight: 500; font-size: 14.5px; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: 400 16px/1.4 var(--font-body); color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 8px;
  padding: 11px 12px; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; background: var(--bg); font-size: 15px; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input { accent-color: var(--accent); width: 17px; height: 17px; margin: 0; flex: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { accent-color: var(--accent); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.error { color: var(--danger); font-size: 13.5px; margin: 0; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-nav .spacer { flex: 1; }
.done-panel { display: grid; gap: 16px; }
.done-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--ok); color: var(--ok-ink); display: grid; place-items: center; }
.done-icon svg { width: 22px; height: 22px; }
.done-panel h3 { font-size: 28px; margin: 0; }
.summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 20px; margin: 0; padding: 16px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; font-size: 15px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.preview-note { font-size: 13.5px; color: var(--signal-ink); background: var(--signal-soft); border-radius: 8px; padding: 10px 12px; margin: 0; }

.direct { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.direct strong { font-weight: 600; }
.copy-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-line code { font-family: var(--font-mono); font-size: 14.5px; font-weight: 500; user-select: all; }
.copy-btn { font: 500 13px/1 var(--font-body); color: var(--accent); background: var(--accent-soft); border: 0; border-radius: 6px; padding: 7px 10px; cursor: pointer; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17px; line-height: 1.4; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: none; width: 22px; height: 22px; color: var(--accent); transition: transform .2s ease; margin-top: 1px; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq-body { padding: 0 38px 22px 0; color: var(--muted); max-width: 68ch; }
.faq-body p { margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-2); padding-block: 52px 36px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.foot-grid h4 { font: 500 12px/1.3 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.foot-grid p { margin: 0 0 6px; }
.foot-brand p { color: var(--muted); max-width: 40ch; margin-top: 14px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Formular: Spamschutz-Feld (für Menschen unsichtbar) */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .65; cursor: progress; }
.send-error { margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: color-mix(in srgb, var(--danger) 10%, var(--surface)); color: var(--danger); font-size: 14.5px; }
.done-text { margin: 0; color: var(--muted); }
.direct a { color: var(--accent); }
.consent a { color: var(--accent); }

/* Unterseiten: Impressum, Datenschutz */
.back-link { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.back-link:hover { color: var(--ink); }
.legal { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px); }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); margin: 14px 0 28px; }
.legal h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 40px 0 12px; }
.legal h3 { font-size: 20px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink); max-width: 68ch; }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 1.2em; margin: 0 0 14px; }
.legal a { color: var(--accent); overflow-wrap: anywhere; }
.legal-note { padding: 14px 16px; border-radius: 10px; background: var(--signal-soft); color: var(--signal-ink); font-size: 14.5px; margin-bottom: 28px; }
.legal-note p { color: inherit; margin: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
