/* IST-Aufnahme Rechenzentrum — Oberfläche
   Editorial statt Dashboard: warmer Papiergrund, geschnittene Serif für die
   Aussagen, dunkle Flächen als Anker. Die Wucht liegt auf der Struktur, nicht
   auf den Personen. */

/* ---------- Schriften, lokal eingebunden ---------- */
/* Kein CDN: im Hochschulnetz unzuverlässig, und ein Fremdabruf beim Aufruf
   einer Erhebungsseite wäre datenschutzrechtlich unnötig heikel. */

/* Bodoni Moda, variabel über die optische Größe: bei großen Graden hoher
   Strichkontrast, bei kleinen zieht die Schrift von selbst an. Bewusst nicht
   Instrument Serif — die ist inzwischen die Standardschrift jeder zweiten
   generierten Oberfläche. */
@font-face {
  font-family: "Bodoni Moda";
  src: url("/schrift/bodoni-moda-normal-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  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: "Bodoni Moda";
  src: url("/schrift/bodoni-moda-normal-latin-ext.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/schrift/bodoni-moda-italic-latin.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
  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: "Bodoni Moda";
  src: url("/schrift/bodoni-moda-italic-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  src: url("/schrift/archivo-400-normal-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  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: "Archivo";
  src: url("/schrift/archivo-400-normal-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("/schrift/archivo-500-normal-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  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: "Archivo";
  src: url("/schrift/archivo-500-normal-latin-ext.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("/schrift/archivo-600-normal-latin.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  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: "Archivo";
  src: url("/schrift/archivo-600-normal-latin-ext.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("/schrift/archivo-700-normal-latin.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  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: "Archivo";
  src: url("/schrift/archivo-700-normal-latin-ext.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Grundwerte ---------- */

:root {
  /* Papier, leicht warm getönt — kein reines Weiß */
  --papier:        oklch(97.6% 0.006 85);
  --papier-tief:   oklch(94.2% 0.009 85);
  --papier-rand:   oklch(88% 0.011 85);

  /* Tinte, leicht blau gebrochen — kein reines Schwarz */
  --tinte:         oklch(23% 0.021 265);
  --tinte-leise:   oklch(46% 0.018 265);
  --tinte-still:   oklch(58% 0.014 265);

  /* Dunkle Ankerfläche für das Netz */
  --tiefe:         oklch(19.5% 0.026 265);
  --tiefe-rand:    oklch(28% 0.03 265);
  --auf-tiefe:     oklch(93% 0.008 265);
  --auf-tiefe-leise: oklch(72% 0.014 265);

  /* Zustände */
  --kritisch:      oklch(52.5% 0.198 27);
  --kritisch-hell: oklch(68% 0.19 30);
  --kritisch-grund:oklch(94.5% 0.032 30);
  --knapp:         oklch(52% 0.115 72);
  --knapp-grund:   oklch(95% 0.038 80);
  --tragfaehig:    oklch(47% 0.105 155);
  --tragfaehig-grund: oklch(95% 0.032 155);
  --unbesetzt:     oklch(47% 0.145 295);
  --unbesetzt-grund: oklch(95% 0.028 295);
  --obsolet:       oklch(50% 0.008 265);
  --obsolet-grund: oklch(93.5% 0.005 265);

  --akzent:        oklch(44% 0.135 258);
  --akzent-tief:   oklch(34% 0.13 258);

  /* Typografische Skala, fließend */
  --t-riesig: clamp(2.9rem, 1.4rem + 6.2vw, 6.4rem);
  --t-gross:  clamp(2rem, 1.2rem + 3.2vw, 3.6rem);
  --t-mittel: clamp(1.35rem, 1.1rem + 1.1vw, 1.85rem);
  --t-klein:  clamp(0.95rem, 0.92rem + 0.12vw, 1.02rem);
  --t-fein:   0.815rem;

  /* Raster auf 8px */
  --v1: 8px;  --v2: 16px; --v3: 24px; --v4: 40px;
  --v5: 64px; --v6: 96px; --v7: 144px;

  --linie: 1px solid var(--papier-rand);
  --ruhe: cubic-bezier(.22, 1, .36, 1);          /* ease-out-quint */
  --ruhe-schnell: cubic-bezier(.16, 1, .3, 1);   /* ease-out-expo  */
}

* { box-sizing: border-box; }

/* Lange, trennstellenlose Zeichenketten sprengen sonst schmale Geräte —
   gemessen bei 320 px an "Aufgabenverteilung_Entwurf1.xlsx" in der Quellenzeile. */
body { overflow-wrap: break-word; }
.quelle, code, .streich-zeile .name, .netz-schild { overflow-wrap: anywhere; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: "Archivo", ui-sans-serif, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--t-klein);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Atmosphäre statt flacher Fläche */
  background-image:
    radial-gradient(120% 80% at 12% -8%, oklch(96% 0.022 250 / .55), transparent 62%),
    radial-gradient(90% 60% at 100% 0%, oklch(96% 0.02 40 / .4), transparent 55%);
  background-attachment: fixed;
}

::selection { background: oklch(88% 0.08 250); color: var(--tinte); }

a { color: var(--akzent); text-decoration-thickness: 1px; text-underline-offset: 2.5px; }
a:hover { color: var(--akzent-tief); }

:focus-visible {
  outline: 2.5px solid var(--akzent);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Kopfzeile ---------- */

.kopf {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--papier) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: var(--linie);
}
.kopf .bahn { display: flex; align-items: baseline; gap: var(--v3); padding-block: 14px; flex-wrap: wrap; }

.marke {
  font-size: 1.32rem; font-weight: 500; letter-spacing: -.01em; color: var(--tinte);
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.marke i { font-style: italic; color: var(--tinte-leise); }

.kopf nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.kopf nav a {
  color: var(--tinte-leise); text-decoration: none;
  padding: 5px 11px; border-radius: 999px;
  font-size: .845rem; font-weight: 500; letter-spacing: .005em;
  transition: color .18s var(--ruhe), background-color .18s var(--ruhe);
}
.kopf nav a:hover { color: var(--tinte); background: var(--papier-tief); }
.kopf nav a.aktiv { color: var(--papier); background: var(--tinte); }

/* Auf Schmalgeräten passen acht Einträge in keine Zeile. Statt sie umbrechen zu
   lassen (drückt den Inhalt nach unten) läuft die Leiste waagerecht — gemessen
   bei 320 px, wo sie vorher 83 px aus der Seite ragte. */
@media (max-width: 900px) {
  .kopf .bahn { gap: 10px; }
  .kopf nav {
    margin-left: 0; width: 100%; flex-wrap: nowrap;
    overflow-x: auto; scrollbar-width: none;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    /* Andeuten, dass rechts noch etwas kommt */
    mask-image: linear-gradient(to right, #000 88%, transparent);
  }
  .kopf nav::-webkit-scrollbar { display: none; }
  .kopf nav a { white-space: nowrap; flex: none; }
}

/* ---------- Raster ---------- */

.bahn { width: min(1240px, 100% - 2 * var(--v3)); margin-inline: auto; }
main.bahn { padding-block: var(--v5) var(--v7); }

/* Zwölfspaltiges Raster, das bewusst asymmetrisch belegt wird */
.raster { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--v3); }
.sp-1-7  { grid-column: 1 / 8; }
.sp-1-8  { grid-column: 1 / 9; }
.sp-2-9  { grid-column: 2 / 10; }
.sp-8-13 { grid-column: 8 / 13; }
.sp-9-13 { grid-column: 9 / 13; }
.sp-voll { grid-column: 1 / -1; }

@media (max-width: 860px) {
  .sp-1-7, .sp-1-8, .sp-2-9, .sp-8-13, .sp-9-13 { grid-column: 1 / -1; }
}

/* ---------- Typografie ---------- */

/* Bodoni hat sehr feine Haarstriche. Zwei Dinge lassen sie ausfransen:
   das global gesetzte "antialiased" (dünnt zusätzlich aus) und das Grundgewicht
   400 bei mittleren Graden. Beides wird für die Serif-Elemente zurückgenommen;
   die optische Größe zieht die Strichstärke bei kleinen Graden von selbst nach. */
.titel, h2, .kapitel, .marke, .zahl, .werkzeug .nr, .saeule .wert,
.behauptung-text, .puls, .grossnummer {
  font-family: "Bodoni Moda", Didot, Georgia, serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

h1, h2, h3 { margin: 0; font-weight: 400; }

.titel {
  font-size: var(--t-riesig);
  line-height: .95;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.titel em { font-style: italic; color: var(--tinte-leise); }

h2, .kapitel {
  font-size: var(--t-gross);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.018em;
  margin-block: var(--v6) var(--v3);
  text-wrap: balance;
}
h2:first-child, .kapitel:first-child { margin-top: 0; }

h3 {
  font-family: "Archivo", sans-serif;
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.005em;
  line-height: 1.35; margin-bottom: 6px;
}

.vorspann {
  font-size: var(--t-mittel);
  line-height: 1.44;
  color: var(--tinte-leise);
  max-width: 34ch;
  text-wrap: pretty;
}
.fliess { max-width: 62ch; }
p { margin-block: 0 var(--v2); }
p:last-child { margin-bottom: 0; }

.aufschrift {
  font-size: var(--t-fein); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--tinte-still);
}
.quelle { font-size: .8rem; color: var(--tinte-still); line-height: 1.5; }
.quelle em { font-style: italic; }

/* ---------- Zahlen ---------- */

.zahlzeile { display: flex; flex-wrap: wrap; gap: var(--v4) var(--v5); }
.zahl-gruppe { min-width: 128px; }
.zahl {
  font-size: clamp(3.1rem, 2rem + 3.4vw, 5rem);
  font-weight: 500;
  line-height: .82; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  display: block; margin-bottom: 10px;
}
.zahl.klein { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); }
.zahl.rot { color: var(--kritisch); }
.zahl.lila { color: var(--unbesetzt); }
.zahl.ocker { color: var(--knapp); }
.zahl.gruen { color: var(--tragfaehig); }
.zahl-gruppe .unterschrift { font-size: .8rem; color: var(--tinte-still); max-width: 21ch; line-height: 1.45; }

/* ---------- Flächen ---------- */

.feld {
  border: var(--linie);
  border-radius: 14px;
  background: color-mix(in oklab, var(--papier) 72%, white);
  padding: var(--v3);
}
.feld.blank { background: none; }
.feld.eng { padding: var(--v2) var(--v3); }

.tiefe {
  background: var(--tiefe);
  color: var(--auf-tiefe);
  border-radius: 18px;
  border: 1px solid var(--tiefe-rand);
}
.tiefe .aufschrift { color: var(--auf-tiefe-leise); }
.tiefe a { color: oklch(80% 0.1 250); }

/* ---------- Fahnen ---------- */

.fahne {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2.5px 10px 3px; border-radius: 999px;
  font-size: .755rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  border: 1px solid transparent;
}
.fahne::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.fahne.kritisch   { color: var(--kritisch);   background: var(--kritisch-grund); border-color: oklch(88% .06 30); }
.fahne.knapp      { color: var(--knapp);      background: var(--knapp-grund); border-color: oklch(88% .06 80); }
.fahne.tragfaehig { color: var(--tragfaehig); background: var(--tragfaehig-grund); border-color: oklch(88% .05 155); }
.fahne.unbesetzt  { color: var(--unbesetzt);  background: var(--unbesetzt-grund); border-color: oklch(88% .05 295); }
.fahne.obsolet    { color: var(--obsolet);    background: var(--obsolet-grund); border-color: var(--papier-rand); }

/* ---------- Tabellen ---------- */

.rollbar { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table { width: 100%; border-collapse: collapse; font-size: .89rem; }
thead th {
  text-align: left; padding: 0 14px 9px; border-bottom: 1.5px solid var(--tinte);
  font-size: var(--t-fein); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tinte-leise); white-space: nowrap;
}
td { padding: 11px 14px; border-bottom: var(--linie); vertical-align: top; }
tbody tr { transition: background-color .14s var(--ruhe); }
tbody tr:hover { background: color-mix(in oklab, var(--papier-tief) 60%, transparent); }
td.z, th.z { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td strong { font-weight: 600; }
.warnzahl { color: var(--kritisch); font-weight: 700; }

/* ---------- Lastsäulen ---------- */

.saeulen {
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: clamp(6px, 1.2vw, 16px);
  align-items: end;
  min-height: 260px;
  padding-top: var(--v3);
}
.saeule { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; gap: 8px; }
.saeule .stab {
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(to top, var(--akzent), oklch(58% .1 258));
  transform-origin: bottom;
  animation: aufsteigen .9s var(--ruhe) backwards;
  position: relative;
}
.saeule.schwer .stab { background: linear-gradient(to top, var(--kritisch), var(--kritisch-hell)); }
.saeule .stab .allein {
  position: absolute; inset-inline: 0; bottom: 0;
  background: repeating-linear-gradient(-45deg, oklch(100% 0 0 / .28) 0 4px, transparent 4px 8px);
  border-radius: inherit;
}
.saeule .name { font-size: .78rem; font-weight: 600; line-height: 1.2; word-break: break-word; }
.saeule .wert { font-size: 1.42rem; font-weight: 600; line-height: 1; }

@keyframes aufsteigen { from { transform: scaleY(0); opacity: .4; } to { transform: scaleY(1); opacity: 1; } }

/* ---------- Netz ---------- */

.netz-halter {
  position: relative; border-radius: 18px; overflow: hidden;
  background: var(--tiefe); border: 1px solid var(--tiefe-rand);
  min-height: 420px;
}
.netz-halter canvas { display: block; width: 100%; height: 100%; }
.netz-kopf {
  position: absolute; inset: var(--v2) var(--v2) auto; z-index: 2;
  display: flex; justify-content: space-between; gap: 6px var(--v3); flex-wrap: wrap;
  pointer-events: none;
}
@media (max-width: 760px) {
  .netz-kopf { font-size: .72rem; }
  .netz-kopf .aufschrift { letter-spacing: .06em; }
}
.netz-kopf .aufschrift { color: var(--auf-tiefe-leise); }
.netz-schild {
  position: absolute; z-index: 3; pointer-events: none;
  background: var(--auf-tiefe); color: var(--tiefe);
  padding: 7px 11px; border-radius: 9px;
  font-size: .78rem; font-weight: 600; line-height: 1.35;
  box-shadow: 0 6px 22px oklch(0% 0 0 / .35);
  opacity: 0; transform: translate(-50%, -134%) scale(.96);
  transition: opacity .16s var(--ruhe), transform .16s var(--ruhe);
  max-width: 250px;
}
.netz-schild.sichtbar { opacity: 1; transform: translate(-50%, -124%) scale(1); }
.netz-schild small { display: block; font-weight: 400; color: oklch(38% .02 265); margin-top: 2px; }
.netz-legende {
  position: absolute; left: var(--v2); right: var(--v2); bottom: var(--v2); z-index: 2;
  display: flex; gap: var(--v2); flex-wrap: wrap; font-size: .76rem;
  color: var(--auf-tiefe-leise); pointer-events: none;
}
.netz-legende span { display: inline-flex; align-items: center; gap: 6px; }
.netz-legende i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* ---------- Knöpfe ---------- */

button, .knopf {
  font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer;
  border-radius: 999px; padding: 11px 22px;
  border: 1.5px solid var(--tinte); background: var(--tinte); color: var(--papier);
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .16s var(--ruhe-schnell), background-color .16s var(--ruhe), color .16s var(--ruhe), border-color .16s var(--ruhe);
  min-height: 44px;
}
button:hover, .knopf:hover { background: var(--akzent); border-color: var(--akzent); color: var(--papier); transform: translateY(-1.5px); }
button:active, .knopf:active { transform: translateY(0); }
button.stumm, .knopf.stumm { background: none; color: var(--tinte); border-color: var(--papier-rand); }
button.stumm:hover, .knopf.stumm:hover { border-color: var(--tinte); background: var(--papier-tief); color: var(--tinte); }
button.klein, .knopf.klein { padding: 7px 15px; font-size: .82rem; min-height: 38px; }

/* ---------- Formulare ---------- */

input[type=text], input[type=password], textarea, select {
  font: inherit; width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--papier-rand); border-radius: 11px;
  background: color-mix(in oklab, var(--papier) 60%, white); color: var(--tinte);
  transition: border-color .16s var(--ruhe);
}
input:hover, textarea:hover, select:hover { border-color: var(--tinte-still); }
textarea { min-height: 108px; resize: vertical; line-height: 1.55; }
label { display: block; font-weight: 600; font-size: .87rem; margin: var(--v3) 0 7px; }
label .hinweis { display: block; font-weight: 400; color: var(--tinte-still); font-size: .82rem; margin-top: 3px; }

/* ---------- Merkfelder ---------- */

.merk {
  border-left: 2.5px solid var(--knapp);
  background: color-mix(in oklab, var(--knapp-grund) 62%, transparent);
  padding: var(--v2) var(--v3); border-radius: 0 12px 12px 0;
  font-size: .89rem; margin-block: var(--v3);
}
.merk.ruhig { border-left-color: var(--akzent); background: color-mix(in oklab, oklch(94% .022 250) 62%, transparent); }
.merk strong { display: block; margin-bottom: 3px; }

.leer { color: var(--tinte-still); padding: var(--v4); text-align: center; font-size: .92rem; }

/* ---------- Werkzeugliste ---------- */

.werkzeuge { border-top: 1.5px solid var(--tinte); }
.werkzeug {
  display: grid; grid-template-columns: 3.2rem 1fr auto; gap: var(--v3);
  align-items: start; padding: var(--v3) 0; border-bottom: var(--linie);
  text-decoration: none; color: inherit;
  transition: background-color .2s var(--ruhe), padding-inline .2s var(--ruhe);
}
.werkzeug:hover { background: color-mix(in oklab, var(--papier-tief) 55%, transparent); padding-inline: var(--v2); color: inherit; }
.werkzeug .nr {
  font-size: 1.72rem; font-weight: 600;
  line-height: 1; color: var(--tinte-still); font-variant-numeric: tabular-nums;
}
.werkzeug .text { max-width: 58ch; }
.werkzeug .text p { margin: 4px 0 0; color: var(--tinte-leise); font-size: .89rem; }
.werkzeug .stand { text-align: right; font-size: .78rem; color: var(--tinte-still); white-space: nowrap; padding-top: 4px; }
.werkzeug .pfeil { transition: transform .22s var(--ruhe-schnell); display: inline-block; }
.werkzeug:hover .pfeil { transform: translateX(4px); }

@media (max-width: 620px) {
  .werkzeug { grid-template-columns: 2.2rem 1fr; }
  .werkzeug .stand { grid-column: 2; text-align: left; padding-top: 6px; }
}

/* ---------- Orakel ---------- */

.behauptung-buehne { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; }
.behauptung-text {
  font-size: clamp(1.7rem, 1.15rem + 2.3vw, 3.05rem);
  font-weight: 450;
  line-height: 1.14; letter-spacing: -.017em;
  max-width: 22ch; text-wrap: pretty;
  margin-bottom: var(--v3);
}
.behauptung-wahl { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--v3); }

.fortschritt { display: flex; align-items: center; gap: var(--v2); margin-bottom: var(--v4); }
.fortschritt .spur { flex: 1; max-width: 260px; height: 3px; background: var(--papier-rand); border-radius: 999px; overflow: hidden; }
.fortschritt .spur i { display: block; height: 100%; background: var(--tinte); border-radius: 999px; transition: width .5s var(--ruhe); }

/* ---------- Schattenknopf ---------- */

.puls {
  --gr: min(64vw, 330px);
  width: var(--gr); height: var(--gr); border-radius: 50%;
  border: none; padding: 0;
  background: radial-gradient(circle at 38% 32%, oklch(38% .05 265), var(--tiefe) 72%);
  color: var(--auf-tiefe);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  font-size: 1.9rem; font-weight: 500;
  box-shadow: 0 24px 70px oklch(20% .04 265 / .3), inset 0 1px 0 oklch(100% 0 0 / .12);
  position: relative; isolation: isolate;
}
.puls:hover { background: radial-gradient(circle at 38% 32%, oklch(42% .06 265), var(--tiefe) 72%); transform: none; color: var(--auf-tiefe); }
.puls small { font-family: "Archivo", sans-serif; font-size: .82rem; font-weight: 400; color: var(--auf-tiefe-leise); letter-spacing: .02em; }
.puls::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 1.5px solid var(--kritisch-hell); opacity: 0; z-index: -1;
}
.puls.schlaegt::after { animation: welle .62s var(--ruhe-schnell); }
@keyframes welle {
  from { opacity: .85; transform: scale(1); }
  to   { opacity: 0; transform: scale(1.24); }
}
.puls:active { transform: scale(.975); }

/* ---------- Streichliste ---------- */

.streich-zeile {
  display: grid; grid-template-columns: minmax(150px, 1.1fr) auto 1fr auto;
  gap: var(--v2); align-items: center;
  padding: 13px 0; border-bottom: var(--linie);
}
.streich-zeile:last-child { border-bottom: 0; }
.streich-zeile .name { font-weight: 600; }
.streich-zeile .wer { font-size: .8rem; color: var(--tinte-still); }
.streich-zeile .wahl { display: flex; gap: 5px; justify-self: end; }
.streich-zeile .wahl button { padding: 6px 13px; font-size: .8rem; font-weight: 500; min-height: 36px; }
.streich-zeile .wahl button[aria-pressed=true] { background: var(--tinte); border-color: var(--tinte); color: var(--papier); }
.streich-zeile .wahl button[aria-pressed=true][value=abschaffen] { background: var(--kritisch); border-color: var(--kritisch); }

@media (max-width: 780px) {
  .streich-zeile { grid-template-columns: 1fr auto; row-gap: 9px; }
  .streich-zeile .wer { grid-column: 1 / -1; }
  .streich-zeile .wahl { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Fuß ---------- */

.fuss { border-top: var(--linie); margin-top: var(--v6); padding-block: var(--v3) var(--v5); color: var(--tinte-still); font-size: .82rem; }

/* ---------- Auftritt ---------- */

.auftritt { animation: heben .62s var(--ruhe) backwards; }
.auftritt:nth-child(1) { animation-delay: .02s; }
.auftritt:nth-child(2) { animation-delay: .09s; }
.auftritt:nth-child(3) { animation-delay: .16s; }
.auftritt:nth-child(4) { animation-delay: .23s; }
.auftritt:nth-child(5) { animation-delay: .3s; }
@keyframes heben { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}
