/* Startseite mit Globus */

body.globus-seite { overflow: hidden; }
[hidden] { display: none !important; }
.leise { color: var(--text-leise); }
.knopf.klein { padding: 0.45em 0.9em; font-size: 0.9rem; }
.rund.klein { width: 34px; height: 34px; font-size: 1rem; }

.kopf {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  background: linear-gradient(rgba(14, 12, 22, 0.88), rgba(14, 12, 22, 0));
  pointer-events: none;
}
.kopf > * { pointer-events: auto; }
.marke { font-size: 1.5rem; }
.marke span { margin-left: 0; }
.filter { display: flex; gap: 6px; flex-wrap: wrap; margin-right: auto; }
.filter-knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.4em 0.85em;
  border-radius: 999px;
  border: 1px solid var(--linie-stark);
  background: rgba(14, 12, 22, 0.7);
  font-size: 0.88rem;
  backdrop-filter: blur(4px);
}
.filter-knopf:hover { border-color: var(--text-leise); }
.filter-knopf[aria-pressed='true'] { border-color: var(--bernstein); background: rgba(227, 168, 78, 0.18); color: #fff; }
.farbpunkt { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.farbpunkt.fall { background: #e3a84e; }
.farbpunkt.raetsel { background: #a98be8; }
.farbpunkt.bald { background: #8b9694; }

/* Linke Spalte: Fall des Monats und Begrüßung */
.start-spalte {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  width: min(400px, calc(100% - 36px));
  max-height: calc(100dvh - 88px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  scrollbar-width: none;
}

.monatsfall {
  flex: none;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--flaeche);
  border: 1px solid rgba(227, 168, 78, 0.6);
  box-shadow: var(--schatten), 0 0 44px rgba(227, 168, 78, 0.16);
  animation: mf-rein 0.7s ease-out both;
}
@keyframes mf-rein { from { opacity: 0; transform: translateY(14px); } }
.mf-bild { display: block; position: relative; overflow: hidden; }
.mf-bild img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; transition: transform 6s ease-out; }
.monatsfall:hover .mf-bild img { transform: scale(1.05); }
.mf-bild::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(18, 15, 28, 0) 40%, rgba(18, 15, 28, 0.96)); }
.mf-text { position: relative; margin-top: -44px; padding: 0 20px 16px; }
.mf-marke {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin: 0;
  padding: 0.28em 0.75em;
  border-radius: 999px;
  background: var(--bernstein);
  color: #1c140a;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.monatsfall h2 { font-size: 1.8rem; margin: 8px 0 4px; }
.mf-lockruf { margin: 0 0 0.5em; }
.mf-info { display: flex; align-items: center; gap: 0.45em; margin: 0 0 0.9em; color: var(--bernstein-hell); font-size: 0.9rem; }
.monatsfall .stand { margin: -0.4em 0 0.9em; }
.mf-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* Ring, der auf dem Globus um den Fall des Monats pulsiert */
.monats-ring { width: 16px; height: 16px; pointer-events: none; }
.monats-ring span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--bernstein); animation: ring-puls 2.6s ease-out infinite; }
.monats-ring span + span { animation-delay: 1.3s; }
.monats-ring.aus { display: none; }
@keyframes ring-puls { from { transform: scale(1); opacity: 0.95; } to { transform: scale(3.8); opacity: 0; } }

.willkommen {
  flex: none;
  padding: 18px 20px 14px;
  border-radius: 16px;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  box-shadow: var(--schatten);
  backdrop-filter: blur(6px);
}
.willkommen h1 { font-size: 1.7rem; }
.willkommen p { margin: 0 0 0.6em; }
.willkommen .ki-hinweis { margin: 0; }
.zahlen { list-style: none; margin: 2px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.zahlen[hidden] { display: none; }
.zahlen li {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.28em 0.75em;
  border-radius: 999px;
  border: 1px solid rgba(227, 168, 78, 0.32);
  background: rgba(227, 168, 78, 0.09);
  font-size: 0.88rem;
}
.zahlen i { color: var(--bernstein); font-size: 1.05em; }
.zahlen strong { color: var(--bernstein-hell); }

.feld {
  position: fixed;
  top: 70px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  width: min(400px, calc(100% - 36px));
  overflow-y: auto;
  padding: 14px;
  border-radius: 18px;
  background: var(--flaeche);
  border: 1px solid var(--linie-stark);
  box-shadow: var(--schatten);
  backdrop-filter: blur(8px);
  animation: hereinschieben 0.3s ease-out;
}
@keyframes hereinschieben { from { opacity: 0; transform: translateX(20px); } }
.feld-zu { position: sticky; top: 0; float: right; z-index: 2; margin: 0 0 -34px; }

.punkt-karte + .punkt-karte { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--linie); }
.punkt-karte img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; display: block; margin-bottom: 12px; }
.punkt-text { padding: 0 4px 4px; }
.punkt-text h2 { font-size: 1.6rem; margin-top: 6px; }
.punkt-text p { margin: 0 0 0.8em; }
.art-marke {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-leise);
}
.art-fall .art-marke { color: var(--bernstein); }
.art-raetsel .art-marke { color: var(--lila); }
.wann { display: flex; gap: 0.4em; align-items: center; color: var(--text-leise); font-size: 0.9rem; }
.stand { display: flex; gap: 0.45em; align-items: center; color: var(--bernstein-hell); font-size: 0.92rem; }
.bald-hinweis { display: flex; gap: 0.45em; align-items: center; color: var(--text-leise); font-style: italic; }
.monats-marke {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-left: 0.6em;
  padding: 0.15em 0.6em;
  border-radius: 999px;
  background: var(--bernstein);
  color: #1c140a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 0.1em;
}
.verbindung { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--linie-stark); }
.verbindung .verbindung-titel { margin: 0 0 0.55em; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-leise); }
.verbindung-link {
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--linie);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
}
.verbindung-link + .verbindung-link { margin-top: 6px; }
.verbindung-link:hover { border-color: var(--linie-stark); background: rgba(255, 255, 255, 0.07); color: #fff; }
.verbindung-link i { font-size: 1.5rem; color: var(--lila); }
.verbindung-link.art-fall i { color: var(--bernstein); }
.verbindung-link span { display: grid; }
.verbindung-link small { color: var(--text-leise); }
.knopf.lila { background: var(--lila); border-color: var(--lila); color: #150f24; }
.knopf.lila:hover { background: #c2abf5; border-color: #c2abf5; color: #150f24; }

.liste-titel { font-size: 1.5rem; padding: 4px 44px 0 4px; }
.liste-gruppe h3 { display: flex; align-items: center; gap: 0.5em; font-family: var(--sans); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-leise); margin: 1.1em 4px 0.5em; }
.liste-gruppe ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.listen-eintrag {
  width: 100%;
  display: grid;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--linie);
  background: rgba(255, 255, 255, 0.03);
}
.listen-eintrag:hover { border-color: var(--linie-stark); background: rgba(255, 255, 255, 0.07); }
.listen-eintrag small { color: var(--text-leise); }

body.ohne-globus { overflow: auto; background: radial-gradient(ellipse at top, #1d1830, var(--nacht)); }
body.ohne-globus .start-spalte, body.ohne-globus .feld { position: static; width: auto; max-height: none; margin: 80px 16px 16px; }

/* Niedrige Bildschirme am Computer: Bild flacher, damit alles passt */
@media (min-width: 761px) and (max-height: 760px) {
  .mf-bild img { aspect-ratio: 3 / 1; }
  .willkommen p:nth-of-type(1) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .monatsfall { animation: none; }
  .monats-ring span { animation: none; transform: scale(1.9); opacity: 0.8; }
  .monats-ring span + span { display: none; }
}

@media (max-width: 760px) {
  .zahlen { display: none; }
  /* Auf dem Handy: Fall des Monats als Streifen oben, Begrüßung unten */
  .start-spalte { display: contents; }
  .monatsfall {
    position: fixed;
    top: var(--kopf-hoehe, 96px);
    left: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    grid-template-columns: 96px 1fr;
    border-radius: 14px;
  }
  .mf-bild img { height: 100%; aspect-ratio: auto; }
  .mf-bild::after { background: linear-gradient(90deg, rgba(18, 15, 28, 0) 55%, rgba(18, 15, 28, 0.9)); }
  .mf-text { margin: 0; padding: 9px 12px 10px 12px; }
  .mf-marke { font-size: 0.64rem; padding: 0.22em 0.6em; }
  .monatsfall h2 { font-size: 1.25rem; margin: 4px 0 6px; }
  .mf-lockruf, .mf-info, .monatsfall .stand, .mf-globus { display: none; }
  .mf-knoepfe .knopf { padding: 0.38em 0.85em; font-size: 0.88rem; }
  /* Der ganze Streifen ist anklickbar */
  .mf-knoepfe .knopf.haupt::after { content: ''; position: absolute; inset: 0; }
  body.feld-offen .monatsfall { display: none; }
  body.ohne-globus .monatsfall { position: static; margin: 80px 12px 0; }
  .willkommen { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 2; }
  body.ohne-globus .willkommen { position: static; margin: 12px; }

  .kopf { flex-wrap: wrap; gap: 8px 10px; padding: 10px 12px 18px; }
  .marke { font-size: 1.25rem; }
  .filter { order: 3; width: 100%; }
  #k-liste { margin-left: auto; }
  .filter-knopf { font-size: 0.82rem; padding: 0.35em 0.7em; }
  .willkommen { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 14px 16px 10px; }
  .willkommen h1 { font-size: 1.35rem; }
  .willkommen p:nth-of-type(1) { font-size: 0.92rem; }
  body.feld-offen .willkommen { display: none; }
  .feld {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-height: 72dvh;
    border-radius: 18px 18px 0 0;
    animation-name: hochschieben;
  }
  @keyframes hochschieben { from { opacity: 0; transform: translateY(30px); } }
}

/* ---------- Fortschritt und Belohnung ---------- */
.fortschritt {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 2px 0 12px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(127, 180, 137, 0.35);
  background: rgba(127, 180, 137, 0.08);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
}
.fortschritt[hidden] { display: none; }
.fortschritt:hover { background: rgba(127, 180, 137, 0.15); border-color: var(--gruen); }
.fortschritt:focus-visible { outline: 2px solid var(--bernstein); outline-offset: 2px; }
.fortschritt i { color: var(--gruen); font-size: 1.15em; }
/* Zwei Zeilen: Fälle und Geschichten, jede mit eigenem Balken */
.fs-zeile { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 8px; }
.fs-zeile.alles i { color: var(--bernstein-hell); }
.fs-balken { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.fs-balken span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gruen), var(--bernstein)); }
/* Im Fortschritts-Feld: ein Block für die Fälle, einer für die Geschichten */
.fs-block { margin: 0 0 1.2em; padding: 12px 12px 4px; border: 1px solid var(--linie); border-radius: 14px; background: rgba(255, 255, 255, 0.025); }
.fs-kopf { display: grid; gap: 8px; margin: 0 4px; }
.fs-kopf h3 { display: flex; align-items: center; gap: 0.45em; margin: 0; font-family: var(--sans); font-size: 1.02rem; }
.fs-kopf h3 i { color: var(--gruen); font-size: 1.25em; }
.fs-kopf.alles h3 i { color: var(--bernstein-hell); }
.fs-block .fs-erklaerung { margin: 0.6em 4px 0.8em; font-size: 0.9rem; }
.fs-belohnung { margin: 0 4px 0.9em; }
.fs-klapp { margin: 0 0 6px; border-radius: 10px; }
.fs-klapp summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}
.fs-klapp summary::-webkit-details-marker { display: none; }
.fs-klapp summary::before { content: '▸'; color: var(--text-leise); transition: transform 0.2s ease; }
.fs-klapp[open] summary::before { transform: rotate(90deg); }
.fs-klapp summary span { flex: 1; }
.fs-klapp summary small { color: var(--text-leise); font-weight: 400; }
.fs-klapp summary:hover { background: rgba(255, 255, 255, 0.07); }
.fs-klapp summary:focus-visible { outline: 2px solid var(--bernstein); outline-offset: 1px; }
.fs-klapp .fs-liste { margin: 6px 0 10px; }
.fs-erklaerung { margin: 0.4em 4px 0.9em; color: var(--text-leise); }
.fs-liste { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 6px; }
.fs-eintrag { grid-template-columns: auto 1fr; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.fs-eintrag > i { font-size: 1.4rem; color: var(--text-leise); }
.fs-eintrag.fertig > i { color: var(--gruen); }
.fs-eintrag span { display: grid; }
.fs-extra { display: flex; gap: 0.5em; align-items: flex-start; margin: 0 4px 1em; color: var(--bernstein-hell); }
.fs-extra i { margin-top: 0.2em; }
.fs-hinweis { margin: 1em 4px 0; font-size: 0.85rem; }
.fs-geraet { margin: 10px 4px 4px; }
/* Kleine Zeile unter dem Fortschritt: auf einem anderen Gerät weiterspielen */
.geraet-zeile { margin: 0 0 10px; font-size: 0.88rem; }
.geraet-zeile a { display: inline-flex; align-items: center; gap: 0.4em; color: var(--text-leise); }
.geraet-zeile a:hover { color: var(--text); }

.belohnung {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid rgba(227, 168, 78, 0.45);
  border-radius: 18px;
  background: #13111f;
  color: var(--text);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(227, 168, 78, 0.18);
  overflow: auto;
}
.belohnung::backdrop { background: rgba(7, 6, 12, 0.75); backdrop-filter: blur(3px); }
.bl-bild { position: relative; aspect-ratio: 16 / 9; background: #0e0c16; overflow: hidden; }
.bl-film { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Belohnung für die Fälle: die Bilder aller Fälle, bis es einen eigenen Film gibt */
.bl-mosaik { position: absolute; inset: 0; display: flex; flex-wrap: wrap; gap: 3px; }
.bl-mosaik img {
  flex: 1 1 30%;
  min-width: 0;
  height: calc((100% - (var(--reihen, 1) - 1) * 3px) / var(--reihen, 1));
  object-fit: cover;
  animation: mosaik-rein 0.7s ease-out calc(var(--i) * 0.18s) both;
}
@keyframes mosaik-rein { from { opacity: 0; transform: scale(1.08); } }
.bl-sterne { position: absolute; inset: 0; pointer-events: none; }
.bl-sterne span {
  position: absolute;
  bottom: -12px;
  left: calc(4% + var(--i) * 5.3%);
  width: 9px;
  height: 9px;
  background: var(--bernstein-hell);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  opacity: 0;
  animation: stern-steigt 3.2s ease-out var(--verz, 0.6s) 2 both;
}
.bl-sterne span:nth-child(3n) { width: 13px; height: 13px; }
.bl-sterne span:nth-child(4n) { background: #fff3d1; }
@keyframes stern-steigt {
  0% { transform: translateY(0) rotate(0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-260px) rotate(200deg); opacity: 0; }
}
.bl-text { padding: 18px 22px 20px; }
.bl-marke { display: inline-flex; align-items: center; gap: 0.4em; margin: 0 0 4px; padding: 0.25em 0.75em; border-radius: 999px; background: rgba(227, 168, 78, 0.16); color: var(--bernstein-hell); font-weight: 700; letter-spacing: 0.04em; }
.belohnung h2 { font-size: 1.6rem; margin: 6px 0 8px; }
.bl-text p { margin: 0 0 0.7em; }
.bl-extra { display: flex; gap: 0.5em; align-items: flex-start; color: var(--bernstein-hell); }
.bl-extra i { margin-top: 0.2em; }
.bl-name { display: grid; gap: 6px; margin: 12px 0 14px; font-size: 0.9rem; color: var(--text-leise); }
.bl-name input { font: inherit; font-size: 1rem; padding: 0.55em 0.75em; border-radius: 10px; border: 1px solid var(--linie-stark); background: rgba(255, 255, 255, 0.05); color: var(--text); }
.bl-name input:focus-visible { outline: 2px solid var(--bernstein); outline-offset: 1px; }
.bl-knoepfe { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
@media (prefers-reduced-motion: reduce) {
  .bl-sterne { display: none; }
  .bl-mosaik img { animation: none; }
}
@media (max-width: 760px) {
  .fortschritt { margin: 0 0 8px; padding: 6px 10px; font-size: 0.85rem; }
  .belohnung h2 { font-size: 1.3rem; }
  .bl-text { padding: 14px 16px 16px; }
}

/* Die Urkunde zum Ausdrucken: Beim Drucken ist nur sie zu sehen */
.druck-urkunde { display: none; }
@media print {
  body.drucken > :not(.druck-urkunde) { display: none !important; }
  body.drucken { background: #fff !important; overflow: visible !important; }
  body.drucken .druck-urkunde {
    display: block;
    margin: 0 auto;
    padding: 18mm 16mm;
    max-width: 180mm;
    min-height: 240mm;
    border: 3mm double #b07a2a;
    color: #2b2117;
    font-family: var(--serif);
    text-align: center;
  }
  .druck-urkunde .du-kopf { font-size: 14pt; letter-spacing: 0.3em; text-transform: uppercase; color: #8a5d1c; margin: 0 0 6mm; }
  .druck-urkunde h1 { font-size: 40pt; margin: 0 0 8mm; color: #2b2117; }
  .du-bild { display: block; width: 70mm; margin: 0 auto 8mm; border-radius: 3mm; }
  .druck-urkunde .du-name { font-size: 26pt; margin: 0 0 6mm; border-bottom: 0.4mm solid #b07a2a; display: inline-block; min-width: 110mm; padding: 0 6mm 2mm; }
  .druck-urkunde p { font-size: 14pt; margin: 0 0 4mm; }
  .du-titel { font-size: 22pt !important; font-weight: 700; color: #8a5d1c; margin: 2mm 0 10mm !important; }
  .druck-urkunde ul { list-style: none; padding: 0; margin: 0 0 12mm; font-size: 12.5pt; line-height: 1.7; }
  .du-datum { margin-top: 10mm !important; font-size: 12pt !important; color: #555; }
}

/* ---------- Geschichten (ohne Bild, mit großem Zeichen) ---------- */
.punkt-siegel {
  height: 92px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 35%, rgba(169, 139, 232, 0.3), rgba(14, 12, 22, 0.2) 75%);
  border: 1px solid rgba(169, 139, 232, 0.3);
  color: var(--bernstein-hell);
  font-size: 2.8rem;
}
.stand.fertig { color: var(--gruen); }
.liste-kontinent { margin: 0.9em 4px 0.4em; font-family: var(--sans); font-size: 0.82rem; font-weight: 600; color: var(--lila); }
.listen-eintrag strong { display: flex; align-items: center; gap: 0.35em; }
.listen-eintrag strong i { color: var(--gruen); font-size: 1.1em; }
.fs-gruppe { margin: 1.1em 4px 0.45em; font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-leise); }
@media (max-width: 760px) {
  .punkt-siegel { height: 64px; font-size: 2.2rem; }
}
.dreh-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.dreh-zeile .knopf { padding: 0.32em 0.8em; font-size: 0.86rem; }

/* ---------- Handy: wie ein Spiel. Erde in der Mitte, kurzer Hinweis, Knopfleiste unten ---------- */
.nur-handy, .feld-griff { display: none; }
@media (max-width: 760px) {
  :root { --leiste-h: 62px; }
  .nur-handy { display: revert; }
  .nur-handy[hidden] { display: none; }
  /* Die lange Begrüßung steht am Handy hinter dem „i“ oben, hier nur ein kurzer Hinweis */
  body:not(.ohne-globus) .willkommen { display: none; }
  #k-liste { display: none; }
  /* Oben rechts: Fortschritt (klein, fällt nicht auf) und das „i“ */
  #k-fortschritt { display: inline-grid; margin-left: auto; }
  #k-fortschritt.alles { border-color: var(--bernstein); color: var(--bernstein-hell); }
  #k-info { display: inline-grid; }
  .kopf { padding-bottom: 14px; }

  .hinweis {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(var(--leiste-h) + env(safe-area-inset-bottom) + 12px);
    z-index: 2;
    padding: 12px 48px 12px 16px;
    border-radius: 14px;
    background: var(--flaeche);
    border: 1px solid var(--linie-stark);
    box-shadow: var(--schatten);
    backdrop-filter: blur(6px);
    animation: hinweis-rein 0.5s ease-out 0.4s both;
  }
  @keyframes hinweis-rein { from { opacity: 0; transform: translateY(12px); } }
  .hinweis-titel { margin: 0 0 2px; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
  .hinweis-text { margin: 0; font-size: 0.92rem; color: var(--text-leise); line-height: 1.45; }
  .hinweis-zu { position: absolute; top: 8px; right: 8px; }

  /* Knopfleiste unten (wie im Fall-Spiel) */
  .handy-leiste {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
    background: var(--nacht-2);
    border-top: 1px solid var(--linie-stark);
    box-shadow: 0 -10px 26px rgba(0, 0, 0, 0.4);
  }
  .h-knopf {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    min-height: 53px;
    padding: 4px 2px;
    border: 0;
    border-radius: 12px;
    background: none;
    color: var(--text);
  }
  .h-knopf[hidden] { display: none; }
  .h-knopf:active { background: rgba(255, 255, 255, 0.07); }
  .h-knopf:focus-visible { outline: 2px solid var(--bernstein); outline-offset: -2px; }
  .h-knopf[aria-pressed='true'] { background: rgba(255, 255, 255, 0.07); }
  .h-knopf[aria-pressed='true'] i, .h-knopf[aria-pressed='true'] small { color: var(--bernstein-hell); }
  .h-symbol { display: grid; place-items: center; width: 32px; height: 26px; font-size: 1.45rem; }
  .h-knopf small { font-size: 0.74rem; line-height: 1.1; color: var(--text-leise); white-space: nowrap; }
  .h-knopf.monat i { color: var(--bernstein); }

  /* Fall des Monats und Hinweis verschwinden, sobald man die Erde anfasst */
  .monatsfall, .hinweis { transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0s; }
  body.erkunden .monatsfall { opacity: 0; transform: translateY(-14px); visibility: hidden; pointer-events: none; transition-delay: 0s, 0s, 0.35s; }
  body.erkunden .hinweis { opacity: 0; transform: translateY(14px); visibility: hidden; pointer-events: none; transition-delay: 0s, 0s, 0.35s; }
  body.ohne-globus .handy-leiste { position: sticky; }

  /* Das Feld (Punkt, Liste, Fortschritt) kommt von unten und sitzt auf der Leiste */
  .feld {
    bottom: calc(var(--leiste-h) + env(safe-area-inset-bottom));
    max-height: 64dvh;
    padding-top: 22px;
    border-bottom: 0;
    overscroll-behavior: contain;
    transition: transform 0.2s ease-out;
  }
  .feld-griff { display: block; position: absolute; top: 8px; left: 50%; width: 42px; height: 5px; margin-left: -21px; border-radius: 3px; background: var(--linie-stark); }
  .feld-zu { margin-top: -10px; }
  .punkt-karte img { aspect-ratio: 21 / 9; margin-bottom: 10px; }
  .punkt-text h2 { font-size: 1.4rem; margin-top: 4px; }
  .liste-titel { font-size: 1.3rem; }
  .info-feld p { margin: 0 4px 0.8em; }
  .info-feld .zahlen { display: flex; margin: 0 4px 12px; }
  .info-feld .ki-hinweis { font-size: 0.85rem; }

  /* NASA-Hinweis über der Leiste statt dahinter */
  .maplibregl-ctrl-bottom-right { bottom: calc(var(--leiste-h) + env(safe-area-inset-bottom)); }
}
