/* Prüfwerkzeug Barrierefreiheit
   Farbwelt der internen Werkzeuge (Tools/37_podcast-engine/web/stil.css): dunkle Seitenleiste,
   beige Seite, weiße Flächen, Orange als Akzent, Inter lokal, schwarze Schrift.
   Erkennungszeichen: der Prüfstreifen (alle Prüfschritte als Felder, nach Stand gefärbt). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('inter-latin.woff2') format('woff2');
}

:root {
  --navy: #0f172a;
  --navy-2: #1b2540;
  --navy-3: #2a3656;
  --bg: #f2e9de;
  --bg-2: #ebe0d2;
  --flaeche: #ffffff;
  --flaeche-2: #faf6f0;
  --linie: #e6ddd0;
  --linie-2: #d8cdbb;
  --linie-3: #8a7d6b;
  --text: #000;
  --orange: #f59e0b;
  --orange-tief: #b45309;
  --orange-weich: #fdecc8;
  --rot: #c7402b;      --rot-weich: #fde2dd;
  --gelb-weich: #fdf0c8;
  --gruen: #1f8a4c;    --gruen-weich: #dcf1e2;
  --gruen-hell: #6fb98a;
  --grau: #b9ac99;     --grau-weich: #ece6dd;
  --leer: #e3dbcf;     --leer-weich: #f4f1ec;
  --radius-m: 10px;
  --radius-l: 16px;
  --schatten: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px -12px rgba(15, 23, 42, 0.18);
  --schatten-hoch: 0 2px 4px rgba(15, 23, 42, 0.08), 0 18px 40px -18px rgba(15, 23, 42, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* hidden muss immer gewinnen, auch gegen display-Angaben der Bausteine */
[hidden] { display: none !important; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.55; min-height: 100vh;
}
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
svg.ic { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.875rem; overflow-wrap: anywhere; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 6px var(--orange); border-radius: 4px; }
main:focus, h1[tabindex="-1"]:focus { outline: none; box-shadow: none; }

.skip-link { position: absolute; left: 12px; top: -80px; background: var(--flaeche); padding: 10px 14px;
  border-radius: var(--radius-m); z-index: 50; font-weight: 700; box-shadow: var(--schatten-hoch); }
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- Grundgerüst */

.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }

.sidebar { background: var(--navy); color: #fff; padding: 22px 14px; display: flex; flex-direction: column; gap: 26px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar a { color: #fff; text-decoration: none; }
.sidebar :focus-visible { outline-color: #fff; }
.marke { display: grid; gap: 14px; padding: 4px 10px 0; }
.marke img { display: block; }
.produkt { display: flex; gap: 10px; align-items: center; }
.produkt-zeichen { width: 34px; height: 34px; border-radius: 9px; background: var(--orange); color: var(--navy);
  display: grid; place-items: center; flex: none; }
.produkt-zeichen svg.ic { width: 20px; height: 20px; stroke-width: 2.2; }
.produkt-name { font-weight: 750; font-size: 0.98rem; line-height: 1.2; }
.produkt-sub { font-size: 0.8125rem; color: #e7e2da; }

.menue { list-style: none; display: grid; gap: 2px; }
.menue a { display: flex; gap: 11px; align-items: center; padding: 9px 10px; border-radius: 9px; font-weight: 550;
  transition: background-color .15s ease; }
.menue a:hover { background: var(--navy-2); }
.menue a[aria-current="page"] { background: var(--navy-3); }
.menue a[aria-current="page"] svg.ic { color: var(--orange); }
.kunden-titel { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 0 10px 8px; color: #e7e2da; font-weight: 650; }
.kuerzel { width: 26px; height: 26px; border-radius: 7px; background: var(--navy-3); display: grid; place-items: center;
  font-size: 0.75rem; font-weight: 750; text-transform: uppercase; flex: none; }
.menue a[aria-current="page"] .kuerzel { background: var(--orange); color: var(--navy); }
.seitenfuss { margin-top: auto; display: grid; gap: 12px; padding: 0 10px; }
.seitenfuss p { font-size: 0.8125rem; color: #e7e2da; line-height: 1.45; }
.knopf-dunkel { background: transparent; border: 1px solid #66708a; color: #fff; border-radius: 9px; padding: 8px 12px; cursor: pointer; justify-self: start; }
.knopf-dunkel:hover { background: var(--navy-2); }

main { padding: 28px clamp(16px, 3vw, 40px) 64px; width: 100%; max-width: 1240px; min-width: 0; }

.kopfzeile { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.kopfzeile .aktionen { display: flex; gap: 8px; flex-wrap: wrap; }
.pfad { display: flex; gap: 6px; align-items: center; font-size: 0.875rem; margin-bottom: 8px; flex-wrap: wrap; list-style: none; }
.pfad a { text-decoration: none; font-weight: 550; }
.pfad a:hover { text-decoration: underline; }
.pfad svg.ic { width: 14px; height: 14px; }
h1 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); line-height: 1.15; letter-spacing: -0.022em; font-weight: 800; overflow-wrap: anywhere; text-wrap: balance; }
h2 { font-size: 1.15rem; letter-spacing: -0.01em; font-weight: 750; }
h3 { font-size: 0.95rem; font-weight: 700; }
p { overflow-wrap: anywhere; }
.leise { font-size: 0.875rem; }

/* ---------------------------------------------------------------- Bausteine */

.flaeche { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius-l); box-shadow: var(--schatten); }
.knopf { display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; padding: 10px 18px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .15s ease, box-shadow .15s ease; }
.knopf-haupt { background: var(--orange); color: #000; border-color: var(--orange-tief); }
.knopf-haupt:hover { background: #fbbf24; box-shadow: 0 6px 18px -8px rgba(180, 83, 9, 0.7); }
.knopf-rand { background: var(--flaeche); border-color: var(--linie-3); color: #000; }
.knopf-rand:hover { background: var(--flaeche-2); }
button[disabled] { opacity: 0.6; cursor: progress; }
.meldung { min-height: 1.4em; font-weight: 600; font-size: 0.9rem; }

.etikett { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8125rem; font-weight: 700; line-height: 1;
  padding: 5px 9px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.etikett svg.ic { width: 14px; height: 14px; stroke-width: 2.2; }
.st-nicht-erfuellt { background: var(--rot-weich); border-color: #f1b3a7; }
.st-bitte-bestaetigen { background: var(--gelb-weich); border-color: #ecd28a; }
.st-nicht-geprueft { background: var(--grau-weich); border-color: var(--linie-2); }
.st-erfuellt { background: var(--gruen-weich); border-color: #a9d8b8; }
.st-ohne-befund { background: #eef7f1; border-color: #c4e3cf; }
.st-nicht-anwendbar { background: var(--leer-weich); border-color: var(--linie); }
.schwere { font-size: 0.75rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.schwere-pflicht { background: var(--navy); color: #fff; }
.schwere-wichtig { border: 1px solid var(--navy); }
.schwere-hinweis { background: var(--bg-2); }

/* ---------------------------------------------------------------- Prüfstreifen (Erkennungszeichen) */

.streifen { display: flex; gap: 6px; align-items: stretch; }
.streifen-gruppe { display: flex; gap: 2px; flex: var(--anzahl) 1 0; min-width: 0; }
.streifen-feld { flex: 1 1 0; min-width: 2px; height: 34px; border-radius: 3px; background: var(--leer); }
.streifen.klein .streifen-feld { height: 14px; border-radius: 2px; }
.streifen.klein { gap: 3px; }
.f-nicht-erfuellt { background: var(--rot); }
.f-bitte-bestaetigen { background: #e2a400; }
.f-nicht-geprueft { background: var(--grau); }
.f-erfuellt { background: var(--gruen); }
.f-ohne-befund { background: var(--gruen-hell); }
.f-nicht-anwendbar { background: var(--leer); }
.streifen-achse { display: flex; gap: 6px; margin-top: 8px; }
.streifen-achse span { flex: var(--anzahl) 1 0; min-width: 0; font-size: 0.75rem; font-weight: 700; text-align: center; }
.streifen-wird-gefuellt .streifen-feld { animation: fuellen .5s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * 9ms); }
@keyframes fuellen { from { opacity: 0; transform: scaleY(0.2); } to { opacity: 1; transform: none; } }
.legende { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; font-size: 0.8125rem; font-weight: 600; }
.legende li { display: flex; gap: 6px; align-items: center; }
.legende i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* ---------------------------------------------------------------- Start: Eingabeband */

.band { background: var(--navy); color: #fff; border-radius: var(--radius-l); padding: clamp(18px, 2.4vw, 26px); position: relative; overflow: hidden;
  box-shadow: var(--schatten-hoch); }
.band::after { content: ''; position: absolute; inset: auto -10% -60% 40%; height: 120%;
  background: radial-gradient(closest-side, rgba(245, 158, 11, 0.22), transparent 70%); pointer-events: none; }
.band h1 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.band > p { color: #ece7df; max-width: 80ch; margin-top: 6px; }
.reiter { display: inline-flex; gap: 4px; background: var(--navy-2); border-radius: 12px; padding: 4px; margin-top: 14px; position: relative; z-index: 1; }
.reiter button { border: 0; background: transparent; color: #fff; padding: 8px 14px; border-radius: 9px; cursor: pointer; font-weight: 650; display: inline-flex; gap: 8px; align-items: center; }
.reiter button[aria-selected="true"] { background: #fff; color: #000; }
.reiter button[aria-selected="true"] svg.ic { color: var(--orange-tief); }
.reiter button:focus-visible { outline-color: #fff; }
.band form { position: relative; z-index: 1; margin-top: 14px; display: grid; gap: 10px; }
.eingabezeile { display: grid; grid-template-columns: minmax(0, 1fr) 190px 120px auto; gap: 8px; background: #fff; border-radius: 14px; padding: 8px; }
.eingabezeile.pdf { grid-template-columns: minmax(0, 1fr) 190px auto; }
.eingabezeile .feld { display: grid; gap: 2px; padding: 4px 10px; border-radius: 9px; min-width: 0; }
.eingabezeile .feld + .feld { border-left: 1px solid var(--linie); border-radius: 0; }
.eingabezeile label { font-size: 0.75rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.06em; color: #000; }
.eingabezeile input { font: inherit; font-size: 1.02rem; border: 0; padding: 2px 0; background: transparent; color: #000; width: 100%; min-width: 0; }
.eingabezeile input[type=file] { font-size: 0.9rem; }
.eingabezeile input:focus-visible { box-shadow: none; outline: 2px solid var(--navy); outline-offset: 4px; }
.eingabezeile input::placeholder { color: #6b6257; }
.eingabezeile .knopf { align-self: stretch; padding: 0 22px; }
.band .hilfe { color: #ece7df; font-size: 0.875rem; }
.freigabe { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; }
.freigabe input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; cursor: pointer; }
.freigabe label { font-weight: 700; cursor: pointer; }
.band .freigabe label { color: #fff; }
.freigabe.hell .hilfe { font-size: 0.875rem; }
.erneut { display: grid; gap: 12px; background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: var(--radius-m); padding: 14px; }
.band .meldung { color: #fff; }
/* Meldungen des Dienstes (z.B. „es läuft schon eine Prüfung“) gut sichtbar statt als kleine Zeile */
.band .meldung:not(:empty) { background: var(--flaeche); color: #000; border-radius: 10px; padding: 10px 14px; margin-top: 12px; }
.feld-fehler { display: flex; gap: 6px; align-items: flex-start; margin-top: 10px; width: fit-content; background: var(--rot-weich); color: #000;
  border: 1px solid #f1b3a7; border-radius: 8px; padding: 6px 10px; font-size: 0.85rem; font-weight: 600; }
.feld-fehler svg.ic { width: 15px; height: 15px; color: var(--rot); margin-top: 2px; }
[aria-invalid="true"] { outline: 2px solid var(--rot); outline-offset: 2px; }
.grenzen { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; position: relative; z-index: 1; list-style: none; }
.grenzen li { display: flex; gap: 7px; align-items: center; font-size: 0.875rem; color: #ece7df; }
.grenzen svg.ic { color: var(--orange); width: 16px; height: 16px; }

/* ---------------------------------------------------------------- Liste der Prüfungen */

.abschnitt-kopf { display: flex; justify-content: space-between; align-items: baseline; margin: 34px 0 12px; gap: 12px; flex-wrap: wrap; }
.pruefliste { list-style: none; overflow: hidden; }
.pruefliste li + li { border-top: 1px solid var(--linie); }
.pruefzeile { display: grid; grid-template-columns: 44px minmax(0, 1.4fr) minmax(160px, 1fr) auto; gap: 16px; align-items: center; padding: 14px 18px;
  position: relative; transition: background-color .15s ease; }
.pruefzeile:hover { background: var(--flaeche-2); }
.pruefzeile .kuerzel { width: 40px; height: 40px; border-radius: 11px; background: var(--navy); color: #fff; font-size: 0.9rem; }
.pruefzeile .kuerzel.pdf { background: var(--orange); color: #000; }
.pruefzeile h3 a { text-decoration: none; }
.pruefzeile h3 a::after { content: ''; position: absolute; inset: 0; }
.pruefzeile h3 a:hover { text-decoration: underline; }
.pruefzeile .meta { font-size: 0.8125rem; margin-top: 2px; }
.zaehler-kurz { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.leer { text-align: center; padding: 40px 20px; display: grid; justify-items: center; gap: 6px; }
.leer svg.ic { width: 34px; height: 34px; color: var(--orange-tief); }

/* ---------------------------------------------------------------- Laufende Prüfung */

.lauf { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.browser { overflow: hidden; }
.browser-leiste { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--flaeche-2); border-bottom: 1px solid var(--linie); }
.browser-adresse { flex: 1; background: #fff; border: 1px solid var(--linie); border-radius: 999px; padding: 5px 12px; font-size: 0.8125rem;
  display: flex; gap: 6px; align-items: center; min-width: 0; }
.browser-adresse span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-adresse svg.ic { width: 14px; height: 14px; }
.browser-bild { aspect-ratio: 16 / 10; background: linear-gradient(110deg, var(--flaeche-2) 30%, #fff 50%, var(--flaeche-2) 70%); background-size: 300% 100%;
  animation: warten 1.6s linear infinite; display: grid; place-items: center; }
.browser-bild img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.browser-bild.hat-bild { animation: none; background: #fff; }
@keyframes warten { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.lauf-seite { padding: 22px; display: grid; gap: 18px; }
.lauf-zahl { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.lauf-zahl small { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.balken { height: 10px; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.balken span { display: block; height: 100%; background: var(--orange); border-radius: inherit; }
.durchgaenge { list-style: none; display: grid; gap: 4px; }
.durchgaenge li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 9px; font-size: 0.92rem; }
.durchgaenge li[aria-current="step"] { background: var(--orange-weich); font-weight: 700; }
.durchgaenge .punkt { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--linie-3); background: #fff; display: grid; place-items: center; flex: none; }
.durchgaenge li.fertig .punkt { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.durchgaenge li[aria-current="step"] .punkt { border-color: var(--orange-tief); }
.durchgaenge li[aria-current="step"] .punkt::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--orange-tief); animation: puls 1.2s ease-in-out infinite; }
.durchgaenge .punkt svg.ic { width: 13px; height: 13px; stroke-width: 3; }
@keyframes puls { 50% { transform: scale(0.55); opacity: .6; } }

/* ---------------------------------------------------------------- Ergebnis */

.uebersicht { padding: 22px; display: grid; gap: 18px; }
.uebersicht-kopf { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.kennzahl { display: flex; gap: 12px; align-items: baseline; }
.kennzahl strong { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.kennzahl span { font-weight: 650; max-width: 24ch; line-height: 1.3; }
.metachips { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; }
.metachips li { display: inline-flex; gap: 6px; align-items: center; font-size: 0.8125rem; font-weight: 600; background: var(--flaeche-2);
  border: 1px solid var(--linie); padding: 5px 10px; border-radius: 999px; }
.metachips svg.ic { width: 14px; height: 14px; }
.hinweis { display: flex; gap: 10px; background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: var(--radius-m); padding: 12px 14px; font-size: 0.9rem; }
.hinweis svg.ic { color: var(--orange-tief); margin-top: 2px; }
.hand-fortschritt { display: grid; grid-template-columns: auto minmax(120px, 280px); gap: 8px 14px; align-items: center; font-size: 0.9rem; font-weight: 600; }
.vergleich { font-size: 0.9rem; }
.vergleich svg.ic { vertical-align: -3px; margin-right: 6px; }
.vergleich a { margin-left: 6px; }

/* Einschätzung: Score-Ring und Klartext */
.einschaetzung { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.score-ring { --farbe: var(--rot); width: 132px; height: 132px; border-radius: 50%; flex: none; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, var(--flaeche) 78%, transparent 79%),
    conic-gradient(var(--farbe) calc(var(--wert) * 1%), var(--leer) 0); }
.score-ring strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.score-ring span { font-size: 0.8rem; font-weight: 600; }
.stufe-ausgezeichnet { --farbe: var(--gruen); }
.stufe-gut { --farbe: var(--gruen-hell); }
.stufe-befriedigend { --farbe: var(--orange); }
.stufe-viel-zu-tun { --farbe: var(--rot); }
.einschaetzung-text { flex: 1 1 320px; display: grid; gap: 6px; }
.einschaetzung-text h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.einschaetzung-saetze { font-size: 1.05rem; font-weight: 550; max-width: 62ch; }
.einschaetzung-text .leise svg.ic, .einschaetzung-text .gut svg.ic { width: 15px; height: 15px; vertical-align: -3px; }
.einschaetzung-text .gut { font-weight: 700; color: var(--gruen); }

/* Fortschritt in drei Teilen: zu beheben, von Hand prüfen, in Ordnung */
.dreiteilung { display: grid; gap: 8px; }
.dreiteilung-text { font-size: 0.95rem; }
.dreiteilung-text strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.dreiteilung-balken { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--leer); gap: 2px; }
.dreiteilung-balken span { flex-basis: 0; min-width: 6px; }
.teil-beheben { background: var(--rot); }
.teil-ansehen { background: var(--orange); }
.teil-in_ordnung { background: var(--gruen); }
.dreiteilung-legende { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; font-size: 0.875rem; font-weight: 600; }
.dreiteilung-legende i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }

/* Score je Seite */
.seiten-scores h3 { font-size: 0.95rem; margin-bottom: 8px; }
.verteilung { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.verteilung li { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 10px; background: var(--flaeche-2);
  border: 1px solid var(--linie); font-size: 0.875rem; font-weight: 600; }
.verteilung li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--farbe); }
.verteilung li b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.verteilung li.keine { background: transparent; border-style: dashed; }
.seiten-wert { display: inline-block; min-width: 34px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums;
  border-radius: 6px; padding: 0 6px; border: 1px solid var(--farbe); }
.seiten-scores ol { list-style: none; display: grid; gap: 4px; margin-top: 8px; font-size: 0.9rem; }

/* Bereiche als große Reiter */
.ansichten-rahmen { margin-top: 26px; position: sticky; top: 0; z-index: 10; background: var(--bg); padding: 10px 0 4px; }
.standfilter.ansichten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
.standfilter.ansichten .wahl { display: grid; grid-template-columns: auto 1fr auto; width: 100%; padding: 12px 14px; font-size: 0.95rem; border-radius: 12px; gap: 2px 8px; align-items: center; }
.ansichten .wahl b { font-size: 1.35rem; line-height: 1; }
.ansichten .wahl-name { font-weight: 700; }
.standfilter.ansichten .wahl-einheit { grid-column: 2 / 4; font-size: 0.78rem; font-weight: 550; }
.ansicht-beheben .wahl svg.ic { color: var(--rot); }
.ansicht-ansehen .wahl svg.ic { color: var(--orange-tief); }
.ansicht-in_ordnung .wahl svg.ic { color: var(--gruen); }
.ansichten input:checked + .wahl svg.ic { color: var(--orange); }
.ansicht-erklaerung { font-size: 0.9rem; font-weight: 550; margin-top: 8px; max-width: 80ch; }
.alle-schritte { padding: 22px; margin-top: 34px; display: grid; gap: 12px; }
.alle-schritte h2 { font-size: 1.05rem; }
@media (max-width: 760px) {
  .standfilter.ansichten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ansichten-rahmen { position: static; }
  .score-ring { width: 104px; height: 104px; }
  .score-ring strong { font-size: 2rem; }
}

.standfilter { border: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.standfilter legend { font-weight: 750; margin-bottom: 8px; width: 100%; font-size: 0.95rem; }
.standfilter label { position: relative; cursor: pointer; }
.standfilter input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.standfilter .wahl { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 10px; background: var(--flaeche);
  border: 1px solid var(--linie-2); font-weight: 600; font-size: 0.9rem; transition: background-color .15s ease, border-color .15s ease; }
.standfilter .wahl b { font-variant-numeric: tabular-nums; font-weight: 800; }
.standfilter .wahl i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.standfilter label:hover .wahl { border-color: var(--linie-3); }
.standfilter input:checked + .wahl { background: var(--navy); border-color: var(--navy); color: #fff; }
.standfilter input:focus-visible + .wahl { outline: 3px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 6px var(--orange); }

.bereich { margin-top: 26px; }
.bereich-kopf { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.bereich-zeichen { width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.bereich-kopf .leise { margin-left: auto; font-weight: 600; }
.schritte { display: grid; gap: 8px; }

details.schritt { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius-m); transition: box-shadow .2s ease, border-color .2s ease; }
details.schritt:hover { border-color: var(--linie-2); }
details.schritt[open] { box-shadow: var(--schatten-hoch); border-color: var(--linie-2); }
details.schritt > summary { list-style: none; cursor: pointer; padding: 13px 16px; display: grid; grid-template-columns: 22px 104px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; }
details.schritt > summary::-webkit-details-marker { display: none; }
details.schritt > summary .pfeil { transition: transform .2s ease; }
details.schritt[open] > summary .pfeil { transform: rotate(90deg); }
.schritt-nr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; font-size: 0.875rem; }
.bezug { font-size: 0.8125rem; font-weight: 750; white-space: nowrap; background: var(--flaeche-2); border: 1px solid var(--linie-2);
  border-radius: 6px; padding: 4px 8px; text-align: center; }
.erklaerung-nummern { margin-top: 18px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius-m); }
.erklaerung-nummern > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.erklaerung-nummern > summary svg.ic { color: var(--orange-tief); }
.erklaerung-nummern > div { padding: 0 16px 16px; display: grid; gap: 10px; }
.kennzahl strong svg.ic { width: 40px; height: 40px; color: var(--rot); }
.schritt-titel { font-weight: 600; }
.schritt-titel small { display: block; font-weight: 500; font-size: 0.8125rem; margin-top: 2px; }
.schritt-inhalt { padding: 16px 16px 18px 50px; display: grid; gap: 16px; border-top: 1px solid var(--linie); }
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.anleitung { background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: var(--radius-m); padding: 14px; }
.anleitung h3 { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.anleitung svg.ic { color: var(--orange-tief); }
.fundstellen { list-style: none; display: grid; gap: 8px; }
.fundstellen li { border: 1px solid var(--linie); border-radius: var(--radius-m); padding: 10px 12px; display: grid; gap: 4px; }
.fundstellen .ort { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 0.875rem; font-weight: 700; }
.fundstellen .ort .breite { font-weight: 600; background: var(--bg-2); padding: 2px 7px; border-radius: 5px; font-size: 0.75rem; }
.fundstellen code { background: var(--flaeche-2); padding: 2px 6px; border-radius: 5px; }
.mehr { font-size: 0.875rem; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.entscheidung { border: 1px solid var(--linie-2); border-radius: var(--radius-m); padding: 14px; display: grid; gap: 10px; background: #fff; }
.entscheidung > p { font-weight: 750; }
.segmente { border: 0; display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--bg-2); border-radius: 11px; padding: 4px; gap: 4px; }
.segmente legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.segmente label { position: relative; cursor: pointer; }
.segmente input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmente span { display: flex; gap: 6px; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 8px; font-weight: 650; font-size: 0.9rem; text-align: center; }
.segmente label:hover span { background: rgba(255, 255, 255, 0.6); }
.segmente input:checked + span { background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12), 0 4px 10px -6px rgba(15, 23, 42, 0.4); }
.segmente input:checked + span svg.ic { color: var(--orange-tief); }
.segmente input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 1px; }
.entscheidung label.notiz { font-weight: 650; font-size: 0.9rem; }
.entscheidung textarea, .entwurf textarea { font: inherit; border: 1px solid var(--linie-3); border-radius: 9px; padding: 9px 11px; min-height: 76px; resize: vertical; width: 100%; color: #000; background: #fff; }
.zeile { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.seitenbilder { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; list-style: none; }
.seitenbilder li { overflow: hidden; }
.seitenbilder img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; border-bottom: 1px solid var(--linie); }
.seitenbilder .text { padding: 10px 12px; display: grid; gap: 2px; font-size: 0.875rem; }
.nebenliste { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.nebenliste li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 8px; padding: 6px 10px; }
.entwurf { padding: 22px; display: grid; gap: 12px; }
.entwurf textarea { min-height: 420px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875rem; line-height: 1.5; }

/* ---------------------------------------------------------------- Arbeitsmodus: Aufgaben, Galerie, Fortschritt */

/* Wer betreibt die Website? Wahlkarten auf dem dunklen Startkasten */
.anbieter { border: 0; display: grid; gap: 8px; margin-top: 10px; }
.anbieter legend { color: #fff; font-weight: 700; margin-bottom: 4px; }
.anbieter-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.anbieter-karte { position: relative; display: flex; gap: 10px; align-items: flex-start; background: #fff; color: #000; border-radius: 12px;
  padding: 12px 14px; cursor: pointer; border: 1px solid transparent; }
.anbieter-karte:has(input:checked) { background: var(--orange-weich); border-color: var(--orange-tief); }
.anbieter-karte input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange-tief); flex: none; }
.anbieter-inhalt { display: grid; gap: 6px; font-size: 0.85rem; line-height: 1.45; }
.anbieter-inhalt strong { font-size: 0.95rem; }
.anbieter-inhalt > span { display: grid; gap: 6px; }
.anbieter-folge { font-weight: 650; }
.anbieter-hilfe { color: #fff; font-size: 0.875rem; }
.anbieter-hilfe summary { cursor: pointer; font-weight: 650; width: fit-content; }
.anbieter-hilfe ol { padding-left: 1.4em; margin: 8px 0; display: grid; gap: 4px; }
.anbieter-hilfe p { color: #ece7df; margin-top: 8px; }
.anbieter-hilfe dl { display: grid; gap: 4px 0; margin-top: 8px; color: #ece7df; }
.anbieter-hilfe dt { font-weight: 700; color: #fff; margin-top: 6px; }
.anbieter-hilfe dd strong { color: #fff; }
.anbieter-karte { padding: 10px 12px; }
.freigabe-mehr summary { cursor: pointer; font-size: 0.85rem; font-weight: 600; width: fit-content; margin-top: 2px; }
.band .freigabe-mehr summary { color: #ece7df; }
.freigabe-mehr p { margin-top: 4px; }

/* Haken „Prüfung ist abgesprochen“: hervorgehoben, weil ohne ihn viele Firewalls abweisen */
.freigabe.wichtig { background: var(--orange-weich); color: #000; border: 1px solid var(--orange-tief); border-radius: 12px;
  padding: 12px 14px; margin-top: 6px; }
.band .freigabe.wichtig label, .band .freigabe.wichtig .freigabe-mehr summary { color: #000; }
.band .freigabe.wichtig .hilfe { color: #000; }
.freigabe.wichtig input { accent-color: var(--orange-tief); }
.freigabe-kurz { font-size: 0.875rem; margin-top: 2px; }

/* Fortschritt: Platzhalter statt kaputtem Bild, Warnung bei Abweisung */
.browser-bild { position: relative; }
.vorschau-leer { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px;
  padding: 20px; text-align: center; font-size: 0.9rem; font-weight: 600; }
.vorschau-leer svg.ic { width: 28px; height: 28px; color: var(--orange-tief); }
.lauf-warnung { display: flex; gap: 10px; background: var(--rot-weich); border: 1px solid #f1b3a7; border-radius: 10px; padding: 12px 14px; font-size: 0.9rem; }
.lauf-warnung svg.ic { color: var(--rot); margin-top: 2px; }
.lauf-warnung p { margin-top: 4px; }
@media (max-width: 900px) { .anbieter-karten { grid-template-columns: 1fr; } }

.fortschritt-gross { display: grid; gap: 10px; min-width: min(100%, 420px); flex: 1; }
.balken.gross { height: 14px; }
.balken.gross span { background: var(--gruen); }
.arbeitszahlen { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.9rem; }
.arbeitszahlen b { font-variant-numeric: tabular-nums; }
.arbeitszahlen .gut { display: flex; gap: 5px; align-items: center; color: #14532d; font-weight: 600; }
.arbeitszahlen .gut svg.ic { color: var(--gruen); }
.hinweis.laeuft { background: var(--orange-weich); border-color: #ecc785; font-weight: 600; }
.hinweis.laeuft svg.ic { animation: puls 1.2s ease-in-out infinite; }
.verlauf { border: 1px solid var(--linie); border-radius: var(--radius-m); background: var(--flaeche-2); }
.verlauf > summary { cursor: pointer; padding: 10px 14px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.verlauf ul { list-style: none; padding: 0 14px 12px; display: grid; gap: 4px; font-size: 0.9rem; }

.knopf.klein { padding: 6px 12px; font-size: 0.875rem; border-radius: 8px; }
.knopf-leise { background: transparent; border-color: transparent; text-decoration: underline; text-underline-offset: 3px; color: #000; }
.knopf-leise:hover { background: var(--flaeche-2); }
.zeile.zwischen { justify-content: space-between; margin-bottom: 8px; }

.aufgaben { list-style: none; display: grid; gap: 10px; }
.aufgabe { border: 1px solid var(--linie); border-radius: var(--radius-m); padding: 12px 14px; display: grid; gap: 6px; background: #fff; }
.aufgabe.status-erledigt { background: #f3faf5; border-color: #c4e3cf; }
.aufgabe.status-wieder-offen { background: #fff6f4; border-color: #f1b3a7; }
.aufgabe.status-kein-fehler { background: var(--leer-weich); }
.aufgabe-kopf { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.aufgabe-status { font-size: 0.8125rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.05em; }
.aufgabe-text { font-weight: 600; }
/* Unsichere Stelle als Frage */
.aufgabe-frage { background: var(--gelb-weich); border-color: #ecd28a; }
.frage-text { font-size: 1.05rem; font-weight: 700; }
.frage-tipp { display: flex; gap: 8px; font-size: 0.875rem; }
.frage-tipp svg.ic { color: var(--orange-tief); margin-top: 2px; width: 16px; height: 16px; }
.aufgabe-frage .ort { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.aufgabe-frage .knopf-rand { background: #fff; }
.aufgabe .ort { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 0.875rem; font-weight: 700; }
.aufgabe .ort .breite { font-weight: 600; background: var(--bg-2); padding: 2px 7px; border-radius: 5px; font-size: 0.75rem; }
.aufgabe code { background: var(--flaeche-2); padding: 2px 6px; border-radius: 5px; }
.seitenliste > summary { cursor: pointer; font-size: 0.875rem; font-weight: 600; }
.seitenliste ul { padding-left: 18px; font-size: 0.875rem; margin-top: 4px; }

.galerie { display: grid; gap: 10px; }
.galerie-zahlen { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.9rem; }
.galerie-zahlen b { font-variant-numeric: tabular-nums; }
.galerie-zahlen .gut b { color: #14532d; }
.galerie-zahlen .schlecht b { color: #8f1d0c; }
.galerie-raster { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.stelle { border: 1px solid var(--linie); border-radius: var(--radius-m); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; background: #fff; }
.stelle img, .stelle-ohne-bild { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--flaeche-2); border-bottom: 1px solid var(--linie); display: grid; place-items: center; }
.stelle-ohne-bild { display: none !important; }  /* Stellen ohne Bild (Text, Links): keine leere Bildfläche */
.stelle-text { padding: 10px 12px 4px; display: grid; gap: 2px; font-size: 0.9rem; overflow-wrap: anywhere; }
.stelle .zeile { padding: 8px 12px 12px; gap: 6px; }
.stelle.bewertet-passt { border-color: #a9d8b8; background: #f3faf5; }
.stelle.bewertet-passt-nicht { border-color: #f1b3a7; background: #fff6f4; }
.aktiv-passt { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.aktiv-passt_nicht { background: var(--rot); border-color: var(--rot); color: #fff; }
.gesamt > summary { cursor: pointer; font-weight: 650; padding: 4px 0; }
.gesamt[open] > summary { margin-bottom: 10px; }
.auszug { white-space: pre-wrap; max-height: 260px; overflow: auto; }

.rueckmeldung { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; gap: 10px; align-items: center;
  background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--schatten-hoch); font-weight: 650;
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s ease, transform .3s cubic-bezier(.16, 1, .3, 1); }
.rueckmeldung.sichtbar { opacity: 1; transform: none; }
.rueckmeldung svg.ic { color: var(--orange); }

/* ---------------------------------------------------------------- Anmeldung */

.anmeldung { max-width: 420px; margin: 8vh auto 0; padding: 28px; display: grid; gap: 14px; }
.anmeldung form { display: grid; gap: 10px; }
.anmeldung label { font-weight: 650; }
.anmeldung input { font: inherit; border: 1px solid var(--linie-3); border-radius: 9px; padding: 10px 12px; }

/* ---------------------------------------------------------------- Kleine Bildschirme */

@media (max-width: 980px) {
  .lauf, .zweispaltig { grid-template-columns: minmax(0, 1fr); }
  .eingabezeile, .eingabezeile.pdf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .eingabezeile .feld:first-child { grid-column: 1 / -1; }
  .eingabezeile .feld + .feld { border-left: 0; }
  .eingabezeile .knopf { grid-column: 1 / -1; padding: 12px; justify-content: center; }
}
@media (max-width: 860px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; height: auto; gap: 14px; }
  .seitenfuss { margin-top: 0; }
  .pruefzeile { grid-template-columns: 40px minmax(0, 1fr); }
  .pruefzeile > .streifen-box, .pruefzeile > .zaehler-kurz { grid-column: 2; justify-content: flex-start; }
  details.schritt > summary { grid-template-columns: 22px minmax(0, 1fr) auto; }
  details.schritt > summary .bezug, details.schritt > summary .schwere { display: none; }
  .schritt-inhalt { padding-left: 16px; }
  .segmente { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; display: grid; }
  .streifen { gap: 3px; }
  .streifen-gruppe { gap: 1px; }
  .streifen-feld { min-width: 0; height: 26px; border-radius: 2px; }
  .streifen-achse { gap: 3px; }
  .streifen-achse span { font-size: 0.625rem; }
  .hand-fortschritt { grid-template-columns: minmax(0, 1fr); }
  .kennzahl strong { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .sidebar, .standfilter, .entscheidung, .aktionen, .skip-link { display: none !important; }
  .app { display: block; }
  details.schritt { break-inside: avoid; box-shadow: none; }
}
.score-marke b { font-size: 1rem; font-variant-numeric: tabular-nums; margin-right: 2px; }

/* Umschalter Arbeitsliste / WCAG-Kriterien */
.modus { display: inline-flex; gap: 4px; background: var(--bg-2); border-radius: 12px; padding: 4px; margin-bottom: 10px; }
.modus-knopf { display: inline-flex; gap: 8px; align-items: center; border: 0; background: transparent; padding: 8px 14px; border-radius: 9px;
  font-weight: 650; font-size: 0.9rem; cursor: pointer; }
.modus-knopf[aria-pressed="true"] { background: var(--flaeche); box-shadow: var(--schatten); }
.modus-knopf:hover { background: var(--flaeche-2); }

/* Quick Wins */
.quickwins { padding: 18px 20px; margin-top: 18px; display: grid; gap: 8px; }
.quickwins h2 { font-size: 1.1rem; display: flex; gap: 8px; align-items: center; }
.quickwins h2 svg.ic { color: var(--orange-tief); }
.quickwins ol { list-style: none; display: grid; gap: 6px; margin-top: 4px; }
.quickwins li { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto auto; gap: 12px; align-items: center;
  padding: 8px 0; border-top: 1px solid var(--linie); }
.qw-text strong { display: block; font-weight: 650; }
.qw-text small { font-size: 0.8125rem; font-weight: 550; }

/* Mit KI beheben */
details.ki { margin-top: 12px; padding: 0; }
details.ki > summary { cursor: pointer; padding: 14px 20px; font-weight: 700; display: flex; gap: 10px; align-items: center; }
details.ki > summary svg.ic { color: var(--orange-tief); }
details.ki > div { padding: 0 20px 18px; display: grid; gap: 10px; }
details.ki textarea { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85rem; padding: 10px;
  border: 1px solid var(--linie-2); border-radius: 8px; background: var(--flaeche-2); resize: vertical; min-height: 5.5em; }

/* Abzeichen */
.abzeichen h3 { font-size: 0.95rem; margin-bottom: 8px; }
.abzeichen ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.abzeichen li { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 650;
  border: 1px solid var(--linie-2); }
.abzeichen li.erreicht { background: var(--orange-weich); border-color: var(--orange); }
.abzeichen li.erreicht svg.ic { color: var(--orange-tief); fill: var(--orange); }
.abzeichen li.offen { border-style: dashed; background: transparent; }
.abzeichen li svg.ic { width: 15px; height: 15px; }

/* PDF-Einstufung */
.pdf-gut { background: var(--gruen-weich); border-color: #a9d8b8; }
.pdf-mittel { background: var(--gelb-weich); border-color: #ecd28a; }
.pdf-schlecht { background: var(--rot-weich); border-color: #f1b3a7; }

/* Kriterien */
details.kriterium { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius-m); }
details.kriterium[open] { border-color: var(--linie-2); box-shadow: var(--schatten); }
details.kriterium > summary { list-style: none; cursor: pointer; padding: 12px 16px; display: grid;
  grid-template-columns: 22px 104px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
details.kriterium > summary::-webkit-details-marker { display: none; }
details.kriterium > summary .pfeil { transition: transform .2s ease; }
details.kriterium[open] > summary .pfeil { transform: rotate(90deg); }
.krit-name { font-weight: 600; }
.krit-inhalt { padding: 0 16px 16px; display: grid; gap: 10px; }
.krit-zahlen { display: inline-flex; gap: 10px; font-size: 0.8125rem; font-weight: 600; flex-wrap: wrap; }
.krit-zahlen > span { display: inline-flex; gap: 4px; align-items: center; }
.krit-zahlen > span::before { content: ''; width: 9px; height: 9px; border-radius: 50%; }
.k-bestanden::before { background: var(--gruen); }
.k-manuell::before { background: var(--orange); }
.k-fehler::before { background: var(--rot); }
.krit-fehler { border-color: #f1b3a7; }
.bereich-kopf .krit-zahlen { margin-left: auto; }
@media (max-width: 760px) {
  .quickwins li { grid-template-columns: minmax(0, 1fr) auto; }
  .quickwins li .bezug, .quickwins li .schwere { display: none; }
  details.kriterium > summary { grid-template-columns: 22px minmax(0, 1fr); }
  details.kriterium > summary .bezug { display: none; }
  details.kriterium > summary .krit-zahlen { grid-column: 2; }
}

/* Kundenseite: Erneut prüfen statt großem Startkasten */
.erneut-leiste { padding: 18px 22px; display: grid; gap: 10px; }
.erneut-kopf { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.erneut-kopf h2 { font-size: 1.2rem; }
.erneut-leiste > .meldung:empty { display: none; }
.erneut-mehr > summary { cursor: pointer; font-weight: 650; font-size: 0.9rem; width: fit-content; }
.erneut-mehr[open] > summary { margin-bottom: 12px; }
.erneut-mehr .band h2 { font-size: 1.4rem; }

/* Mit KI beheben: Schritte */
.ki-schritte { display: grid; gap: 6px; padding-left: 1.4em; }
.ki-schritte li { padding-left: 4px; }
.band > .meldung:empty { display: none; }
.abbruch-knoepfe { margin-top: 16px; }
