body { font-family: system-ui, sans-serif; margin: 0; padding: 1rem; line-height: 1.5; }
.hauptnav { margin: 0 0 1.5rem; padding: 0 0 .6rem; border-bottom: 2px solid #222;
            display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.hauptnav a, .hauptnav strong { font-size: .95rem; }
.hauptnav a { color: #06c; }
.hauptnav strong { text-decoration: underline; }
h1 { font-size: 1.4rem; margin: 0 0 .6rem; }
h2 { font-size: 1.1rem; margin: 1.8rem 0 .4rem; }
p  { max-width: 46rem; margin: 0 0 .8rem; }
hr { margin: 2rem 0 .8rem; border: 0; border-top: 1px solid #ccc; }
.fuss { font-size: .8rem; color: #555; }

.erklaerung { max-width: 46rem; margin-top: 2.5rem; border-top: 1px solid #ccc; padding-top: .5rem; }
.erk dt { font-weight: bold; margin-top: .9rem; }
.erk dd { margin: .2rem 0 0; }
.quellen li, .grenzen li { margin-bottom: .5rem; }
.quellenhinweis { font-size: .8rem; color: #555; }
code { background: #eee; padding: 0 .2rem; }

.messreihe { border-collapse: collapse; margin: .8rem 0; font-variant-numeric: tabular-nums; }
.messreihe th, .messreihe td { border: 1px solid #ccc; padding: .3rem .5rem; text-align: right; font-size: .9rem; }
.messreihe th { background: #f0f0f0; font-weight: normal; }
.messreihe td:first-child, .messreihe th:first-child { text-align: left; }

/* Auf schmalen Geraeten wird aus jeder Zeile ein Block. Kein waagrechter
   Scrollbalken, keine abgeschnittene Spalte - die Beschriftung wandert
   aus dem Tabellenkopf vor den jeweiligen Wert. */
@media (max-width: 680px) {
  .messreihe thead { position: absolute; width: 1px; height: 1px;
                     overflow: hidden; clip-path: inset(50%); }
  .messreihe, .messreihe tbody, .messreihe tr, .messreihe td { display: block; width: auto; }
  .messreihe tr { border: 1px solid #ccc; margin-bottom: .7rem; }
  .messreihe td { border: 0; border-bottom: 1px solid #eee;
                  display: flex; justify-content: space-between; gap: 1rem;
                  text-align: right; }
  .messreihe td:last-child { border-bottom: 0; }
  .messreihe td::before { content: attr(data-spalte); color: #555; text-align: left; }
}
