/* KNIFF · Dark Mode für Textseiten, Rechtliches und Foto-Seiten (seit 12.11.2026).
   Folgt der Einstellung am Gerät (prefers-color-scheme), warmes Dunkelbraun statt Schwarz, wie die Startseite (src/landing-sections.jsx).
   Eingebunden von tools/seiten.js (Textseiten) und tools/fuss.js (handgeschriebene Seiten), jeweils als letzte Stilvorlage im <head>.
   Fotos und das amtliche EU-Gewährleistungslabel bleiben unverändert; Zeichnungen stehen auf heller Bühne. */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --papier: #161412; --faser: #211E1B; --sand: #2A2622; --karte: #211E1B; --linie: #3A3530; --tusche: #F3EFE8;
    --grau: #B5ADA3; --hell: #A39C93; --lovr: #C9A27E; --lovr-2: #B8916D; --buehne: #EDE8E0; }
  html, body { background: var(--papier); }
  .kopf, .navbar { background: rgba(22,20,18,.86) !important; }
  .btn, .wr-knopf { color: var(--papier) !important; }
  .wr-knopf:hover { background: #DDD6CC; }
  .kasten { background: var(--faser); color: var(--tusche); }
  .kasten p { color: var(--grau) !important; }
  .kasten .kasten-titel { color: var(--tusche) !important; }
  .kasten .btn { background: var(--tusche); color: var(--papier) !important; }
  .karte { background: var(--faser); }
  input[type=text], input[type=email], input[type=tel], input[type=number], textarea, select, .datei { background: var(--faser); color: var(--tusche); }
  .zeichnung { background: var(--buehne); }
  .wr { background: var(--faser) !important; }
  .wr input, .wr textarea { background: var(--papier); }
  .wr [data-meldung] { color: #E79A8B !important; }
  .fehler { color: #E79A8B !important; }
  .fuss { color: var(--hell); }
  .fuss .fuss-logo { color: var(--tusche); }
  .fuss a { color: var(--grau); }
  .fuss a:hover { color: var(--tusche); }
  .fuss .fuss-recht a, .fuss-ort { color: var(--hell); }
}
