/* ==========================================================================
   Base — Reset, Design Tokens, Typography
   Stil: Rohbau-Präzision — Industrial Editorial
   ========================================================================== */

:root {
  /* Farbsystem (oklch) */
  --primary: oklch(28% 0.012 255);      /* Zementgrau #24262b */
  --primary-2: oklch(22% 0.012 255);    /* dunkleres Zementgrau für Tiefe */
  --accent: oklch(68% 0.15 45);         /* Baustellenorange #d97a34 */
  --accent-dark: oklch(58% 0.15 42);    /* Orange, gedeckt, für Hover */
  --accent-ink: oklch(30% 0.09 42);     /* Orange-Text auf hellem Grund */
  --bg: oklch(96% 0.006 90);            /* Kalkweiß #f4f3f0 */
  --surface: oklch(99% 0.002 90);       /* Karten/Flächen, fast Weiß */
  --ink: oklch(20% 0.01 255);           /* Fließtext, fast Schwarz */
  --ink-soft: oklch(40% 0.012 255);     /* gedämpfter Text */
  --border: oklch(85% 0.007 90);        /* Trennlinien */
  --border-strong: oklch(70% 0.01 255);

  --radius: 2px;
  --grid-gap: clamp(1rem, 2vw, 2.5rem);
  --container: 1320px;

  --font-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --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;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

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;
}

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

ul, ol { padding-left: 1.25em; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: 'wght' 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-wrap: pretty;
  margin: 0 0 0.5em;
  color: var(--primary);
}

h1 {
  font-size: clamp(2.4rem, 3.4vw + 1.4rem, 5rem);
  font-weight: 800;
}

h2 { font-size: clamp(1.9rem, 1.6vw + 1.3rem, 3.1rem); }
h3 { font-size: clamp(1.35rem, 0.8vw + 1.05rem, 1.9rem); }
h4 {
  font-size: 1.15rem;
  text-transform: none;
  font-weight: 700;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.05rem, 0.4vw + 0.95rem, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.55;
}

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

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

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

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

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
