/* Gestaltung nach docs/design/DESIGN.md (Brandbook hollweck IT 1.2). Farben nur über die Rollen unten, nie als Hex-Wert in Bausteinen.
   Umschaltgrenzen (einheitlich):
   < 640px   Handy: Tab-Leiste unten, Bottom-Sheets, Tipp-Flächen >= 44px (@media max-width: 639.98px)
   >= 640px  Navigation oben, Popover
   800px     Raster 2/3 Spalten -> 1 Spalte (nur Desktop-Raster)
   880px     Anmeldeseite: Markenfläche und Formular untereinander (nur Anmeldeseite)
   960px     Startseite: Als Nächstes und Ihre Domains nebeneinander */
@font-face { font-family: 'Geist'; src: url(/static/geist.woff2?v=afb981c6fd) format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/static/geist-mono.woff2?v=0b7c015761) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url(/static/poppins-600.woff2?v=4a7f8b1f66) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
[hidden] { display: none !important; }
:root {
  --c-seite: #FFFFFF;
  --c-flaeche: #EEF2F5;
  --c-zeile: #F6F9F6;
  --c-text: #12171B;
  --c-text-stark: #03060A;
  --c-text-2: #50565D;
  --c-linie: #D9DFE3;
  --c-rahmen: #BFC5CA;
  --c-link: #003700;
  --c-fokus: #05A92E;
  --c-marke: #61CE70;
  --c-dunkel: #131C23;
  --s-rot: #DB2D27;
  --s-rot-hell: #FBEAE9;
  --s-gelb: #DE9300;
  --s-gelb-hell: #FAEED6;
  --s-gelb-tief: #6B4700;
  --s-gruen: #05A92E;
  --s-gruen-hell: #DBF8DA;
  --s-gruen-tief: #003700;
  --s-blau: #0094C9;
  --s-grau: #7B8187;
  --f-text: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-titel: "Poppins", "Geist", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* Kurznamen aus der Zeit vor DESIGN.md, zeigen auf die Rollen */
  --ink: var(--c-text);
  --muted: var(--c-text-2);
  --line: var(--c-linie);
  --bg: var(--c-flaeche);
  --card: var(--c-seite);
  --brand: var(--c-text);
  --brand-dark: var(--c-text-stark);
  --red: var(--s-rot);
  --yellow: var(--s-gelb);
  --green: var(--s-gruen);
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 16px;
  color: var(--c-text);
  background: var(--c-seite);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--c-link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--c-text-stark); text-decoration-thickness: 2px; }
h1, h2 { font-family: var(--f-titel); font-weight: 600; color: var(--c-text); text-wrap: balance; }
h1 { font-size: 28px; line-height: 34px; letter-spacing: -.03em; margin: 0 0 8px; }
.nowrap { white-space: nowrap; }
h2 { font-size: 20px; line-height: 28px; letter-spacing: -.02em; margin: 32px 0 12px; }
h3 { font-size: 16px; line-height: 24px; font-weight: 600; margin: 24px 0 8px; }
p { margin: 8px 0 16px; }
strong, b { font-weight: 600; }
.muted { color: var(--c-text-2); }
.small { font-size: 14px; line-height: 20px; }
.mono, code, pre { font-family: var(--f-mono); font-size: 14px; }
pre { background: var(--c-flaeche); color: var(--c-text); padding: 12px 16px; border-radius: 8px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 16px; line-height: 20px; }
code { background: var(--c-flaeche); padding: 1px 5px; border-radius: 4px; }
pre code { background: none; padding: 0; }
.tabular, .change-effect, .cat-deduct, .tl-date, .score-num, .stat-num, .num { font-variant-numeric: tabular-nums; }

.topbar { background: var(--c-seite); color: var(--c-text); border-bottom: 1px solid var(--c-linie); }
.topbar:not(.admin) { position: sticky; top: 0; z-index: 30; }
.topbar .inner { max-width: 1128px; margin: 0 auto; padding: 8px 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar.customer .inner { flex-wrap: nowrap; min-height: 56px; padding-block: 4px; gap: 24px; }
.brand { color: var(--c-text); text-decoration: none; display: flex; align-items: center; gap: 10px; line-height: 1.15; flex: none; }
.brand:hover { color: var(--c-text); }
.brand-text { display: flex; flex-direction: column; }
.brand strong { font-family: var(--f-titel); font-weight: 600; font-size: 16px; letter-spacing: -.02em; white-space: nowrap; }
.brand-text > span { font-size: 13px; color: var(--c-text-2); }
.brand-mark { display: block; width: 18px; height: 24px; flex: none; }
.topbar nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.topbar.customer nav { flex-wrap: nowrap; }
.topbar .main-nav { margin-right: auto; }
.topbar nav a, .topbar nav button { display: inline-flex; align-items: center; color: var(--c-text-2); text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; background: none; border: 0; cursor: pointer; font-family: inherit; transition: background-color .12s, color .12s; }
.topbar nav a:hover { background: var(--c-zeile); color: var(--c-text); }
.topbar nav a.active { background: var(--c-flaeche); color: var(--c-text); font-weight: 600; }
.zaehler { display: inline-block; flex: none; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--c-text); color: #fff; font-size: 12px; line-height: 20px; text-align: center; margin-left: 6px; font-weight: 600; font-variant-numeric: tabular-nums; }
.account-menu { position: relative; font-size: 14px; color: var(--c-text); min-width: 0; flex: 0 1 auto; }
.account-menu summary { cursor: pointer; list-style: none; padding: 6px 14px; border: 1px solid var(--c-rahmen); border-radius: 999px; max-width: 16rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; transition: background-color .12s; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary::after { content: " ▾"; color: var(--c-text-2); }
.account-menu summary:hover, .account-menu[open] summary { background: var(--c-zeile); }
.account-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 15rem; background: var(--c-seite); border: 1px solid var(--c-linie); border-radius: 12px; box-shadow: 0 8px 24px rgba(18,23,27,.12); padding: 8px; display: grid; gap: 4px; }
.account-panel > p { padding: 4px 8px 8px; border-bottom: 1px solid var(--c-linie); margin-bottom: 4px !important; }
.account-panel a, .account-panel button { display: block; width: 100%; text-align: left; padding: 8px; border-radius: 8px; background: none; border: 0; font: inherit; color: var(--c-text); text-decoration: none; cursor: pointer; }
.account-panel a:hover, .account-panel button:hover { background: var(--c-zeile); }
.account-panel form { margin: 0; }
.tabbar { display: none; }
.tab-badge { display: none; }

/* Betreiberbereich: Schiefer mit gelber Kante, damit er nie mit dem Kundenportal verwechselt wird */
.topbar.admin { background: var(--c-dunkel); color: #fff; border-bottom: 3px solid var(--s-gelb); }
.topbar.admin .brand, .topbar.admin .brand:hover { color: #fff; }
.topbar.admin .brand span { color: #C9CED3; }
.topbar.admin nav a { color: #E4E8EB; }
.topbar.admin nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.topbar.admin nav a.active { background: rgba(255,255,255,.18); color: #fff; }
.topbar.admin .to-customer { color: #E4E8EB; font-size: 14px; }
.topbar.admin .to-customer:hover { color: #fff; }
.env-badge { flex: none; background: var(--s-gelb); color: var(--c-text); font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; letter-spacing: .02em; }

main { max-width: 1128px; margin: 0 auto; padding: 32px 24px 64px; min-width: 0; overflow-wrap: break-word; }
/* Schutz gegen Überbreite: lange Werte ohne Umbruchstelle (DMARC-rua, DKIM, TXT-Tokens, Hostnamen) brechen in ihrer Karte um.
   "anywhere" wirkt auch auf die Mindestbreite von Flex- und Grid-Kindern; Tabellen scrollen weiter im .table-wrap. */
main :is(p, li, dd, dt, h1, h2, h3, h4, code, pre, summary, blockquote, p a, li a, dd a), .mess { overflow-wrap: anywhere; }
main table { overflow-wrap: normal; }
main > *, .card { min-width: 0; max-width: 100%; }
footer.site { max-width: 1080px; margin: 0 auto; padding: 24px 0; color: var(--c-text-2); font-size: 13px; border-top: 1px solid var(--c-linie); display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
footer.site a { color: var(--c-text-2); }
footer.site a:hover { color: var(--c-text); }
footer.site .slogan { margin-right: auto; }
.site-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
@media (max-width: 1127.98px) { footer.site { margin-inline: 24px; } }

.card { background: var(--c-seite); border: 1px solid var(--c-linie); border-radius: 12px; padding: 20px 24px; margin-bottom: 16px; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 800px) { .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; background: var(--c-text); color: #fff; border: 1px solid var(--c-text); padding: 7px 18px; border-radius: 999px; font-size: 15px; line-height: 24px; font-weight: 600; cursor: pointer; text-decoration: none; font-family: inherit; transition: background-color .12s, border-color .12s, color .12s; }
.btn:hover { background: var(--c-text-stark); border-color: var(--c-text-stark); color: #fff; text-decoration: none; }
.btn.secondary { background: var(--c-seite); color: var(--c-text); border-color: var(--c-rahmen); }
.btn.secondary:hover { background: var(--c-zeile); border-color: var(--c-text); color: var(--c-text); }
.btn.danger { background: var(--c-seite); color: var(--s-rot); border-color: var(--s-rot); }
.btn.danger:hover { background: var(--s-rot-hell); color: #A3201B; }
.btn.small { min-height: 32px; padding: 3px 12px; font-size: 14px; line-height: 24px; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--c-flaeche); border-color: var(--c-flaeche); color: var(--c-text-2); cursor: not-allowed; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

label { display: block; font-weight: 600; margin: 12px 0 4px; }
:where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=file]), textarea, select) { width: 100%; padding: 8px 12px; border: 1px solid var(--c-rahmen); border-radius: 8px; font-size: 1rem; line-height: 24px; font-family: inherit; background: var(--c-seite); color: var(--c-text); }
textarea { min-height: 7rem; }
input[type=checkbox], input[type=radio] { accent-color: var(--c-text); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--c-fokus); outline-offset: 0; border-color: var(--c-text); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--c-fokus); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 10px 0; }
.check input { margin-top: 5px; }
.field-hint { color: var(--c-text-2); font-size: 14px; line-height: 20px; margin: 4px 0 0; }

/* Hinweiskasten: weiß mit linkem Balken in Zustandsfarbe, Text in Tinte */
.alert { border-radius: 8px; padding: 12px 16px; margin: 0 0 16px; border: 1px solid var(--c-linie); border-left: 4px solid var(--s-blau); background: var(--c-seite); color: var(--c-text); }
.alert.error { border-left-color: var(--s-rot); }
.alert.ok { border-left-color: var(--s-gruen); }
.alert.info { border-left-color: var(--s-blau); }
.alert.warn { border-left-color: var(--s-gelb); }
.test-banner strong, .test-banner span { display: block; overflow-wrap: anywhere; }
.test-banner span { margin-top: 2px; }

.hero { padding: 40px 0 16px; }
.hero h1 { font-size: 36px; line-height: 42px; }
.hero p.lead { font-size: 18px; line-height: 28px; max-width: 40rem; color: var(--c-text-2); }
@media (max-width: 639.98px) { .hero h1 { font-size: 28px; line-height: 34px; } }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; padding-left: 40px; position: relative; margin: 0 0 16px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--c-flaeche); color: var(--c-text); display: grid; place-items: center; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }

.light { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.light .dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; background: var(--s-grau); }
.light.red .dot { background: var(--s-rot); }
.light.yellow .dot { background: var(--s-gelb); }
.light.green .dot { background: var(--s-gruen); }
.ampel { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 18px; flex: none; background: var(--s-grau); font-variant-numeric: tabular-nums; }
.ampel.red { background: var(--s-rot); }
.ampel.yellow { background: var(--s-gelb); color: var(--c-text); }
.ampel.green { background: var(--s-gruen); }
.status-banner { display: flex; gap: 20px; align-items: center; }
.status-banner h1 { margin: 0; }

/* Lagefläche (DESIGN.md §2): das einzige eingefärbte Element der Seite */
.lage { display: flex; gap: 24px; align-items: flex-start; padding: 32px; border-radius: 12px; background: var(--c-flaeche); margin: 0 0 16px; }
.lage.red { background: var(--s-rot-hell); }
.lage.yellow { background: var(--s-gelb-hell); }
.lage.green { background: var(--s-gruen-hell); }
.lage .ampel { margin-top: 2px; }
.lage-text { min-width: 0; }
.lage h1 { font-size: 30px; line-height: 36px; margin: 0; max-width: 40ch; }
.lage-meta { margin: 8px 0 0; color: var(--c-text-2); font-size: 14px; line-height: 20px; }
.lage .btn-row { margin: 20px 0 0; }

.badge { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--c-text-2); background: var(--c-flaeche); white-space: nowrap; border: 1px solid transparent; }
.badge.wrap { white-space: normal; }
.badge.critical { background: var(--s-rot); color: #fff; }
.badge.high { background: var(--s-gelb); color: var(--c-text); }
.badge.medium { background: var(--s-gelb-hell); color: var(--s-gelb-tief); border-color: var(--s-gelb); }
.badge.info, .badge.neutral { background: var(--c-flaeche); color: var(--c-text-2); }
.badge.ok { background: var(--s-gruen-hell); color: var(--s-gruen-tief); }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-linie); vertical-align: top; }
th { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--c-text-2); }
.table-wrap { overflow-x: auto; }

.findings { list-style: none; margin: 0; padding: 0; }
.findings li { border-bottom: 1px solid var(--c-linie); padding: 12px 0; display: flex; gap: 12px; align-items: flex-start; }
.findings li:last-child { border-bottom: 0; }
.findings .title { font-weight: 600; }
.findings a.title { color: var(--c-text); text-decoration: none; }
.findings a.title:hover { text-decoration: underline; }

/* Umschalter: Pillen in einer Nebel-Schiene. .filter: Chips mit Rahmen, damit Filter nicht wie Status aussehen */
.tabs { display: flex; width: fit-content; max-width: 100%; gap: 2px; margin: 0 0 16px; flex-wrap: wrap; padding: 3px; border-radius: 999px; background: var(--c-flaeche); }
.tabs a { padding: 5px 14px; border-radius: 999px; text-decoration: none; color: var(--c-text-2); font-size: 14px; line-height: 20px; font-weight: 500; border: 1px solid transparent; transition: background-color .12s, color .12s; }
.tabs a:hover { color: var(--c-text); }
.tabs a.active { background: var(--c-seite); color: var(--c-text); border-color: var(--c-rahmen); font-weight: 600; }
.tabs.filter { background: none; padding: 0; gap: 8px; border-radius: 0; }
.tabs.filter a { border-color: var(--c-rahmen); color: var(--c-text); }
.tabs.filter a:hover { background: var(--c-zeile); }
.tabs.filter a.active { background: var(--c-text); border-color: var(--c-text); color: #fff; }

.record { background: var(--c-flaeche); border: 1px solid var(--c-linie); border-radius: 8px; padding: 12px 16px; }
.record dl { margin: 0; display: grid; grid-template-columns: 8rem 1fr auto; gap: 6px 12px; align-items: center; }
.record dt { color: var(--c-text-2); font-size: 14px; }
.record dd { margin: 0; word-break: break-all; font-family: var(--f-mono); font-size: 14px; }
@media (max-width: 639.98px) { .record dl { grid-template-columns: minmax(0, 1fr); } }

.kv { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 6px 16px; margin: 0; }
.kv dt { color: var(--c-text-2); }
.kv dd { margin: 0; }
@media (max-width: 639.98px) { .kv { grid-template-columns: minmax(0, 1fr); } }

.chart { display: block; width: 100%; height: auto; max-width: 720px; margin: 4px 0 8px; }
.chart-label { font-size: 13px; fill: var(--c-text-2); font-family: var(--f-text); }
.chart-label.heute { fill: var(--c-text); font-weight: 600; }
.chart .achse { stroke: var(--c-rahmen); stroke-width: 1; }
.chart .raster { stroke: var(--c-linie); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .band.gruen { fill: var(--s-gruen-hell); }
.chart .band.gelb { fill: var(--s-gelb-hell); }
.chart .band.rot { fill: var(--s-rot-hell); }
.chart .linie { fill: none; stroke: var(--c-text); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .punkt.red { fill: var(--s-rot); }
.chart .punkt.yellow { fill: var(--s-gelb); }
.chart .punkt.green { fill: var(--s-gruen); }
.chart .punkt.letzter { stroke: var(--c-seite); stroke-width: 2; }
.issue-trend { margin: 0 0 24px; }
.trend-satz { color: var(--c-text); font-weight: 500; }
.issue-bars { margin: 8px 0 4px; }
.issue-bars .chart-label { font-size: 16px; }
.issue-bars .hit { fill: transparent; }
.issue-bars a:hover .hit { fill: var(--c-flaeche); }
.issue-bars a:focus { outline: none; }
.issue-bars a:focus-visible .hit { fill: var(--c-flaeche); stroke: var(--c-fokus); stroke-width: 2; }
.seg.dringend, .sw.dringend { fill: var(--s-rot); background: var(--s-rot); }
.seg.wichtig, .sw.wichtig { fill: var(--s-gelb); background: var(--s-gelb); }
.seg.empfohlen, .sw.empfohlen { fill: var(--s-grau); background: var(--s-grau); }
.seg.null { fill: var(--s-gruen); }
.legende { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--c-text-2); }
.legende li { display: inline-flex; align-items: center; gap: 6px; }
.legende .sw { width: 10px; height: 10px; border-radius: 2px; }
.report-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.report-numbers .card { display: flex; flex-direction: column; align-items: center; margin-bottom: 16px; padding: 12px; }
.report-numbers .num { font-family: var(--f-titel); font-size: 32px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.plain-list { margin: 0; padding-left: 20px; }
.plain-list li { margin: 4px 0; }
.link-box { display: block; width: 100%; font-family: var(--f-mono); font-size: 14px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; flex-wrap: wrap; }
.timeline li + li { border-top: 1px solid var(--c-linie); }
.tl-date { flex: 0 0 4.5rem; color: var(--c-text-2); font-size: 14px; }
.tl-body { flex: 1 1 14rem; min-width: 0; overflow-wrap: anywhere; }
.tl-detail { display: block; }
@media (max-width: 639.98px) { .tl-date { flex-basis: 100%; } }
.empty { text-align: center; padding: 32px 16px; color: var(--c-text-2); }
.empty h2 { color: var(--c-text); margin-top: 0; }
.inline-form { display: inline; }
details > summary { cursor: pointer; font-weight: 600; }
.legal-text { white-space: pre-wrap; font-family: inherit; background: var(--c-seite); border: 1px solid var(--c-linie); padding: 20px; border-radius: 8px; }
.pill-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pill-nav a { padding: 5px 14px; border-radius: 999px; text-decoration: none; border: 1px solid var(--c-rahmen); color: var(--c-text); font-size: 14px; }
.pill-nav a:hover { background: var(--c-zeile); }
.pill-nav a.active { background: var(--c-text); border-color: var(--c-text); color: #fff; }

/* Hilfsklassen (statt Inline-Styles; die CSP erlaubt keine style-Attribute) */
.m-0{margin:0}.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.mt-02{margin-top:.2rem}.mt-04{margin-top:.4rem}.mt-05{margin-top:.5rem}.mt-06{margin-top:.6rem}.mt-07{margin-top:.7rem}.mt-08{margin-top:.8rem}.mt-1{margin-top:1rem}
.my-04{margin-top:.4rem;margin-bottom:.4rem}.my-025{margin-top:.25rem;margin-bottom:.25rem}
.ml-auto{margin-left:auto}.text-right{text-align:right}.break-all{word-break:break-all}.maxw-18{max-width:18rem}
.narrow{max-width:32rem;margin-left:auto;margin-right:auto}.narrow-l{max-width:34rem;margin-left:auto;margin-right:auto}.narrow-xl{max-width:38rem;margin-left:auto;margin-right:auto}
.stat-num{font-family:var(--f-titel);font-size:28px;margin:0;font-weight:600;letter-spacing:-.02em}.score-num{font-family:var(--f-titel);font-size:30px;font-weight:600;line-height:1;letter-spacing:-.02em}
.row-between{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}
.row-wrap{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap}
.maxw-24{max-width:24rem}

/* ---- Anmeldung / Registrierung: Markenfläche links, Formular rechts; hell und dunkel ---- */
.auth-root {
  --a-bg: #EEF2F5; --a-card: #FFFFFF; --a-ink: #12171B; --a-muted: #50565D; --a-line: #D9DFE3;
  --a-field: #FFFFFF; --a-field-line: #BFC5CA; --a-accent: #12171B; --a-accent-ink: #FFFFFF; --a-accent-hover: #03060A; --a-link: #003700;
  --a-focus: #05A92E; --a-shadow: 0 1px 2px rgba(18,23,27,.05), 0 12px 32px rgba(18,23,27,.08);
  --a-brand-1: #060E15; --a-brand-2: #131C23; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  .auth-root:not([data-theme="light"]) {
    --a-bg: #060E15; --a-card: #131C23; --a-ink: #EEF2F5; --a-muted: #BFC5CA; --a-line: #2A353E;
    --a-field: #0B141B; --a-field-line: #50565D; --a-accent: #61CE70; --a-accent-ink: #12171B; --a-accent-hover: #7FD98B; --a-link: #61CE70;
    --a-focus: #61CE70; --a-shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px rgba(0,0,0,.45);
    --a-brand-1: #03060A; --a-brand-2: #131C23; color-scheme: dark;
  }
}
.auth-root[data-theme="dark"] {
  --a-bg: #060E15; --a-card: #131C23; --a-ink: #EEF2F5; --a-muted: #BFC5CA; --a-line: #2A353E;
  --a-field: #0B141B; --a-field-line: #50565D; --a-accent: #61CE70; --a-accent-ink: #12171B; --a-accent-hover: #7FD98B; --a-link: #61CE70;
  --a-focus: #61CE70; --a-shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px rgba(0,0,0,.45);
  --a-brand-1: #03060A; --a-brand-2: #131C23; color-scheme: dark;
}
body.auth { background: var(--a-bg); color: var(--a-ink); min-height: 100vh; }
.auth h1, .auth h2 { color: var(--a-ink); }
.auth a { color: var(--a-link); }
.auth a:hover { color: var(--a-ink); }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }

.auth-brand { position: relative; overflow: hidden; color: #EEF2F5; padding: 2.2rem 2.6rem; display: flex; flex-direction: column; gap: 2rem;
  background: var(--a-brand-2); }
.auth a.auth-logo { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; }
.auth a.auth-logo:hover { color: #fff; }
.auth-logo strong { display: block; font-family: var(--f-titel); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.15; }
.auth-logo small { display: block; font-size: 13px; color: #C9CED3; }
.auth-logo-mark { display: block; width: 24px; height: 32px; flex: none; }
.auth-hero { margin-top: auto; max-width: 30rem; position: relative; z-index: 1; }
.auth-slogan { font-family: var(--f-titel); font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-weight: 600; line-height: 1.15; margin: 0 0 1.4rem; letter-spacing: -.03em; }
.auth-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; color: #D9DFE3; }
.auth-points li { padding-left: 1.7rem; position: relative; }
.auth-points li::before { content: ""; position: absolute; left: 0; top: .32rem; width: .95rem; height: .55rem; border-left: 2px solid #61CE70; border-bottom: 2px solid #61CE70; transform: rotate(-45deg); }

.radar { position: absolute; right: -9rem; bottom: -9rem; width: 30rem; aspect-ratio: 1; opacity: .5; pointer-events: none; }
.radar svg { width: 100%; height: 100%; fill: none; stroke: rgba(217,223,227,.35); stroke-width: .8; }
.radar .blip { fill: #61CE70; stroke: none; animation: radar-blip 5s ease-in-out infinite; }
.radar .b2 { animation-delay: 1.6s; } .radar .b3 { animation-delay: 3.1s; }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; animation: radar-spin 7s linear infinite;
  background: conic-gradient(from 0deg, rgba(97,206,112,0) 0deg, rgba(97,206,112,.28) 60deg, rgba(97,206,112,0) 61deg); }
@keyframes radar-spin { to { transform: rotate(360deg); } }
@keyframes radar-blip { 0%, 100% { opacity: .15; } 15% { opacity: 1; } }

.auth-main { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1.2rem 1.2rem; }
.auth-env { position: absolute; top: 1.1rem; right: 1.2rem; }
.auth-card { width: 100%; max-width: 27rem; background: var(--a-card); border: 1px solid var(--a-line); border-radius: 16px; box-shadow: var(--a-shadow); padding: 2rem 1.9rem; margin: auto 0; }
.auth-card h1 { font-size: 26px; line-height: 32px; margin: 0 0 .35rem; }
.auth-sub { color: var(--a-muted); margin: 0 0 1.3rem; }
.auth-form .field { margin-bottom: 1rem; }
.auth-form label { margin: 0 0 .3rem; font-size: .92rem; color: var(--a-ink); }
.auth-form .check { margin: .7rem 0; font-size: .92rem; color: var(--a-ink); }
.auth-form input[type=text], .auth-form input[type=email], .auth-form input[type=password] {
  width: 100%; padding: .72rem .8rem; border: 1px solid var(--a-field-line); border-radius: 8px; font-size: 1rem; font-family: inherit; background: var(--a-field); color: var(--a-ink); }
.auth-form input:focus { outline: 3px solid var(--a-focus); outline-offset: 0; border-color: var(--a-accent); }
.auth .field-hint { color: var(--a-muted); }
.pw { position: relative; }
.pw input { padding-right: 5.6rem !important; }
.pw-toggle { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--a-link); font: inherit; font-size: .85rem; font-weight: 600; padding: .35rem .55rem; border-radius: 8px; cursor: pointer; }
.pw-toggle:hover { background: color-mix(in srgb, var(--a-accent) 12%, transparent); }
.auth .btn { background: var(--a-accent); border-color: var(--a-accent); color: var(--a-accent-ink); }
.auth .btn:hover { background: var(--a-accent-hover); border-color: var(--a-accent-hover); color: var(--a-accent-ink); }
.auth .btn.secondary { background: transparent; color: var(--a-ink); border: 1px solid var(--a-field-line); }
.auth .btn.secondary:hover { background: color-mix(in srgb, var(--a-ink) 6%, transparent); color: var(--a-ink); }
.auth .btn:focus-visible, .auth a:focus-visible, .auth button:focus-visible { outline: 3px solid var(--a-focus); outline-offset: 2px; }
.auth-submit { display: block; width: 100%; text-align: center; padding: .75rem 1rem; }
.auth-divider { display: flex; align-items: center; gap: .8rem; color: var(--a-muted); font-size: .82rem; margin: 1.1rem 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; border-top: 1px solid var(--a-line); }
.auth-foot { text-align: center; margin: 1.3rem 0 .4rem; color: var(--a-muted); }
.auth-note { text-align: center; font-size: .8rem; color: var(--a-muted); margin: .6rem 0 0; }
.auth .alert { margin-bottom: 1.1rem; }
.auth-root .alert.error { background: var(--a-card); border-color: var(--a-line); border-left-color: #DB2D27; color: var(--a-ink); }
.auth-root .alert.ok { background: var(--a-card); border-color: var(--a-line); border-left-color: #05A92E; color: var(--a-ink); }
.auth-root .alert.info { background: var(--a-card); border-color: var(--a-line); border-left-color: #0094C9; color: var(--a-ink); }
.auth-root .alert.warn { background: var(--a-card); border-color: var(--a-line); border-left-color: #DE9300; color: var(--a-ink); }
.auth-footer { display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: center; align-items: center; font-size: .82rem; color: var(--a-muted); padding: 1rem 0 0; }
.theme-toggle { background: none; border: 1px solid var(--a-line); color: var(--a-muted); border-radius: 99px; font: inherit; font-size: .78rem; padding: .2rem .7rem; cursor: pointer; }
.theme-toggle:hover { color: var(--a-ink); border-color: var(--a-field-line); }

@media (max-width: 880px) {
  .auth-shell { grid-template-columns: 1fr; min-height: 0; }
  .auth-brand { padding: 1.3rem 1.3rem 1.5rem; gap: 1rem; }
  .auth-hero { margin-top: 0; }
  .auth-slogan { font-size: 1.35rem; margin-bottom: 0; }
  .auth-points { display: none; }
  .radar { width: 14rem; right: -3rem; bottom: -5rem; opacity: .35; }
  .auth-main { padding: 1.2rem .9rem 1rem; }
  .auth-card { padding: 1.5rem 1.2rem; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .radar-sweep, .radar .blip { animation: none; } .radar .blip { opacity: .8; } }

/* Pakete und Prüfumfang */
.tier { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: 13px; line-height: 18px; font-weight: 500; background: var(--c-flaeche); color: var(--c-text); border: 1px solid var(--c-rahmen); vertical-align: middle; }
.tier.pro { background: var(--c-text); color: #fff; border-color: var(--c-text); }
.tier.basis { background: var(--s-gruen-hell); color: var(--s-gruen-tief); border-color: transparent; }
.tier.current-tag { margin-left: .5rem; background: var(--brand); color: #fff; border-color: var(--brand); }
.pkg h3 { display: flex; align-items: center; margin-top: 0; font-family: var(--f-titel); font-size: 20px; line-height: 28px; letter-spacing: -.02em; }
.pkg.current { border-color: var(--c-text); box-shadow: 0 0 0 1px var(--c-text); }
.pkg .price { font-weight: 600; margin: .1rem 0 .2rem; }
.pkg-list { margin: .4rem 0 0; padding-left: 1.1rem; display: grid; gap: .35rem; font-size: .92rem; }
.pkg-list .inherit { font-weight: 600; }
.notes-active { margin-top: 1rem; }

/* ---- Startseite: Aufgaben- und Domainzeilen ---- */
.task-list { list-style: none; margin: 0; padding: 0; }
.liste { background: var(--c-seite); border: 1px solid var(--c-linie); border-radius: 12px; overflow: hidden; margin: 0 0 16px; }
.liste > .task-list > li:first-child > .task-row { border-radius: 12px 12px 0 0; }
.task-list li + li { border-top: 1px solid var(--c-linie); }
.task-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 12px 16px; color: var(--c-text); text-decoration: none; transition: background-color .12s; }
.task-row:hover { background: var(--c-zeile); color: var(--c-text); text-decoration: none; }
.task-row:focus-visible { outline-offset: -2px; border-radius: 12px; }
.task-title { font-weight: 600; }
.task-row .badge { min-width: 5.6rem; text-align: center; }
.task-state { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--c-text-2); border: 1px solid var(--c-rahmen); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.task-meta { grid-column: 2 / -1; }
.domain-row .task-state { border: 0; padding: 0; font-size: 14px; }
.domain-row .task-title { overflow-wrap: anywhere; }
.pt { width: 10px; height: 10px; border-radius: 50%; background: var(--s-grau); display: inline-block; margin-inline: 4px; }
.pt.red { background: var(--red); }
.pt.yellow { background: var(--yellow); }
.pt.green { background: var(--green); }
.card.row-between { align-items: center; flex-wrap: wrap; }
@media (max-width: 639.98px) {
  .task-row { grid-template-columns: auto minmax(0, 1fr); padding: 12px; }
  .task-row:not(.domain-row) > .badge { grid-row: 1; }
  .task-row:not(.domain-row) > .task-title { grid-column: 1 / -1; grid-row: 2; margin-top: 4px; }
  .task-row:not(.domain-row) > .task-state { grid-column: 2; grid-row: 1; justify-self: start; }
  .task-row:not(.domain-row) > .task-meta { grid-column: 1 / -1; }
  .domain-row .task-state { grid-column: 2; justify-self: start; }
  .domain-row .task-meta { grid-column: 2; }
}

/* ---- Aufgaben: Liste und einzelne Aufgabe ---- */
.task-group h2 { margin: 24px 0 8px; font-family: var(--f-text); font-size: 16px; line-height: 24px; letter-spacing: 0; }
.task-group > p { margin: 0 0 .4rem; }
.task-row.static:hover { background: transparent; }
.task-row.static .task-title { color: var(--ink); text-decoration: none; }
.task-row.static .task-title:hover { text-decoration: underline; }
.task-actions { grid-column: 2 / -1; margin: .2rem 0 0; }
.explain h2 { font-size: 1.05rem; margin: 1.1rem 0 .3rem; }
.explain p { margin: 0 0 .4rem; }
.explain p, .explain li, .mess, .card code { overflow-wrap: anywhere; }
.steps { margin: 0; padding-left: 1.3rem; display: grid; gap: .35rem; }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.events .muted { display: inline-block; min-width: 4.4rem; }
fieldset.plain { border: 0; padding: 0; margin: 0 0 .2rem; }
fieldset.plain legend { padding: 0; color: var(--muted); }
label.inline { display: inline-block; font-weight: 400; margin: .3rem 1rem .3rem 0; }
.action-bar { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin: 0 0 1rem; position: relative; }
.action-bar .more > summary { list-style: none; }
.action-bar .more > summary::-webkit-details-marker { display: none; }
.more-panel { position: absolute; top: 100%; left: 0; width: min(32rem, 100%); z-index: 8; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1rem; margin-top: .4rem; display: grid; gap: 1.2rem; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.action-bar > form { margin: 0; }
.more-panel h3 { margin-bottom: .2rem; }
.more-panel input, .more-panel select, .more-panel textarea { width: 100%; }
.more-panel p { margin: .2rem 0 .6rem; }
@media (max-width: 639.98px) {
  main:has(.action-bar) { padding-bottom: 8.6rem; }
  .action-bar { position: fixed; left: 0; right: 0; bottom: calc(3.6rem + env(safe-area-inset-bottom)); margin: 0; padding: .6rem .9rem; background: var(--card); border-top: 1px solid var(--line); z-index: 9; flex-wrap: wrap; gap: .5rem; }
  .action-bar > .btn { flex: 1 1 auto; text-align: center; }
  .action-bar .more { flex: 0 0 auto; }
  .action-bar .more.handover { flex: 1 1 100%; }
  .action-bar .more.handover > summary { display: flex; justify-content: center; }
  .action-bar > form { flex: 1 1 0; }
  .action-bar > form .btn { width: 100%; }
  .more-panel { top: auto; left: .9rem; right: .9rem; bottom: 100%; width: auto; margin: 0 0 .4rem; max-height: 60vh; overflow-y: auto; box-shadow: 0 -4px 14px rgba(0,0,0,.12); }
}

/* ---- Handy (< 640px): "Weitergeben" und "Mehr" als Bottom-Sheet; ohne JS bleibt das <details>-Popover ---- */
.sheet-backdrop, .sheet-close { display: none; }
@media (max-width: 639.98px) {
  body.sheet-open { overflow: hidden; }
  body.sheet-open .action-bar { z-index: 50; }
  .sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 49; background: rgba(0, 0, 0, .5); }
  .sheet-backdrop[hidden] { display: none; }
  .js .action-bar .more[open] > .more-panel {
    position: fixed; top: auto; left: 0; right: 0; bottom: var(--sheet-kb, 0px); width: auto; margin: 0; z-index: 1;
    max-height: min(85dvh, calc(var(--sheet-vh, 100dvh) - .5rem)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    border-radius: 1rem 1rem 0 0; border-width: 1px 0 0; box-shadow: 0 -8px 28px rgba(0, 0, 0, .3);
    padding: .5rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  }
  .js .action-bar .more[open] > .more-panel:focus { outline: none; }
  .js .more-panel .sheet-close { display: flex; align-items: center; justify-content: center; gap: .4rem; position: sticky; top: 0; z-index: 2; margin: 0 0 0 auto; min-width: 44px; min-height: 44px; padding: 0 .9rem; font: inherit; font-weight: 600; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 99px; cursor: pointer; }
}
@media (max-width: 639.98px) and (prefers-reduced-motion: no-preference) {
  .js .action-bar .more[open] > .more-panel { animation: sheet-up .2s ease-out; }
  .sheet-backdrop { animation: sheet-fade .2s ease-out; }
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---- Kopf einzeilig: zwischen 640 und 1040px kompakter, Staging nur als Punkt ---- */
.topbar .main-nav a { white-space: nowrap; }
@media (max-width: 1039.98px) {
  .topbar .env-badge { width: .55rem; height: .55rem; padding: 0; margin-left: -.35rem; border-radius: 50%; overflow: hidden; font-size: 0; }
}
@media (min-width: 640px) and (max-width: 1039.98px) {
  .topbar.customer .brand-text > span { display: none; }
  .topbar.customer .main-nav a { padding: 6px 10px; font-size: 14px; }
}
@media (min-width: 640px) and (max-width: 799.98px) {
  .topbar.customer .inner { padding-inline: 16px; gap: 8px; }
  /* Wortmarke aus dem Fluss, aber im Namen des Links. display:none ließ nur die Bildmarke (alt="") übrig. */
  .topbar.customer .brand { position: relative; }
  .topbar.customer .brand strong { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .topbar.customer .main-nav a { padding: 6px 8px; font-size: 14px; }
}

/* ---- Tipp-Fläche, Tab-Leiste und schlanker Kopf (Handy, < 640px) ---- */
.rowlist { list-style: none; margin: 0; padding: 0; }
.rowlist li { padding: .6rem 0; display: grid; gap: .15rem; }
.rowlist li + li { border-top: 1px solid var(--line); }
.rl-title { font-weight: 600; }
.rl-meta { display: flex; flex-wrap: wrap; gap: .15rem .9rem; align-items: center; color: var(--muted); font-size: .875rem; }
.back { margin: 0; }

@media (max-width: 639.98px) {
  .topbar .inner { gap: 8px; padding-inline: 16px; }
  .topbar.customer .inner { min-height: 56px; }
  .topbar .brand-text > span { display: none; }
  .topbar .brand strong { font-size: 16px; }
  .brand { min-height: 44px; }
  :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]), select) { min-height: 44px; }
  label.inline { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; }
  .check { min-height: 44px; align-items: center; }
  .check input { margin-top: 0; }
  .topbar .main-nav { display: none; }
  .topbar.customer .account-menu { margin-left: auto; }
  .account-menu summary { max-width: 11rem; display: block; height: 44px; line-height: 42px; padding: 0 14px; color: var(--c-text); font-size: 14px; }
  .topbar.admin .inner { flex-wrap: wrap; }
  .topbar.admin .main-nav { display: flex; order: 3; width: 100%; margin-right: 0; }
  main { padding: 16px 16px 32px; }
  main h1 { font-size: 22px; line-height: 28px; overflow-wrap: break-word; hyphens: auto; }
  .ampel { width: 40px; height: 40px; font-size: 16px; }
  .lage { gap: 12px; padding: 20px; }
  .lage .ampel { width: 20px; height: 20px; margin-top: 5px; font-size: 0; }
  main .lage h1 { font-size: 24px; line-height: 30px; hyphens: manual; text-wrap: pretty; }
  .lage .btn-row .btn { flex: 1 1 auto; }
  .status-banner { gap: .8rem; }
  .status-banner > div { min-width: 0; }

  body.has-tabbar { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; padding-bottom: env(safe-area-inset-bottom); background: var(--card); border-top: 1px solid var(--line); z-index: 40; }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 56px; padding: .3rem .1rem .35rem; text-align: center; text-decoration: none; font-size: 13px; font-weight: 500; line-height: 1.2; color: var(--c-text-2); min-width: 0; -webkit-tap-highlight-color: transparent; }
  .tabbar a .lbl { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tab-icon { position: relative; display: flex; align-items: center; justify-content: center; width: 3.4rem; height: 1.9rem; border-radius: 999px; transition: background-color .15s, transform .1s; }
  .tab-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a[aria-current] { font-weight: 600; color: var(--c-text); }
  .tabbar a[aria-current] .tab-icon { background: var(--s-gruen-hell); }
  .tabbar a[aria-current] .tab-icon svg .f { fill: currentColor; }
  .tabbar a[aria-current] .tab-icon svg .d { stroke: var(--card); }
  .tabbar a:active .tab-icon { background: var(--c-flaeche); transform: scale(.94); }
  .tabbar a[aria-current]:active .tab-icon { background: var(--s-gruen-hell); }
  .tab-badge { display: block; position: absolute; top: -.2rem; right: .15rem; min-width: 1.15rem; height: 1.15rem; padding: 0 .3rem; border-radius: 99px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 600; line-height: 1.15rem; text-align: center; box-shadow: 0 0 0 2px var(--card); }

  .tabs a, .btn, .btn.small, .pw-toggle, .theme-toggle, .pill-nav a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .tabs a { padding-inline: 1rem; }
  .btn.small { padding-block: .45rem; }
  main details > summary:not(.btn) { min-height: 44px; padding-block: .65rem; }
  .account-panel a, .account-panel button { min-height: 44px; display: flex; align-items: center; }
  .back a, a.mehr { display: inline-flex; align-items: center; min-height: 44px; padding-block: .6rem; }
  .topbar nav a, .topbar nav button { min-height: 44px; }
  footer.site .slogan, footer.site .site-links { flex-basis: 100%; margin-right: 0; }
  footer.site a, .auth-footer a, .auth-foot a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  .check input { width: 1.25rem; height: 1.25rem; }
}

/* ---- Stufenleiste (Aufgabe) und Personen ---- */
.ladder { list-style: none; margin: 16px 0 0; padding: 0; display: flex; font-size: 14px; line-height: 20px; color: var(--c-text-2); }
.ladder li { flex: 1 1 0; min-width: 0; position: relative; padding: 24px 12px 0 0; }
.ladder li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--c-rahmen); background: var(--c-seite); box-sizing: border-box; z-index: 1; }
.ladder li::after { content: ""; position: absolute; left: 20px; right: 4px; top: 7px; height: 2px; background: var(--c-linie); }
.ladder li:last-child::after { display: none; }
.ladder li.done { color: var(--c-text); }
.ladder li.done::before { content: "\2713"; border-color: var(--c-text); background: var(--c-text); color: #fff; font-size: 10px; line-height: 12px; font-weight: 600; text-align: center; }
.ladder li.done::after { background: var(--c-text); }
.ladder li.current { color: var(--c-text); font-weight: 600; }
.ladder li.current::before { border-color: var(--c-text); box-shadow: inset 0 0 0 3px var(--c-seite); background: var(--c-text); }
.contact-list { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: .5rem; }
.contact-list li { display: flex; gap: .8rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.contact-list form { margin: 0; }
@media (max-width: 639.98px) {
  .ladder { flex-direction: column; font-size: 15px; }
  .ladder li { padding: 0 0 12px 28px; min-height: 28px; }
  .ladder li::before { top: 2px; }
  .ladder li::after { left: 7px; right: auto; top: 22px; bottom: 2px; width: 2px; height: auto; }
}

/* ---- Einstellungen und Domain-Seite (F1, F2) ---- */
.fold > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; }
.fold > summary::before { content: "▸"; color: var(--muted); }
.fold[open] > summary::before { content: "▾"; }
.fold > summary h2 { margin: 0; font-size: 18px; line-height: 26px; }
.fold-sum { margin-left: auto; color: var(--muted); font-size: .9rem; font-weight: 400; }
.fold[open] > summary { margin-bottom: .8rem; }
.fold-body > :last-child { margin-bottom: 0; }
/* ---- Punktzahl nach Bereichen, Vergleich zweier Stände (R-51, R-52) ---- */
.cat-grid { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--c-linie); }
.cat-tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; min-width: 0; padding: 12px 4px; border-bottom: 1px solid var(--c-linie); color: var(--c-text); text-decoration: none; transition: background-color .12s; }
a.cat-tile:hover { background: var(--c-zeile); color: var(--c-text); text-decoration: none; }
.cat-label { font-weight: 600; }
.cat-deduct { grid-column: 2; grid-row: 1; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.cat-counts, .cat-plain { grid-column: 1 / -1; color: var(--c-text-2); font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.change-list { list-style: none; margin: 0; padding: 0; }
.change-list li { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--c-linie); min-width: 0; }
.change-list li:first-child { border-top: 0; }
.change-main { min-width: 0; overflow-wrap: anywhere; }
.change-main > .muted.small { display: block; }
.change-effect { font-variant-numeric: tabular-nums; color: var(--c-text-2); font-size: 14px; white-space: nowrap; }
.wandel { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px 1px 6px; border-radius: 4px; font-size: 13px; line-height: 18px; font-weight: 500; white-space: nowrap; vertical-align: 1px; }
.wandel.neu { background: var(--s-rot-hell); color: var(--c-text); }
.wandel.wieder { background: var(--s-gelb-hell); color: var(--s-gelb-tief); }
.wandel.erledigt { background: var(--s-gruen-hell); color: var(--s-gruen-tief); }
.wandel-icon { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wandel.neu .wandel-icon circle, .wandel-kopf .wandel-icon circle { fill: var(--s-rot); stroke: none; }
.wandel-kopf { display: flex; align-items: center; gap: 6px; }
.wandel-kopf .wandel-icon { width: 16px; height: 16px; }
.wandel-kopf.erledigt .wandel-icon { stroke: var(--s-gruen); stroke-width: 2.5; }
.change-main > .wandel { margin-right: 2px; }
.punkte { display: inline-flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.punkte-icon { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.punkte.runter .punkte-icon { stroke: var(--s-rot); }
.punkte.hoch { color: var(--s-gruen-tief); }
.punkte.hoch .punkte-icon { stroke: var(--s-gruen); }
.punkte.gleich { color: var(--c-text-2); }
.bilanz-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 12px; }
.bilanz-zeitraum { color: var(--c-text-2); }
.bilanz-punkte { display: inline-flex; align-items: center; gap: 4px; color: var(--c-text-2); font-variant-numeric: tabular-nums; }
.bilanz-punkte strong { color: var(--c-text); }

.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .2rem 1rem; margin-bottom: .3rem; }
.card-head h2 { margin: 0; }
.card-head .count { font-weight: 400; color: var(--muted); font-size: .9rem; }
.add-fold { margin-top: .6rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.add-fold > summary { font-weight: 600; color: var(--c-text); }
.mini-list { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .3rem; }
.mini-list li { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.mini-list .when { margin-left: auto; color: var(--muted); font-size: .85rem; }
.mark { flex: 0 0 1.2rem; text-align: center; font-weight: 600; }
.mark.ok { color: var(--green); }
.mark.warn { color: var(--s-gelb-tief); }
.mark.none { color: var(--muted); }
.check-list li { padding: .35rem 0; }
.check-list li + li { border-top: 1px solid var(--line); }
.active-block { border-top: 1px solid var(--line); margin-top: .6rem; padding-top: .7rem; }
.active-block h3 { margin: 0 0 .3rem; font-size: 1rem; }
.dom-head { margin: 0 0 .8rem; }
.surface-list { list-style: none; margin: .2rem 0 .8rem; padding: 0; }
.surface-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--line); min-width: 0; }
.surface-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 16rem; }
.surface-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 600; overflow-wrap: anywhere; }
.surface-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--c-text-2); }
.surface-meta > span { display: inline-flex; gap: 4px; }
.surface-card .k { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.surface-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.surface-actions form { margin: 0; }
.surface-actions .btn { white-space: nowrap; }
.surface-card.is-excluded .surface-title { color: var(--c-text-2); font-weight: 500; }
.dom-head h1 { margin-bottom: .2rem; }
fieldset.roles { margin: .8rem 0; }
.wizard-steps { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 24px 0 8px; counter-reset: none; }
.wizard-steps li { display: flex; align-items: center; gap: .5rem; padding: .35rem .85rem .35rem .4rem; border: 1px solid var(--c-linie); border-radius: 999px; color: var(--c-text-2); font-size: .9rem; }
.wizard-steps .ws-nr { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--c-flaeche); font-size: .8rem; font-weight: 700; }
.wizard-steps li[aria-current] { color: var(--c-text); border-color: var(--c-text); }
.wizard-steps li[aria-current] .ws-nr { background: var(--c-text); color: #fff; }
.wizard-steps li.fertig .ws-nr { background: var(--s-gruen-hell); color: var(--s-gruen-tief); }
fieldset.consent-group { margin: 0 0 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search-row { display: flex; gap: .5rem; margin: 0 0 1rem; }
.search-row input { flex: 1; min-width: 0; margin: 0; }
.todo-list li { padding: .4rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.todo-list li:last-child { border-bottom: 0; }
.todo-list li > span:first-child { flex: 1 1 18rem; }
details.danger-zone > summary { color: #B3221D; }
/* Zweiter Faktor im Betreiberbereich (R-04a) */
.mfa-page { max-width: 38rem; margin: 0 auto; }
.mfa-steps { padding-left: 1.3rem; display: grid; gap: .9rem; }
.mfa-qr-box { margin: .8rem 0; }
.mfa-qr { display: block; width: 14.5rem; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.mfa-key { font-size: 1.05rem; letter-spacing: .06em; word-break: break-all; user-select: all; }
.mfa-key-box { grid-template-columns: 6rem minmax(0, 1fr); font-size: .9rem; }
.mfa-form { margin-top: 1.2rem; }
input.mfa-code { font-size: 1.5rem; letter-spacing: .3em; text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; max-width: 14rem; }

/* ---- Startseite (DESIGN.md §10): Lagefläche, dann Als Nächstes 2/3 neben Ihre Domains 1/3, darunter zwei Spalten ---- */
.start-raster { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; margin-top: 32px; }
.start-raster.ohne-liste > .start-seite { grid-column: 1; }
.start-raster h2, .start-unten h2 { margin-top: 0; }
.abschnitt-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 12px; }
.abschnitt-kopf h2 { margin: 0; }
.start-unten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; margin-top: 16px; padding-top: 32px; border-top: 1px solid var(--c-linie); }
.start-block + .start-block { margin-top: 24px; }
.start-unten .change-list li:first-child { border-top: 1px solid var(--c-linie); }
.start-unten .add-fold { border-top: 0; padding-top: 4px; }
@media (max-width: 959.98px) {
  .start-raster, .start-unten { grid-template-columns: minmax(0, 1fr); }
  .start-raster.ohne-liste > .start-seite { grid-column: auto; }
}
/* Zeilenlisten in Karten: Zeilen bündig mit dem Kartentext, Hover bis fast an den Rand */
.card > .task-list { margin-inline: -16px; }
.card > .task-list:first-child { margin-top: -12px; }
.card > .task-list:last-child { margin-bottom: -12px; }
.card > .task-list .task-row { border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* ---- Aufgaben: leere Gruppen ---- */
.check-icon { width: 1.25em; height: 1.25em; flex: none; color: var(--s-gruen); }
.alles-gut { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; margin: 0 0 1rem; border-radius: 10px; background: var(--s-gruen-hell); color: var(--s-gruen-tief); font-weight: 600; }
.empty.ok h2 { display: flex; align-items: center; gap: .5rem; }
.empty.ok .check-icon { width: 1.6em; height: 1.6em; }

/* ---- Verlauf ---- */
.score-chart .chart { max-width: none; width: 100%; height: auto; display: block; }
.chart-schmal { display: none !important; }
@media (max-width: 640px) { .chart-breit { display: none !important; } .chart-schmal { display: block !important; } }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.card-head h2, .card-head h3 { margin: 0; }
.card-steuer { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.tabs.klein a { padding: .25rem .65rem; font-size: .875rem; }
.tage-wahl { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin: 0; }
.tage-wahl a { padding: .1rem .5rem; border: 1px solid var(--c-linie); border-radius: 999px; text-decoration: none; color: inherit; }
.tage-wahl a.active { background: var(--c-text); border-color: var(--c-text); color: #fff; }
.abschnitt-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin: 2rem 0 .75rem; }
.abschnitt-kopf h2 { margin: 0; }
.monat .card-head { padding-bottom: .6rem; margin-bottom: .25rem; border-bottom: 1px solid var(--c-linie); }
.monat .card-head h3 { font-size: 1.1rem; }
.monat .count { color: var(--c-text-2); font-size: .875rem; }
.monat .timeline { list-style: none; margin: 0; padding: 0; }
.monat .timeline li { display: grid; grid-template-columns: 4.5rem 1rem 1fr; gap: .75rem; align-items: start; padding: .7rem 0; border-bottom: 1px solid var(--c-linie); }
.monat .timeline li:last-child { border-bottom: 0; }
.tl-date { color: var(--c-text-2); font-size: .875rem; font-variant-numeric: tabular-nums; padding-top: .1rem; }
.tl-dot { width: .7rem; height: .7rem; margin-top: .35rem; border-radius: 50%; background: var(--s-grau); }
.tl-dot.neu { background: var(--s-rot); }
.tl-dot.erledigt { background: var(--s-gruen); }
.tl-dot.wieder { background: var(--s-gelb); }
.tl-dot.bericht { background: var(--s-blau); border-radius: 2px; }
.tl-body { min-width: 0; }
.tl-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: .15rem; }
.tl-verb { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--c-text-2); }
.tl-verb.neu { color: var(--s-rot); }
.tl-verb.erledigt { color: var(--s-gruen-tief); }
.tl-verb.wieder { color: var(--s-gelb-tief); }
.tl-bericht { font-weight: 600; }
@media (max-width: 640px) { .card-steuer { align-items: flex-start; } .monat .timeline li { grid-template-columns: 1rem 1fr; } .monat .timeline .tl-date { grid-column: 2; order: -1; padding: 0; } .monat .timeline .tl-dot { grid-row: 1 / span 2; grid-column: 1; } }

/* ---- Einstellungen ---- */
.einstellungen { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 2rem; align-items: start; }
.einst-nav { position: sticky; top: 5rem; }
.einst-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.einst-nav a { display: block; padding: .45rem .75rem; border-radius: 8px; color: inherit; text-decoration: none; border-left: 3px solid transparent; }
.einst-nav a:hover, .einst-nav a:focus-visible { background: var(--c-flaeche); border-left-color: var(--c-fokus); }
.einst-inhalt > .card { scroll-margin-top: 5rem; }
@media (max-width: 900px) {
  .einstellungen { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .einst-nav { position: static; }
  .einst-nav ul { flex-direction: row; overflow-x: auto; gap: .4rem; padding-bottom: .25rem; }
  .einst-nav a { white-space: nowrap; border: 1px solid var(--c-linie); border-radius: 999px; padding: .3rem .8rem; }
}
.form-zeile { display: flex; gap: .5rem; align-items: stretch; max-width: 36rem; }
.form-zeile input { flex: 1; min-width: 0; margin: 0; }
.form-zeile .btn { white-space: nowrap; margin: 0; }
.feld-mittel { max-width: 24rem; }
.feld-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0 1rem; }
.feld-raster input { width: 100%; }
.unterbereich { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--c-linie); }
.zeilen { list-style: none; margin: 0; padding: 0; border: 1px solid var(--c-linie); border-radius: 10px; }
.zeilen li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .7rem 1rem; }
.zeilen li + li { border-top: 1px solid var(--c-linie); }
.zeilen form { margin: 0; }
.zeile-text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; overflow-wrap: anywhere; }
.zeile-aktion { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; }
.wahl-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .6rem; margin: .75rem 0 1rem; }
.wahl-karten legend { font-weight: 600; margin-bottom: .4rem; padding: 0; }
.wahl-karte { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem .85rem; border: 1px solid var(--c-linie); border-radius: 10px; cursor: pointer; margin: 0; }
.wahl-karte input { margin-top: .2rem; flex: none; }
.wahl-karte > span { display: flex; flex-direction: column; gap: .2rem; }
.wahl-karte:has(input:checked) { border-color: var(--c-fokus); background: var(--c-zeile); box-shadow: 0 0 0 1px var(--c-fokus); }
.form-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.form-fuss p { flex: 1 1 16rem; }
.m-0 { margin: 0; }
.optionen { display: flex; flex-direction: column; gap: .5rem; }
.optionen .check { display: flex; gap: .7rem; align-items: flex-start; padding: .75rem .9rem; border: 1px solid var(--c-linie); border-radius: 10px; margin: 0; }
.optionen .check > span { display: flex; flex-direction: column; gap: .15rem; }
.optionen .check:has(input:checked) { border-color: var(--c-fokus); }
.optionen .btn { align-self: flex-start; margin-top: .25rem; }
.pruef-gruppen { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem 2rem; margin-top: .75rem; }
.pruef-gruppen h3 { font-size: .95rem; margin: 0 0 .5rem; }
.pruef-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.pruef-liste li { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding-left: 1.5rem; position: relative; }
.pruef-liste li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--s-gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/100% no-repeat; }
.pruef-liste li.vorbereitung::before { background: var(--c-rahmen); }
.check-icon circle { fill: currentColor; }
.check-icon path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tl-body { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; }

/* ---- Aktive Prüfungen ---- */
.hinweis-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 16px; color: var(--c-text-2); }
.fakten { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 12px; }
.fakten > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px; border-radius: 10px; background: var(--c-flaeche); min-width: 0; }
.fakt-label { font-size: .8rem; color: var(--c-text-2); }
.fakt-wert { font-weight: 600; overflow-wrap: anywhere; }
.fakten .btn { margin-top: 4px; }
.rahmen h3 { margin: 24px 0 8px; font-size: 1rem; }
.pruef-takt { list-style: none; margin: 0; padding: 0; border: 1px solid var(--c-linie); border-radius: 10px; }
.pruef-takt li { display: flex; justify-content: space-between; gap: 1rem; padding: 10px 14px; }
.pruef-takt li + li { border-top: 1px solid var(--c-linie); }
.rahmen-nie { margin: 16px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--s-rot-hell); font-size: .9rem; }
.rahmen-fuss { margin: 16px 0 0; }
.status-karte { display: flex; flex-direction: column; gap: 16px; }
.status-karte .alert { margin: 0; }
.status-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.status-kopf h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; }
.status-kopf form, .status-fuss { margin: 0; }
.status-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 16px; border-top: 1px solid var(--c-linie); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 3px 10px; border-radius: 999px; background: var(--c-zeile); border: 1px solid var(--c-linie); font-size: .85rem; }
@media (max-width: 640px) { .pruef-takt li { flex-direction: column; gap: 2px; } }
#aktivieren > details { margin: 0 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--c-linie); }
#aktivieren .consent-group { display: flex; flex-direction: column; gap: 8px; margin: 0 0 20px; }
#aktivieren .consent-group legend { margin-bottom: 8px; padding: 0; }
#aktivieren .consent-group .check { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 14px; border: 1px solid var(--c-linie); border-radius: 10px; }
#aktivieren .consent-group .check:has(input:checked) { border-color: var(--c-fokus); background: var(--c-zeile); }
#aktivieren .consent-group .check input { margin-top: 3px; flex: none; }

/* ---- Domain-Seite ---- */
.dom-kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin: 0 0 12px; }
.dom-kopf h1 { margin: 0 0 6px; }
.dom-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; }
.dom-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.dom-nav { margin: 0 0 20px; }
.dom-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0 0 4px; overflow-x: auto; }
.dom-nav a { display: block; white-space: nowrap; padding: 4px 12px; border: 1px solid var(--c-linie); border-radius: 999px; color: var(--c-text); text-decoration: none; font-size: .875rem; }
.dom-nav a:hover, .dom-nav a:focus-visible { border-color: var(--c-text); }
.dom-raster { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 16px; }
.dom-raster .card { margin: 0; }
.dom-seite { display: flex; flex-direction: column; gap: 16px; }
[id] { scroll-margin-top: 80px; }
.punkte-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-bottom: 16px; border-bottom: 1px solid var(--c-linie); }
.punkte-kopf > div { display: flex; flex-direction: column; gap: 4px; }
.punkte-zahl strong { font-family: var(--f-titel); font-size: 48px; line-height: 1; letter-spacing: -.03em; }
.dom-punkte h2 { font-size: 1.05rem; margin: 20px 0 4px; }
.dom-punkte .cat-grid { border-top: 0; }
.dom-seite h2 { font-size: 1.05rem; }
.dom-seite .check-list li { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: 0 8px; padding: 8px 0; }
.dom-seite .check-list .when { grid-column: 2; margin: 0; text-align: left; }
.active-block { margin-top: 12px; padding: 12px 14px; border: 0; border-radius: 10px; background: var(--c-flaeche); display: flex; flex-direction: column; gap: 8px; }
.active-block h3 { margin: 0; }
.active-block .btn-row form { margin: 0; }
.aktiv-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
@media (max-width: 900px) { .dom-raster { grid-template-columns: minmax(0, 1fr); } }
.dom-seite .mini-list li { flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 6px 0; }
.dom-seite .mini-list li + li { border-top: 1px solid var(--c-linie); }
.dom-seite .mini-list .when { white-space: nowrap; }
.dom-unten { display: flex; flex-direction: column; gap: 16px; margin: 16px 0; }
.dom-unten > .card { margin: 0; }
@media (max-width: 480px) { .dom-unten { grid-template-columns: minmax(0, 1fr); } }

/* Prüfbereich: manuell gestartete Läufe (DESIGN.md §7) */
.run-action { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-top: .4rem; }
.run-note { display: block; margin-top: .2rem; }
.run-progress { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.run-progress progress { width: 9rem; max-width: 100%; height: .6rem; accent-color: var(--s-blau); }
.run-list .rl-title .badge { margin-right: .3rem; }
.run-panel h3 { margin: 1.1rem 0 .3rem; font-size: 1rem; }
.dom-zurueck { margin: 0 0 8px; }
.dom-zurueck a { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px 4px 6px; margin-left: -6px; border-radius: 8px; color: var(--c-text-2); text-decoration: none; }
.dom-zurueck a:hover, .dom-zurueck a:focus-visible { background: var(--c-flaeche); color: var(--c-text); }
.dom-kopf { flex-wrap: nowrap; align-items: center; }
.dom-titel { flex: 1 1 auto; min-width: 0; }
.dom-titel h1 { overflow-wrap: anywhere; }
.dom-kopf > .btn { flex: none; }
@media (max-width: 640px) { .dom-kopf { flex-wrap: wrap; } }

/* Anbieter-Anleitung beim TXT-Nachweis (R-12a). Klappen ohne Skript. */
.dns-guides { margin-top: 16px; }
.dns-guides > h2 { margin: 16px 0 8px; }
.dns-guides > p { max-width: 68ch; }
.dns-guides > .fold { border-top: 1px solid var(--c-linie); margin: 0; }
.dns-guides > .fold:last-child { border-bottom: 1px solid var(--c-linie); }
.dns-guides > .fold > summary { min-height: 44px; padding: 10px 0; align-items: center; }
.dns-guides .fold-body { max-width: 68ch; padding-bottom: 12px; }
.dns-guides .guide-steps { margin: 0 0 8px; padding-left: 1.25rem; }
.dns-guides .guide-steps li { margin: 0 0 12px; }
.dns-guides .guide-steps li:last-child { margin-bottom: 0; }
.dns-guides .tok { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; vertical-align: middle; margin: 4px 0; }
.dns-guides .tok code { min-width: 0; overflow-wrap: anywhere; }
.dns-guides .guide-links { list-style: none; margin: 8px 0 0; padding: 0; }
.dns-guides .guide-links a { display: inline-flex; align-items: center; min-height: 44px; }
