/* Netzleicht – Stylesheet
   Leitbild: eine gut gemachte Zeitung auf gutem Papier.
   Serifenschrift zum Lesen, klare Linien statt Schatten, große Schrift, hoher Kontrast, große Klickflächen. */

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/literata-normal.woff2") format("woff2-variations"), url("/fonts/literata-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Literata";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/literata-italic.woff2") format("woff2-variations"), url("/fonts/literata-italic.woff2") format("woff2");
}

:root {
  --papier: #f4eee2;
  --papier-hell: #fbf8f1;
  --tinte: #1c1b19;
  --tinte-leise: #4a463e;
  --linie: #cbc1ad;
  --blau: #1d4a85;
  --blau-dunkel: #143562;
  --blau-hell: #e6ecf3;
  --rot: #9a2b1e;
  --warnung: #7f4300;
  --warnung-hell: #fbefd7;
  --tipp: #1d5e3f;
  --tipp-hell: #e7f1e8;
  --serif: "Literata", Georgia, Cambria, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite-text: 44rem;
  --breite-seite: 72rem;
  /* feines Papierkorn als SVG-Rauschen – ohne Bilddatei */
  --korn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .27 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background-color: var(--papier);
  background-image: var(--korn);
  color: var(--tinte);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.07rem + 0.4vw, 1.3rem);
  line-height: 1.7;
  font-optical-sizing: auto;
  hyphens: manual;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--blau);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--blau-dunkel); text-decoration-thickness: 0.13em; }

:focus-visible {
  outline: 3px solid #e09a00;
  outline-offset: 3px;
  border-radius: 3px;
}

h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.18;
  color: var(--tinte);
  font-weight: 750;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.05rem, 1.5rem + 2.4vw, 3.1rem); margin: 0 0 0.5em; font-weight: 800; }
h2 { font-size: clamp(1.45rem, 1.25rem + 0.9vw, 1.85rem); margin: 2em 0 0.6em; }
h3 { font-size: 1.22em; margin: 1.6em 0 0.5em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1.2em; }
li { margin: 0.35em 0; }
strong { font-weight: 700; }
small { font-size: 0.85em; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--tinte);
  color: #fff;
  font-family: var(--sans);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Rubrik-Zeile wie in der Zeitung: kleine Großbuchstaben, rot */
.rubrik, .artikel__rubrik {
  display: block;
  margin: 0 0 0.45rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rot);
}

/* ------------------------------------------------ Zeitungskopf */

.kopf { padding-top: 1rem; }
.kopf__innen {
  width: min(100% - 2rem, var(--breite-seite));
  margin: 0 auto;
  text-align: center;
}
.kopf__zeile {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.4rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tinte-leise);
}
.kopf__zeile a { color: inherit; }
.marke {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0 0.2rem;
  color: var(--tinte);
  text-decoration: none;
}
.marke:hover { color: var(--tinte); }
.marke__zeichen { width: 2.3rem; height: 2.3rem; flex: none; }
.marke__name {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.015em;
}
.marke__unterzeile {
  margin: 0.35rem 0 0.7rem;
  font-style: italic;
  color: var(--tinte-leise);
}
.kopf__linie {
  border: 0;
  border-top: 3px solid var(--tinte);
  border-bottom: 1px solid var(--tinte);
  height: 6px;
  margin: 0;
}
.navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.2rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--tinte);
}
.navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.3rem 0.85rem;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--tinte);
  text-decoration: none;
}
.navigation a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.navigation a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.35em; }
.navigation .navigation__fragen { color: var(--blau); }

/* ------------------------------------------------ Grundlayout */

.seite {
  width: min(100% - 2rem, var(--breite-text));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}
.seite--breit { width: min(100% - 2rem, var(--breite-seite)); }

.lead { font-size: 1.15em; color: var(--tinte-leise); }
.klein { font-size: 0.88em; color: var(--tinte-leise); }

.brotkrumen {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--tinte-leise);
}
.brotkrumen a { display: inline-block; padding: 0.35rem 0; color: var(--tinte-leise); }

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.55rem 1.3rem;
  border: 2px solid var(--tinte);
  border-radius: 3px;
  background: var(--tinte);
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.knopf:hover { background: var(--blau-dunkel); border-color: var(--blau-dunkel); color: #fff; }
.knopf--zweit { background: transparent; color: var(--tinte); }
.knopf--zweit:hover { background: var(--papier-hell); color: var(--tinte); }

/* Abschnittsüberschrift mit Linie, wie ein Ressortkopf */
.abschnitt { margin-top: 2.8rem; }
.abschnitt__kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2rem 1rem;
  margin-bottom: 1.2rem;
  padding-top: 0.5rem;
  border-top: 3px solid var(--tinte);
}
.abschnitt__kopf h2 { margin: 0; font-size: 1.5rem; }
.abschnitt__kopf p { margin: 0; color: var(--tinte-leise); font-style: italic; }

/* ------------------------------------------------ Startseite */

.held {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 0.5rem 0 1.5rem;
  border-bottom: 1px solid var(--linie);
}
.held h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); margin-bottom: 0.4em; }
.held__lead { font-size: 1.15em; color: var(--tinte-leise); max-width: 36rem; }
.held__bild { margin: 0; }
.held__bild img { border: 1px solid var(--linie); }
.held__bild figcaption, .bildunterschrift {
  margin-top: 0.4rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--tinte-leise);
}

.merkmale {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
}
.merkmale li { margin: 0; }
.merkmale li::before { content: "✓ "; color: var(--tipp); }

.notfall {
  margin: 1.8rem 0 0.5rem;
  padding: 1rem 1.3rem 1.1rem;
  background: var(--warnung-hell);
  border: 2px solid var(--tinte);
}
.notfall h2 { margin: 0 0 0.3rem; font-size: 1.3rem; }
.notfall__liste { margin: 0; padding-left: 1.2em; }
.notfall__liste a { font-weight: 700; color: var(--warnung); }

.themen, .karten {
  display: grid;
  gap: 0;
}
.thema, .karte {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 0 1.2rem;
  border-bottom: 1px solid var(--linie);
  color: var(--tinte);
  text-decoration: none;
}
.thema:hover, .karte:hover { color: var(--tinte); }
.thema:hover .thema__name, .karte:hover .karte__titel { text-decoration: underline; text-decoration-thickness: 2px; }
.thema__name, .karte__titel {
  font-family: var(--serif);
  color: var(--tinte);
  font-weight: 750;
  font-size: 1.28em;
  line-height: 1.25;
}
.thema__text, .karte__text { color: var(--tinte-leise); font-size: 0.97em; }
.thema__anzahl, .karte__meta {
  margin-top: auto;
  padding-top: 0.3rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--tinte-leise);
}
.karte .rubrik { margin-bottom: 0.1rem; }

.vertrauen {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding-top: 0.8rem;
  border-top: 3px solid var(--tinte);
}
.vertrauen h2 { margin-top: 0; }
.vertrauen__liste { list-style: none; padding: 0; }
.vertrauen__liste li { margin: 0 0 0.8em; padding-left: 1.7em; position: relative; }
.vertrauen__liste li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--tipp);
  font-weight: 800;
}
.vertrauen__bild { margin: 0; }

.leserpost {
  margin-top: 2.8rem;
  padding: 1.4rem 1.5rem;
  background: var(--papier-hell);
  border: 1px solid var(--tinte);
  box-shadow: 4px 4px 0 var(--tinte);
}
.leserpost h2 { margin: 0 0 0.4rem; font-size: 1.5rem; }
.leserpost p:last-child { margin-bottom: 0; }

.kategorie-kopf { margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 3px solid var(--tinte); }

/* ------------------------------------------------ Artikel */

.text > h1:first-child { margin-top: 0.2em; }
.artikel__kopf { margin-bottom: 1rem; }
.artikel__meta {
  padding: 0.5rem 0;
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--tinte-leise);
}

/* Initiale am Textanfang */
.artikel__rumpf > p:first-child::first-letter,
.artikel__rumpf > .szene:first-child + p::first-letter {
  float: left;
  margin: 0.08em 0.1em 0 0;
  font-size: 3.4em;
  line-height: 0.85;
  font-weight: 800;
  color: var(--tinte);
}

.kurz {
  margin: 1.4rem 0;
  padding: 1rem 1.3rem;
  background: var(--papier-hell);
  border-top: 4px solid var(--tinte);
  border-bottom: 1px solid var(--tinte);
}
.kurz__titel {
  margin: 0 0 0.4rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rot);
}
.kurz p:last-child, .kurz ul:last-child, .kurz ol:last-child { margin-bottom: 0; }
.kurz li p { margin: 0; }
.kurz p { margin-bottom: 0.6em; }

.inhalt {
  margin: 1.4rem 0 2rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  font-family: var(--sans);
  font-size: 0.97rem;
}
.inhalt__titel { margin: 0 0 0.3rem; font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.inhalt ol { margin: 0; }
.inhalt a { display: inline-block; padding: 0.15rem 0; }

.artikel__rumpf h2 { scroll-margin-top: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--linie); }
.artikel__rumpf h3 { scroll-margin-top: 1rem; }

/* Schrittfolgen: nummerierte Listen gut sichtbar */
.artikel__rumpf ol {
  list-style: none;
  counter-reset: schritt;
  padding-left: 0;
}
.artikel__rumpf ol > li {
  counter-increment: schritt;
  position: relative;
  padding: 0.1rem 0 0.1rem 3rem;
  margin: 0.9em 0;
  min-height: 2.3rem;
}
.artikel__rumpf ol > li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tinte);
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1rem;
}

.artikel__rumpf table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  display: block;
  overflow-x: auto;
  font-family: var(--sans);
  font-size: 0.95em;
}
.artikel__rumpf th, .artikel__rumpf td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--linie);
  text-align: left;
  vertical-align: top;
}
.artikel__rumpf th { border-bottom: 2px solid var(--tinte); }

.artikel__rumpf blockquote {
  margin: 1.4rem 0;
  padding: 0 0 0 1.1rem;
  border-left: 3px solid var(--tinte);
  font-style: italic;
}
.artikel__rumpf blockquote p:last-child { margin-bottom: 0; }

/* Hinweiskästen: !!! wichtig / !!! tipp / !!! hinweis / !!! angehoerige */
.admonition {
  margin: 1.5rem 0;
  padding: 0.9rem 1.2rem;
  background: var(--papier-hell);
  border: 1px solid var(--linie);
  border-left: 5px solid var(--tinte);
}
.admonition > :last-child { margin-bottom: 0; }
.admonition-title {
  margin-bottom: 0.3rem;
  font-family: var(--sans);
  font-weight: 800;
}
.admonition.wichtig { background: var(--warnung-hell); border-left-color: var(--warnung); }
.admonition.wichtig .admonition-title { color: var(--warnung); }
.admonition.tipp { background: var(--tipp-hell); border-left-color: var(--tipp); }
.admonition.tipp .admonition-title { color: var(--tipp); }
.admonition.hinweis { background: var(--blau-hell); border-left-color: var(--blau); }
.admonition.hinweis .admonition-title { color: var(--blau-dunkel); }
.admonition.angehoerige { border-left-color: var(--rot); }
.admonition.angehoerige .admonition-title { color: var(--rot); }

/* Checkliste als Coupon zum Ausschneiden */
.checkliste {
  position: relative;
  margin: 2.5rem 0 2rem;
  padding: 1.4rem 1.5rem 1.2rem;
  background: var(--papier-hell);
  border: 2px dashed var(--tinte);
}
.checkliste::before {
  content: "✂ zum Ausschneiden und Aufheben";
  position: absolute;
  top: -0.8rem;
  left: 1rem;
  padding: 0 0.5rem;
  background: var(--papier);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tinte-leise);
}
.checkliste h2 { margin-top: 0; }
.checkliste ul { list-style: none; padding: 0; }
.checkliste li { position: relative; padding-left: 2.2rem; margin: 0.7em 0; }
.checkliste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 1.3rem;
  height: 1.3rem;
  border: 2px solid var(--tinte);
}

.quellen {
  margin-top: 2.5rem;
  padding-top: 0.8rem;
  border-top: 3px solid var(--tinte);
  font-size: 0.92em;
}
.quellen h2 { margin-top: 0.3rem; font-size: 1.25rem; }
.quellen li { margin: 0.5em 0; }

.teilen, .rueckmeldung {
  margin-top: 2rem;
  padding: 1.2rem 1.4rem;
  background: var(--papier-hell);
  border: 1px solid var(--tinte);
}
.rueckmeldung { box-shadow: 4px 4px 0 var(--tinte); }
.teilen h2, .rueckmeldung h2 { margin-top: 0; font-size: 1.3rem; }
.teilen__knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }

.verwandt .abschnitt__kopf h2 { font-size: 1.4rem; }

.nur-druck { display: none; }

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

.fuss {
  margin-top: 3rem;
  border-top: 3px solid var(--tinte);
}
.fuss__innen {
  width: min(100% - 2rem, var(--breite-seite));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  display: grid;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.97rem;
}
.fuss__marke strong { font-family: var(--serif); font-size: 1.4rem; }
.fuss__marke p { margin: 0.2rem 0 0; color: var(--tinte-leise); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.fuss nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--tinte); }
.fuss__kontakt { margin: 0; color: var(--tinte-leise); }

/* ------------------------------------------------ Breitere Bildschirme */

@media (min-width: 40rem) {
  .themen { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}

@media (min-width: 60rem) {
  .held { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; padding: 1rem 0 2rem; }
  .karten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .karten--titelseite .karte:first-child { grid-column: 1 / -1; padding: 0.5rem 0 1.6rem; border-bottom: 3px double var(--tinte); }
  .karten--titelseite .karte:first-child .karte__titel { font-size: 2.3rem; max-width: 52rem; }
  .karten--titelseite .karte:first-child .karte__text { font-size: 1.12em; max-width: 46rem; }
  .vertrauen { grid-template-columns: 1.4fr 0.6fr; }
  .fuss__innen { grid-template-columns: 1fr auto; align-items: start; }
  .fuss__kontakt { grid-column: 1 / -1; }
}

@media (max-width: 30rem) {
  .kopf__zeile span:last-child { display: none; }
  .kopf__zeile { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ------------------------------------------------ Druck */

@media print {
  @page { margin: 1.6cm; }
  body { background: #fff; color: #000; font-size: 12.5pt; line-height: 1.5; }
  .kopf, .fuss, .brotkrumen, .inhalt, .teilen, .rueckmeldung, .verwandt, .nicht-drucken, .skip-link { display: none !important; }
  .nur-druck { display: block; font-size: 10pt; color: #333; }
  .seite { width: 100%; padding: 0; }
  a { color: #000; text-decoration: none; }
  .quellen a::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
  .kurz, .admonition, .checkliste { break-inside: avoid; background: #fff; }
  .checkliste::before { background: #fff; }
  .artikel__rumpf ol > li::before { background: #fff; color: #000; border: 2px solid #000; }
  h2, h3 { break-after: avoid; }
}

/* ------------------------------------------------ Nachgebaute Bildschirme, Klickpfade, Tasten */

.klickpfad {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.35rem;
}
.klickpfad li,
.artikel__rumpf ol.klickpfad > li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  min-height: 0;
}
.artikel__rumpf ol.klickpfad > li::before { content: none; }
.klickpfad li + li::before,
.artikel__rumpf ol.klickpfad > li + li::before {
  content: "›";
  position: static;
  display: inline;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  color: var(--tinte);
  font-size: 1.5em;
  font-weight: 800;
  line-height: 1;
}
.klickpfad__schritt {
  padding: 0.3rem 0.8rem;
  background: var(--papier-hell);
  border: 2px solid var(--tinte);
  border-radius: 4px;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.3;
}
.klickpfad li:last-child .klickpfad__schritt { background: var(--tinte); color: #fff; }

.bildschirm {
  margin: 1.5rem 0 1.8rem;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}
.bildschirm figcaption {
  max-width: 34rem;
  font-family: var(--sans);
  text-align: center;
  font-size: 0.95em;
}
.bildschirm__hinweis {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85em;
  color: var(--tinte-leise);
}

.bs {
  width: min(100%, 20rem);
  padding: 0.9rem 0.7rem 1.2rem;
  background: #f2f2f7;
  border: 10px solid #1b2430;
  border-radius: 2.2rem;
  box-shadow: 0 10px 28px rgba(27, 36, 48, 0.18);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.3;
}
.bs--android { background: #fafafa; border-radius: 1.6rem; }
.bs__kopf {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.35rem 0.7rem;
}
.bs__zurueck { color: #0a64d8; font-size: 1.5rem; line-height: 1; }
.bs__titel { font-weight: 700; font-size: 1.15rem; }
.bs--iphone .bs__titel { flex: 1; text-align: center; margin-right: 1.2rem; }
.bs__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border-radius: 0.8rem;
  overflow: visible;
}
.bs--android .bs__liste { background: transparent; }
.bs__zeile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.9rem;
  margin: 0;
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid #e5e5ea;
}
.bs__zeile:last-child { border-bottom: 0; }
.bs__text { flex: 1; }
.bs__pfeil { color: #b0b0b8; font-size: 1.3rem; }
.bs__balken {
  display: block;
  width: 60%;
  height: 0.7rem;
  border-radius: 99px;
  background: #e2e2e8;
}
.bs__zeile--markiert {
  z-index: 1;
  background: #fff4e0;
  outline: 3px solid #f0a500;
  outline-offset: -3px;
  border-radius: 0.6rem;
  font-weight: 700;
}
.bs__tippen {
  position: absolute;
  right: -0.4rem;
  top: -0.8rem;
  padding: 0.05rem 0.5rem;
  background: #f0a500;
  color: #1b2430;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}
.bs__schalter {
  position: relative;
  width: 2.6rem;
  height: 1.55rem;
  flex: none;
  border-radius: 99px;
  background: #d1d1d6;
}
.bs__schalter::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.bs__schalter--an { background: #34c759; }
.bs--android .bs__schalter--an { background: #1f6fd1; }
.bs__schalter--an::after { left: auto; right: 0.15rem; }
.bs__zeile--regler { gap: 0.7rem; }
.bs__a { font-weight: 700; font-size: 1.35rem; }
.bs__a--klein { font-size: 0.85rem; }
.bs__spur {
  position: relative;
  flex: 1;
  height: 0.3rem;
  border-radius: 99px;
  background: linear-gradient(90deg, #0a64d8 60%, #d1d1d6 60%);
}
.bs__knopf {
  position: absolute;
  left: 60%;
  top: 50%;
  width: 1.5rem;
  height: 1.5rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  outline: 3px solid #f0a500;
}

.tasten { display: grid; justify-items: center; gap: 0.8rem; }
.tasten__handy {
  position: relative;
  width: 9rem;
  height: 17rem;
  border: 8px solid #1b2430;
  border-radius: 1.8rem;
  background: #e8eff9;
}
.tasten__bildschirm { position: absolute; inset: 0; display: grid; place-items: end center; padding-bottom: 0.6rem; }
.tasten__taste {
  position: absolute;
  width: 6px;
  border-radius: 3px;
  background: #6b7280;
}
.tasten--iphone .tasten__taste--lauter { left: -14px; top: 3.6rem; height: 2.2rem; }
.tasten--iphone .tasten__taste--leiser { left: -14px; top: 6.4rem; height: 2.2rem; }
.tasten--iphone .tasten__taste--seite { right: -14px; top: 4.5rem; height: 3.4rem; }
.tasten--android .tasten__taste--lauter { right: -14px; top: 3.4rem; height: 2rem; }
.tasten--android .tasten__taste--leiser { right: -14px; top: 5.6rem; height: 2rem; }
.tasten--android .tasten__taste--seite { right: -14px; top: 8.6rem; height: 1.8rem; }
.tasten__taste--an { background: #f0a500; width: 9px; box-shadow: 0 0 0 4px rgba(240, 165, 0, 0.35); }
.tasten--iphone .tasten__taste--an.tasten__taste--lauter,
.tasten--iphone .tasten__taste--an.tasten__taste--leiser { left: -17px; }
.tasten--iphone .tasten__taste--an.tasten__taste--seite,
.tasten--android .tasten__taste--an { right: -17px; }
.tasten__home {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 3px solid #6b7280;
}
.tasten__home--an { border-color: #f0a500; box-shadow: 0 0 0 4px rgba(240, 165, 0, 0.35); }
.tasten__legende { list-style: none; padding: 0; margin: 0; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.tasten__legende li { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; font-weight: 700; }
.tasten__punkt { width: 0.9rem; height: 0.9rem; border-radius: 50%; background: #f0a500; }

/* ------------------------------------------------ Lexikon */

.abc { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.5rem; }
.abc a {
  display: inline-grid;
  place-items: center;
  min-width: 2.9rem;
  min-height: 2.9rem;
  border: 1px solid var(--tinte);
  background: var(--papier-hell);
  color: var(--tinte);
  font-weight: 800;
  text-decoration: none;
}
.abc__gruppe h2 { margin-top: 1.5rem; }
.begriffe { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.begriffe li { margin: 0; }
.begriffe a {
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.35rem 1rem;
  border: 2px solid var(--tinte);
  border-radius: 3px;
  font-family: var(--sans);
  color: var(--tinte);
  background: var(--papier-hell);
  font-weight: 700;
  text-decoration: none;
}
.begriffe a:hover { background: var(--tinte); color: #fff; }
.begriffe__alle { border-style: dashed !important; }

@media print {
  .bs, .tasten__handy { box-shadow: none; }
  .bs__zeile--markiert { outline: 3px solid #000; }
  .klickpfad li:last-child .klickpfad__schritt { background: #fff; color: #000; }
}

/* ------------------------------------------------ Beispielfiguren und Szenen */

.figur { width: 6.5rem; height: 6.5rem; display: block; flex: none; }
.figur__mund-o { display: none; }
.figur--staunen .figur__mund { display: none; }
.figur--staunen .figur__mund-o { display: inline; }
.figur__augen { transform-box: fill-box; transform-origin: center; }
.figur__kopf { transform-origin: 60px 84px; }
.figur__hand { transform-origin: 90px 112px; }

.js .szene .figur, .js .figuren .figur { opacity: 0; transform: translateY(10px); transition: opacity .7s ease, transform .7s ease; }
.js .szene .figur.figur--aktiv, .js .figuren .figur.figur--aktiv { opacity: 1; transform: none; }
.figur--aktiv .figur__augen { animation: nl-blinzeln 3.2s ease-in-out .7s 1; }
.figur--aktiv.figur--nicken .figur__kopf { animation: nl-nicken 1.6s ease-in-out .5s 1; }
.figur--aktiv.figur--winken .figur__hand { animation: nl-winken 1.8s ease-in-out .5s 1; }
.figur--aktiv.figur--staunen .figur__kopf { animation: nl-staunen 1.2s ease-in-out .5s 1; }

@keyframes nl-blinzeln {
  0%, 40%, 46%, 86%, 92%, 100% { transform: scaleY(1); }
  43%, 89% { transform: scaleY(.1); }
}
@keyframes nl-nicken {
  0%, 100% { transform: rotate(0) translateY(0); }
  25%, 75% { transform: rotate(0) translateY(2.5px); }
  50% { transform: rotate(0) translateY(0); }
}
@keyframes nl-winken {
  0%, 100% { transform: rotate(0); }
  20%, 60% { transform: rotate(-14deg); }
  40%, 80% { transform: rotate(10deg); }
}
@keyframes nl-staunen {
  0%, 100% { transform: rotate(0); }
  40% { transform: rotate(-5deg) translateY(-1px); }
  70% { transform: rotate(3deg); }
}

.szene {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  margin: 1.6rem 0 1.8rem;
}
.szene__figuren { display: flex; gap: 0.4rem; }
.szene__person { display: grid; justify-items: center; gap: 0.25rem; }
.szene__name { font-family: var(--sans); font-size: 0.78rem; color: var(--tinte-leise); white-space: nowrap; }
.szene__text {
  position: relative;
  padding: 0.9rem 1.1rem;
  background: var(--papier-hell);
  border: 1px solid var(--tinte);
  font-style: italic;
}
.szene__text::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 2.2rem;
  width: 16px;
  height: 16px;
  background: var(--papier-hell);
  border-left: 1px solid var(--tinte);
  border-bottom: 1px solid var(--tinte);
  transform: rotate(45deg);
}
.szene__text .rubrik { font-style: normal; }
.szene__text p:last-child { margin-bottom: 0; }
.szene--mehrere .figur { width: 5.2rem; height: 5.2rem; }

@media (max-width: 34rem) {
  .szene { grid-template-columns: 1fr; gap: 0.6rem; }
  .szene__figuren { justify-content: flex-start; }
  .szene__text::before { left: 2.4rem; top: -9px; border-left: 1px solid var(--tinte); border-bottom: 0; border-top: 1px solid var(--tinte); }
}

.figuren {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem;
}
.figuren__eintrag {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  margin: 0;
  text-align: center;
}
.figuren__eintrag span { font-family: var(--sans); font-size: 0.85rem; color: var(--tinte-leise); }

@media (prefers-reduced-motion: reduce) {
  .js .szene .figur, .js .figuren .figur { opacity: 1; transform: none; transition: none; }
  .figur__augen, .figur__kopf, .figur__hand { animation: none !important; }
}
@media print {
  .js .szene .figur, .js .figuren .figur { opacity: 1; transform: none; }
}

/* ------------------------------------------------ Lesehilfe-Leiste und Abhaken */

.lesehilfe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin: 0.8rem 0 0;
  padding: 0.6rem 0.75rem;
  background: var(--papier-hell);
  border: 1px solid var(--linie);
  font-family: var(--sans);
  font-size: 0.95rem;
}
.lesehilfe[hidden], .lesehilfe__geraet[hidden] { display: none; }
.lesehilfe__titel { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rot); }
.lesehilfe__gruppe { display: inline-flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.lesehilfe__label { color: var(--tinte-leise); }
.lesehilfe button {
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.35rem 0.8rem;
  border: 2px solid var(--tinte);
  border-radius: 3px;
  background: var(--papier-hell);
  color: var(--tinte);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.lesehilfe button:hover { background: var(--papier); }
.lesehilfe button[aria-pressed="true"] { background: var(--tinte); color: #fff; }

.wird-vorgelesen {
  background: #fff3c4;
  box-shadow: 0 0 0 6px #fff3c4;
  border-radius: 2px;
}

.abhaken-hinweis {
  margin: 0.4rem 0 -0.2rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--tinte-leise);
}
.abhakbar { cursor: pointer; }
.abhakbar:focus-visible { outline: 3px solid #e09a00; outline-offset: 4px; }
.artikel__rumpf ol > li.erledigt::before { content: "✓"; background: var(--tipp); }
.checkliste li.erledigt::before { content: "✓"; display: grid; place-items: center; color: #fff; background: var(--tipp); border-color: var(--tipp); font-family: var(--sans); font-weight: 800; font-size: 0.9rem; }
