/* HD Steuerberater – Stylesheet
   Keine externen Schriften (DSGVO): Systemschriften mit sorgfältigen Fallbacks. */

:root {
  --grund: #f7f8fb;
  --flaeche: #ffffff;
  --see: #e4e9f4;
  --see-tief: #cfd8ec;
  --ink: #131a38;
  --ink-2: #454d6b;
  --linie: #d5dbe9;
  --blau: #0000cc;          /* Hausfarbe wie Logo und Kanzleiberichte */
  --blau-hover: #0000a3;
  --blau-tief: #141d5c;
  --auf-blau: #ffffff;
  --auf-blau-2: #c3cbf2;
  --fokus: #f2b705;

  --serif: ui-serif, "Iowan Old Style", "Sitka Heading", Charter, "Bitstream Charter", Cambria, Georgia, serif;
  --sans: system-ui, "Segoe UI Variable Text", "Segoe UI", -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --t-xs: .8125rem;
  --t-s: .9375rem;
  --t-m: 1.0625rem;
  --t-l: 1.3125rem;
  --t-xl: 1.75rem;
  --t-2xl: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
  --t-3xl: clamp(2.4rem, 1.5rem + 3.6vw, 3.75rem);

  --breite: 72rem;
  --rand: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 6px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --grund: #0d1128;
    --flaeche: #141a3a;
    --see: #1a2250;
    --see-tief: #26306a;
    --ink: #e7eaf6;
    --ink-2: #a9b0cc;
    --linie: #2a3363;
    --blau: #8e9dff;
    --blau-hover: #b0bbff;
    --blau-tief: #0a0e24;
    --auf-blau: #0d1128;
    --auf-blau-2: #2a3470;
  }
}
:root[data-theme="dark"] {
  --grund: #0d1128;
  --flaeche: #141a3a;
  --see: #1a2250;
  --see-tief: #26306a;
  --ink: #e7eaf6;
  --ink-2: #a9b0cc;
  --linie: #2a3363;
  --blau: #8e9dff;
  --blau-hover: #b0bbff;
  --blau-tief: #0a0e24;
  --auf-blau: #0d1128;
  --auf-blau-2: #2a3470;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--ink);
  font: 400 var(--t-m)/1.6 var(--sans);
  font-feature-settings: "kern", "liga";
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blau-hover); }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-l); }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; }
.wrap { max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.stack > * + * { margin-top: 1em; }
.label {
  font: 600 var(--t-xs)/1.3 var(--sans);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.num { font-variant-numeric: tabular-nums lining-nums; }
.skip {
  position: absolute; left: .75rem; top: -3rem; z-index: 50;
  background: var(--flaeche); color: var(--ink); padding: .5rem .9rem; border-radius: var(--radius);
}
.skip:focus { top: .75rem; }
.hinweis-offen {
  background: #fff3c4; color: #5a4300; padding: .05em .35em; border-radius: 3px;
  font-size: .92em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 var(--t-s)/1 var(--sans);
  padding: .8em 1.15em;
  border-radius: var(--radius);
  border: 1.5px solid var(--blau);
  background: var(--blau); color: var(--auf-blau);
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.knopf:hover { background: var(--blau-hover); border-color: var(--blau-hover); color: var(--auf-blau); }
.knopf.hohl { background: transparent; color: var(--blau); }
.knopf.hohl:hover { background: var(--see); color: var(--blau-hover); }
.knopf svg { width: 1.05em; height: 1.05em; flex: none; }
.pfeil { display: inline-block; text-decoration: none; font-weight: 600; }
.pfeil::after { content: " →"; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--grund) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.marke { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex: none; }
.marke img { height: 2.5rem; width: auto; }
.marke-text { font: 600 1.0625rem/1.1 var(--serif); }
.marke-text small { display: block; font: 500 var(--t-xs)/1.3 var(--sans); color: var(--ink-2); letter-spacing: .02em; }
.nav { display: flex; gap: .25rem; margin-left: auto; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: var(--t-s); font-weight: 500;
  padding: .5rem .7rem; border-radius: var(--radius);
}
.nav a:hover { background: var(--see); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blau); box-shadow: inset 0 -2px 0 var(--blau); border-radius: 0; }
.kopf-aktionen { display: flex; gap: .5rem; flex: none; }
.menue-knopf { display: none; }

@media (max-width: 64rem) {
  .kopf .wrap { flex-wrap: wrap; gap: .75rem; padding-block: .6rem; }
  .menue-knopf {
    display: inline-flex; margin-left: auto; order: 2;
    font: 600 var(--t-s)/1 var(--sans); color: var(--ink);
    background: transparent; border: 1.5px solid var(--linie); border-radius: var(--radius);
    padding: .65em .9em; cursor: pointer;
  }
  .nav { order: 4; flex-basis: 100%; flex-direction: column; margin: 0; display: none; padding-bottom: .5rem; }
  .kopf.offen .nav { display: flex; }
  .nav a { padding: .7rem .5rem; border-bottom: 1px solid var(--linie); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .kopf-aktionen { order: 3; flex-basis: 100%; }
  .kopf-aktionen .knopf { flex: 1; justify-content: center; }
}
@media (max-width: 22rem) { .marke-text small { display: none; } }

/* ---------- Abschnitte ---------- */
.band { padding-block: clamp(3.5rem, 7vw, 6rem); }
.band.see { background: var(--see); }
.band.tief { background: var(--blau-tief); color: #e9ecfb; }
.band.tief .label { color: #aab4e8; }
.band.tief a:not(.knopf) { color: #fff; }
.kopfzeile { display: grid; gap: .8rem; max-width: 44rem; margin-bottom: 2.5rem; }
.kopfzeile p { color: var(--ink-2); font-size: var(--t-m); }
.band.tief .kopfzeile p { color: #c9cff0; }

/* ---------- Startseite: Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero h1 em { font-style: italic; color: var(--blau); }
.hero-text { display: grid; gap: 1.4rem; padding-top: .5rem; }
.hero-text > p { font-size: var(--t-l); line-height: 1.5; color: var(--ink-2); max-width: 34rem; }
.fakten { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: .5rem; }
.fakten div { display: grid; }
.fakten dt { font: 600 var(--t-xl)/1.1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums; }
.fakten dd { margin: 0; font-size: var(--t-xs); color: var(--ink-2); }

.schnell {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgb(20 29 92 / .06), 0 12px 32px -12px rgb(20 29 92 / .18);
  overflow: hidden;
}
.schnell section { padding: 1.5rem 1.5rem 1.6rem; display: grid; gap: .9rem; }
.schnell section + section { border-top: 1px solid var(--linie); background: var(--see); }
.schnell h2 { font-size: var(--t-l); display: flex; align-items: center; gap: .55rem; }
.schnell h2 svg { width: 1.15em; height: 1.15em; color: var(--blau); }
.schnell p { font-size: var(--t-s); color: var(--ink-2); }
.terminwahl { list-style: none; display: grid; gap: .5rem; }
.terminwahl a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .15rem 1rem;
  padding: .75rem .9rem; border: 1px solid var(--linie); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); background: var(--flaeche);
  transition: border-color .15s, background-color .15s;
}
.terminwahl a:hover { border-color: var(--blau); background: var(--see); }
.terminwahl strong { font-weight: 600; font-size: var(--t-s); }
.terminwahl span { grid-column: 1; font-size: var(--t-xs); color: var(--ink-2); }
.terminwahl a::after { content: "→"; grid-column: 2; grid-row: 1 / span 2; color: var(--blau); font-weight: 600; }
.klein { font-size: var(--t-xs); color: var(--ink-2); }

/* ---------- Grenzlage ---------- */
.grenzlage { border-block: 1px solid var(--linie); background: var(--flaeche); }
.grenzlage .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.1rem; }
.laender { display: flex; align-items: center; gap: .6rem; list-style: none; font: 700 var(--t-s)/1 var(--sans); letter-spacing: .06em; }
.laender li { display: flex; align-items: center; gap: .6rem; }
.laender li + li::before { content: ""; width: 1.6rem; height: 1px; background: var(--ink-2); opacity: .5; }
.laender .hier { color: var(--blau); }
.grenzlage p { font-size: var(--t-s); color: var(--ink-2); }

/* ---------- Leistungen ---------- */
.raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2.5rem; list-style: none; }
.raster li { display: grid; gap: .5rem; align-content: start; }
.raster h3 { color: var(--ink); }
.raster p { color: var(--ink-2); font-size: var(--t-s); }
.raster .pfeil { font-size: var(--t-s); margin-top: .2rem; }
.raster .schwerpunkt h3 { color: var(--blau); }

/* ---------- Portal ---------- */
.zweier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.haken { list-style: none; display: grid; gap: .55rem; }
.haken li { padding-left: 1.7rem; position: relative; }
.haken li::before {
  content: ""; position: absolute; left: .1rem; top: .5em; width: .75rem; height: .4rem;
  border-left: 2px solid var(--blau); border-bottom: 2px solid var(--blau); transform: rotate(-45deg);
}
.band.tief .haken li::before { border-color: #aab4e8; }
.beleg-buehne { position: relative; padding: 1.5rem 0 1.5rem 1.5rem; }
.beleg {
  position: relative;
  background: #fbfbf8; color: #1f2233;
  font: 500 .8125rem/1.55 ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  padding: 1.4rem 1.4rem 3.6rem; max-width: 22rem;
  box-shadow: 0 18px 40px -16px rgb(0 0 0 / .55);
}
.beleg::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px;
  background: radial-gradient(circle at 6px 0, #fbfbf8 5.5px, transparent 6px) 0 0 / 12px 8px repeat-x;
}
.beleg.hinten { position: absolute; top: 0; left: 0; transform: rotate(-4deg); opacity: .55; width: 100%; height: 88%; }
.beleg.vorne { transform: rotate(1.5deg); }
.beleg .zeile { display: flex; justify-content: space-between; gap: 1rem; }
.beleg .trenn { border-top: 1px dashed #9aa0b5; margin: .6rem 0; }
.beleg .summe { font-weight: 700; }
.stempel {
  position: absolute; right: 1.2rem; bottom: .9rem; transform: rotate(-7deg);
  font: 800 .75rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: #0000cc; border: 2px solid #0000cc; border-radius: 4px; padding: .35rem .55rem;
  background: rgb(251 251 248 / .85);
}

/* ---------- Kanzlei ---------- */
.person { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 2rem; align-items: start; }
.person img { width: 11rem; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius); background: var(--see); }
.zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.zahlen div { border-top: 2px solid var(--blau); padding-top: .8rem; display: grid; gap: .25rem; }
.zahlen dt { font: 600 var(--t-2xl)/1 var(--serif); font-variant-numeric: lining-nums; }
.zahlen dd { margin: 0; font-size: var(--t-s); color: var(--ink-2); }

/* Bildergalerie: ein Aufmacher ueber die ganze Breite, darunter drei Kacheln.
   Bildunterschrift liegt im Bild, Klick vergroessert (site.js). */
.galerie { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8rem; margin: 1.2rem 0 1.8rem; }
.galerie figure {
  position: relative; margin: 0; grid-column: span 2; overflow: hidden; border-radius: 12px;
  background: var(--see); box-shadow: 0 1px 2px rgb(15 23 55 / .10), 0 10px 28px -16px rgb(15 23 55 / .45);
}
.galerie figure.gross { grid-column: span 6; }
.galerie img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .6, .2, 1);
}
.galerie figure.gross img { aspect-ratio: 16 / 9; }
.galerie figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.4rem .85rem .65rem; color: #fff;
  font-size: var(--t-xs); line-height: 1.3;
  background: linear-gradient(to top, rgb(9 14 38 / .80), rgb(9 14 38 / .32) 55%, transparent);
}
.galerie figure[role="button"] { cursor: zoom-in; }
.galerie figure:hover img, .galerie figure:focus-visible img { transform: scale(1.05); }
.galerie figure:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }
@media (max-width: 52rem) {
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie figure, .galerie figure.gross { grid-column: span 1; }
  /* Aufmacher und letztes Bild ueber beide Spalten - sonst bleibt eine Kachel allein */
  .galerie figure.gross, .galerie figure:last-child { grid-column: span 2; }
}
@media (max-width: 34rem) {
  .galerie { grid-template-columns: minmax(0, 1fr); }
  .galerie figure, .galerie figure.gross { grid-column: span 1; }
  .galerie figure.gross img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .galerie img { transition: none; }
  .galerie figure:hover img, .galerie figure:focus-visible img { transform: none; }
}

/* Grossansicht eines Fotos */
.lichtbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 66rem); }
.lichtbox::backdrop { background: rgb(9 14 38 / .85); }
.lichtbox img { display: block; width: 100%; max-height: 78vh; object-fit: contain; border-radius: 12px; background: #0b1026; }
.lichtbox p { margin: .7rem 0 0; color: #fff; font-size: var(--t-xs); text-align: center; }
.lichtbox .zu {
  display: block; margin: .8rem auto 0; padding: .45rem 1rem; border: 0; border-radius: var(--radius);
  background: #fff; color: var(--ink); font: inherit; font-size: var(--t-xs); cursor: pointer;
}

/* Breites Bildband (Startseite): Foto als Auftakt, Zeile darunter im Bild */
.bild-band { position: relative; margin: 2.5rem 0 .5rem; border-radius: 14px; overflow: hidden; background: var(--see); }
.bild-band img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 45%; }
.bild-band figcaption {
  position: absolute; inset: auto 0 0 0; padding: 3rem 1.2rem .9rem; color: #fff; font-size: var(--t-s);
  background: linear-gradient(to top, rgb(9 14 38 / .78), rgb(9 14 38 / .30) 60%, transparent);
}
@media (max-width: 46rem) {
  .bild-band { margin-top: 1.5rem; }
  .bild-band img { aspect-ratio: 16 / 10; }
  .bild-band figcaption { font-size: var(--t-xs); padding: 2.4rem .9rem .7rem; }
}

/* Video (Gruendung) */
.video { margin: 1.2rem 0 0; }
.video video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #0b1026;
  box-shadow: 0 1px 2px rgb(15 23 55 / .10), 0 10px 28px -16px rgb(15 23 55 / .45);
}
.video figcaption { font-size: var(--t-xs); color: var(--ink-2); margin-top: .6rem; }

.bild-breit { margin: 0; }
.bild-breit img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px;
  box-shadow: 0 1px 2px rgb(15 23 55 / .10), 0 10px 28px -16px rgb(15 23 55 / .45);
}
.bild-breit figcaption { font-size: var(--t-xs); color: var(--ink-2); margin-top: .6rem; }

/* ---------- Kontakt ---------- */
.kontakt-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.kontakt-raster > div { display: grid; gap: .4rem; align-content: start; }
.kontakt-raster .gross { font: 600 var(--t-l)/1.3 var(--serif); color: inherit; text-decoration: none; }
.kontakt-raster a.gross:hover { text-decoration: underline; }

/* ---------- Unterseiten ---------- */
.seitenkopf { padding-block: clamp(2.5rem, 6vw, 4.5rem) 2rem; border-bottom: 1px solid var(--linie); }
.seitenkopf .wrap { display: grid; gap: 1rem; }
.seitenkopf p { font-size: var(--t-l); color: var(--ink-2); max-width: 44rem; line-height: 1.5; }
.inhalt { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: clamp(2rem, 6vw, 5rem); padding-block: 3rem 5rem; align-items: start; }
.inhalt.voll { grid-template-columns: minmax(0, 1fr); }
.prosa { max-width: 44rem; }
.prosa > * + * { margin-top: 1.1em; }
.prosa h2 { font-size: var(--t-xl); margin-top: 2.4em; scroll-margin-top: 6rem; }
.prosa h2:first-child { margin-top: 0; }
.prosa .einstieg { font: 400 var(--t-l)/1.45 var(--serif); color: var(--ink); margin-top: .6em; }
.prosa h3 { font-size: var(--t-l); margin-top: 1.8em; }
.prosa ul { padding-left: 1.2rem; }
.prosa li + li { margin-top: .3em; }
.prosa dl { display: grid; grid-template-columns: minmax(9rem, max-content) 1fr; gap: .45rem 1.5rem; }
.prosa dt { color: var(--ink-2); }
.prosa dd { margin: 0; }
.seite-rand { position: sticky; top: 6rem; display: grid; gap: 1rem; }
.kasten { background: var(--see); border-radius: 10px; padding: 1.3rem; display: grid; gap: .7rem; }
.kasten h2 { font-size: var(--t-l); }
.kasten p { font-size: var(--t-s); color: var(--ink-2); }
.inhaltsliste { list-style: none; display: grid; gap: .1rem; font-size: var(--t-s); }
.inhaltsliste a { display: block; padding: .3rem 0; text-decoration: none; }
.inhaltsliste a:hover { text-decoration: underline; }
.termin-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin-top: 2rem; }
.termin-karten li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; padding: 1.5rem; display: grid; gap: .8rem; align-content: start; }
.termin-karten .knopf { justify-self: start; margin-top: .4rem; }
.recht dl { grid-template-columns: minmax(12rem, max-content) 1fr; }

/* ---------- Häufige Fragen ---------- */
.band.trenn { border-top: 1px solid var(--linie); }
.fragen-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.fragen-raster .kopfzeile { margin-bottom: 0; }
.fragen details { border-top: 1px solid var(--linie); }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font: 600 var(--t-l)/1.35 var(--serif); color: var(--ink);
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+"; position: absolute; right: .3rem; top: .95rem;
  font: 400 1.6rem/1 var(--sans); color: var(--blau); transition: transform .2s;
}
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details p { padding: 0 0 1.3rem; color: var(--ink-2); max-width: 42rem; }
@media (max-width: 60rem) { .fragen-raster { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Karriere ---------- */
.laufbahn { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
.laufbahn li { position: relative; padding-top: 1.8rem; display: grid; gap: .35rem; align-content: start; }
.laufbahn li::before { content: ""; position: absolute; top: .5rem; left: 0; right: -1.25rem; height: 2px; background: var(--see-tief); }
.laufbahn li:last-child::before { right: 0; }
.laufbahn li::after {
  content: ""; position: absolute; top: 0; left: 0; width: 1.1rem; height: 1.1rem;
  border-radius: 50%; background: var(--flaeche); border: 3px solid var(--blau);
}
.laufbahn li:last-child::after { background: var(--blau); }
.laufbahn h3 { font-size: var(--t-m); }
.laufbahn p { font-size: var(--t-s); color: var(--ink-2); }
.hervorhebung {
  margin-top: 2.75rem; padding-left: 1.25rem; border-left: 3px solid var(--blau); max-width: 46rem;
  font: italic 400 var(--t-l)/1.5 var(--serif); color: var(--ink);
}
.schritte { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: schritt; }
.schritte li { counter-increment: schritt; display: grid; gap: .45rem; align-content: start; }
.schritte li::before { content: counter(schritt); font: 600 var(--t-2xl)/1 var(--serif); color: var(--blau); }
.schritte p { font-size: var(--t-s); color: var(--ink-2); }
@media (max-width: 60rem) {
  .laufbahn { grid-template-columns: minmax(0, 1fr); }
  .laufbahn li { padding: 0 0 0 2.1rem; }
  .laufbahn li::before { top: .2rem; bottom: -1.45rem; left: .5rem; right: auto; width: 2px; height: auto; }
  .laufbahn li:last-child::before { display: none; }
  .schritte { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Fuß ---------- */
.fuss { background: var(--blau-tief); color: #c9cff0; font-size: var(--t-s); padding-block: 3.5rem 2rem; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; color: #fff; }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.fuss h2 { font: 600 var(--t-xs)/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #aab4e8; margin-bottom: .8rem; }
.fuss ul { list-style: none; display: grid; gap: .4rem; }
.fuss .marke { color: #fff; margin-bottom: 1rem; }
.fuss .marke-text small { color: #aab4e8; }
.pflicht { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .15); font-size: var(--t-xs); color: #aab4e8; line-height: 1.7; }

/* ---------- Umbrüche ---------- */
@media (max-width: 60rem) {
  .hero .wrap, .zweier, .inhalt { grid-template-columns: minmax(0, 1fr); }
  .raster, .termin-karten, .kontakt-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .seite-rand { position: static; }
}
@media (max-width: 40rem) {
  .raster, .termin-karten, .kontakt-raster, .fuss-raster { grid-template-columns: minmax(0, 1fr); }
  .person { grid-template-columns: minmax(0, 1fr); }
  .prosa dl, .recht dl { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .prosa dd { margin-bottom: .6rem; }
  .beleg-buehne { padding-left: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .kopf, .fuss, .schnell, .grenzlage { display: none; }
  body { background: #fff; color: #000; }
}
