/* ===================================================================
   RESET.CSS – Browser-Reset & Grundbereinigung
   Saubere Basis für alle Layout- und Komponenten-Dateien
   =================================================================== */

/* Universal-Box-Model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Entfernt Standard-Margins */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* Medien-Elemente → responsiv */
img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Links ohne Unterstreichung (Design übernimmt spätere Dateien) */
a {
  text-decoration: none;
  color: inherit;
}

/* Removes default button styles (wird von dir ohnehin überschrieben) */
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Typografie – Reset von Browser-Defaults */
h1, h2, h3, h4, h5, h6,
p, ul, ol {
  margin: 0;
  padding: 0;
}

/* Fokus sichtbarer (Zugänglichkeit) */
:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Formelemente Angleichen */
input, textarea, select {
  font: inherit;
  color: inherit;
}

/* Tabellen (falls später genutzt) */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
