/* check-meine-website.de – Gestaltung. Claude Code, 29.10.2026.
   Eigene, neutrale Marke „Check meine Website“. Mobil zuerst. Hell/Dunkel/wie das Gerät über color-scheme am <html>
   (Attribut data-thema aus dem Keks „thema“, server.js) und Farbtoken mit light-dark() – keine festen Farben in Regeln.
   Keine Schriften von außen: Systemschrift. Animationen verstecken nie Inhalt und ruhen bei prefers-reduced-motion. */
html[data-thema="hell"] { color-scheme: light; }
html[data-thema="dunkel"] { color-scheme: dark; }
html[data-thema="geraet"] { color-scheme: light dark; }
:root {
  --grund: light-dark(#f5f7fa, #0f1318);
  --flaeche: light-dark(#ffffff, #171c23);
  --flaeche2: light-dark(#eef2f7, #1f262f);
  --linie: light-dark(#dde3ea, #2c3540);
  --text: light-dark(#141a22, #e7ebf0);
  --leise: light-dark(#566170, #9aa5b3);
  --akzent: light-dark(#1d5fd6, #6ea2ff);
  --akzent-dunkel: light-dark(#164bb0, #9cc0ff);
  --auf-akzent: light-dark(#ffffff, #0b1220);
  --rot: light-dark(#c62d1c, #ff8a7a);
  --rot-grund: light-dark(#fdecea, #3a1a17);
  --gelb: light-dark(#a86a00, #f2c14e);
  --gelb-grund: light-dark(#fff5df, #352a12);
  --blau-grund: light-dark(#eaf1fe, #172338);
  --gruen: light-dark(#0d7a42, #5fd394);
  --gruen-grund: light-dark(#e6f6ed, #12301f);
  --schatten: light-dark(0 1px 2px rgb(15 23 42 / .06), 0 1px 2px rgb(0 0 0 / .4));
  --rund: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--akzent); text-underline-offset: 2px; }
a:hover { color: var(--akzent-dunkel); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 6vw, 2.75rem); }
h2 { font-size: clamp(1.25rem, 4vw, 1.6rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.rahmen { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 16px; }
.leise { color: var(--leise); }
.klein { font-size: .875rem; }
.sprung { position: absolute; left: -999px; top: 8px; background: var(--flaeche); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.sprung:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }

/* Kopf */
.kopf { background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.marke { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.logo { width: 30px; height: 30px; flex: none; }
.kopf nav { display: flex; align-items: center; gap: 14px; font-size: .95rem; }
.kopf nav > a { color: var(--text); text-decoration: none; }
.kopf nav > a:hover { color: var(--akzent); }
/* Drei Menüpunkte seit 30.10.2026 (Google-Unternehmensscan): umbrechen statt überlaufen, schmal etwas kleiner. */
.kopf nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 4px; }
@media (max-width: 760px) { .kopf nav { font-size: .85rem; gap: 10px; } }
@media (max-width: 420px) { .kopf nav > a { display: none; } }
.darstellung { position: relative; }
.darstellung summary { list-style: none; cursor: pointer; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--linie); border-radius: 10px; font-size: 1.1rem; }
.darstellung summary::-webkit-details-marker { display: none; }
.darst-menue { position: absolute; right: 0; top: 44px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; padding: 6px; display: grid; min-width: 180px; box-shadow: 0 8px 24px rgb(0 0 0 / .15); z-index: 5; }
.darst-menue a { padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.darst-menue a:hover, .darst-menue a[aria-current] { background: var(--flaeche2); }

main { padding: 28px 16px 48px; }
main.rahmen { padding-left: 16px; padding-right: 16px; }

/* Held und Formular */
.held { padding: 12px 0 8px; }
.dachzeile { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--akzent); margin-bottom: .4em; }
.unterzeile { font-size: 1.08rem; color: var(--leise); max-width: 640px; }
.pruef-form { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 16px; box-shadow: var(--schatten); max-width: 680px; }
.pruef-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.eingabe-zeile { display: grid; gap: 10px; }
@media (min-width: 560px) { .eingabe-zeile { grid-template-columns: 1fr auto; } }
input[type=text], input[type=email], input[type=tel] { width: 100%; font: inherit; font-size: 1.05rem; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--linie); background: var(--grund); color: var(--text); min-height: 48px; }
input[aria-invalid=true] { border-color: var(--rot); }
button, .knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 650; padding: 12px 20px; min-height: 48px; border-radius: 10px; border: 0; background: var(--akzent); color: var(--auf-akzent); cursor: pointer; text-decoration: none; }
button:hover, .knopf:hover { background: var(--akzent-dunkel); color: var(--auf-akzent); }
.knopf.zweit { background: transparent; color: var(--akzent); border: 1.5px solid var(--akzent); }
.knopf.zweit:hover { background: var(--blau-grund); color: var(--akzent); }
.fehler { color: var(--rot); font-weight: 600; margin: 10px 0 0; }
.pruef-form .klein { margin: 10px 0 0; }
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Karten */
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 18px; box-shadow: var(--schatten); }
.karten { display: grid; gap: 12px; margin: 28px 0; }
@media (min-width: 720px) { .karten.drei { grid-template-columns: repeat(3, 1fr); } }
.karte .nr { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blau-grund); color: var(--akzent); font-weight: 700; margin-bottom: 8px; }
.karte h2 { font-size: 1.1rem; }
.karte p:last-child { margin-bottom: 0; }
.abschnitt { margin: 32px 0; }
.bereich-liste { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.bereich-liste ul { padding-left: 18px; margin: 0 0 8px; }
.bereich-liste li { margin-bottom: 4px; }
.fragen details { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.fragen summary { cursor: pointer; font-weight: 600; }
.fragen details p { margin: 10px 0 0; }
.haken-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.haken-liste li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; padding: 10px 12px; }

/* Schwere-Marken */
.marke-schwere { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 2px 8px; border-radius: 999px; margin-right: 6px; vertical-align: 2px; }
.marke-schwere.s-kritisch { background: var(--rot-grund); color: var(--rot); }
.marke-schwere.s-wichtig { background: var(--gelb-grund); color: var(--gelb); }
.marke-schwere.s-hinweis { background: var(--blau-grund); color: var(--akzent); }

/* Ergebnis */
.domain-titel { word-break: break-word; }
.punkte-zeile { display: grid; gap: 18px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 560px) { .punkte-zeile { grid-template-columns: auto 1fr; } }
.ring { --farbe: var(--akzent); width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: radial-gradient(closest-side, var(--flaeche) 78%, transparent 79%), conic-gradient(var(--farbe) calc(var(--p) * 1%), var(--flaeche2) 0); }
.ring b { font-size: 2.6rem; line-height: 1; }
.ring span { font-size: .85rem; color: var(--leise); }
.n-gut { --farbe: var(--gruen); color: var(--gruen); }
.n-mittel { --farbe: var(--akzent); color: var(--akzent); }
.n-schwach { --farbe: var(--gelb); color: var(--gelb); }
.n-schlecht { --farbe: var(--rot); color: var(--rot); }
.ring.n-gut, .ring.n-mittel, .ring.n-schwach, .ring.n-schlecht { color: var(--text); }
.stufe { font-size: 1.3rem; font-weight: 700; margin-bottom: .3em; }
.zaehler { display: flex; flex-wrap: wrap; gap: 6px; }
.z { font-size: .85rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.z.s-kritisch { background: var(--rot-grund); color: var(--rot); }
.z.s-wichtig { background: var(--gelb-grund); color: var(--gelb); }
.z.s-hinweis { background: var(--blau-grund); color: var(--akzent); }
.z.s-gut { background: var(--gruen-grund); color: var(--gruen); }
.foto { margin: 20px 0 24px; display: grid; grid-template-columns: 1fr; gap: 14px; align-items: end; }
.foto.mit-handy { grid-template-columns: minmax(0, 1fr) clamp(84px, 22%, 170px); }
.foto img { display: block; width: 100%; height: auto; color-scheme: light; }
.f-desktop { border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; background: var(--flaeche); box-shadow: var(--schatten); }
.f-handy { border: 6px solid light-dark(#141a22, #3a4554); border-radius: 18px; overflow: hidden; background: #141a22; }
.foto figcaption { grid-column: 1 / -1; padding: 0 2px; }
.browser-leiste { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--flaeche2); border-bottom: 1px solid var(--linie); font-size: .8rem; color: var(--leise); }
.browser-leiste i { width: 10px; height: 10px; border-radius: 50%; background: var(--linie); }
.browser-leiste span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bereiche { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.bereiche li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; padding: 12px 14px; }
.bereiche b { font-size: 1.15rem; }
.balken { grid-column: 1 / -1; display: block; height: 6px; border-radius: 6px; background: var(--flaeche2); overflow: hidden; }
.balken i { display: block; height: 100%; background: var(--farbe); border-radius: 6px; }
.bereiche small { grid-column: 1 / -1; color: var(--leise); }
.befunde { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.befund { background: var(--flaeche); border: 1px solid var(--linie); border-left: 4px solid var(--linie); border-radius: 12px; padding: 14px 16px; }
.befund.s-kritisch { border-left-color: var(--rot); }
.befund.s-wichtig { border-left-color: var(--gelb); }
.befund.s-hinweis { border-left-color: var(--akzent); }
.befund-kopf h3 { display: inline; font-size: 1.02rem; }
.befund p { margin: 8px 0 0; }
.gut-liste summary { cursor: pointer; list-style: none; }
.gut-liste summary::-webkit-details-marker { display: none; }
.gut-liste summary h2 { display: inline; }
.gut-liste summary::after { content: " ▾"; color: var(--leise); }
.gut-liste ul { padding-left: 0; list-style: none; display: grid; gap: 6px; margin-top: 12px; }
.gut-liste li { padding-left: 26px; position: relative; }
.gut-liste li::before { content: "✓"; position: absolute; left: 4px; color: var(--gruen); font-weight: 700; }
.aktionen { display: flex; flex-wrap: wrap; gap: 10px; }
.hinweis-kasten { border-radius: 12px; padding: 12px 16px; margin: 12px 0; border: 1px solid var(--linie); }
.hinweis-kasten.warnung { background: var(--rot-grund); border-color: transparent; }
.hinweis-kasten.gut { background: var(--gruen-grund); border-color: transparent; }
.hinweis-kasten p:last-child { margin: 0; }
.mail-form { display: grid; gap: 10px; max-width: 620px; }
.mail-form label { font-weight: 600; }
.haken { display: grid !important; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 400 !important; font-size: .92rem; }
.haken input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--akzent); }
.mail-form button { justify-self: start; }
/* Local Map Scan (29.10.2026): dieselbe Form wie mail-form, Felder untereinander. */
.anfrage-form { display: grid; gap: 8px; max-width: 620px; }
.anfrage-form label { font-weight: 600; margin-top: 6px; }
.anfrage-form label .leise { font-weight: 400; }
.anfrage-form button { justify-self: start; margin-top: 8px; }
.anbieter { margin-top: 32px; }

/* Warten */
.warten .schritte { padding-left: 22px; display: grid; gap: 8px; margin: 18px 0; }
.warten .schritte li { padding: 2px 0; }
@media (prefers-reduced-motion: no-preference) {
  .warten .schritte li { animation: hervor 6s ease-in-out infinite; }
  .warten .schritte li:nth-child(2) { animation-delay: 1s; } .warten .schritte li:nth-child(3) { animation-delay: 2s; }
  .warten .schritte li:nth-child(4) { animation-delay: 3s; } .warten .schritte li:nth-child(5) { animation-delay: 4s; }
  .warten .schritte li:nth-child(6) { animation-delay: 5s; }
}
/* Nur Farbe, nie Deckkraft 0: der Text bleibt immer lesbar (doktrin/arbeitsweise.md, Animationen). */
@keyframes hervor { 0%, 100% { color: var(--leise); } 12% { color: var(--akzent); } 24% { color: var(--text); } }

/* Rechtstexte */
.rechtstext { max-width: 760px; }
.rechtstext h2 { font-size: 1.2rem; margin-top: 1.6em; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); background: var(--flaeche); padding: 24px 0 32px; font-size: .92rem; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 16px; }

/* Warteseite: Text links, Scanner rechts; schmal untereinander (Scanner unter dem Text, kleiner). */
.warten { display: grid; gap: 28px; align-items: start; margin-top: 16px; }
@media (min-width: 860px) { .warten { grid-template-columns: minmax(0, 1fr) 340px; } }

/* Scanner (server.js scanner(), Furkan 29.10.2026). Reine Zierde, aria-hidden. Ohne Bewegung steht alles still und
   vollständig da: das Skelett ist immer sichtbar, das Röntgenband liegt nur darüber (Doktrin: Animation versteckt nie Inhalt). */
.scanner { margin: 0; width: 100%; max-width: 340px; justify-self: center; border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; background: var(--flaeche); box-shadow: var(--schatten); }
@media (max-width: 859px) { .scanner { max-width: 280px; } }
.scanner figcaption { padding: 8px 12px; font-size: .8rem; color: var(--leise); border-top: 1px solid var(--linie); text-align: center; }
.scan-flaeche { position: relative; aspect-ratio: 320 / 360; background: var(--flaeche); }
.skelett { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.skelett.normal rect { fill: var(--flaeche2); }
.skelett.normal .kopf, .skelett.normal .fuss { fill: light-dark(#e3e8ef, #252d38); }
.skelett.normal .held { fill: light-dark(#f4f7fb, #1b2129); }
.skelett.normal .karte { fill: var(--flaeche); stroke: var(--linie); }
.skelett.normal .bild { fill: light-dark(#d5deea, #2c3644); }
.skelett.normal .knopf { fill: var(--akzent); opacity: .55; }
.skelett.normal .linie, .skelett.normal .block { fill: light-dark(#c9d2de, #3a4554); }
/* Durchleuchtet: dunkles Band, Umrisse leuchten blaugrün, Raster sichtbar. Hell und dunkel gleich – Röntgen ist dunkel. */
.roentgen { position: absolute; inset: 0; background: #031a22; clip-path: inset(38% 0 42% 0); }
.skelett.durch rect { fill: rgba(56, 230, 214, .08); stroke: #46f0dc; stroke-width: 1; vector-effect: non-scaling-stroke; }
.skelett.durch .bild { fill: rgba(56, 230, 214, .22); }
.skelett.durch .gitter { stroke: rgba(70, 240, 220, .18); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
.scan-balken { position: absolute; left: 0; right: 0; top: 58%; height: 3px; background: #46f0dc; box-shadow: 0 0 12px 3px rgba(70, 240, 220, .7), 0 0 36px 8px rgba(70, 240, 220, .25); }
.scan-punkt { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #46f0dc; opacity: 0; box-shadow: 0 0 0 0 rgba(70, 240, 220, .6); }
@media (prefers-reduced-motion: no-preference) {
  .scanner:not(.wartet) .roentgen { animation: roentgen 4.5s linear infinite; }
  .scanner:not(.wartet) .scan-balken { animation: balken 4.5s linear infinite; }
  .scanner:not(.wartet) .scan-punkt { animation: punkt 4.5s ease-out infinite; }
  .scanner.wartet .scan-balken { animation: atmen 2.4s ease-in-out infinite; }
}
/* In der Warteschlange: Balken oben, kein Band (es wird noch nichts geprüft). */
.scanner.wartet .roentgen { clip-path: inset(0 0 100% 0); }
.scanner.wartet .scan-balken { top: 0; }
@keyframes roentgen { 0% { clip-path: inset(-20% 0 100% 0); } 100% { clip-path: inset(80% 0 0 0); } }
@keyframes balken { 0% { top: 0; } 100% { top: 100%; } }
@keyframes punkt { 0% { opacity: 0; transform: scale(.4); box-shadow: 0 0 0 0 rgba(70, 240, 220, .6); } 4% { opacity: 1; transform: scale(1); } 22% { opacity: 0; transform: scale(1.4); box-shadow: 0 0 0 14px rgba(70, 240, 220, 0); } 100% { opacity: 0; } }
@keyframes atmen { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* Reiter auf „Was wir prüfen“ (server.js wasWirPruefen): Optionsfelder + Nachbarwähler, ohne Skript. Nach Position, bis zehn
   Bereiche. Die Optionsfelder sind nur optisch versteckt (Tastatur: Pfeiltasten wechseln den Reiter, Vorlesen nennt ihn). */
.reiter { margin-top: 20px; }
.reiter-wahl { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; pointer-events: none; }
.reiter-leiste { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.reiter-leiste label { cursor: pointer; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--linie); background: var(--flaeche); color: var(--text); font-weight: 600; font-size: .95rem; display: inline-flex; gap: 8px; align-items: center; }
.reiter-leiste label:hover { border-color: var(--akzent); }
.reiter-zahl { font-size: .78rem; font-weight: 700; min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--flaeche2); color: var(--leise); text-align: center; }
.reiter .paneel { display: none; }
.reiter .paneel h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.reiter-wahl:nth-of-type(1):checked ~ .paneele .paneel:nth-of-type(1), .reiter-wahl:nth-of-type(2):checked ~ .paneele .paneel:nth-of-type(2),
.reiter-wahl:nth-of-type(3):checked ~ .paneele .paneel:nth-of-type(3), .reiter-wahl:nth-of-type(4):checked ~ .paneele .paneel:nth-of-type(4),
.reiter-wahl:nth-of-type(5):checked ~ .paneele .paneel:nth-of-type(5), .reiter-wahl:nth-of-type(6):checked ~ .paneele .paneel:nth-of-type(6),
.reiter-wahl:nth-of-type(7):checked ~ .paneele .paneel:nth-of-type(7), .reiter-wahl:nth-of-type(8):checked ~ .paneele .paneel:nth-of-type(8),
.reiter-wahl:nth-of-type(9):checked ~ .paneele .paneel:nth-of-type(9), .reiter-wahl:nth-of-type(10):checked ~ .paneele .paneel:nth-of-type(10) { display: block; }
.reiter-wahl:nth-of-type(1):checked ~ .reiter-leiste label:nth-of-type(1), .reiter-wahl:nth-of-type(2):checked ~ .reiter-leiste label:nth-of-type(2),
.reiter-wahl:nth-of-type(3):checked ~ .reiter-leiste label:nth-of-type(3), .reiter-wahl:nth-of-type(4):checked ~ .reiter-leiste label:nth-of-type(4),
.reiter-wahl:nth-of-type(5):checked ~ .reiter-leiste label:nth-of-type(5), .reiter-wahl:nth-of-type(6):checked ~ .reiter-leiste label:nth-of-type(6),
.reiter-wahl:nth-of-type(7):checked ~ .reiter-leiste label:nth-of-type(7), .reiter-wahl:nth-of-type(8):checked ~ .reiter-leiste label:nth-of-type(8),
.reiter-wahl:nth-of-type(9):checked ~ .reiter-leiste label:nth-of-type(9), .reiter-wahl:nth-of-type(10):checked ~ .reiter-leiste label:nth-of-type(10) { background: var(--akzent); border-color: var(--akzent); color: var(--auf-akzent); }
.reiter-wahl:nth-of-type(1):checked ~ .reiter-leiste label:nth-of-type(1) .reiter-zahl, .reiter-wahl:nth-of-type(2):checked ~ .reiter-leiste label:nth-of-type(2) .reiter-zahl,
.reiter-wahl:nth-of-type(3):checked ~ .reiter-leiste label:nth-of-type(3) .reiter-zahl, .reiter-wahl:nth-of-type(4):checked ~ .reiter-leiste label:nth-of-type(4) .reiter-zahl,
.reiter-wahl:nth-of-type(5):checked ~ .reiter-leiste label:nth-of-type(5) .reiter-zahl, .reiter-wahl:nth-of-type(6):checked ~ .reiter-leiste label:nth-of-type(6) .reiter-zahl,
.reiter-wahl:nth-of-type(7):checked ~ .reiter-leiste label:nth-of-type(7) .reiter-zahl, .reiter-wahl:nth-of-type(8):checked ~ .reiter-leiste label:nth-of-type(8) .reiter-zahl,
.reiter-wahl:nth-of-type(9):checked ~ .reiter-leiste label:nth-of-type(9) .reiter-zahl, .reiter-wahl:nth-of-type(10):checked ~ .reiter-leiste label:nth-of-type(10) .reiter-zahl { background: rgba(255, 255, 255, .22); color: var(--auf-akzent); }
.reiter-wahl:nth-of-type(1):focus-visible ~ .reiter-leiste label:nth-of-type(1), .reiter-wahl:nth-of-type(2):focus-visible ~ .reiter-leiste label:nth-of-type(2),
.reiter-wahl:nth-of-type(3):focus-visible ~ .reiter-leiste label:nth-of-type(3), .reiter-wahl:nth-of-type(4):focus-visible ~ .reiter-leiste label:nth-of-type(4),
.reiter-wahl:nth-of-type(5):focus-visible ~ .reiter-leiste label:nth-of-type(5), .reiter-wahl:nth-of-type(6):focus-visible ~ .reiter-leiste label:nth-of-type(6),
.reiter-wahl:nth-of-type(7):focus-visible ~ .reiter-leiste label:nth-of-type(7), .reiter-wahl:nth-of-type(8):focus-visible ~ .reiter-leiste label:nth-of-type(8),
.reiter-wahl:nth-of-type(9):focus-visible ~ .reiter-leiste label:nth-of-type(9), .reiter-wahl:nth-of-type(10):focus-visible ~ .reiter-leiste label:nth-of-type(10) { outline: 3px solid var(--akzent); outline-offset: 2px; }

/* Angaben laut Impressum (server.js kontaktKasten) */
.impressum-kasten dl { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: 6px 18px; margin: 0 0 10px; }
.impressum-kasten dt { color: var(--leise); }
.impressum-kasten dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 420px) { .impressum-kasten dl { grid-template-columns: 1fr; gap: 0; } .impressum-kasten dd { margin-bottom: 8px; } }
/* Aufwand, Bezug, Quelle je Befund und Quick-Fix-Zeile (29.10.2026) */
.befund-fuss { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.befund-fuss a { color: inherit; }
.quickfix { margin: 6px 0 4px; }
/* Scan-Arten, Ladezeit im Detail (29.10.2026) */
.scan-karten { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.scan.bald { opacity: .85; border-style: dashed; }
.bald-marke { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--flaeche2); color: var(--leise); vertical-align: middle; white-space: nowrap; }
.knopf.klein { padding: 8px 14px; font-size: .92rem; }
.tempo-tabelle { width: 100%; border-collapse: collapse; margin: 6px 0 8px; }
.tempo-tabelle th, .tempo-tabelle td { padding: 8px 10px; border-bottom: 1px solid var(--linie); text-align: left; }
.tempo-tabelle thead th { font-size: .85rem; color: var(--leise); }
.tempo-tabelle td { font-weight: 700; white-space: nowrap; }
.tw-gut { color: var(--gruen); } .tw-mittel { color: var(--gelb); } .tw-schlecht { color: var(--rot); }
.tempo-gruende { padding-left: 20px; } .tempo-gruende li { margin-bottom: 10px; }

/* Ampel-Fragen, Folgen-Satz, Notensatz (01.11.2026, kern/ampel.js, kern/pruefliste.js FOLGE, kern/note.js).
   Nur Tokens, Hell/Dunkel über light-dark() oben. Raster statt Reihen-Flexbox, damit dieselbe Form auch im PDF trägt. */
.stufe-satz { margin: 0 0 .6em; color: var(--leise); }
.folgen-zeile { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.folge-art { font-size: .85rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--flaeche2); color: var(--text); }
.befund .folge { margin: 8px 0 0; }
.ampeln { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.ampel { --licht: var(--leise); --licht-grund: var(--flaeche2); }
.ampel.a-rot { --licht: var(--rot); --licht-grund: var(--rot-grund); }
.ampel.a-gelb { --licht: var(--gelb); --licht-grund: var(--gelb-grund); }
.ampel.a-gruen { --licht: var(--gruen); --licht-grund: var(--gruen-grund); }
.ampel-innen { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; height: 100%; padding: 14px 16px;
  background: var(--flaeche); border: 1px solid var(--linie); border-top: 4px solid var(--licht); border-radius: 12px; color: var(--text); text-decoration: none; box-shadow: var(--schatten); }
a.ampel-innen:hover { color: var(--text); background: var(--licht-grund); }
a.ampel-innen:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
.ampel-licht { grid-row: 1 / span 2; width: 18px; height: 18px; border-radius: 50%; background: var(--licht); box-shadow: 0 0 0 4px var(--licht-grund); }
.ampel-frage { font-size: .9rem; color: var(--leise); }
.ampel-antwort { font-size: 1.15rem; color: var(--licht); }
.ampel.a-offen .ampel-antwort { color: var(--leise); }
.ampel-innen small { grid-column: 1 / -1; color: var(--leise); margin-top: 4px; }
.bereiche-klappe > summary { cursor: pointer; list-style: revert; }
.bereiche-klappe > summary h2 { display: inline; }
.bereiche-klappe[open] > summary { margin-bottom: 10px; }
.bereiche li.angesprungen { outline: 2px solid var(--akzent); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .bereiche li { transition: outline-color .3s; } }
