/* ==========================================================================
   Industrielle Präzision — Design Tokens & Basis
   ========================================================================== */

:root {
  --primary: #1B1D21;      /* Anthrazit */
  --accent: #E8622C;       /* Werkstatt-Orange (Graphik/Icons/große Zahlen) */
  --accent-deep: #C4501D;  /* Orange für gefüllte Buttons (WCAG-AA-sicher) */
  --steel: #5B6470;        /* Stahlgrau */
  --bg: #F4F3F0;           /* Off-White Basis */
  --surface: #FFFFFF;
  --line: rgba(27, 29, 33, 0.12);
  --line-strong: rgba(27, 29, 33, 0.24);
  --on-dark: #F4F3F0;
  --on-dark-muted: rgba(244, 243, 240, 0.68);
  --radius: 2px;
  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1280px;
  --gap: 1.5rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-base: 260ms;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, iframe { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; height: auto; }

.icon {
  width: 1.4em;
  height: 1.4em;
  flex: 0 0 auto;
  vertical-align: middle;
  max-width: 32px;
  max-height: 32px;
  stroke: currentColor;
  fill: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: pretty;
  color: var(--primary);
}

h1 { font-size: clamp(2.4rem, 3.2vw + 1.6rem, 4.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 1.6vw + 1.4rem, 2.7rem); }
h3 { font-size: clamp(1.25rem, 0.6vw + 1.05rem, 1.5rem); }
h4 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; }

p { margin: 0 0 1.1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: var(--on-dark);
  padding: 0.9rem 1.4rem;
  z-index: 999;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: #fff;
}
