/* =====================================================================
   SILITECH AG — Colors & Type
   Source: Silitech AG Color Guidelines (official brand PDF)
   Contact: info@silitech.ch for canonical reference
   ===================================================================== */

/* ---------- FONTS ----------
   Stand: an die Live-Site silitech.ch angeglichen (Entscheid 20.06.2026).
   Body, UI und Headings: Archivo. Zahlen, SKU, Specs: IBM Plex Mono.
   Alle drei via Google Fonts. Eine offizielle Corporate-Schrift ist im Markenpaket
   NICHT definiert (Color Guidelines = nur Farbe). Offener Governance-Punkt:
   bei Sandro Reist die offizielle Hausschrift bestaetigen lassen. Bis dahin gilt der
   Live-Stand als verbindlich. Florian hat Archivo am 28.09.2026 bestätigt. */

:root {
  /* ================= ODOO BRIDGE (Live-Theme-Anker) =================
     Die fuenf echten Odoo-Theme-Werte von www.silitech.ch (Website id 3),
     live verifiziert am 20.06.2026. Token-Datei und Live-Site treffen sich hier.
     Wer eine Farbe aendert, aendert sie NUR hier und im Odoo-Theme-Color-Picker.
     Achtung: --o-color-2 und --o-color-3 sind THEME-Werte, NICHT Markenfarben
     (Marke waere Brightblue #90B1C8 bzw. Weiss #EDF7FD). Nicht als Marke einsetzen. */
  --o-color-1: #0074B6;   /* = --silitech-blue (Primary) */
  --o-color-2: #0099D6;   /* Theme-Hellblau, nur Hover und Glow. KEINE Markenfarbe. */
  --o-color-3: #F3F2F2;   /* Theme-Surface. NICHT --silitech-white #EDF7FD. */
  --o-color-4: #FFFFFF;   /* = --pure-white */
  --o-color-5: #000B14;   /* = --silitech-black */

  /* ================= COLOR — PRIMARY ================= */
  --silitech-black:        #000B14;   /* Silitech Schwarz   RGB 0 11 20 */
  --silitech-dark-blue:    #001F35;   /* Secondary Darkblue RGB 0 31 53 */
  --silitech-blue:         #0074B6;   /* Silitech Blau      RGB 0 116 182 — signature brand blue */
  --silitech-bright-blue:  #90B1C8;   /* Secondary Brightblue RGB 144 177 200 */
  --silitech-white:        #EDF7FD;   /* Silitech Weiss     RGB 237 247 253 — warm off-white */
  --pure-white:            #FFFFFF;

  /* ================= COLOR — EXTENDED NEUTRALS =================
     Derived from --silitech-dark-blue (hue-locked) */
  --neutral-50:  #F5FAFD;
  --neutral-100: #E6EEF5;
  --neutral-200: #CEDBE7;
  --neutral-300: #A8BCCF;
  --neutral-400: #7A8FA5;
  --neutral-500: #506B84;
  --neutral-600: #314C66;
  --neutral-700: #1B3450;
  --neutral-800: #0B2236;
  --neutral-900: #001F35;

  /* ================= COLOR — BLUE SCALE ================= */
  --blue-50:  #EDF7FD;
  --blue-100: #D5EAF7;
  --blue-200: #A9D2EE;
  --blue-300: #6BB4DF;
  --blue-400: #2E95CC;
  --blue-500: #0074B6;    /* base brand blue */
  --blue-600: #005A95;
  --blue-700: #004574;
  --blue-800: #003355;
  --blue-900: #001F35;

  /* ================= SEMANTIC — STATE ================= */
  --success:       #1E7F4A;
  --success-soft:  #E3F3EA;
  --warning:       #B57400;
  --warning-soft:  #FBF1DA;
  --danger:        #B3261E;
  --danger-soft:   #FBE7E5;
  --info:          var(--silitech-blue);
  --info-soft:     var(--blue-50);

  /* ================= SEMANTIC — SURFACE ================= */
  --bg:              var(--pure-white);
  --bg-subtle:       var(--silitech-white);
  --bg-muted:        var(--neutral-50);
  --bg-inverse:      var(--silitech-black);
  --bg-inverse-soft: var(--silitech-dark-blue);

  --surface:          var(--pure-white);
  --surface-raised:   var(--pure-white);
  --surface-sunken:   var(--neutral-50);
  --surface-overlay:  rgba(0, 11, 20, 0.72);

  /* ================= SEMANTIC — FOREGROUND ================= */
  --fg-1:       var(--silitech-black);   /* strongest — headings */
  --fg-2:       var(--neutral-800);      /* body */
  --fg-3:       var(--neutral-600);      /* secondary text / meta */
  --fg-4:       var(--neutral-500);      /* tertiary / placeholder */
  --fg-inverse: var(--silitech-white);
  --fg-brand:   var(--silitech-blue);
  --fg-link:    var(--silitech-blue);
  --fg-link-hover: var(--blue-700);

  /* ================= BORDERS ================= */
  --border-subtle:  rgba(0, 31, 53, 0.08);
  --border:         rgba(0, 31, 53, 0.14);
  --border-strong:  rgba(0, 31, 53, 0.26);
  --border-brand:   var(--silitech-blue);

  /* ================= RADII =================
     Restrained, Swiss-industrial. Cards are near-square. */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;

  /* ================= SHADOWS =================
     Tuned from dark-blue hue for color harmony */
  --shadow-xs: 0 1px 2px rgba(0, 31, 53, 0.06);
  --shadow-sm: 0 1px 3px rgba(0, 31, 53, 0.08), 0 1px 2px rgba(0, 31, 53, 0.04);
  --shadow-md: 0 4px 10px rgba(0, 31, 53, 0.08), 0 2px 4px rgba(0, 31, 53, 0.04);
  --shadow-lg: 0 12px 28px rgba(0, 31, 53, 0.12), 0 4px 8px rgba(0, 31, 53, 0.06);
  --shadow-xl: 0 24px 48px rgba(0, 31, 53, 0.18);
  --shadow-inset: inset 0 0 0 1px rgba(0, 31, 53, 0.08);
  --shadow-focus: 0 0 0 3px rgba(0, 116, 182, 0.28);

  /* ================= SPACING (4px base) ================= */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* ================= TYPE — FAMILIES =================
     Headings, Body und UI = Archivo (--font-display und --font-sans),
     Zahlen, SKU, Specs = IBM Plex Mono (--font-mono). An Live angeglichen. */
  --font-sans:    'Archivo', 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
  --font-display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* ================= TYPE — SCALE =================
     Modest, modular — suited to technical B2B density */
  --fs-xs:   12px;
  --fs-sm:   14px;
  --fs-base: 16px;
  --fs-md:   18px;
  --fs-lg:   20px;
  --fs-xl:   24px;
  --fs-2xl:  30px;
  --fs-3xl:  38px;
  --fs-4xl:  48px;
  --fs-5xl:  60px;
  --fs-6xl:  76px;

  /* ================= TYPE — WEIGHT ================= */
  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semi:     600;
  --fw-bold:     700;

  /* ================= TYPE — LEADING / TRACKING ================= */
  --lh-tight:   1.12;
  --lh-snug:    1.28;
  --lh-normal:  1.5;
  --lh-relaxed: 1.65;

  --tracking-tight:  -0.02em;
  --tracking-normal: 0;
  --tracking-wide:   0.04em;
  --tracking-caps:   0.14em;

  /* ================= MOTION ================= */
  --ease-standard: cubic-bezier(0.2, 0.0, 0.0, 1.0);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:       cubic-bezier(0.4, 0, 1, 1);
  --dur-fast:   120ms;
  --dur-base:   200ms;
  --dur-slow:   360ms;

  /* ================= LAYOUT ================= */
  --container-max:  1280px;
  --container-wide: 1440px;
  --nav-height:     80px;

  /* ---------- ALIASES (Kurznamen) ----------
     Alle auf Marken-Tokens gemappt, keine neuen Farben. */
  --ink:       var(--silitech-black);        /* primaerer Text und dunkle Flaechen (#000B14) */
  --paper:     var(--silitech-white);        /* Seitenhintergrund (#EDF7FD) */
  --accent:    var(--silitech-bright-blue);  /* Akzent auf dunklem Grund (#90B1C8). Frueher #FF6B00, markenfremd, entfernt. */
  --rule:      var(--silitech-black);        /* Haarlinie ink */
  --rule-blue: var(--silitech-blue);         /* Haarlinie blau (#0074B6) */
}

/* =====================================================================
   SEMANTIC TYPOGRAPHY — opinionated base styles
   ===================================================================== */

html { font-family: var(--font-sans); color: var(--fg-2); -webkit-font-smoothing: antialiased; }
body { font-size: var(--fs-base); line-height: var(--lh-normal); color: var(--fg-2); background: var(--bg); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--fg-1);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  margin: 0;
  font-weight: var(--fw-semi);
  text-wrap: balance;
}
h1 { font-size: var(--fs-5xl); font-weight: var(--fw-bold); letter-spacing: -0.025em; }
h2 { font-size: var(--fs-4xl); font-weight: var(--fw-semi); }
h3 { font-size: var(--fs-2xl); font-weight: var(--fw-semi); }
h4 { font-size: var(--fs-xl); font-weight: var(--fw-semi); line-height: var(--lh-snug); }
h5 { font-size: var(--fs-md); font-weight: var(--fw-semi); line-height: var(--lh-snug); }
h6 { font-size: var(--fs-sm); font-weight: var(--fw-semi); line-height: var(--lh-snug); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fg-3); }

p        { margin: 0; font-size: var(--fs-base); line-height: var(--lh-relaxed); color: var(--fg-2); text-wrap: pretty; }
.lead    { font-size: var(--fs-lg); line-height: var(--lh-relaxed); color: var(--fg-2); font-weight: var(--fw-regular); }
.eyebrow { font-size: var(--fs-xs); font-weight: var(--fw-semi); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fg-brand); }
.meta    { font-size: var(--fs-sm); color: var(--fg-3); }
.caption { font-size: var(--fs-xs); color: var(--fg-3); letter-spacing: var(--tracking-wide); }

a        { color: var(--fg-link); text-decoration: none; transition: color var(--dur-fast) var(--ease-standard); }
a:hover  { color: var(--fg-link-hover); }

code, kbd, samp, pre { font-family: var(--font-mono); font-size: 0.92em; }
code  { background: var(--bg-subtle); padding: 0.12em 0.4em; border-radius: var(--radius-sm); color: var(--fg-1); }
hr    { border: 0; border-top: 1px solid var(--border); margin: var(--space-8) 0; }

::selection { background: var(--silitech-blue); color: var(--silitech-white); }
