/* mariulab · Navigation „ein Schiff“ (Coderin, 18.11.2026; settings.ML_NAVIGATION) – nur mit navigation.js geladen.
   Der Inhaltswechsel selbst nutzt die Regeln der Schleuse (templates/teile/schleuse.html, Typ „schleuse“). */

/* Wanderndes Element: Titel der angeklickten Leistungs-Kachel wird zur Ueberschrift der Unterseite. Der Name steht nur
   waehrend des Uebergangs am Element (navigation.js), nie dauerhaft und nie doppelt. Ruhig: eine Bewegung, kein Nachfedern. */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-group(ml-wandert) { animation-duration: 460ms; animation-timing-function: cubic-bezier(.2, .7, .1, 1); }
  ::view-transition-old(ml-wandert), ::view-transition-new(ml-wandert) { height: 100%; object-fit: contain; }
  ::view-transition-old(ml-wandert) { animation: 200ms ease-in both ml-wandert-aus; }
  ::view-transition-new(ml-wandert) { animation: 460ms cubic-bezier(.2, .7, .1, 1) both ml-wandert-ein; }
  @keyframes ml-wandert-aus { to { opacity: 0; } }
  @keyframes ml-wandert-ein { from { opacity: 0; } }
}

/* Waehrend die naechste Seite geholt wird: Mauszeiger „arbeitet“ (kein Balken, keine Unruhe) */
html.nav-laedt, html.nav-laedt a { cursor: progress; }

/* Fokus nach dem Wechsel liegt auf der Ueberschrift (fuer Screenreader). Ohne Tastatur kein Rahmen um die Ueberschrift. */
main [tabindex="-1"]:focus:not(:focus-visible), main#inhalt[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

/* Formular an Ort und Stelle (Stufe 3): Erfolg als Karte – Text der Danke-Seite an der Stelle des Formulars. Die Seiten-
   Stile der Danke-Seite (danke.css) sind hier nicht geladen; dieselben Werte fuer Schrittliste und Knoepfe. */
.ml-karte-vor-ort { padding: clamp(28px, 4vw, 48px); }
.ml-karte-vor-ort .schrittliste { list-style: none; padding: 0; margin: 28px 0; }
.ml-karte-vor-ort .schrittliste li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); }
.ml-karte-vor-ort .schrittliste li i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font: 600 12px/1 var(--font-mono); font-style: normal; color: var(--text-2); }
.ml-karte-vor-ort .schrittliste li.jetzt i { border-color: var(--tuerkis); color: var(--tuerkis); box-shadow: 0 0 14px rgba(23,201,196,.4); }
.ml-karte-vor-ort .schrittliste b { font: 600 16px/1.3 var(--font-display); display: block; }
.ml-karte-vor-ort .schrittliste span { color: var(--text-2); font-size: 14.5px; }
.ml-karte-vor-ort .akt { display: flex; gap: 10px; flex-wrap: wrap; }
.ml-karte-vor-ort h2:focus:not(:focus-visible) { outline: none; }
