/* ==========================================================================
   Maulwurfstadt-Umbau 2026: Übungsblock, Terminal-Schublade, HORST-Zeile, Auswahl-Modul
   Gehört zu js/maulz-uebungen.js. Eingebunden in php/head.php (?v= hochzählen bei Änderungen).
   ========================================================================== */

/* ---------------------------------------------------------------- Terminal-Schublade
   Auf Seiten mit <div class="terminal-kasten" data-terminal></div>:
   - der Marker wird zu einer schmalen Leiste im Text ("CyberHQ-Terminal öffnen")
   - unten rechts schwebt ein Knopf, der die Schublade am unteren Fensterrand hochfährt
   - die Schublade (#terminal-schublade) enthält das Terminal als iframe (index.html?embed=1), Höhe ziehbar */

.terminal-kasten {
  margin: 1.5em 0;
  border: 2px solid #212529;
  border-radius: 12px;
  background: #212529;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.4em 1em;
  color: #fe9b27;
  font-family: "Bangers", sans-serif;
  font-size: 1.6em;
  letter-spacing: 1px;
  cursor: pointer;
  user-select: none;
}
.terminal-kasten:hover { background: #2c3136; }
.terminal-kasten__pfeil { display: inline-block; width: 0.9em; }
.terminal-kasten__titel { flex: 1; white-space: nowrap; }
.terminal-kasten__hinweis {
  font-family: "Roboto Mono", "Courier New", monospace;
  font-size: 0.5em;
  letter-spacing: 0;
  color: #bbb;
}

/* schwebender Knopf unten rechts */
#terminal-knopf {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 10000;
  border: 2px solid #fe9b27;
  border-radius: 999px;
  background: #212529;
  color: #fe9b27;
  font-family: "Bangers", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  padding: 0.35em 1.1em;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
#terminal-knopf:hover { background: #2c3136; }
body.terminal-offen #terminal-knopf { display: none; }

/* die Schublade */
#terminal-schublade {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  height: 45vh;              /* Startwert, JS setzt die gemerkte Höhe */
  min-height: 160px;
  max-height: 92vh;
  display: none;
  flex-direction: column;
  background: #212529;
  border-top: 3px solid #fe9b27;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
}
body.terminal-offen #terminal-schublade { display: flex; }

#terminal-schublade .schublade__kopf {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.15em 1em;
  color: #fe9b27;
  font-family: "Bangers", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  cursor: ns-resize;         /* an der Kopfzeile ziehen = Höhe ändern */
  user-select: none;
  border-bottom: 1px solid #444;
}
#terminal-schublade .schublade__griff {
  width: 48px;
  height: 5px;
  border-radius: 3px;
  background: #666;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
}
#terminal-schublade .schublade__titel { flex: 1; }
#terminal-schublade .schublade__kopf button,
#terminal-schublade .schublade__kopf a {
  font-family: "Roboto Mono", "Courier New", monospace;
  font-size: 0.8rem;
  letter-spacing: 0;
  color: #fe9b27;
  background: transparent;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 0.15em 0.6em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
#terminal-schublade .schublade__kopf button:hover,
#terminal-schublade .schublade__kopf a:hover { border-color: #fe9b27; background: #2c3136; }
.main #terminal-schublade a::before { content: none; }   /* kein Weltkugel-Symbol */
#terminal-schublade .schublade__kopf a::before { content: none; }

#terminal-schublade iframe {
  flex: 1;
  width: 100%;
  border: 0;
  background: #212529;
}
body.terminal-ziehen #terminal-schublade iframe { pointer-events: none; }   /* beim Ziehen schluckt der iframe sonst die Maus */
body.terminal-ziehen { cursor: ns-resize; user-select: none; }

/* Handy: Schublade füllt das ganze Fenster, man sieht entweder Seite oder Terminal */
@media (max-width: 767px) {
  #terminal-schublade { height: 100vh !important; max-height: 100vh; border-top: 0; }
  #terminal-schublade .schublade__kopf { cursor: default; }
  #terminal-schublade .schublade__griff, #terminal-schublade .schublade__groesse { display: none; }
  .terminal-kasten__hinweis { display: none; }
  .terminal-kasten { font-size: 1.3em; }
}
@media (max-width: 1100px) { .terminal-kasten__hinweis { display: none; } }

/* ---------------------------------------------------------------- Übungen mit Payoff
   Auf dem Zettel: <ol class="uebungen"><li>Aufgabe … <div class="payoff"><span class="payoff__erwartet">…</span><p class="o">…</p></div></li>
   JS setzt vor jeden .payoff einen Knopf „Lösung prüfen" */
.notes .payoff { display: none; margin: 0.4em 0 0.6em 0; }
.notes li.offen .payoff { display: block; }
.notes .payoff__erwartet {
  display: block;
  font: 1.1rem "bohemian_typewriter", Helvetica, Arial, sans-serif;
  color: #b00000;
  margin-bottom: 0.3em;
}
.notes .payoff__erwartet::before { content: "→ "; }
.notes .payoff p.s, .notes .payoff p.o, .notes .payoff p.k, .notes .payoff p.t, .notes .payoff p.r, .notes .payoff p.a, .notes .payoff p.drs, .notes .payoff p.su, .notes .payoff p.da, .notes .payoff p.ba, .notes .payoff p.ph {
  font: 1.1rem "Walter Turncoat", sans-serif;   /* Standard-Comic-Schrift der Dialoge, etwas kleiner */
  text-shadow: none;
  margin: 0.3em 0;
}
.notes .payoff__knopf {
  display: inline-block;
  margin: 0.2em 0 0.2em 0;
  padding: 0.1em 0.7em;
  font: 0.95rem "bohemian_typewriter", Helvetica, Arial, sans-serif;
  color: #222;
  background: #fff;
  border: 1px solid #555;
  border-radius: 4px;
  box-shadow: 1px 1px 0 #999;
  cursor: pointer;
}
.notes .payoff__knopf:hover { background: #f4f4f4; }
.notes li.offen .payoff__knopf { box-shadow: none; background: #eee; }
.notes li { position: relative; }

/* ---------------------------------------------------------------- Abschlussaufgabe
   <div class="abschluss" data-typ="zahl|datensaetze|name" data-erwartet="-3366.26">
     <p class="abschluss__frage">…</p>
     <div class="abschluss__folge">…Dialogzeilen… <a class="abschluss__weiter" href="…">Weiter</a></div>
   </div>
   JS baut Antwortfeld, „Prüfen" und „Terminal öffnen"; richtige Antwort zeigt die Folge und den Weiter-Knopf. */
.abschluss {
  position: relative;
  width: 80%;
  max-width: 750px;
  margin: 45px auto;
  padding: 26px 18px 18px 18px;
  background-color: #ffcf9e;
  box-shadow: 0 1px 2px #000;
  transform: rotate(0.4deg);
  font: 1.25rem "bohemian_typewriter", Helvetica, Arial, sans-serif;
  color: #000;
  text-shadow: white 1px 1px 0px;
}
.abschluss::before, .auswahl.auswahl--abschluss::before {
  content: "Abschluss";
  position: absolute;
  left: 115px;
  top: -15px;
  padding: 0 12px 4px 12px;
  font-size: 1.4rem;
  background-color: rgba(243, 245, 228, 0.5);
  box-shadow: 1px 1px 1px #b3b3b3;
  transform: rotate(-4deg);
  z-index: 2;
}
.abschluss__frage { margin: 0 0 0.6em 0; }
.abschluss__eingabe { display: flex; flex-wrap: wrap; gap: 0.5em; align-items: center; }
.abschluss__eingabe input {
  flex: 1 1 8em;
  min-width: 6em;
  font: 1.15rem "Roboto Mono", "Courier New", monospace;
  padding: 0.25em 0.5em;
  border: 1px solid #555;
  border-radius: 4px;
  background: #fff;
}
.abschluss__eingabe button {
  font: 1rem "bohemian_typewriter", Helvetica, Arial, sans-serif;
  padding: 0.2em 0.8em;
  border: 1px solid #555;
  border-radius: 4px;
  background: #fff;
  box-shadow: 1px 1px 0 #999;
  cursor: pointer;
}
.abschluss__eingabe button:hover { background: #f4f4f4; }
.abschluss__eingabe .abschluss__terminal { background: #212529; color: #fe9b27; border-color: #212529; }
.abschluss__rueckmeldung { margin-top: 0.5em; font-size: 1.05rem; color: #b00000; min-height: 1.3em; }
.abschluss__rueckmeldung.richtig { color: #0a6b0a; }
.abschluss__folge { display: none; margin-top: 0.8em; }
.abschluss.geloest .abschluss__folge { display: block; }
.abschluss.geloest .abschluss__eingabe input { background: #e6f5e6; }
.abschluss__folge p.s, .abschluss__folge p.o, .abschluss__folge p.k, .abschluss__folge p.t, .abschluss__folge p.r, .abschluss__folge p.a, .abschluss__folge p.drs, .abschluss__folge p.su, .abschluss__folge p.da, .abschluss__folge p.ba, .abschluss__folge p.ph {
  font: 1.1rem "Walter Turncoat", sans-serif;
  text-shadow: none;
  margin: 0.3em 0;
}
.abschluss__weiter {
  /* v22 (14.10.2026, Guanas Wahl a): Farben des CyberHQ-Terminal-Knopfs, Pfeil als gezeichneter Winkel (keine Schriftzeichen) */
  position: relative;
  display: inline-block;
  margin-top: 0.6em;
  padding: 0.3em 2.1em 0.3em 1.2em;
  font-family: "Bangers", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: #fe9b27 !important;
  background: #1f1f1f;
  border: 2px solid #fe9b27;
  border-radius: 8px;
  text-shadow: none;
  text-decoration: none !important;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.abschluss__weiter::after {
  content: "";
  position: absolute;
  right: 0.9em;
  top: 50%;
  width: 0.42em;
  height: 0.42em;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.abschluss__weiter:hover,
.abschluss__weiter:focus {
  color: #fe9b27 !important;
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(254, 155, 39, 0.45);
}
.main .abschluss__weiter::before { content: none; }
.abschluss.falsch { animation: wackeln 0.3s; }
@keyframes wackeln { 0%,100% { transform: rotate(0.4deg) translateX(0); } 25% { transform: rotate(0.4deg) translateX(-6px); } 75% { transform: rotate(0.4deg) translateX(6px); } }

/* Auftritt des Terminal-Knopfs beim Laden (nur solange die Schublade zu ist): dreimal hüpfen und leuchten */
body:not(.terminal-offen) #terminal-knopf.auftritt { animation: knopf-auftritt 0.7s ease-in-out 0.8s 3; }
@keyframes knopf-auftritt {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45); }
  30%      { transform: translateY(-18px) scale(1.12); box-shadow: 0 12px 24px rgba(254, 155, 39, 0.7), 0 0 0 6px rgba(254, 155, 39, 0.35); }
  60%      { transform: translateY(0) scale(1); }
}

/* ---------------------------------------------------------------- HORST-Zeile
   <div class="horst">Terrorwahrscheinlichkeit Lanzilotti, Giovanni: 3 % <em>(Interpretation)</em></div>
   Kompakte Systemmeldung, dunkel, Schreibmaschinenschrift, nur so breit wie der Text – kühl und technisch, kein Comic. */
.horst {
  display: flex;                 /* v56: zentriert (Guana 22.10.) */
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.7em;
  margin: 0 auto 1em auto;
  padding: 0.3em 0.9em 0.3em 0.6em;
  background: #1b2030;
  color: #e3e9f5;
  border-left: 4px solid #3b7bff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  font-family: "Roboto Mono", "Courier New", monospace;
  font-size: 1.05rem;   /* v97 (31.10.2026, Guana): größer, vorher 0.85rem */
  line-height: 1.3;
}
.horst::before {
  content: "";
  flex: 0 0 auto;
  width: 1.5em;
  height: 1.5em;
  background: url("/bl-themes/docs-to-maulz/img/horst-icon.png") no-repeat center / contain;
  filter: invert(1) brightness(1.6);
}
.horst__name {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  color: #8fb3ff;
  padding-right: 0.7em;
  border-right: 1px solid #3a4258;
}
.horst__name small { font-weight: 400; letter-spacing: 0; font-size: 0.6em; color: #7f8aa3; margin-top: 3px; }
.horst__text { flex: 1 1 auto; }
.horst__text em { font-style: normal; color: #7f8aa3; }
@media (max-width: 767px) { .horst { display: flex; font-size: 0.92rem; } }   /* v97: vorher 0.78rem */

/* ---------------------------------------------------------------- Figurenbilder: 48 px, rund, Gesichter-Varianten
   Dialogzeile: <p class="k">…</p>  → neutrales Bild
                <p class="k augen">…</p> → Variante (Datei /images-site/avatare/kowalsky-augen.png)
   Bilddateien: <figur>-neutral.png bzw. <figur>-<gesicht>.png, 256 × 256, Kreisbeschnitt macht das CSS.
   PLATZHALTER: Bis die Varianten-Bilder da sind, zeigt jede Variante das heutige Bild mit orangefarbenem Ring
   (Regel ganz unten, „Platzhalter" – beim Einspielen der echten Bilder löschen). */
.main p.s, .main p.k, .main p.o, .main p.t, .main p.r, .main p.a, .main p.drs {
  position: relative;
  background-image: none !important;
  padding-left: 64px;
  min-height: 60px;
}
.main p.s::after, .main p.k::after, .main p.o::after, .main p.t::after, .main p.r::after, .main p.a::after, .main p.drs::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.main p.s::after { background-image: url("/images-site/avatare/smith-neutral.png?v=21"); }
.main p.k::after { background-image: url("/images-site/avatare/kowalsky-neutral.png?v=21"); }
.main p.o::after { background-image: url("/images-site/avatare/oesal-neutral.png?v=8"); }
.main p.t::after { background-image: url("/images-site/avatare/tiffany-neutral.png?v=6"); }
.main p.r::after { background-image: url("/images-site/avatare/rousseau-neutral.png?v=6"); }
.main p.a::after { background-image: url("/images-site/avatare/kapoor-neutral.png?v=9"); }
.main p.drs::after { background-image: url("/images-site/avatare/drschaub-neutral.png?v=6"); }
/* Varianten (Dateien kommen später) */
.main p.s.begeistert::after { background-image: url("/images-site/avatare/smith-begeistert.png?v=21"); }
.main p.s.ratlos::after { background-image: url("/images-site/avatare/smith-ratlos.png?v=21"); }
.main p.s.beleidigt::after { background-image: url("/images-site/avatare/smith-beleidigt.png?v=21"); }
.main p.s.muede::after { background-image: url("/images-site/avatare/smith-muede.png?v=21"); }
.main p.k.augen::after { background-image: url("/images-site/avatare/kowalsky-augen.png?v=21"); }
.main p.k.augenbraue::after { background-image: url("/images-site/avatare/kowalsky-augenbraue.png?v=21"); }
.main p.k.lacht::after { background-image: url("/images-site/avatare/kowalsky-lacht.png?v=21"); }
.main p.k.ernst::after { background-image: url("/images-site/avatare/kowalsky-ernst.png?v=21"); }
.main p.o.gierig::after { background-image: url("/images-site/avatare/oesal-gierig.png?v=6"); }
.main p.o.erschrocken::after { background-image: url("/images-site/avatare/oesal-erschrocken.png?v=6"); }
.main p.o.triumph::after { background-image: url("/images-site/avatare/oesal-triumph.png?v=6"); }
.main p.t.empoert::after { background-image: url("/images-site/avatare/tiffany-empoert.png?v=6"); }
.main p.t.schwaermt::after { background-image: url("/images-site/avatare/tiffany-schwaermt.png?v=7"); }
.main p.t.laechelt::after { background-image: url("/images-site/avatare/tiffany-laechelt.png?v=6"); }
.main p.t.kokett::after { background-image: url("/images-site/avatare/tiffany-kokett.png?v=9"); }   /* v84: Ideogram t02 v9, Hand am Kinn */
.main p.t.zunge::after { background-image: url("/images-site/avatare/tiffany-zunge.png?v=6"); }   /* v80: zweite Flirt-Variante (Gemini, Zunge); schwaermt = Gemini zwinkert */   /* v79: Tiffanys altes Polaroid als milde Variante (lächelt) */
.main p.r.sauer::after { background-image: url("/images-site/avatare/rousseau-sauer.png?v=10"); }
.main p.r.ausflippend::after { background-image: url("/images-site/avatare/rousseau-ausflippend.png?v=10"); }
.main p.r.zufrieden::after { background-image: url("/images-site/avatare/rousseau-zufrieden.png?v=10"); }
.main p.a.skeptisch::after { background-image: url("/images-site/avatare/kapoor-skeptisch.png?v=9"); }
.main p.drs.bruellend::after { background-image: url("/images-site/avatare/drschaub-bruellend.png?v=6"); }
.main p.s.aggressiv::after { background-image: url("/images-site/avatare/smith-aggressiv.png?v=21"); }   /* v73: neu (Guana 29.10.) */
/* v73 (29.10.2026): Gesichter eingespielt. Platzhalter nur noch für Kowalsky „augenbraue“ und „ernst“ (Fotos folgen) –
   orangefarbener Ring + neutrales Bild. Schaub „brüllend“ = sein vorhandenes Bild (brüllt ohnehin), ohne Ring. */
/* v96 (31.10.2026): zweiter Platzhalter für Kowalsky augenbraue/ernst entfernt – die echten Fotos gelten (Regeln oben) */
.main p.drs.bruellend::after { background-image: url("/images-site/avatare/drschaub-neutral.png?v=6"); }

/* ---------------------------------------------------------------- Erzähler-Zeile
   <p class="erz">Kowalsky legt die Liste weg.</p> – ersetzt Regieanweisungen und Emojis; eigene Vorleserolle */
.main p.erz {
  font-style: italic;
  color: #555;
  margin: 0.4em 0 0.4em 1.2em;
  padding-left: 0.8em;
  border-left: 3px solid #c9c2a4;
}

/* ---------------------------------------------------------------- Auswahl-Modul (Verständnisaufgaben ohne SQL)
   <div class="auswahl" data-typ="einfach|mehrfach|zuordnung" [data-optionen="a|b|c" bei zuordnung]>
     <p class="auswahl__frage">…</p>
     <ul><li data-richtig>…</li><li>…</li></ul>            einfach/mehrfach: data-richtig markiert richtige Einträge
     <ul><li data-richtig="b">…</li></ul>                  zuordnung: data-richtig = die richtige Option der Zeile
     <div class="auswahl__folge">…</div>                    optional, erscheint wenn alles richtig
   </div>
   Bilder als Option: <li data-richtig><img src="…" alt="…"></li> */
.auswahl {
  width: 80%;
  max-width: 750px;
  margin: 30px auto;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  font: 1.1rem "bohemian_typewriter", Helvetica, Arial, sans-serif;
  color: #000;
}
.auswahl__frage { margin: 0 0 0.6em 0; font-size: 1.2rem; }
.auswahl ul { list-style: none; margin: 0; padding: 0; }
.auswahl li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin: 0.3em 0;
  padding: 0.35em 0.6em;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
}
.auswahl li:hover { background: #f6f6f6; }
.auswahl li input[type=radio], .auswahl li input[type=checkbox] { width: 1.1em; height: 1.1em; margin: 0; cursor: pointer; }
.auswahl li img { max-width: 220px; max-height: 160px; border: 1px solid #ccc; }
.auswahl li select {
  margin-left: auto;
  font: 1rem "Roboto Mono", "Courier New", monospace;
  padding: 0.15em 0.4em;
  border: 1px solid #888;
  border-radius: 4px;
  background: #fff;
}
.auswahl li.richtig { border-color: #0a6b0a; background: #e6f5e6; }
.auswahl li.falsch  { border-color: #b00000; background: #fbe6e6; }
.auswahl li.richtig::after { content: "\2713"; margin-left: auto; color: #0a6b0a; font-weight: bold; }
.auswahl li.falsch::after  { content: "\2717"; margin-left: auto; color: #b00000; font-weight: bold; }
.auswahl[data-typ=zuordnung] li.richtig::after, .auswahl[data-typ=zuordnung] li.falsch::after { margin-left: 0.4em; }
.auswahl__leiste { display: flex; align-items: center; gap: 0.8em; margin-top: 0.7em; }
.auswahl__leiste button {
  font: 1rem "bohemian_typewriter", Helvetica, Arial, sans-serif;
  padding: 0.2em 0.8em;
  border: 1px solid #555;
  border-radius: 4px;
  background: #fff;
  box-shadow: 1px 1px 0 #999;
  cursor: pointer;
}
.auswahl__leiste button:hover { background: #f4f4f4; }
.auswahl__rueckmeldung { color: #b00000; }
.auswahl__rueckmeldung.richtig { color: #0a6b0a; }
.auswahl__folge { display: none; margin-top: 0.8em; }
.auswahl.geloest .auswahl__folge { display: block; }
.auswahl__folge p.s, .auswahl__folge p.o, .auswahl__folge p.k, .auswahl__folge p.t, .auswahl__folge p.r, .auswahl__folge p.a, .auswahl__folge p.drs, .auswahl__folge p.su, .auswahl__folge p.da, .auswahl__folge p.ba, .auswahl__folge p.ph { font: 1.1rem "Walter Turncoat", sans-serif; }

/* „ins Terminal übernehmen“ unter SQL-Blöcken (maulz-uebungen.js, uebernahmeBauen) */
pre + .sql-uebernehmen {
  display: inline-block; margin: -0.6em 0 1em 0; padding: 0.15em 0.7em;
  font: inherit; font-size: 0.8em; color: #cfd8dc; background: #23272b; border: 1px solid #3a3f44; border-radius: 4px; cursor: pointer;
}
pre + .sql-uebernehmen:hover { background: #2c3136; color: #fff; }


/* ---------------------------------------------------------------- HORST-Ausdruck
   An Rousseaus Zettel getackert (ab 1.4): <div class="horst-ausdruck"> innerhalb von .papierstapel.
   Kopfzeile mit Logo und ausgeschriebenem Namen (H O R S T blau), Profil, Stempel „VON HORST GEPRÜFT". */
.horst-ausdruck {
  position: relative;
  margin: 1.6rem 0 0.6rem 1.2rem;
  padding: 1.1rem 1.2rem 2.6rem;
  background: #fdfdfb;
  border: 1px solid #d5d5d5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transform: rotate(-1.2deg);
  font-family: "Roboto Mono", "Courier New", monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #222;
}
.horst-ausdruck::before {
  /* Tackerklammer */
  content: "";
  position: absolute;
  top: -7px;
  left: 26px;
  width: 14px;
  height: 7px;
  border: 2px solid #6b6b6b;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  transform: rotate(-10deg);
}
.horst-ausdruck__kopf {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin: 0 0 0.9em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #cfcfcf;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #555;
}
#page-content .horst-ausdruck__kopf img { width: 3.2em; height: auto; margin: 0; flex: 0 0 auto; }  /* schlägt #page-content img {width:70%} in custom.css */
.horst-ausdruck__name b { color: #2559d6; font-weight: 700; }
.horst-ausdruck p { margin: 0 0 0.45em; }
.horst-ausdruck__stempel {
  position: absolute;
  right: 1rem;
  bottom: 0.3rem;
  font-size: 1.05rem;
  border-width: 0.28rem;
  padding: 0.15rem 0.6rem;
  transform: rotate(-8deg);
}
@media (max-width: 767px) { .horst-ausdruck { margin-left: 0; font-size: 0.78rem; } .horst-ausdruck__kopf { flex-wrap: wrap; } }

/* Peking Pilot – Smiths Gratis-KI: Ausgabe eines technischen Geräts (Kasten wie HORST, aber grell; JS stellt Logo und Namen voran, maulz-uebungen.js pilotBauen) */
.pilot {
  display: flex; max-width: 100%; align-items: flex-start; gap: 0.7em; margin: 0.2em 0 1em 2.5em;
  padding: 0.5em 0.9em 0.5em 0.6em; background: #fff7fb; color: #2a1a2e;
  border: 2px solid #ff3fa4; border-radius: 12px 12px 12px 2px; box-shadow: 0 2px 6px rgba(255, 63, 164, 0.35);
  font-family: "Roboto Mono", "Courier New", monospace; font-size: 0.85rem; line-height: 1.3;
}
.pilot__logo { flex: 0 0 auto; width: 2.6em; height: 2.6em; background: url("/bl-themes/docs-to-maulz/img/peking-pilot.png") no-repeat center / contain; }
.pilot__body { flex: 1 1 auto; min-width: 0; }
.pilot__name { display: block; font-weight: 700; letter-spacing: 0.06em; color: #ff3fa4; font-size: 0.75em; text-transform: uppercase; }
.pilot__name small { font-weight: 400; letter-spacing: 0; color: #9a6b8a; margin-left: 0.5em; text-transform: none; }
.pilot p { margin: 0.15em 0 0 0; }
.pilot .pilot__werbung {
  margin-top: 0.4em; padding: 0.15em 0.5em; display: inline-block; background: #ffe600; color: #c00; font-weight: 700;
  border: 2px dashed #c00; transform: rotate(-1deg); animation: pilot-blink 1s steps(2, start) infinite;
}
.pilot__fuss { display: block; margin-top: 0.45em; font-size: 0.7em; letter-spacing: 0.15em; color: #b08aa5; }
@keyframes pilot-blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .pilot .pilot__werbung { animation: none; } }

/* v21 (14.10.2026): Regieanweisung VOR dem Doppelpunkt – <p class="o" data-regie="nimmt sich die Falafel"> ergibt „Ösal (nimmt sich die Falafel): …" */
p.r[data-regie]::before   { content: "Rousseau (" attr(data-regie) "): "; }
p.s[data-regie]::before   { content: "Smith (" attr(data-regie) "): "; }
p.k[data-regie]::before   { content: "Kowalsky (" attr(data-regie) "): "; }
p.o[data-regie]::before   { content: "Ösal (" attr(data-regie) "): "; }
p.t[data-regie]::before   { content: "Tiffany (" attr(data-regie) "): "; }
p.a[data-regie]::before   { content: "Abhaydatta Kapoor (" attr(data-regie) "): "; }
p.drs[data-regie]::before { content: "Dr. Schaub (" attr(data-regie) "): "; }
/* v21: kein 🌍 beim Hovern am Weiter-Knopf (custom.css setzt es für alle Links in .main) */
.main a.abschluss__weiter:hover::before { content: none; }
/* v23 (14.10.2026): Antwortfeld und Knöpfe gleich hoch und bündig (das Theme gibt Knöpfen sonst einen eigenen Außenabstand) */
.abschluss__eingabe { align-items: stretch; }
.abschluss__eingabe input,
.abschluss__eingabe button { margin: 0; box-sizing: border-box; }

/* v24 (14.10.2026): Tabellenausschnitte als echtes HTML statt Screenshots (Seite „Primärschlüssel und Fremdschlüssel")
   <div class="db-tabelle"><p class="db-tabelle__name">personen</p><table>…<th class="pk">pNr</th>…<td class="fk">…</td>…<tr class="treffer">…</table></div> */
.db-tabelle { overflow-x: auto; margin: 0.8em 0 1.2em 0; }
.db-tabelle__name { margin: 0 0 0.2em 0; font: bold 0.95rem "Roboto Mono", "Courier New", monospace; }
.db-tabelle table { border-collapse: collapse; font: 0.85rem "Roboto Mono", "Courier New", monospace; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.4); }
.db-tabelle th, .db-tabelle td { border: 1px solid #bbb; padding: 0.2em 0.55em; text-align: left; white-space: nowrap; }
.db-tabelle th { background: #212529; color: #fff; font-weight: normal; }
.db-tabelle th.pk { background: #b8860b; color: #fff; }
.db-tabelle th.pk::before { content: "PK "; font-size: 0.75em; opacity: 0.85; }
.db-tabelle th.fk { background: #ba372a; color: #fff; }
.db-tabelle th.fk::before { content: "FK "; font-size: 0.75em; opacity: 0.85; }
.db-tabelle td.pk { background: #fff3cd; font-weight: bold; }
.db-tabelle td.fk { background: #fbe0dc; font-weight: bold; }
.db-tabelle td.leer { color: #888; text-align: center; }
.db-tabelle tr.treffer td { outline: 2px solid #fe9b27; outline-offset: -2px; background: #ffe2bf; }
.db-paar { display: flex; flex-wrap: wrap; gap: 1.2em; align-items: flex-start; }
.db-paar__pfeil { align-self: center; font: bold 1.1rem "Roboto Mono", monospace; color: #ba372a; }
.db-beziehung { display: block; max-width: 560px; width: 100%; height: auto; margin: 0.8em 0 1.2em 0; }
/* v25: die beiden zusammengehörigen Schlüsselfelder (FK in der einen, PK in der anderen Tabelle) knallrot hervorheben */
.db-tabelle tr.treffer td.verbindung,
.db-tabelle td.verbindung { background: #ba372a; color: #fff; font-weight: bold; outline: 3px solid #ba372a; outline-offset: -1px; }
.db-paar__pfeil b { background: #ba372a; color: #fff; padding: 0 0.25em; border-radius: 3px; }

/* v26 (15.10.2026, „Kartesisches Produkt vermeiden"): Schlüssel, die im Ergebnis NICHT zusammenpassen (rot, durchgestrichen) bzw. zusammenpassen (grün) */
.db-tabelle td.passt-nicht { background: #ba372a; color: #fff; font-weight: bold; text-decoration: line-through; text-decoration-thickness: 2px; }
.db-tabelle td.passt { background: #2e7d32; color: #fff; font-weight: bold; }

/* v27 (17.10.2026, „Bei Sülar"): Sprecher ohne Figurenbild – Sülar (su), Asen Daskalov (da), Ana Badea (ba).
   Platzhalter: runder Kreis mit Anfangsbuchstaben. Für Daskalov und Badea später der Bildtyp „durch den Kamera-Sucher" (Teil F). */
.main p.su, .main p.da, .main p.ba, .main p.ph {
  position: relative;
  border-radius: 20px;
  padding: 5px 5px 5px 64px;
  min-height: 60px;
}
.main p.su { background-color: rgb(255, 214, 200); }
.main p.da { background-color: rgb(222, 234, 198); }
.main p.ba { background-color: rgb(226, 216, 250); }
.main p.ph { background-color: rgb(255, 236, 170); }   /* v43: Presslufthammer als Sprecherrolle (Platzhalter „P“, Bild kommt später) */
p.su::before { content: "Sülar: "; color: rgb(150, 40, 20); }
p.da::before { content: "Daskalov: "; color: rgb(70, 92, 20); }
p.ba::before { content: "Frau Badea: "; color: rgb(85, 45, 145); }
p.ph::before { content: "Presslufthammer: "; color: rgb(120, 85, 0); }
p.su[data-regie]::before { content: "Sülar (" attr(data-regie) "): "; }
p.da[data-regie]::before { content: "Daskalov (" attr(data-regie) "): "; }
p.ba[data-regie]::before { content: "Frau Badea (" attr(data-regie) "): "; }
.main p.su::after, .main p.da::after, .main p.ba::after, .main p.ph::after {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  color: #fff;
  font: bold 1.5rem/48px Georgia, serif;
  text-align: center;
}
.main p.su::after { content: "S"; background: rgb(150, 40, 20); }
.main p.da::after { content: "D"; background: rgb(70, 92, 20); }
.main p.ba::after { content: "B"; background: rgb(85, 45, 145); }
.main p.ph::after { content: "P"; background: rgb(120, 85, 0); }

/* v27: Weiter-Knopf auf Seiten ohne Abschlussaufgabe */
.main p.weiter-solo { margin: 1.2em 0 0.5em 0; }

/* v27: Smith versteckt sich hinter dem Schweinischen Boten (Titelseite als HTML statt Bild) */
.zeitung-versteck { position: relative; max-width: 460px; margin: 1em auto 1.4em auto; padding-top: 84px; }
/* v91 (31.10.2026): neues Foto, Smith lugt freigestellt über den Zeitungsrand (kein Kreis mehr) */
.main img.zeitung-versteck__smith { position: absolute; top: 0; left: 60%; width: 90px !important; max-width: 90px !important; height: auto !important; border-radius: 0; z-index: 0; margin: 0 !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; background: transparent !important; }
.zeitung-versteck__blatt {
  position: relative; z-index: 1;
  background: #f9f7f1; color: #2f2f2f;
  padding: 0.8em 1.2em 1em 1.2em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transform: rotate(-1.5deg);
}
.main .zeitung-versteck p { margin: 0; text-align: center; }
.main .zeitung-versteck__kopf { font: 2.1rem "UnifrakturMaguntia", serif; line-height: 1.1; }
.main .zeitung-versteck__unterkopf { font: italic 0.75rem Georgia, serif; border-bottom: 1px solid #999; padding-bottom: 0.4em; margin-bottom: 0.6em !important; }
.zeitung-versteck__aufmacher { display: flex; align-items: center; gap: 0.8em; }
.main .zeitung-versteck__aufmacher img { width: 80px !important; max-width: 80px !important; height: auto !important; flex: 0 0 80px; margin: 0 !important; box-shadow: none !important; }
.main .zeitung-versteck__schlagzeile { font: bold 1.25rem/1.2 Georgia, serif; text-align: left !important; }
.main .zeitung-versteck__dachzeile { font: 0.95rem Georgia, serif; text-align: left !important; }
.zeitung-versteck__text { flex: 1 1 auto; min-width: 0; }

/* v29 (17.10.2026, „Atomisierung!"): Auswahl-Karten als Übungen im Aufgabenzettel – volle Breite, wenig Abstand */
.notes .auswahl { width: auto; max-width: none; margin: 0.5em 0 0.9em 0; padding: 10px 14px; font-size: 1rem; }
.notes .auswahl li { list-style: none; }
.notes .auswahl__folge p { margin: 0.4em 0 0 0; }

/* v33 (17.10.2026, „3. Normalform"): HTML-Tabelle im HORST-Ausdruck, sich wiederholende Werte gelb (Redundanz);
   Kopfzeilen dürfen umbrechen, Datenzellen nicht */
.horst-ausdruck .db-tabelle table { font-size: 0.58rem; letter-spacing: -0.02em; }
.horst-ausdruck .db-tabelle th, .horst-ausdruck .db-tabelle td { padding: 0.12em 0.2em; }
.horst-ausdruck .db-tabelle th { white-space: normal; word-break: break-all; }
.horst-ausdruck .db-tabelle td { white-space: nowrap; }
.db-tabelle td.doppelt { background: #fff1a8; }
.notes .auswahl[data-typ="zuordnung"] li { justify-content: space-between; }

/* v35 (18.10.2026, „3. Normalform"): optionale Ergänzung auf Kowalsky-Zetteln kleiner gedruckt (ohne Wort „Zusatz"); Spalten-Tabelle im Aufgabenzettel */
.papierstapelKowalsky p.zusatz { font-size: 0.85em; color: #555; border-left: 3px solid #c9c2a4; padding-left: 0.7em; }
.notes .spickzettel { margin: 0.3em 0 1em 0; }
.notes .spickzettel table { font-size: 0.8rem; }
.notes .spickzettel th { text-align: left; }

/* v41 (18.10.2026, „3. Normalform"): Tabellen-Übung – Klicken direkt in der Tabelle (Typen spalte und faerben, siehe maulz-uebungen.js) */
.tabellen-uebung { margin: 0.5em 0 0.9em 0; }
.tabellen-uebung__fragen { display: none; }
.tabellen-uebung__frage { margin: 0.3em 0 0.4em 0; font: 1rem "bohemian_typewriter", Helvetica, Arial, sans-serif; }
.tabellen-uebung__nr { display: inline-block; min-width: 2.6em; padding: 0 0.3em; background: #212529; color: #fff; border-radius: 3px; text-align: center; font-size: 0.8em; }
.tabellen-uebung .db-tabelle { margin: 0; background: #fff; padding: 0.3em; border: 1px solid #bbb; border-radius: 4px; }
.tabellen-uebung__innen { position: relative; display: inline-block; min-width: 100%; }
.tabellen-uebung__pfeile { display: block; height: 46px; }
.tabellen-uebung__pfeile path.pfeil { fill: none; stroke: #ba372a; stroke-width: 2.5; }
.tabellen-uebung__pfeile marker path { fill: #ba372a; }
.tabellen-uebung table { font-size: 0.6rem; user-select: none; -webkit-user-select: none; }
.tabellen-uebung th, .tabellen-uebung td { cursor: pointer; padding: 0.15em 0.25em; }
.tabellen-uebung th { white-space: normal; vertical-align: bottom; line-height: 1.15; }   /* Umbruch nur an <wbr> im Spaltennamen */
.tabellen-uebung__fuss { margin: 0.3em 0 0 0; font-size: 0.8rem; color: #666; }
/* Zettel mit Tabellen-Übung: volle Inhaltsbreite statt 80 % (Klasse setzt das JS) */
.notes.notes--breit { width: auto; max-width: none; margin-left: 4px; margin-right: 4px; }
.notes.notes--breit li { overflow: visible; }
.tabellen-uebung:not(.geloest) th:hover { outline: 2px solid #fe9b27; outline-offset: -2px; }
.tabellen-uebung td.richtig, .tabellen-uebung th.richtig { background: #b7e4b7 !important; }
.tabellen-uebung td.falsch,  .tabellen-uebung th.falsch  { outline: 2px solid #b00000; outline-offset: -2px; }
.tabellen-uebung[data-typ=spalte] td.falsch, .tabellen-uebung[data-typ=spalte] th.falsch { background: #f3b5b5 !important; outline: none; }
.tabellen-uebung__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4em; margin: 0.3em 0 0.5em 0; }
.tabellen-uebung__hinweis { font: 0.9rem "bohemian_typewriter", Helvetica, Arial, sans-serif; margin-right: 0.3em; }
.tabellen-uebung__chip { font: 0.95rem "Roboto Mono", "Courier New", monospace; padding: 0.2em 0.7em; border: 2px solid #777; border-radius: 4px; cursor: pointer; opacity: 0.75; }
.tabellen-uebung__chip.aktiv { opacity: 1; border-color: #000; box-shadow: 0 0 0 2px #fe9b27; }
.tabellen-uebung .farbe-0, .tabellen-uebung__chip.farbe-0 { background: #cfd8e6 !important; color: #000 !important; }
.tabellen-uebung .farbe-1, .tabellen-uebung__chip.farbe-1 { background: #c8e6c3 !important; color: #000 !important; }
.tabellen-uebung .farbe-2, .tabellen-uebung__chip.farbe-2 { background: #f6e7a6 !important; color: #000 !important; }
.tabellen-uebung .farbe-3, .tabellen-uebung__chip.farbe-3 { background: #f7c9a8 !important; color: #000 !important; }
.tabellen-uebung.geloest th, .tabellen-uebung.geloest td { cursor: default; }

/* ---------------------------------------------------------------- v44 (18.10.2026, „eERM anlegen"): zwei Tabellen als Kästen im Workbench-Look
   <div class="eerm-paar">
     <div class="eerm-kasten"><p class="eerm-kasten__kopf">personen</p><p class="eerm-attr pk">pNr</p><p class="eerm-attr">vorname</p><p class="eerm-attr fk">FK_…</p></div>
     <div class="eerm-paar__linie"><span>1</span><span>n</span></div>      (links / rechts; erscheint erst, wenn die Übung gelöst ist)
     <div class="eerm-kasten">…</div>
   </div> */
.eerm-paar { display: flex; align-items: center; gap: 0; margin: 0.5em 0 0.7em 0; flex-wrap: nowrap; }
.eerm-kasten { flex: 0 1 auto; min-width: 9.5em; background: #fff; border: 1px solid #7d9bbd; border-radius: 7px; box-shadow: 1px 2px 3px rgba(0,0,0,0.25); overflow: hidden; text-shadow: none; }
.main .eerm-kasten p { margin: 0; }
.eerm-kasten__kopf { background: linear-gradient(#d2e1f1, #a8c3df); font: bold 0.95rem Arial, Helvetica, sans-serif; color: #000; padding: 0.25em 0.6em 0.25em 1.9em; position: relative; border-bottom: 1px solid #7d9bbd; }
.eerm-kasten__kopf::before { content: ""; position: absolute; left: 0.55em; top: 50%; width: 0.85em; height: 0.75em; margin-top: -0.38em; border: 1px solid #3c6ea6; background: repeating-linear-gradient(#fff 0 2px, #3c6ea6 2px 3px); }
.eerm-attr { font: 0.85rem Arial, Helvetica, sans-serif; color: #000; padding: 0.12em 0.6em 0.12em 1.9em; position: relative; white-space: nowrap; }
.eerm-attr::before { content: ""; position: absolute; left: 0.75em; top: 50%; width: 0.5em; height: 0.5em; margin-top: -0.25em; transform: rotate(45deg); border: 1px solid #5aa6b8; background: #e4f4f7; }
.eerm-attr.fk::before { border-color: #a33; background: #e05a5a; }
.eerm-attr.pk::before { content: "\1F511"; transform: none; border: 0; background: none; width: auto; height: auto; left: 0.4em; margin-top: -0.55em; font-size: 0.75rem; }
.eerm-attr.weg { color: #888; font-style: italic; padding-left: 1.9em; }
.eerm-attr.weg::before { display: none; }
.eerm-paar__linie { flex: 1 1 4em; min-width: 3em; max-width: 9em; position: relative; height: 2.2em; visibility: hidden; }
.eerm-paar__linie::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed #333; }
.eerm-paar__linie span { position: absolute; top: -0.1em; font: bold 1.05rem Arial, Helvetica, sans-serif; color: #000; }
.eerm-paar__linie span:first-child { left: 0.3em; }
.eerm-paar__linie span:last-child { right: 0.3em; }
.auswahl.geloest .eerm-paar__linie, .abschluss.geloest .eerm-paar__linie { visibility: visible; }
.eerm-typ { color: #666; margin-left: 0.5em; font-size: 0.9em; }
.eerm-paar--fertig .eerm-paar__linie { visibility: visible; }
.notes .payoff .eerm-paar { font-family: Arial, Helvetica, sans-serif; }

/* ---------------------------------------------------------------- Smith-Zettel (Smiths eigene, zerknitterte Notizen, Handschrift)
   <div class="smith-zettel"><p class="smith-zettel__kopf">…</p><ul><li>…</li></ul><p><span class="smith-zettel__kreis">eingekreist</span></p></div> */
.smith-zettel { max-width: 30em; margin: 1.5em auto; padding: 1em 1.4em 1.2em 1.4em; background: #fffef6 repeating-linear-gradient(transparent 0 1.55em, #c9d8ea 1.55em calc(1.55em + 1px)); background-position: 0 0.9em; border: 1px solid #d8d4c0; box-shadow: 2px 3px 6px rgba(0,0,0,0.3), inset 0 0 25px rgba(140,120,80,0.18); transform: rotate(1deg); font: 1.15rem/1.55em "Architects Daughter", "Walter Turncoat", cursive; color: #1d2a5a; }
.main .smith-zettel p, .main .smith-zettel ul { margin: 0; }
.main .smith-zettel ul { padding-left: 1.3em; }
.main .smith-zettel li { margin: 0; line-height: 1.55em; }
.smith-zettel__kopf { font-weight: bold; text-decoration: underline; }
.smith-zettel__kreis { display: inline-block; margin-top: 0.5em; padding: 0.15em 0.7em; border: 2px solid #b8201c; border-radius: 50% 45% 55% 48%; transform: rotate(-2deg); }

/* v47 (19.10.2026, „Lehrer und Fächer“): durchgezogene Linie (identifizierende Beziehung, z. B. zur Verbindungstabelle aus dem n:m-Werkzeug),
   Diagramme als Antworten im Auswahl-Modul, kleine Zusatzzeile unter einer Aufgabe im Aufgabenzettel */
.eerm-paar__linie--fest::before { border-top-style: solid; }
.auswahl li .auswahl__diagramm { display: flex; flex-direction: column; gap: 0.2em; min-width: 0; overflow-x: auto; }
.auswahl li .auswahl__diagramm p.auswahl__diagramm-name { margin: 0; font-weight: bold; }
.auswahl li .eerm-paar { margin: 0.2em 0; font-family: Arial, Helvetica, sans-serif; }
.notes .klein { display: block; font-size: 0.85em; color: #555; margin-top: 0.2em; }
.auswahl li .eerm-kasten { min-width: 0; }
.auswahl li .eerm-paar__linie { flex: 0 1 3em; min-width: 2.2em; }
.auswahl li .eerm-attr, .auswahl li .eerm-kasten__kopf { font-size: 0.8rem; }
/* v49: Kästen nicht stauchen (sonst wird der Datentyp abgeschnitten), nur die Linien werden kürzer; notfalls seitlich scrollen */
.eerm-paar .eerm-kasten { flex-shrink: 0; }
.eerm-paar { overflow-x: auto; }
.eerm-paar__linie { min-width: 2.2em; }
.auswahl li .eerm-paar__linie { flex-basis: 2em; min-width: 1.8em; }

/* v51 (20.10.2026, „Kochs Zeichnung“): Jakob Koch als Sprecher (jk, Platzhalter-Kreis „K“, Bild kommt später)
   und Kochs Blatt (angefangenes eERM mit Bleistift, Randnotiz) */
.main p.jk { position: relative; border-radius: 20px; padding: 5px 5px 5px 64px; min-height: 60px; background-color: rgb(210, 228, 240); }
p.jk::before { content: "Koch: "; color: rgb(30, 80, 120); }
p.jk[data-regie]::before { content: "Koch (" attr(data-regie) "): "; }
.main p.jk::after { content: "K"; position: absolute; left: 6px; top: 6px; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,0.35); color: #fff; font: bold 1.5rem/48px Georgia, serif; text-align: center; background: rgb(30, 80, 120); }
.notes .payoff p.jk, .abschluss__folge p.jk, .auswahl__folge p.jk { font: 1.1rem "Walter Turncoat", sans-serif; }
.koch-blatt { max-width: 40em; margin: 1.5em auto; padding: 0.9em 1.2em 1em 1.2em; background: #fdfdfb; background-image: linear-gradient(#e4e9ee 1px, transparent 1px), linear-gradient(90deg, #e4e9ee 1px, transparent 1px); background-size: 18px 18px; border: 1px solid #d5d5cf; box-shadow: 2px 3px 6px rgba(0,0,0,0.3); transform: rotate(-0.8deg); }
.main .koch-blatt p { margin: 0; }
.koch-blatt__kopf { font: bold 1.1rem "Architects Daughter", "Walter Turncoat", cursive; color: #555; text-decoration: underline; }
.koch-blatt .eerm-paar { gap: 1.4em; font-family: Arial, Helvetica, sans-serif; filter: grayscale(1); opacity: 0.85; }
.koch-blatt__notiz { margin-top: 0.6em !important; font: 1.05rem/1.4em "Architects Daughter", "Walter Turncoat", cursive; color: #555; border-left: 2px solid #999; padding-left: 0.6em; transform: rotate(-1deg); }
/* v52 (21.10.2026): eERM-Diagramm im Abschlusszettel – kompakt wie im Auswahl-Modul */
.abschluss .eerm-paar { font-family: Arial, Helvetica, sans-serif; }
.abschluss .eerm-kasten { min-width: 0; }
.abschluss .eerm-paar__linie { flex: 0 1 3em; min-width: 2.2em; }
.abschluss .eerm-attr, .abschluss .eerm-kasten__kopf { font-size: 0.8rem; }
/* v53 (22.10.2026, „Agenteneinsätze“): komplettes eERM als inline-SVG (Vergleichsmodell), seitlich scrollbar auf schmalen Bildschirmen */
.eerm-svg-rahmen { overflow-x: auto; margin: 0.5em 0 1em 0; background: #fff; border-radius: 6px; padding: 6px; }
.eerm-svg-rahmen svg { display: block; }   /* v55: passt in die Breite, kein Seitwärts-Scrollen (Guana 22.10.) */
/* v56 (22.10.2026, „SUM, COUNT …“): Hervorhebungen im SQL-Code (Kowalsky-Zettel) und Ergebnistabellen statt Screenshots */
pre .hl { background: #ffffff; border-radius: 3px; padding: 0 2px; }
pre .hl2 { background: #a8d8ff; border-radius: 3px; padding: 0 2px; }
pre .hl-falsch { background: #ffaaaa; border-radius: 3px; padding: 0 2px; }
.hl-wort { background: #ffffff; border-radius: 3px; padding: 0 3px; }
.hl2-wort { background: #a8d8ff; border-radius: 3px; padding: 0 3px; }
table.sql-ergebnis { border-collapse: collapse; margin: 0.3em 0 1em 0; background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 0.85rem; color: #222; max-width: 100%; display: block; overflow-x: auto; width: fit-content; }
table.sql-ergebnis th, table.sql-ergebnis td { border: 1px solid #ccc; padding: 2px 8px; text-align: left; white-space: nowrap; }
table.sql-ergebnis th { background: #ececec; font-weight: normal; }
table.sql-ergebnis td.zahl { text-align: right; }
table.sql-ergebnis th.nr, table.sql-ergebnis td.nr { background: #ececec; color: #666; border-color: #ececec; padding: 2px 5px; }

/* Ergebnistabellen aus der Datenbank (generator/tabellen.py füllt <div class="ergebnis" data-sql="…">) */
.ergebnis { margin: 0.2em 0 0.6em 0; }
.ergebnis .payoff__erwartet { display: block; }
.ergebnis table.sql-ergebnis { margin-bottom: 0.2em; }
table.sql-ergebnis th.mehr, table.sql-ergebnis td.mehr { color: #888; font-style: italic; border-color: #eee; background: #fafafa; }
.ergebnis__mehr { font-family: Arial, Helvetica, sans-serif; font-size: 0.8rem; color: #777; margin: 0 0 0.6em 0; }

/* v58 (28.10.2026, „Insert, Update, Delete“): lange SQL-Befehle brechen weich um, je nach Breite, statt seitlich zu scrollen */
.main .pre-umbruch pre { white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: visible; }
/* v59: Listen auf Kochs Zettel mit sauberem Einzug (umbrochene Zeilen bleiben unter dem Text, nicht unter dem Punkt) */
.main .koch-zettel ul, .main .koch-zettel ol { padding-left: 1.5em; margin: 0.4em 0 0.9em 0; }
.main .koch-zettel li { list-style-position: outside; margin: 0.1em 0; }
/* v60 (28.10.2026, „Und wenn sie nicht gestorben sind …“): Szenenwechsel – schmaler Trennstrich mit viel Abstand, danach eine dunkle Kopfzeile */
.main hr.szenenwechsel { border: 0; border-top: 1px solid #999; width: 30%; margin: 4em auto 2.5em auto; }
.main p.szenenkopf { font-weight: bold; color: #222; letter-spacing: 0.02em; margin-bottom: 1em; }
/* v61 (28.10.2026, „Referentielle Integrität“):
   HORST-Antwort – längere Antwort des Systems, dunkel wie die HORST-Zeile, aber als Block (kein farbiger Rand links).
   <div class="horst-antwort"><p class="horst-antwort__kopf">HORST <small>v0.9 alpha</small></p><p>…</p><pre>…</pre></div> */
.horst-antwort { max-width: 46em; margin: 1.2em auto; padding: 0.8em 1.1em 1em; background: #1b2030; color: #e3e9f5; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.4); font: 0.9rem/1.5 "Roboto Mono", "Courier New", monospace; }
.main .horst-antwort p { margin: 0 0 0.6em 0; color: #e3e9f5; }
.main .horst-antwort p.horst-antwort__kopf { display: flex; align-items: center; gap: 0.5em; margin-bottom: 0.7em; padding-bottom: 0.4em; border-bottom: 1px solid #3a4258; font-weight: 700; letter-spacing: 2px; color: #8fb3ff; }
.horst-antwort__kopf::before { content: ""; width: 1.4em; height: 1.4em; background: url("/bl-themes/docs-to-maulz/img/horst-icon.png") no-repeat center / contain; filter: invert(1) brightness(1.6); }
.horst-antwort__kopf small { font-weight: 400; letter-spacing: 0; color: #7f8aa3; }
.horst-antwort pre { background: #0f131d; color: #cfe0ff; border: 1px solid #3a4258; white-space: pre-wrap; overflow-wrap: anywhere; }
.horst-antwort code { color: #cfe0ff; background: transparent; }
.horst-antwort .sql-uebernehmen { margin-bottom: 0.6em; }
.horst-antwort ul { margin: 0 0 0.6em 1.2em; padding: 0; }
.horst-antwort .hl { background: #6b5d00; color: #fff; border-radius: 3px; padding: 0 2px; }
/* drei kleine Tabellen nebeneinander (Ersatz für alte Screenshots), Zeile durchgestrichen = gelöscht */
.tabellen-reihe { display: flex; flex-wrap: wrap; gap: 1.2em; justify-content: center; margin: 0.8em 0; }
.tabellen-reihe figure { margin: 0; }
.tabellen-reihe figcaption { text-align: center; font-weight: 700; margin-bottom: 0.3em; color: #8fb3ff; }
.tabellen-reihe table.sql-ergebnis { margin: 0; }
.tabellen-reihe tr.geloescht td { text-decoration: line-through; text-decoration-color: #e53935; text-decoration-thickness: 2px; color: #e57373; }
/* Aufklapp-Kasten für Nebensachen (reines HTML: <details class="aufklapp"><summary>…</summary>…</details>) */
.aufklapp { max-width: 46em; margin: 1.2em auto; padding: 0.6em 1em; background: #fff; border: 1px solid #bbb; border-radius: 6px; }
.aufklapp summary { cursor: pointer; font-weight: 700; }
.aufklapp[open] summary { margin-bottom: 0.6em; }
.aufklapp img { max-width: 100%; height: auto; }
/* Abschlussaufgabe als Auswahl: sieht aus wie der orange Abschlusszettel */
.auswahl.auswahl--abschluss { position: relative; margin: 45px auto; background-color: #ffcf9e; box-shadow: 0 1px 2px #000; border: 0; }
/* v62: Veranschaulichung auf „Referentielle Integrität“ – kaputter Eintrag gelb, fehlender Datensatz rot, vorhandener grün */
.tabellen-reihe tr.markiert td { background: #fff3a6; font-weight: 700; }
.tabellen-reihe tr.fehlt td { color: #c62828; font-style: italic; background: #fdecea; }
.tabellen-reihe tr.ok td { background: #e3f4e1; }
/* v63: Tabellenreihen etwas enger, damit drei Tabellen nebeneinander passen */
.tabellen-reihe { gap: 0.6em; }
.tabellen-reihe table.sql-ergebnis th, .tabellen-reihe table.sql-ergebnis td { padding: 2px 5px; }
/* v64 (28.10.2026, „Und das Ende vom Lied …“): Zeitung – Schlagzeile mit HORST-Logo, zwei Spalten, Kasten, Bild */
#zeitung .zeitung-schlagzeile { display: flex; align-items: center; gap: 0.5em; margin: 0.6em 0; font: bold 1.9em/1.15 Georgia, serif; color: #111; }
#zeitung .zeitung-schlagzeile img { width: 2.2em; height: auto; flex: 0 0 auto; }
#zeitung .zeitung-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4em; border-top: 1px solid #999; border-bottom: 1px solid #999; margin: 1em 0; padding: 0.4em 0; }
@media (max-width: 767px) { #zeitung .zeitung-spalten { grid-template-columns: 1fr; } }
#zeitung .zeitung-spalten h3 { font-size: 1.1em; margin: 0.6em 0 0.2em 0; }
#zeitung .zeitung-kasten { border: 1px solid #555; padding: 0.4em 0.7em; margin: 0.6em 0; background: #fff; }
#zeitung .zeitung-kasten p { margin: 0.2em 0; }
#zeitung .zeitung-bild { margin: 0.5em 0; }
#zeitung .zeitung-bild img { width: 100%; height: auto; filter: grayscale(0.4); }
#zeitung .zeitung-bild figcaption { font: italic 0.8em Georgia, serif; color: #555; }
#zeitung .zeitung-liste li { font: 0.95em/1.35 Georgia, serif; color: #2f2f2f; margin-bottom: 0.3em; }
#zeitung .zeitung-schlagzeile img { width: 2.4em !important; max-width: 2.4em; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
#zeitung .zeitung-spalten > div { min-width: 0; }
#zeitung .zeitung-bild img { width: 100% !important; max-width: 100% !important; margin: 0 !important; box-sizing: border-box; }
/* v67: Hintergrund unter der Zeitung (Aufklapp-Kasten im Zeitungslook) */
.aufklapp.zeitung-hintergrund { background: #f9f7f1; font-family: Georgia, serif; color: #2f2f2f; }
.zeitung-hintergrund p, .zeitung-hintergrund li { font: 0.95em/1.4 Georgia, serif; color: #2f2f2f; }
/* v68: „Hintergrund“ unter dem ENDE als Zeitungsmeldungen in kleinen Kästen (statt Aufklappen) */
.main h2.hintergrund-titel { text-align: center; font-family: "UnifrakturMaguntia", Georgia, serif; font-size: 2.4em; margin: 1.6em 0 0.4em 0; }
.zeitung-hintergrund { color: #2f2f2f; background: #f9f7f1; padding: 18px 18px; }
.zeitung-hintergrund .meldungen { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 767px) { .zeitung-hintergrund .meldungen { grid-template-columns: 1fr; } }
.zeitung-hintergrund .meldung { border: 1px solid #999; padding: 0.6em 0.8em; background: #fdfcf8; min-width: 0; }
.main .zeitung-hintergrund .meldung h3 { font: bold 1.05em/1.25 Georgia, serif; margin: 0 0 0.35em 0; padding-bottom: 0.25em; border-bottom: 1px solid #ccc; text-align: left; color: #111; }
.main .zeitung-hintergrund .meldung p { font: 0.95em/1.4 Georgia, serif; color: #2f2f2f; margin: 0 0 0.4em 0; }

/* v69 (28.10.): „Mehrere Tabellen abfragen“ – Hinweiszeilen unter einer Tabellen-Reihe, Farbpaare im Befehl */
.main p.tabellen-hinweis { font: 0.9em/1.6 Arial, Helvetica, sans-serif; font-variant: normal; text-transform: none; text-align: center; margin: -0.2em 0 1em 0; }
.tabellen-hinweis .gelb { background: #fff3a6; color: #222; padding: 0 4px; font-weight: 700; }
.tabellen-hinweis .gruen { background: #e3f4e1; color: #222; padding: 0 4px; font-weight: 700; }
.papierstapelKowalsky pre .paar1 { background: #dbe4ff; }
.papierstapelKowalsky pre .paar2 { background: #dff3d8; }
/* v71 (28.10.): Kowalsky-Zettel in voller Breite (für Tabellen nebeneinander); Tabellen und Hinweiszeilen auf dem Zettel */
.papierstapelKowalsky.zettel-breit { width: 100%; padding: 1.5em 1.1em; }
.papierstapelKowalsky .tabellen-reihe figcaption { color: #1d2a40; }
.main .papierstapelKowalsky p.tabellen-hinweis { font: inherit; font-variant: inherit; text-transform: inherit; text-align: left; margin: 0.6em 0 0 0; }


/* v73 (29.10.2026): Bilder für Sülar, Daskalov, Badea, Presslufthammer und Koch statt Anfangsbuchstaben */
.main p.su::after, .main p.da::after, .main p.ba::after, .main p.ph::after, .main p.jk::after {
  content: ""; background-color: #fff; background-repeat: no-repeat; background-position: center top; background-size: cover;
}
.main p.su::after { background-image: url("/images-site/avatare/suelar-neutral.png?v=6"); }
.main p.da::after { background-image: url("/images-site/avatare/daskalov-neutral.png?v=6"); }
.main p.ba::after { background-image: url("/images-site/avatare/badea-neutral.png?v=6"); }
.main p.ph::after { background-image: url("/images-site/avatare/presslufthammer.png?v=6"); background-position: center; }
.main p.jk::after { background-image: url("/images-site/avatare/koch-neutral.png?v=6"); }

/* v74 (29.10.2026): Figurenbilder FREIGESTELLT (transparente PNGs, 256 px) – kein Kreis, kein weißer Grund, weicher Schatten an der Silhouette.
   Ausnahme: die Platzhalter (Kowalsky augenbraue/ernst) behalten Kreis und orangefarbenen Ring. */
.main p.s::after, .main p.k::after, .main p.o::after, .main p.t::after, .main p.r::after, .main p.a::after, .main p.drs::after,
.main p.su::after, .main p.da::after, .main p.ba::after, .main p.ph::after, .main p.jk::after {
  background-color: transparent; border-radius: 30%; box-shadow: none; background-position: center bottom;   /* v76: Ecken abgerundet (Guana) */
  width: 52px; height: 52px; top: 3px; left: 5px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}
/* v91 (31.10.2026): Kowalsky augenbraue/ernst sind jetzt echte Fotos – Platzhalter-Ring entfernt */
.main .terminalchat p.jk::after { display: none; }

/* v77 (29.10.2026, Guana): ALLE Überschriften in Bangers statt Poppins (Bangers liegt lokal, @font-face in custom.css).
   Gilt für h1–h5; Überschriften mit eigener Schrift (Zettel, Schreibmaschine, Zeitung …) behalten ihre, weil deren Regeln genauer sind. */
h1, h2, h3, h4, h5 { font-family: "Bangers", "Poppins", sans-serif; font-weight: 400; letter-spacing: 0.03em; }
.footer h4, .footer .f-sec3 h4 { font-family: "Bangers", "Poppins", sans-serif; font-weight: 400; letter-spacing: 0.03em; }
/* Hinweis: custom.css hat „.papierstapelKowalsky h2, h3, h4“ – das h3/h4 dort gilt (versehentlich) für ALLE h3/h4; die Regel oben überdeckt es. */
/* v79: Überschriften auf Kowalskys Zetteln und Kochs Blatt bleiben in Handschrift (Guana) */
.papierstapelKowalsky h1, .papierstapelKowalsky h2, .papierstapelKowalsky h3, .papierstapelKowalsky h4, .papierstapelKowalsky h5,
.koch-blatt h1, .koch-blatt h2, .koch-blatt h3, .koch-blatt h4, .koch-blatt h5 { font-family: "Walter Turncoat", cursive; letter-spacing: normal; }

/* v82 (29.10.2026): neue Gesichter. kowalsky-genervt = Foto; oesal-genervt und kapoor-charmant kommen aus Ideogram –
   bis dahin zeigen sie das neutrale Bild mit orangefarbenem Ring (Platzhalter). */
.main p.k.genervt::after { background-image: url("/images-site/avatare/kowalsky-genervt.png?v=21"); }
.main p.o.genervt::after { background-image: url("/images-site/avatare/oesal-genervt.png?v=8"); }   /* v83: Ideogram o04 v3 */
.main p.a.charmant::after { background-image: url("/images-site/avatare/kapoor-charmant.png?v=8"); }   /* v83: Ideogram a02 v2 */
table.sql-ergebnis td.passfoto img { width: 45px; height: 60px; vertical-align: middle; border-radius: 3px; margin-right: 6px; }

/* v98 (31.10.2026): Kowalsky-Zettel nur mit einer Grafik (z. B. Beziehungslinie auf „Primärschlüssel und Fremdschlüssel“) */
.papierstapelKowalsky.zettel-grafik { padding: 1.2em; }
.papierstapelKowalsky.zettel-grafik .db-beziehung { margin: 0 auto; }
/* v99 (31.10.2026): Smith verliebt (Foto smith-verliebt.jpeg, freigestellt wie die anderen 2026-Bilder) */
.main p.s.verliebt::after { background-image: url("/images-site/avatare/smith-verliebt.png?v=1"); }
/* v100 (31.10.2026, „3. Normalform“): Redundanz farbig – was zusammenhängt, hat dieselbe Farbe */
.db-tabelle.redundanz td.g1 { background: #dbe4ff; }
.db-tabelle.redundanz td.g2 { background: #dff3d8; }
.db-tabelle.redundanz td.g3 { background: #ffe2bf; }
.main .papierstapelKowalsky .db-tabelle.redundanz .db-tabelle__name { font: bold 0.85rem "Roboto Mono", "Courier New", monospace; margin-bottom: 0.4em; }
.main .papierstapelKowalsky .db-tabelle.redundanz .db-tabelle__name small { font-weight: normal; font-size: 0.75rem; }
.db-tabelle.redundanz table { font-size: 0.66rem; }
.db-tabelle.redundanz th, .db-tabelle.redundanz td { padding: 0.15em 0.22em; }
.db-tabelle.redundanz th { white-space: normal; vertical-align: bottom; }

/* v104 (31.10.2026, „Die Akte Daskalov“): eERM auf einem schmalen Kowalsky-Zettel kleiner, damit es ohne Scrollen passt */
.main .papierstapelKowalsky .eerm-paar.eerm-klein, .main .papierstapelKowalsky .eerm-paar.eerm-klein p { font-size: 12px; }

/* v106/v107 (22.11., Guana): Merkkasten für Merksätze auf Zetteln (HAVING, Aggregatfunktionen, LIKE, INSERT/UPDATE) – heller Kasten mit Rahmen und leichtem Schatten, keine Leiste links */
.main .merkkasten { background: rgba(255, 255, 255, 0.7); border: 2px solid #5a4632; border-radius: 8px; box-shadow: 3px 3px 0 rgba(90, 70, 50, 0.3); padding: 0.7em 1em 0.7em 2.4em; margin: 1.2em 0 1.4em 0; }
.main p.merkkasten { padding: 0.7em 1em; }
.main .merkkasten li { margin: 0.25em 0; }
.main .koch-blatt .merkkasten { background: rgba(255, 255, 255, 0.9); border-color: #777; box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15); margin: 0.8em 0 1em 0; }

/* v108 (22.11., Guana): mehr Abstand zwischen Aufgabentext und Code auf den gelben Zetteln (z. B. „Vergeltung“ #2) */
.main .notes li > pre { margin-top: 0.7em; }
/* v109 (22.11.): geänderter Wert in einer Tabellen-Reihe – alter Wert durchgestrichen, neuer daneben (Änderungsanomalie auf „Mon Dieu …“) */
.tabellen-reihe .alt-wert { text-decoration: line-through; text-decoration-color: #e53935; text-decoration-thickness: 2px; color: #e57373; margin-right: 0.3em; }
.tabellen-reihe .neu-wert { font-weight: 700; background: #fff3a6; padding: 0 0.2em; }

/* v110 (22.11., Guana): Rousseaus eigene Merkzettel (Löschanomalie, Änderungsanomalie) – handschriftlich, wie ein aufgeklebter Notizzettel, NICHT wie die To-do-Zettel */
@font-face { font-family: "Patrick Hand"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts_maulwurfstadt/patrick-hand-v19-latin-regular.woff2") format("woff2"), url("/fonts_maulwurfstadt/patrick-hand-v19-latin-regular.woff") format("woff"); }
.main .rousseau-notiz { position: relative; max-width: 640px; margin: 2.2em auto 1.8em auto; padding: 1.6em 1.6em 1.2em 1.6em;
  background: #fbfde9; background-image: linear-gradient(transparent 1.55em, rgba(90, 120, 200, 0.18) 1.55em, rgba(90, 120, 200, 0.18) calc(1.55em + 1px), transparent calc(1.55em + 1px));
  background-size: 100% 1.6em; box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.25); transform: rotate(-1deg);
  font-family: "Patrick Hand", "Architects Daughter", cursive; font-size: 1.25rem; line-height: 1.6em; color: #1f3a7a; }
.main .rousseau-notiz::before { content: ""; position: absolute; top: -0.7em; left: 50%; width: 7em; height: 1.4em; margin-left: -3.5em;
  background: rgba(220, 220, 200, 0.75); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); transform: rotate(2deg); }
.main .rousseau-notiz p { font-family: inherit; color: inherit; font-size: inherit; line-height: inherit; }
.main .rousseau-notiz .merkkasten { background: rgba(255, 255, 255, 0.6); border: 2px solid #1f3a7a; border-radius: 6px 14px 8px 12px; box-shadow: none; padding: 0.4em 0.8em; }
.main .rousseau-notiz .tabellen-reihe { font-family: Arial, Helvetica, sans-serif; font-size: 0.85rem; line-height: 1.3; transform: rotate(1deg); }
.main .rousseau-notiz .tabellen-reihe figcaption { color: #1f3a7a; font-family: "Patrick Hand", cursive; font-size: 1.1rem; font-weight: 400; }

/* v111 (22.11., Guana): Rousseaus Merkzettel krakeliger (Reenie Beanie, lokal) und breiter; Tabellen darauf möglichst nebeneinander */
.main .rousseau-notiz { max-width: 760px; padding: 1.4em 1.1em 1em 1.1em; font-family: "Reenie Beanie", "Patrick Hand", cursive; font-size: 1.75rem; line-height: 1.15em; background-size: 100% 1.2em;
  background-image: linear-gradient(transparent 1.15em, rgba(90, 120, 200, 0.18) 1.15em, rgba(90, 120, 200, 0.18) calc(1.15em + 1px), transparent calc(1.15em + 1px)); }
.main .rousseau-notiz p { margin: 0 0 0.5em 0; }
.main .rousseau-notiz .merkkasten { padding: 0.3em 0.6em; }
.main .rousseau-notiz .tabellen-reihe { flex-wrap: nowrap; gap: 0.5em; justify-content: space-between; font-size: 0.72rem; overflow-x: auto; }
.main .rousseau-notiz .tabellen-reihe table.sql-ergebnis th, .main .rousseau-notiz .tabellen-reihe table.sql-ergebnis td { padding: 1px 4px; }
.main .rousseau-notiz .tabellen-reihe figcaption { font-family: "Reenie Beanie", cursive; font-size: 1.4rem; }
@media (max-width: 760px) { .main .rousseau-notiz .tabellen-reihe { flex-wrap: wrap; justify-content: center; } }

/* v112 (22.11., Guana): Merkzettel in Caveat (lokal, OFL) – handschriftlich, aber gut lesbar; Reenie Beanie war zu krakelig */
.main .rousseau-notiz { font-family: "Caveat", "Patrick Hand", cursive; font-weight: 500; font-size: 1.55rem; line-height: 1.25em; background-size: 100% 1.3em;
  background-image: linear-gradient(transparent 1.25em, rgba(90, 120, 200, 0.18) 1.25em, rgba(90, 120, 200, 0.18) calc(1.25em + 1px), transparent calc(1.25em + 1px)); }
.main .rousseau-notiz .tabellen-reihe figcaption { font-family: "Caveat", cursive; font-weight: 500; font-size: 1.3rem; }

/* v113 (22.11., Guana): Caveat auch schlecht lesbar → Kalam (lokal, OFL), gerade und deutlich */
.main .rousseau-notiz { font-family: "Kalam", "Patrick Hand", cursive; font-weight: 400; font-size: 1.3rem; line-height: 1.45em; background-size: 100% 1.45em;
  background-image: linear-gradient(transparent 1.4em, rgba(90, 120, 200, 0.18) 1.4em, rgba(90, 120, 200, 0.18) calc(1.4em + 1px), transparent calc(1.4em + 1px)); }
.main .rousseau-notiz .tabellen-reihe figcaption { font-family: "Kalam", cursive; font-weight: 400; font-size: 1.1rem; }

/* v114 (22.11., Guana): Merkzettel-Schrift Schoolbell (lokal, Apache-2.0) – Guanas Wahl aus der Schriftprobe */
@font-face { font-family: "Schoolbell"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts_maulwurfstadt/schoolbell-latin-400-normal.woff2") format("woff2"), url("/fonts_maulwurfstadt/schoolbell-latin-400-normal.woff") format("woff"); }
.main .rousseau-notiz { font-family: "Schoolbell", "Patrick Hand", cursive; }
.main .rousseau-notiz .tabellen-reihe figcaption { font-family: "Schoolbell", cursive; }

/* v115 (22.11., Guana): Footer-Hinweis auf die alte Fassung unter sql.hauptquartier.eu (nur auf sql2027) */
.footer .alte-fassung-hinweis { color: #fff; font-family: 'Poppins', sans-serif; font-size: 16px; line-height: 1.5; text-align: center; border: 1px solid #666; border-radius: 4px; padding: 14px 18px; margin: 34px auto 6px; max-width: 760px; }
.footer .alte-fassung-hinweis a, .footer .alte-fassung-hinweis a:visited { color: #f2c94c; text-decoration: underline; }
.footer .alte-fassung-hinweis a:hover { color: #fff; background: none; }
