:root {
  color-scheme: light dark;
  --grund: #f4f3ef; --blatt: #ffffff; --text: #1f2020; --leise: #5c5f5a; --linie: #e2e0d9;
  --akzent: #9a5200; --akzent-flaeche: #fbefdc; --entwurf-text: #7a4a00;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #0b0c0b; --blatt: #1c1c1e; --text: #f2f2f2; --leise: #b9bbb6; --linie: #2e2f31;
    --akzent: #ffb340; --akzent-flaeche: #3a2a10; --entwurf-text: #ffd59a;
  }
}
* { box-sizing: border-box; }
/* Web: 17 px Grundschrift. App: Schrift von iOS, wächst mit der Schriftgröße der Bedienungshilfen (alle Größen in rem). */
html { font-size: 17px; }
html.app { font: -apple-system-body; }
body { margin: 0; background: var(--grund); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem; line-height: 1.6; -webkit-text-size-adjust: 100%; }
a { color: var(--akzent); text-underline-offset: .18em; overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid var(--akzent); outline-offset: 4px; border-radius: 4px; }
header { max-width: 760px; margin: 0 auto; padding: 28px 24px 8px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.marke { display: flex; gap: 12px; align-items: center; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.12rem; line-height: 1.2; }
.marke img { border-radius: 11px; box-shadow: 0 0 0 1px var(--linie); }
.marke small { display: block; font-weight: 400; font-size: .78rem; color: var(--leise); }
nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 22px; font-size: .9rem; text-decoration: none; color: var(--text); }
nav a[aria-current="page"] { background: var(--akzent-flaeche); color: var(--akzent); font-weight: 600; }
/* Lange Wörter („Datenschutzbeauftragter“) bei großer Schrift trennen statt rechts abschneiden */
article { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
/* Adressen nie mit Bindestrich trennen (sonst „leonwor-k07@…“), nur umbrechen */
article a { -webkit-hyphens: none; hyphens: none; overflow-wrap: anywhere; }
main { max-width: 760px; margin: 8px auto 24px; padding: 36px 44px 44px; background: var(--blatt); border: 1px solid var(--linie); border-radius: 22px; }
h1 { font-size: 2rem; line-height: 1.15; letter-spacing: -.02em; margin: 14px 0 20px; text-wrap: balance; }
h2 { font-size: 1.25rem; line-height: 1.25; margin: 36px 0 10px; text-wrap: balance; }
h3 { font-size: 1.05rem; margin: 26px 0 8px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 1.2em; }
li { margin: 6px 0; }
li::marker { color: var(--akzent); }
.entwurf { display: inline-block; margin: 0; padding: 3px 10px; border-radius: 6px; background: var(--akzent-flaeche); color: var(--entwurf-text); font-size: .72rem; font-weight: 600; }
footer { max-width: 760px; margin: 0 auto 32px; padding: 0 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--leise); font-size: .78rem; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
.springen { position: absolute; top: -100px; }
.springen:focus { top: 8px; left: 10px; padding: 10px; background: var(--blatt); z-index: 1; }
/* In der App: eigenes Blatt mit Titel, darum ohne Kopf und Fuß, randlos auf dem Grund des Blatts */
.app header, .app footer { display: none; }
.app { background: transparent; }
.app main { margin: 0; padding: 4px 20px 32px; border: 0; border-radius: 0; }
.app h1 { display: none; }
.app .entwurf { margin-bottom: 1rem; }
@media (max-width: 600px) {
  header { padding: 20px 16px 6px; }
  nav { width: 100%; }
  nav a { padding-inline: 11px; }
  main { margin: 6px 0 20px; padding: 24px 16px 32px; border-radius: 0; border-inline: 0; }
  h1 { font-size: 1.7rem; }
  footer { padding-inline: 16px; }
}
@media print { body { background: white; color: black; } header, footer, .springen, .entwurf { display: none; } main { border: 0; padding: 0; } }
