/* Gemeinsamer Reset fuer alle Sites. Bewusst meinungsfrei -
   das Design kommt komplett aus assets/css/style.css der jeweiligen Site. */

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

* { margin: 0; }

/* <dialog> zentriert sich ueber margin:auto. Der Reset oben wuerde das
   aushebeln und die Modalbox oben links festkleben. */
dialog { margin: auto; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; }

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: inherit; font-size: inherit; }

ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; }

:target { scroll-margin-top: var(--header-height, 5rem); }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Nur fuer Screenreader */
.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;
}

/* Skip-Link */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: #000;
  color: #fff;
}
.skip-link:focus { left: 1rem; top: 1rem; }
