@font-face { font-family: Barlow; src: url(fonts/Barlow-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url(fonts/Barlow-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Michroma; src: url(fonts/Michroma-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --nacht: #0D0D10;
  --nacht-2: #15151B;
  --nacht-3: #1E1E26;
  --gleis: #34343F;
  --papier: #F4F2EE;
  --text: #EEECE8;
  --text-2: #B8B6BF;
  --s1: #7A00FF; --s1-text: #B88AFF;
  --s2: #FF00A8; --s2-text: #FF7AD0;
  --s3: #FF8800; --s3-text: #FFA040;
  --s4: #FFC400; --s4-text: #FFD04D;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--nacht); color: var(--text); }
body {
  font-family: Barlow, "Segoe UI", system-ui, sans-serif; font-size: 17px; line-height: 1.45;
  font-variant-numeric: tabular-nums; min-height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom); -webkit-tap-highlight-color: transparent;
}
[hidden] { display: none !important; }

.kopf {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: calc(12px + env(safe-area-inset-top)) 20px 12px;
  background: color-mix(in srgb, var(--nacht) 78%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gleis);
}
.logo { height: 32px; width: auto; }
.schild {
  font-family: Michroma, Barlow, sans-serif; text-transform: uppercase; letter-spacing: .06em;
  font-size: .78rem; color: var(--s4-text);
  border: 1px solid var(--gleis); border-radius: 6px; padding: 3px 8px;
}

.inhalt { max-width: 720px; margin: 0 auto; padding: 8px 20px 24px; }
.gruss h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; margin: 24px 0 4px; }
.datum { margin: 0; color: var(--text-2); }

.abschnitt {
  font-family: Michroma, Barlow, sans-serif; font-weight: 400; text-transform: uppercase;
  letter-spacing: .06em; font-size: .8rem; color: var(--text-2); margin: 36px 0 8px;
}

/* Jede App ist ein Halt auf einer senkrechten Linie */
.halte { list-style: none; margin: 0; padding: 0; position: relative; }
.halte::before {
  content: ""; position: absolute; left: 13px; top: 28px; bottom: 28px; width: 6px;
  border-radius: 3px; background: var(--gleis);
}
.halte li { position: relative; }
.halt {
  --farbe: var(--gleis); --farbe-text: var(--text-2);
  display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; align-items: center;
  padding: 14px 12px 14px 0; border-radius: 14px; text-decoration: none; color: inherit;
  min-height: 72px;
}
.halt.s1 { --farbe: var(--s1); --farbe-text: var(--s1-text); }
.halt.s2 { --farbe: var(--s2); --farbe-text: var(--s2-text); }
.halt.s3 { --farbe: var(--s3); --farbe-text: var(--s3-text); }
.halt.s4 { --farbe: var(--s4); --farbe-text: var(--s4-text); }
.halt.neutral { --farbe: #8A8692; --farbe-text: var(--text-2); }
.ring {
  grid-row: 1 / span 2; width: 32px; height: 32px; border-radius: 50%;
  background: var(--nacht); border: 6px solid var(--farbe); position: relative; z-index: 1;
  transition: transform .15s ease;
}
.name { font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.name::after {
  content: "→"; display: inline-block; margin-left: .4em; color: var(--farbe-text);
  transition: transform .15s ease;
}
.was { color: var(--text-2); font-size: .98rem; line-height: 1.35; }
.halt:hover, .halt:focus-visible { background: var(--nacht-2); }
.halt:hover .ring, .halt:focus-visible .ring { transform: scale(1.12); }
.halt:hover .name::after { transform: translateX(4px); }
.halt:active { background: var(--nacht-3); }
.halt:focus-visible { outline: 3px solid var(--s4); outline-offset: 2px; }

.installieren { margin-top: 36px; }
.knopf {
  font: inherit; font-weight: 600; font-size: 1.05rem; cursor: pointer;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--papier);
  background: var(--papier); color: var(--nacht);
  box-shadow: 0 10px 30px -14px rgba(244,242,238,.45);
}
.knopf:focus-visible { outline: 3px solid var(--s4); outline-offset: 3px; }
.hinweis { color: var(--text-2); margin-top: 28px; }

.fuss { max-width: 720px; margin: 0 auto; padding: 16px 20px 32px; color: var(--text-2); font-size: .9rem; border-top: 1px solid var(--gleis); }
.fuss p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .ring, .name::after { transition: none; }
}
