
/* Basis-CSS: Normalize + Reset + moderne Defaults */

/* 1. Box-sizing für alle Elemente */

/* 2. Entfernt Standard-Margins */
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
}

/* 3. Grundlayout für Body */
body {
  min-height: 100vh;
  font-family: system-ui, sans-serif;
  background-color: #fff;
  color: #111;
}

/* 4. Typografie vereinheitlichen */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

/* 5. Bilder responsiv */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 6. Listen-Stile entfernen */
ul, ol {
  padding: 0;
  list-style: none;
}

/* 7. Formularelemente */
input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
}

button {
  cursor: pointer;
}

/* 8. Links */
a {
  color: inherit;
  text-decoration: none;
}

/* 9. Tabellen */
table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  padding: 0.5rem;
  text-align: left;
}

/* 10. Weitere sinnvolle Defaults */
hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 2rem 0;
}

/* 11. Media Queries für Schriftgrößen */
html {
  font-size: 100%; /* entspricht 16px */
}

@media (max-width: 479px) {
  html {
    font-size: 90%; /* ≈ 14.4px */
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  html {
    font-size: 95%; /* ≈ 15.2px */
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  html {
    font-size: 100%; /* 16px */
  }
}
