/*
 * Basis-Layer: Zugaenglichkeit und Lesbarkeit, keine Gestaltung.
 * Alles hier ist entweder eine A11y-Anforderung oder ein neutraler Standard.
 */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--farbe-hintergrund);
  color: var(--farbe-text);
  font-family: var(--schrift-text);
  line-height: var(--zeilenhoehe);
}

main, header, footer { max-width: var(--mass-inhalt); margin-inline: auto; padding: 1rem; }

h1, h2, h3 { font-family: var(--schrift-titel); line-height: 1.2; }

img { max-width: 100%; height: auto; }

/* Sichtbarer Fokus. Nie auf outline: none setzen. */
:focus-visible {
  outline: var(--fokus-breite) solid var(--fokus-farbe);
  outline-offset: var(--fokus-abstand);
}

/* Skip-Link: aus dem Blick, aber bei Tastaturfokus sofort da. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--farbe-hintergrund);
  color: var(--farbe-text);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; }

address { font-style: normal; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
