/*
  Re Um Brain — Design Tokens
  Basis: 03_Bauzeitenplaner/DESIGN_HANDOVER.md (Zielrichtung: zwischen Linear und Notion,
  hell/freundlich/übersichtlich/sleek) + bestehende Marken-Identität aus 01/03
  (Akzent #FFCE0B, Navbar/Ink #2D2D2D) — wird weiterentwickelt, nicht ersetzt.
  Gilt für ALLE Module ab dem ersten Screen, keine Insel-Optik je Herkunfts-Suite.
*/

@font-face {
  font-family: "GT Flexa";
  src: url("/static/fonts/GT-Flexa-Standard-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT Flexa";
  src: url("/static/fonts/GT-Flexa-Standard-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT Flexa";
  src: url("/static/fonts/GT-Flexa-Standard-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Condensed/Compressed-Schnitte (2026-09-06, Test-Fonts vom Nutzer bereitgestellt) —
   NUR Trial-Lizenz ("-Trial"-Dateien), NICHT produktiv verwenden, bis eine echte
   Lizenz vorliegt. Für schmale, datendichte UI-Stellen (Tabellenköpfe, Gantt-
   Zeitachse, große Zahlen) statt für Fließtext — die Standard-Schnitte oben
   bleiben für Lesetext gesetzt. */
@font-face {
  font-family: "GT Flexa Condensed";
  src: url("/static/fonts/GT-Flexa-Condensed-Thin-Trial.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT Flexa Condensed";
  src: url("/static/fonts/GT-Flexa-Condensed-Light-Trial.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT Flexa Condensed";
  src: url("/static/fonts/GT-Flexa-Condensed-Lazer-Trial.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT Flexa Compressed";
  src: url("/static/fonts/GT-Flexa-Compressed-Thin-Trial.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT Flexa Compressed";
  src: url("/static/fonts/GT-Flexa-Compressed-Light-Trial.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT Flexa Compressed";
  src: url("/static/fonts/GT-Flexa-Compressed-Lazer-Trial.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marke — unverändert aus 01/03 übernommen */
  --c-ink: #2D2D2D;
  --c-accent: #FFCE0B;

  /* Neutrale Skala — auf Basis der bestehenden Graustufen (#555/#888/#BBB/#E8E8E8/#F5F5F5/#FAFAFA),
     erweitert um Oberflächen/Hintergrund für ein helleres, luftigeres Layout als die Bestandssuiten. */
  --c-bg: #FAFAFA;
  --c-surface: #FFFFFF;
  --c-surface-sunken: #F5F5F5;
  --c-border: #E8E8E8;
  --c-border-strong: #D8D8D8;

  --c-text: var(--c-ink);
  --c-text-secondary: #555555;
  --c-text-tertiary: #888888;
  --c-text-disabled: #BBBBBB;

  --c-accent-hover: #F2C400;
  --c-accent-soft: #FFF8DE;
  --c-accent-ink: #2D2D2D; /* Text auf Akzentfläche — Amber ist hell, dunkler Text bleibt lesbar */

  /* Status — unverändert aus Bestandssuiten übernommen (Wiedererkennung für Bauleiter) */
  --c-warn-bg: #FFF3CD;
  --c-warn-border: #E6C84A;
  --c-crit-bg: #FDEAEA;
  --c-crit-border: #D9534F;
  --c-ok-bg: #EAF5EA;
  --c-ok-border: #4CAF50;

  /* Vertraulichkeit (neu, Re Um Brain) — dezent, kein Alarm-Rot für einen reinen Sichtbarkeitshinweis */
  --c-gfonly-bg: #F1EAFB;
  --c-gfonly-border: #9B7FD1;

  /* Typografie */
  --font-family: "GT Flexa", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-family-condensed: "GT Flexa Condensed", var(--font-family);
  --font-family-compressed: "GT Flexa Compressed", var(--font-family);
  --text-xs: 0.75rem;    /* 12px — Meta/Zeitstempel */
  --text-sm: 0.8125rem;  /* 13px — sekundärer Text, Tabellen-Kopf */
  --text-base: 0.875rem; /* 14px — Standard-UI-Text (bewusst größer als die 9-10pt der Bestandssuiten) */
  --text-md: 1rem;       /* 16px — Karten-/Abschnittstitel */
  --text-lg: 1.25rem;    /* 20px — Seitentitel */
  --text-xl: 1.5rem;     /* 24px — Bereichstitel */
  --text-2xl: 2rem;      /* 32px — Dashboard-Kennzahlen */

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500; /* höchster verfügbarer Schnitt — kein Bold vorhanden */

  --line-height-tight: 1.25;
  --line-height-base: 1.5;

  /* Abstände — 4px-Grundraster, mehr Weißraum als in den Bestandssuiten (dort 9-10pt/30px dicht) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  /* Radius — großzügiger als die Bestandssuiten (dort meist scharfkantig) */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* Schatten statt harter Rahmen — Linear/Notion-Richtung laut DESIGN_HANDOVER.md */
  --shadow-sm: 0 1px 2px rgba(45, 45, 45, 0.04);
  --shadow-md: 0 2px 8px rgba(45, 45, 45, 0.06);
  --shadow-lg: 0 8px 24px rgba(45, 45, 45, 0.10);

  --transition-fast: 120ms ease;
  --transition-base: 200ms ease;
}
