/* ==========================================================================
   reset.css — minimale, moderne Normalisierung
   Kein Framework. Nur das, was wirklich gebraucht wird.
   ========================================================================== */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote,
dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}

ol, ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  /* Überschriften nie trennen (Typografie-Regel) */
  hyphens: none;
}

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

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

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

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

address {
  font-style: normal;
}

/* Das native hidden-Attribut darf nicht von Komponenten-Displays überstimmt werden. */
[hidden] {
  display: none !important;
}

/* Sichtbarer, konsistenter Fokus für Tastaturbedienung */
:focus-visible {
  outline: 2px solid var(--focus, #c8ff2f);
  outline-offset: 3px;
  border-radius: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Nur für Screenreader */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  z-index: 200;
  top: 0;
  left: 50%;
  padding: 0.75rem 1.25rem;
  background: var(--lime);
  color: var(--ink-900);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translate(-50%, -120%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}
