/* Design-Tokens Firmen-App Elektro Wutz
   Vorlage: design/vorlage-werkdepot.png
   Werte aus dem Screenshot geschätzt – hier zentral anpassen, nie im Modul-CSS. */

:root {
  /* Farben */
  --c-sidebar: #22211e;
  --c-sidebar-active: #3a3631;
  --c-sidebar-text: #ece8e1;
  --c-sidebar-muted: #a39d94;
  --c-sidebar-line: #4a4640;

  --c-bg: #f5f3ee;
  --c-surface: #ffffff;
  --c-surface-sunken: #f7f5f1;
  --c-border: #e5e0d8;

  --c-text: #1f1e1b;
  --c-text-muted: #6e6961;

  --c-accent: #b4441e;
  --c-accent-hover: #9c3a19;
  --c-accent-soft: #f8e5da;
  --c-on-accent: #ffffff;

  --c-success: #2f7a4f;
  --c-success-soft: #e2f1e7;
  --c-info: #3a5ea8;
  --c-info-soft: #e6ecf8;
  --c-warning: #a86a12;
  --c-warning-soft: #fbf0dc;
  --c-danger: #b3261e;
  --c-danger-soft: #fbe4e2;

  /* Schrift (lokal einbinden, siehe docs/pflichtenheft/06-design.md) */
  --font: "Ubuntu", "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-page-title: 48px;
  --fs-card-title: 28px;
  --fs-kpi: 44px;
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-label: 13px;
  --fw-light: 300;   /* Titel und Kennzahlen (06, 6.5) */
  --fw-regular: 400;
  --fw-medium: 500;

  /* Formen */
  --r-card: 16px;
  --r-control: 10px;
  --r-pill: 999px;
  --border: 1px solid var(--c-border);

  /* Abstände (8-px-Raster) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 28px;
  --s-7: 32px;
  --s-8: 48px;

  /* Maße */
  --sidebar-width: 280px;
  --sidebar-width-collapsed: 76px; /* eingeklappte Icon-Leiste am PC */
  --icon-tile: 40px;
  --control-height: 44px;
  --bottom-nav-height: 64px;
  --content-max: 1360px;

  /* Smartphone (06, 6.3) */
  --fs-page-title-mobile: 34px;
  --fs-card-title-mobile: 22px;
  --fs-kpi-mobile: 32px;

  /* Ebenen und Übergänge */
  --shadow-dialog: 0 12px 40px rgba(31, 30, 27, 0.18);
  --overlay: rgba(31, 30, 27, 0.45);
  --transition: 160ms ease;
}
