/* ---------- Fußband ----------
   gleich wie .fussband in verwaltung/fussband.css, HTML wie seitenfuss_html() in privat/lib/basis.php */
.fussband {
  margin-top: 24px;
  background: var(--teal-tief);
  color: var(--weiss);
}
.fussband-innen {
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 24px 32px;
  display: grid;
  /* Marke links mit Platz für ihre längste Zeile, Knöpfe rechts; reicht die Breite nicht, rücken Knöpfe in die
     nächste Reihe statt die Marke zu quetschen. */
  grid-template-columns: minmax(min-content, 1fr) minmax(0, max-content);
  align-items: center;
  gap: 24px;
}
.fussband-marke {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fussband-marke img {
  flex: none;
  display: block;
}
.fussband-marke b {
  display: block;
  font-size: 20px;
  line-height: 1.3;
  color: var(--weiss);
}
.fussband-marke span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
/* Alle Knöpfe gleich breit: --fuss-knopf passt für den längsten Text („Barrierefreiheit“, gemessen bei 14 px).
   Breit eine Reihe neben der Marke (mit und ohne Knopf einer Erweiterung), sonst so viele je Reihe wie passen. */
.fussband nav {
  --fuss-knopf: 12.5em;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.fussband nav a {
  flex: 0 0 var(--fuss-knopf);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--weiss);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.fussband nav a svg {
  flex: none;
  color: var(--gold);
}
.fussband nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--weiss);
}
.fussband nav a[aria-current="page"] {
  border-color: var(--weiss);
  font-weight: 700;
}
.fussband a:focus-visible {
  outline-color: var(--weiss);
}
.fussband-klein,
.fussband-firma {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
}
.fussband-klein {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
}
.fussband-firma {
  color: rgba(255, 255, 255, 0.6);
}
/* Bleibt als Einheit zusammen, bricht aber bei größeren Textabständen um (BF-02, 1.4.12). */
.fussband-name {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
}
@media (max-width: 760px) {
  .fussband-innen {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 32px 16px 28px;
    gap: 20px;
  }
  .fussband-marke {
    flex-direction: column;
    gap: 8px;
  }
  /* Zwei gleich breite Knöpfe je Reihe; ein letzter ungerader steht mittig darunter, gleich breit. */
  .fussband nav {
    justify-content: center;
    width: 100%;
    max-width: 360px;
  }
  .fussband nav a {
    flex-basis: calc(50% - 4px);
  }
  .fussband-klein,
  .fussband-firma {
    max-width: 340px;
    text-wrap: balance;
  }
}
/* Breit (ab 1200 px) alle Knöpfe in einer Reihe. Ohne nowrap rechnet Firefox die Breite der umbrechenden
   Reihe zu knapp und bricht schon bei 1440 px um. */
@media (min-width: 1200px) {
  .fussband nav {
    flex-wrap: nowrap;
  }
}
/* Mittelbreit (Tablet): Spruch einzeilig neben dem Logo, Knöpfe in zwei gleich breiten Spalten daneben. */
@media (min-width: 761px) and (max-width: 1199px) {
  .fussband-marke span {
    white-space: nowrap;
  }
  .fussband nav {
    max-width: calc(2 * var(--fuss-knopf) + 8px);
  }
}
/* Sehr schmale Handys (320 px): ein Knopf je Reihe, alle gleich breit. */
@media (max-width: 374px) {
  .fussband nav a {
    flex-basis: 100%;
  }
}

.titel {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--anthrazit);
}
.zwischentitel {
  font-size: 24px;
  font-weight: 700;
  color: var(--teal);
}
.kartentitel {
  font-size: 19px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.25;
}
.gedaempft {
  color: var(--warmgrau-text);
}
.klein {
  font-size: 14px;
}

.einblenden {
  animation: einblenden 400ms var(--bewegung) both;
}
@keyframes einblenden {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
