/* CC-BY-SA bildungssprit.de | Falk Szyba @medienrocker */
/* =========================================================
   learnWEB – Map-View Styles
   Hintergrundbild + SVG-Overlay + anklickbare Stationen.
   Mobile-first, A11y-first, reduced-motion-konform.
   ========================================================= */

.map-section {
  margin: 16px 0 24px;
}

/* ---------- HUD oben: Phase + Fortschrittsbalken ---------- */
.map-hud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.map-hud-phase {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 220px;
  min-width: 0;
}
.map-hud-emoji {
  font-size: 26px;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--phase-color, #16a34a) 14%, transparent);
  border-radius: 50%;
  flex-shrink: 0;
}
.map-hud-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.map-hud-text strong {
  color: var(--phase-color, var(--ink));
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-hud-text small {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-hud-progress {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex: 0 0 auto;
  min-width: 160px;
}
.map-hud-bar {
  width: 160px;
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.map-hud-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s ease-out;
}
.map-hud-count {
  font-size: 0.82rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- Bühne (skalierender Container) ---------- */
.map-stage {
  /* Desktop: Tooltips duerfen nach oben/unten ueber den Rand,
     Mobil: horizontaler Scroll (per Media-Query unten). */
  overflow: visible;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #dbeafe 0%, #f4f6fb 100%);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}
.map-scaler {
  /* Robust: padding-bottom-Trick statt aspect-ratio. Funktioniert in
     jedem Container, unabhaengig von Flex/Grid/Hoehen-Vorgaben. */
  position: relative;
  width: 100%;
  height: 0;
  /* Fallback; map.js setzt padding-bottom dynamisch passend zur viewBox/zum Bild */
  padding-bottom: 65.53%;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;          /* Hintergrundbild darf nicht ueberlaufen */
}

/* ---------- Hintergrundbild ---------- */
.map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.map-bg--missing {
  background: repeating-linear-gradient(45deg, #fef3c7 0 18px, #fde68a 18px 36px);
  object-fit: contain;
}

/* ---------- SVG-Overlay (Pfad) ---------- */
.map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;       /* Stationen sind eigenstaendige Buttons darueber */
}
.map-path-bg, .map-path-dim, .map-path-progress {
  fill: none;
}
.map-path-bg {
  /* weisser Halo unter dem Fortschritt – setzt sich vom Hintergrundbild ab */
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.2));
}
.map-path-progress {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}

/* ---------- Stationen-Layer ----------
   Liegt ueber dem Bild und dem SVG. Hat overflow: visible, damit
   Tooltips ueber die Map-Raender hinaus rendern duerfen. */
.map-stations {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;       /* Container nicht klickbar */
  overflow: visible;
}

/* ---------- Eine Station (Button) ---------- */
.map-station {
  --size: 26px;   /* sichtbarer Punkt */
  --hit: 42px;    /* unsichtbare Klickflaeche (WCAG-Touch-Target) */
  position: absolute;
  width: var(--hit);
  height: var(--hit);
  margin-left: calc(var(--hit) / -2);
  margin-top: calc(var(--hit) / -2);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;       /* Buttons doch klickbar */
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.map-station:hover,
.map-station:focus-visible {
  z-index: 5;
}
/* Hover-Vergroesserung am Punkt (nicht am Button) – damit die fixed-Tooltips
   nicht an einem transformierten Vorfahren haengen. */
.map-station:hover .map-station-dot,
.map-station:focus-visible .map-station-dot {
  transform: scale(1.15);
}
.map-station:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 4px;
  border-radius: 50%;
}

/* Punkt selbst (sichtbarer Kreis) */
.map-station-dot {
  position: relative;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--phase-color, #16a34a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  box-shadow:
    0 0 0 2px #ffffff,
    0 3px 8px rgba(15, 23, 42, 0.28);
  z-index: 2;
  transition: transform 0.18s ease;
}

/* Aura hinter dem Punkt (fuer Pulse-Effekt der naechsten Station) */
.map-station-aura {
  position: absolute;
  width: calc(var(--size) + 18px);
  height: calc(var(--size) + 18px);
  top: 50%;
  left: 50%;
  margin-left: calc((var(--size) + 18px) / -2);
  margin-top: calc((var(--size) + 18px) / -2);
  border-radius: 50%;
  background: var(--phase-color, #16a34a);
  opacity: 0;
  z-index: 1;
}

/* ---------- Status-Varianten ---------- */

/* Offen / spaeter – etwas zurueckhaltender */
.map-station.is-open .map-station-dot {
  background: #cbd5e1;
  color: #475569;
  box-shadow:
    0 0 0 2px #ffffff,
    0 2px 5px rgba(15, 23, 42, 0.18);
}

/* Spaetere Phase – "verschlossen": ruhiger Look, Schloss statt Nummer.
   Bewusst nur optisch (Neugier), anklickbar bleibt die Station. */
.map-station.is-later .map-station-dot {
  background: #e2e8f0;
  color: #64748b;
  box-shadow:
    0 0 0 2px #ffffff,
    0 1px 4px rgba(15, 23, 42, 0.14);
}
.map-station.is-later .map-marker-lock { font-size: 13px; line-height: 1; filter: grayscale(1); }
.map-station.is-later { opacity: 0.72; }
.map-station.is-later:hover,
.map-station.is-later:focus-visible { opacity: 1; }

/* Begonnen – Phasenfarbe, aber gedaempfter Ring */
.map-station.is-started .map-station-dot {
  background: var(--phase-color, #16a34a);
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 4px color-mix(in srgb, var(--phase-color, #16a34a) 40%, transparent),
    0 3px 10px rgba(15, 23, 42, 0.25);
}

/* Verfuegbar (naechste) – pulsierende Aura */
.map-station.is-available .map-station-aura {
  opacity: 0.55;
  animation: map-pulse 2.4s ease-in-out infinite;
}
.map-station.is-available .map-station-dot {
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 5px color-mix(in srgb, var(--phase-color, #16a34a) 35%, transparent),
    0 3px 12px rgba(15, 23, 42, 0.3);
}

@keyframes map-pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%      { opacity: 0.05; transform: scale(1.6); }
}

/* Erledigt – Haekchen, gefuellt */
.map-station.is-done .map-station-dot {
  background: var(--phase-color, #16a34a);
}
.map-marker-check {
  font-size: 1.1rem;
  line-height: 1;
}

/* Showcase (W4/9/13) – Stern + goldener Glanz */
.map-station.is-showcase {
  --size: 34px;
  --hit: 46px;
}
.map-station.is-showcase .map-station-dot {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #78350f;
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 4px #f59e0b,
    0 4px 12px rgba(180, 83, 9, 0.35);
}
.map-marker-star {
  font-size: 1.2rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(120, 53, 15, 0.4));
}
.map-station.is-showcase.is-done .map-station-aura {
  opacity: 0.5;
  background: #fbbf24;
  animation: map-shine 4s ease-in-out infinite;
}
@keyframes map-shine {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50%      { opacity: 0.6;  transform: scale(1.25); }
}

/* Finale (W16) – noch ein bisschen groesser */
.map-station.is-finale {
  --size: 40px;
  --hit: 50px;
}
.map-station.is-finale .map-station-dot {
  background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 1.1rem;
}

/* Schwebendes Badge-Emoji nach Erledigung */
.map-badge-float {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.3));
  animation: map-float 3.5s ease-in-out infinite;
  z-index: 3;
}
@keyframes map-float {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -4px); }
}

/* ---------- Tooltip (CSS-only Teaser) ---------- */
.map-tip {
  /* Fixed und im Viewport zentriert: wird nie am Map-Rand abgeschnitten. */
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(340px, 90vw);
  max-width: 360px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
  font-weight: 400;
  font-size: 0.9rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 9999;
  pointer-events: none;
  white-space: normal;
}
/* Kein Pfeil bei zentrierter Anzeige. Die anchor-Klassen am Button bleiben
   im HTML, haben hier aber bewusst keine Wirkung mehr. */
.map-tip::after { display: none; }

.map-station:hover .map-tip,
.map-station:focus-visible .map-tip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

.map-tip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--phase-color, #16a34a);
}
.map-tip-wk {
  font-weight: 800;
  color: var(--phase-color, #16a34a);
}
.map-tip-phase {
  font-size: 0.75rem;
  color: var(--muted);
  background: color-mix(in srgb, var(--phase-color, #16a34a) 10%, transparent);
  padding: 2px 8px;
  border-radius: 999px;
}
.map-tip-title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}
.map-tip-goal {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.map-tip-badge {
  font-size: 0.85rem;
  margin-top: 4px;
}
.map-tip-cta {
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--phase-color, #16a34a);
  text-align: right;
}

/* ---------- Hinweis-Box unter der Map ---------- */
/* Hinweis liegt auf der Werkbank: keine Kastenfarbe, nur eine Notiz */
.map-hint {
  margin: 14px 0 4px;
  padding: 10px 2px;
  background: none;
  border: 0;
  border-top: 1px dashed var(--bench-line);
  border-radius: 0;
  color: var(--bench-ink-dim);
  font-size: 0.86rem;
  line-height: 1.5;
}
.map-hint kbd {
  display: inline-block;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--bench-deep);
  color: var(--lime);
  border: 1px solid var(--bench-line);
  border-bottom-width: 2px;
  border-radius: 4px;
}

/* ---------- Avatar (reisender Begleiter) ---------- */
.map-avatar {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -62%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  pointer-events: none;
  z-index: 4;
  filter: drop-shadow(0 4px 6px rgba(15, 23, 42, 0.35));
  animation: map-avatar-bob 2.6s ease-in-out infinite;
  will-change: left, top, transform;
}
.map-avatar[hidden] { display: none; }
.map-avatar-emoji { display: block; line-height: 1; }
.map-avatar.is-traveling { animation: none; }
@keyframes map-avatar-bob {
  0%, 100% { transform: translate(-50%, -62%); }
  50%      { transform: translate(-50%, -74%); }
}

/* Pulse einer gerade abgeschlossenen Station */
.map-station.just-done .map-station-dot {
  animation: map-pop 0.7s ease;
}
@keyframes map-pop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.35); }
  70%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}

/* ---------- Begleiter-Auswahl ---------- */
.map-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 0;
}
.map-tools-label {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}
.map-avatar-picker {
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
}
.map-avatar-opt {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s, border-color 0.12s, background 0.12s;
}
.map-avatar-opt:hover { transform: translateY(-2px); background: var(--bg); }
.map-avatar-opt.is-active {
  border-color: var(--green);
  background: #ecfdf5;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--green) 30%, transparent);
}

/* ---------- Konfetti ---------- */
.map-confetti-piece {
  position: fixed;
  width: 10px;
  height: 14px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 9999;
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
  transition: transform 1.4s cubic-bezier(0.18, 0.7, 0.3, 1), opacity 1.4s ease-out;
}
.map-confetti-piece.go {
  transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot));
  opacity: 0;
}

/* ---------- Phasen-Abschluss-Zeremonie ---------- */
.map-ceremony {
  border: none;
  border-radius: 20px;
  padding: 28px 26px 24px;
  max-width: 480px;
  width: calc(100% - 32px);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.4);
  text-align: center;
  color: var(--ink);
  position: relative;
  overflow: visible;
  border-top: 8px solid var(--phase-color, #16a34a);
}
.map-ceremony::backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
}
.map-ceremony[open] {
  animation: map-ceremony-pop 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes map-ceremony-pop {
  0%   { transform: scale(0.85) translateY(10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.map-ceremony-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
}
.map-ceremony-close:hover { background: var(--bg); color: var(--ink); }
.map-ceremony-crown { font-size: 3rem; line-height: 1; }
.map-ceremony-title {
  margin: 0.3em 0 0.1em;
  color: var(--phase-color, var(--ink));
  font-size: 1.6rem;
}
.map-ceremony-sub {
  color: var(--muted);
  margin: 0.2em 0 1em;
  font-size: 0.95rem;
  line-height: 1.5;
}
.map-ceremony-trophies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 18px;
}
.map-trophy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 92px;
  padding: 10px 6px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  opacity: 0.5;
  filter: grayscale(0.6);
}
.map-trophy.earned {
  opacity: 1;
  filter: none;
  background: linear-gradient(180deg, #fffbeb, #fff);
  border-color: #fcd34d;
}
.map-trophy-emoji { font-size: 1.6rem; }
.map-trophy-name { font-size: 0.74rem; font-weight: 700; line-height: 1.2; }
.map-trophy-wk { font-size: 0.68rem; color: var(--muted); }
.map-ceremony-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.map-ceremony-btn {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 10px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}
.map-ceremony-btn:hover { background: var(--bg); }
.map-ceremony-btn.primary {
  background: var(--phase-color, var(--green));
  color: #fff;
  border-color: transparent;
}
.map-ceremony-btn.primary:hover { filter: brightness(1.08); }

/* ---------- View-Switcher (Karte/Cards/Liste) ----------
   Bewusst am Seitenende und dezent: Erstnutzer sollen sich nicht
   zwischen Ansichten entscheiden muessen, bevor sie losgelegt haben. */
.view-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  padding: 4px;
  margin: 22px 0 0;
}
.view-switcher-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bench-ink-dim);
  margin-right: 4px;
}
.view-switcher button {
  border: 1px solid var(--bench-line);
  background: transparent;
  padding: 7px 14px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bench-ink-dim);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  min-height: 40px;
}
.view-switcher button:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--bench-ink);
}
.view-switcher button[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.view-switcher button[aria-pressed="true"]:hover {
  background: var(--lime);
  color: var(--ink);
}

/* ---------- Listen-Ansicht (kompakt) ---------- */
.lesson-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0 24px;
}
.lesson-list-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--phase-color, #16a34a);
  border-radius: 10px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.lesson-list-row:hover,
.lesson-list-row:focus-visible {
  background: var(--bg);
  transform: translateX(2px);
  transition: transform 0.15s, background 0.15s;
}
.lesson-list-row .ll-nr {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--phase-color, #16a34a);
  font-variant-numeric: tabular-nums;
  min-width: 70px;
}
.lesson-list-row .ll-title {
  font-weight: 600;
}
.lesson-list-row .ll-meta {
  font-size: 0.82rem;
  color: var(--muted);
}
.lesson-list-row .ll-state {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.lesson-list-row.is-done .ll-state { color: #15803d; }
.lesson-list-row.is-available .ll-state { color: var(--accent); }
.lesson-list-row.is-showcase {
  background: linear-gradient(180deg, #fff8e6 0%, var(--paper) 100%);
}

/* "Nächster Schritt" in Liste: deutliches Pulsieren */
.lesson-list-row.is-next {
  position: relative;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--lime) 26%, var(--paper)),
    var(--paper) 45%);
  border-left-width: 6px !important;
  animation: list-next-glow 2.2s ease-in-out infinite;
}
.lesson-list-row.is-next .ll-state { color: var(--green); font-weight: 800; }
@keyframes list-next-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.25); }
  50%      { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .map-hud {
    flex-direction: column;
    align-items: stretch;
  }
  .map-hud-progress {
    align-items: flex-start;
    width: 100%;
  }
  .map-hud-bar { width: 100%; }
  /* Auf Mobil: horizontal scrollbar, damit die Map nicht zu klein wird.
     Tooltips werden hier akzeptiert clipping, weil Tap direkt navigiert. */
  .map-stage {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
  }
  .map-scaler {
    /* breiter => proportional hoeher (16:10), damit die oberen Stationen
       nicht mehr abgeschnitten werden. Pfad-Kalibrierung bleibt erhalten. */
    min-width: 860px;
  }
  /* Punktgroesse bleibt 22px; nur die Touch-Flaeche waechst (WCAG 2.5.5) */
  .map-station { --hit: 46px; }
  .map-station.is-showcase { --hit: 48px; }
  .map-station.is-finale { --hit: 52px; }
  .map-tip {
    width: min(330px, 92vw);
    font-size: 0.88rem;
  }
  .map-avatar { font-size: 1.5rem; width: 34px; height: 34px; }
  .map-avatar-opt { width: 36px; height: 36px; font-size: 1.05rem; }
}

/* ---------- Reduced Motion: alle Animationen aus ---------- */
@media (prefers-reduced-motion: reduce) {
  .map-station.is-available .map-station-aura,
  .map-station.is-showcase.is-done .map-station-aura,
  .map-badge-float {
    animation: none !important;
  }
  .map-station,
  .map-tip,
  .map-hud-fill,
  .lesson-list-row {
    transition: none !important;
  }
  .map-path-progress {
    transition: none !important;
  }
  .map-avatar,
  .map-station.just-done .map-station-dot,
  .map-ceremony[open] {
    animation: none !important;
  }
  .map-confetti-piece {
    display: none !important;
  }
  .lesson-list-row.is-next {
    animation: none !important;
  }
}
