/* beleg.org — Designsystem
   Konzept: Kontoblatt & Registerordner. Tintenblau auf Papierweiß,
   Rechenkästchen, Perforation, Stempel. */

:root {
  --paper: #ffffff;
  --paper-2: #f6f8fe;
  --paper-3: #eef2fc;
  --ink: #0b1a3f;
  --ink-2: #33436b;
  --muted: #66759a;
  --blue: #1b3fd1;
  --blue-deep: #0c2582;
  --blue-soft: #dfe7ff;
  --blue-wash: #eef3ff;
  --rule: #d6dff4;
  --rule-strong: #a9bbe8;
  --grid: rgba(27, 63, 209, 0.055);
  --err: #b4232b;
  --err-wash: #fdf0f0;
  --warn: #9a5b00;
  --warn-wash: #fdf6e9;

  --f-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --f-label: "IBM Plex Sans Condensed", "IBM Plex Sans", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --register-w: 232px;
  --stick: 24px;
  --radius: 3px;
  --shadow: 0 1px 0 rgba(11, 26, 63, .04), 0 12px 32px -18px rgba(12, 37, 130, .28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper-2);
  color: var(--ink);
  font: 400 15px/1.55 var(--f-body);
  font-feature-settings: "ss02";
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ————————————————— Register (Navigation) ————————————————— */
.shell { display: grid; grid-template-columns: var(--register-w) minmax(0, 1fr); min-height: 100dvh; }

.register {
  position: sticky; top: 0; height: 100dvh; overflow-y: auto; scrollbar-width: none;
  background: var(--blue-deep); color: #fff;
  display: flex; flex-direction: column; align-items: stretch;
  padding: 22px 0 18px; z-index: 5;
}
.register__mark { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; padding: 0 20px 20px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.14); }
.register__mark svg { width: 34px; height: 34px; flex: none; }
.register__word { font: 500 23px/1 var(--f-display); letter-spacing: .005em; }
.register__word i, .topbar__mark i { font-style: italic; color: #9fb6ff; }
.register__mark:hover, .register__mark:focus-visible, .topbar__mark:hover, .topbar__mark:focus-visible { color: #fff; }
.register__mark:hover .register__word i, .topbar__mark:hover i { color: #c9d7ff; }
.register__mark:hover svg, .topbar__mark:hover svg { transform: rotate(-6deg); }
.register__mark svg, .topbar__mark svg { transition: transform .25s; }
.menu a:hover, .menu a:focus-visible { color: #fff; }
.menu__chips a:hover { background: rgba(255,255,255,.12); }
.menu__tools a:hover { background: rgba(255,255,255,.12); }
.menu__tools a[aria-current="page"]:hover { background: #fff; color: var(--blue-deep); }
.menu__arts a:hover { color: #c9d7ff; }
.register .nav { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }
.nav-sec__row { position: relative; display: flex; align-items: stretch; }
.nav-sec__row .tab { flex: 1; min-width: 0; }
.nav-tog { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 4px; background: transparent; color: #8fa3e0; cursor: pointer; z-index: 2; }
.nav-tog::before { content: ""; position: absolute; left: 10px; top: 9px; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); transition: transform .2s; }
.nav-sec.is-open .nav-tog::before { transform: rotate(45deg); top: 8px; }
.nav-tog:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-sec__row .tab[aria-current="page"] ~ .nav-tog { color: var(--blue); }
.nav-sec__row .tab[aria-current="page"] ~ .nav-tog:hover { background: var(--blue-wash); }
.nav-sub { list-style: none; margin: 2px 0 8px 29px; padding: 0 0 0 0; border-left: 1px solid rgba(255,255,255,.16); display: none; }
.nav-sec.is-open .nav-sub { display: block; }
.nav-sec.is-current > .nav-sec__row .tab:not([aria-current]) { color: #fff; }
.nav-sec.is-current > .nav-sec__row .tab:not([aria-current]) .tab__ic { color: #9fb6ff; opacity: 1; }
.tab { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 40px 10px 20px; margin-right: -1px; color: #c9d5ff; text-decoration: none; border-radius: 4px 0 0 4px; transition: background .2s, color .2s; }
.tab__ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.tab__label { font: 500 13.5px/1.25 var(--f-label); letter-spacing: .01em; }
.tab:hover { color: #fff; background: rgba(255,255,255,.07); }
.tab[aria-current="page"] { background: var(--paper); color: var(--blue-deep); margin-left: 10px; padding-left: 10px; }
.tab[aria-current="page"] .tab__ic { color: var(--blue); opacity: 1; }
.tab[aria-current="page"]::before, .tab[aria-current="page"]::after { content: ""; position: absolute; right: 0; width: 10px; height: 10px; background: transparent; }
.tab[aria-current="page"]::before { top: -10px; border-bottom-right-radius: 6px; box-shadow: 4px 4px 0 4px var(--paper); }
.tab[aria-current="page"]::after { bottom: -10px; border-top-right-radius: 6px; box-shadow: 4px -4px 0 4px var(--paper); }
.tab--sub { display: block; padding: 7px 14px 7px 14px; font: 500 12.5px/1.3 var(--f-label); color: #aebfee; }
.tab--sub:hover { color: #fff; }
.tab--sub[aria-current="page"] { margin-left: 0; padding-left: 14px; font-weight: 600; }
.register__foot { margin: auto 20px 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font: 500 9.5px/1.7 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #8fa3e0; }
.register__foot span { display: block; }
@media (max-height: 680px) { .register__foot { display: none; } }

/* Mobile Kopfleiste + Menü (nur kleine Bildschirme) */
.topbar { display: none; }
.topbar__mark { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font: 500 20px/1 var(--f-display); }
.topbar__mark svg { width: 28px; height: 28px; }
.topbar__btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 22px; padding: 8px 14px; font: 500 13px/1 var(--f-label); cursor: pointer; }
.topbar__btn:hover { background: rgba(255,255,255,.18); }
.topbar__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.menu { border: 0; padding: 0; margin: 0; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; background: var(--blue-deep); color: #fff; }
.menu::backdrop { background: rgba(6, 20, 67, .5); }
.menu[open] { animation: menuIn .22s ease-out; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.menu__in { padding: 12px 16px 28px; display: flex; flex-direction: column; min-height: 100%; }
.menu__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.14); }
.menu__k { margin: 22px 0 10px; font: 500 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #8fa3e0; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu__tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.menu__tools a { display: grid; gap: 10px; align-content: start; min-height: 104px; padding: 14px; border-radius: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.menu__tools a[aria-current="page"] { background: #fff; color: var(--blue-deep); }
.menu__tools a[aria-current="page"] small { color: var(--muted); }
.menu__tools a[aria-current="page"] .m__ic { stroke: var(--blue); }
.menu__tools b { display: block; font: 600 14.5px/1.2 var(--f-label); }
.menu__tools small { display: block; font-size: 12px; line-height: 1.35; color: #b8c8f5; margin-top: 3px; }
.m__ic { width: 22px; height: 22px; fill: none; stroke: #9fb6ff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.menu__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.menu__chips a { color: #fff; text-decoration: none; font: 500 13px/1 var(--f-label); padding: 10px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; }
.menu__arts a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; font: 400 20px/1.2 var(--f-display); }
.menu__arts small { display: block; font: 400 12.5px/1.4 var(--f-body); color: #b8c8f5; margin-top: 2px; }
.menu__foot { margin: auto 0 0; padding-top: 22px; font-size: 13px; color: #8fa3e0; }
.menu__foot a { color: #dbe5ff; }

/* ————————————————— Blatt ————————————————— */
.sheet {
  position: relative;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box;
  min-width: 0;
  overflow-x: clip;
}
.sheet::before { /* Rechenkästchen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(180deg, #000 0, rgba(0,0,0,.35) 520px, rgba(0,0,0,.18) 100%);
}
.sheet > * { position: relative; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 0 3px var(--blue-soft); }

.wrap { padding: clamp(24px, 4vw, 56px) clamp(16px, 4.5vw, 72px) 72px; max-width: 1440px; }

/* ————————————————— Typografie ————————————————— */
.eyebrow { font: 500 11px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; display: flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.display {
  font: 400 clamp(40px, 6.2vw, 88px)/0.98 var(--f-display);
  letter-spacing: -0.022em; margin: 0; color: var(--ink);
  font-variation-settings: "opsz" 72;
}
@media (max-width: 600px) { .display, .art-head .display { font-size: clamp(30px, 9.2vw, 44px); } .display, .h2 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; overflow-wrap: break-word; } }
.display em { font-style: italic; color: var(--blue); }
.h2 { font: 400 clamp(28px, 3.2vw, 40px)/1.08 var(--f-display); letter-spacing: -0.015em; margin: 0 0 10px; }
.h2 em { font-style: italic; color: var(--blue); }
.h3 { font: 600 13px/1.3 var(--f-label); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; color: var(--ink); }
.lede { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; color: var(--ink-2); max-width: 58ch; margin: 20px 0 0; }
.small { font-size: 13px; color: var(--muted); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ————————————————— Buttons ————————————————— */
.btn {
  --b: var(--blue);
  display: inline-flex; align-items: center; gap: 9px;
  font: 500 14px/1 var(--f-label); letter-spacing: .02em;
  padding: 12px 16px; border-radius: var(--radius);
  border: 1px solid var(--b); background: var(--b); color: #fff;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--ghost { background: #fff; color: var(--blue); border-color: var(--rule-strong); }
.btn--ghost:hover { background: var(--blue-wash); color: var(--blue-deep); border-color: var(--blue); }
.btn--quiet { background: transparent; border-color: transparent; color: var(--blue); padding-inline: 8px; }
.btn--quiet:hover { background: var(--blue-wash); color: var(--blue-deep); border-color: transparent; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btnrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ————————————————— Formulare ————————————————— */
.fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.fieldset > legend { padding: 0; margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; width: 100%; }
.fieldset > legend .no { font: 500 11px/1 var(--f-mono); color: var(--blue); letter-spacing: .08em; }
.fieldset > legend .t { font: 600 13px/1.3 var(--f-label); letter-spacing: .06em; text-transform: uppercase; }
.fieldset > legend::after { content: ""; flex: 1; height: 1px; background: var(--rule); align-self: center; }

.grid { display: grid; gap: 12px 14px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.span-6 { grid-column: span 6; } .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; }

.field { display: grid; gap: 5px; min-width: 0; }
.field > span { font: 500 11px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.field > span small { text-transform: none; letter-spacing: 0; color: var(--muted); font-family: var(--f-body); font-size: 11px; }
.input, .field input, .field select, .field textarea {
  width: 100%; font: 400 15px/1.3 var(--f-body); color: var(--ink);
  padding: 10px 11px; background: #fff;
  border: 1px solid var(--rule-strong); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 70px; line-height: 1.45; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.field input::placeholder, .field textarea::placeholder { color: #a3aeca; }
.field input[type="number"], .field input.num-in { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231b3fd1' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px; }
.field input:user-invalid { border-color: var(--err); }

.switch { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 12px 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: #fff; }
.switch input { appearance: none; flex: none; width: 34px; height: 20px; border-radius: 20px; background: var(--rule-strong); position: relative; margin: 1px 0 0; cursor: pointer; transition: background .2s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked { background: var(--blue); }
.switch input:checked::after { transform: translateX(14px); }
.switch b { display: block; font: 600 14px/1.3 var(--f-label); }
.switch small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* Segmentierte Auswahl */
.seg { display: inline-flex; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: #fff; padding: 3px; gap: 3px; flex-wrap: wrap; }
.seg button { font: 500 13px/1 var(--f-label); letter-spacing: .02em; border: 0; background: transparent; color: var(--ink-2); padding: 10px 14px; border-radius: 2px; cursor: pointer; }
.seg button:hover { color: var(--blue); background: var(--blue-wash); }
.seg button[aria-pressed="true"] { background: var(--blue); color: #fff; }

/* ————————————————— Hinweise ————————————————— */
.note { border-left: 2px solid var(--blue); background: var(--blue-wash); padding: 12px 14px; font-size: 13.5px; color: var(--ink-2); border-radius: 0 var(--radius) var(--radius) 0; }
.note b { color: var(--ink); }
.note--warn { border-color: var(--warn); background: var(--warn-wash); }

/* ————————————————— Papier (Dokumentvorschau) ————————————————— */
.paper {
  background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow);
  border-radius: 2px; position: relative;
}
.perf { position: relative; }
.perf::after { /* Abrisskante */
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px;
  background: linear-gradient(-45deg, transparent 6px, #fff 0) 0 0 / 12px 10px repeat-x,
              linear-gradient(45deg, transparent 6px, #fff 0) 0 0 / 12px 10px repeat-x;
  filter: drop-shadow(0 1px 0 var(--rule));
}

/* Stempel */
.stamp {
  --c: var(--blue);
  display: inline-grid; place-items: center; text-align: center;
  border: 2.5px solid var(--c); color: var(--c); border-radius: 6px;
  padding: 8px 14px 7px; transform: rotate(-6deg);
  font: 700 13px/1.1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3.5px var(--c);
  mix-blend-mode: multiply; opacity: .92;
}
.stamp small { display: block; font-weight: 500; font-size: 9.5px; letter-spacing: .12em; margin-top: 3px; }
.stamp--err { --c: var(--err); }
.stamp--warn { --c: var(--warn); }
.stamp--in { animation: stampIn .5s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes stampIn { from { transform: rotate(-6deg) scale(1.9); opacity: 0; } to { transform: rotate(-6deg) scale(1); opacity: .92; } }

/* ————————————————— Tabellen ————————————————— */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--ink); }
.table td { padding: 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table .r { text-align: right; }
.table tfoot td { border-bottom: 0; }

/* ————————————————— Fußzeile ————————————————— */
.colophon {
  border-top: 1px solid var(--rule-strong); margin-top: 56px; background: var(--paper-2);
  padding: 36px clamp(16px, 4.5vw, 72px) 28px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 48px;
}
.colophon__brand b { display: block; font: 500 24px/1 var(--f-display); margin-bottom: 10px; }
.colophon__brand b i { color: var(--blue); }
.colophon__brand { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.colophon__brand b { margin: 0 !important; }
.colophon__brand span { font-size: 13px; color: var(--ink-2); display: block; max-width: 60ch; }
.colophon__cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1180px) { .colophon__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.colophon__cols p a { color: inherit; text-decoration: none; }
.colophon__cols p a:hover { text-decoration: underline; }
.colophon__cols p { margin: 0 0 10px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.colophon__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.colophon__cols a { color: var(--ink-2); text-decoration: none; font-size: 13.5px; }
.colophon__cols a:hover { color: var(--blue); text-decoration: underline; }
.colophon__legal { grid-column: 1 / -1; margin: 0; padding-top: 16px; border-top: 1px solid var(--rule); font: 400 12px/1.5 var(--f-mono); color: var(--muted); }
@media (max-width: 900px) { .colophon { grid-template-columns: minmax(0, 1fr); } .colophon__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ————————————————— Fließtext, Inhaltsverzeichnis, Karten ————————————————— */
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; margin-top: 44px; }
.toc { position: sticky; top: var(--stick); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: t; }
.toc li { counter-increment: t; border-bottom: 1px solid var(--rule); }
.toc a { display: grid; grid-template-columns: 30px minmax(0, 1fr); padding: 9px 0; font: 500 13px/1.35 var(--f-label); color: var(--ink-2); text-decoration: none; }
.toc a::before { content: counter(t, decimal-leading-zero); font: 500 11px/1.6 var(--f-mono); color: var(--blue); }
.toc a:hover { color: var(--blue); }
.prose { max-width: 70ch; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.prose section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--stick) + 8px); }
.prose section:last-child { border-bottom: 0; }
.prose h2 { font: 400 28px/1.15 var(--f-display); color: var(--ink); margin: 0 0 12px; letter-spacing: -.01em; }
.prose h3 { font: 600 13px/1.3 var(--f-label); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); margin: 22px 0 6px; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px; padding-left: 20px; }
.prose li { margin-bottom: 4px; }
.card { background: #fff; border: 1px solid var(--rule); border-left: 3px solid var(--blue); padding: 18px 20px; margin: 4px 0 16px; box-shadow: var(--shadow); }
.card address { font-style: normal; font: 400 16px/1.6 var(--f-body); color: var(--ink); }
.card address b { font: 500 21px/1.4 var(--f-display); display: block; }
.facts3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule); background: #fff; margin: 8px 0 18px; }
.facts3 div { padding: 14px 16px; border-right: 1px solid var(--rule); }
.facts3 div:last-child { border-right: 0; }
.facts3 b { display: block; font: 400 22px/1.2 var(--f-display); color: var(--blue); }
.facts3 span { font-size: 13px; }
@media (max-width: 860px) { .legal { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } .facts3 { grid-template-columns: minmax(0, 1fr); } .facts3 div { border-right: 0; border-bottom: 1px solid var(--rule); } }

/* ————————————————— Wissensblöcke & FAQ ————————————————— */
.info { margin-top: 104px; padding-top: 28px; border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 80px); }
.info__head { align-self: start; position: sticky; top: var(--stick); }
.info .prose { max-width: 68ch; }
.prose a { font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 18px; background: #fff; }
.prose th { text-align: left; font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 9px 10px; border-bottom: 1px solid var(--ink); background: var(--paper-2); }
.prose td { padding: 10px; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink); }
.prose .scroll { overflow-x: auto; }
.prose ol.steps { list-style: none; padding: 0; counter-reset: s; margin: 0 0 16px; }
.prose ol.steps > li { counter-increment: s; position: relative; padding: 0 0 14px 44px; margin: 0; }
.prose ol.steps > li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 500 12px/1 var(--f-mono); color: #fff; background: var(--blue); padding: 6px 7px; border-radius: 2px; }
.prose ol.steps b { color: var(--ink); }
.callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 18px; margin: 18px 0; background: var(--blue-deep); color: #fff; border-radius: 4px; text-decoration: none; }
.callout:hover { background: var(--blue); color: #fff; }
.callout span { display: block; font: 500 10px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #9fb6ff; margin-bottom: 4px; }
.callout b { font: 400 20px/1.2 var(--f-display); color: #fff; }
.callout::after { content: "→"; font: 400 22px/1 var(--f-body); }
.faq { margin-top: 72px; }
.faq__list { border-top: 1px solid var(--ink); margin-top: 18px; max-width: 900px; }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 16px; padding: 18px 0; font: 400 21px/1.3 var(--f-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 24px/1 var(--f-body); color: var(--blue); text-align: center; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq details > div { padding: 0 40px 20px 0; color: var(--ink-2); font-size: 15px; line-height: 1.65; max-width: 72ch; }
.faq details > div p { margin: 0 0 10px; }
@media (max-width: 900px) { .info { grid-template-columns: minmax(0, 1fr); } .info__head { position: static; } }


/* ————————————————— Artikel ————————————————— */
.art-head { max-width: 980px; }
.art-head .display { font-size: clamp(38px, 5.4vw, 76px); }
.art-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 11px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.art-meta b { color: var(--ink); font-weight: 600; }
.tldr { margin-top: 40px; background: var(--blue-deep); color: #dbe5ff; padding: clamp(20px, 3vw, 32px); border-radius: 6px; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
.tldr p { margin: 0; font: 400 26px/1.1 var(--f-display); color: #fff; }
.tldr p em { color: #9fb6ff; }
.tldr ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tldr li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; }
.tldr li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 2px; background: #6ea0ff; }
.tldr b { color: #fff; }
.related { margin-top: 80px; }
.related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); margin-top: 18px; }
.related__grid a { padding: 20px 22px 22px 0; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none; display: block; }
.related__grid a:hover .related__t { color: var(--blue); }
.related__k { font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.related__t { display: block; font: 400 24px/1.15 var(--f-display); margin: 8px 0 6px; transition: color .2s; }
.related__d { font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) { .tldr { grid-template-columns: minmax(0, 1fr); } .related__grid { grid-template-columns: minmax(0, 1fr); } }


/* ————————————————— Kacheln (Start, PDF-Werkstatt) ————————————————— */
.tasks { margin-top: 56px; }
.tasks__grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); margin-top: 22px; border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule-strong); background: #fff; }
.task { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 26px 26px 22px; border-right: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); color: inherit; text-decoration: none; transition: background .2s; min-height: 250px; }
.task:hover { background: var(--blue-wash); }
.task svg.ic { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.task__t { font: 400 clamp(26px, 2.4vw, 34px)/1.05 var(--f-display); letter-spacing: -.015em; }
.task__d { font-size: 14.5px; color: var(--ink-2); max-width: 36ch; }
.task__go { display: flex; justify-content: space-between; align-items: center; font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 14px; border-top: 1px dotted var(--rule-strong); margin-top: 8px; }
.task__go i { font-style: normal; color: var(--blue); font-size: 18px; transition: transform .25s; }
.task:hover .task__go i { transform: translateX(6px); }
.task--lead { background: var(--blue-deep); color: #fff; }
.task--lead:hover { background: var(--blue); }
.task--lead svg.ic { stroke: #9fb6ff; }
.task--lead .task__d { color: #c8d5ff; }
.task--lead .task__go { color: #9fb6ff; border-color: rgba(255,255,255,.25); }
.task--lead .task__go i { color: #fff; }
.also { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.also span { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.also a { font: 500 13px/1 var(--f-label); padding: 9px 12px; border: 1px solid var(--rule-strong); border-radius: 2px; background: #fff; text-decoration: none; color: var(--ink-2); }
.also a:hover { border-color: var(--blue); color: var(--blue); }
@media (max-width: 1000px) { .tasks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tasks__grid { grid-template-columns: minmax(0, 1fr); } .task { min-height: 0; } }

.tgroup { margin-top: 30px; }
.tgroup__h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 12px; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.tgroup__h a { font: 500 13px/1 var(--f-label); letter-spacing: 0; text-transform: none; text-decoration: none; }
.tgroup .task { min-height: 200px; }
.tgroup .tasks__grid[style*="--cols:1"] .task { min-height: 0; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr) auto; grid-template-rows: none; align-items: center; gap: 20px; }
.tgroup .tasks__grid[style*="--cols:1"] .task .ic { margin: 0; }
.tgroup .tasks__grid[style*="--cols:1"] .task__go { border: 0; margin: 0; padding: 0; }
@media (max-width: 1000px) { .tgroup .tasks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tgroup .tasks__grid[style*="--cols:1"] { grid-template-columns: minmax(0, 1fr); } .tgroup .tasks__grid[style*="--cols:1"] .task { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
@media (max-width: 600px) { .tgroup .tasks__grid { grid-template-columns: minmax(0, 1fr); } .tgroup .task { min-height: 0; } }

/* ————————————————— Brotkrumen & Bereichswechsler ————————————————— */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: -8px 0 22px; font: 500 12px/1.4 var(--f-mono); color: var(--muted); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs span { color: var(--rule-strong); }
.crumbs b { color: var(--blue-deep); font-weight: 600; }
.subnav-m { display: none; margin: 0 0 20px; border: 1px solid var(--rule-strong); border-radius: 6px; background: #fff; }
.subnav-m summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font: 500 14px/1.2 var(--f-label); color: var(--ink); }
.subnav-m summary::-webkit-details-marker { display: none; }
.subnav-m summary span { font: 500 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.subnav-m summary b { flex: 1; font-weight: 600; color: var(--blue-deep); }
.subnav-m summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.subnav-m[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.subnav-m__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 10px 12px; border-top: 1px solid var(--rule); }
.subnav-m__grid a { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 4px; background: var(--paper-2); color: var(--ink-2); text-decoration: none; font: 500 13px/1.2 var(--f-label); }
.subnav-m__grid a[aria-current="page"] { background: var(--blue); color: #fff; }
.subnav-m svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 860px) { .crumbs { display: none; } .subnav-m { display: block; } }

/* Mobilmenü als Akkordeon */
.menu__nav { display: grid; gap: 8px; margin-top: 16px; }
.msec { border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: rgba(255,255,255,.04); }
.msec[open] { background: rgba(255,255,255,.07); }
.msec summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 12px; gap: 12px; align-items: center; padding: 14px; font: 600 16px/1.2 var(--f-label); color: #fff; }
.msec summary::-webkit-details-marker { display: none; }
.msec summary em { font: 500 11px/1 var(--f-mono); font-style: normal; color: #8fa3e0; }
.msec summary::after { content: ""; width: 7px; height: 7px; border-right: 1.8px solid #9fb6ff; border-bottom: 1.8px solid #9fb6ff; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.msec[open] summary::after { transform: rotate(-135deg); }
.msec__list { list-style: none; margin: 0; padding: 0 8px 10px; display: grid; gap: 4px; }
.msec__list a { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px; border-radius: 6px; color: #fff; text-decoration: none; }
.msec__list li:first-child a { grid-template-columns: minmax(0, 1fr); padding-left: 42px; }
.msec__list a:hover { background: rgba(255,255,255,.1); }
.msec__list a[aria-current="page"] { background: #fff; color: var(--blue-deep); }
.msec__list a[aria-current="page"] small { color: var(--muted); }
.msec__list a[aria-current="page"] .m__ic { stroke: var(--blue); }
.msec__list b { display: block; font: 600 14px/1.25 var(--f-label); }
.msec__list small { display: block; font-size: 12px; color: #b8c8f5; margin-top: 1px; }

/* ————————————————— Einblenden ————————————————— */
.rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.rise-2 { animation-delay: .08s; } .rise-3 { animation-delay: .16s; } .rise-4 { animation-delay: .24s; } .rise-5 { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ————————————————— Mobil ————————————————— */
@media (max-width: 860px) {
  :root { --stick: 76px; }
  .shell { grid-template-columns: minmax(0, 1fr); }
  .register { display: none; }
  .topbar {
    display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 20;
    height: 56px; padding: 0 12px 0 16px; background: var(--blue-deep); color: #fff;
    box-shadow: 0 6px 18px -12px rgba(6,20,67,.6);
  }
  .topbar__here { flex: 1; min-width: 0; padding-left: 12px; margin-left: 2px; border-left: 1px solid rgba(255,255,255,.2); font: 500 12px/1.2 var(--f-label); color: #b8c8f5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-6, .span-4 { grid-column: span 2; } .span-3, .span-2 { grid-column: span 1; }
}
@media (max-width: 420px) {
  .span-3, .span-2 { grid-column: span 2; }
}

@media (max-width: 560px) { .colophon__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
