/* GAAS – Design-Tokens. Einzige Quelle für Farben, Schriften, Maße.
   Seiten und Komponenten verwenden nur diese Variablen. Logo noch Entwurf (siehe marke/). */

@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url(../fonts/jost/jost-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-display: swap; src: url(../fonts/jost/jost-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 700; font-display: swap; src: url(../fonts/jost/jost-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-3/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/source-sans-3/source-sans-3-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(../fonts/source-sans-3/source-sans-3-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url(../fonts/source-sans-3/source-sans-3-latin-700-normal.woff2) format("woff2"); }

:root {
  /* Farben */
  --nacht: #0E2132;        /* @rolle Grundton, Schrift, dunkle Flächen */
  --nacht-2: #15304A;      /* @rolle Flächen auf Nacht */
  --nacht-3: #23435F;      /* @rolle Linien auf Nacht */
  --signal: #F07818;       /* @rolle Leitung, Akzente, Notruf. Auf Weiß nicht für kleine Schrift */
  --signal-dunkel: #B4560B;/* @rolle Orange als Schrift auf Hell (4,6 : 1) */
  --stahl: #5B6B7A;        /* @rolle Nebentext */
  --linie: #D6DDE4;        /* @rolle Linien auf Hell */
  --papier: #F3F5F7;       /* @rolle helle Flächen */
  --weiss: #FFFFFF;
  --betrieb: #3E9E52;      /* @rolle Statusanzeige „in Betrieb“, Biogas */

  /* Schriften */
  --font-titel: "Jost", system-ui, sans-serif;
  --font-text: "Source Sans 3", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;

  /* Größen (fließend) */
  --t-xs: .8125rem;
  --t-s: .9375rem;
  --t-m: 1.0625rem;
  --t-l: clamp(1.2rem, 1.05rem + .6vw, 1.45rem);
  --t-xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --t-xxl: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem);

  /* Abstände */
  --s-1: .5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem; --s-6: 3rem; --s-8: 4rem; --s-12: 6rem;
  --rand: clamp(1.1rem, 4vw, 2.5rem);
  --breite: 78rem;
  --radius: 6px;
  --rohr: 6px;             /* Stärke der Leitung im Layout */
}
