/* Barrierefreiheit (WCAG 2.1 AA): Skiplink, Fokus, Bedienelemente */

.skiplink {
  position: absolute;
  left: 1em;
  top: -10em;
  z-index: 100;
  padding: 0.75em 1.25em;
  background: #ffffff;
  color: #1f3a78;
  font-weight: 700;
  font-size: 1.25em;
  text-decoration: underline;
}
.skiplink:focus {
  top: 1em;
}

/* Sichtbarer Fokus auf hellem und farbigem Grund (zweifarbig) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #1a1a1a;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #ffffff;
}

/* Menue-Knopf (mobil) */
button.mobileopener {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* Teamslider: Animation anhalten (WCAG 2.2.2) */
.boxcontent {
  position: relative;
}
.teamslider-steuerung {
  position: absolute;
  right: 0.5em;
  bottom: 0.5em;
  z-index: 5;
  margin: 0;
}
.teamslider-pause {
  background: #ffffff;
  border: 1px solid #1f3a78;
  color: #1f3a78;
  font: inherit;
  font-size: 0.9375em;
  padding: 0.25em 0.75em;
  cursor: pointer;
}

/* Teamnamen links oeffnen das Bild in der Lightbox (Tastatur) */
.teamname-oeffner:focus-visible {
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
