/* seiten-checker.net — eigenes Aussehen (Henry 24.09.2026: „die sehen alle gleich aus").
   Bewusst anders als fiskalzentrale.de / kassengutachter.de (helle Seiten, blaue Marke):
   dunkler Kopfbereich über die volle Breite, Akzent Violett, runde Formen, Eingabe wie ein
   Suchfeld. Ampelfarben bleiben Semantik (grün/gelb/rot), nicht Marke. */
:root {
  --nacht: #0f172a;          /* Kopf, Held */
  --nacht-2: #1e293b;
  --marke: #6d28d9;          /* Violett, Kontrast auf Weiß 7:1 */
  --marke-dunkel: #5b21b6;
  --marke-hell: #ede9fe;
  --text: #1e1b2e;
  --leise: #5b6070;
  --linie: #e5e3ee;
  --flaeche: #f7f6fb;
  --gruen: #e6f4ea; --gruen-rand: #1e7d3a;
  --gelb: #fff6dc;  --gelb-rand: #a66a00;
  --rot: #fdecea;   --rot-rand: #b3261e;
  --rund: 14px;
  --schatten: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; color: var(--text); background: var(--flaeche);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3, .marke { font-family: "Avenir Next", "Segoe UI Semibold", "Segoe UI", -apple-system, sans-serif;
  letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: .3rem 0 .8rem; }
h2 { font-size: 1.45rem; margin: 2.4rem 0 .8rem; }
h3 { font-size: 1.08rem; }
a { color: var(--marke); text-underline-offset: 2px; }
a:hover { color: var(--marke-dunkel); }
.breite { max-width: 62rem; margin: 0 auto; padding: 0 1.1rem; }
.springen { position: absolute; left: -999px; }
.springen:focus { left: 1rem; top: .5rem; background: #fff; padding: .4rem .8rem; z-index: 10; }
.klein { font-size: .9rem; color: var(--leise); }
.versteckt { position: absolute; left: -9999px; }

/* ---- Kopf: dunkel, verschmilzt mit dem Heldbereich ---- */
.kopf { background: var(--nacht); color: #fff; }
.kopf-innen { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem;
  padding-top: 1rem; padding-bottom: 1rem; }
.marke { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
.marke::before { content: ""; display: inline-block; vertical-align: -.25em; margin-right: .5rem;
  width: 1.4rem; height: 1.4rem; border-radius: 7px; background: url("/static/icon.svg") center/cover; }
.marke span { color: #c4b5fd; }
.marke:hover { color: #fff; }
.menue { display: flex; flex-wrap: wrap; gap: .3rem; margin-left: auto; }
.menue a { color: #cbd5e1; text-decoration: none; padding: .35rem .75rem; border-radius: 999px; font-size: .95rem; }
.menue a:hover { color: #fff; background: rgba(255,255,255,.08); }
.menue a[aria-current="page"] { color: #fff; background: rgba(196,181,253,.18); }

/* ---- Held: volle Breite dunkel (Trick: Schatten + clip-path, ohne Wrapper im HTML) ---- */
.held { position: relative; color: #e2e8f0; background: var(--nacht);
  box-shadow: 0 0 0 100vmax var(--nacht); clip-path: inset(0 -100vmax);
  padding: 2.2rem 0 3rem; margin-bottom: 1rem; }
.held h1 { color: #fff; }
.held .einleitung { color: #cbd5e1; max-width: 44rem; font-size: 1.12rem; }
.held a { color: #c4b5fd; }
.dachzeile { display: inline-block; margin: 0; padding: .25rem .8rem; border-radius: 999px;
  background: rgba(196,181,253,.15); color: #ddd6fe; font-size: .85rem; font-weight: 600; }
.held .klein { color: #94a3b8; }

/* ---- Formular: weiße Karte, Eingabe wie ein Suchfeld ---- */
.pruefform { background: #fff; color: var(--text); border-radius: 20px; padding: 1.3rem 1.3rem 1rem;
  margin: 1.6rem 0 0; box-shadow: 0 20px 50px rgba(0,0,0,.35); max-width: 46rem; }
.pruefform label { display: block; font-weight: 700; margin-bottom: .35rem; }
.pruefform .klein { color: var(--leise); }
.pruefform a { color: var(--marke); }
.zeile { display: flex; flex-wrap: wrap; gap: .6rem; }
.zeile input[type=text], .zeile select { flex: 1; min-width: 12rem; font: inherit; padding: .85rem 1.1rem;
  border: 2px solid var(--linie); border-radius: 999px; background: #fff; }
.zeile input[type=text]:focus, .zeile select:focus { outline: none; border-color: var(--marke);
  box-shadow: 0 0 0 4px var(--marke-hell); }
.zeile.zwei > div { flex: 1; min-width: 12rem; }
.zeile.zwei select, .zeile.zwei input { width: 100%; border-radius: 12px; }
.optional { margin: 1rem 0 .4rem; background: var(--flaeche); border-radius: 12px; padding: .6rem .9rem; }
.optional summary { font-weight: 600; color: var(--marke); cursor: pointer; }
.haekchen { display: flex; gap: .55rem; align-items: flex-start; margin: .9rem 0 .3rem; }
.haekchen label { font-weight: 400; margin: 0; }
.haekchen input { margin-top: .35rem; accent-color: var(--marke); width: 1.05rem; height: 1.05rem; }
.meldung { background: var(--rot); color: #7f1d1d; border-radius: 12px; padding: .7rem 1rem; max-width: 46rem; }

/* ---- Knöpfe ---- */
.knopf { display: inline-block; font: inherit; font-weight: 700; color: #fff; background: var(--marke);
  border: 0; border-radius: 999px; padding: .85rem 1.6rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(109,40,217,.35); }
.knopf:hover { background: var(--marke-dunkel); color: #fff; }
.knopf.zweit { background: #fff; color: var(--marke); border: 2px solid var(--marke); box-shadow: none; }

/* ---- Inhalt ---- */
main > section:not(.held) { background: #fff; border-radius: var(--rund); padding: .4rem 1.4rem 1.2rem;
  margin: 1.2rem 0; box-shadow: var(--schatten); }
main > section:not(.held) > h2:first-child { margin-top: 1rem; }
.einleitung { font-size: 1.08rem; }
.kasten { background: var(--marke-hell) !important; box-shadow: none !important; }

/* Liste „Letzte Prüfungen“: wie ein Live-Ticker */
.ticker { list-style: none; padding: 0; margin: .5rem 0; }
.ticker li { display: flex; align-items: center; gap: .5rem; padding: .55rem .8rem; margin: .35rem 0;
  background: var(--flaeche); border-radius: 10px; font-variant-numeric: tabular-nums; }
.punkt { display: inline-block; width: .75rem; height: .75rem; border-radius: 50%; flex: 0 0 auto; }
.punkt.green { background: var(--gruen-rand); } .punkt.yellow { background: var(--gelb-rand); } .punkt.red { background: var(--rot-rand); }

.raster { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.karte { background: var(--flaeche); border-radius: 12px; padding: .3rem 1rem .8rem;
  border-top: 4px solid var(--marke); }
.karte h3 { margin: .8rem 0 .2rem; }
.karte p { margin: .2rem 0; color: var(--leise); font-size: .95rem; }

/* ---- Ergebnis ---- */
.gesamt { display: flex; align-items: center; gap: 1.3rem; border-radius: var(--rund); padding: 1.2rem 1.4rem;
  margin: 1rem 0; border: 2px solid; }
.gesamt.green { background: var(--gruen); border-color: var(--gruen-rand); }
.gesamt.yellow { background: var(--gelb); border-color: var(--gelb-rand); }
.gesamt.red { background: var(--rot); border-color: var(--rot-rand); }
.gesamt-zahl { font-size: 3rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.gesamt-zahl small { font-size: 1rem; font-weight: 600; color: var(--leise); }
.bereich { background: #fff; border-radius: 12px; padding: .2rem 1.1rem .7rem; margin: .9rem 0;
  box-shadow: var(--schatten); }
.bereich-kopf { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.bereich-kopf h3 { margin: .8rem 0 .3rem; }
.wert { font-weight: 800; padding: .2rem .7rem; border-radius: 999px; white-space: nowrap; }
.wert.gruen { background: var(--gruen); color: #14532d; } .wert.gelb { background: var(--gelb); color: #6b4200; } .wert.rot { background: var(--rot); color: #7f1d1d; }
.bereich ul { margin: .3rem 0; padding-left: 1.3rem; }
.schwach li::marker { content: "✕  "; color: var(--rot-rand); }
.stark li::marker { content: "✓  "; color: var(--gruen-rand); }
.info li { color: var(--leise); font-size: .95rem; }
.wichtig li { margin: .4rem 0; }
.liste-def dt { font-weight: 700; margin-top: .9rem; }
.liste-def dd { margin: .1rem 0 0; color: var(--leise); }
details { margin: .5rem 0; }

/* ---- Fuß: dunkel wie der Kopf ---- */
.fuss { background: var(--nacht); color: #94a3b8; margin-top: 3rem; padding: 2rem 0 1rem; font-size: .92rem; }
.fuss a { color: #c4b5fd; }
.fuss strong { color: #e2e8f0; }
.fuss-raster { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.fuss-unten { border-top: 1px solid var(--nacht-2); margin-top: 1.4rem; padding-top: .8rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.fuss-unten p { margin: 0; }

@media (max-width: 40rem) {
  body { font-size: 16px; }
  .menue { margin-left: 0; }
  .zeile .knopf { width: 100%; }
  .pruefform { padding: 1rem; }
  main > section:not(.held) { padding: .3rem 1rem 1rem; }
}

/* Unterseiten: Abstand der Überschrift zum dunklen Kopf */
main > h1:first-child { margin-top: 2rem; }
main > .einleitung { max-width: 46rem; }
