:root {
  /* Neue Farbpalette (dieselbe Vorgabe wie Portal + Artikel-Fresser):
     Petrol = Struktur, Gold = Highlight, Koralle = CTA/wichtige Aktionen,
     Creme = Hintergrund. Die Münze selbst (siehe index.html/<defs>) bleibt
     bewusst bei ihren eigenen Gold-/Silber-Tönen nach echtem Vorbild -
     das ist kein Teil der Oberflächen-Palette, sondern eine realistische
     1-Euro-Münze. */
  --grund: #fffdf8;
  --karte: #ffffff;
  --hell: #003a4d;
  --gedaempft: #4c6b74;
  --rand: #cde9ef;
  --gold: #fdcb52;
  --gold-hell: #fedd82;
  --gold-dunkel: #8a6a18;
  --rot: #ff6b6b;
  --rot-hell: #ff8f8f;
  --rot-dunkel: #d94b4b;
  --gruen: #2ec4b6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--grund);
  color: var(--hell);
  -webkit-tap-highlight-color: transparent;
}

.schirm { display: none; padding: 20px 16px 28px; max-width: 1100px; margin: 0 auto; }
.schirm.sichtbar { display: block; }

.oben-leiste {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1100px; margin: 0 auto; padding: 10px 16px 0;
}
/* Einheitliche Größe in allen Spielen (vorher unterschiedlich groß je
   nach Spiel, auf Nutzer-Feedback hin jetzt überall gleich), ohne
   Umrandung - der Hintergrund + Schatten reicht als Abgrenzung. */
.home-knopf {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 16px; font-size: 30px;
  text-decoration: none; background: var(--karte); border: none;
  box-shadow: 0 2px 8px #00000022; flex-shrink: 0;
}
.home-knopf:hover { background: #fbf5e8; }
.sprach-auswahl { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.sprach-knopf { padding: 5px 12px; font-size: 13px; }
.sprach-knopf.aktiv { background: var(--hell); border-color: var(--hell); color: #fff; font-weight: 700; }

/* ------------------------------------------------------------ Startseite */
.kopf { text-align: center; margin-bottom: 22px; }
.kopf h1 { margin: 8px 0 4px; font-size: clamp(28px, 6vw, 46px); letter-spacing: -0.5px; }
/* Titelzeichen als SVG (das Emoji fehlte auf älteren Geräten). Pseudo-Element ohne Text -> wird nicht vorgelesen. */
.kopf h1::before {
  content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .25em; vertical-align: -0.14em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='29' fill='%23f2b632' stroke='%239a6a00' stroke-width='3'/%3E%3Ccircle cx='32' cy='32' r='21' fill='%23fdcb52' stroke='%23c58a0c' stroke-width='2.5'/%3E%3Cpath d='M32 19 l3.8 8.2 9 1 -6.7 6.1 1.9 8.8 -8 -4.6 -8 4.6 1.9 -8.8 -6.7 -6.1 9 -1z' fill='%23e0a11a'/%3E%3Cellipse cx='22' cy='18' rx='7' ry='3.5' fill='%23fff' opacity='.55' transform='rotate(-35 22 18)'/%3E%3C/svg%3E") center / contain no-repeat;
}
.untertitel { margin: 0; color: var(--gedaempft); font-size: 16px; }
.kopf::after {
  content: ""; display: block; height: 3px; width: 160px; margin: 14px auto 0;
  border-radius: 2px; opacity: .85;
  background: linear-gradient(90deg, var(--hell) 0 33.3%, var(--rot) 33.3% 66.6%, var(--gold) 66.6% 100%);
}

.wahl { margin-bottom: 22px; }
.wahl h2 {
  font-size: 14px; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--gedaempft); margin: 0 0 10px;
}

/* Nummerierte Auswahl-Schritte (1. Niveau, 2. ..., 3. ...) - Nutzer-
   Feedback: mehrere Auswahlpunkte hintereinander wirken unübersichtlich,
   eine Nummerierung schafft eine klare Reihenfolge. Zählt automatisch nur
   ".wahl"-Blöcke mit einer ECHTEN Überschrift - Kippschalter ohne eigene
   Überschrift (z.B. "Nur aktuelle Stufe") werden dadurch NICHT mitgezählt.
   Reine CSS-Lösung (counter-reset/-increment + ::before) - der über
   data-i18n übersetzte Text selbst bleibt unangetastet. */
#start { counter-reset: schrittzahl; }
#start .wahl h2 { counter-increment: schrittzahl; }
#start .wahl h2::before { content: counter(schrittzahl) ". "; }

.themengitter {
  display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.themengitter button { text-align: left; padding: 11px 13px; font-size: 14px; }
.themengitter button.alles-zusammen {
  grid-column: 1 / -1; border-color: var(--gold-hell); font-weight: 700;
}

.start-hinweis {
  margin: 4px 0 0; padding: 10px 14px; border-radius: 10px;
  background: #eaf6fa; border: 1px solid #7cc9e0; color: var(--hell);
  font-size: 14px; font-weight: 600;
}

.knopfreihe { display: flex; gap: 8px; flex-wrap: wrap; }
.knopfreihe-klein { display: flex; gap: 8px; flex-wrap: wrap; }
.knopfreihe-klein button { padding: 9px 16px; font-size: 14px; }

button {
  background: #fff; color: var(--hell);
  border: 2px solid var(--rand); border-radius: 12px;
  padding: 10px 16px; font-size: 15px; font-family: inherit;
  cursor: pointer; transition: background .12s, border-color .12s, transform .08s;
  box-shadow: 0 1px 2px #00000010;
}
button:hover:not(:disabled) { background: #fbf5e8; border-color: var(--gold); }
button:active:not(:disabled) { transform: translateY(1px); }
button.aktiv { background: var(--hell); border-color: var(--hell); color: #fff; }
button:disabled { opacity: .45; cursor: not-allowed; }
/* Koralle statt Gold: der auslösende Haupt-Knopf ist die "wichtige
   Aktion", Gold bleibt für Highlights (aktive Auswahl, Karten-Rückseite
   etc.) reserviert. */
button.gross { padding: 15px 30px; font-size: 18px; font-weight: 700; background: var(--rot); border-color: var(--rot-dunkel); color: #fff; }
button.gross:hover:not(:disabled) { background: var(--rot-hell); }
button.flach { background: transparent; box-shadow: none; }
button.gefahr { border-color: var(--rot); color: var(--rot); }
button.gefahr:hover:not(:disabled) { background: #fdeef0; }
.hell-knopf {
  display: inline-block; background: #fff; color: var(--hell);
  border: 2px solid var(--rand); border-radius: 12px; padding: 10px 16px;
  font-size: 15px; text-decoration: none; box-shadow: 0 1px 2px #00000010;
}
.hell-knopf:hover { background: #fbf5e8; border-color: var(--gold); }

.startzeile { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 22px; }

/* ------------------------------------------------------------- Spielfeld */
.hud {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  padding: 8px 4px 12px; font-size: 15px; color: var(--gedaempft);
}
.hud-feld b { color: var(--hell); font-size: 19px; }
.hud-rechts { margin-left: auto; display: flex; gap: 8px; }
.hud-rechts button { padding: 7px 13px; font-size: 14px; }

/* --------------------------------------------------------------- Münze --
   3D-Flip wie eine echte Münze: rotateY dreht um die senkrechte Achse,
   beide Seiten liegen "verdeckt" übereinander (backface-visibility),
   sodass man beim Drehen abwechselnd du/Sie sieht, nie beide gleichzeitig
   von vorn. Bimetallische Optik (Ring + Mitte in unterschiedlichen
   Tönen) wie bei einer echten 1-Euro-Münze. */
.muenzwurf-buehne { text-align: center; padding: 10px 0 18px; }
.muenze {
  position: relative; width: 150px; height: 150px; margin: 0 auto 18px;
  transform-style: preserve-3d;
  transition: transform 1.1s cubic-bezier(.3, .1, .2, 1);
}
.muenze-seite {
  position: absolute; inset: 0; border-radius: 50%;
  backface-visibility: hidden;
  filter: drop-shadow(0 6px 10px #00000030);
}
.muenze-seite svg { width: 100%; height: 100%; display: block; }
.muenze-sie { transform: rotateY(180deg); }

/* "Zieh eine Karte"/"Ziehen Sie eine Karte" - erscheint erst, nachdem die
   Münze gelandet ist (siehe game.js). */
.zug-hinweis { font-size: 19px; font-weight: 700; margin: 10px 0 0; color: var(--hell); }

/* Pfeil über dem gerade erlaubten Kartenstapel (siehe .stapel.hervorgehoben
   in game.js) - zeigt deutlich, WO gezogen werden soll, zusätzlich zum
   Hervorheben des Stapels selbst. Standardmäßig unsichtbar, beide Seiten
   haben den Platz dafür reserviert (feste Höhe), damit die Stapel beim
   Ein-/Ausblenden des Pfeils nicht nach oben/unten rutschen. */
/* position:relative + z-index sorgen dafür, dass der Pfeil IMMER über der
   Karte liegt, auch wenn die pulsierende Animation den hervorgehobenen
   Stapel sichtbar nach oben wachsen lässt (sonst gewinnt der Stapel die
   Stapelreihenfolge, weil button.stapel selbst position:relative hat -
   "positionierte" Elemente liegen unabhängig von der Reihenfolge im HTML
   immer über unpositionierten). Zusätzlicher margin-bottom schafft Abstand
   zur Karte, damit das Hüpfen des Pfeils sie möglichst gar nicht berührt. */
.stapel-pfeil {
  display: block; position: relative; z-index: 5;
  height: 34px; line-height: 34px; font-size: 30px; margin-bottom: 4px;
  color: var(--rot); opacity: 0; transition: opacity .2s ease;
}
.stapel-pfeil.sichtbar { opacity: 1; animation: pfeilHuepfen 1s ease-in-out infinite; }
@keyframes pfeilHuepfen {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ----------------------------------------------------------- Kartenstapel
   Zwei Klapp-Karten (du / Sie) - Rückseite zeigt nur die Anrede, nach dem
   Ziehen flippt die Karte (rotateY) und zeigt Thema + Frage auf der
   Vorderseite. */
/* Extra Innenabstand rechts/unten, damit die "Unterkarten" (siehe
   .stapel-rueckseite::before/::after) nicht über den Rand des Buttons
   hinausragen und abgeschnitten werden. */
.stapel-reihe { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin: 14px 0 22px; }
.stapelbereich { text-align: center; padding: 0 12px 12px 0; }

.stapel {
  position: relative; width: clamp(180px, 42vw, 240px); height: clamp(170px, 32vw, 210px);
  padding: 0 12px 12px 0; border: none; background: none; box-shadow: none; perspective: 1000px;
}
.stapel:disabled { opacity: 1; cursor: default; }
/* Nicht-anklickbare Seite dieser Runde wirkt sichtbar "inaktiv". */
.stapel:disabled:not(.hervorgehoben):not(.aufgedeckt) { opacity: .4; }
.stapel.hervorgehoben .stapel-innen { animation: stapelPulsieren 1s ease-in-out infinite; }
@keyframes stapelPulsieren {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.02); }
}

.stapel-innen {
  /* WICHTIG: ist ein <span> (aus HTML-Gültigkeitsgründen innerhalb von
     <button>, das nur "Phrasing Content" erlaubt, kein <div>) - <span> ist
     von Natur aus "inline", und bei inline-Elementen wirken width/height
     NICHT (nur bei block/inline-block/absolut positionierten Elementen).
     Ohne "display: block" hier schrumpft der ganze Kartenstapel auf die
     reine Textgröße zusammen (der eigentliche Grund, warum zuletzt nur
     winzige Kreise statt echter Karten zu sehen waren). */
  display: block;
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .6s ease;
  border-radius: 16px; box-shadow: 0 4px 10px #00000025;
}
.stapel.aufgedeckt .stapel-innen { transform: rotateY(180deg); }

.stapel-seite {
  position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 16px; text-align: center;
}
/* Wirkt wie ein echter STAPEL aus mehreren Karten (nicht nur eine einzelne
   Karte) - zwei zusätzliche, leicht versetzte Karten liegen sichtbar
   darunter (::before/::after), wie bei einem Kartenspiel-Stapel zum
   Abheben. Nur die Rückseite braucht das, die aufgedeckte Vorderseite
   zeigt ja schon, dass die oberste Karte "gezogen" wurde. */
.stapel-rueckseite {
  background: linear-gradient(145deg, var(--gold-hell), var(--gold));
  border: 3px solid var(--hell); color: #2a1d00;
  font-size: 30px; font-weight: 800;
  z-index: 3;
}
.stapel-rueckseite::before,
.stapel-rueckseite::after {
  content: ""; position: absolute; inset: 0; border-radius: 16px;
  background: linear-gradient(145deg, var(--gold-hell), var(--gold));
  border: 3px solid var(--hell); z-index: -1;
}
.stapel-rueckseite::before { transform: translate(6px, 7px); }
.stapel-rueckseite::after { transform: translate(12px, 14px); z-index: -2; filter: brightness(.94); }
.stapel-vorderseite {
  background: var(--karte); border: 3px solid var(--rand);
  transform: rotateY(180deg); gap: 8px;
}
.frage-thema { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--gedaempft); }
.frage-text { font-size: clamp(15px, 3.6vw, 18px); font-weight: 700; line-height: 1.4; }

.fusszeile { text-align: center; color: var(--gedaempft); font-size: 14px; margin: 16px 0 0; }

.ergebnis { font-size: 17px; line-height: 1.7; text-align: center; }

@media (max-width: 560px) {
  .muenze { width: 120px; height: 120px; }
  .muenze-seite { font-size: 26px; }
  .stapel-reihe { gap: 10px; }
}

/* ------------------------------------------- Knöpfe mindestens 48 × 48 px --- */
.knopfreihe button, .knopfreihe-klein button { min-height: 48px; min-width: 48px; }
.themengitter button, .startzeile button, #wurfKnopf { min-height: 48px; }
.hud-rechts { flex-wrap: wrap; justify-content: flex-end; }
.hud-rechts button { min-height: 48px; }

/* -------------------------------------- Schalter „🌐 Übersetzung“ (Spiel) ---
   Gleiche Gestaltung wie im Artikel-Fresser: aus = Umriss, an = gefüllt. */
button.schalter {
  min-height: 48px; min-width: 48px; padding: 8px 14px; font-size: 16px; font-weight: 700;
  background: var(--karte); color: var(--hell); border: 2px solid var(--hell); border-radius: 12px;
}
button.schalter.aktiv { background: var(--hell); border-color: var(--hell); color: #fff; }
button.schalter[hidden] { display: none; }

/* Bedeutung der aufgedeckten Frage, unter den Karten */
.frage-uebersetzung {
  max-width: 560px; margin: 0 auto 4px; padding: 8px 14px; border-radius: 12px;
  background: #eaf6fa; border: 1px solid #7cc9e0; color: var(--hell);
  font-size: 17px; line-height: 1.45; text-align: center;
}
.frage-uebersetzung[hidden] { display: none; }

/* ------------------------------------------- Kompakte Kopfzeile im Spiel ---
   Schmale Handys (Hochformat) und niedrige Bildschirme im Querformat:
   Haus-Knopf kleiner, Sprachauswahl als EIN Knopf („🌐 Deutsch“), der beim
   Antippen alle Sprachen aufklappt (game.js), Feedback-Knopf oben in der
   Kopfzeile. Muster wie im Tanzroboter. */
@media (max-width: 560px), (max-height: 500px) and (orientation: landscape) {
  #sprachAuswahl { --sprach-einklappen: 1; }
  body[data-schirm="spiel"] .oben-leiste { padding: 6px 12px 0; align-items: flex-start; position: relative; }
  body[data-schirm="spiel"] .home-knopf { width: 48px; height: 48px; font-size: 24px; border-radius: 14px; }
  body[data-schirm="spiel"] #spiel.schirm { padding: 2px 12px 8px; }
  body[data-schirm="spiel"] #sprachAuswahl { flex-wrap: nowrap; }
  body[data-schirm="spiel"] #sprachAuswahl .sprach-knopf { min-height: 48px; }
  body[data-schirm="spiel"] #sprachAuswahl .sprach-knopf:not(.aktiv) { display: none; }
  body[data-schirm="spiel"] #sprachAuswahl .sprach-knopf.aktiv::before { content: "🌐 "; }
  body[data-schirm="spiel"] #sprachAuswahl.offen {
    position: absolute; top: 6px; right: 12px; z-index: 9999;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
    width: min(calc(100vw - 24px), 420px); padding: 8px; background: #fff;
    border: 2px solid var(--rand); border-radius: 16px; box-shadow: 0 6px 20px #00000030;
  }
  body[data-schirm="spiel"] #sprachAuswahl.offen .sprach-knopf { display: block; padding: 4px 6px; }
  body[data-schirm="spiel"] .feedback-knopf {
    position: absolute; top: 10px; bottom: auto; left: 68px; right: auto;
    width: 48px; height: 48px; padding: 0; font-size: 0; line-height: 1;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
  }
  body[data-schirm="spiel"] .feedback-knopf::before { content: "💬"; font-size: 20px; }
  body[data-schirm="spiel"] .pwa-knopf { display: none; }
  body[data-schirm="spiel"] .feedback-panel { top: 60px; bottom: auto; }
  #spiel .hud { padding: 4px 0 6px; gap: 6px 10px; }
  #spiel .hud-rechts button { padding: 6px 12px; font-size: 15px; }
}

/* Handy hoch: Münze kleiner, beide Stapel nebeneinander */
@media (max-width: 560px) {
  .muenzwurf-buehne { padding: 0 0 2px; }
  .muenze { width: 92px; height: 92px; margin-bottom: 8px; }
  #wurfKnopf { padding: 11px 28px; }
  .zug-hinweis { margin-top: 4px; }
  .stapel-reihe { flex-wrap: nowrap; gap: 8px; margin: 4px 0 8px; }
  .stapelbereich { flex: 1 1 0; min-width: 0; padding: 0; }
  .stapel { width: 100%; height: 196px; }
  .stapel-pfeil { height: 26px; line-height: 26px; font-size: 24px; margin-bottom: 2px; }
  .stapel-seite { padding: 10px 8px; gap: 6px; }
  .stapel-rueckseite { font-size: 26px; }
  .frage-thema { letter-spacing: .5px; }
  .frage-text { font-size: 15px; line-height: 1.35; }
  .frage-uebersetzung { font-size: 16px; padding: 6px 10px; }
  #spiel .fusszeile { margin-top: 8px; }
}
/* kleine Handys (z. B. 320 × 568) */
@media (max-width: 560px) and (max-height: 640px) {
  .muenze { width: 52px; height: 52px; margin-bottom: 4px; }
  #wurfKnopf { padding: 11px 24px; font-size: 17px; min-height: 48px; }
  .stapel { height: 184px; }
  .stapel-seite { padding: 6px; gap: 4px; }
  .frage-text { font-size: 15px; line-height: 1.3; }
  /* Spielregel-Zeile hat hier keinen Platz mehr (steht auch im Untertitel der Startseite) */
  #spiel .fusszeile { display: none; }
}

/* Tablet quer / kleine Laptops: Münze und Karten etwas kleiner */
@media (min-width: 561px) and (max-height: 820px) and (min-height: 501px) {
  #spiel .muenzwurf-buehne { padding: 0 0 8px; }
  #spiel .muenze { width: 96px; height: 96px; margin-bottom: 8px; }
  #spiel .stapel-reihe { margin: 6px 0 12px; }
  #spiel .stapel { height: 212px; }
}

/* Handy quer (niedrig): links Münze + Übersetzung, rechts die Stapel */
@media (max-height: 500px) and (orientation: landscape) {
  #spiel.schirm.sichtbar {
    display: grid; grid-template-columns: minmax(200px, 36%) 1fr; column-gap: 14px;
    grid-template-areas: "hud hud" "buehne stapel" "ue stapel" "fuss fuss";
    grid-template-rows: auto auto 1fr auto; align-items: start;
  }
  #spiel .hud { grid-area: hud; }
  #spiel .muenzwurf-buehne { grid-area: buehne; padding: 0; }
  #spiel .stapel-reihe { grid-area: stapel; flex-wrap: nowrap; gap: 10px; margin: 0; }
  #spiel .frage-uebersetzung { grid-area: ue; margin: 6px 0 0; font-size: 16px; padding: 6px 10px; }
  #spiel .fusszeile { grid-area: fuss; margin-top: 4px; }
  .muenze { width: 72px; height: 72px; margin-bottom: 6px; }
  #wurfKnopf { padding: 10px 20px; }
  .zug-hinweis { font-size: 17px; margin-top: 2px; }
  .stapelbereich { flex: 1 1 0; min-width: 0; padding: 0; }
  .stapel { width: 100%; height: 176px; }
  #spiel .hud { padding: 0 0 2px; }
  body[data-schirm="spiel"] #spiel.schirm { padding-bottom: 0; }
  #spiel .fusszeile { font-size: 13px; margin-top: 0; }
  .stapel-pfeil { height: 20px; line-height: 20px; font-size: 20px; margin-bottom: 2px; }
  .stapel-seite { padding: 8px 10px; gap: 4px; }
  .frage-text { font-size: 15px; line-height: 1.35; }
}

/* Hinweis „Du musst nicht jede Frage beantworten.“ (Entscheidung 11f/11g):
   Startseite unter dem Untertitel, im Spiel unter der Spielregel –
   klein und gedämpft, auf allen Bildschirmgrößen sichtbar. */
.antwort-hinweis { margin: 8px 0 0; color: var(--gedaempft); font-size: 15px; font-style: italic; text-align: center; }
.antwort-hinweis::before { content: "ℹ\FE0E  "; font-style: normal; }
.antwort-hinweis[dir="rtl"] { font-style: normal; } /* arabische Schrift nicht kursiv neigen */
#spiel .antwort-hinweis-spiel { margin-top: 4px; }
@media (max-height: 500px) and (orientation: landscape) {
  #spiel.schirm.sichtbar { grid-template-areas: "hud hud" "buehne stapel" "ue stapel" "fuss fuss" "hinweis hinweis"; grid-template-rows: auto auto 1fr auto auto; }
  #spiel .antwort-hinweis-spiel { grid-area: hinweis; margin-top: 0; font-size: 15px; }
}
:root { color-scheme: light dark; } /* eigener Dunkelmodus (unten), damit Android-Browser nicht selbst umfärben */

/* -------------------------------------------------------------- Dunkelmodus ---
   Muster wie im Tanzroboter (Petrol-Farbwelt). Nur innerhalb dieses Blocks -
   der Hellmodus bleibt unverändert. Die Münze (SVG mit festen Gold-/
   Silbertönen) und die goldenen Kartenrückseiten bleiben wie sie sind. */
@media (prefers-color-scheme: dark) {
  :root { --grund: #0e1d23; --karte: #17303a; --hell: #e8f3f6; --gedaempft: #a7c3cb; --rand: #2f5664; }
  button { background: var(--karte); color: var(--hell); }
  button.aktiv, .sprach-knopf.aktiv, button.schalter.aktiv { background: #0d6b80; border-color: #7cc9e0; color: #fff; }
  button.flach { background: transparent; }
  button.gross { background: var(--rot); border-color: var(--rot-dunkel); color: #fff; }
  button.gefahr { border-color: var(--rot); color: #ff8f85; }
  .home-knopf { box-shadow: 0 2px 8px #00000080; }
  @media (hover: hover) {
    button:hover:not(:disabled), .home-knopf:hover { background: #22424e; border-color: var(--gold); }
    button.gross:hover:not(:disabled) { background: var(--rot-hell); }
    button.gefahr:hover:not(:disabled) { background: #4a1d23; }
  }
  .start-hinweis, .frage-uebersetzung { background: #143847; border-color: #3f8fa8; color: var(--hell); }
  .stapel-rueckseite, .stapel-rueckseite::before, .stapel-rueckseite::after { border-color: #003a4d; }
  .stapel-innen { box-shadow: 0 4px 12px #00000080; }
  body[data-schirm="spiel"] #sprachAuswahl.offen { background: var(--karte); box-shadow: 0 6px 20px #00000080; }
  body .feedback-knopf, body .hell-knopf, body .memo-knopf { background: #143847; color: #d8eef4; border-color: #3f8fa8; }
  .feedback-panel, .pwa-fenster { color-scheme: light; }
  .feedback-panel textarea { background: #fff; color: #2a231c; }
  .feedback-panel button { background: #fff; color: #2a231c; }
  .feedback-panel .fb-senden { background: #0d2b52; color: #fff; }
  .pwa-fenster button { background: #fdcb52; color: #003a4d; }
  @media (hover: hover) {
    .feedback-panel button:hover:not(:disabled) { background: #f4efe6; border-color: #ddd4c2; }
    .feedback-panel .fb-senden:hover:not(:disabled) { background: #16407a; border-color: #16407a; }
    .pwa-fenster button:hover:not(:disabled) { background: #fedd82; border-color: #e0ac2b; }
  }
}
