/* ══════════════════════════════════════════════════════════════════════════════════════════
   Weller Safety Consulting – Stylesheet der gesamten Website (siehe wsc/base.html).
   Alle Klassen mit Präfix wsc-. Farben aus dem Logo (Cyan → Grün) abgeleitet; Text- und
   Knopffarben sind dunkler gewählt, damit sie die Kontrastvorgabe (4,5 : 1) erfüllen.
   Hell/Dunkel wie im Zatre-Projekt: Standard folgt der Systemeinstellung, der Umschalter in der
   Kopfzeile überschreibt per data-theme auf <html>. Alles, was sich zwischen den Modi ändert,
   steckt in Tokens — nur die Token-Blöcke sind doppelt (Media-Query + data-theme). Beide gelten
   nur am Bildschirm: Gedruckt (Ergebnis-Export, siehe „Druckansicht“) wird immer hell.
   Keine Inline-Styles in den Templates: die CSP erlaubt nur Stylesheets von 'self'.
   ══════════════════════════════════════════════════════════════════════════════════════════ */

/* ── Schrift: Fraunces (SIL OFL 1.1, siehe ../fonts/OFL.txt), aus dem Zatre-Projekt übernommen,
   nur Latin-Subset, variable wght. Relativer url() — ManifestStaticFilesStorage schreibt ihn beim
   collectstatic auf den gehashten Namen um. ── */
@font-face {
  font-family: "Fraunces WSC";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-wght-normal.eb2486760f75.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces WSC";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-wght-italic.701ae03b5183.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ══ Tokens ════════════════════════════════════════════════════════════════════════════════ */
:root {
  color-scheme: light;
  --wsc-bg: #f5f7f6;
  --wsc-surface: #ffffff;
  --wsc-surface-2: #edf2f0;
  --wsc-border: rgba(16, 42, 36, .12);
  --wsc-border-stark: rgba(16, 42, 36, .28);
  --wsc-text: #13201d;
  --wsc-text-muted: #3b4a46;
  --wsc-text-subtle: #586763;
  --wsc-akzent: #0a7a62;           /* Knöpfe; Weiß darauf 5,3 : 1 */
  --wsc-akzent-hover: #07614e;
  --wsc-akzent-text: #0a7a62;      /* Links/Hervorhebungen auf --wsc-bg: 4,9 : 1 */
  --wsc-akzent-weich: rgba(10, 122, 98, .1);
  --wsc-auf-akzent: #ffffff;
  --wsc-fehler: #b42318;
  --wsc-fehler-weich: rgba(180, 35, 24, .08);
  --wsc-schatten: 16, 42, 36;
  --wsc-schatten-staerke: 1;
  --wsc-bildfilter: none;
  --wsc-icon-mond: inline-block;
  --wsc-icon-sonne: none;
  --wsc-kopf-a: rgba(92, 200, 230, .16);
  --wsc-kopf-b: rgba(141, 198, 63, .14);
  --wsc-bogen-deckkraft: .22;
  --wsc-logo-flaeche: transparent;

  /* modusunabhängig */
  --wsc-verlauf: linear-gradient(90deg, #5cc8e6 0%, #6fcfb9 48%, #8dc63f 100%);
  --wsc-band: linear-gradient(120deg, #0b4f45 0%, #0a6b56 55%, #2f7d33 100%);
  --wsc-bildflaeche: #ffffff;
  --wsc-serif: "Fraunces WSC", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --wsc-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --wsc-breite: 1160px;
  --wsc-rand: clamp(16px, 4.5vw, 32px);
  --wsc-radius: 14px;
}
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --wsc-bg: #0e1513;
    --wsc-surface: #151f1c;
    --wsc-surface-2: #111a17;
    --wsc-border: rgba(225, 245, 238, .1);
    --wsc-border-stark: rgba(225, 245, 238, .3);
    --wsc-text: #e7efec;
    --wsc-text-muted: #c2cfcb;
    --wsc-text-subtle: #93a39f;
    --wsc-akzent: #3cc69a;
    --wsc-akzent-hover: #62d6b0;
    --wsc-akzent-text: #5fd3ab;
    --wsc-akzent-weich: rgba(60, 198, 154, .14);
    --wsc-auf-akzent: #06231b;
    --wsc-fehler: #f97066;
    --wsc-fehler-weich: rgba(249, 112, 102, .1);
    --wsc-schatten: 0, 0, 0;
    --wsc-schatten-staerke: 1.8;
    --wsc-bildfilter: brightness(.9);
    --wsc-icon-mond: none;
    --wsc-icon-sonne: inline-block;
    --wsc-kopf-a: rgba(92, 200, 230, .1);
    --wsc-kopf-b: rgba(141, 198, 63, .08);
    --wsc-bogen-deckkraft: .12;
    --wsc-logo-flaeche: #fff;
  }
}
@media screen {
  :root[data-theme="dark"] {
    color-scheme: dark;
    --wsc-bg: #0e1513;
    --wsc-surface: #151f1c;
    --wsc-surface-2: #111a17;
    --wsc-border: rgba(225, 245, 238, .1);
    --wsc-border-stark: rgba(225, 245, 238, .3);
    --wsc-text: #e7efec;
    --wsc-text-muted: #c2cfcb;
    --wsc-text-subtle: #93a39f;
    --wsc-akzent: #3cc69a;
    --wsc-akzent-hover: #62d6b0;
    --wsc-akzent-text: #5fd3ab;
    --wsc-akzent-weich: rgba(60, 198, 154, .14);
    --wsc-auf-akzent: #06231b;
    --wsc-fehler: #f97066;
    --wsc-fehler-weich: rgba(249, 112, 102, .1);
    --wsc-schatten: 0, 0, 0;
    --wsc-schatten-staerke: 1.8;
    --wsc-bildfilter: brightness(.9);
    --wsc-icon-mond: none;
    --wsc-icon-sonne: inline-block;
    --wsc-kopf-a: rgba(92, 200, 230, .1);
    --wsc-kopf-b: rgba(141, 198, 63, .08);
    --wsc-bogen-deckkraft: .12;
    --wsc-logo-flaeche: #fff;
  }
}

/* ══ Grundlagen ════════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--wsc-bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--wsc-bg);
  color: var(--wsc-text);
  font-family: var(--wsc-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
picture { display: contents; }
a { color: var(--wsc-akzent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--wsc-akzent-hover); }
:focus-visible { outline: 3px solid var(--wsc-akzent-text); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--wsc-serif); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
address { font-style: normal; }
/* hidden muss immer gewinnen — sonst überstimmt z. B. ein display:flex am Element die Browser-
   Regel, und per JavaScript ausgeblendete Hinweise (Rechner, data-ansicht) blieben sichtbar. */
[hidden] { display: none !important; }
::selection { background: rgba(92, 200, 230, .35); }

.wsc-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wsc-skip {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  padding: 10px 16px; border-radius: 8px;
  background: var(--wsc-akzent); color: var(--wsc-auf-akzent); font-weight: 600; text-decoration: none;
}
.wsc-skip:focus { top: 12px; color: var(--wsc-auf-akzent); }

.wsc-icon { flex-shrink: 0; vertical-align: middle; }

/* <main> wächst, damit die Fußzeile auf kurzen Seiten unten steht; darin optional das Kopfband
   (volle Breite) und der Inhaltscontainer .wsc-haupt. 500.html nutzt .wsc-haupt direkt als <main>. */
.wsc-main { flex: 1 0 auto; }
.wsc-haupt {
  flex: 1 0 auto;
  width: 100%;
  max-width: calc(var(--wsc-breite) + 2 * var(--wsc-rand));
  margin: 0 auto;
  padding: 0 var(--wsc-rand) clamp(56px, 8vw, 96px);
}

/* ══ Kopfzeile ═════════════════════════════════════════════════════════════════════════════ */
/* Höhe der angehefteten Kopfzeile (Linie 3 + Zeile 72 + Rand 1) — darunter rasten mitlaufende
   Elemente ein (Sprungleiste, Praxishilfen-Box). Schmale Handys: siehe unten (68 px). */
:root { --wsc-kopf-hoehe: 76px; }
.wsc-kopf {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--wsc-surface) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--wsc-border);
}
/* Feine Logo-Verlaufslinie als oberer Abschluss — die einzige Stelle, an der der Verlauf
   flächig auftaucht, abgesehen vom Logo selbst. */
.wsc-kopf::before { content: ""; display: block; height: 3px; background: var(--wsc-verlauf); }
.wsc-kopf-innen {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px;
  max-width: calc(var(--wsc-breite) + 2 * var(--wsc-rand));
  margin: 0 auto;
  padding: 10px var(--wsc-rand);
  min-height: 72px;
}
.wsc-marke { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--wsc-text); min-width: 0; }
.wsc-marke:hover { color: var(--wsc-text); }
.wsc-marke-logo { display: block; width: auto; height: 44px; }
.wsc-marke-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.wsc-marke-name { font-family: var(--wsc-serif); font-weight: 620; font-size: 1.08rem; letter-spacing: -.01em; white-space: nowrap; }
.wsc-marke-slogan { font-size: .8rem; color: var(--wsc-text-subtle); white-space: nowrap; }

.wsc-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.wsc-nav a {
  position: relative;
  padding: 8px 12px; border-radius: 8px;
  color: var(--wsc-text-muted); font-size: .95rem; font-weight: 500; text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.wsc-nav a:hover { color: var(--wsc-text); background: var(--wsc-akzent-weich); }
.wsc-nav a[aria-current="page"] { color: var(--wsc-text); }
.wsc-nav a[aria-current="page"]:not(.wsc-nav-kontakt)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--wsc-verlauf);
}
.wsc-nav a.wsc-nav-kontakt {
  margin-left: 6px; padding: 9px 18px; border-radius: 999px;
  background: var(--wsc-akzent); color: var(--wsc-auf-akzent); font-weight: 600;
}
.wsc-nav a.wsc-nav-kontakt:hover { background: var(--wsc-akzent-hover); color: var(--wsc-auf-akzent); }
.wsc-nav a.wsc-nav-kontakt[aria-current="page"] { box-shadow: 0 0 0 3px var(--wsc-akzent-weich); }

.wsc-theme-knopf {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-left: 4px; padding: 0;
  border: 1px solid var(--wsc-border); border-radius: 999px; background: transparent;
  color: var(--wsc-text-muted); cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.wsc-theme-knopf:hover { color: var(--wsc-akzent-text); border-color: var(--wsc-akzent-text); }
.wsc-theme-knopf .wsc-icon-mond { display: var(--wsc-icon-mond); }
.wsc-theme-knopf .wsc-icon-sonne { display: var(--wsc-icon-sonne); }
html:not(.js) .wsc-theme-knopf { display: none; }

.wsc-nav-knopf {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--wsc-border); border-radius: 10px;
  background: transparent; color: var(--wsc-text); cursor: pointer;
}
.wsc-nav-knopf-linien, .wsc-nav-knopf-linien::before, .wsc-nav-knopf-linien::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.wsc-nav-knopf-linien { position: relative; }
.wsc-nav-knopf-linien::before, .wsc-nav-knopf-linien::after { content: ""; position: absolute; left: 0; }
.wsc-nav-knopf-linien::before { top: -6px; }
.wsc-nav-knopf-linien::after { top: 6px; }
.wsc-nav-knopf[aria-expanded="true"] .wsc-nav-knopf-linien { background: transparent; }
.wsc-nav-knopf[aria-expanded="true"] .wsc-nav-knopf-linien::before { transform: translateY(6px) rotate(45deg); }
.wsc-nav-knopf[aria-expanded="true"] .wsc-nav-knopf-linien::after { transform: translateY(-6px) rotate(-45deg); }

/* Unter 1100 px: Burger-Menü — fünf Menüpunkte plus Kontakt passen erst ab dieser Breite in eine
   Zeile. Nur mit JavaScript; ohne bleibt die Navigation als umbrechende Zeile unter der Marke
   sichtbar (siehe theme.js). */
@media (max-width: 1099px) {
  .wsc-nav { flex-basis: 100%; }
  .js .wsc-nav-knopf { display: inline-flex; }
  .js .wsc-nav {
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 8px 0 12px; border-top: 1px solid var(--wsc-border);
  }
  .js .wsc-nav.offen { display: flex; }
  .js .wsc-nav a { padding: 12px 8px; font-size: 1.05rem; }
  .js .wsc-nav a[aria-current="page"]:not(.wsc-nav-kontakt)::after { left: 8px; right: auto; width: 32px; bottom: 6px; }
  .js .wsc-nav a.wsc-nav-kontakt { margin: 8px 0 0; text-align: center; }
  .js .wsc-theme-knopf { margin: 8px 0 0; align-self: flex-start; }
}
/* Schmale Handys: Marke + Burger müssen in eine Zeile passen (sonst rutscht der Knopf darunter). */
@media (max-width: 480px) {
  :root { --wsc-kopf-hoehe: 68px; }
  .wsc-kopf-innen { gap: 8px 12px; min-height: 64px; flex-wrap: wrap; }
  .wsc-marke { gap: 10px; flex: 1 1 0; }
  .wsc-marke-logo { height: 36px; }
  /* Darf auf sehr schmalen Geräten zweizeilig werden — besser als ein abgeschnittener Name. */
  .wsc-marke-name { font-size: 1rem; white-space: normal; }
  .wsc-marke-slogan { display: none; }
}

/* ══ Bausteine ═════════════════════════════════════════════════════════════════════════════ */
.wsc-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
  font-size: .78rem; font-weight: 700; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wsc-text-subtle);
}
.wsc-eyebrow::before {
  content: ""; flex-shrink: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--wsc-verlauf);
}

.wsc-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--wsc-akzent); color: var(--wsc-auf-akzent);
  font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.2; text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(var(--wsc-schatten), calc(.15 * var(--wsc-schatten-staerke))),
              0 8px 20px -10px rgba(10, 122, 98, .6);
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.wsc-knopf:hover { background: var(--wsc-akzent-hover); color: var(--wsc-auf-akzent); transform: translateY(-1px); }
.wsc-knopf:active { transform: translateY(1px); }
.wsc-knopf .wsc-icon-pfeil { transition: transform .15s ease; }
.wsc-knopf:hover .wsc-icon-pfeil { transform: translateX(3px); }
.wsc-knopf-zweit {
  background: transparent; color: var(--wsc-akzent-text);
  box-shadow: inset 0 0 0 1.5px var(--wsc-akzent-text);
}
.wsc-knopf-zweit:hover { background: var(--wsc-akzent-weich); color: var(--wsc-akzent-hover); }

.wsc-zweitlink {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px;
  color: var(--wsc-text-muted); text-decoration: none; font-weight: 500;
}
.wsc-zweitlink span {
  color: var(--wsc-text); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--wsc-border-stark);
  text-underline-offset: 6px; transition: color .15s ease, text-decoration-color .15s ease;
}
.wsc-zweitlink:hover span { color: var(--wsc-akzent-text); text-decoration-color: currentColor; }

.wsc-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.wsc-aktionen-mitte { justify-content: center; }

.wsc-karte {
  background: var(--wsc-surface);
  border: 1px solid var(--wsc-border);
  border-radius: var(--wsc-radius);
  padding: clamp(20px, 3.5vw, 32px);
  box-shadow: 0 1px 2px rgba(var(--wsc-schatten), calc(.04 * var(--wsc-schatten-staerke))),
              0 12px 32px -20px rgba(var(--wsc-schatten), calc(.25 * var(--wsc-schatten-staerke)));
}
.wsc-karte-titel { font-size: 1.35rem; margin-bottom: 18px; }

/* Bildfläche: die Illustrationen der alten Seite haben teils weiße, teils transparente
   Hintergründe — auf einer immer weißen Kachel sehen alle gleich aus. Im Dunkelmodus dimmt
   --wsc-bildfilter die ganze Kachel samt Bild gleichmäßig, statt eine grelle Fläche zu zeigen. */
.wsc-bildflaeche {
  display: flex; align-items: center; justify-content: center;
  background: var(--wsc-bildflaeche);
  border-radius: calc(var(--wsc-radius) - 4px);
  filter: var(--wsc-bildfilter);
  overflow: hidden;
}
.wsc-bildflaeche img { display: block; width: 100%; height: 100%; object-fit: contain; }

.wsc-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wsc-liste li { display: flex; gap: 12px; align-items: flex-start; color: var(--wsc-text-muted); }
.wsc-liste .wsc-icon { margin-top: 3px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--wsc-akzent-weich); color: var(--wsc-akzent-text); stroke-width: 2.4; }

.wsc-abschnitt { margin-top: clamp(64px, 9vw, 112px); }
.wsc-abschnitt-kopf { max-width: 44em; margin-bottom: clamp(24px, 4vw, 40px); }
.wsc-abschnitt-titel { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.4rem); }

/* ══ Startseite: Hero ══════════════════════════════════════════════════════════════════════ */
.wsc-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding-top: clamp(40px, 7vw, 88px);
}
.wsc-hero-text { max-width: 38em; }
.wsc-hero-titel {
  font-size: clamp(2.1rem, 1.25rem + 4.6vw, 4.4rem);  /* „Gesundheitsschutz“ muss ab 360 px ungetrennt passen */
  line-height: 1.02;
  letter-spacing: -.03em;
  font-variation-settings: "wght" 620;
}
.wsc-hero-lede {
  margin: 24px 0 32px;
  max-width: 34em;
  font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem);
  line-height: 1.6;
  color: var(--wsc-text-muted);
}
.wsc-hero-portrait { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; position: relative; }
/* Weicher Lichthof in den Logofarben hinter dem Portrait. Horizontal erst zweispaltig über die
   Figur hinaus — einspaltig füllt sie die volle Breite, ein Überstand gäbe seitliches Scrollen. */
.wsc-hero-portrait::before {
  content: ""; position: absolute; z-index: -1; inset: -12% 0 10%;
  background:
    radial-gradient(closest-side at 35% 45%, rgba(92, 200, 230, .28), transparent),
    radial-gradient(closest-side at 68% 55%, rgba(141, 198, 63, .26), transparent);
  pointer-events: none;
}
.wsc-portrait-rahmen {
  width: min(52vw, 240px); aspect-ratio: 1;
  padding: 6px; border-radius: 50%;
  background: var(--wsc-verlauf);
  box-shadow: 0 24px 50px -24px rgba(var(--wsc-schatten), calc(.45 * var(--wsc-schatten-staerke)));
}
.wsc-portrait-rahmen-klein { width: min(56vw, 220px); }
.wsc-portrait { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--wsc-surface-2); border: 4px solid var(--wsc-surface); }
.wsc-hero-name { text-align: center; line-height: 1.35; }
.wsc-hero-name strong { display: block; font-family: var(--wsc-serif); font-size: 1.2rem; font-weight: 600; }
.wsc-hero-name span { font-size: .9rem; color: var(--wsc-text-subtle); }

@media (min-width: 900px) {
  .wsc-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 88px); }
  .wsc-hero-portrait::before { inset: -12% -8% 10%; }
  /* Zweispaltig bemisst sich der Titel an der schmaleren Textspalte neben dem Portrait. */
  .wsc-hero-titel { font-size: clamp(2.6rem, 1rem + 3.6vw, 4.4rem); }
}

/* ── Zitat ── */
.wsc-zitat {
  position: relative;
  margin: clamp(64px, 9vw, 112px) auto 0;
  max-width: 880px;
  padding: 0 0 0 clamp(20px, 4vw, 40px);
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, #5cc8e6, #8dc63f) 1;
}
.wsc-zitat blockquote { margin: 0; }
.wsc-zitat p {
  margin: 0;
  font-family: var(--wsc-serif);
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem);
  font-style: italic;
  font-weight: 420;
  line-height: 1.45;
  color: var(--wsc-text);
}
.wsc-zitat p::before { content: "„"; }
.wsc-zitat p::after { content: "“"; }
.wsc-zitat figcaption { margin-top: 14px; font-size: .95rem; color: var(--wsc-text-subtle); }
.wsc-zitat figcaption::before { content: "— "; }

/* ── Leistungskacheln ── */
/* Feste Spaltenzahlen statt auto-fill, damit die Reihen planbar aufgehen. Eine übrig bleibende
   letzte Kachel geht über die volle Breite (siehe unten). */
.wsc-kacheln {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
}
@media (min-width: 540px) { .wsc-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .wsc-kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.wsc-kachel {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 12px 12px 18px;
  background: var(--wsc-surface);
  border: 1px solid var(--wsc-border);
  border-radius: var(--wsc-radius);
  color: var(--wsc-text); text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.wsc-kachel:hover {
  color: var(--wsc-text);
  transform: translateY(-3px);
  border-color: var(--wsc-border-stark);
  box-shadow: 0 18px 36px -22px rgba(var(--wsc-schatten), calc(.4 * var(--wsc-schatten-staerke)));
}
.wsc-kachel .wsc-bildflaeche { aspect-ratio: 16 / 10; padding: 14px; }
/* Die Illustration zoomt beim Überfahren leicht mit ("scale" statt transform — der Hub der
   Kachel selbst läuft über transform). Die Bildfläche schneidet den Rand ab. */
.wsc-kachel .wsc-bildflaeche img { transition: scale .35s cubic-bezier(.2, .7, .2, 1); }
.wsc-kachel:is(:hover, :focus-visible) .wsc-bildflaeche img { scale: 1.06; }
.wsc-kachel-titel { display: block; margin: 16px 40px 0 6px; font-family: var(--wsc-serif); font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
.wsc-kachel-pfeil {
  position: absolute; right: 16px; bottom: 16px;
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--wsc-akzent-weich); color: var(--wsc-akzent-text);
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.wsc-kachel-pfeil .wsc-icon { width: 16px; height: 16px; }
.wsc-kachel:hover .wsc-kachel-pfeil { transform: translateX(3px); background: var(--wsc-akzent); color: var(--wsc-auf-akzent); }
.wsc-kachel-text { display: block; }
.wsc-kachel-zusatz { display: none; }
/* Bleibt bei drei Spalten in der letzten Reihe eine einzelne Kachel übrig (z.B. zehn
   Leistungen), geht sie über die volle Breite statt verloren in der ersten Spalte zu stehen:
   Bild links in exakt derselben Größe wie in den übrigen Kacheln, daneben Titel und Zusatz
   (Untertitel/Preis). Die Bildbreite rechnet von der Kachel-Innenbreite (100 %) über
   Innenabstand + Rand (26 px) und die zwei Spaltenlücken (2 × 20 px) auf eine Spalte zurück. */
@media (min-width: 900px) {
  .wsc-kacheln > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .wsc-kacheln > li:last-child:nth-child(3n+1) .wsc-kachel { flex-direction: row; align-items: center; gap: 28px; padding-bottom: 12px; }
  .wsc-kacheln > li:last-child:nth-child(3n+1) .wsc-bildflaeche { flex: 0 0 calc((100% - 14px) / 3 - 26px); }
  .wsc-kacheln > li:last-child:nth-child(3n+1) .wsc-kachel-text { flex: 1; padding-right: 64px; }
  .wsc-kacheln > li:last-child:nth-child(3n+1) .wsc-kachel-titel { margin: 0; font-size: 1.4rem; }
  .wsc-kacheln > li:last-child:nth-child(3n+1) .wsc-kachel-zusatz { display: block; margin-top: 8px; color: var(--wsc-text-muted); }
  .wsc-kacheln > li:last-child:nth-child(3n+1) .wsc-kachel-zusatz strong { color: var(--wsc-akzent-text); }
  .wsc-kacheln > li:last-child:nth-child(3n+1) .wsc-kachel-pfeil { bottom: auto; top: 50%; margin-top: -15px; }
}

/* ── Fakten / Vertrauensleiste ── */
.wsc-fakten {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
}
/* Bewusst ohne Kasten: Zahl und Logos stehen direkt auf dem Seitenhintergrund. */
.wsc-fakt {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 96px; padding: 8px 0;
  text-align: left;
}
.wsc-fakt-zahl { font-family: var(--wsc-serif); font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--wsc-akzent-text); white-space: nowrap; }
.wsc-fakt-text { color: var(--wsc-text-muted); font-size: .95rem; line-height: 1.45; max-width: 16em; }
/* Im Hellen ohne Unterlage (VDSI-Logo ist freigestellt). Nur im Dunkelmodus eine weiße Fläche
   (--wsc-logo-flaeche), sonst verschwände der dunkelgraue VDSI-Schriftzug — gedimmt wie die
   Bildfläche. */
.wsc-fakt-logo { display: block; width: auto; background: var(--wsc-logo-flaeche); border-radius: 8px; filter: var(--wsc-bildfilter); }
.wsc-fakt-logo-vdsi { height: 88px; padding: 8px 12px; }
.wsc-fakt-logo-exali { height: 72px; padding: 4px; }
@media (min-width: 760px) {
  .wsc-fakten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── Box „Praxishilfen“ auf der Startseite: Text links, Liste der Hilfen rechts ── */
.wsc-teaser {
  /* clip statt hidden: schneidet die Verlaufslinie an den Ecken ab, ohne einen Scroll-Container
     zu bilden — sonst könnte der Text darin nicht mitlaufen (sticky, siehe unten). */
  position: relative; overflow: hidden; overflow: clip;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 56px; align-items: center;
  padding: clamp(24px, 4.5vw, 44px);
  background: var(--wsc-surface); border: 1px solid var(--wsc-border); border-radius: var(--wsc-radius);
}
.wsc-teaser-lede { margin: 16px 0 26px; max-width: 34em; color: var(--wsc-text-muted); }
.wsc-teaser-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wsc-teaser-liste a {
  display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px;
  border-radius: 12px; color: var(--wsc-text); text-decoration: none;
  transition: background-color .15s ease;
}
.wsc-teaser-liste a:hover { background: var(--wsc-akzent-weich); color: var(--wsc-text); }
.wsc-teaser-liste-icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 12px; background: var(--wsc-akzent-weich); color: var(--wsc-akzent-text);
}
.wsc-teaser-liste-text { display: grid; gap: 2px; }
.wsc-teaser-liste-text strong { font-family: var(--wsc-serif); font-size: 1.05rem; font-weight: 600; }
.wsc-teaser-liste-text span { color: var(--wsc-text-muted); font-size: .92rem; line-height: 1.45; }
/* Nebeneinander ist die Liste deutlich höher als der Text: Der Text steht oben und läuft beim
   Scrollen unter der Kopfzeile mit, statt mittig vor einer leeren Fläche zu stehen. */
@media (min-width: 900px) {
  .wsc-teaser { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: start; }
  .wsc-teaser-text { position: sticky; top: calc(var(--wsc-kopf-hoehe) + 32px); }
}

/* ── Kontakt-Band ── */
.wsc-band {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center;
  margin-top: clamp(64px, 9vw, 112px);
  padding: clamp(28px, 5vw, 52px);
  border-radius: calc(var(--wsc-radius) + 6px);
  background: var(--wsc-band);
  color: #fff;
  box-shadow: 0 30px 60px -36px rgba(11, 79, 69, .8);
}
.wsc-band-titel { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.2rem); color: #fff; }
.wsc-band-text p { margin: 10px 0 0; color: rgba(255, 255, 255, .88); font-size: 1.08rem; }
.wsc-band-aktionen { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.wsc-band .wsc-knopf { background: #fff; color: #0a5c4b; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.wsc-band .wsc-knopf:hover { background: #effaf6; color: #07493c; }
.wsc-band .wsc-knopf:focus-visible, .wsc-band-direkt:focus-visible { outline-color: #fff; }
.wsc-band-direkt {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px;
  color: #fff; text-decoration: none; font-weight: 500; overflow-wrap: anywhere;
}
.wsc-band-direkt:hover { color: #fff; text-decoration: underline; }
.wsc-band-direkt .wsc-icon { opacity: .85; }
@media (min-width: 900px) {
  .wsc-band { grid-template-columns: minmax(0, 1.2fr) auto; gap: 48px; }
}

/* ══ Gestaltete Seitenköpfe ════════════════════════════════════════════════════════════════
   Band über die volle Fensterbreite (Block "kopfband" in wsc/base.html, außerhalb von
   .wsc-haupt): zarter Verlauf in den Logofarben, darüber der Blatt-Bogen aus dem Logo
   (img/logo-bogen.svg) als großes, blasses Wasserzeichen. overflow:hidden schneidet den rechts
   überstehenden Bogen ab — so entsteht kein seitliches Scrollen. */
.wsc-kopfband {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(110% 130% at 0% 0%, var(--wsc-kopf-a), transparent 62%),
    radial-gradient(90% 120% at 100% 100%, var(--wsc-kopf-b), transparent 58%),
    var(--wsc-bg);
  border-bottom: 1px solid var(--wsc-border);
}
.wsc-kopfband::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 50%; right: max(-180px, -10vw);
  width: clamp(300px, 46vw, 620px); aspect-ratio: 1;
  translate: 0 -46%;
  background: url("../img/logo-bogen.14eb78d15a97.svg") center / contain no-repeat;
  opacity: var(--wsc-bogen-deckkraft);
}
.wsc-kopfband-innen {
  max-width: calc(var(--wsc-breite) + 2 * var(--wsc-rand));
  margin: 0 auto;
  padding: 0 var(--wsc-rand);
}

/* ══ Unterseiten ═══════════════════════════════════════════════════════════════════════════ */
.wsc-seitenkopf { max-width: 46em; padding: clamp(40px, 7vw, 80px) 0 clamp(40px, 6vw, 72px); }
.wsc-seitentitel { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.25rem); line-height: 1.06; letter-spacing: -.025em; }
.wsc-seiten-lede { margin: 20px 0 0; font-size: clamp(1.06rem, 1rem + .25vw, 1.2rem); line-height: 1.6; color: var(--wsc-text-muted); }

/* ── Leistungen ── */
/* Die Sprungleiste läuft unter der Kopfzeile mit (bis zum Ende der Leistungen, siehe
   .wsc-leistungen-bereich): eine Zeile, auf schmalen Schirmen seitlich wischbar. wsc.js markiert
   den Abschnitt, der gerade oben steht (aria-current), schiebt dessen Marke ins Bild, blendet
   abgeschnittene Ränder aus (.mehr-links/.mehr-rechts) und setzt .angeheftet für die Unterkante. */
.wsc-sprungmarken {
  position: sticky; top: var(--wsc-kopf-hoehe); z-index: 90;
  margin: 22px calc(-1 * var(--wsc-rand)) 0; padding: 10px var(--wsc-rand);
  background: color-mix(in srgb, var(--wsc-bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.wsc-sprungmarken.angeheftet { border-bottom-color: var(--wsc-border); }
.wsc-sprungmarken ul {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 8px;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin;
}
@media (pointer: coarse) { .wsc-sprungmarken ul { scrollbar-width: none; } }
.wsc-sprungmarken ul.mehr-rechts { -webkit-mask: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.wsc-sprungmarken ul.mehr-links { -webkit-mask: linear-gradient(90deg, transparent, #000 56px); mask: linear-gradient(90deg, transparent, #000 56px); }
.wsc-sprungmarken ul.mehr-links.mehr-rechts {
  -webkit-mask: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent);
  mask: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent);
}
.wsc-sprungmarken li { flex-shrink: 0; }
.wsc-sprungmarken a {
  display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px;
  border: 1px solid var(--wsc-border); border-radius: 999px; background: var(--wsc-surface);
  color: var(--wsc-text-muted); font-size: .9rem; white-space: nowrap; text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.wsc-sprungmarken a:hover { border-color: var(--wsc-akzent-text); color: var(--wsc-akzent-text); background: var(--wsc-akzent-weich); }
.wsc-sprungmarken a[aria-current] { border-color: var(--wsc-akzent); background: var(--wsc-akzent); color: var(--wsc-auf-akzent); }

.wsc-leistungen { display: grid; gap: 20px; margin-top: clamp(32px, 5vw, 56px); }
.wsc-leistung {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 36px;
  padding: clamp(20px, 3.5vw, 36px);
  background: var(--wsc-surface); border: 1px solid var(--wsc-border); border-radius: var(--wsc-radius);
  /* Zählt zu scroll-padding-top am html (96 px) hinzu: Ein Sprung landet so knapp unter
     Kopfzeile und mitlaufender Sprungleiste (76 + 59 px). */
  scroll-margin-top: 56px;
}
.wsc-leistung:target { border-color: var(--wsc-akzent-text); box-shadow: 0 0 0 3px var(--wsc-akzent-weich); }
.wsc-leistung-bild { width: 160px; aspect-ratio: 1; padding: 12px; border: 1px solid var(--wsc-border); }
.wsc-leistung-titel { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); margin-bottom: 14px; }
.wsc-leistung-untertitel {
  display: block; margin-top: 6px;
  font-family: var(--wsc-sans); font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--wsc-text-subtle);
}
.wsc-leistung-text > p { color: var(--wsc-text-muted); max-width: 46em; }
.wsc-leistung-einleitung { font-weight: 600; color: var(--wsc-text) !important; margin-bottom: 12px; }
.wsc-preis {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  margin: 20px 0 0; padding: 12px 18px;
  border-radius: 12px; background: var(--wsc-akzent-weich);
}
.wsc-preis strong { font-family: var(--wsc-serif); font-size: 1.6rem; font-weight: 600; color: var(--wsc-akzent-text); }
.wsc-preis span { color: var(--wsc-text-muted); font-size: .95rem; }
.wsc-leistung-verweis { gap: 8px; margin-top: 14px; }
.wsc-leistung-verweis .wsc-icon { width: 18px; height: 18px; color: var(--wsc-akzent-text); }
@media (min-width: 760px) {
  .wsc-leistung { grid-template-columns: 220px minmax(0, 1fr); }
  .wsc-leistung-bild { width: 100%; }
}

/* ── Managementsysteme ── */
.wsc-partner { margin-top: clamp(40px, 6vw, 64px); }
.wsc-partner-karte {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 44px; align-items: start;
  padding: clamp(20px, 3.5vw, 36px);
  background: var(--wsc-surface); border: 1px solid var(--wsc-border); border-radius: var(--wsc-radius);
}
.wsc-partner-logo { padding: 20px 24px; border: 1px solid var(--wsc-border); }
.wsc-partner-text .wsc-liste { margin-bottom: 28px; }
@media (min-width: 860px) {
  .wsc-partner-karte { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}

/* ── Aushangpflichtige Gesetze (Daten aus WSC.aushang) ── */
/* Verzeichnis statt Kacheln: Kürzel links wie ein Registereintrag, darüber auf schmalen Handys,
   damit lange Namen ("Arbeitsmedizinische …") nicht in eine 140-px-Spalte gequetscht werden. */
.wsc-aushang { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: clamp(32px, 5vw, 56px); }
.wsc-aushang-gruppe {
  position: relative; overflow: hidden;
  padding: 26px clamp(8px, 2vw, 14px) 10px;
  background: var(--wsc-surface); border: 1px solid var(--wsc-border); border-radius: var(--wsc-radius);
}
.wsc-aushang-titel { margin: 0 12px 10px; font-size: 1.25rem; }
.wsc-aushang-liste { list-style: none; margin: 0; padding: 0; }
.wsc-aushang-liste li { padding: 3px 0; }
.wsc-aushang-liste li + li { border-top: 1px solid var(--wsc-border); }
.wsc-vorschrift {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kuerzel icon" "text text";
  gap: 2px 14px; align-items: start;
  padding: 10px 12px; border-radius: 10px;
  color: var(--wsc-text); text-decoration: none;
  transition: background-color .15s ease;
}
.wsc-vorschrift:hover { color: var(--wsc-text); background: var(--wsc-akzent-weich); }
.wsc-vorschrift-kuerzel {
  grid-area: kuerzel;
  font-family: var(--wsc-serif); font-size: 1.05rem; font-weight: 640; line-height: 1.35; letter-spacing: -.01em;
  color: var(--wsc-akzent-text);
}
.wsc-vorschrift-text { grid-area: text; }
.wsc-vorschrift-name { display: block; font-weight: 600; line-height: 1.35; hyphens: auto; }
.wsc-vorschrift-worum { display: block; margin-top: 2px; font-size: .92rem; line-height: 1.45; color: var(--wsc-text-muted); }
.wsc-vorschrift .wsc-icon-extern {
  grid-area: icon; width: 18px; height: 18px; margin-top: 3px;
  color: var(--wsc-text-subtle); transition: color .15s ease, transform .15s ease;
}
.wsc-vorschrift:hover .wsc-icon-extern { color: var(--wsc-akzent-text); transform: translate(2px, -2px); }
.wsc-aushang-hinweis { margin: 20px 0 0; max-width: 60em; font-size: .9rem; color: var(--wsc-text-subtle); }
@media (min-width: 480px) {
  .wsc-vorschrift { grid-template-columns: 6.2rem minmax(0, 1fr) auto; grid-template-areas: "kuerzel text icon"; }
}
@media (min-width: 900px) {
  .wsc-aushang { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Profil ── */
.wsc-profil-kopf {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 64px; align-items: center;
  padding: clamp(40px, 7vw, 80px) 0 clamp(40px, 6vw, 72px);
}
.wsc-profil-text > p:not(.wsc-seiten-lede):not(.wsc-eyebrow) { margin-top: 18px; color: var(--wsc-text-muted); max-width: 40em; }
.wsc-qualifikationen { margin-top: clamp(32px, 5vw, 48px); max-width: 46em; }
/* Einspaltig steht das Portrait über dem Text (order), zweispaltig rechts daneben im Kopfband. */
.wsc-profil-portrait { order: -1; margin: 0; display: flex; justify-content: center; }
.wsc-profil-portrait .wsc-portrait-rahmen { width: min(56vw, 220px); }
@media (min-width: 900px) {
  .wsc-profil-kopf { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
  .wsc-profil-portrait { order: 0; }
  .wsc-profil-portrait .wsc-portrait-rahmen { width: min(100%, 280px); }
}
.wsc-gruende { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.wsc-grund {
  position: relative; overflow: hidden;
  padding: 28px 26px 22px;
  background: var(--wsc-surface); border: 1px solid var(--wsc-border); border-radius: var(--wsc-radius);
}
/* Logo-Verlauf als obere Kante — auch für Teaser und Aushang-Gruppen (gleicher Kartenaufbau). */
.wsc-grund::before, .wsc-teaser::before, .wsc-aushang-gruppe::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--wsc-verlauf);
}
.wsc-grund h3 { font-size: 1.2rem; margin-bottom: 10px; }
.wsc-grund p { color: var(--wsc-text-muted); margin-bottom: .6em; }
.wsc-grund p:last-child { margin-bottom: 0; }
.wsc-grund-liste { margin: 0; padding-left: 1.2em; color: var(--wsc-text-muted); display: grid; gap: 6px; }

/* ── Kontakt ── */
.wsc-kontakt {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start;
  margin-top: clamp(32px, 5vw, 56px);
}
.wsc-kontakt-wege { display: grid; gap: 12px; }
.wsc-kontakt-weg {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px;
  background: var(--wsc-surface); border: 1px solid var(--wsc-border); border-radius: var(--wsc-radius);
  color: var(--wsc-text); text-decoration: none; overflow-wrap: anywhere;
  transition: border-color .15s ease;
}
a.wsc-kontakt-weg:hover { color: var(--wsc-text); border-color: var(--wsc-akzent-text); }
.wsc-kontakt-icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px; background: var(--wsc-akzent-weich); color: var(--wsc-akzent-text);
}
.wsc-kontakt-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wsc-text-subtle); margin-bottom: 2px; }
@media (min-width: 900px) {
  .wsc-kontakt { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; }
}

.wsc-formular { display: grid; gap: 18px; }
.wsc-formular .wsc-karte-titel { margin-bottom: 0; }
.wsc-feld { display: grid; gap: 6px; }
.wsc-feld label { font-weight: 600; font-size: .92rem; color: var(--wsc-text-muted); }
.wsc-pflicht { color: var(--wsc-akzent-text); }
.wsc-feld input[type="text"], .wsc-feld input[type="email"], .wsc-feld textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--wsc-border-stark); border-radius: 10px;
  background: var(--wsc-bg); color: var(--wsc-text);
  font: inherit; font-size: 1rem; line-height: 1.5;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.wsc-feld textarea { resize: vertical; min-height: 150px; }
.wsc-feld input:focus, .wsc-feld textarea:focus { outline: none; border-color: var(--wsc-akzent-text); box-shadow: 0 0 0 4px var(--wsc-akzent-weich); }
.wsc-feld.hat-fehler input, .wsc-feld.hat-fehler textarea { border-color: var(--wsc-fehler); }
.wsc-feld-fehler { margin: 0; color: var(--wsc-fehler); font-size: .9rem; font-weight: 500; }
.wsc-feld-haken { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: start; }
.wsc-feld-haken input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--wsc-akzent); }
.wsc-feld-haken label { font-weight: 400; font-size: .92rem; line-height: 1.5; }
.wsc-feld-haken .wsc-feld-fehler { grid-column: 2; }
.wsc-formular-fehler { padding: 12px 16px; border-radius: 10px; background: var(--wsc-fehler-weich); color: var(--wsc-fehler); font-weight: 500; }
.wsc-formular-fehler p { margin: 0; }
.wsc-formular-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 4px; }
.wsc-formular-hinweis { margin: 0; font-size: .85rem; color: var(--wsc-text-subtle); }
/* Honeypot (siehe WSC.forms.KontaktForm.webseite) — aus dem sichtbaren Bereich geschoben statt
   display:none, weil manche Bots versteckte Felder gezielt auslassen. */
.wsc-honig { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ── Rechtstexte (Impressum/Datenschutz) ── */
.wsc-rechtstext { max-width: 820px; margin: clamp(32px, 6vw, 64px) auto 0; }
.wsc-rechtstext .wsc-seitentitel { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); }
.wsc-rechtstext-stand { margin: 8px 0 28px; color: var(--wsc-text-subtle); font-size: .92rem; }
.wsc-rechtstext h2 { font-size: 1.22rem; margin: 30px 0 10px; }
.wsc-rechtstext p, .wsc-rechtstext li { color: var(--wsc-text-muted); overflow-wrap: anywhere; }
.wsc-rechtstext ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 0 0 1em; }
.wsc-rechtstext-fuss { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--wsc-border); font-size: .95rem; }

/* ── Meldungen (Danke, 404, 500) ── */
.wsc-meldung { max-width: 680px; margin: 0 auto; padding-top: clamp(56px, 10vw, 120px); text-align: center; }
.wsc-meldung .wsc-eyebrow { justify-content: center; }
.wsc-meldung .wsc-aktionen { margin-top: 32px; }
.wsc-meldung-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 24px; border-radius: 50%;
  background: var(--wsc-akzent-weich); color: var(--wsc-akzent-text);
}
.wsc-meldung-icon .wsc-icon { width: 32px; height: 32px; stroke-width: 2.2; }
/* Danke-Seite: Verlaufsring um das Häkchen, beginnt oben (Animation siehe „Danke-Seite“ unten). */
.wsc-meldung-erfolg { position: relative; margin-top: 4px; }
.wsc-meldung-ring { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); rotate: -90deg; }

/* ══ Fußzeile ══════════════════════════════════════════════════════════════════════════════ */
.wsc-fuss { margin-top: auto; background: var(--wsc-surface-2); border-top: 1px solid var(--wsc-border); font-size: .95rem; }
.wsc-fuss-innen {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px;
  max-width: calc(var(--wsc-breite) + 2 * var(--wsc-rand));
  margin: 0 auto; padding: 48px var(--wsc-rand) 36px;
}
.wsc-fuss-marke img { display: block; width: 92px; height: auto; margin-bottom: 14px; }
.wsc-fuss-marke p { margin: 0 0 8px; color: var(--wsc-text-muted); }
.wsc-fuss-klein { font-size: .88rem; color: var(--wsc-text-subtle) !important; max-width: 26em; }
.wsc-fuss-titel { font-family: var(--wsc-sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wsc-text-subtle); margin-bottom: 12px; }
.wsc-fuss-adresse { color: var(--wsc-text-muted); line-height: 1.8; overflow-wrap: anywhere; }
.wsc-fuss a { color: var(--wsc-text-muted); text-decoration: none; }
.wsc-fuss a:hover { color: var(--wsc-akzent-text); text-decoration: underline; }
.wsc-fuss-titel a { color: inherit; }
.wsc-fuss-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; line-height: 1.8; }
.wsc-fuss-unten {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  max-width: calc(var(--wsc-breite) + 2 * var(--wsc-rand));
  margin: 0 auto; padding: 18px var(--wsc-rand) 28px;
  border-top: 1px solid var(--wsc-border);
  color: var(--wsc-text-subtle); font-size: .88rem;
}
.wsc-fuss-recht { display: flex; gap: 20px; }
@media (min-width: 760px) {
  .wsc-fuss-innen { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); }
}

/* ══ Einsatzzeiten-Rechner (siehe wsc/rechner.html, wsc/js/rechner.js) ═════════════════════ */
.wsc-rechner {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start;
  margin-top: clamp(32px, 5vw, 56px);
}
@media (min-width: 900px) {
  .wsc-rechner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; }
  .wsc-rechner-ergebnis { position: sticky; top: 100px; }
}
.wsc-rechner-eingabe { display: grid; gap: 28px; }
.wsc-rechner-gruppen { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.wsc-rechner-schritt {
  display: flex; align-items: center; gap: 10px; margin: 0 0 6px; padding: 0;
  font-family: var(--wsc-serif); font-size: 1.25rem; font-weight: 600; color: var(--wsc-text);
}
.wsc-rechner-schritt span {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--wsc-akzent-weich); color: var(--wsc-akzent-text);
  font-family: var(--wsc-sans); font-size: .85rem; font-weight: 700;
}
/* Radiobuttons als anklickbare Karten; das echte Input bleibt fokussierbar (nur unsichtbar). */
.wsc-gruppe { position: relative; display: block; cursor: pointer; }
.wsc-gruppe input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.wsc-gruppe-inhalt {
  position: relative; display: grid; gap: 2px;
  padding: 14px 16px 14px 48px;
  border: 1.5px solid var(--wsc-border-stark); border-radius: 12px; background: var(--wsc-bg);
  transition: border-color .15s ease, background-color .15s ease;
}
.wsc-gruppe-inhalt::before {
  content: ""; position: absolute; left: 16px; top: 16px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--wsc-border-stark); background: var(--wsc-surface);
  transition: border-color .15s ease, border-width .15s ease;
}
.wsc-gruppe:hover .wsc-gruppe-inhalt { border-color: var(--wsc-akzent-text); }
.wsc-gruppe input:checked + .wsc-gruppe-inhalt { border-color: var(--wsc-akzent-text); background: var(--wsc-akzent-weich); }
.wsc-gruppe input:checked + .wsc-gruppe-inhalt::before { border-color: var(--wsc-akzent); border-width: 6px; }
.wsc-gruppe input:focus-visible + .wsc-gruppe-inhalt { outline: 3px solid var(--wsc-akzent-text); outline-offset: 2px; }
.wsc-gruppe-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.wsc-gruppe-faktor { font-size: .88rem; font-weight: 600; color: var(--wsc-akzent-text); white-space: nowrap; }
.wsc-gruppe-text { font-size: .92rem; color: var(--wsc-text-muted); }
.wsc-rechner-feld { display: grid; gap: 8px; }
.wsc-rechner-feld input {
  width: min(100%, 220px); padding: 12px 14px;
  border: 1.5px solid var(--wsc-border-stark); border-radius: 10px;
  background: var(--wsc-bg); color: var(--wsc-text);
  font: inherit; font-size: 1.3rem; font-weight: 600;
}
.wsc-rechner-feld input:focus { outline: none; border-color: var(--wsc-akzent-text); box-shadow: 0 0 0 4px var(--wsc-akzent-weich); }
.wsc-rechner-hinweis { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--wsc-text-subtle); }
.wsc-rechner-knopf, .wsc-rechner-anfrage { justify-self: start; }
.wsc-rechner.live .wsc-rechner-knopf { display: none; }  /* mit JavaScript rechnet die Seite live */

.wsc-rechner-ergebnis { display: grid; gap: 18px; }
.wsc-ergebnis-zahl {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 4px 0 0;
  font-family: var(--wsc-serif); font-size: clamp(2.8rem, 2rem + 3vw, 4rem); font-weight: 600;
  line-height: 1; letter-spacing: -.03em; color: var(--wsc-akzent-text); font-variant-numeric: tabular-nums;
}
.wsc-ergebnis-einheit { font-family: var(--wsc-sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--wsc-text-muted); }
.wsc-ergebnis-wort { font-size: .7em; }
.wsc-ergebnis-unter { margin: 8px 0 0; color: var(--wsc-text-muted); }
.wsc-rechner-text { margin: 14px 0 0; color: var(--wsc-text-muted); }
.wsc-rechner-ueblich { margin: 0 0 12px; }  /* übliche Aufteilung direkt unter der Stundenliste */
/* Aufteilungsbalken als SVG — Breiten sind Attribute, keine Inline-Styles (CSP). */
.wsc-aufteilung { display: block; width: 100%; height: 14px; margin-top: 20px; clip-path: inset(0 round 999px); }
.wsc-aufteilung rect { transition: x .25s ease, width .25s ease; }
.wsc-aufteilung-fasi, .wsc-punkt-fasi { fill: #5cc8e6; background: #5cc8e6; }
.wsc-aufteilung-arzt, .wsc-punkt-arzt { fill: #8dc63f; background: #8dc63f; }
.wsc-aufteilung-frei, .wsc-punkt-frei { fill: var(--wsc-border-stark); background: var(--wsc-border-stark); }
.wsc-ergebnis-liste { display: grid; gap: 8px; margin: 14px 0 16px; }
.wsc-ergebnis-liste div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--wsc-border); }
.wsc-ergebnis-liste dt { display: flex; align-items: center; gap: 10px; color: var(--wsc-text-muted); }
.wsc-ergebnis-liste dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wsc-punkt { flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; }

.wsc-rechner-erklaerung-text { max-width: 46em; }
.wsc-rechner-erklaerung-text > p { color: var(--wsc-text-muted); }
.wsc-tabelle {
  width: 100%; margin: 8px 0 24px;
  border-collapse: separate; border-spacing: 0;
  background: var(--wsc-surface); border: 1px solid var(--wsc-border); border-radius: var(--wsc-radius); overflow: hidden;
}
.wsc-tabelle th, .wsc-tabelle td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--wsc-border); }
.wsc-tabelle tbody tr:last-child td { border-bottom: 0; }
.wsc-tabelle th { background: var(--wsc-surface-2); color: var(--wsc-text-subtle); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.wsc-tabelle td { font-variant-numeric: tabular-nums; }
@media (max-width: 539px) {
  .wsc-tabelle th, .wsc-tabelle td { padding: 10px 12px; }
  .wsc-tabelle th { letter-spacing: .02em; hyphens: auto; }
}

/* ── Leiste aller Praxishilfen im Seitenkopf (wsc/_praxishilfen_nav.html) ── */
.wsc-hilfen-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.wsc-hilfen-nav a {
  display: inline-flex; align-items: center; min-height: 42px; padding: 8px 18px;
  border: 1.5px solid var(--wsc-border-stark); border-radius: 999px; background: var(--wsc-surface);
  color: var(--wsc-text-muted); font-size: .95rem; font-weight: 600; text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.wsc-hilfen-nav a:hover { border-color: var(--wsc-akzent-text); color: var(--wsc-akzent-text); }
.wsc-hilfen-nav a[aria-current="page"] { border-color: var(--wsc-akzent); background: var(--wsc-akzent); color: var(--wsc-auf-akzent); }

/* Eyebrow als Pfad zurück zur Übersicht „Praxishilfen“. */
.wsc-pfad a { color: inherit; text-decoration: none; }
.wsc-pfad a:hover { color: var(--wsc-akzent-text); text-decoration: underline; text-underline-offset: 4px; }

/* ── Übersicht der Praxishilfen (wsc/praxishilfen.html) ── */
.wsc-hilfen {
  list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px;
}
@media (min-width: 640px) { .wsc-hilfen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.wsc-hilfe {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  padding: clamp(22px, 3vw, 30px);
  background: var(--wsc-surface); border: 1px solid var(--wsc-border); border-radius: var(--wsc-radius);
  color: var(--wsc-text); text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.wsc-hilfe:hover {
  color: var(--wsc-text); transform: translateY(-3px); border-color: var(--wsc-border-stark);
  box-shadow: 0 18px 36px -22px rgba(var(--wsc-schatten), calc(.4 * var(--wsc-schatten-staerke)));
}
.wsc-hilfe-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; background: var(--wsc-akzent-weich); color: var(--wsc-akzent-text);
}
.wsc-hilfe-icon .wsc-icon { width: 26px; height: 26px; }
.wsc-hilfe-titel { font-family: var(--wsc-serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; margin-top: 6px; }
.wsc-hilfe-text { color: var(--wsc-text-muted); flex: 1; }
.wsc-hilfe-mehr { display: inline-flex; align-items: center; gap: 8px; color: var(--wsc-akzent-text); font-weight: 650; }
.wsc-hilfe-mehr .wsc-icon { width: 18px; height: 18px; transition: transform .2s ease; }
.wsc-hilfe:hover .wsc-hilfe-mehr .wsc-icon { transform: translateX(3px); }
.wsc-hilfen-hinweis { margin: 28px 0 0; max-width: 46em; color: var(--wsc-text-subtle); font-size: .95rem; }

/* ── Feuerlöscher-Rechner: Ausstattungstabelle und Hinweise ── */
.wsc-loescher-tabelle { margin: 4px 0 0; }
.wsc-loescher-tabelle td:last-child { white-space: nowrap; }
.wsc-tabelle-zusatz { color: var(--wsc-text-subtle); font-size: .88rem; white-space: nowrap; }
.wsc-loescher-hinweise, .wsc-treppe-hinweise { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wsc-loescher-hinweise li, .wsc-treppe-hinweise li { display: flex; gap: 10px; align-items: flex-start; color: var(--wsc-text-muted); font-size: .95rem; }
.wsc-loescher-hinweise .wsc-icon, .wsc-treppe-hinweise .wsc-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--wsc-akzent-text); }
.wsc-treppe-hinweise strong { white-space: nowrap; }  /* „2,5 cm“, „1,00 m“ nicht zwischen Zahl und Einheit umbrechen */
.wsc-loescher-schaetzung { display: grid; gap: 12px; }
/* Randnotizen mit Symbol (Wasser nur Brandklasse A, CO₂ als Ergänzung). */
.wsc-loescher-notiz { display: flex; gap: 8px; align-items: flex-start; color: var(--wsc-text-muted); }
.wsc-loescher-notiz .wsc-icon { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; color: var(--wsc-akzent-text); }
/* „Genau rechnen“: Tabelle nach LE vom Etikett, eingeklappt unter der Schätzung. */
/* Abstände über die Kinder statt display:grid — <details> als Grid können ältere Safari nicht. */
.wsc-loescher-genau { padding-top: 16px; border-top: 1px solid var(--wsc-border); }
.wsc-loescher-genau > * + * { margin-top: 12px; }
.wsc-loescher-genau summary {
  display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none;
  font-weight: 650; color: var(--wsc-akzent-text);
}
.wsc-loescher-genau summary::-webkit-details-marker { display: none; }
.wsc-loescher-genau summary::before {
  content: ""; flex-shrink: 0; width: 8px; height: 8px; margin: 0 2px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); transition: transform .2s ease;
}
.wsc-loescher-genau[open] summary::before { transform: rotate(45deg); }
.wsc-loescher-genau summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.wsc-loescher-genau summary:focus-visible { outline: 3px solid var(--wsc-akzent-text); outline-offset: 3px; border-radius: 4px; }
.wsc-tabelle-kompakt { max-width: 30em; }

/* ── Helfer-Rechner: zwei Ergebnisblöcke mit Fortbildungsfrist ── */
.wsc-helfer-block { padding-bottom: 18px; border-bottom: 1px solid var(--wsc-border); }
.wsc-helfer-frist {
  display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 6px 12px;
  border-radius: 999px; background: var(--wsc-akzent-weich); color: var(--wsc-text-muted); font-size: .9rem;
}
.wsc-helfer-frist .wsc-icon { width: 18px; height: 18px; color: var(--wsc-akzent-text); }
.wsc-helfer-frist strong { color: var(--wsc-text); }

/* ── Verbandkasten-Rechner: Erste-Hilfe-Raum und Inhaltsliste (Tabelle 2) ── */
.wsc-vk-raum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; font-weight: 600; color: var(--wsc-text-muted); }
.wsc-vk-raum strong {
  padding: 3px 12px; border-radius: 999px; background: var(--wsc-surface-2);
  font-family: var(--wsc-serif); font-size: 1.25rem; color: var(--wsc-text);
}
/* Normbezeichnung neben der Ergebniszahl bzw. unter den Spaltenköpfen der Inhaltsliste. */
.wsc-vk-norm {
  align-self: center; padding: 3px 10px; border-radius: 999px; background: var(--wsc-akzent-weich);
  font-family: var(--wsc-sans); font-size: .85rem; font-weight: 700; letter-spacing: .02em; color: var(--wsc-akzent-text);
}
.wsc-vk-norm-kopf { display: block; margin-top: 2px; font-size: .72rem; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.wsc-vk-raum strong[data-raum="ja"] { background: var(--wsc-akzent-weich); color: var(--wsc-akzent-text); }
.wsc-vk-inhalt-karte { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 900px) { .wsc-vk-inhalt-karte { margin-top: 28px; } }
.wsc-vk-inhalt { margin: 0; }
.wsc-vk-inhalt td strong { font-weight: 600; color: var(--wsc-text); }
.wsc-vk-ausfuehrung { display: block; font-size: .88rem; color: var(--wsc-text-subtle); }
.wsc-vk-inhalt .wsc-vk-zahl { width: 5.5em; text-align: center; font-variant-numeric: tabular-nums; }
/* Die Spalte zum Ergebnis (data-typ, setzt auch verbandkasten_rechner.js) ist hervorgehoben. */
.wsc-vk-inhalt[data-typ="klein"] .wsc-vk-klein,
.wsc-vk-inhalt[data-typ="gross"] .wsc-vk-gross { background: var(--wsc-akzent-weich); color: var(--wsc-akzent-text); font-weight: 700; }
.wsc-helfer-erklaerung-titel { font-size: 1.2rem; margin: 28px 0 12px; }
.wsc-helfer-erklaerung-titel:first-child { margin-top: 0; }

/* ── Treppenrechner: Urteil, Treppenprofil (SVG) und Prüfliste ── */
.wsc-treppe-urteil .wsc-ergebnis-zahl { align-items: center; }
.wsc-treppe-urteil-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--wsc-akzent-weich);
}
.wsc-treppe-urteil-icon .wsc-icon { width: 26px; height: 26px; stroke-width: 2.4; }
.wsc-treppe-urteil .wsc-icon-kreuz, .wsc-treppe-urteil[data-urteil="fehler"] .wsc-icon-haken { display: none; }
.wsc-treppe-urteil[data-urteil="fehler"] .wsc-icon-kreuz { display: inline; }
.wsc-treppe-urteil[data-urteil="fehler"] .wsc-ergebnis-zahl { color: var(--wsc-fehler); }
.wsc-treppe-urteil[data-urteil="fehler"] .wsc-treppe-urteil-icon { background: var(--wsc-fehler-weich); }

.wsc-treppe-profil { display: block; width: 100%; max-width: 440px; height: auto; }
.wsc-treppe-boden { stroke: var(--wsc-border-stark); stroke-width: 1.5; }
.wsc-treppe-koerper { fill: var(--wsc-surface-2); stroke: var(--wsc-text-muted); stroke-width: 2; stroke-linejoin: round; }
.wsc-treppe-linie { fill: none; stroke: var(--wsc-akzent-text); stroke-width: 1.5; stroke-dasharray: 5 4; }
.wsc-treppe-bogen { fill: none; stroke: var(--wsc-akzent-text); stroke-width: 1.5; }
.wsc-treppe-mass { fill: none; stroke: var(--wsc-text-subtle); stroke-width: 1.2; }
.wsc-treppe-profil text { font-family: var(--wsc-sans); font-size: 12px; font-weight: 600; fill: var(--wsc-text-muted); }
.wsc-treppe-profil .wsc-treppe-winkel { fill: var(--wsc-akzent-text); }

.wsc-treppe-pruefungen { list-style: none; margin: 0; padding: 0; }
.wsc-treppe-pruefungen li {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--wsc-border);
}
.wsc-treppe-pruefung { display: grid; gap: 1px; }
.wsc-treppe-vorgabe { font-size: .88rem; color: var(--wsc-text-subtle); }
.wsc-treppe-wert { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wsc-treppe-status { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.wsc-treppe-status .wsc-icon { display: none; width: 18px; height: 18px; stroke-width: 2.4; }
[data-status="ok"] .wsc-icon-haken, [data-status="fehler"] .wsc-icon-kreuz, [data-status="hinweis"] .wsc-icon-hinweis { display: block; }
[data-status="ok"] > .wsc-treppe-status { background: var(--wsc-akzent-weich); color: var(--wsc-akzent-text); }
[data-status="fehler"] > .wsc-treppe-status { background: var(--wsc-fehler-weich); color: var(--wsc-fehler); }
[data-status="fehler"] > .wsc-treppe-wert { color: var(--wsc-fehler); }
[data-status="hinweis"] > .wsc-treppe-status { background: var(--wsc-surface-2); color: var(--wsc-text-subtle); }

/* Checkbox mit Text im Rechner (Bestand beim Treppenrechner, Feuchtarbeit beim Gefahrstoff-Check;
   Haken wie .wsc-feld-haken im Kontaktformular). */
.wsc-treppe-bestand, .wsc-rechner-haken { display: flex; gap: 10px; align-items: flex-start; margin-top: 6px; cursor: pointer; font-size: .92rem; line-height: 1.5; color: var(--wsc-text-muted); }
.wsc-treppe-bestand input, .wsc-rechner-haken input { flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--wsc-akzent); }
.wsc-treppe-handlauf {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border-radius: 12px; background: var(--wsc-akzent-weich);
}
.wsc-treppe-handlauf .wsc-icon { width: 22px; height: 22px; margin-top: 3px; color: var(--wsc-akzent-text); }
.wsc-treppe-handlauf p { display: grid; gap: 2px; margin: 0; color: var(--wsc-text-muted); font-size: .95rem; }
.wsc-treppe-handlauf strong { font-family: var(--wsc-serif); font-size: 1.3rem; font-weight: 600; color: var(--wsc-text); }

/* ── Gefahrstoff-Check (EMKG): Eingaben, Module mit Stufenskala und H-Sätze ── */
.wsc-emkg-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.wsc-emkg-reihe > .wsc-rechner-hinweis { grid-column: 1 / -1; }  /* Hinweis unter den Karten über die volle Breite */
.wsc-emkg-paar { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 16px; }
.wsc-emkg-unterfrage { margin: 4px 0 0; font-size: .92rem; font-weight: 650; color: var(--wsc-text-muted); }
.wsc-emkg textarea {
  width: 100%; min-height: 5.5em; resize: vertical; padding: 12px 14px;
  border: 1.5px solid var(--wsc-border-stark); border-radius: 10px;
  background: var(--wsc-bg); color: var(--wsc-text); font: inherit; font-size: 1.05rem;
}
.wsc-emkg textarea:focus { outline: none; border-color: var(--wsc-akzent-text); box-shadow: 0 0 0 4px var(--wsc-akzent-weich); }
/* Schritt 1: H-Sätze breit, daneben schmal der AGW — reicht die Breite nicht, rutscht er darunter. */
.wsc-emkg-sdb { display: flex; flex-wrap: wrap; align-items: start; gap: 18px 20px; }
.wsc-emkg-hsaetze { flex: 2 1 280px; }
.wsc-emkg-agw-feld { flex: 1 1 250px; }
.wsc-emkg-agw { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.wsc-emkg-agw input { width: 120px; }
.wsc-emkg-einheit { font-weight: 650; color: var(--wsc-text-muted); }

.wsc-emkg-beratung {
  margin: 0; padding: 10px 14px; border-radius: 10px;
  background: var(--wsc-fehler-weich); color: var(--wsc-fehler); font-weight: 650;
}
.wsc-emkg-module { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wsc-border); }
.wsc-emkg-module li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--wsc-border);
}
.wsc-emkg-modul { display: grid; gap: 1px; }
.wsc-emkg-detail { font-size: .88rem; color: var(--wsc-text-subtle); }
.wsc-emkg-massnahmen { margin-top: 2px; font-size: .9rem; color: var(--wsc-text-muted); }
/* Schutzstufen in den EMKG-Farben: 1 grün, 2 blau, 3 hellorange, 4 rot. --wsc-emkg-N füllt Skala
   und Rand, --wsc-emkg-N-text ist die dunklere (im Dunkelmodus hellere) Schrift auf dem getönten
   Grund — hält 4,5 : 1. Gilt für die Module (data-stufe, setzt auch emkg_check.js) und die Marken
   in der Stufentabelle des Erklärteils. */
:root {
  --wsc-emkg-1: #3fa34d; --wsc-emkg-1-text: #1d6f2b;
  --wsc-emkg-2: #2f7fd0; --wsc-emkg-2-text: #1a5797;
  --wsc-emkg-3: #f4a742; --wsc-emkg-3-text: #8a4b00;
  --wsc-emkg-4: #d93b30; --wsc-emkg-4-text: #a91f15;
}
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wsc-emkg-1: #4cc46a; --wsc-emkg-1-text: #7ddc93;
    --wsc-emkg-2: #5aa2ef; --wsc-emkg-2-text: #8ec0f5;
    --wsc-emkg-3: #f5b35a; --wsc-emkg-3-text: #f8c983;
    --wsc-emkg-4: #f97066; --wsc-emkg-4-text: #fb9a92;
  }
}
@media screen {
  :root[data-theme="dark"] {
    --wsc-emkg-1: #4cc46a; --wsc-emkg-1-text: #7ddc93;
    --wsc-emkg-2: #5aa2ef; --wsc-emkg-2-text: #8ec0f5;
    --wsc-emkg-3: #f5b35a; --wsc-emkg-3-text: #f8c983;
    --wsc-emkg-4: #f97066; --wsc-emkg-4-text: #fb9a92;
  }
}
:is(.wsc-emkg-module li, .wsc-emkg-marke)[data-stufe="1"] { --wsc-stufe: var(--wsc-emkg-1); --wsc-stufe-text: var(--wsc-emkg-1-text); }
:is(.wsc-emkg-module li, .wsc-emkg-marke)[data-stufe="2"] { --wsc-stufe: var(--wsc-emkg-2); --wsc-stufe-text: var(--wsc-emkg-2-text); }
:is(.wsc-emkg-module li, .wsc-emkg-marke)[data-stufe="3"] { --wsc-stufe: var(--wsc-emkg-3); --wsc-stufe-text: var(--wsc-emkg-3-text); }
:is(.wsc-emkg-module li, .wsc-emkg-marke)[data-stufe="4"] { --wsc-stufe: var(--wsc-emkg-4); --wsc-stufe-text: var(--wsc-emkg-4-text); }

/* Rechts je Modul: Stufe als Badge, darunter eine Skala mit so vielen Segmenten, wie das Modul Stufen hat. */
.wsc-emkg-stufe { display: grid; justify-items: end; gap: 6px; }
.wsc-emkg-badge, .wsc-emkg-marke {
  border: 1.5px solid var(--wsc-stufe); background: color-mix(in srgb, var(--wsc-stufe) 16%, transparent);
  color: var(--wsc-stufe-text); font-weight: 700;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.wsc-emkg-badge { padding: 3px 12px; border-radius: 999px; font-size: .9rem; white-space: nowrap; }
.wsc-emkg-skala { display: flex; gap: 3px; }
.wsc-emkg-skala span { width: 18px; height: 6px; border-radius: 999px; background: var(--wsc-border-stark); transition: background-color .2s ease; }
.wsc-emkg-module li[data-stufe="1"] .wsc-emkg-skala span:nth-child(-n+1),
.wsc-emkg-module li[data-stufe="2"] .wsc-emkg-skala span:nth-child(-n+2),
.wsc-emkg-module li[data-stufe="3"] .wsc-emkg-skala span:nth-child(-n+3),
.wsc-emkg-module li[data-stufe="4"] .wsc-emkg-skala span { background: var(--wsc-stufe); }
/* Stufennummer in der Tabelle „Die Schutzstufen“ (Erklärteil). */
.wsc-emkg-marke { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .95rem; }
.wsc-emkg-lager { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
/* Fünf Module sind länger als die anderen Ergebnisse — auf niedrigen Bildschirmen scrollt die Karte selbst. */
@media (min-width: 900px) {
  .wsc-emkg .wsc-rechner-ergebnis { max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; }
}
.wsc-emkg-saetze { display: grid; gap: 6px; margin: 0; font-size: .92rem; }
.wsc-emkg-saetze div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 8px; }
.wsc-emkg-saetze dt { color: var(--wsc-text-subtle); }
.wsc-emkg-saetze dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.wsc-emkg-hinweise { display: grid; gap: 6px; margin: 0; padding-left: 1.2em; color: var(--wsc-text-muted); font-size: .95rem; }
.wsc-emkg-schritte { display: grid; gap: 8px; padding-left: 1.3em; color: var(--wsc-text-muted); }

/* ── Mutterschutz-Fristenrechner: Datumsfelder, Zeitraum-Liste und Fristenplan ── */
.wsc-rechner-feld input[type="date"] { width: min(100%, 250px); font-size: 1.15rem; }
.wsc-rechner-optional { font-family: var(--wsc-sans); font-size: .8rem; font-weight: 600; color: var(--wsc-text-subtle); }
.wsc-mutterschutz-warnung { color: var(--wsc-fehler); }
.wsc-mutterschutz-label {
  margin: 0 0 6px; color: var(--wsc-text-subtle);
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.wsc-ergebnis-datum { font-size: clamp(2.1rem, 1.6rem + 2vw, 2.9rem); }
.wsc-aufteilung-vor, .wsc-punkt-vor { fill: #5cc8e6; background: #5cc8e6; }
.wsc-aufteilung-nach, .wsc-punkt-nach { fill: #8dc63f; background: #8dc63f; }
.wsc-punkt-geburt { background: var(--wsc-akzent-text); }
/* Zeiträume sind länger als die Stundenwerte des Betreuungsrechners — der Wert darf auf schmalen
   Karten unter das Etikett rutschen. */
.wsc-mutterschutz .wsc-ergebnis-liste div { flex-wrap: wrap; }
.wsc-mutterschutz .wsc-ergebnis-liste dd { margin-left: auto; text-align: right; }
.wsc-mutterschutz .wsc-ergebnis-liste small { display: block; font-size: .85rem; font-weight: 400; color: var(--wsc-text-subtle); }
.wsc-mutterschutz-plan { display: grid; gap: 18px; margin-top: 20px; }
@media (min-width: 900px) { .wsc-mutterschutz-plan { margin-top: 28px; } }
.wsc-fristen { list-style: none; margin: 0; padding: 0; }
.wsc-fristen li { display: grid; gap: 2px 24px; padding: 14px 0; border-bottom: 1px solid var(--wsc-border); }
.wsc-fristen li:first-child { padding-top: 0; }
.wsc-fristen li:last-child { padding-bottom: 0; border-bottom: 0; }
@media (min-width: 640px) { .wsc-fristen li { grid-template-columns: 8.5em minmax(0, 1fr); } }
.wsc-frist-datum {
  font-family: var(--wsc-serif); font-size: 1.3rem; font-weight: 600; line-height: 1.3;
  color: var(--wsc-akzent-text); font-variant-numeric: tabular-nums;
}
.wsc-frist-text { color: var(--wsc-text-muted); }
.wsc-frist-text strong { display: block; color: var(--wsc-text); }
.wsc-mutterschutz-pflichten { margin: 8px 0 24px; }

/* ── Lärm-Rechner: Quellenzeilen, Pegelskala, Dosis-Anteile und Pflichten ── */
/* Gelb für „unterer Auslösewert“ — eigener Ton je Modus, damit der Text auf der Karte lesbar bleibt. */
.wsc-laerm { --wsc-laerm-warn: #94580a; }
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wsc-laerm { --wsc-laerm-warn: #f0b429; }
}
@media screen { :root[data-theme="dark"] .wsc-laerm { --wsc-laerm-warn: #f0b429; } }
.wsc-laerm-kopf, .wsc-laerm-quelle { display: grid; grid-template-columns: minmax(0, 1fr) 8em 6.5em; gap: 8px; align-items: center; }
.wsc-laerm-kopf { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wsc-text-subtle); }
.wsc-laerm-quelle input {
  width: 100%; min-width: 0; padding: 10px 12px;
  border: 1.5px solid var(--wsc-border-stark); border-radius: 10px;
  background: var(--wsc-bg); color: var(--wsc-text); font: inherit; font-weight: 600;
}
.wsc-laerm-quelle input:focus { outline: none; border-color: var(--wsc-akzent-text); box-shadow: 0 0 0 4px var(--wsc-akzent-weich); }
.wsc-laerm input:invalid { border-color: var(--wsc-fehler); }
/* Einheit rechts im Feld; Pfeiltasten der Zahlenfelder ausgeblendet, damit sie die Einheit nicht verdecken. */
.wsc-laerm-wert, .wsc-laerm-einheit { position: relative; display: flex; align-items: center; }
.wsc-laerm-einheit { width: min(100%, 220px); }
.wsc-laerm-wert input, .wsc-laerm-einheit input { width: 100%; padding-right: 3.8em; -moz-appearance: textfield; appearance: textfield; }
.wsc-laerm input::-webkit-inner-spin-button, .wsc-laerm input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.wsc-laerm-wert span, .wsc-laerm-einheit span {
  position: absolute; right: 12px; pointer-events: none;
  font-size: .85rem; font-weight: 600; color: var(--wsc-text-subtle);
}
@media (max-width: 539px) {
  .wsc-laerm-kopf { display: none; }
  .wsc-laerm-quelle { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-bottom: 12px; border-bottom: 1px solid var(--wsc-border); }
  .wsc-laerm-name { grid-column: 1 / -1; }
}
.wsc-laerm-warnung { color: var(--wsc-fehler); }

.wsc-laerm-stufe { margin: 12px 0 0; font-family: var(--wsc-serif); font-size: 1.3rem; font-weight: 600; line-height: 1.25; color: var(--wsc-akzent-text); }
.wsc-laerm-urteil[data-stufe="unterer"] .wsc-ergebnis-zahl, .wsc-laerm-urteil[data-stufe="unterer"] .wsc-laerm-stufe { color: var(--wsc-laerm-warn); }
.wsc-laerm-urteil[data-stufe="oberer"] .wsc-ergebnis-zahl, .wsc-laerm-urteil[data-stufe="oberer"] .wsc-laerm-stufe { color: var(--wsc-fehler); }
.wsc-laerm-skala { display: block; width: 100%; height: 18px; margin-top: 18px; }
.wsc-laerm-zone-unter { fill: #8dc63f; }
.wsc-laerm-zone-unterer { fill: #f0b429; }
.wsc-laerm-zone-oberer { fill: #e5534b; }
.wsc-laerm-marker { fill: var(--wsc-text); transition: x .25s ease; }
/* Spalten im Verhältnis der Skalenabschnitte 70–80 | 80–85 | 85–100 dB(A) (SKALA_VON/BIS in WSC.laerm). */
.wsc-laerm-skala-legende { display: grid; grid-template-columns: 10fr 5fr 15fr; margin-top: 4px; font-size: .78rem; color: var(--wsc-text-subtle); white-space: nowrap; }
.wsc-laerm-skala-legende span:nth-child(2) { text-align: center; }
.wsc-laerm-skala-legende span:last-child { text-align: right; }
.wsc-laerm-anteile-titel { font-size: 1.05rem; margin: 0 0 12px; }
.wsc-laerm-anteile { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wsc-laerm-anteil-kopf { display: flex; justify-content: space-between; gap: 12px; }
.wsc-laerm-anteil-kopf span { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wsc-laerm-balken { display: block; width: 100%; height: 8px; margin: 6px 0 4px; clip-path: inset(0 round 999px); }
.wsc-laerm-balken-grund { fill: var(--wsc-border); }
.wsc-laerm-balken-wert { fill: var(--wsc-akzent); transition: width .25s ease; }
.wsc-laerm-anteil-details { display: block; font-size: .88rem; color: var(--wsc-text-subtle); }

.wsc-laerm-pflichten-karte { display: grid; gap: 18px; margin-top: 20px; }
@media (min-width: 900px) { .wsc-laerm-pflichten-karte { margin-top: 28px; } }
.wsc-laerm-pflichten { list-style: none; margin: 0; padding: 0; }
.wsc-laerm-pflichten li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--wsc-border);
}
.wsc-laerm-pflichten li:first-child { padding-top: 0; }
.wsc-laerm-pflichten li:last-child { padding-bottom: 0; border-bottom: 0; }
@media (min-width: 640px) { .wsc-laerm-pflichten li { grid-template-columns: auto minmax(0, 1fr) auto; } }
.wsc-laerm-pflicht-status {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--wsc-border-stark); color: transparent;
}
.wsc-laerm-pflicht-status .wsc-icon { width: 18px; height: 18px; stroke-width: 2.4; }
.wsc-laerm-pflicht-text { color: var(--wsc-text-muted); }
.wsc-laerm-pflicht-text strong { display: block; color: var(--wsc-text); }
.wsc-laerm-grundlage { font-size: .85rem; color: var(--wsc-text-subtle); white-space: nowrap; }
.wsc-laerm-bedingung {
  grid-column: 2; justify-self: start; padding: 2px 10px; border-radius: 999px;
  background: var(--wsc-surface-2); color: var(--wsc-text-subtle); font-size: .82rem; font-weight: 700; white-space: nowrap;
}
@media (min-width: 640px) { .wsc-laerm-bedingung { grid-column: auto; } }
[data-gilt="ja"] > .wsc-laerm-pflicht-status { border-color: transparent; background: var(--wsc-akzent-weich); color: var(--wsc-akzent-text); }
[data-gilt="ja"] > .wsc-laerm-bedingung { background: var(--wsc-akzent-weich); color: var(--wsc-akzent-text); }
[data-gilt="nein"] .wsc-laerm-pflicht-text, [data-gilt="nein"] .wsc-laerm-pflicht-text strong { color: var(--wsc-text-subtle); }
/* Formelzeichen im Tabellenkopf nicht in Versalien — aus L_pC,peak würde sonst L_PC,PEAK. */
.wsc-tabelle th.wsc-laerm-formelzeichen { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.wsc-laerm-formel {
  padding: 14px 18px; overflow-x: auto;
  background: var(--wsc-surface); border: 1px solid var(--wsc-border); border-radius: var(--wsc-radius);
  font-family: var(--wsc-serif); font-size: 1.15rem;
}

/* ══ Kontaktleiste (nur schmale Bildschirme, siehe wsc/base.html) ══════════════════════════ */
.wsc-kontaktleiste { display: none; }
@media screen and (max-width: 819px) {
  .wsc-kontaktleiste {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 10px;
    padding: 10px var(--wsc-rand) calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--wsc-surface) 92%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    border-top: 1px solid var(--wsc-border);
    box-shadow: 0 -10px 28px -18px rgba(var(--wsc-schatten), calc(.4 * var(--wsc-schatten-staerke)));
  }
  .wsc-kontaktleiste a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
    border-radius: 999px; font-weight: 650; text-decoration: none; white-space: nowrap;
  }
  .wsc-kontaktleiste-anruf { color: var(--wsc-akzent-text); box-shadow: inset 0 0 0 1.5px var(--wsc-akzent-text); }
  .wsc-kontaktleiste-anruf:hover { color: var(--wsc-akzent-hover); background: var(--wsc-akzent-weich); }
  .wsc-kontaktleiste-nachricht { background: var(--wsc-akzent); color: var(--wsc-auf-akzent); }
  .wsc-kontaktleiste-nachricht:hover { background: var(--wsc-akzent-hover); color: var(--wsc-auf-akzent); }
  /* Platz unter der Fußzeile, damit die Leiste nichts verdeckt. */
  body:has(.wsc-kontaktleiste) { padding-bottom: calc(69px + env(safe-area-inset-bottom)); }
}

/* ══ Seitenübergänge ═══════════════════════════════════════════════════════════════════════
   Seitenwechsel blenden weich über (Cross-Document View Transitions, ohne JavaScript). Kopfzeile
   und Kontaktleiste haben einen eigenen Namen und bleiben dadurch stehen, statt mitzublenden.
   Browser ohne Unterstützung wechseln einfach wie bisher. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.wsc-kopf { view-transition-name: wsc-kopfzeile; }
.wsc-kontaktleiste { view-transition-name: wsc-kontaktleiste; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* ══ Auftritt der Startseite ═══════════════════════════════════════════════════════════════
   Beim Laden erscheinen Eyebrow, Titel, Text und Knöpfe gestaffelt, das Portrait gleitet nach,
   und der Verlaufsring zeichnet sich einmal im Kreis. Der Ring liegt dafür als ::before HINTER
   dem Foto (eine Maske direkt am Rahmen würde auch das Foto anschneiden). --wsc-ring ist per
   @property animierbar; Browser ohne @property zeigen den Ring einfach vollständig. */
@property --wsc-ring { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
@keyframes wsc-auftritt {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: none; }
}
@keyframes wsc-ring-zeichnen {
  from { --wsc-ring: 0%; }
  to { --wsc-ring: 100%; }
}
.wsc-hero .wsc-portrait-rahmen { position: relative; isolation: isolate; background: none; }
.wsc-hero .wsc-portrait-rahmen::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  background: conic-gradient(from 210deg, #5cc8e6, #6fcfb9, #8dc63f, #6fcfb9, #5cc8e6);
  -webkit-mask: conic-gradient(#000 var(--wsc-ring), transparent 0);
  mask: conic-gradient(#000 var(--wsc-ring), transparent 0);
}
@media (prefers-reduced-motion: no-preference) {
  .wsc-hero-text > * { animation: wsc-auftritt .7s cubic-bezier(.2, .7, .2, 1) both; }
  .wsc-hero-text > :nth-child(2) { animation-delay: .08s; }
  .wsc-hero-text > :nth-child(3) { animation-delay: .16s; }
  .wsc-hero-text > :nth-child(4) { animation-delay: .24s; }
  .wsc-hero-portrait { animation: wsc-auftritt .9s cubic-bezier(.2, .7, .2, 1) .12s both; }
  .wsc-hero .wsc-portrait-rahmen::before { animation: wsc-ring-zeichnen 1.4s cubic-bezier(.65, 0, .25, 1) .45s both; }
}

/* ══ Gleitender Menü-Unterstrich (wsc.js) ══════════════════════════════════════════════════
   Eine Verlaufslinie wandert zum Menüpunkt unter der Maus und zurück zur aktuellen Seite. Nur
   in der breiten Ansicht; im Burger-Menü bleibt die feste Linie am aktiven Punkt. */
.wsc-nav-linie { display: none; }
@media (min-width: 1100px) {
  .wsc-nav { position: relative; }
  .wsc-nav-linie {
    display: block; position: absolute; left: 0; top: 0; width: 0; height: 2px;
    border-radius: 2px; background: var(--wsc-verlauf); opacity: 0; pointer-events: none;
  }
  .wsc-nav.linie-bereit .wsc-nav-linie {
    transition: transform .35s cubic-bezier(.3, .7, .2, 1), width .35s cubic-bezier(.3, .7, .2, 1), opacity .2s ease;
  }
  .wsc-nav.mit-linie a[aria-current="page"]:not(.wsc-nav-kontakt)::after { display: none; }
}

/* ══ Einblenden beim Scrollen ══════════════════════════════════════════════════════════════
   Inhalte gleiten beim Hereinscrollen leicht ein — rein per CSS (scroll-driven animations),
   ohne Skript. Animiert wird "translate" statt "transform", damit der Hover-Hub der Kacheln
   (transform) erhalten bleibt. Nur am Bildschirm (Druck zeigt alles) und nur ohne
   "Bewegung reduzieren"; Browser ohne Unterstützung zeigen die Inhalte sofort. */
@keyframes wsc-einblenden {
  from { opacity: 0; translate: 0 28px; }
  to { opacity: 1; translate: none; }
}
@supports (animation-timeline: view()) {
  @media screen and (prefers-reduced-motion: no-preference) {
    .wsc-kachel, .wsc-leistung, .wsc-grund, .wsc-fakt, .wsc-zitat, .wsc-band, .wsc-partner-karte,
    .wsc-teaser, .wsc-aushang-gruppe, .wsc-kontakt-weg, .wsc-qualifikationen, .wsc-formular, .wsc-hilfe {
      animation: wsc-einblenden linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    /* Sprungziele (Leistungsseite) nur aufblenden, nicht verschieben: Der Browser richtet einen
       Sprung am noch verschobenen Rahmen aus — danach rutschte der Abschnitt 28 px unter die
       mitlaufende Sprungleiste. */
    .wsc-leistung { animation-name: wsc-aufblenden; }
  }
}
@keyframes wsc-aufblenden {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ══ Lesefortschritt ═══════════════════════════════════════════════════════════════════════
   Die Verlaufslinie über der Kopfzeile füllt sich beim Scrollen von links nach rechts, der noch
   offene Rest bleibt blass (scroll-driven animation, ohne Skript). Seiten ohne Scrollweg haben
   keine aktive Zeitleiste und zeigen — wie Browser ohne Unterstützung — die volle Linie. */
@property --wsc-fortschritt { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
@keyframes wsc-fortschritt {
  from { --wsc-fortschritt: 0%; }
  to { --wsc-fortschritt: 100%; }
}
@supports (animation-timeline: scroll()) {
  @media screen {
    .wsc-kopf::before {
      -webkit-mask: linear-gradient(90deg, #000 var(--wsc-fortschritt), rgba(0, 0, 0, .25) var(--wsc-fortschritt));
      mask: linear-gradient(90deg, #000 var(--wsc-fortschritt), rgba(0, 0, 0, .25) var(--wsc-fortschritt));
      animation: wsc-fortschritt linear both;
      animation-timeline: scroll(root);
    }
  }
}

/* ══ Strich zeichnen ═══════════════════════════════════════════════════════════════════════
   Ein SVG-Strich zieht sich von seinem Anfang aus nach — die Pfadlänge (aufgerundet) steht in
   --wsc-strich am animierten Element. Genutzt von der Danke-Seite und den bewegten Icons. */
@keyframes wsc-strich-zeichnen {
  from { stroke-dashoffset: var(--wsc-strich); }
  to { stroke-dashoffset: 0; }
}

/* ══ Danke-Seite ═══════════════════════════════════════════════════════════════════════════
   Nach dem Absenden taucht der Kreis auf, der Verlaufsring zeichnet sich einmal herum (wie der
   Portrait-Ring der Startseite) und zum Schluss zieht sich der Haken. Text und Knöpfe erscheinen
   gestaffelt wie im Startseiten-Kopf. */
@keyframes wsc-auftauchen {
  from { opacity: 0; scale: .6; }
  to { opacity: 1; scale: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .wsc-meldung-erfolg { animation: wsc-auftauchen .5s cubic-bezier(.2, .7, .2, 1.2) both; }
  .wsc-meldung-ring circle {
    --wsc-strich: 100; stroke-dasharray: var(--wsc-strich);
    animation: wsc-strich-zeichnen 1s cubic-bezier(.65, 0, .25, 1) .25s both;
  }
  .wsc-meldung-erfolg .wsc-icon path {
    --wsc-strich: 21; stroke-dasharray: var(--wsc-strich);
    animation: wsc-strich-zeichnen .45s cubic-bezier(.3, .7, .3, 1) 1s both;
  }
  .wsc-meldung-erfolg ~ * { animation: wsc-auftritt .7s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .wsc-meldung-erfolg ~ :nth-child(3) { animation-delay: .23s; }
  .wsc-meldung-erfolg ~ :nth-child(4) { animation-delay: .31s; }
}

/* ══ Bewegte Icons der Praxishilfen ═══════════════════════════════════════════════════════
   Beim Überfahren einer Praxishilfe (Übersicht und Box auf der Startseite) spielt ihr Icon eine
   kurze, zum Thema passende Bewegung. Die bewegten Teilpfade liegen in wsc/_icon.html einzeln. */
@keyframes wsc-herzschlag {
  0%, 60%, 100% { scale: 1; }
  15% { scale: 1.3; }
  30% { scale: 1; }
  45% { scale: 1.18; }
}
@keyframes wsc-wackeln {
  0%, 100% { rotate: 0deg; }
  20% { rotate: -12deg; }
  45% { rotate: 9deg; }
  70% { rotate: -4deg; }
}
@keyframes wsc-schaukeln {
  0%, 100% { rotate: 0deg; }
  25% { rotate: -8deg; }
  60% { rotate: 6deg; }
  85% { rotate: -2deg; }
}
@keyframes wsc-huepfen {
  0%, 55%, 100% { translate: 0 0; }
  30% { translate: 0 -4px; }
  75% { translate: 0 -1.5px; }
}
@keyframes wsc-welle {
  from { opacity: 0; translate: -2px 0; }
  60%, to { opacity: 1; translate: none; }
}
@media (prefers-reduced-motion: no-preference) {
  /* Betreuungsrechner: die Anzeige tippt das Ergebnis */
  :is(.wsc-hilfe, .wsc-teaser-liste a):is(:hover, :focus-visible) .wsc-icon-rechner path:first-of-type {
    --wsc-strich: 8; stroke-dasharray: var(--wsc-strich);
    animation: wsc-strich-zeichnen .6s steps(4, jump-none) both;
  }
  /* Helfer-Rechner: das Kreuz schlägt wie ein Herz */
  :is(.wsc-hilfe, .wsc-teaser-liste a):is(:hover, :focus-visible) .wsc-icon-erste-hilfe path {
    transform-box: fill-box; transform-origin: center;
    animation: wsc-herzschlag .9s ease-out both;
  }
  /* Feuerlöscher: wird kurz angehoben und wackelt */
  :is(.wsc-hilfe, .wsc-teaser-liste a):is(:hover, :focus-visible) .wsc-icon-feuerloescher {
    transform-origin: 50% 90%;
    animation: wsc-wackeln .6s ease-in-out both;
  }
  /* Treppe: baut sich Stufe für Stufe auf */
  :is(.wsc-hilfe, .wsc-teaser-liste a):is(:hover, :focus-visible) .wsc-icon-treppe path:first-of-type {
    --wsc-strich: 34; stroke-dasharray: var(--wsc-strich);
    animation: wsc-strich-zeichnen .7s cubic-bezier(.4, 0, .2, 1) both;
  }
  /* Mutterschutz: der Kinderwagen schaukelt */
  :is(.wsc-hilfe, .wsc-teaser-liste a):is(:hover, :focus-visible) .wsc-icon-kinderwagen {
    transform-origin: 50% 85%;
    animation: wsc-schaukeln .9s ease-in-out both;
  }
  /* Lärm: die Schallwellen pulsieren zweimal nach außen */
  :is(.wsc-hilfe, .wsc-teaser-liste a):is(:hover, :focus-visible) .wsc-icon-laerm path:nth-of-type(n+2) {
    animation: wsc-welle .5s ease-out 2 both;
  }
  :is(.wsc-hilfe, .wsc-teaser-liste a):is(:hover, :focus-visible) .wsc-icon-laerm path:nth-of-type(3) { animation-delay: .12s; }
  /* Verbandkasten: hüpft kurz hoch */
  :is(.wsc-hilfe, .wsc-teaser-liste a):is(:hover, :focus-visible) .wsc-icon-verbandkasten {
    animation: wsc-huepfen .6s ease-out both;
  }
  /* Aushang: die Zeilen des Dokuments schreiben sich */
  :is(.wsc-hilfe, .wsc-teaser-liste a):is(:hover, :focus-visible) .wsc-icon-dokument path:nth-of-type(2) {
    --wsc-strich: 13; stroke-dasharray: var(--wsc-strich);
    animation: wsc-strich-zeichnen .6s ease-out both;
  }
  /* Jobprofil-Check: der Haken setzt sich */
  :is(.wsc-hilfe, .wsc-teaser-liste a):is(:hover, :focus-visible) .wsc-icon-jobprofil path:last-of-type {
    --wsc-strich: 11; stroke-dasharray: var(--wsc-strich);
    animation: wsc-strich-zeichnen .5s ease-out both;
  }
}

/* ══ Jobprofil-Check (siehe wsc/jobprofil_check.html, wsc/js/jobprofil_check.js) ═══════════
   Drei Karten: Profil wählen, Paket, Tätigkeiten anpassen. Breit stehen Profil und Tätigkeiten
   links untereinander und das Paket klebt rechts daneben; schmal und im Ausdruck gilt die
   Reihenfolge des Markups. Farben der Arten wie die EMKG-Stufen: Pflicht rot, Angebot blau,
   Eignung orange — sonstige Untersuchung grau, Unterweisung und Grundausbildung im Akzentton. */
@media (min-width: 900px) {
  .wsc-jobprofil > .wsc-rechner-eingabe, .wsc-jobprofil > .wsc-jp-anpassen { grid-column: 1; }
  .wsc-jobprofil > .wsc-rechner-ergebnis {
    grid-column: 2; grid-row: 1 / span 2;
    max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain;
  }
}
.wsc-jp-rubrik {
  margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--wsc-text-subtle);
}
/* Profile und Stufen: Radiobuttons als Knöpfe, das echte Input bleibt fokussierbar (wie .wsc-gruppe). */
.wsc-jp-branchen { gap: 16px; }
.wsc-jp-branche { display: grid; gap: 8px; }
.wsc-jp-chips, .wsc-jp-stufen { display: flex; flex-wrap: wrap; gap: 8px; }
.wsc-jp-chip, .wsc-jp-stufe { position: relative; cursor: pointer; }
.wsc-jp-chip input, .wsc-jp-stufe input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.wsc-jp-chip > span, .wsc-jp-stufe > span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 14px;
  border: 1.5px solid var(--wsc-border-stark); background: var(--wsc-bg); color: var(--wsc-text-muted);
  font-size: .93rem; font-weight: 600; line-height: 1.25;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.wsc-jp-chip > span { border-radius: 999px; }
.wsc-jp-stufe > span { border-radius: 10px; }
.wsc-jp-chip:hover > span, .wsc-jp-stufe:hover > span { border-color: var(--wsc-akzent-text); color: var(--wsc-text); }
.wsc-jp-chip input:checked + span { border-color: var(--wsc-akzent); background: var(--wsc-akzent); color: var(--wsc-auf-akzent); }
.wsc-jp-stufe input:checked + span { border-color: var(--wsc-akzent-text); background: var(--wsc-akzent-weich); color: var(--wsc-text); }
.wsc-jp-chip input:focus-visible + span, .wsc-jp-stufe input:focus-visible + span { outline: 3px solid var(--wsc-akzent-text); outline-offset: 2px; }

/* Art der Maßnahme: Badge vor jeder Zeile (.wsc-jp-art), kleine Marke an den Stufen (.wsc-jp-marke). */
.wsc-jp-art, .wsc-jp-marke, .wsc-jp-kachel { --wsc-stufe: var(--wsc-akzent-text); --wsc-stufe-text: var(--wsc-akzent-text); }
:is(.wsc-jp-art, .wsc-jp-marke)[data-art="PV"], .wsc-jp-kachel[data-kachel="pflicht"] { --wsc-stufe: var(--wsc-emkg-4); --wsc-stufe-text: var(--wsc-emkg-4-text); }
:is(.wsc-jp-art, .wsc-jp-marke)[data-art="AV"], .wsc-jp-kachel[data-kachel="angebot"] { --wsc-stufe: var(--wsc-emkg-2); --wsc-stufe-text: var(--wsc-emkg-2-text); }
:is(.wsc-jp-art, .wsc-jp-marke)[data-art="EU"], .wsc-jp-kachel[data-kachel="eignung"] { --wsc-stufe: var(--wsc-emkg-3); --wsc-stufe-text: var(--wsc-emkg-3-text); }
:is(.wsc-jp-art, .wsc-jp-marke)[data-art="SU"] { --wsc-stufe: var(--wsc-text-subtle); --wsc-stufe-text: var(--wsc-text-muted); }
.wsc-jp-art, .wsc-jp-marke {
  border: 1.5px solid var(--wsc-stufe); background: color-mix(in srgb, var(--wsc-stufe) 16%, transparent);
  color: var(--wsc-stufe-text); font-weight: 700;
}
.wsc-jp-marke { padding: 0 6px; border-radius: 6px; font-size: .72rem; line-height: 1.5; letter-spacing: .03em; }
.wsc-jp-art {
  display: inline-grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  font-size: .82rem; letter-spacing: .03em;
}
.wsc-jp-art .wsc-icon { width: 19px; height: 19px; }

/* Ergebnis: Profilname, Zählkacheln je Bereich, darunter die Bereiche mit ihren Zeilen. */
.wsc-jp-profil {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0;
  font-family: var(--wsc-serif); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); font-weight: 600;
  line-height: 1.15; letter-spacing: -.01em; color: var(--wsc-akzent-text);
}
.wsc-jp-angepasst {
  padding: 2px 10px; border-radius: 999px; background: var(--wsc-surface-2);
  font-family: var(--wsc-sans); font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--wsc-text-subtle);
}
.wsc-jp-kopf .wsc-ergebnis-unter { margin-top: 6px; font-size: .95rem; }
/* Zwei Reihen: oben die drei Arten von Untersuchungen, darunter Unterweisung und Grundausbildung. */
.wsc-jp-kacheln { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.wsc-jp-kachel {
  display: grid; gap: 3px; padding: 10px 6px 9px; border-radius: 12px; border-top: 3px solid var(--wsc-stufe);
  background: var(--wsc-surface-2); text-align: center; transition: opacity .2s ease, border-color .2s ease;
}
.wsc-jp-kachel strong { font-family: var(--wsc-serif); font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.wsc-jp-kachel span { font-size: .74rem; font-weight: 650; color: var(--wsc-text-subtle); }
.wsc-jp-kachel[data-leer] { border-top-color: var(--wsc-border-stark); opacity: .5; }
.wsc-jp-kachel { grid-column: span 2; }
.wsc-jp-kachel:nth-child(n+4) { grid-column: span 3; }
.wsc-jp-bereich { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--wsc-border); }
.wsc-jp-bereich-titel { margin: 0; font-size: 1.15rem; }
.wsc-jp-bereich-text { margin: 0 0 8px; font-size: .88rem; line-height: 1.5; color: var(--wsc-text-subtle); }
.wsc-jp-liste { margin: 0; padding: 0; list-style: none; }
.wsc-jp-zeile { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--wsc-border); }
.wsc-jp-inhalt { display: grid; gap: 3px; flex: 1; min-width: 0; }
.wsc-jp-inhalt p { margin: 0; }
.wsc-jp-zeilenkopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.wsc-jp-titel { color: var(--wsc-text); }
.wsc-jp-frist {
  padding: 2px 10px; border-radius: 999px; background: var(--wsc-akzent-weich); color: var(--wsc-akzent-text);
  font-size: .85rem; font-weight: 700; white-space: nowrap;
}
.wsc-jp-anlass { font-size: .92rem; line-height: 1.5; color: var(--wsc-text-muted); }
.wsc-jp-detail { font-size: .84rem; line-height: 1.5; color: var(--wsc-text-subtle); }
@media (prefers-reduced-motion: no-preference) {
  .wsc-jp-zeile { animation: wsc-aufblenden .3s ease both; }  /* läuft bei jedem Einblenden neu */
}

/* Tätigkeiten und Belastungen: je Merkmal eine Zeile mit den Stufen. Mit JavaScript zunächst nur
   die Merkmale des Profils (data-aktiv), „Weitere anzeigen“ setzt data-alle an der Liste. */
.wsc-jp-anpassen { display: grid; gap: 16px; }
.wsc-jp-merkmale { display: grid; gap: 22px; }
.wsc-jp-merkmalgruppe > .wsc-jp-rubrik { margin-bottom: 8px; }
.wsc-jp-merkmal { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--wsc-border); }
.wsc-jp-merkmal-titel { margin: 0; font-weight: 650; color: var(--wsc-text); }
.wsc-jp-merkmal-hinweis { margin: 0 0 2px; font-size: .86rem; line-height: 1.45; color: var(--wsc-text-subtle); }
.wsc-jobprofil.live .wsc-jp-merkmale:not([data-alle]) .wsc-jp-merkmal:not([data-aktiv]) { display: none; }
.wsc-jobprofil.live .wsc-jp-merkmale:not([data-alle]) .wsc-jp-merkmalgruppe:not(:has(.wsc-jp-merkmal[data-aktiv])) { display: none; }
.wsc-jp-mehr { display: none; justify-self: start; }
.wsc-jobprofil.live .wsc-jp-mehr { display: inline-flex; }
/* Legende und Schwellentabelle im Erklärteil. */
.wsc-jp-legende td:first-child { width: 4.5em; vertical-align: top; }
.wsc-jp-schwellen td { vertical-align: top; font-size: .92rem; }
@media (max-width: 539px) { .wsc-jp-schwellen td { font-size: .84rem; hyphens: auto; } }

/* ══ Ergebnis-Export (wsc/_ergebnis_export.html) ═══════════════════════════════════════════
   Zwei kleine Knöpfe unter jedem Rechner-Ergebnis — erst mit JavaScript sichtbar, weil beide
   Funktionen (Drucken, Link kopieren) wsc.js brauchen. */
.wsc-export { display: none; }
.js .wsc-export { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.wsc-export-knopf {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px;
  border: 1.5px solid var(--wsc-border-stark); border-radius: 999px; background: var(--wsc-surface);
  color: var(--wsc-text-muted); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.wsc-export-knopf .wsc-icon { width: 18px; height: 18px; }
.wsc-export-knopf:hover, .wsc-export-knopf[data-kopiert] { border-color: var(--wsc-akzent-text); color: var(--wsc-akzent-text); }
.wsc-export-knopf[data-kopiert] { background: var(--wsc-akzent-weich); }
.wsc-export-knopf:focus-visible { outline: 3px solid var(--wsc-akzent-text); outline-offset: 2px; }

/* ══ Druckansicht ══════════════════════════════════════════════════════════════════════════
   „Drucken / PDF“ unter den Rechnern bzw. Strg+P auf jeder Seite: oben Absender und Datum, dann
   Eingaben und Ergebnis, unten der Link zur Berechnung (wsc/base.html; wsc.js setzt beides vor dem
   Druck). Navigation, Kontaktleisten, Fußzeile, Erklärteil und Knöpfe entfallen; von den
   Auswahlkarten bleibt nur die gewählte, von den Haken nur die gesetzten, von den Lärmquellen nur
   die gefüllten, vom Jobprofil-Check das gewählte Profil und die zutreffenden Stufen. Farben
   immer hell — die Dunkelmodus-Tokens gelten nur am Bildschirm. */
.wsc-druckkopf, .wsc-druckfuss, .wsc-druck-hinweis, .wsc-nur-druck { display: none; }
@page { size: A4; margin: 14mm 14mm 16mm; }
@media print {
  html { font-size: 11.5px; scroll-padding-top: 0; }
  html, body { background: #fff; }
  body { display: block; min-height: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .wsc-skip, .wsc-kopf, .wsc-fuss, .wsc-kontaktleiste, .wsc-band, .wsc-pfad, .wsc-hilfen-nav, .wsc-sprungmarken,
  .wsc-rechner-erklaerung, .wsc-rechner-anfrage, .wsc-rechner-knopf, .wsc-export, .wsc-kopfband::after { display: none !important; }

  .wsc-druckkopf {
    display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 10px;
    border-bottom: 2px solid #0a7a62; font-size: .95rem; line-height: 1.45;
  }
  .wsc-druckkopf img { width: 60px; height: auto; }
  .wsc-druckkopf p { margin: 0; }
  .wsc-druckkopf-datum { margin-left: auto !important; white-space: nowrap; }
  .wsc-druckfuss {
    display: block; margin: 18px 0 0; padding-top: 8px; border-top: 1px solid var(--wsc-border-stark);
    font-size: .9rem; color: var(--wsc-text-subtle); overflow-wrap: anywhere;
  }
  .wsc-druck-hinweis { display: block; margin: 0; font-size: .9rem; color: var(--wsc-text-subtle); }
  .wsc-nur-druck { display: revert; }

  .wsc-kopfband { background: none; border: 0; }
  .wsc-kopfband-innen, .wsc-haupt { max-width: none; padding: 0; }
  .wsc-seitenkopf { padding: 0; }
  .wsc-seitentitel { font-size: 2.2rem; }
  .wsc-seiten-lede { margin-top: 6px; font-size: 1.05rem; }

  .wsc-rechner { display: block; margin-top: 16px; }
  .wsc-rechner > * + *, .wsc-rechner + .wsc-karte { margin-top: 12px; }
  .wsc-karte { padding: 14px 18px; box-shadow: none; border-color: var(--wsc-border-stark); }
  .wsc-rechner-ergebnis { position: static; max-height: none !important; overflow: visible !important; }
  .wsc-rechner-eingabe { gap: 12px; }
  .wsc-rechner-schritt { font-size: 1.15rem; margin-bottom: 2px; }
  .wsc-rechner-eingabe .wsc-rechner-hinweis:not(.wsc-laerm-warnung, .wsc-mutterschutz-warnung) { display: none; }
  .wsc-gruppe:not(:has(input:checked)), .wsc-rechner-haken:not(:has(input:checked)), .wsc-laerm-quelle[data-leer] { display: none; }
  /* Ein Schritt, der nur aus einem nicht gesetzten Haken besteht, entfällt samt Überschrift. */
  .wsc-rechner-feld:has(> .wsc-rechner-haken):not(:has(input:checked)) { display: none; }
  /* Lange Tabellen über mehrere Seiten: ohne Abrunden/Abschneiden und ohne Grid um sie herum —
     sonst zeichnet Chrome den Kartenrand am Seitenende durch die letzte Zeile. */
  .wsc-tabelle { overflow: visible; border-radius: 0; }
  .wsc-vk-inhalt-karte, .wsc-mutterschutz-plan { display: block; }
  .wsc-vk-inhalt-karte > * + *, .wsc-mutterschutz-plan > * + * { margin-top: 12px; }
  .wsc-gruppe-inhalt { padding-top: 8px; padding-bottom: 8px; }
  .wsc-rechner-feld input, .wsc-emkg textarea { padding: 4px 10px; min-height: 0; font-size: 1.1rem; }
  .wsc-ergebnis-zahl { font-size: 2.6rem; }
  .wsc-rechner-gruppen, .wsc-rechner-feld, .wsc-helfer-block, .wsc-emkg-module li, .wsc-fristen li, tr { break-inside: avoid; }
  /* Jobprofil-Check: vom Formular bleiben das gewählte Profil und die zutreffenden Stufen. */
  .wsc-jp-chip:not(:has(input:checked)), .wsc-jp-branche:not(:has(input:checked)), .wsc-jp-branche .wsc-jp-rubrik,
  .wsc-jp-stufe:not(:has(input:checked)), .wsc-jp-merkmal:has(input[value="0"]:checked),
  .wsc-jp-merkmalgruppe:not(:has(input:not([value="0"]):checked)), .wsc-jp-anpassen:not(:has(input:not([value="0"]):checked)),
  .wsc-jp-anpassen > .wsc-rechner-hinweis, .wsc-jp-merkmal-hinweis, .wsc-jp-mehr { display: none !important; }
  .wsc-jp-zeile { animation: none; padding: 8px 0; }
  .wsc-jp-zeile, .wsc-jp-merkmal, .wsc-jp-kacheln { break-inside: avoid; }
  /* Bereiche als Blöcke, damit sie zwischen den Zeilen umbrechen; Überschrift bleibt bei ihrer ersten Zeile. */
  .wsc-jp-bereich { display: block; padding-top: 12px; }
  .wsc-jp-bereich-titel, .wsc-jp-bereich-text { break-after: avoid; }
  .wsc-jp-bereich-text { margin: 2px 0 6px; }
  .wsc-jp-art { width: 32px; height: 32px; }
  /* Tätigkeiten als knappe Liste: Merkmal links, gewählte Stufe rechts. */
  .wsc-jp-merkmalgruppe > .wsc-jp-rubrik { display: none; }
  .wsc-jp-anpassen, .wsc-jp-merkmale { gap: 0; }
  .wsc-jp-merkmal { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; }
  .wsc-jp-stufe > span { min-height: 0; padding: 2px 10px; }
  .wsc-pruefkasten { display: inline-block; width: 14px; height: 14px; border: 1.5px solid var(--wsc-text-subtle); border-radius: 3px; }
}

/* ══ Bewegung reduzieren ═══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
