/* base.css */

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

body, h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, figcaption,
blockquote, dl, dd {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   GENERISCHE INHALTS-TYPOGRAFIE
   (gilt für nackte HTML-Elemente ohne Klasse)
============================================ */
h1 {
  font-size: 2rem;
  line-height: 2.0;
  margin-bottom: 10px;
  text-align: center;
}
h2 { font-size: 1.9rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.7rem; }
h5 { font-size: 1.6rem; }
h6 { font-size: 1.6rem; }

h2, h3, h4, h5, h6 {
  line-height: 1.8;
  margin-bottom: 10px;
}

p, ul, ol, li {
  font-size: 1.1rem;  
  line-height: 1.4;
  margin-bottom: 10px;
}

ul {
  margin-left: 40px;
}

/* IDs - einzigartig auf einer Seite; zuweisung mit id="[selektor]" */
#content {
    margin-left: auto; /* Zentriert, wenn mehr Platz vorhanden ist */
    margin-right: auto; /* Zentriert, wenn mehr Platz vorhanden ist */
    position: relative;
    max-width: 1200px; /* Maximale Breite */
    width: 100%; /* Passt sich kleineren Bildschirmbreiten an */
    padding: 0 10px; /* Optionales Padding für kleinere Abstände */
}
#header, #footer {
    padding:5px;
    text-align: center;
}
/* IDs-Stile */

/* Hinweis für Nutzer ohne JS */
.no-js-warning {
    display: block;
    color: red;
    font-weight: bold;
    background-color: #ffcccc;
    padding: 10px;
    text-align: center;
}

/* Hinweis ausblenden, wenn JS aktiv ist */
body.js-active .no-js-warning {
    display: none;
}