/* Galeria Vital: theme tokens (taste direction "clinical", retuned to the brand).
   Every value carries a name from the client's subject.
   Load after foundation.css. Dark remap under @media screen so print stays light. */

@font-face {
  font-family: "Commissioner"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/commissioner-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Commissioner"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/commissioner-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font-display: "Commissioner", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Commissioner", "Helvetica Neue", Arial, sans-serif;
  --w-display: 640;
  --tr-display: -0.028em;
  --tr-h2: -0.022em;
  --lh-display: 1.02;
  --fs-display: clamp(2.35rem, 1.3rem + 3.7vw, 4.6rem);
  --fs-h2: clamp(1.9rem, 1.25rem + 2.6vw, 3.6rem);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-button: 10px;
  --case-eyebrow: uppercase;
  --tr-eyebrow: 0.14em;

  --bg: #f5f8f6;            /* Praxisflur: cool white with a breath of green */
  --surface: #ffffff;       /* Wandweiß */
  --surface-2: #e7f1eb;     /* Salbei: the waiting-room tint, used for bands */
  --ink: #0f2724;           /* Schildgrün: the dark green of the facade signs */
  --muted-strong: #2b4440;  /* Fassadengrau-Grün */
  --muted: #4a605b;         /* Kiefernschatten */
  --line: #d4e2da;          /* Fuge */
  --line-strong: #b0c6bb;   /* Geschosslinie */
  --ink-field: #123d39;     /* Campus-Teal: the brand's deep teal ground */
  --on-ink: #eef7f3;
  --on-ink-muted: #b4cfc6;
  --accent: #02944e;        /* Vital-Grün: brand green, signal only */
  --accent-fill: #037a42;   /* Vital-Grün, deepened so white text passes */
  --accent-on-fill: #ffffff;
  --accent-text: #04703d;   /* Vital-Grün as text */
  --accent-soft: #dbf0e3;   /* Grünfläche */
  --flame: #a84f04;         /* Flamme: the orange stroke of the logo, small markers only */
  --accent-on-ink: #7fe0ad; /* Vital-Grün, lightened for the Campus-Teal ground */
  --field-1: #dbf0e3;       /* Grünfläche */
  --field-1-ink: #0f2724;
  --field-2: #f4ecdf;       /* Sandstein: warm field from the flame of the logo */
  --field-2-ink: #0f2724;
  --field-3: #123d39;       /* Campus-Teal */
  --field-3-ink: #eef7f3;
  color-scheme: light dark;
}

@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1715;
    --surface: #10201d;
    --surface-2: #132925;
    --ink: #e6f2ee;
    --muted-strong: #c2d6cf;
    --muted: #94aca4;
    --line: rgba(230, 242, 238, 0.11);
    --line-strong: rgba(230, 242, 238, 0.22);
    --ink-field: #07120f;
    --on-ink: #e6f2ee;
    --on-ink-muted: #a8c2b9;
    --accent: #3fd08a;
    --accent-fill: #3fd08a;
    --accent-on-fill: #0b1715;
    --accent-text: #62dca0;
    --accent-soft: rgba(63, 208, 138, 0.14);
    --flame: #f0a24a;
    --accent-on-ink: #62dca0;
    --field-1: #16342b;
    --field-1-ink: #e6f2ee;
    --field-2: #2a241a;
    --field-2-ink: #e6f2ee;
    --field-3: #07120f;
    --field-3-ink: #e6f2ee;
  }
}
@media screen {
  :root[data-theme="dark"] {
    --bg: #0b1715;
    --surface: #10201d;
    --surface-2: #132925;
    --ink: #e6f2ee;
    --muted-strong: #c2d6cf;
    --muted: #94aca4;
    --line: rgba(230, 242, 238, 0.11);
    --line-strong: rgba(230, 242, 238, 0.22);
    --ink-field: #07120f;
    --on-ink: #e6f2ee;
    --on-ink-muted: #a8c2b9;
    --accent: #3fd08a;
    --accent-fill: #3fd08a;
    --accent-on-fill: #0b1715;
    --accent-text: #62dca0;
    --accent-soft: rgba(63, 208, 138, 0.14);
    --flame: #f0a24a;
    --accent-on-ink: #62dca0;
    --field-1: #16342b;
    --field-1-ink: #e6f2ee;
    --field-2: #2a241a;
    --field-2-ink: #e6f2ee;
    --field-3: #07120f;
    --field-3-ink: #e6f2ee;
  }
  :root[data-theme="light"] { color-scheme: light; }
  :root[data-theme="dark"] { color-scheme: dark; }
}

body { font-variant-numeric: tabular-nums; }
