/* Stylesheet fuer die Rechtstexte.
   Bewusst eigenstaendig: haengt NICHT am Neon-Theme der App, damit die Seiten
   auch dann lesbar sind, wenn der App-Build kaputt ist. Kein JavaScript,
   keine externen Schriften, keine externen Anfragen. */

:root {
  --grund: #0d0d16;
  --karte: #16162a;
  --linie: #2b2b45;
  --text: #e8e8f2;
  --leise: #a0a0b8;
  --akzent: #ffc93c;
  --warnung: #ff8a5c;
}

/* Wer helles Design eingestellt hat, bekommt helles Design. */
@media (prefers-color-scheme: light) {
  :root {
    --grund: #f7f7fb;
    --karte: #ffffff;
    --linie: #dcdce8;
    --text: #1a1a28;
    --leise: #5a5a72;
    --akzent: #b07d00;
    --warnung: #b33c00;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 1rem 4rem;
  background: var(--grund);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

.huelle {
  max-width: 46rem;
  margin: 0 auto;
}

header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--linie);
  margin-bottom: 2rem;
}

header .marke {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--akzent);
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.2rem;
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--linie);
}

h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
}

p, li { margin: 0.6rem 0; }

a { color: var(--akzent); }

.stand {
  color: var(--leise);
  font-size: 0.9rem;
  margin: 0;
}

/* Angaben, die noch fehlen - muss unuebersehbar sein, nicht dezent. */
.luecke {
  display: inline-block;
  background: var(--warnung);
  color: #14141f;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 0.25rem;
}

.kasten {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-left: 3px solid var(--akzent);
  border-radius: 0.4rem;
  padding: 0.9rem 1.1rem;
  margin: 1.5rem 0;
}

.kasten p:first-child { margin-top: 0; }
.kasten p:last-child { margin-bottom: 0; }

/* Breite Tabellen duerfen scrollen - die Seite selbst nie. */
.tabellenrahmen {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--linie);
  border-radius: 0.4rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: 0.94rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--linie);
}

th {
  background: var(--karte);
  font-weight: 600;
}

tr:last-child td { border-bottom: none; }

code {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 0.2rem;
  padding: 0.05rem 0.3rem;
  font-size: 0.9em;
}

footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--linie);
  color: var(--leise);
  font-size: 0.9rem;
}

footer a { margin-right: 1rem; }

@media (max-width: 30rem) {
  h1 { font-size: 1.45rem; }
  body { font-size: 0.97rem; }
}
