/* Begleitseite zur Präsentation – Farben nach Demokratie Bewahren e.V. */

:root {
  --hintergrund: #ffffff;
  --text: #000000;
  --text-gedaempft: #33363f;
  --karte: #ffffff;
  --rahmen: #e5e5e5;
  --gelb: #ffcc00;
  --blau: #1b59f8;
  --rot: #dc0c15;
  --flaeche: #f8f8f8;
  --radius: 20px;
  --schatten: 0 4px 4px rgba(0, 0, 0, .25), 0 2px 5px rgba(0, 0, 0, .25);
  --schrift: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --hintergrund: #141414;
    --text: #ffffff;
    --text-gedaempft: #a0a0a0;
    --karte: #1e1e1e;
    --rahmen: #3c3c3c;
    --flaeche: #1e1e1e;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  background: var(--hintergrund);
}

a { color: var(--blau); }

/* Kopf mit dem Umschalter – bleibt oben kleben */

.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--hintergrund);
  border-bottom: 1px solid var(--rahmen);
  padding: 12px 16px;
}

.kopf-innen {
  max-width: 720px;
  margin: 0 auto;
}

.titel {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text-gedaempft);
  text-align: center;
}

/* Hauptnavigation: horizontal, bei Platzmangel Burgermenü (nav.js) */

.kopf-innen { position: relative; }

.menue {
  list-style: none;
  margin: 0;
  padding: 6px;
  display: flex;
  flex-wrap: wrap;            /* ohne JavaScript umbrechen statt abschneiden */
  gap: 6px;
  border: 1px solid var(--rahmen);
  border-radius: var(--radius);
  background: var(--flaeche);
}

.kopf.js:not(.eingeklappt) .menue { flex-wrap: nowrap; }

.menue li { flex: 1 1 auto; }

.menue a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: calc(var(--radius) - 6px);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

.menue a:hover { background: var(--hintergrund); }

.menue a[aria-current="page"] {
  background: var(--gelb);
  color: #000000;
}

.menue a:focus-visible,
.menue-knopf:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 2px;
}

.menue-knopf {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 16px;
  border: 1px solid var(--rahmen);
  border-radius: 14px;
  background: var(--flaeche);
  color: var(--text);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.burger { display: grid; gap: 4px; width: 20px; }
.burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.offen .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.offen .burger i:nth-child(2) { opacity: 0; }
.offen .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Eingeklappt: Titel links, Knopf rechts, Menü klappt darunter auf */
.kopf.eingeklappt .kopf-innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.kopf.eingeklappt .titel { margin: 0; text-align: left; }
.kopf.eingeklappt .menue-knopf { display: inline-flex; flex: none; }
.kopf.eingeklappt .menue {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  flex-direction: column;
  box-shadow: var(--schatten);
  background: var(--karte);
}
.kopf.eingeklappt .offen .menue { display: flex; }
.kopf.eingeklappt .menue a { justify-content: flex-start; padding: 12px 16px; }
.kopf.eingeklappt .offen .menue-knopf { background: var(--gelb); border-color: var(--gelb); color: #000000; }

/* Inhalt */

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

.hinweis {
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--text-gedaempft);
}

h1 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
}

h2 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.3;
}

/* Folien */

.folien {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.folie {
  padding: 20px;
  border: 1px solid var(--rahmen);
  border-radius: var(--radius);
  background: var(--karte);
}

.folie p { margin: 8px 0 0; }

.folie ul { margin: 8px 0 0; padding-left: 22px; list-style: disc; }

.bild {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  margin-top: 12px;
  border: 1px dashed var(--rahmen);
  border-radius: calc(var(--radius) - 8px);
  background: var(--flaeche);
  color: var(--text-gedaempft);
  font-size: 14px;
}

/* Fußnotenmarke → Quelle */

.q {
  font-size: 13px;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
  text-decoration: none;
  padding: 0 2px;
}

/* Quellen */

.quellen {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: quelle;
}

.quelle {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 16px 16px 16px 12px;
  border: 1px solid var(--rahmen);
  border-radius: var(--radius);
  background: var(--karte);
  scroll-margin-top: 140px;
}

.quelle:target { border-color: var(--gelb); box-shadow: 0 0 0 3px var(--gelb); }

.quelle::before {
  counter-increment: quelle;
  content: "[" counter(quelle) "]";
  font-weight: 700;
  color: var(--text-gedaempft);
}

.quelle h2 { font-size: 18px; }

.quelle p {
  margin: 4px 0 0;
  font-size: 16px;
  color: var(--text-gedaempft);
}

.quelle a { word-break: break-all; }

.quelle .folienbezug { font-size: 14px; }

.gruppe {
  margin: 28px 0 10px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-gedaempft);
}

.gruppe:first-of-type { margin-top: 8px; }

/* Fuß */

footer {
  padding: 20px 16px;
  border-top: 1px solid var(--rahmen);
  background: var(--flaeche);
  font-size: 14px;
  color: var(--text-gedaempft);
  text-align: center;
}

footer a { color: inherit; }

@media (min-width: 600px) {
  .kopf { padding: 16px; }
  .titel { font-size: 16px; }
  h1 { font-size: 35px; }
}

/* Nur für Vorleseprogramme */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Karten sind anklickbar */

.folie[role="button"] { cursor: pointer; }

.folie[role="button"]:hover { border-color: var(--gelb); }

.folie[role="button"]:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 2px;
}

/* Vollbildansicht */

body.vollbild-offen { overflow: hidden; }

.vollbild {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #33363f;
  opacity: 0;
  transition: opacity .22s ease;
}

.vollbild.sichtbar { opacity: 1; }

.vollbild-buehne {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas:
    "mitte mitte"
    "links rechts";
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 16px;
}

.vollbild-mitte { grid-area: mitte; }
.pfeil-links { grid-area: links; }
.pfeil-rechts { grid-area: rechts; }

.vollbild-mitte {
  min-width: 0;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  max-height: 100%;
  overflow-y: auto;
  touch-action: pan-y;
}

.vollbild-folie {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--karte);
  color: var(--text);
  box-shadow: var(--schatten);
  outline: none;
}

.vollbild-folie h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.vollbild-folie p { margin: 10px 0 0; }

.vollbild-folie ul { margin: 10px 0 0; padding-left: 22px; list-style: disc; }

.vollbild-folie .bild { margin-top: 16px; }

.vollbild-zaehler {
  margin: 12px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.vollbild-quellen {
  margin-top: 12px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  color: #ffffff;
}

.vollbild-quellen:empty { display: none; }

.vollbild-quellen-titel {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .8;
}

.vollbild-quellen ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.vollbild-quellen a {
  color: var(--gelb);
  font-weight: 600;
}

.pfeil {
  width: 100%;
  height: 56px;
  margin: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

.pfeil:hover:not(:disabled) { background: var(--gelb); color: #000000; }

.pfeil:disabled { opacity: .25; cursor: default; }

.pfeil:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }

@media (min-width: 700px) {
  .vollbild-buehne {
    grid-template-columns: 80px minmax(0, 1fr) 80px;
    grid-template-rows: 1fr;
    grid-template-areas: "links mitte rechts";
    gap: 0;
    padding: 32px 0;
  }
  .pfeil { width: 44px; height: 64px; margin: 0 16px; }
  .pfeil-links { justify-self: start; }
  .pfeil-rechts { justify-self: end; }
  .vollbild-folie { padding: 40px 36px; }
  .vollbild-folie h2 { font-size: 32px; }
}

/* ---------- Inhalte der Rotary-Präsentation ---------- */

.folie ol.nummern { margin: 8px 0 0; padding-left: 24px; }
.folie ol.nummern li + li, .vollbild-folie ol.nummern li + li { margin-top: 6px; }
.vollbild-folie ol.nummern { margin: 10px 0 0; padding-left: 24px; }

.zitat {
  margin: 12px 0 0;
  padding: 16px 18px;
  border-radius: calc(var(--radius) - 8px);
  background: var(--gelb);
  color: #000000;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.klein { font-size: 15px; color: var(--text-gedaempft); }

/* Abbildungen */
.abb { margin: 12px 0 0; }
.abb img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rahmen);
  border-radius: calc(var(--radius) - 8px);
  background: #ffffff;
}
.abb figcaption { margin-top: 6px; font-size: 14px; color: var(--text-gedaempft); }

/* Balkendiagramme */
.folie ul.balken, .vollbild-folie ul.balken {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.balken li {
  display: grid;
  grid-template-columns: minmax(90px, 34%) 1fr;
  align-items: center;
  column-gap: 10px;
  font-size: 15px;
}
.balken li > span { color: var(--text-gedaempft); }
.balken li > b {
  display: block;
  width: max(var(--w), 2px);
  min-height: 22px;
  padding: 1px 0 1px 6px;
  background: #d9d9d9;
  color: #000000;
  font-size: 13px;
  white-space: nowrap;
  overflow: visible;
}
.balken li:first-child > b, .balken li.eigen > b { background: var(--gelb); }
.balken li.eigen > span { color: var(--text); font-weight: 700; }

.balken.paare li { grid-template-columns: minmax(70px, 24%) 1fr; row-gap: 3px; }
.balken.paare li > span { grid-row: span 2; }
.balken.paare li > i {
  display: block;
  width: max(var(--w), 2px);
  padding: 0 0 0 6px;
  background: #d9d9d9;
  color: #000000;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}
.balken.paare li > i.feed { background: var(--gelb); }

.legende { font-size: 14px; color: var(--text-gedaempft); }
.punkt { display: inline-block; width: 12px; height: 12px; margin: 0 4px 0 8px; vertical-align: -1px; }
.punkt:first-child { margin-left: 0; }
.punkt.grau { background: #d9d9d9; }
.punkt.gelb { background: var(--gelb); }

/* Kennzahl-Kacheln */
.folie ul.kacheln, .vollbild-folie ul.kacheln {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}
.kacheln li {
  padding: 12px;
  border-radius: calc(var(--radius) - 8px);
  background: var(--flaeche);
  border: 1px solid var(--rahmen);
  font-size: 14px;
  color: var(--text-gedaempft);
}
.kacheln li b { display: block; font-size: 24px; line-height: 1.2; color: var(--text); }
.kacheln li small { display: block; font-size: 13px; }
.kacheln li.hervor { background: var(--gelb); border-color: var(--gelb); color: #000000; }
.kacheln li.hervor b { color: #000000; }

/* Themen als Chips */
.folie ul.themen, .vollbild-folie ul.themen {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.themen li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--flaeche);
  border: 1px solid var(--rahmen);
  font-size: 15px;
  font-weight: 600;
}

/* Kanäle */
.folie ul.kanaele, .vollbild-folie ul.kanaele {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
}
.kanaele a {
  display: block;
  padding: 12px 14px;
  border-radius: calc(var(--radius) - 8px);
  background: var(--gelb);
  color: #000000;
  font-weight: 700;
  text-decoration: none;
}
.kanaele small { display: block; font-weight: 400; font-size: 13px; }

.konto {
  padding: 12px 14px;
  border-radius: calc(var(--radius) - 8px);
  background: var(--flaeche);
  border: 1px solid var(--rahmen);
}

/* ---------- Unterstützen und Feedback ---------- */

.karte {
  margin: 0 0 16px;
  padding: 20px;
  border: 1px solid var(--rahmen);
  border-radius: var(--radius);
  background: var(--karte);
}
.karte > p { margin: 0 0 12px; }
.karte h2 { margin-bottom: 8px; }

.karte ul.kanaele {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
}

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border: 0;
  border-radius: 14px;
  background: var(--gelb);
  color: #000000;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.knopf:hover { filter: brightness(.95); }
.knopf:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }
.karte > .knopf { margin-top: 4px; }

/* Formular */
.formular { display: grid; gap: 18px; }

.formular fieldset { margin: 0; padding: 0; border: 0; }
.formular legend, .feld > label { display: block; margin-bottom: 6px; font-weight: 700; }
.pflicht, .optional { font-weight: 400; font-size: 14px; color: var(--text-gedaempft); }

.feld input, .feld textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rahmen);
  border-radius: 12px;
  background: var(--flaeche);
  color: var(--text);
  font: inherit;
  font-size: 17px;
}
.feld textarea { resize: vertical; min-height: 140px; }
.feld input:focus, .feld textarea:focus { outline: 3px solid var(--gelb); outline-offset: 0; border-color: var(--gelb); }
.feld [aria-invalid="true"] { border-color: var(--rot); }

.auswahl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 600px) { .auswahl { grid-template-columns: repeat(4, 1fr); } }
.auswahl label { position: relative; }
.auswahl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.auswahl span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px;
  border: 1px solid var(--rahmen);
  border-radius: 12px;
  background: var(--flaeche);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
.auswahl input:checked + span { background: var(--gelb); border-color: var(--gelb); color: #000000; }
.auswahl input:focus-visible + span { outline: 3px solid var(--blau); outline-offset: 2px; }

.haken { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 16px; }
.haken input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gelb); }

.fehler { margin: 6px 0 0; font-size: 15px; font-weight: 600; color: var(--rot); }
.haken + .fehler { margin-top: -10px; }

.formular-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--flaeche);
  border: 1px solid var(--gelb);
  font-size: 16px;
}
.formular .knopf { justify-self: start; }
.formular input, .formular textarea { scroll-margin-top: 200px; }

/* ---------- Folien als Bilder (1:1 aus Keynote) ---------- */

main.praesentation { max-width: 1000px; }

.folie.folie-bild { padding: 0; overflow: hidden; }

.folie-bild > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #ffffff;
  border-bottom: 1px solid var(--rahmen);
}

.folie-bild .folie-fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  padding: 10px 16px 0;
  font-size: 14px;
  color: var(--text-gedaempft);
}
.folie-bild .folie-fuss span { font-weight: 700; }

.folie-bild .folie-links { margin: 6px 0 0; padding: 0 16px; font-size: 15px; font-weight: 600; }

.folientext { margin: 0; padding: 6px 16px 14px; font-size: 16px; }
.folientext summary {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-gedaempft);
  cursor: pointer;
}
.folientext summary:hover { color: var(--text); }
.folientext summary:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; border-radius: 6px; }
.folientext > div { padding: 4px 0 2px; }
.folientext p, .folientext ul, .folientext ol { margin: 8px 0 0; }
.folientext ul, .folientext ol { padding-left: 22px; }
.folientext li + li { margin-top: 4px; }
@media (min-width: 600px) { .folientext ul.spalten { columns: 2; column-gap: 32px; } }

/* Vollbild: Folie so groß wie möglich, ohne dass sie aus dem Bildschirm ragt */
.vollbild-mitte { max-width: min(1280px, calc((100vh - 320px) * 16 / 9)); touch-action: pan-y pinch-zoom; }
@media (max-width: 699px) { .vollbild-mitte { max-width: 100%; } }
.vollbild-folie:has(> img) { padding: 0; overflow: hidden; }
.vollbild-folie > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #ffffff; }
.vollbild-folie .folie-fuss { display: none; }
.vollbild-folie .folie-links { margin: 12px 0 0; padding: 0 20px; }
.vollbild-folie .folientext { padding: 8px 20px 16px; }

/* ── Live-Umfrage (quiz.html) ─────────────────────────────────────────── */

.frage-karte h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.3; }

.frage-nummer {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-gedaempft);
}

.code-eingabe {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .3em;
  text-align: center;
  text-transform: uppercase;
}

/* Antwortmöglichkeiten: grosse Flächen, weil hier im Stehen mit dem Daumen
   getippt wird. Das Kästchen selbst bleibt sichtbar — ohne es ist bei einer
   Mehrfachauswahl nicht erkennbar, dass mehrere Haken möglich sind. */

.auswahl-gruppe { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }

.antwort {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid var(--rahmen);
  border-radius: 14px;
  background: var(--flaeche);
  font-size: 17px;
  cursor: pointer;
}

.antwort:has(input:checked) {
  border-color: var(--gelb);
  box-shadow: 0 0 0 2px var(--gelb);
}

.antwort:has(input:focus-visible) {
  outline: 3px solid var(--blau);
  outline-offset: 2px;
}

.antwort input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--blau); }

/* Schätzskala */

.skala { text-align: center; }

/* Zahl und Einheit nebeneinander, die Zahl so gross wie die alte Anzeige —
   sie IST die Anzeige, nur eben auch eingebbar. */
.skala-zeile {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.feld .skala-eingabe {
  width: 4.5em;
  padding: 6px 8px;
  border: 1px solid var(--rahmen);
  border-radius: 12px;
  background: var(--flaeche);
  color: var(--text);
  font: inherit;
  font-size: 34px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.feld .skala-eingabe:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }

.skala-einheit { font-size: 26px; font-weight: 700; color: var(--text-gedaempft); }

.skala input[type="range"] { width: 100%; height: 36px; accent-color: var(--blau); }

.skala-enden {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--text-gedaempft);
}

/* Ergebnis */

.ergebnis { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rahmen); }

.ergebnis-titel {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-gedaempft);
}

.ergebnis-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.ergebnis-kopf {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
}

.ergebnis-name { min-width: 0; overflow-wrap: anywhere; }

.ergebnis-zahl {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  color: var(--text-gedaempft);
}

.ergebnis-spur {
  margin-top: 4px;
  height: 12px;
  border-radius: 999px;
  background: var(--rahmen);
  overflow: hidden;
}

.ergebnis-fuellung {
  height: 100%;
  border-radius: 999px;
  background: var(--gelb);
  /* Die Übergangszeit macht aus einem Sprung eine Bewegung — an der Wand
     sieht man dadurch, dass gerade jemand geantwortet hat. */
  transition: width .6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .ergebnis-fuellung { transition: none; }
}

.mittelwert { margin: 12px 0 0; font-size: 17px; }

.bestaetigung {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--gelb);
  color: #000000;
  font-weight: 700;
}

