@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Narrow";
  src: url("/assets/fonts/archivo-narrow-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Farben ----------
   Grundlage ist das Erscheinungsbild von www.doricom.de. Dazu kommt Orange
   als Warnfarbe, angelehnt an die BSI-Kritikalität 3 (Orange). Alle Text-
   farben erreichen mindestens WCAG AA auf ihrem jeweiligen Hintergrund. */
:root {
  color-scheme: light dark;
  --bg: #fff;
  --surface: #fff;
  --ink: #16283d;
  --muted: #536780;
  --line: #d2dce7;
  --tint: #edf2f8;
  --brand: #4e85c5;
  --brand-deep: #2a5a93;
  --link: #2a5a93;
  --btn-bg: #2a5a93;
  --btn-ink: #fff;
  --warn: #c2410c;
  --warn-ink: #b23c0b;
  --warn-tint: #fff3eb;
  --warn-line: #f3c4a5;
  --rot: #b42318;
  --rot-tint: #fdeeec;
  --gelb: #8a5800;
  --gelb-icon: #f0a91c;
  --gelb-tint: #fff7e2;
  --gruen: #1b7a3e;
  --gruen-tint: #e9f6ee;
  --grau: #5a6e85;
  --grau-tint: #f1f4f8;
  --foot-bg: #16283d;
  --grid: rgba(78, 133, 197, .16);
  --grid-strong: rgba(78, 133, 197, .30);
  --wrap: 1120px;
  --sans: "Archivo", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --display: "Archivo Narrow", "Archivo", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1825;
    --surface: #142236;
    --ink: #e4ebf4;
    --muted: #a6b5c8;
    --line: #2a3d56;
    --tint: #112033;
    --brand: #6b9fdc;
    --brand-deep: #9cc0ec;
    --link: #9cc0ec;
    --btn-bg: #2f6db3;
    --btn-ink: #fff;
    --warn: #c2410c;
    --warn-ink: #fb9a5a;
    --warn-tint: #2a1a10;
    --warn-line: #6d3517;
    --rot: #ff8f80;
    --rot-tint: #2c1618;
    --gelb: #f5c262;
    --gelb-icon: #f0a91c;
    --gelb-tint: #2a2210;
    --gruen: #72d79c;
    --gruen-tint: #10261a;
    --grau: #a6b5c8;
    --grau-tint: #162538;
    --foot-bg: #09111b;
    --grid: rgba(107, 159, 220, .10);
    --grid-strong: rgba(107, 159, 220, .20);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--sans);
  font-synthesis-weight: none;
}

img { max-width: 100%; height: auto; }
picture { display: block; }

a { color: var(--link); }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 30;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  border: 1px solid var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 560px) { .wrap { padding: 0 24px; } }

/* ---------- Kopfzeile ---------- */
.top {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
@media (min-width: 700px) {
  .top { position: sticky; top: 0; z-index: 10; }
  .top::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 3px;
    width: 100%;
    transform-origin: 0 50%;
    background: var(--warn);
    animation: pc-scrollfortschritt linear;
    animation-timeline: scroll(root block);
  }
  @keyframes pc-scrollfortschritt {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}
.top__row {
  display: flex;
  align-items: center;
  gap: 10px 22px;
  min-height: 72px;
  padding-top: 14px;
  flex-wrap: wrap;
}
.top__logo { display: block; }
.top__logo img { display: block; width: 150px; height: auto; }
@media (min-width: 560px) { .top__logo img { width: 168px; } }

.top__aside { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.nav { width: 100%; }
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  white-space: nowrap;
}
.nav a {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 9px 0;
  min-height: 40px;
}
.nav a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 1080px) {
  .top__row { flex-wrap: nowrap; padding-top: 0; }
  .top__logo { order: 1; margin-right: 12px; }
  .nav { order: 2; width: auto; overflow: visible; }
  .nav ul { padding: 0; gap: 22px; }
  .top__aside { order: 3; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 3px;
  border: 1px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-ink);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--link); border-color: currentColor; }
.btn--ghost:hover { background: var(--tint); color: var(--ink); border-color: var(--ink); }
.btn--warn { background: var(--warn); border-color: var(--warn); color: #fff; }
.btn--warn:hover { background: #9a3412; border-color: #9a3412; color: #fff; }
.btn--small { min-height: 44px; padding: 9px 14px; font-size: .95rem; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.btn svg { flex: none; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* auf ganz schmalen Displays nur das Symbol, die Nummer steht in der Leiste unten */
@media (max-width: 420px) {
  .top__ruf { font-size: 0; gap: 0; padding: 9px 11px; }
  .top__ruf svg { width: 22px; height: 22px; }
  .top__ruf::after { content: "Anrufen"; font-size: .95rem; margin-left: 8px; }
}

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; margin: 0; }
h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; line-height: 1.35; }
p { margin: 1rem 0 0; }
.lead {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
}
.muted { color: var(--muted); }
.nw { white-space: nowrap; }
.small { font-size: .95rem; }
code {
  font-family: var(--mono);
  font-size: .92em;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 .3em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--warn-line);
  background: var(--warn-tint);
  color: var(--warn-ink);
  font-weight: 600;
  font-size: .93rem;
  line-height: 1.3;
  border-radius: 3px;
}
.eyebrow__punkt {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 0 0 rgba(194, 65, 12, .5);
}
@media (prefers-reduced-motion: no-preference) {
  .eyebrow__punkt { animation: pc-puls 2.4s ease-out infinite; }
  @keyframes pc-puls {
    0% { box-shadow: 0 0 0 0 rgba(194, 65, 12, .55); }
    70%, 100% { box-shadow: 0 0 0 9px rgba(194, 65, 12, 0); }
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--tint);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 52px;
  scroll-margin-top: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px),
    linear-gradient(to right, var(--grid-strong) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-strong) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px, 140px 140px, 140px 140px;
  -webkit-mask-image: radial-gradient(120% 90% at 78% 12%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 78% 12%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: 36px;
  align-items: start;
}
.hero .lead { max-width: 56ch; }
@media (min-width: 900px) {
  .hero { padding: 76px 0 84px; }
  .hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr); gap: 60px; }
}

/* ---------- Prüfformular ---------- */
.check { margin-top: 28px; max-width: 640px; }
.check__label { display: block; font-weight: 600; margin-bottom: 8px; }
.check__zeile { display: flex; flex-wrap: wrap; gap: 10px; }
.check__feld {
  flex: 1 1 240px;
  min-width: 0;
  min-height: 52px;
  padding: 12px 14px;
  font: 400 1.1rem/1.3 var(--sans);
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--muted);
  border-radius: 3px;
}
.check__feld::placeholder { color: var(--muted); opacity: 1; }
.check__feld:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--brand-deep); }
.check .btn { flex: 0 0 auto; min-height: 52px; font-size: 1.05rem; }
@media (max-width: 480px) { .check .btn { flex: 1 1 100%; } }
.check__hinweis { margin-top: 12px; font-size: .95rem; color: var(--muted); max-width: 56ch; }
.check--version { margin-top: 18px; max-width: 520px; }

/* ---------- Patch-Uhr ---------- */
.uhr {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--warn);
  padding: 22px 22px 24px;
}
.uhr__titel {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.15;
}
.uhr__zeit {
  margin: 14px 0 0;
  min-height: 92px;
  display: flex;
  align-items: center;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.2;
}
.uhr__kacheln { display: flex; gap: 8px; width: 100%; }
.uhr__kachel {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px 8px;
  border-radius: 4px;
  background: #0d1724;
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .08);
}
.uhr__wert {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 2.1rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.uhr__einheit { margin-top: 6px; font-family: var(--sans); font-size: .82rem; color: #b8c7da; }
.uhr__text { margin-top: 14px; font-size: .97rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .uhr__wert.ist-neu { animation: pc-tick .5s ease-out; }
  @keyframes pc-tick {
    from { transform: translateY(-6px); opacity: .2; }
    to { transform: none; opacity: 1; }
  }
}

.bsi {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.bsi__stufe {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: var(--warn);
  color: #fff;
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1;
}
.bsi p { margin: 0; font-size: .95rem; line-height: 1.45; }
.bsi strong { display: block; font-size: 1rem; }

/* ---------- Ergebnis ---------- */
.ergebnis:empty { display: none; }
.ergebnis { margin-top: 26px; }
.hero .ergebnis { position: relative; }
.erg {
  --farbe: var(--grau);
  --farbe-tint: var(--grau-tint);
  border: 1px solid var(--line);
  border-left: 6px solid var(--farbe);
  background: var(--surface);
  padding: 22px 20px 22px;
  scroll-margin-top: 110px;
}
@media (min-width: 700px) { .erg { padding: 26px 30px 28px; } }
.erg--rot { --farbe: var(--rot); --farbe-tint: var(--rot-tint); }
.erg--gelb { --farbe: var(--gelb); --farbe-tint: var(--gelb-tint); }
.erg--gruen { --farbe: var(--gruen); --farbe-tint: var(--gruen-tint); }
.erg__kopf { display: flex; gap: 16px; align-items: center; }
.erg__icon { flex: none; color: var(--farbe); }
.erg--gelb .erg__icon { color: var(--gelb-icon); }
.erg__ziel { margin: 0; color: var(--muted); font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }
.erg__titel {
  margin-top: 2px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.1;
  color: var(--farbe);
}
.erg__titel:focus { outline: none; }
.erg__text { max-width: 68ch; }
.erg__text p { margin-top: .9rem; }
.erg .btnrow { margin-top: 20px; }
.erg__fuss { margin-top: 18px; font-size: .9rem; color: var(--muted); max-width: 70ch; }

/* ---------- Terminal (Gimmick) ----------
   Das Prüfprotokoll erscheint Zeile für Zeile wie getippt. Der Text steht
   von Anfang an im Dokument, nur die Anzeige wird per clip-path freigegeben.
   Ohne JavaScript läuft die Animation genauso, bei reduzierter Bewegung
   steht alles sofort da. */
.term {
  margin-top: 20px;
  background: #0d1724;
  color: #dbe4f0;
  border-radius: 6px;
  border: 1px solid #22344b;
  overflow: hidden;
  font-family: var(--mono);
  font-size: .88rem;
  line-height: 1.6;
}
@media (min-width: 700px) { .term { font-size: .95rem; } }
.term__leiste {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  background: #16263a;
  border-bottom: 1px solid #22344b;
}
.term__leiste span:not(.term__name) { width: 11px; height: 11px; border-radius: 50%; background: #3a4f69; }
.term__leiste span:nth-child(1) { background: #e0675a; }
.term__leiste span:nth-child(2) { background: #e3b341; }
.term__leiste span:nth-child(3) { background: #5cb87a; }
.term__name { margin-left: 8px; color: #9fb2c9; font-size: .82rem; }
.term__zeilen {
  list-style: none;
  margin: 0;
  padding: 14px 16px 16px;
  overflow-x: auto;
}
.t { white-space: pre; }
.t > span { display: inline-block; }
@media (max-width: 559px) {
  .term { font-size: .78rem; }
  .term__zeilen { padding: 12px 12px 14px; }
  .t { white-space: pre-wrap; overflow-wrap: anywhere; }
}
.t--cmd { color: #9cc4f2; font-weight: 600; }
.t--info { color: #dbe4f0; }
.t--grau { color: #9fb2c9; }
.t--gelb { color: #ffd27a; font-weight: 600; }
.t--rot { color: #ff9e92; font-weight: 600; }
.t--gruen { color: #80e3ab; font-weight: 600; }
.term__zeilen .t:last-child > span::after {
  content: "";
  display: inline-block;
  width: .55em;
  height: 1.05em;
  margin-left: .35em;
  vertical-align: -.18em;
  background: currentColor;
  opacity: .8;
}
.term--laeuft .t:last-child > span::after { background: #9cc4f2; }

@media (prefers-reduced-motion: no-preference) {
  .term--neu .t > span {
    clip-path: inset(0 100% 0 0);
    animation: pc-tippen .42s steps(18, end) forwards;
  }
  .term--neu .t:nth-child(2) > span { animation-delay: .35s; }
  .term--neu .t:nth-child(3) > span { animation-delay: .7s; }
  .term--neu .t:nth-child(4) > span { animation-delay: 1.05s; }
  .term--neu .t:nth-child(5) > span { animation-delay: 1.4s; }
  .term--neu .t:nth-child(6) > span { animation-delay: 1.75s; }
  .term--neu .t:nth-child(7) > span { animation-delay: 2.1s; }
  .term--neu .t:nth-child(8) > span { animation-delay: 2.45s; }
  .term--neu .t:nth-child(9) > span { animation-delay: 2.8s; }
  .term--neu .t:nth-child(10) > span { animation-delay: 3.15s; }
  .term--neu .t:nth-child(11) > span { animation-delay: 3.5s; }
  .term--neu .t:nth-child(12) > span { animation-delay: 3.85s; }
  .term--neu .t:nth-child(n+13) > span { animation-delay: 4.2s; }
  @keyframes pc-tippen { to { clip-path: inset(0 0 0 0); } }

  .term__zeilen .t:last-child > span::after { animation: pc-cursor 1.05s steps(1) infinite; }
  @keyframes pc-cursor { 50% { opacity: 0; } }
}

/* ---------- Abschnitte ---------- */
.sec { padding: 60px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.sec--tint { background: var(--tint); border-top: 0; }
.sec--plain { border-top: 0; }
.sec--erg { padding-top: 8px; }
.sec--erg .ergebnis { margin-top: 0; }
.sec__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.sec__grid > * { min-width: 0; }
.sec__grid > .sec__head h2 + p { margin-top: 14px; }
.sec__head p { color: var(--muted); }
@media (min-width: 700px) {
  .sec { scroll-margin-top: 96px; }
}
@media (min-width: 900px) {
  .sec { padding: 80px 0; }
  .sec__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 56px; }
  .sec__head { position: sticky; top: 104px; align-self: start; }
  .sec__head p { max-width: 34ch; }
}

.rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 44px; }
.row { padding: 17px 0 19px; border-top: 1px solid var(--line); }
.row p { margin: .3rem 0 0; color: var(--muted); font-size: .98rem; }

.note {
  margin-top: 28px;
  border: 1px solid var(--warn-line);
  border-left: 6px solid var(--warn);
  background: var(--warn-tint);
  padding: 18px 22px 20px;
}
.note h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 700; line-height: 1.15; color: var(--warn-ink); }
.note p { margin-top: .5rem; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 24px 46px;
  border-left: 2px solid var(--line);
  margin-left: 16px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: -17px;
  top: -3px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--btn-bg);
  color: #fff;
  font-family: var(--display);
  font-size: 1.05rem;
  display: grid;
  place-items: center;
}
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; color: var(--muted); }

/* Versionstabelle */
.tabelle { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tabelle caption { text-align: left; font-weight: 600; padding-bottom: 10px; }
.tabelle th,
.tabelle td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabelle thead th { font-size: .9rem; color: var(--muted); font-weight: 600; border-bottom-width: 2px; }
.tabelle tbody th { font-family: var(--display); font-size: 1.15rem; }
.tabelle td:nth-child(2) { font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.tabelle .ist-alt td:nth-child(2) { font-family: var(--sans); color: var(--rot); }
.tabelle td:last-child { color: var(--muted); font-size: .95rem; }
@media (max-width: 520px) {
  .tabelle th, .tabelle td { padding: 10px 6px; }
  .tabelle td:last-child { font-size: .9rem; }
}
.tabelle-box { overflow-x: auto; }

.finden { display: grid; gap: 0 30px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: 26px; }
.finden .row h3 { font-size: 1.05rem; }

.selbst {
  margin-top: 34px;
  padding: 22px 22px 24px;
  background: var(--tint);
  border: 1px solid var(--line);
}
.selbst h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 700; line-height: 1.15; }
.selbst > p { margin-top: .5rem; color: var(--muted); }
.selbst .check { margin-top: 16px; }

/* ---------- Hilfe ---------- */
.sec--hilfe { background: var(--foot-bg); color: #dbe4f0; border-top: 0; }
.sec--hilfe h2 { color: #fff; }
.sec--hilfe .sec__head p { color: #b4c4d8; }
.sec--hilfe .row { border-top-color: #2c4462; }
.sec--hilfe .row h3 { color: #fff; }
.sec--hilfe .row p { color: #b4c4d8; }
.sec--hilfe a { color: #fff; }
.geprueft {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 26px;
  padding: 16px 18px;
  border: 1px solid #2c4462;
  border-left: 4px solid #72d79c;
  background: rgba(255, 255, 255, .03);
}
.geprueft svg { flex: none; color: #72d79c; margin-top: 2px; }
.geprueft p { margin: 0; color: #e4ebf4; }

.direct {
  margin-top: 30px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 4px solid var(--warn);
  padding: 22px 22px 24px;
}
.direct h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.15;
}
.direct h3 svg { color: var(--warn-ink); }
.direct__person {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  margin-top: 14px;
}
.direct__person + .direct__person { margin-top: 0; }
.direct__who { font-weight: 600; }
.direct__who span { display: block; font-weight: 400; font-size: .92rem; color: var(--muted); }
.sec--hilfe .direct a.direct__num { color: var(--link); }
.direct__num {
  font-family: var(--display);
  font-size: 1.4rem;
  white-space: nowrap;
  text-decoration: none;
}
.direct__num:hover { text-decoration: underline; }

/* ---------- Fragen ---------- */
.fragen details { border-top: 1px solid var(--line); }
.fragen details:last-child { border-bottom: 1px solid var(--line); }
.fragen summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 16px 40px 16px 0;
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.4;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--link);
  border-bottom: 2px solid var(--link);
  transform: rotate(45deg);
}
.fragen details[open] summary::after { transform: rotate(-135deg); top: 26px; }
.fragen summary:hover { color: var(--link); }
.fragen details p { margin: 0 0 18px; color: var(--muted); max-width: 68ch; }

.quellen { padding-left: 1.15em; margin: 0; }
.quellen li { margin: .5rem 0; }
.stand { margin-top: 20px; font-size: .95rem; color: var(--muted); }

/* ---------- Fußzeile ---------- */
.foot {
  background: var(--foot-bg);
  color: #cdd8e6;
  padding: 54px 0 40px;
  font-size: .97rem;
  border-top: 1px solid #2c4462;
}
.foot__grid { display: grid; gap: 30px; }
@media (min-width: 780px) {
  .foot__grid { grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2.1fr); gap: 48px; }
}
@media (min-width: 560px) {
  .foot ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
}
@media (min-width: 1000px) {
  .foot ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; }
}
.foot__h {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
  color: #fff;
  margin: 0;
}
.foot a { color: #fff; }
.foot a:hover { color: #9cc0ec; }
.foot ul { list-style: none; margin: 12px 0 0; padding: 0; }
.foot li { margin: .42rem 0; }
.foot li a { display: inline-block; padding: 6px 0; }
.foot address { font-style: normal; margin-top: 12px; }
.foot__bar {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid #2c4462;
  font-size: .92rem;
}

/* ---------- Anrufleiste mobil ---------- */
.ruf { display: none; }
@media (max-width: 699px) {
  body { padding-bottom: 68px; }
  .ruf {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 60px;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
    background: var(--warn);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .18);
  }
  .ruf span { flex: 1; }
  .ruf strong { font-family: var(--display); font-size: 1.25rem; white-space: nowrap; }
  .ruf:hover, .ruf:focus-visible { color: #fff; background: #9a3412; }
  .ruf:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
}

/* ---------- Textseiten ---------- */
.pagehead { padding: 46px 0 8px; }
.pagehead .lead { margin-top: 16px; }
@media (min-width: 900px) { .pagehead { padding: 68px 0 10px; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.55rem; margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul { padding-left: 1.15em; }
.prose li { margin: .4rem 0; }
.prose dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 22px; margin: 1.2rem 0 0; }
.prose dt { font-weight: 600; }
.prose dd { margin: 0; }
@media (max-width: 520px) {
  .prose dl { grid-template-columns: 1fr; gap: 2px 0; }
  .prose dd { margin-bottom: .7rem; }
}

/* ---------- 404 ---------- */
.fehlerseite { padding: 56px 0 72px; }
.fehlerseite .term { max-width: 640px; }
.fehlerseite h1 { margin-top: 28px; }

/* ---------- Bewegung ----------
   Hero baut sich gestaffelt auf, Inhaltsblöcke steigen beim Scrollen ein.
   Beides ohne JavaScript und nur ohne Wunsch nach reduzierter Bewegung. */
@keyframes pc-auftritt {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow,
  .hero h1,
  .hero .lead,
  .hero .check,
  .hero .uhr {
    animation: pc-auftritt .6s cubic-bezier(.22, .68, .32, 1) both;
  }
  .hero h1 { animation-delay: .05s; }
  .hero .lead { animation-delay: .12s; }
  .hero .check { animation-delay: .2s; }
  .hero .uhr { animation-delay: .16s; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sec__head,
    .row,
    .note,
    .steps li,
    .selbst,
    .direct {
      animation: pc-auftritt linear both;
      animation-timeline: view();
      animation-range: entry 6% entry 40%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .top::after { display: none; }
}
