/* Fahrplan: eine lange Liste mit Stand-Marken.
   Baut auf altiko.css auf, ergaenzt nur, was die Startseite dafuer hatte. */
.fahrplan { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding: 30px 24px 80px; }

.zurueck { color: var(--leise); text-decoration: none; font-size: 13.5px; }
.zurueck:hover { color: var(--text); }

/* Steht neben der Ueberschrift und laeuft mit dem Text um - auf schmalen
   Anzeigen faellt er weg, dort zaehlt jede Zeile. */
.fahrplan-bot {
  float: right; width: 118px; height: auto; margin: 0 0 14px 26px;
  filter: drop-shadow(0 0 20px rgba(255, 61, 139, .28))
          drop-shadow(0 0 40px rgba(123, 92, 255, .32));
}
@media (max-width: 640px) { .fahrplan-bot { display: none; } }

.fahrplan h1 {
  font-family: var(--display); font-size: clamp(28px, 4vw, 36px); font-weight: 700;
  letter-spacing: -.04em; margin: 18px 0 8px;
}
.fahrplan .vorspann { font-size: 16.5px; color: var(--leise); max-width: 62ch; margin: 0 0 6px; line-height: 1.6; }
.fahrplan .stand { color: var(--leiser); font-size: 13.5px; margin: 0 0 34px; }

.gruppe { margin: 0 0 40px; }
.gruppe-kopf { display: flex; align-items: baseline; gap: 12px; margin: 0 0 4px; }
.gruppe h2 {
  font-family: var(--display); font-size: 21px; font-weight: 700;
  letter-spacing: -.03em; margin: 0;
}
.gruppe-vor { font-size: 15px; color: var(--leise); margin: 0 0 14px; max-width: 62ch; line-height: 1.6; }

/* Eine Zeile je Sache: Name links, Erklaerung daneben, Stand rechts */
.zeile {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--rand);
}
.zeile:last-child { border-bottom: 1px solid var(--rand); }
.zeile-name { font-weight: 600; font-size: 15px; flex: 0 0 190px; }
.zeile-was { font-size: 14.5px; color: var(--leise); flex: 1; line-height: 1.6; min-width: 0; }
.zeile-was b { color: var(--text-2); font-weight: 600; }

.marke {
  font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 99px;
  white-space: nowrap; flex-shrink: 0;
}
.m-laeuft  { background: rgba(163, 230, 53, .15); color: #B8ED5F; }
.m-arbeit  { background: rgba(255, 138, 61, .15); color: #FFA870; }
.m-geplant { background: rgba(255, 255, 255, .06); color: var(--leiser); }

/* Grenzen der Plattformen - bewusst anders gesetzt als der Rest:
   Das ist kein Fahrplan, sondern was sich nicht bauen laesst. */
.grenzen {
  border: 1px solid var(--rand); border-radius: 16px;
  background: rgba(255, 255, 255, .02);
  padding: 22px 24px; margin: 0 0 40px;
}
.grenzen h2 {
  font-family: var(--display); font-size: 19px; font-weight: 700;
  letter-spacing: -.03em; margin: 0 0 6px;
}
.grenzen p { font-size: 14.5px; color: var(--leise); line-height: 1.65; margin: 0 0 14px; max-width: 62ch; }
.grenzen ul { margin: 0; padding-left: 20px; }
.grenzen li { font-size: 14.5px; color: var(--leise); line-height: 1.65; margin-bottom: 9px; }
.grenzen li b { color: var(--text-2); font-weight: 600; }

.fahrplan-fuss {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--rand);
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: 13.5px;
}
.fahrplan-fuss a { color: var(--leise); text-decoration: none; }
.fahrplan-fuss a:hover { color: var(--text); }
.fahrplan-fuss span { color: var(--leiser); margin-left: auto; }

@media (max-width: 720px) {
  .zeile { flex-wrap: wrap; gap: 8px; }
  .zeile-name { flex-basis: 100%; }
  .zeile-was { flex-basis: 100%; order: 3; }
}
