/* Copyright © 2026 Caelum GmbH, Kenny Looser. Alle Rechte vorbehalten.
   /sounddesign/station/: Schritt-Kette, Bild-Karten zum Wischen (scroll-snap), aufklappbare Erklärung je Karte.
   Seite ist immer dunkel; die Bild-Kopien in /assets/station/ sind darum nur dunkel. Akzent = Farbe des Bereichs (--accent).
   KI-Beitrag (Claude, GB-7), 23.11.2026 – Freigabe durch Kenny Looser ausstehend (GB-8). */
.station { margin: 0 0 56px; }
.st-zurueck { display: inline-block; font-size: 14px; color: var(--text-soft); text-decoration: none; margin: 0 0 10px; }
.st-zurueck:hover { color: var(--accent); }
.st-entwurf { display: inline-block; margin: 0 0 18px 12px; font-size: 12px; color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 3px 10px; }

.st-kette { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.st-kette li { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14px; color: var(--text); }
.st-kette b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 80%, #000); color: #fff; font-size: 12px; }
.st-kette li + li::before { content: "→"; color: var(--muted); margin: 0 4px 0 -2px; order: -1; }
.st-kette li + li { padding-left: 6px; }
@media (max-width: 560px) {
  .st-kette { display: grid; grid-template-columns: 1fr 1fr; }
  .st-kette li + li::before { content: none; }
}

.st-bahn { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px 2px 4px; border-radius: 14px; }
.st-bahn::-webkit-scrollbar { display: none; }
.st-bahn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.st-karte { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 16px; }
.st-kopf { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 14px; }
.st-nr { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--accent); color: color-mix(in srgb, var(--accent) 70%, #fff); font-weight: 600; }
.st-kopf h2 { margin: 2px 0 2px; font-size: 19px; }
.st-kopf p { margin: 0; color: var(--text-soft); font-size: 15px; }
.st-bild { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; }
.st-bild img { display: block; width: 100%; height: auto; }
.st-bild:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.st-mehr { margin: 14px 0 0; border-top: 1px solid var(--line); padding-top: 10px; }
.st-mehr summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--text); padding: 4px 0; }
.st-mehr summary::-webkit-details-marker { display: none; }
.st-mehr summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.st-mehr[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.st-mehr summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.st-mehr p { margin: 6px 0 10px; color: var(--text-soft); max-width: 46em; }
.st-mehr ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--text-soft); }
.st-mehr li { display: flex; align-items: center; gap: 8px; }
.st-mehr li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
@supports (interpolate-size: allow-keywords) {
  .station { interpolate-size: allow-keywords; }
  .st-mehr::details-content { block-size: 0; overflow: hidden; opacity: 0; transition: block-size .3s ease, opacity .25s ease, content-visibility .3s allow-discrete; }
  .st-mehr[open]::details-content { block-size: auto; opacity: 1; }
}

.st-leiste { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 14px 0 4px; }
.st-pfeil { all: unset; cursor: pointer; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--text); font-size: 22px; line-height: 1; background: var(--bg); }
.st-pfeil:hover:not(:disabled) { border-color: var(--accent); }
.st-pfeil:disabled { opacity: .35; cursor: default; }
.st-pfeil:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-punkte { display: flex; gap: 4px; }
.st-punkte button { all: unset; cursor: pointer; width: 28px; height: 28px; display: grid; place-items: center; }
.st-punkte button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background .2s, width .2s; }
.st-punkte button[aria-current="true"]::before { background: var(--accent); width: 22px; border-radius: 999px; }
.st-punkte button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 50%; }
.st-wisch { text-align: center; color: var(--muted); font-size: 12px; margin: 0; }
@media (hover: hover) and (pointer: fine) { .st-wisch { display: none; } }
/* Grossansicht (dialog): am Handy volle Bildgrösse zum Verschieben, .st-ganz = ganzes Bild eingepasst */
.st-gross { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--bg); color: var(--text); overflow: hidden; }
.st-gross::backdrop { background: rgba(0, 0, 0, .6); }
.st-gross[open] { display: flex; flex-direction: column; }
html.st-gross-auf { overflow: hidden; }
.st-gross-flaeche { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  display: grid; padding: 56px 12px 8px; }   /* kein place-items: center – würde breite Bilder links abschneiden; margin:auto am Bild */
.st-gross-flaeche img { display: block; margin: auto; max-width: none; width: var(--w, 1200px); height: auto; border-radius: 10px; cursor: zoom-out; }
.st-gross.st-ganz .st-gross-flaeche { overflow: hidden; }
.st-gross.st-ganz .st-gross-flaeche img { max-width: 100%; max-height: 100%; width: 100%; height: auto; object-fit: contain; cursor: zoom-in; }
.st-gross-zu { all: unset; position: absolute; top: 10px; right: 12px; z-index: 1; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 18px; }
.st-gross-zu:hover { border-color: var(--accent); }
.st-gross-zu:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-gross-tipp { margin: 0; padding: 8px 16px 14px; text-align: center; color: var(--muted); font-size: 12px; }
@media (hover: hover) and (pointer: fine) { .st-gross-tipp { display: none; } }
@media (max-width: 560px) { .st-karte { padding: 14px 14px 12px; } .st-kopf h2 { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .st-mehr summary::after, .st-punkte button::before { transition: none; } .st-mehr::details-content { transition: none !important; } }
