/* Handy-Aufbau Fahrplan (Florian 16.11.: „nimm den Fahrplan“). Gilt nur unter 1100 px, der Desktop bleibt. */
.fahrplan {
  display: none;
}
@media (max-width: 1099px) {
  /* Grund aller drei Proben: die Welt über die ganze Höhe, keine Kapitel-Leiste über dem Bild */
  .laeuft .halter-bahn {
    display: none;
  }
  .laeuft .produkte {
    padding-top: 44px;
  }
  .laeuft .buehne {
    display: block;
  }
  .laeuft .fenster,
  .laeuft .start,
  .laeuft .blende {
    position: absolute;
    inset: 0;
  }
  .laeuft .brett {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: auto;
    border: 0;
    box-shadow: none;
  }
  .laeuft .weiter {
    display: none;
  }

  /* Text oben im Bild, ein weicher Papierschein nach unten, kein Kasten */
  .laeuft .brett {
    padding-bottom: 40px;
    background: linear-gradient(
      to bottom,
      rgba(251, 248, 241, 0.97) 0,
      rgba(251, 248, 241, 0.93) calc(100% - 48px),
      rgba(251, 248, 241, 0) 100%
    );
  }
  .laeuft .tafel {
    padding: 12px 16px 0;
  }
  .laeuft h2 {
    font-size: 22px;
    margin-bottom: 0.3em;
  }
  .laeuft .tafel p {
    font-size: 16px;
    line-height: 1.4;
  }

  /* Fahrplan unten: Linie, sechs Haltestellen, ein Käsestück fährt am Scroll */
  .laeuft .fahrplan {
    display: block;
    position: absolute;
    z-index: 6;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 6px 10px;
    background: var(--hell);
    border-top: 1px solid var(--kt-ink);
    visibility: hidden;
    opacity: 0;
  }
  .fp-kopf {
    display: flex;
    justify-content: space-between;
    margin: 0 8px 2px;
    font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mut);
  }
  .fp-kap {
    color: var(--kt-ink);
    font-weight: 700;
  }
  .fp-bahn {
    position: relative;
    height: 58px;
  }
  .fp-linie {
    position: absolute;
    left: calc(100% / 12);
    right: calc(100% / 12);
    top: 21px;
    height: 3px;
    background: rgba(29, 28, 25, 0.2);
  }
  .fp-linie i {
    position: absolute;
    inset: 0;
    background: var(--gelb);
    transform-origin: 0 50%;
    transform: scaleX(0);
  }
  .fp-halte {
    position: absolute;
    inset: 0;
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .fp-halte li {
    flex: 1 1 0;
    min-width: 0;
  }
  .fp-halte a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 58px;
    padding-top: 16px;
    color: var(--mut);
    text-decoration: none;
  }
  .fp-pkt {
    width: 13px;
    height: 13px;
    border: 2px solid var(--kt-ink);
    border-radius: 50%;
    background: var(--hell);
  }
  .fp-halte a.war .fp-pkt {
    background: var(--kt-ink);
  }
  .fp-halte a.jetzt .fp-pkt {
    background: var(--gelb);
  }
  .fp-wort {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }
  @media (max-width: 359px) {
    .fp-wort {
      font-size: 9.5px;
      letter-spacing: -0.02em;
    }
  }
  .fp-halte a.jetzt .fp-wort,
  .fp-halte a.war .fp-wort {
    color: var(--kt-ink);
  }
  .fp-halte a:focus-visible {
    outline: 2px solid var(--kt-ink);
    outline-offset: -2px;
  }
  .fp-wagen {
    position: absolute;
    top: 4px;
    left: 0;
    width: 32px;
    height: 32px;
    margin-left: -16px;
    pointer-events: none;
  }
  .fp-wagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid var(--kt-ink);
    border-radius: 50%;
    background: var(--hell);
    box-shadow: 0 2px 0 rgba(29, 28, 25, 0.25);
  }
}
