/* ==========================================================================
   RESET — Box-Sizing, Baseline
   ========================================================================== */

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

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

body,
h1, h2, h3, h4, p,
figure, blockquote,
dl, dd { margin: 0; }

ul[class],
ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

a { color: inherit; }

/* Das HTML-Attribut hidden muss stärker sein als jede Komponentenregel.
   Ohne diese Zeile bleibt ein .button trotz hidden sichtbar, weil
   display: inline-flex das voreingestellte display: none überschreibt. */
[hidden] { display: none !important; }

table {
  border-collapse: collapse;
  width: 100%;
}

/* Fokus nur bei Tastaturnutzung — Ring wird in base.css definiert */
:focus:not(:focus-visible) { outline: none; }

/* Nur für 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;
}
