/* 01 Leiste: feste Infoleiste ganz oben. Drei Aussagen, keine Uhr.
   Handy: ruhiger Wechsel, immer eine Aussage. Ab 760 px alle drei nebeneinander. */
.s-leiste {
  background: var(--gruen-900);
  color: var(--papier);
  font-size: var(--t-klein);
  font-weight: 600;
  font-stretch: 94%;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.s-leiste__liste {
  display: grid;
  min-height: 38px;
  align-items: center;
  justify-items: center;
}
.s-leiste__punkt {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0;
  animation: s-leiste-wechsel 12s var(--kurve) infinite;
}
.s-leiste__punkt:nth-child(2) { animation-delay: 4s; }
.s-leiste__punkt:nth-child(3) { animation-delay: 8s; }
.s-leiste__icon { flex: none; color: var(--gold-400); }

@keyframes s-leiste-wechsel {
  0% { opacity: 0; transform: translateY(5px); }
  4%, 30% { opacity: 1; transform: none; }
  34%, 100% { opacity: 0; transform: translateY(-5px); }
}

/* Wer keine Bewegung möchte, sieht alle drei untereinander */
@media (prefers-reduced-motion: reduce) {
  .s-leiste__liste { gap: 4px; padding-block: 8px; }
  .s-leiste__punkt { grid-area: auto; opacity: 1; animation: none; }
}

@media (min-width: 760px) {
  .s-leiste__liste {
    display: flex;
    justify-content: center;
    gap: clamp(var(--a-5), 4vw, var(--a-7));
    min-height: 40px;
    padding-block: 0;
  }
  .s-leiste__punkt { opacity: 1; animation: none; }
  .s-leiste__punkt + .s-leiste__punkt { position: relative; }
  .s-leiste__punkt + .s-leiste__punkt::before {
    content: "";
    position: absolute;
    left: calc(clamp(var(--a-5), 4vw, var(--a-7)) / -2);
    top: 50%;
    width: 1px;
    height: 14px;
    translate: 0 -50%;
    background: color-mix(in srgb, var(--papier) 22%, transparent);
  }
}
