/* Begleiter für die Spielleitung. Baut auf stil.css auf (Schriften, Farben, Knöpfe).
   Die Texte sind groß gesetzt: Die Seite wird vorgelesen, am Beamer gezeigt oder geteilt. */

body.begleiter { min-height: 100vh; min-height: 100dvh; background: var(--creme-hell); }
.begleiter h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
.begleiter h3 { font-size: 1.05rem; margin: 1.5rem 0 0.6rem; }
.begleiter [tabindex="-1"] { scroll-margin-top: 5rem; }
.begleiter [tabindex="-1"]:focus { outline: none; }

/* Kopf mit Spielstand */
.b-leiste {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem 1.5rem;
  padding: 0.7rem max(1rem, (100% - 76rem) / 2);
  background: var(--indigo); color: var(--creme);
}
.b-leiste .wortmarke { color: var(--creme-hell); }
.b-leiste .wortmarke small { font-family: var(--mono); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--senf); margin-left: 0.3rem; }
.b-leiste :focus-visible { outline-color: var(--senf); }
.b-stand { display: flex; flex-wrap: wrap; gap: 0.3rem 1.3rem; margin: 0; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.03em; }
.b-stand b { font-size: 1.05rem; color: var(--senf); }

/* Schritte des Spieltags */
.b-schritte {
  position: sticky; top: 0; z-index: 10; overflow-x: auto; scrollbar-width: thin;
  background: var(--creme); border-bottom: 1px solid var(--linie);
}
.b-schritte ol { list-style: none; display: flex; gap: 0.2rem; width: max-content; margin: 0 auto; padding: 0.6rem 1rem; }
.b-schritte li { margin: 0; }
.b-schritte button {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.7rem; cursor: pointer; white-space: nowrap;
  border: 2px solid transparent; border-radius: 99rem; background: transparent;
  font-family: var(--kopf); font-weight: 700; font-size: 0.95rem;
}
.b-schritte button:hover { border-color: var(--indigo); }
.b-schritte button[aria-current] { background: var(--indigo); color: var(--creme-hell); }
.b-schritte button b {
  min-width: 1.4rem; height: 1.4rem; display: inline-grid; place-items: center; border-radius: 99rem;
  background: var(--koralle); color: var(--indigo); font-family: var(--mono); font-weight: 600; font-size: 0.8rem;
}

.b-buehne { width: min(76rem, 100% - 2rem); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) 0 4rem; }

.b-kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.b-kopf .marke { color: var(--koralle-dunkel); margin-bottom: 0.5rem; }
.b-kopf h1 { font-size: clamp(2.4rem, 1.4rem + 4.5vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
.b-einleitung { font-size: 1.15rem; max-width: 40rem; margin: 0.9rem 0 0; }

.b-dauer { margin: 0; padding: 0.4rem 0.9rem; border: 2px solid var(--indigo); border-radius: 1rem; background: #fff; font-family: var(--kopf); font-weight: 700; color: var(--indigo); }
.b-link { padding: 0.2rem 0; border: 0; background: none; cursor: pointer; font-size: 0.88rem; text-decoration: underline; text-underline-offset: 0.2em; color: var(--indigo-hell); }
.b-link:hover { color: var(--indigo); }

.b-spalten { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.b-bild { position: sticky; top: 5rem; margin: 0; }
.b-bild button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 1rem; }
.b-bild img { width: 100%; border-radius: 1rem; border: 2px solid var(--indigo); box-shadow: 0.5rem 0.5rem 0 var(--senf); }
@media (max-width: 60rem) {
  .b-spalten { grid-template-columns: 1fr; }
  .b-bild { position: static; max-width: 34rem; }
}

.b-teil { margin-bottom: 2.4rem; }
.b-teil > h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem 0.7rem; margin-bottom: 0.7rem; }
.b-teil > h2 small { font-family: var(--mono); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo-hell); }
.b-nr {
  flex: none; width: 2rem; height: 2rem; display: inline-grid; place-items: center; border-radius: 0.5rem;
  background: var(--koralle); color: var(--indigo); font-family: var(--mono); font-weight: 600; font-size: 1rem;
}
.b-regie { font-size: 0.9rem; line-height: 1.5; color: var(--indigo-hell); max-width: 40rem; }
.b-klein { font-size: 0.86rem; color: var(--indigo-hell); }

/* Vorlesetext: wie das Blatt in der Hand der Spielleitung */
.b-vorlesen {
  max-width: 42rem; margin: 0 0 1.2rem; padding: 1.2rem 1.4rem 0.5rem;
  background: #fff; border-radius: 1rem;
  font-size: 1.2rem; line-height: 1.62;
}
.b-vorlesen .marke { color: var(--senf-dunkel); margin-bottom: 0.7rem; }
.b-frage {
  max-width: 42rem; padding: 1.1rem 1.4rem 1.2rem; border-radius: 1rem; background: var(--indigo); color: var(--creme-hell);
  font-family: var(--kopf); font-weight: 600; font-size: 1.3rem; line-height: 1.3;
}
.b-frage .marke { display: block; color: var(--senf); margin-bottom: 0.5rem; }
.b-gespraech { max-width: 42rem; padding-left: 1.2em; font-size: 1.08rem; }
.b-gespraech li { margin-bottom: 0.6em; }

/* Karten in der Auflösung */
.b-kartenliste, .b-pruefliste, .b-wahlliste, .b-schilder, .b-streifen { list-style: none; padding: 0; margin: 0; }
.b-karte {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.9rem; align-items: center;
  margin: 0 0 0.6rem; padding: 0.7rem 0.9rem 0.7rem 0.7rem;
  background: #fff; border: 2px solid var(--farbe); border-radius: 0.9rem;
}
.b-karte img { width: 4rem; height: 4rem; border-radius: 0.55rem; }
.b-karte p { margin: 0.3rem 0 0; font-size: 0.97rem; line-height: 1.45; }
.b-karte.fehlt { background: transparent; border-style: dashed; }
.b-karte.fehlt img { filter: grayscale(1); opacity: 0.6; }
@media (max-width: 34rem) {
  .b-karte { grid-template-columns: auto minmax(0, 1fr); }
  .b-karte .b-schalter { grid-column: 1 / -1; justify-self: start; }
}
.b-schild { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--kopf); font-weight: 700; font-size: 1.05rem; line-height: 1.2; vertical-align: middle; }
.b-schild b {
  flex: none; min-width: 1.6rem; height: 1.6rem; padding: 0 0.3rem; display: inline-grid; place-items: center; border-radius: 99rem;
  background: var(--farbe); color: var(--indigo); font-family: var(--mono); font-weight: 600; font-size: 0.82rem;
}
.b-schilder { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.b-schilder li { margin: 0; padding: 0.4rem 0.9rem 0.4rem 0.45rem; border-radius: 99rem; background: #fff; border: 1px solid var(--linie); }

.b-schalter {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.42rem 0.85rem; cursor: pointer; white-space: nowrap;
  border: 2px dashed var(--indigo-hell); border-radius: 99rem; background: #fff; color: var(--indigo-hell);
  font-family: var(--kopf); font-weight: 700; font-size: 0.88rem;
}
.b-schalter::before { content: ""; width: 0.75rem; height: 0.75rem; border-radius: 50%; border: 2px solid currentColor; }
.b-schalter[aria-pressed="true"] { border: 2px solid var(--petrol-dunkel); background: var(--petrol-dunkel); color: #fff; }
.b-schalter[aria-pressed="true"]::before { background: #fff; border-color: #fff; }
.b-schalter.stern[aria-pressed="true"] { border-color: var(--indigo); background: var(--senf); color: var(--indigo); }
.b-schalter.stern[aria-pressed="true"]::before { background: var(--indigo); border-color: var(--indigo); }
.b-schalter:disabled { opacity: 0.45; cursor: not-allowed; }
.b-hilft-nicht { max-width: 42rem; padding-left: 1.2em; font-size: 0.97rem; }
.b-joker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-top: 1.4rem; padding: 0.9rem 1rem; border-radius: 0.9rem; background: var(--senf-hell); }
.b-joker p { flex: 1 1 16rem; margin: 0; font-size: 0.93rem; line-height: 1.45; }

/* Schaden der Runde */
.b-schaden { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem; align-items: center; max-width: 44rem; margin-bottom: 1.2rem; padding: 1.2rem 1.4rem; border-radius: 1.1rem; border: 2px solid var(--indigo); background: var(--koralle-hell); }
.b-schaden.stufe-0 { background: var(--petrol-hell); }
.b-schaden.stufe-1 { background: var(--senf-hell); }
.b-schaden.zweite-zeile { border-style: dashed; background: #fff; }
.b-schaden p { margin: 0 0 0.4rem; }
.b-schaden p:last-child { margin: 0; }
.b-schaden .marke { color: var(--indigo-hell); }
.b-schaden-zahl { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.b-schaden-zahl b { font-family: var(--kopf); font-weight: 800; font-size: 4.6rem; line-height: 0.85; }
@media (max-width: 34rem) {
  /* Schmal: Zahl und Marken in einer Zeile über dem Text, damit der Text die ganze Breite hat. */
  .b-schaden { grid-template-columns: minmax(0, 1fr); gap: 0.8rem; padding: 1rem 1.1rem; }
  .b-schaden-zahl { flex-direction: row; gap: 0.9rem; }
  .b-schaden-zahl b { font-size: 3.4rem; }
}
.b-rechnung { font-family: var(--kopf); font-weight: 700; font-size: 1.1rem; }
.b-marken { display: inline-flex; gap: 0.3rem; }
.b-marken i { width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid var(--indigo); }
.b-marken i.voll { background: var(--koralle); }
.b-hintergrund { max-width: 42rem; margin-bottom: 0.8rem; padding: 0.8rem 1rem; border-radius: 0.8rem; background: var(--creme); font-size: 0.95rem; }
.b-hintergrund summary { font-weight: 700; }
.b-hintergrund p { margin: 0.6rem 0 0; }

/* Nachweis-Check */
.b-zaehler { font-size: 1.05rem; margin-bottom: 1.5rem; }
.b-zaehler strong { font-family: var(--kopf); font-size: 1.3rem; }
.b-zaehler .b-link { margin-left: 0.6rem; }
.b-gruppe { margin-bottom: 2.2rem; }
.b-gruppe > h2 { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 0.8rem; padding-bottom: 0.5rem; border-bottom: 0.3rem solid var(--farbe); }
.b-gruppe > h2 .marke { color: var(--farbe-dunkel); }
.b-pruefliste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 23rem), 1fr)); gap: 0.6rem; }
.b-pruefliste li { margin: 0; }
.b-pruef {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.2rem 0.75rem; align-items: start;
  width: 100%; height: 100%; padding: 0.8rem 0.9rem; text-align: left; cursor: pointer;
  border: 2px dashed var(--linie); border-radius: 0.9rem; background: transparent;
}
.b-pruef:hover { border-color: var(--indigo-hell); }
.b-pruef .nr { margin-top: 0.1rem; background: transparent; box-shadow: inset 0 0 0 2px var(--farbe); }
.b-pruef-text { display: flex; flex-direction: column; gap: 0.2rem; }
.b-pruef-text strong { font-family: var(--kopf); font-size: 1.08rem; line-height: 1.2; }
.b-pruef-text span { font-size: 0.88rem; line-height: 1.4; color: var(--indigo-hell); }
.b-pruef-stand { grid-column: 2; margin-top: 0.3rem; font-family: var(--mono); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo-hell); }
.b-pruef[aria-pressed="true"] { border: 2px solid var(--farbe); background: var(--farbe-hell); }
.b-pruef[aria-pressed="true"] .nr { background: var(--farbe); box-shadow: none; }
.b-pruef[aria-pressed="true"] .b-pruef-text span { color: var(--indigo); }
.b-pruef[aria-pressed="true"] .b-pruef-stand { color: var(--farbe-dunkel); }

/* Ernstfall */
.b-streifen { max-width: 42rem; margin-bottom: 1rem; }
.b-streifen li { display: flex; gap: 0.8rem; align-items: flex-start; margin: 0 0 0.4rem; padding: 0.6rem 0.8rem; background: #fff; border: 1px solid var(--linie); border-radius: 0.6rem; font-size: 0.97rem; line-height: 1.4; }
.b-streifen b { flex: none; width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 0.35rem; background: var(--senf); font-family: var(--mono); font-weight: 600; }
.b-loesung { max-width: 42rem; padding: 1rem 1.2rem 0.4rem; border-radius: 0.9rem; background: var(--senf-hell); }
.b-loesung .marke { color: var(--senf-dunkel); }
.b-reihenfolge { font-family: var(--mono); font-weight: 600; font-size: 1.5rem; margin: 0.3rem 0 0.8rem; }
.b-loesung ul { padding-left: 1.1em; font-size: 0.95rem; }
.b-saetze { max-width: 42rem; padding-left: 1.4em; }
.b-saetze > li { margin-bottom: 1.3rem; padding-left: 0.3rem; }
.b-saetze > li::marker { font-family: var(--mono); font-weight: 600; }
.b-satz { font-family: var(--kopf); font-weight: 600; font-size: 1.2rem; line-height: 1.3; margin-bottom: 0.6rem; }
.b-urteil { padding: 0.8rem 1rem; border-radius: 0.8rem; background: var(--koralle-hell); }
.b-urteil.stimmt { background: var(--petrol-hell); }
.b-urteil b { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.b-urteil p { margin: 0.3rem 0 0; font-size: 0.97rem; }
.b-sanduhren { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-top: 1rem; font-size: 1.1rem; }
.b-sanduhren span { display: inline-flex; gap: 0.2rem; color: var(--koralle-dunkel); }
.b-sanduhr { width: 1.8rem; height: 1.8rem; }

/* Vier andere Anfänge */
.b-anfaenge { list-style: none; padding: 0; margin: 1.5rem 0 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; counter-reset: anfang; }
.b-anfaenge > li { margin: 0; padding: 1.3rem 1.4rem 1.4rem; background: #fff; border: 2px solid var(--indigo); border-radius: 1.1rem; counter-increment: anfang; }
.b-anfaenge > li > h2::before { content: counter(anfang) " "; color: var(--koralle); }
.b-anfaenge h2 { margin-bottom: 0.6rem; }
.b-anfang-text { font-size: 1.12rem; line-height: 1.55; }
.b-anfaenge .b-karte { margin-bottom: 0.4rem; }
@media (max-width: 52rem) { .b-anfaenge { grid-template-columns: 1fr; } }

/* Plan */
.b-ergebnis { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: center; margin-bottom: 3rem; padding: clamp(1.3rem, 3vw, 2.2rem); background: var(--indigo); color: var(--creme); border-radius: 1.4rem; }
.b-ergebnis .marke { color: var(--senf); margin-bottom: 0.3rem; }
.b-ergebnis h2 { font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem); font-weight: 800; margin-bottom: 0.5rem; }
.b-ergebnis-zahl { display: grid; place-items: center; align-content: center; width: clamp(7rem, 16vw, 10.5rem); aspect-ratio: 1; border-radius: 50%; color: var(--indigo); }
.b-ergebnis-zahl.zone-0 { background: var(--petrol); }
.b-ergebnis-zahl.zone-1 { background: var(--senf); }
.b-ergebnis-zahl.zone-2 { background: var(--koralle); }
.b-ergebnis-zahl b { font-family: var(--kopf); font-weight: 800; font-size: clamp(3.2rem, 8vw, 5.2rem); line-height: 0.9; }
.b-ergebnis-zahl span { font-family: var(--mono); font-weight: 600; font-size: 0.78rem; }
.b-ergebnis .zonen { max-width: 34rem; margin: 1rem 0; color: var(--indigo); }
.b-ergebnis .zone { opacity: 0.4; }
.b-ergebnis .zone.aktiv { opacity: 1; outline: 3px solid var(--creme-hell); outline-offset: 2px; }
.b-ergebnis-mehr { margin: 0; padding-left: 1.1em; font-size: 0.93rem; color: rgba(244, 237, 225, 0.85); }
@media (max-width: 40rem) { .b-ergebnis { grid-template-columns: 1fr; } }
.b-aufwand { display: flex; align-items: center; gap: 0.6rem; }
.b-wahlliste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 0.6rem; }
.b-wahlliste li { margin: 0; }
.b-wahl {
  display: flex; align-items: center; gap: 0.8rem; width: 100%; height: 100%; padding: 0.55rem 0.8rem 0.55rem 0.55rem; text-align: left; cursor: pointer;
  border: 2px solid var(--linie); border-radius: 0.9rem; background: #fff;
}
.b-wahl img { width: 3.5rem; height: 3.5rem; flex: none; border-radius: 0.5rem; }
.b-wahl-text { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.84rem; line-height: 1.35; color: var(--indigo-hell); }
.b-wahl-titel { display: flex; align-items: center; gap: 0.5rem; color: var(--indigo); }
.b-wahl-titel strong { font-family: var(--kopf); font-size: 1.02rem; line-height: 1.2; }
.b-wahl:hover { border-color: var(--indigo-hell); }
.b-wahl[aria-pressed="true"] { border-color: var(--indigo); background: var(--farbe-hell); box-shadow: 0.25rem 0.25rem 0 var(--farbe); }
.b-wahl:disabled { opacity: 0.45; cursor: not-allowed; }
.b-planliste { max-width: 44rem; padding-left: 1.4em; }
.b-planliste li { margin-bottom: 1rem; padding-left: 0.3rem; }
.b-planliste li::marker { font-family: var(--mono); font-weight: 600; }
.b-planliste p { margin: 0.3rem 0 0; font-size: 0.97rem; }

/* Hinweise, Epilog, Fuß */
.b-hinweis { max-width: 42rem; padding: 1.1rem 1.3rem; border-radius: 1rem; background: var(--senf-hell); border: 2px solid var(--senf); }
.b-hinweis h2 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.b-hinweis ul { margin: 0; padding-left: 1.1em; }
.b-hinweis p:last-child { margin: 0; }
.b-hinweis.schmal { padding: 0.8rem 1rem; }
.b-ablauf { padding-left: 1.4em; font-size: 1.05rem; }
.b-ablauf small { font-family: var(--mono); font-size: 0.75rem; color: var(--indigo-hell); margin-left: 0.3rem; }
.b-tage { margin: 1.2rem 0 0; display: grid; gap: 0.7rem; max-width: 42rem; }
.b-tage div { padding: 0.8rem 1rem; background: #fff; border-radius: 0.8rem; }
.b-tage dt { font-family: var(--mono); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--petrol-dunkel); }
.b-tage dd { margin: 0.2rem 0 0; }
.b-fuss { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--linie); }
.b-fuss > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.9rem; }
.b-fuss .b-regie { font-size: 0.97rem; margin-bottom: 1.2rem; }

/* Szenenbild groß */
.b-grossbild { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--indigo); overflow: hidden; }
.b-grossbild[open] { display: grid; place-items: center; }
.b-grossbild img { max-width: 100%; max-height: 100vh; max-height: 100dvh; width: auto; cursor: zoom-out; }
.b-grossbild .zu { position: absolute; top: 1rem; right: 1rem; float: none; margin: 0; }

@media print {
  .b-schritte, .b-dauer, .b-fuss { display: none; }
}
.b-mehr { font-size: 0.9rem; } .b-mehr a { font-weight: 600; }
