/* Die Farben der App: Limette als Flaeche, tiefes Oliv fuer Schrift. */
:root {
  --grund: #FCFDFB;
  --karte: #FFFFFF;
  --text: #14180E;
  --leise: #4B5340;
  --akzent: #3D6410;
  --signal: #D4FF47;
  --linie: #E4E9DC;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #12140F;
    --karte: #1B1E17;
    --text: #F2F5EC;
    --leise: #AFB7A4;
    --akzent: #B7E56A;
    --linie: #2C3126;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0 20px 80px;
  background: var(--grund);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
main { max-width: 44rem; margin: 0 auto; }
header { padding: 56px 0 8px; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 6px; letter-spacing: -0.02em; }
h2 { font-size: 1.25rem; margin: 40px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 1rem; margin: 26px 0 6px; }
p, li { color: var(--leise); }
p { margin: 0 0 14px; }
strong { color: var(--text); }
a { color: var(--akzent); }
.stand { color: var(--leise); font-size: 0.9rem; margin: 0; }
.hinweis {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-left: 4px solid var(--signal);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 24px 0;
}
.hinweis p:last-child { margin-bottom: 0; }
.luecke { border-left-color: #E08A2B; }
table { width: 100%; border-collapse: collapse; margin: 14px 0 24px; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--linie); vertical-align: top; }
th { color: var(--text); font-weight: 600; }
td { color: var(--leise); }

/* Drei Spalten passen auf ein Telefon nicht: Woerter wie "Rechtsgrundlage"
   lassen sich nicht umbrechen, und die Tabelle schoebe die Seite seitlich
   aus dem Bild. Unter 700 px wird daraus deshalb eine Liste — jede Zeile
   ein Block, jedes Feld mit seiner Ueberschrift davor. Das ist wichtiger
   als das Tabellenraster: Hier steht der Kern der Erklaerung. */
@media (max-width: 700px) {
  table, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tr {
    background: var(--karte);
    border: 1px solid var(--linie);
    border-radius: 14px;
    padding: 6px 14px 12px;
    margin-bottom: 14px;
  }
  td { border-bottom: 0; padding: 8px 0 0; }
  td::before {
    content: attr(data-titel);
    display: block;
    color: var(--text);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    margin-bottom: 2px;
  }
}
ul { padding-left: 1.2em; }
li { margin-bottom: 6px; }
footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--linie); font-size: 0.9rem; color: var(--leise); }
code { background: var(--karte); border: 1px solid var(--linie); border-radius: 6px; padding: 1px 5px; font-size: 0.9em; }
