/* ============================================================
   Wolkenbach IT — Design Tokens
   Brand colors derived from the official brand sheet:
     Primary  = #0e6989  (deep teal-blue)
     Accent   = #4ea2c6  (lighter sky blue)
   Brand sheet background ≈ #021326 → #0a2540 (deep navy gradient).
   The "IT" in the wordmark uses the primary; "WOLKENBACH" uses
   the accent — both sit on the deep navy.
============================================================ */

/* --- Webfonts ------------------------------------------------ */
/* NOTE: brand spec is "Mont Heavy" (Fontfabric, commercial).
   Substituting Mulish 900 from Google Fonts as closest free match
   — same wide geometric grotesque feel. Replace @import below
   with the licensed Mont .woff2 files when available. */
@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700;800;900&display=swap");

:root {
  /* ---------- BRAND COLORS ---------- */
  --wb-primary:        #0e6989;   /* Tiefes Petrol — primary brand */
  --wb-primary-deep:   #094f68;   /* hover/pressed */
  --wb-primary-soft:   #1a82a7;   /* lighter primary for emphasis */

  --wb-accent:         #4ea2c6;   /* Hellblau — accent / secondary */
  --wb-accent-deep:    #2f86ac;
  --wb-accent-soft:    #7fbcd8;

  /* Deep navy from the brand sheet — primary dark background */
  --wb-navy-900:       #021326;
  --wb-navy-800:       #0a2540;
  --wb-navy-700:       #122f4d;
  --wb-navy-600:       #1d3d61;

  /* Cloud whites & ice greys */
  --wb-white:          #ffffff;
  --wb-ice-50:         #f6fbfd;   /* page bg, lightest */
  --wb-ice-100:        #eaf3f8;
  --wb-ice-200:        #d6e7ef;
  --wb-ice-300:        #b8d3df;

  /* Neutral steel greys */
  --wb-steel-900:      #0f1620;
  --wb-steel-800:      #1a2330;
  --wb-steel-700:      #2a3645;
  --wb-steel-500:      #5a6675;
  --wb-steel-400:      #8593a3;
  --wb-steel-300:      #b6c1cd;
  --wb-steel-200:      #d8dfe6;
  --wb-steel-100:      #eef1f5;

  /* Semantic — status colors tuned to blue palette */
  --wb-success:        #1f9d6c;   /* uptime / OK */
  --wb-warning:        #d98b1f;   /* attention */
  --wb-danger:         #d8434a;   /* outage / critical */
  --wb-info:           var(--wb-accent);

  /* ---------- SEMANTIC ---------- */
  --wb-bg:             var(--wb-ice-50);
  --wb-bg-alt:         var(--wb-white);
  --wb-bg-dark:        var(--wb-navy-900);
  --wb-bg-dark-alt:    var(--wb-navy-800);

  --wb-fg1:            var(--wb-navy-900);   /* primary text on light */
  --wb-fg2:            var(--wb-steel-700);  /* body text */
  --wb-fg3:            var(--wb-steel-500);  /* muted */
  --wb-fg4:            var(--wb-steel-400);  /* hint / labels */

  --wb-fg1-on-dark:    var(--wb-white);
  --wb-fg2-on-dark:    var(--wb-ice-200);
  --wb-fg3-on-dark:    var(--wb-steel-300);

  --wb-border:         var(--wb-steel-200);
  --wb-border-strong:  var(--wb-steel-300);
  --wb-border-dark:    rgba(255,255,255,0.10);

  /* ---------- TYPE ---------- */
  --wb-font-display:   "Mulish", "Mont", "Inter", system-ui, -apple-system, sans-serif;
  --wb-font-body:      "Mulish", "Inter", system-ui, -apple-system, sans-serif;
  --wb-font-mono:      ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  /* Display scale — heavy, wide, uppercase-friendly */
  --wb-h1-size:        clamp(40px, 5.6vw, 88px);
  --wb-h1-weight:      900;          /* Mont Heavy / Mulish Black */
  --wb-h1-tracking:    -0.02em;
  --wb-h1-leading:     1.02;

  --wb-h2-size:        clamp(32px, 3.6vw, 56px);
  --wb-h2-weight:      900;
  --wb-h2-tracking:    -0.015em;
  --wb-h2-leading:     1.08;

  --wb-h3-size:        clamp(22px, 2vw, 32px);
  --wb-h3-weight:      800;
  --wb-h3-tracking:    -0.01em;
  --wb-h3-leading:     1.2;

  --wb-h4-size:        20px;
  --wb-h4-weight:      800;
  --wb-h4-tracking:    -0.005em;
  --wb-h4-leading:     1.3;

  --wb-eyebrow-size:   13px;
  --wb-eyebrow-weight: 700;
  --wb-eyebrow-tracking: 0.14em;     /* ALL-CAPS small label */

  --wb-lead-size:      19px;
  --wb-lead-weight:    500;
  --wb-lead-leading:   1.55;

  --wb-body-size:      16px;
  --wb-body-weight:    400;
  --wb-body-leading:   1.6;

  --wb-small-size:     14px;
  --wb-tiny-size:      12px;

  /* ---------- SHAPE / SPACING ---------- */
  --wb-radius-xs:      4px;
  --wb-radius-sm:      8px;
  --wb-radius-md:      12px;
  --wb-radius-lg:      16px;
  --wb-radius-xl:      24px;
  --wb-radius-pill:    999px;

  --wb-space-1:        4px;
  --wb-space-2:        8px;
  --wb-space-3:        12px;
  --wb-space-4:        16px;
  --wb-space-5:        24px;
  --wb-space-6:        32px;
  --wb-space-7:        48px;
  --wb-space-8:        64px;
  --wb-space-9:        96px;
  --wb-space-10:       128px;

  /* ---------- ELEVATION ---------- */
  --wb-shadow-sm:      0 1px 2px rgba(2,19,38,0.06), 0 1px 1px rgba(2,19,38,0.04);
  --wb-shadow-md:      0 4px 14px rgba(2,19,38,0.08), 0 2px 4px rgba(2,19,38,0.04);
  --wb-shadow-lg:      0 18px 40px rgba(2,19,38,0.12), 0 6px 12px rgba(2,19,38,0.06);
  --wb-shadow-glow:    0 0 0 6px rgba(78,162,198,0.18);
  --wb-shadow-inset:   inset 0 1px 0 rgba(255,255,255,0.06);

  /* ---------- MOTION ---------- */
  --wb-ease:           cubic-bezier(.2,.7,.2,1);
  --wb-ease-out:       cubic-bezier(.16,.84,.32,1);
  --wb-dur-fast:       120ms;
  --wb-dur:            220ms;
  --wb-dur-slow:       420ms;

  /* ---------- GRADIENTS ---------- */
  --wb-grad-navy:      radial-gradient(120% 80% at 50% 0%, #0a2540 0%, #021326 70%);
  --wb-grad-sky:       linear-gradient(135deg, #4ea2c6 0%, #0e6989 100%);
  --wb-grad-soft:      linear-gradient(180deg, #f6fbfd 0%, #eaf3f8 100%);
}

/* ============================================================
   Semantic element styles — opt in by adding classes
   (kept un-scoped only on root html so preview cards inherit
   without needing a wrapper).
============================================================ */
html { color-scheme: light; }

.wb {
  font-family: var(--wb-font-body);
  font-size: var(--wb-body-size);
  line-height: var(--wb-body-leading);
  color: var(--wb-fg2);
  background: var(--wb-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wb h1, .wb-h1 {
  font-family: var(--wb-font-display);
  font-weight: var(--wb-h1-weight);
  font-size: var(--wb-h1-size);
  letter-spacing: var(--wb-h1-tracking);
  line-height: var(--wb-h1-leading);
  color: var(--wb-fg1);
  text-wrap: balance;
  margin: 0;
}
.wb h2, .wb-h2 {
  font-family: var(--wb-font-display);
  font-weight: var(--wb-h2-weight);
  font-size: var(--wb-h2-size);
  letter-spacing: var(--wb-h2-tracking);
  line-height: var(--wb-h2-leading);
  color: var(--wb-fg1);
  text-wrap: balance;
  margin: 0;
}
.wb h3, .wb-h3 {
  font-family: var(--wb-font-display);
  font-weight: var(--wb-h3-weight);
  font-size: var(--wb-h3-size);
  letter-spacing: var(--wb-h3-tracking);
  line-height: var(--wb-h3-leading);
  color: var(--wb-fg1);
  margin: 0;
}
.wb h4, .wb-h4 {
  font-family: var(--wb-font-display);
  font-weight: var(--wb-h4-weight);
  font-size: var(--wb-h4-size);
  line-height: var(--wb-h4-leading);
  color: var(--wb-fg1);
  margin: 0;
}
.wb-eyebrow {
  font-family: var(--wb-font-display);
  font-weight: var(--wb-eyebrow-weight);
  font-size: var(--wb-eyebrow-size);
  letter-spacing: var(--wb-eyebrow-tracking);
  text-transform: uppercase;
  color: var(--wb-primary);
}
.wb-lead {
  font-size: var(--wb-lead-size);
  font-weight: var(--wb-lead-weight);
  line-height: var(--wb-lead-leading);
  color: var(--wb-fg2);
  text-wrap: pretty;
}
.wb p, .wb-p { font-size: var(--wb-body-size); line-height: var(--wb-body-leading); text-wrap: pretty; }
.wb-small { font-size: var(--wb-small-size); color: var(--wb-fg3); }
.wb-mono  { font-family: var(--wb-font-mono); font-size: 0.92em; }

/* Buttons */
.wb-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--wb-font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0;
  padding: 12px 22px;
  border-radius: var(--wb-radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--wb-dur-fast) var(--wb-ease),
              background var(--wb-dur) var(--wb-ease),
              box-shadow var(--wb-dur) var(--wb-ease),
              color var(--wb-dur) var(--wb-ease);
  text-decoration: none;
  white-space: nowrap;
}
.wb-btn--primary {
  background: var(--wb-primary);
  color: var(--wb-white);
  box-shadow: 0 6px 18px rgba(14,105,137,0.28);
}
.wb-btn--primary:hover { background: var(--wb-primary-deep); }
.wb-btn--primary:active { transform: translateY(1px); }

.wb-btn--ghost {
  background: transparent;
  color: var(--wb-white);
  border-color: rgba(255,255,255,0.35);
}
.wb-btn--ghost:hover { background: rgba(255,255,255,0.08); }

.wb-btn--light {
  background: var(--wb-white);
  color: var(--wb-primary);
  border-color: var(--wb-border);
}
.wb-btn--light:hover { background: var(--wb-ice-100); }
