/* Horyzon – Layout: ruhige Spalte, ein "Horizont"-Band als Leitmotiv, Produktfenster im Kopf.
   Schriften: Systemschriften (keine Google Fonts → DSGVO-sicher auf Strato). */
:root {
  --paper: #f4f6f5;
  --surface: #ffffff;
  --ink: #15212b;
  --muted: #55636e;
  --line: #d6dddb;
  --accent: #0e6b66;
  --accent-ink: #ffffff;
  --dawn: #e2893a;
  --dawn-soft: #fbe7d3;
  --mark: #fff1b8;
  --font-display: "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: 2.1rem;
  --step-4: clamp(2.2rem, 5vw, 3.4rem);
  --radius: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f171d; --surface: #16222a; --ink: #e8eef0; --muted: #9aa9b2;
    --line: #2a3943; --accent: #3fb3a9; --accent-ink: #0b1418; --dawn: #f0a057;
    --dawn-soft: #3a2a1c; --mark: #4a4120; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f171d; --surface: #16222a; --ink: #e8eef0; --muted: #9aa9b2;
  --line: #2a3943; --accent: #3fb3a9; --accent-ink: #0b1418; --dawn: #f0a057;
  --dawn-soft: #3a2a1c; --mark: #4a4120; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--dawn); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); font-weight: 650; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 650; }
p { margin: 0; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Kopfzeile */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--surface);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 24px; flex-wrap: wrap; padding-block: 12px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-family: var(--font-display);
  font-weight: 700; font-size: 1.25rem; letter-spacing: 0.01em;
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a {
  color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 6px; font-weight: 500;
}
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--paper); box-shadow: inset 0 -2px 0 var(--dawn); }

/* Horizont-Band */
.horizon-line {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 55%, var(--dawn) 55%, var(--dawn) 100%);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sektionen */
main { display: block; }
.section { padding-block: 64px; }
.section + .section { border-top: 1px solid var(--line); }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.lead { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 70ch; }

/* Hero */
.hero { padding-block: 56px 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 20px; min-width: 0; }
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-size: 0.85rem; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
}

/* Produktfenster (Windows-Programm, eingehender Anruf) */
.app-window {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px -20px rgba(10, 30, 40, .35);
  overflow: hidden; min-width: 0; font-size: 0.85rem;
}
.app-titlebar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; background: var(--paper); border-bottom: 1px solid var(--line);
  font-family: var(--font-body); color: var(--muted);
}
.win-buttons { display: flex; gap: 14px; font-family: var(--font-mono); }
.app-body { display: grid; grid-template-columns: 120px 1fr; min-height: 260px; }
.app-side { border-right: 1px solid var(--line); padding: 10px 0; display: grid; align-content: start; gap: 2px; }
.app-side span { padding: 6px 12px; color: var(--muted); }
.app-side span.on { color: var(--ink); background: var(--paper); box-shadow: inset 3px 0 0 var(--accent); }
.app-main { padding: 14px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.call-toast {
  border: 1px solid var(--dawn); background: var(--dawn-soft); border-radius: 8px;
  padding: 10px 12px; display: grid; gap: 4px;
}
.call-toast strong { font-size: 0.95rem; }
.call-meta { color: var(--muted); font-family: var(--font-mono); font-size: 0.78rem; }
.pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stage { background: var(--paper); border-radius: 6px; padding: 8px; display: grid; gap: 6px; min-width: 0; }
.stage b { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card-mini { background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 5px 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-status {
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding: 6px 12px; border-top: 1px solid var(--line); background: var(--paper);
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted);
}
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; }

/* Funktionsraster */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--surface); padding: 24px; display: grid; gap: 8px; align-content: start; }
.feature svg { width: 28px; height: 28px; color: var(--accent); }
.feature p { color: var(--muted); }

/* Offline-/Update-Abschnitt */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split > * { min-width: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(s); font-family: var(--font-mono); font-weight: 700;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--accent); color: var(--accent);
}
.steps p { color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.checklist li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* CTA-Band */
.cta-band { background: var(--ink); color: var(--paper); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 44px; }
.cta-band p { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.cta-band .btn { background: var(--dawn); color: #1b1006; }

/* Preise */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 18px; align-content: start; min-width: 0;
}
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan-tag { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .amount { font-family: var(--font-display); font-size: 3rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.price .per { color: var(--muted); }
.setup { padding: 10px 12px; border-radius: 8px; background: var(--paper); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.setup span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.calc { margin-top: 32px; overflow-x: auto; }
.calc table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-variant-numeric: tabular-nums; min-width: 520px; }
.calc th, .calc td { padding: 10px 14px; text-align: right; border-bottom: 1px solid var(--line); }
.calc th:first-child, .calc td:first-child { text-align: left; }
.calc thead th { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.calc tbody tr:last-child td { border-bottom: 0; }
.note { color: var(--muted); font-size: 0.9rem; margin-top: 16px; }

/* Formular */
.form-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.form-grid > * { min-width: 0; }
form.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.92rem; }
.req { color: var(--dawn); }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 7px; padding: 10px 12px; width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: 0.9rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { grid-column: 1 / -1; padding: 12px 14px; border-radius: 8px; }
.form-msg.ok { background: color-mix(in srgb, var(--accent) 15%, var(--surface)); border: 1px solid var(--accent); }
.form-msg.err { background: var(--dawn-soft); border: 1px solid var(--dawn); }
.contact-aside { display: grid; gap: 20px; }
.contact-aside dl { margin: 0; display: grid; gap: 14px; }
.contact-aside dt { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-aside dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }

/* Rechtstexte */
.legal { max-width: 70ch; display: grid; gap: 28px; }
.legal section { display: grid; gap: 8px; }
.legal h2 { font-size: var(--step-2); }
.legal p, .legal li { color: var(--ink); }
.ph { background: var(--mark); padding: 0 4px; border-radius: 3px; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 24px; color: var(--muted); font-size: 0.9rem; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Schmale Bildschirme */
@media (max-width: 860px) {
  .hero .wrap, .split, .form-grid { grid-template-columns: 1fr; gap: 32px; }
  .features { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  form.contact { grid-template-columns: 1fr; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .section { padding-block: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- Erweiterung: Verkaufsseite ---------- */
.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-block: 0; }
.fact { padding: 22px 20px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--accent); }
.fact span { color: var(--muted); font-size: 0.92rem; }

.alt { background: var(--surface); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Installer-Fenster */
.installer { max-width: 460px; justify-self: center; width: 100%; }
.installer .app-body { grid-template-columns: 150px 1fr; min-height: 230px; }
.wizard-steps { list-style: none; margin: 0; padding: 14px 0; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 4px; background: var(--paper); }
.wizard-steps li { padding: 6px 14px; color: var(--muted); display: flex; gap: 8px; }
.wizard-steps li.done::before { content: "✓"; color: var(--accent); font-weight: 700; }
.wizard-steps li.now { color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--dawn); }
.wizard-main { padding: 16px; display: grid; gap: 12px; align-content: start; }
.choice { display: grid; grid-template-columns: 16px 1fr; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; }
.choice.sel { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.radio { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--muted); margin-top: 3px; }
.choice.sel .radio { border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--surface); background: var(--accent); }
.choice small { display: block; color: var(--muted); }
.progress { height: 8px; border-radius: 99px; background: var(--paper); overflow: hidden; }
.progress i { display: block; height: 100%; width: 78%; background: linear-gradient(90deg, var(--accent), var(--dawn)); animation: fill 3.5s ease-in-out infinite alternate; }
@keyframes fill { from { width: 30%; } to { width: 92%; } }
.wizard-btns { display: flex; justify-content: flex-end; gap: 8px; }
.wbtn { padding: 5px 14px; border-radius: 5px; border: 1px solid var(--line); background: var(--paper); font-size: 0.8rem; }
.wbtn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Zwei-Wege-Karten (Installation / Update) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo > * { min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; align-content: start; }
.alt .panel { background: var(--paper); }
.panel .steps li { padding: 10px 0; }

/* Netzwerk-Diagramm */
.topology { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.topo-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; min-width: 0; }
.topo-card svg { width: 100%; height: auto; display: block; }
.topo-card p { color: var(--muted); }
.svg-line { stroke: var(--line); stroke-width: 2; fill: none; }
.svg-flow { stroke: var(--accent); stroke-width: 2; fill: none; stroke-dasharray: 5 6; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.svg-box { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; }
.svg-screen { fill: var(--accent); opacity: .85; }
.svg-db { fill: var(--dawn); }
.svg-label { fill: var(--muted); font: 600 11px var(--font-body); }

/* Editionen */
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.edition { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); display: grid; min-width: 0; }
.edition-top { padding: 12px 16px; display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; background: var(--ed, #0e6b66); }
.edition-top .logo { width: 22px; height: 22px; border-radius: 5px; background: rgba(255,255,255,.25); display: grid; place-items: center; font-size: .75rem; }
.edition-body { padding: 18px 20px 22px; display: grid; gap: 12px; }
.edition-body p { color: var(--muted); }
.edition-fields { display: flex; flex-wrap: wrap; gap: 6px; }
.edition-fields span { font-size: 0.8rem; padding: 3px 9px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); }
.custom-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.custom-item { display: grid; gap: 4px; padding: 16px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.alt .custom-item { background: var(--paper); }
.custom-item p { color: var(--muted); font-size: 0.92rem; }

/* Vergleich */
.compare { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: .85rem; color: var(--muted); }
.compare thead th.us { color: var(--accent); }
.compare td.us { font-weight: 600; background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.compare tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 780px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--muted); }

@media (max-width: 860px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .duo, .topology, .editions { grid-template-columns: 1fr; }
  .custom-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .custom-list { grid-template-columns: 1fr; }
  .installer .app-body { grid-template-columns: 1fr; }
  .wizard-steps { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .progress i, .svg-flow { animation: none; }
}

/* ---------- Sprachen ---------- */
.header-right { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 7px; font-weight: 600; font-size: .9rem; color: var(--ink);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; color: var(--accent); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 190px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 14px 30px -14px rgba(10, 30, 40, .4); padding: 6px; display: grid;
}
.lang-menu a, .lang-grid a {
  display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 6px;
  color: var(--ink); text-decoration: none;
}
.lang-menu a:hover, .lang-grid a:hover { background: var(--paper); }
.lang-menu a[aria-current="true"], .lang-grid a[aria-current="true"] { box-shadow: inset 3px 0 0 var(--dawn); background: var(--paper); }
.lang-code { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); text-transform: uppercase; }
dialog.lang-dialog {
  border: 1px solid var(--line); border-radius: 12px; padding: 0; width: min(520px, calc(100vw - 32px));
  background: var(--surface); color: var(--ink);
}
dialog.lang-dialog::backdrop { background: rgba(10, 20, 26, .55); }
.lang-dialog-inner { padding: 24px; display: grid; gap: 16px; }
.lang-dialog-inner .horizon-line { border-radius: 2px; }
.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lang-grid a { border: 1px solid var(--line); padding: 12px 14px; font-weight: 600; }
.lang-grid a.suggested { border-color: var(--accent); }
.lang-dialog form { display: flex; justify-content: flex-end; }
@media (max-width: 420px) { .lang-grid { grid-template-columns: 1fr; } }

/* Aufgabenliste im Programmfenster */
.tasklist { background: var(--paper); border-radius: 6px; padding: 10px; display: grid; gap: 6px; }
.tasklist b { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.task { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 6px 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task i { flex: none; width: 12px; height: 12px; border-radius: 3px; border: 2px solid var(--accent); }

/* ---------- Prüf-Korrekturen ---------- */
:root { --req: #b4551a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --req: #f0a057; } }
:root[data-theme="dark"] { --req: #f0a057; }
.req { color: var(--req); }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.legal p { overflow-wrap: break-word; hyphens: auto; }
.site-footer nav a { display: inline-block; padding-block: 4px; }
.choice small { color: var(--ink); opacity: .8; }
.ph { color: var(--ink); }

/* ---------- Cookie-Hinweis ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px -18px rgba(10, 30, 40, .45);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.cookie-inner { max-width: 1080px; margin: 0 auto; padding-block: 16px; display: flex; gap: 12px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-text { display: grid; gap: 4px; min-width: 0; flex: 1 1 320px; }
.cookie-text p { color: var(--muted); font-size: .92rem; }
.cookie-banner .btn { padding: 10px 16px; }
.linklike { background: none; border: 0; padding: 4px 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }

[hidden] { display: none !important; }
