/* Erzeugt vom Build aus app.config.json. Kontraste geprueft (werkzeug/kontrast.mjs). */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/schriften/eigen-archivo.woff2') format('woff2'); }
@media (prefers-color-scheme: dark) {
  :root[data-app="kunden"], :root[data-app="verwaltung"] {
    color-scheme: dark;
    --grund: #161718;
    --text: #f4f2ee;
    --akzent: #75858f;
    --flaeche: #262627;
    --akzent-text: #1a1a1a;
    --leise: #a6a5a3;
    --rand: #7a7a78;
    --rand-leise: #313132;
    --akzent-hell: #212426;
    --hinweis: #423613;
    --gefahr: #c96159;
  }
}
:root {
  color-scheme: light;
  --grund: #f4f2ee;
  --text: #1f2124;
  --akzent: #2f4858;
  --flaeche: #faf9f6;
  --akzent-text: #ffffff;
  --leise: #6a6a6b;
  --rand: #8b8b8a;
  --rand-leise: #dad9d6;
  --akzent-hell: #dcdedc;
  --hinweis: #f3e6be;
  --gefahr: #b42318;
  --schrift-text: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --schrift-titel: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --titel-gewicht: 600;
}
:root { --raster: 24px; --raster-linie: color-mix(in srgb, var(--text) 8%, transparent); }
html > body { background-image: repeating-linear-gradient(to right, var(--raster-linie) 0 1px, transparent 1px var(--raster)), repeating-linear-gradient(to bottom, var(--raster-linie) 0 1px, transparent 1px var(--raster)); background-attachment: fixed; }

/* Design aus der Verwaltung (functions/_lib/design.js), Kontraste geprueft */
:root {
  --grund: #f4f2ee;
  --text: #1f2124;
  --akzent: #8c600f;
  --flaeche: #faf9f6;
  --akzent-text: #ffffff;
  --leise: #6a6a6b;
  --rand: #8b8b8a;
  --rand-leise: #dad9d6;
  --akzent-hell: #e8e0d3;
  --hinweis: #f3e6be;
  --gefahr: #b42318;
  --knopf-text: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root[data-app="kunden"], :root[data-app="verwaltung"] {
    color-scheme: dark;
    --grund: #1b1914;
    --text: #f4f2ee;
    --akzent: #a17c3a;
    --flaeche: #2a2823;
    --akzent-text: #1a1a1a;
    --leise: #a8a6a2;
    --rand: #7d7b76;
    --rand-leise: #35332e;
    --akzent-hell: #2b2519;
    --hinweis: #463810;
    --gefahr: #ca635b;
    --knopf-text: #1a1a1a;
  }
}
