:root { color-scheme: dark; --bg: #05060a; --fg: #e8ecf4; --h: 205; --akzent: hsl(var(--h) 100% 62%); }
* { box-sizing: border-box; }
html {
  min-height: 100%;
  background-color: var(--bg);
  background-image:
    radial-gradient(110% 70% at 50% 0%, hsl(var(--h) 85% 20%), transparent 70%),
    radial-gradient(100% 70% at 85% 100%, hsl(calc(var(--h) + 70) 75% 16%), transparent 70%),
    linear-gradient(170deg, hsl(calc(var(--h) - 10) 60% 8%), var(--bg));
  background-attachment: fixed;
}
body { margin: 0; background: transparent; color: var(--fg); font: 1rem/1.6 system-ui, sans-serif; }
body.start { height: 100dvh; overflow: hidden; }
#bg { position: fixed; inset: 0; width: 100%; height: 100%; display: none; z-index: 0; }
html.gl-on #bg { display: block; }

#stationen {
  position: relative; z-index: 1; height: 100dvh; overflow-y: auto;
  scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none;
}
#stationen::-webkit-scrollbar { display: none; }
.station { position: relative; height: 100dvh; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
.stage { position: absolute; inset: 0; touch-action: pan-y; }
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.info {
  position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none;
  padding: 5rem calc(1rem + env(safe-area-inset-right)) calc(4rem + env(safe-area-inset-bottom)) calc(1rem + env(safe-area-inset-left));
  background: linear-gradient(to top, rgba(5, 6, 10, .85), rgba(5, 6, 10, 0));
}
.kicker { margin: 0; font: .75rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; color: var(--akzent); }
.info h2 { margin: .2rem 0 .5rem; font-size: clamp(1.3rem, 5vw, 2.2rem); line-height: 1.2; text-transform: uppercase; letter-spacing: .12em; }
.teaser { margin: 0; max-width: 34rem; opacity: .92; }

.kopf {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  padding: calc(.6rem + env(safe-area-inset-top)) calc(.8rem + env(safe-area-inset-right)) .6rem calc(.8rem + env(safe-area-inset-left));
  background: linear-gradient(rgba(5, 6, 10, .75), rgba(5, 6, 10, 0));
}
.marke { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .1rem .55rem; margin-right: auto; font-weight: 700; font-size: .85rem; letter-spacing: .3em; }
#zaehler { font: .8rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.kopf button {
  min-width: 44px; min-height: 44px; padding: 0 .8rem; cursor: pointer; color: var(--fg);
  background: rgba(10, 14, 24, .6); border: 1px solid hsl(var(--h) 60% 45%); border-radius: 999px;
  font: inherit; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
}
.kopf button:disabled { opacity: .4; cursor: default; }
#status {
  position: fixed; z-index: 6; left: 50%; bottom: calc(3.2rem + env(safe-area-inset-bottom)); transform: translateX(-50%);
  margin: 0; padding: .4rem 1rem; border-radius: 999px; background: rgba(10, 14, 24, .9);
  border: 1px solid hsl(var(--h) 60% 45%); font-size: .85rem; letter-spacing: .06em;
}
#status:empty { display: none; }
.hinweis { position: fixed; z-index: 7; top: 50%; left: 0; right: 0; text-align: center; }
.fuss-fix {
  position: fixed; z-index: 5; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem;
  padding: .5rem calc(.8rem + env(safe-area-inset-right)) calc(.5rem + env(safe-area-inset-bottom)) calc(.8rem + env(safe-area-inset-left));
  font-size: .75rem; line-height: 1.4; background: linear-gradient(rgba(5, 6, 10, 0), rgba(5, 6, 10, .8));
}

a { color: var(--akzent); }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
#stationen:focus-visible { outline-offset: -3px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: .04em; }
.text { max-width: 42rem; margin: 0 auto; padding: 2rem 1rem; }
.fuss { max-width: 42rem; margin: 0 auto; padding: 1rem; font-size: .875rem; opacity: .85; }

.logo { width: 1.9rem; height: 1.9rem; flex: none; filter: drop-shadow(0 0 6px hsl(var(--h) 100% 60% / .6)); }
.lg-a { stop-color: hsl(var(--h) 100% 68%); }
.lg-b { stop-color: hsl(calc(var(--h) + 70) 100% 70%); }
.slogan { font-size: .7rem; font-weight: 400; letter-spacing: .06em; opacity: .85; }
