/* Familienzirkel Bitsch – globale Barrierefreiheits-Verbesserungen.
   Rein additiv (keine bestehenden Regeln werden überschrieben), wird
   auf allen Seiten NACH nicepage.css / seiten-css eingebunden. */

/* Sichtbar nur für Screenreader (z. B. versteckte H1 pro Seite) */
.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* "Zum Inhalt springen"-Link für Tastaturnutzung */
.fz-skip-link {
  position: absolute;
  top: -48px;
  left: 8px;
  z-index: 1000;
  background: #ffffff;
  color: #222222;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}

.fz-skip-link:focus {
  top: 8px;
}

/* Sichtbarer Fokus-Indikator für alle interaktiven Elemente, die noch
   keinen eigenen definieren (Buttons, Links, Formularfelder). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #478ac9;
  outline-offset: 2px;
}

/* Reduzierte Bewegung: Animationen/Übergänge auf ein Minimum reduzieren,
   wenn der/die Nutzer:in dies auf Betriebssystemebene wünscht. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
