:root {
  color-scheme: light dark;
  --grund: #f8fafc;
  --flaeche: #ffffff;
  --text: #0f172a;
  --leise: #475569;
  --linie: #e2e8f0;
  --akzent: #047857;
  --akzent2: #0e7490;
  --hinweis: #ecfdf5;
  --hinweis-rand: #a7f3d0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund: #0b1220;
    --flaeche: #111a2b;
    --text: #e2e8f0;
    --leise: #94a3b8;
    --linie: #1f2a3d;
    --akzent: #34d399;
    --akzent2: #22d3ee;
    --hinweis: #0c2a24;
    --hinweis-rand: #14532d;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}
.breite { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }

.kopf { background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.kopf .breite { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.6rem; }
.marke { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.marke img { width: 32px; height: 32px; border-radius: 8px; }
.sprache { font-size: .95rem; font-weight: 600; padding: .35rem .7rem; border: 1px solid var(--linie); border-radius: 999px; text-decoration: none; }

main { padding-top: 1.6rem; padding-bottom: 3rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: .4rem 0 1rem; letter-spacing: -.01em; }
h2 { font-size: 1.35rem; line-height: 1.3; margin: 2.4rem 0 .7rem; scroll-margin-top: 1rem; }
h3 { font-size: 1.1rem; line-height: 1.35; margin: 1.7rem 0 .5rem; scroll-margin-top: 1rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; }
li { margin: .3rem 0; }
strong { font-weight: 650; }
a { color: var(--akzent); text-underline-offset: 2px; }
a:hover { color: var(--akzent2); }
a:focus-visible { outline: 3px solid var(--akzent2); outline-offset: 2px; border-radius: 3px; }
code {
  font: .88em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--linie);
  padding: .05em .35em;
  border-radius: 4px;
  overflow-wrap: anywhere;
}

.tabelle { overflow-x: auto; margin: 0 0 1.3rem; border: 1px solid var(--linie); border-radius: 12px; background: var(--flaeche); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .6rem .8rem; border-bottom: 1px solid var(--linie); }
th { font-weight: 650; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { min-width: 11rem; }

.inhalt { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; padding: 1rem 1.25rem .6rem; margin: 1.4rem 0 1.8rem; }
.inhalt h2 { font-size: 1rem; margin: 0 0 .4rem; }
.inhalt ul { padding-left: 1.1rem; }
.inhalt li { margin: .15rem 0; }

.hinweis { background: var(--hinweis); border: 1px solid var(--hinweis-rand); border-radius: 12px; padding: .8rem 1rem; }

.start main { padding-top: 2.2rem; }
.held { text-align: center; padding: 1.5rem 0 .5rem; }
.held img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 30px rgba(4, 47, 46, .25); }
.held h1 { font-size: 2.6rem; margin: 1rem 0 .4rem; }
.unterzeile { text-align: center; font-size: 1.2rem; color: var(--leise); max-width: 34rem; margin: 0 auto 1.4rem; }
.start .hinweis { text-align: center; font-weight: 650; max-width: 34rem; margin: 0 auto 2rem; }

.fuss { background: var(--flaeche); border-top: 1px solid var(--linie); color: var(--leise); font-size: .95rem; }
.fuss .breite { padding-top: 1.3rem; padding-bottom: 1.7rem; }
.fuss nav { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; margin-bottom: .8rem; }
.fuss a[aria-current="page"] { color: var(--text); font-weight: 650; text-decoration: none; }
.fuss p { margin: 0; }

.springen { position: absolute; left: -9999px; top: 0; }
.springen:focus { left: 1rem; top: .6rem; z-index: 10; background: var(--flaeche); color: var(--text); padding: .45rem .8rem; border-radius: 8px; border: 1px solid var(--linie); }

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.22rem; }
  .held h1 { font-size: 2.2rem; }
  .breite { padding: 0 1rem; }
  td:first-child { min-width: 9rem; }
}

@media print {
  .kopf, .fuss, .springen, .inhalt { display: none; }
  body { background: #ffffff; color: #000000; }
}
