/* =====================================================================
   GRIPS & KEULE – Aussehen der Spielseite
   =====================================================================
   Alle Farben stehen oben als "Variablen". Willst du z. B. die
   Akzentfarbe ändern, reicht es, --akzent zu ändern.
   ===================================================================== */

/* ---------- Schriften (liegen im Ordner "schriften", Lizenz: SIL OFL 1.1, siehe schriften/OFL.txt) ----------
   Alles kommt von der eigenen Seite – nichts wird von fremden Servern geladen. */
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('schriften/rubik-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('schriften/rubik-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('schriften/rubik-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bree Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('schriften/bree-serif-latin-400-normal.woff2') format('woff2'); }

:root {
  --hintergrund:  #F3EEE4;   /* Seitenhintergrund (heller Stein) */
  --flaeche:      #FFFFFF;   /* Karten und Leisten */
  --text:         #2A241D;   /* Haupttext */
  --leise:        #6B6157;   /* Nebentext */
  --linie:        #E2D9CB;   /* Rahmen */
  --akzent:       #A9481A;   /* Knöpfe, Hervorhebungen (Feuer-Orange) */
  --akzent-hell:  #F6E3D6;
  --gruen:        #3D6B4B;   /* Stamm, Erfolg */
  --gruen-hell:   #E1EDE3;
  --gesperrt:     #EFE7DA;

  --schrift:       Rubik, system-ui, sans-serif;
  --schrift-titel: 'Bree Serif', Georgia, serif;
}

* { box-sizing: border-box; }

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

[hidden] { display: none !important; }

h1, h2 { margin: 0; font-weight: 400; }
h2 { font-family: var(--schrift-titel); font-size: 21px; }
.leise { color: var(--leise); font-size: 14px; margin: 0; }

/* ---------- Bereiche ---------- */
.bereich { min-height: 100vh; }
.zentriert {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

/* ---------- Karten und Formulare ---------- */
.karte {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 14px;
  padding: 16px;
}
.formular-karte {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.logo {
  font-family: var(--schrift-titel);
  font-size: 32px;
}
.logo span { color: var(--akzent); }

.formular { display: flex; flex-direction: column; gap: 14px; }
.formular label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 500;
  font-size: 15px;
}
.formular input {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #D5CBBB;
  border-radius: 10px;
  font: inherit;
  font-weight: 400;
  background: #FFFFFF;
  color: var(--text);
}
.formular input:focus {
  outline: 3px solid var(--akzent-hell);
  border-color: var(--akzent);
}
.formular small { font-weight: 400; font-size: 13px; }

.formular-links { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }

/* ---------- Meldungen ---------- */
.meldung {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  background: var(--akzent-hell);
  color: #7E3511;
}
.meldung.erfolg { background: var(--gruen-hell); color: #2F5A3C; }

.hinweis {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--gruen-hell);
  color: #2F5A3C;
  font-size: 14px;
}

/* ---------- Knöpfe ---------- */
.knopf {
  min-height: 48px;
  padding: 0 16px;
  border: none;
  border-radius: 12px;
  background: var(--akzent);
  color: #FFFFFF;
  font: 600 16px var(--schrift);
  cursor: pointer;
}
.knopf:hover { background: #8F3C14; }
.knopf:disabled { background: var(--gesperrt); color: var(--leise); cursor: not-allowed; }
.knopf.klein { min-height: 44px; font-size: 14px; padding: 0 12px; }
.knopf.zweitrangig {
  background: var(--flaeche);
  color: var(--text);
  border: 1px solid var(--linie);
}
.knopf.zweitrangig:hover { background: var(--hintergrund); }

.link {
  background: none;
  border: none;
  padding: 8px 0;
  color: var(--akzent);
  font: 500 15px var(--schrift);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Spielansicht ---------- */
.spiel {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 76px;          /* Platz für die Menüleiste */
}

.rohstoffleiste {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 52px;
  background: var(--flaeche);
  border-bottom: 1px solid var(--linie);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 0 4px;
}
.rohstoff {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}
.rohstoff-wert {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}
.rohstoff-wert.voll { color: var(--akzent); }
.rohstoff-name { font-size: 11px; color: var(--leise); }

.kopf {
  padding: 16px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.titel { font-family: var(--schrift-titel); font-size: 24px; }

.inhalt {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.abschnitt { font-family: var(--schrift); font-size: 15px; font-weight: 600; margin-top: 4px; }

.liste { display: flex; flex-direction: column; gap: 8px; }
.zeile {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.zeile-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.zeile-titel { font-size: 15px; font-weight: 600; }
.zeile-titel span { font-weight: 400; color: var(--leise); }
.zeile-info { font-size: 12px; color: var(--leise); }

.zeile-info.hindernis { color: var(--akzent); }

/* ---------- Bauauftrag ---------- */
.bau { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.bau-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.bau-kopf .leise { white-space: nowrap; }
.balken { height: 10px; border-radius: 5px; background: var(--gesperrt); overflow: hidden; }
.balken-fuellung { height: 100%; width: 0; background: var(--akzent); transition: width 1s linear; }

/* ---------- Umschalter Gebäude | Einheiten ---------- */
.umschalter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  background: #E7DFD1;
  border-radius: 12px;
}
.umschalter button {
  min-height: 44px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font: 500 15px var(--schrift);
  cursor: pointer;
}
.umschalter button[aria-pressed="true"] { background: var(--akzent); color: #FFFFFF; font-weight: 600; }
.ansicht { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Einheiten ---------- */
.zeile.einheit { flex-direction: column; align-items: stretch; }
.steuerung { display: flex; align-items: center; gap: 8px; }
.steuerung .zaehler {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #D5CBBB;
  background: var(--hintergrund);
  color: var(--text);
  font: 600 20px var(--schrift);
  cursor: pointer;
}
.steuerung .zaehler:disabled { opacity: 0.4; cursor: default; }
.steuerung .anzahl { width: 28px; text-align: center; font-size: 18px; font-weight: 600; }
.steuerung .knopf { flex: 1; }

/* ---------- Menüleiste unten ---------- */
.menueleiste {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 68px;
  background: var(--flaeche);
  border-top: 1px solid var(--linie);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 520px;
  margin: 0 auto;
}
.menueleiste button {
  background: none;
  border: none;
  font: 500 13px var(--schrift);
  color: var(--leise);
  cursor: pointer;
}
.menueleiste button.aktiv { color: var(--akzent); font-weight: 600; }
.menueleiste button:disabled { opacity: 0.5; cursor: default; }

/* ---------- Anfängerschutz mit Knopf ---------- */
.hinweis.schutz { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ---------- Karte ---------- */
.karte-rahmen {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  grid-template-areas: ". oben ." "links raster rechts" ". unten .";
  gap: 6px;
  align-items: center;
}
.pfeil {
  min-height: 44px;
  border: 1px solid var(--linie);
  border-radius: 10px;
  background: var(--flaeche);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}
.pfeil.oben { grid-area: oben; }
.pfeil.unten { grid-area: unten; }
.pfeil.links { grid-area: links; height: 100%; }
.pfeil.rechts { grid-area: rechts; height: 100%; }
.karte-raster {
  grid-area: raster;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
}
.zelle {
  min-height: 84px;
  border-radius: 10px;
  border: 1px solid var(--linie);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 2px;
  text-align: center;
  font-size: 12px;
  overflow: hidden;
}
.zelle .kuerzel { font-size: 11px; font-weight: 600; color: #2F5A3C; min-height: 14px; }
.zelle .name { font-weight: 600; white-space: nowrap; }
.zelle .koord {
  border: none;
  background: none;
  padding: 4px 6px;
  min-height: 32px;
  color: var(--akzent);
  font: 500 12px var(--schrift);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.art-eigen   { background: var(--akzent-hell); border: 2px solid var(--akzent); }
.art-stamm   { background: var(--gruen-hell); border: 2px solid var(--gruen); }
.art-spieler { background: var(--flaeche); }
.art-wild    { background: #EAE3D6; color: var(--leise); }

.legende { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--leise); }
.legende span { display: flex; align-items: center; gap: 6px; }
.legende .farbe { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }

/* ---------- Bewegung ---------- */
.umschalter.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.umschalter.vier button { font-size: 13px; }
.umschalter button:disabled { opacity: 0.45; cursor: default; }

.ziel-zeile { display: flex; align-items: center; gap: 10px; padding: 12px; }
.ziel-zeile label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--leise); }
.ziel-zeile input, .ladung-raster input {
  width: 60px;
  height: 44px;
  border: 1px solid #D5CBBB;
  border-radius: 10px;
  font: 600 17px var(--schrift);
  text-align: center;
  color: var(--text);
}
.ladung-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ladung-raster label {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; padding: 8px 10px;
  font-size: 13px; font-weight: 500;
}
.ladung-raster input { width: 100%; }
.ladung-raster small { color: var(--leise); font-weight: 400; }

.zusammenfassung {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  padding: 12px;
  font-size: 14px;
}
.zusammenfassung div { display: flex; flex-direction: column; }
.zusammenfassung .leise { font-size: 12px; }

/* ---------- Zahlenfeld zwischen − und + ---------- */
.steuerung .anzahl-feld {
  width: 60px;
  height: 44px;
  border: 1px solid #D5CBBB;
  border-radius: 10px;
  font: 600 17px var(--schrift);
  text-align: center;
  color: var(--text);
  background: #FFFFFF;
}
.umschalter.vier button { min-height: 52px; line-height: 1.15; padding: 2px; }

/* ---------- Kartensuche ---------- */
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.suche { display: flex; gap: 8px; }
.suche input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #D5CBBB;
  border-radius: 10px;
  font: inherit;
}
.suche-ergebnis { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.zelle.treffer { box-shadow: 0 0 0 3px var(--text); }
.zeile .knopf.klein { flex: none; }

/* ---------- Berichte ---------- */
.abzeichen {
  display: inline-block;
  min-width: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--akzent);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
}
.bericht { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; overflow: hidden; }
.bericht-kopf {
  width: 100%;
  min-height: 56px;
  padding: 10px 12px;
  border: none;
  background: none;
  text-align: left;
  font: inherit;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.bericht-kopf .zeile-text { flex: 1; }
.bericht.ungelesen .zeile-titel::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 4px;
  background: var(--akzent);
  margin-right: 6px;
  vertical-align: middle;
}
.bericht-inhalt { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.bericht-inhalt .text { white-space: pre-line; margin: 0; }
.ergebnis { font-weight: 600; margin: 0; }
.ergebnis.sieg { color: #2F5A3C; }
.ergebnis.niederlage { color: #7E3511; }
.kampf-tabelle { width: 100%; border-collapse: collapse; font-size: 13px; }
.kampf-tabelle caption { text-align: left; font-weight: 600; padding-bottom: 4px; }
.kampf-tabelle th, .kampf-tabelle td { padding: 6px 4px; border-bottom: 1px solid var(--linie); text-align: right; }
.kampf-tabelle th:first-child, .kampf-tabelle td:first-child { text-align: left; }
.kampf-tabelle th { color: var(--leise); font-weight: 500; }
.kampf-tabelle .verlust { color: #7E3511; }

/* ---------- Bewegungsart zum Ankreuzen ---------- */
.art-auswahl {
  margin: 0;
  padding: 0;
  border: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.art-auswahl legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.art-auswahl label {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: var(--flaeche);
  border: 2px solid var(--linie);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.art-auswahl input { width: 22px; height: 22px; accent-color: var(--akzent); flex: none; }
.art-auswahl label:has(input:checked) { border-color: var(--akzent); background: var(--akzent-hell); }

/* ---------- Löschen bei Berichten ---------- */
.knopf-reihe { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.bericht-kopf-zeile { display: flex; align-items: center; }
.bericht-kopf-zeile .bericht-kopf { flex: 1; min-width: 0; }
.loeschen {
  flex: none;
  min-width: 44px;
  height: 44px;
  margin-right: 6px;
  border: none;
  border-radius: 10px;
  background: none;
  color: var(--leise);
  font: 600 13px var(--schrift);
  cursor: pointer;
}
.loeschen:hover { background: var(--hintergrund); color: var(--akzent); }

/* ---------- Forschung und Wissensfragen ---------- */
.frage { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 2px solid var(--akzent); }
.fach-marke {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: #2F5A3C;
  background: var(--gruen-hell);
  padding: 4px 10px;
  border-radius: 999px;
}
.frage-text { font-family: var(--schrift-titel); font-size: 20px; line-height: 1.3; margin: 0; }
.antworten { display: flex; flex-direction: column; gap: 8px; }
.antworten label {
  min-height: 52px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--linie);
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
}
.antworten label:has(input:checked) { border-color: var(--akzent); background: var(--akzent-hell); }
.antworten input[type="checkbox"], .antworten input[type="radio"] { width: 22px; height: 22px; accent-color: var(--akzent); flex: none; }
.antworten input[type="number"] {
  height: 52px; border: 2px solid var(--linie); border-radius: 12px;
  font: 600 20px var(--schrift); text-align: center; color: var(--text);
}
.antworten .richtig { border-color: var(--gruen); background: var(--gruen-hell); }
.antworten .falsch { border-color: #B23B3B; background: #F7E1E1; }
.frage-zeiten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-size: 13px; }
.frage-zeiten div { border-radius: 10px; padding: 8px 10px; background: var(--gesperrt); }
.frage-zeiten .gut { background: var(--gruen-hell); }
.frage-zeiten strong { display: block; }
.ergebnis-titel { font-family: var(--schrift-titel); font-size: 22px; margin: 0; }
.ergebnis-titel.gut { color: #2F5A3C; }
.ergebnis-titel.schlecht { color: #7E3511; }

/* ---------- Meldungsfeld unter der Kopfzeile ---------- */
.meldung-rahmen { padding: 0 16px; }
.meldung-rahmen .meldung { margin-bottom: 10px; }

/* ---------- Nachrichten ---------- */
.umschalter.klein { grid-template-columns: repeat(2, auto); }
.umschalter.klein button { min-height: 40px; padding: 0 10px; font-size: 14px; }
.formular textarea {
  padding: 10px 12px;
  border: 1px solid #D5CBBB;
  border-radius: 10px;
  font: inherit;
  font-weight: 400;
  resize: vertical;
}
.ziel-zeile.ohne-rahmen { padding: 0; background: none; border: none; }
.nachricht-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.nachricht-aktionen { display: flex; flex-wrap: wrap; gap: 6px; }
.melden-zeile { display: flex; gap: 6px; }
.melden-zeile input { flex: 1; min-width: 0; min-height: 44px; padding: 0 10px; border: 1px solid #D5CBBB; border-radius: 10px; font: inherit; }

/* ---------- Stamm ---------- */
.umschalter.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.umschalter.drei button { font-size: 14px; padding: 0 2px; }
.stamm-kopf { display: flex; flex-direction: column; gap: 4px; }
.marke-haeuptling {
  font-size: 12px;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  background: var(--akzent);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
#stamm-mitglieder .zeile, #stamm-diplomatie .zeile { flex-wrap: wrap; }
#stamm-mitglieder .zeile-text, #stamm-diplomatie .zeile-text { flex: 1 1 160px; }
#knopf-austreten { align-self: flex-start; }

/* ---------- Rangliste ---------- */
.rang-zeile { justify-content: flex-start; }
.rang-zeile .zeile-text { flex: 1; }
.rang-platz { flex: none; min-width: 32px; font-weight: 600; color: var(--leise); }
.rang-punkte { flex: none; font-family: var(--schrift-titel); font-size: 18px; }
.zeile.eigen, .bericht.eigen { border-color: var(--akzent); background: var(--akzent-hell); }
.rang-meine { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.rang-meine .abschnitt { margin: 0; }
.rang-kategorien { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; text-align: center; }
.rang-kategorien div { display: flex; flex-direction: column; background: var(--hintergrund); border-radius: 10px; padding: 6px 2px; }
.rang-kategorien .leise { font-size: 11px; }
.rang-mitglied { display: flex; justify-content: space-between; font-size: 14px; padding: 2px 0; }

/* ---------- Papierkorb ---------- */
.knopf-reihe.links { justify-content: flex-start; }
.papierkorb-leiste { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.papierkorb-leiste .knopf { flex: none; }
.papierkorb-zeile { justify-content: flex-start; cursor: pointer; }
.papierkorb-zeile input { width: 22px; height: 22px; accent-color: var(--akzent); flex: none; }
.papierkorb-zeile:has(input:checked) { border-color: var(--akzent); background: var(--akzent-hell); }

/* ---------- Fehler / Feedback ---------- */
.kopf-knoepfe { display: flex; flex-direction: column; gap: 6px; align-items: stretch; flex: none; }
.feedback-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
#form-feedback { margin-bottom: 10px; border: 2px solid var(--akzent); }
.feedback-art { border: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.feedback-art legend { margin-bottom: 6px; }
.feedback-art label { display: flex; align-items: center; gap: 8px; font-weight: 500; flex-direction: row !important; }
.feedback-art input { width: 22px; height: 22px; padding: 0; margin: 0; accent-color: var(--akzent); }
.feedback-art input:focus { box-shadow: none; }

/* ---------- Wunder ---------- */
.balken.glauben .balken-fuellung { background: #6B5BA8; }
.wunder-chance { color: var(--text); font-weight: 600; }
#wunder-liste .zeile { align-items: flex-end; }

/* ---------- Abreißen / Wunderziel ---------- */
.zeile-knoepfe { display: flex; flex-direction: column; gap: 6px; flex: none; align-items: stretch; }
.knopf.abriss { min-height: 36px; font-size: 13px; }
.wunder-ziel { flex-wrap: wrap; }
.wunder-ziel .zeile-titel { margin-right: 4px; }

/* ---------- Admin-Bereich ---------- */
.admin-karte { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.admin-karte p { margin: 0; }
.admin-karte.erledigt, .bericht.gesperrt { opacity: 0.65; }
.admin-zitat { background: var(--hintergrund); border-radius: 10px; padding: 8px 10px; }
.admin-klein { font-size: 11px; overflow-wrap: anywhere; }
.admin-feld { min-height: 44px; padding: 0 10px; border: 1px solid #D5CBBB; border-radius: 10px; font: inherit; flex: 1; min-width: 0; }
.admin-feld.kurz { flex: none; width: 80px; }
.admin-zeile { display: flex; flex-direction: column; gap: 4px; }
.admin-wert { flex-wrap: wrap; }
.admin-wert .zeile-text { flex: 1 1 180px; }
.knopf.gefahr { background: #B23B3B; color: #FFFFFF; border-color: #B23B3B; }
.gefahr-karte { border: 2px solid #B23B3B; margin-top: 12px; }
.marke { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.marke-fehler { background: #F7E1E1; color: #8A2B2B; }
.marke-idee { background: var(--gruen-hell); color: #2F5A3C; }
.kopf-knoepfe .abzeichen { margin-left: 4px; }

/* ---------- Übersicht laufender Aufträge ---------- */
.uebersicht { display: flex; flex-direction: column; gap: 6px; padding: 12px; }
.uebersicht .abschnitt { margin: 0 0 2px; }
.uebersicht-liste { display: flex; flex-direction: column; }
.uebersicht-zeile {
  display: grid; grid-template-columns: 86px 1fr auto; align-items: center; gap: 8px;
  min-height: 40px; padding: 4px 0; border: none; border-top: 1px solid var(--linie);
  background: none; text-align: left; font: inherit; font-size: 14px; color: var(--text); cursor: pointer;
}
.uebersicht-zeile:first-child { border-top: none; }
.uebersicht-art { font-weight: 600; font-size: 13px; color: var(--akzent); }
.uebersicht-zeile.frei .uebersicht-art, .uebersicht-zeile.frei .uebersicht-text { color: var(--leise); font-weight: 400; }
.uebersicht-text { min-width: 0; overflow-wrap: anywhere; }
.uebersicht-warnung { color: var(--akzent); font-weight: 600; }
.uebersicht-zeit { font-size: 13px; color: var(--leise); white-space: nowrap; }
.konto { margin-top: 18px; }

/* ---------- Hilfe ---------- */
.hilfe-verzeichnis { display: flex; flex-wrap: wrap; gap: 6px; }
.hilfe-link { min-height: 36px; padding: 0 12px; border: 1px solid var(--linie); border-radius: 999px; background: var(--flaeche); font: 500 13px var(--schrift); color: var(--text); cursor: pointer; }
.hilfe-link.aktiv { background: var(--akzent); border-color: var(--akzent); color: #FFFFFF; }
.hilfe-seite { display: flex; flex-direction: column; gap: 10px; line-height: 1.5; }
.hilfe-seite p, .hilfe-seite ul { margin: 0; }
.hilfe-seite ul { padding-left: 20px; }
.hilfe-seite li { margin: 2px 0; }
.hilfe-ueberschrift { margin: 6px 0 0; font: 600 16px var(--schrift); }
.hilfe-seite .knopf { align-self: flex-start; }
.tabelle-rahmen { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.hilfe-tabelle { border-collapse: collapse; font-size: 13px; min-width: 100%; }
.hilfe-tabelle th, .hilfe-tabelle td { padding: 6px 8px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.hilfe-tabelle th { background: var(--hintergrund); white-space: nowrap; }
.hilfe-tabelle td:first-child { font-weight: 600; white-space: nowrap; }

/* ---------- Angriffswarnung ---------- */
.angriff-warnung { margin-bottom: 10px; padding: 10px 12px; border-radius: 12px; background: #F7E1E1; border: 2px solid #B23B3B; color: #7A1F1F; display: flex; flex-direction: column; gap: 4px; }
.angriff-warnung p { margin: 0; }
.angriff-zeit { font-weight: 600; }
.kopf-knoepfe .knopf.klein { min-height: 36px; }

/* ---------- Händler ---------- */
.haendler-kopf { display: flex; gap: 12px; align-items: center; padding: 12px; }
.haendler-kopf p { margin: 4px 0 0; }
.haendler-bild { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--akzent-hell); color: var(--akzent); display: flex; align-items: center; justify-content: center; }
#knopf-hilfe[aria-pressed="true"] { background: var(--akzent); color: #FFFFFF; border-color: var(--akzent); }

/* ---------- Anmeldeseite: Begrüßung und Testphase ---------- */
.begruessung { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; }
.begruessung p { margin: 0; }
.testphase { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--akzent-hell); font-size: 13px; line-height: 1.4; }

/* ---------- Admin: Auswertung ---------- */
.umschalter.fuenf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.umschalter.fuenf button { font-size: 13px; min-height: 40px; }
.kachel-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.kachel { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 10px; background: var(--hintergrund); }
.kachel strong { font-family: var(--schrift-titel); font-size: 20px; color: var(--text); }
.kachel .leise { font-size: 12px; line-height: 1.25; }
.tageskurve { display: flex; align-items: flex-end; gap: 2px; height: 140px; padding-top: 16px; }
.tag-spalte { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; cursor: default; }
.tag-balken { width: 70%; max-width: 18px; background: var(--akzent); border-radius: 4px 4px 0 0; min-height: 1px; }
.tag-spalte:hover .tag-balken { opacity: 0.8; }
.tag-wert { font-size: 11px; color: var(--leise); }
.tag-datum { font-size: 10px; color: var(--leise); height: 14px; white-space: nowrap; }

/* ---------- Wartung und Sicherungen ---------- */
#wartung-hinweis { background: #F9EEDA; color: #6B4A0F; }
.sicherung-zeile { padding-top: 8px; border-top: 1px solid var(--linie); font-size: 13px; }

/* Händler: Schwierigkeit der Frage */
.quiz-marken { display: flex; gap: 6px; flex-wrap: wrap; align-self: flex-start; }
.stufe-marke {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.stufe-leicht { color: #2F5A3C; background: #E3F0E6; }
.stufe-mittel { color: #7A5A12; background: #F7EBCB; }
.stufe-schwer { color: #8A2E1F; background: #F6DCD5; }

/* Rohstoffleiste: Zunahme pro Tick und aufklappbare Übersicht */
.rohstoffleiste { cursor: pointer; }
.rohstoff-zunahme { font-size: 11px; color: var(--leise); }
.rohstoff-zunahme.minus { color: var(--akzent); font-weight: 600; }
.rohstoff-details {
  position: sticky;
  top: 52px;
  z-index: 5;
  background: var(--flaeche);
  border-bottom: 1px solid var(--linie);
  padding: 8px 12px 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}
.rohstoff-tabelle { width: 100%; border-collapse: collapse; font-size: 14px; }
.rohstoff-tabelle th { text-align: left; font-size: 12px; font-weight: 600; color: var(--leise); padding: 2px 4px; }
.rohstoff-tabelle td { padding: 4px; border-top: 1px solid var(--linie); }
.rohstoff-tabelle th:not(:first-child), .rohstoff-tabelle td:not(:first-child) { text-align: right; }
.rohstoff-tabelle td.minus { color: var(--akzent); font-weight: 600; }
.klein-text { font-size: 12px; margin: 6px 0 0; }

/* ---------- Symbole statt Text (Teil 46) ---------- */
.sym { display: inline-flex; vertical-align: -3px; flex: none; }
.zeile-titel .sym { margin-left: 3px; vertical-align: -2px; }
.symwert { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.kosten { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--text); }
.kosten .fehlt { color: #B3261E; font-weight: 600; }

/* Zeilen, die man antippen kann, um den Infokasten aufzuklappen */
.zeile.klickbar { cursor: pointer; flex-wrap: wrap; }
.zeile.klickbar > .zeile-text { flex: 1 1 0; }
.zeile.klickbar .zeile-titel::after { content: " ▾"; color: var(--leise); font-size: 12px; }
.zeile.klickbar.offen .zeile-titel::after { content: " ▴"; }
.zeile.offen { border-color: var(--akzent); }
.info-kasten {
  flex: 1 0 100%;
  border-top: 1px solid var(--linie);
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: default;
}
.info-text { margin: 0; font-size: 14px; color: var(--leise); }
.info-zeile { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.info-zeile.erreicht { color: var(--leise); }
.info-zeile.erreicht > span:last-child::after { content: " ✓"; color: #3E8E4E; font-weight: 700; }
.info-werte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; }
.info-wert { display: flex; align-items: center; gap: 6px; font-size: 13px; min-width: 0; }
.info-wert strong { font-size: 15px; }
.info-wert span:last-child { color: var(--leise); overflow-wrap: anywhere; }
.info-kasten .knopf.abriss { align-self: flex-start; }
.steuerung .knopf:not(.zweitrangig) { flex: 1; }

/* ---------- Händler Ugo: Runde mit Rückblick (Teil 47) ---------- */
.quiz-fortschritt { display: flex; gap: 6px; align-items: center; }
.quiz-punkt {
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: var(--leise);
  background: var(--gesperrt);
}
.quiz-punkt.aktuell { background: var(--flaeche); color: var(--akzent); box-shadow: inset 0 0 0 2px var(--akzent); }
.quiz-geschichte { margin: 0; font-size: 15px; line-height: 1.45; }
.quiz-beute { display: inline-flex; flex-wrap: wrap; gap: 2px 10px; font-size: 13px; vertical-align: middle; }
.quiz-rueckmeldung {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 600;
}
.quiz-rueckmeldung.gut { background: #E3F0E6; color: #2F5A3C; }
.quiz-rueckmeldung.schlecht { background: #F6DCD5; color: #7E3511; }
.quiz-rueckblick { display: flex; flex-direction: column; gap: 6px; }
.quiz-zeile { padding: 8px 10px; }
.quiz-zeile-titel { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 500; }
.quiz-zeile .quiz-beute { margin-left: 28px; }
.quiz-zeile .info-kasten p { margin: 0; font-size: 14px; }

/* ---------- Gespräche und Chatverlauf (Teil 48) ---------- */
.gespraech {
  display: flex; flex-direction: column; gap: 3px; width: 100%;
  text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; padding: 10px 12px;
}
div.gespraech { cursor: default; }
div.gespraech .knopf { align-self: flex-start; margin-top: 4px; }
.gespraech.ungelesen { border-color: var(--akzent); }
.gespraech.art-system { background: #F7EBCB; }
.gespraech-oben, .gespraech-unten { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; }
.gespraech-name { font-size: 15px; font-weight: 600; }
.gespraech.ungelesen .gespraech-name::before { content: "● "; color: var(--akzent); }
.gespraech-kuerzel { margin-left: 6px; font-weight: 500; color: var(--leise); font-size: 13px; }
.gespraech-datum { font-size: 12px; color: var(--leise); white-space: nowrap; }
.gespraech-vorschau { font-size: 13px; color: var(--leise); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.gespraech.ungelesen .gespraech-vorschau { color: var(--text); }

.verlauf-kopf { display: flex; align-items: center; gap: 8px; }
.verlauf-kopf .zeile-text { flex: 1; }
.verlauf-liste { display: flex; flex-direction: column; gap: 6px; }
.verlauf-mehr { align-self: center; }
.verlauf-tag { align-self: center; font-size: 12px; color: var(--leise); margin: 6px 0 2px; }
.blase {
  max-width: 82%; padding: 8px 10px; border-radius: 14px; font-size: 15px;
  display: flex; flex-direction: column; gap: 2px;
}
.blase.fremd { align-self: flex-start; background: var(--flaeche); border: 1px solid var(--linie); border-bottom-left-radius: 4px; }
.blase.mein { align-self: flex-end; background: #F3DCCB; border-bottom-right-radius: 4px; }
.blase-absender { font-size: 12px; font-weight: 600; color: var(--akzent); }
.blase-betreff { font-size: 13px; font-weight: 600; }
.blase-fuss { display: flex; gap: 6px; justify-content: flex-end; font-size: 11px; color: var(--leise); }
.blase-melden { background: none; border: none; padding: 0; font: inherit; color: var(--leise); text-decoration: underline; cursor: pointer; }
.blase .melden-zeile { margin-top: 4px; }
.chat-eingabe {
  display: flex; flex-direction: column; gap: 6px;
  padding: 8px 0 4px;
}
.chat-eingabe textarea { width: 100%; resize: vertical; min-height: 56px; font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid #D5CBBB; box-sizing: border-box; }
.chat-fuss { display: flex; align-items: center; justify-content: space-between; }
.umschalter.fuenf button:nth-child(6) { grid-column: auto; }

/* ---------- Profile und Profil-Fenster (Teil 49) ---------- */
.fenster-hintergrund {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(40, 30, 20, 0.45);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 64px 16px 90px; overflow-y: auto;
}
.fenster-hintergrund[hidden] { display: none; }
.fenster { position: relative; width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 10px; }
.fenster-zu {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px;
  border: none; border-radius: 50%; background: var(--hintergrund); color: var(--text);
  font-size: 16px; cursor: pointer;
}
#fenster-inhalt { display: flex; flex-direction: column; gap: 10px; }
body.fenster-offen { overflow: hidden; }
.profil-karte { display: flex; flex-direction: column; gap: 10px; }
.profil-kopf { display: flex; align-items: center; gap: 12px; padding-right: 40px; }
.profil-bild {
  width: 64px; height: 64px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--akzent); color: #FFFFFF; font: 700 28px var(--schrift-titel);
}
.profil-name { margin: 0; font-family: var(--schrift-titel); font-size: 22px; }
.profil-werte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.profil-wert { display: flex; flex-direction: column; align-items: center; text-align: center;
               background: var(--hintergrund); border-radius: 10px; padding: 6px 2px; }
.profil-wert strong { font-size: 14px; }
.profil-wert span { font-size: 11px; color: var(--leise); }
.profil-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.45; }
.link-knopf { background: none; border: none; padding: 0; font: inherit; color: var(--akzent);
              text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.link-zeile { width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; }
button.rang-mitglied { background: none; border: none; border-bottom: 1px solid var(--linie); padding: 6px 0; }
.link-text { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.admin-summe { margin: 0; font-weight: 600; }

/* ---------- Ton-Schalter neben dem Höhlennamen (Teil 50) ---------- */
.titel-zeile { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ton-schalter {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 4px; cursor: pointer; color: var(--leise);
}
.ton-schalter .ton-wellen { display: none; }
.ton-schalter.an { color: var(--akzent); }
.ton-schalter.an .ton-wellen { display: inline; }
.ton-schalter.an .ton-aus { display: none; }
.schalter {
  position: relative; width: 38px; height: 22px; border-radius: 11px;
  background: var(--gesperrt); transition: background 0.2s;
}
.schalter-knopf {
  position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: left 0.2s;
}
.ton-schalter.an .schalter { background: var(--akzent); }
.ton-schalter.an .schalter-knopf { left: 19px; }
.profil-melden { align-self: flex-start; font-size: 13px; }

/* Stammeskürzel auf der Karte ist antippbar */
/* Größere Tippfläche, damit man das kleine Kürzel am Handy auch trifft */
.zelle button.kuerzel {
  padding: 4px 8px; margin: -4px 0; min-height: 26px; min-width: 44px;
  font-size: 12px; font-weight: 600; color: #2F5A3C; position: relative; z-index: 1;
}

/* ---------- Menüleiste unten mit Symbolen ---------- */
.menueleiste { height: 72px; }
.menueleiste button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 12px; padding: 4px 0;
}
.menue-bild {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 34px; border-radius: 17px; transition: background 0.15s;
}
.menue-symbol { opacity: 0.9; filter: saturate(0.85); transition: opacity 0.15s, transform 0.15s; }
.menueleiste button.aktiv .menue-bild { background: #F3DCCB; }
.menueleiste button.aktiv .menue-symbol { opacity: 1; filter: none; transform: scale(1.08); }
.menueleiste button:hover .menue-symbol { opacity: 1; }
.menue-bild .abzeichen { position: absolute; top: -2px; right: -2px; }
.spiel { padding-bottom: 80px; }

/* Kleine Marke hinter Überschriften: "Bau läuft" usw. */
.status-marke {
  display: inline-block; vertical-align: 2px; margin-left: 6px;
  font: 600 12px var(--schrift); color: #7A5A12; background: #F7EBCB;
  padding: 3px 9px; border-radius: 999px;
}
.status-marke[hidden] { display: none; }

/* Nahrungsbilanz in der aufklappbaren Rohstoff-Tabelle (Teil 51) */
.nahrung-bilanz { margin-top: 10px; }
.bilanz-titel { margin: 0 0 4px; font-size: 13px; font-weight: 600; }
.rohstoff-tabelle.bilanz td:first-child .sym { margin-right: 2px; }
.rohstoff-tabelle.bilanz td.plus { color: #2F5A3C; font-weight: 600; }
.rohstoff-tabelle.bilanz tr.summe td { border-top: 2px solid var(--text); font-weight: 700; }
.bilanz-warnung { color: #B3261E; font-weight: 600; }

/* ---------- Stammeschat (Teil 52) ---------- */
.gespraech.art-stammchat { background: #E3F0E6; border-color: #9CC3A6; }
.gespraech.art-stammchat.ungelesen { border-color: #3E8E4E; }
.gespraech.art-stammchat .gespraech-name { display: inline-flex; align-items: center; }
.gespraech.art-stammchat .gespraech-kuerzel { color: #2F5A3C; }
#nachr-verlauf.stammchat .blase.fremd { background: #F1F7F2; border-color: #C7DECD; }
#verlauf-name .sym { vertical-align: -3px; }

/* ---------- Handy: kein automatisches Hineinzoomen (Teil 53) ----------
   iPhones zoomen in jedes Eingabefeld mit weniger als 16 px Schrift.
   Danach "wackelt" die Seite, und die Leisten oben und unten scheinen
   wegzuscrollen. Mit 16 px passiert das nicht mehr. */
input, textarea, select { font-size: 16px !important; }
/* Doppeltippen zoomt nicht, Tippen reagiert sofort */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* iPhones mit Wischleiste: Menü nicht unter die Leiste schieben */
.menueleiste { padding-bottom: env(safe-area-inset-bottom); height: calc(72px + env(safe-area-inset-bottom)); }

/* ---------- Karte mit Gelände (Teil 54) ---------- */
.karte-raster {
  position: relative; gap: 0; border-radius: 14px; overflow: hidden;
  border: 2px solid #8A6A3E; box-shadow: 0 2px 8px rgba(60, 40, 20, 0.18);
  background: #B7D58C;
}
.gelaende-bild { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; }
.karte-raster .zelle {
  position: relative; z-index: 1;
  background: transparent; border: none; border-radius: 0;
  padding: 5px 3px; min-height: 92px;
}
/* Das Schild auf dem Feld: Name, Kürzel, Koordinaten */
.schild {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  width: 100%; max-width: 100%; padding: 2px 1px; border-radius: 9px;
  background: rgba(255, 250, 240, 0.88); border: 1px solid rgba(90, 70, 40, 0.35);
  box-shadow: 0 1px 3px rgba(40, 30, 10, 0.25);
  overflow: hidden; text-align: center; font-size: 12px;
}
.schild.art-eigen   { background: rgba(253, 236, 222, 0.95); border: 2px solid var(--akzent); }
.schild.art-stamm   { background: rgba(232, 244, 234, 0.95); border: 2px solid var(--gruen); }
.schild.art-spieler { background: rgba(255, 250, 240, 0.92); }
/* Wilde Höhlen: kleines, durchscheinendes Schild – das Gelände bleibt gut sichtbar */
.schild.art-wild {
  width: auto; padding: 0 4px; background: rgba(255, 252, 245, 0.62); border-color: transparent;
  box-shadow: none; color: #4A3D2C;
}
.schild.art-wild .kuerzel { display: none; }
.schild.art-wild .name { font-size: 11px; font-weight: 500; }
.schild .koord { min-height: 26px; padding: 2px 4px; }
.schild.treffer { box-shadow: 0 0 0 3px var(--text); }
.schild .name { font-size: 12px; }

/* Gelände der eigenen Höhle und Legende */
.hoehlen-gelaende { margin: 2px 0 0; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 13px; color: var(--leise); }
.gelaende-muster { display: inline-flex; flex: none; }
.gelaende-legende { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; font-size: 13px; }
.gelaende-eintrag { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gelaende-eintrag .leise { display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Kopfzeile: Koordinaten + Gelände, Tick oben in der Rohstoffleiste (Teil 55) ---------- */
.hoehlen-zeile { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 2px 0 0; }
.hoehlen-zeile .hoehlen-gelaende { margin: 0; }
.hoehlen-zeile .hoehlen-gelaende[hidden] { display: none; }
.rohstoffleiste { height: auto; min-height: 52px; padding: 4px 4px 3px; row-gap: 1px; }
.tick-zeile {
  grid-column: 1 / -1; order: -1; text-align: center;
  font-size: 11px; color: var(--leise); line-height: 1.2;
}


/* ---------- Startseite: Bild, Anmeldung, Reiter ---------- */
.startseite {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 0 16px 32px;
}
.start-bild {
  width: calc(100% + 32px); max-width: 720px; margin: 0 -16px;
  line-height: 0; overflow: hidden;
}
@media (min-width: 560px) { .start-bild { width: 100%; margin: 16px 0 0; border-radius: 14px; } }
.start-svg { width: 100%; height: auto; display: block; }
.start-svg-titel {
  font-family: var(--schrift-titel); font-size: 42px; fill: #FBEBD0;
  paint-order: stroke; stroke: rgba(43, 39, 71, 0.55); stroke-width: 4px;
}
.start-reiter { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 12px; }
.start-reiter .umschalter.drei button { font-size: 13px; line-height: 1.15; padding: 2px; }
.start-ansicht { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.start-ansicht p { margin: 0; }
.start-voll { grid-column: 1 / -1; }

/* Text nur für Vorleseprogramme (unsichtbar) */
.nur-vorlesen {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Kontakt & Datenschutz */
.rechtliches { line-height: 1.45; }
.rechtliches h2 { margin-top: 8px; }
.rechtliches h3 { margin: 6px 0 0; font-size: 15px; font-weight: 600; }
.rechtliches ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.platzhalter { background: #FCEFA8; border-radius: 4px; padding: 0 3px; }
.rechtliches-link { margin: 4px 0 0; text-align: center; }
#fenster-inhalt .rechtliches { padding-top: 4px; }
#start-zahlen.kachel-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
