/* Sichtbarer Tastaturfokus – global */
:focus-visible {
  outline: 2px solid #0a66ff;
  outline-offset: 2px;
}

/* Mausfokus nicht doppelt zeigen (Fallback) */
:focus:not(:focus-visible) {
  outline: none;
}

/* Screenreader-only Utility */
.u-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Skip-Link sichtbar machen, wenn fokussiert */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus-visible {
  left: 1rem; top: 1rem; width: auto; height: auto;
  z-index: 9999; background: #000; color: #fff;
  padding: .5rem .75rem; border-radius: .5rem;
}

/* Bewegungen respektieren (global) */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Tap-Targets – optionales Helferlein für kleine Icons/Links */
.u-min-tap {
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}