/* Gemeinsames Stilblatt der statischen Seiten:
   /anleitung, /mechaniken, /datenschutz, /impressum.

   Die Seiten sind reines HTML ohne JavaScript, damit Inhalt und Links auch
   fuer Crawler da sind, die nichts ausfuehren. Systemschrift statt Google
   Fonts: keine Verbindung zu Dritten, nur um eine Rechtsseite zu lesen.
   Farben spiegeln das Spiel (#0a0c12 Grund, #00e5ff Akzent). */

:root {
  --grund: #0a0c12;
  --text: #e5e7eb;
  --gedaempft: rgba(255, 255, 255, 0.72);
  --akzent: #00e5ff;
  --linie: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; }

html { background: var(--grund); }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
}

header.kopf,
main,
footer.fuss {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

header.kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--linie);
}

header.kopf a.marke {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

header.kopf a.spielen {
  color: var(--grund);
  background: var(--akzent);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
}

main { padding-top: 28px; padding-bottom: 40px; }

h1 { font-size: 28px; line-height: 1.2; margin: 0 0 6px; color: #fff; }

p.unterzeile {
  margin: 0 0 24px;
  color: var(--akzent);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Lesbarkeit (2026-10-18): Fliesstext 17 px, h2 21 px ohne Versalien. Vorher 15 px und h2 15 px in
   Versalien -- die Zwischenueberschrift war nicht groesser als der Text, den sie gliedert. */
h2 {
  font-size: 21px;
  line-height: 1.3;
  margin: 34px 0 10px;
  color: var(--akzent);
}

h3 { font-size: 18px; margin: 24px 0 4px; color: #fff; }

p, li, dd { color: var(--gedaempft); font-size: 17px; }
p { margin: 0 0 12px; }
ul { padding-left: 20px; margin: 0 0 12px; }
li { margin-bottom: 4px; }

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

strong { color: #fff; }

.ab {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 4px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--akzent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

.hinweis {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.07);
  border: 1px solid rgba(0, 229, 255, 0.22);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.stand { font-size: 12px; color: rgba(255, 255, 255, 0.4); margin-top: 28px; }

footer.fuss {
  padding-top: 20px;
  padding-bottom: 32px;
  border-top: 1px solid var(--linie);
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

footer.fuss nav a { margin: 0 8px; white-space: nowrap; }
footer.fuss p { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin: 10px 0 0; }

/* Sprachumschalter der FAQ-Seiten: echte Links zu den anderen Fassungen */
nav.sprachen { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 22px; font-size: 14px; }
nav.sprachen a, nav.sprachen span { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--linie); text-decoration: none; }
nav.sprachen a { color: var(--akzent); }
nav.sprachen span { color: var(--grund); background: var(--akzent); border-color: var(--akzent); font-weight: 700; }

/* Rubrik Strategie und Psychologie (scripts/rubrik-seiten.mjs) */
p.autor { margin: 0 0 2px; font-size: 14px; }
p.datum { margin: 0 0 22px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
nav.rubrik-liste { margin-top: 32px; padding-top: 8px; border-top: 1px solid var(--linie); }
nav.rubrik-liste span[aria-current] { color: #fff; }
footer.fuss nav.rubrik { margin-top: 8px; }
nav.inhalt { margin: 0 0 24px; padding: 12px 16px; border: 1px solid var(--linie); border-radius: 12px; }
nav.inhalt p.inhalt-titel { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--akzent); }
/* Inhaltsverzeichnisse: Die Nummer steht im Ueberschriftentext ("1. Es gibt genau eine Strafe"), und nicht jede
   Ueberschrift hat eine ("Beispiel: ...", "Literatur"). Eine zweite Zaehlung durch <ol> ergab "1. 1. ...". */
nav.inhalt ol, section.text-eintrag ol { list-style: none; }
nav.inhalt ol { margin: 0; padding-left: 0; }
nav.inhalt li { margin-bottom: 2px; font-size: 14px; }
h2[id] { scroll-margin-top: 16px; }
section.text-eintrag { margin: 0 0 22px; }
section.text-eintrag h3 { margin-bottom: 6px; }
section.text-eintrag ol { padding-left: 0; margin: 0; }
section.text-eintrag li { font-size: 14px; margin-bottom: 2px; }
