/* ==========================================================================
   E. Sentürk — Design-System "Stahlbeton-Präzision"
   Tokens, Reset, Typografie, Buttons, Icons, Reveal-Animationen
   ========================================================================== */

:root {
  /* Farben — gedämpfte, hochwertige Palette (Betongrau / Signalorange / Stahlblau) */
  --primary: oklch(32% 0.01 250);      /* Betongrau / Anthrazit — Headlines, Header */
  --primary-2: oklch(24% 0.012 250);   /* dunkleres Anthrazit — Footer, CTA-Band */
  --accent: oklch(58% 0.15 45);        /* Signalorange, gedämpft — CTAs, Akzente */
  --accent-2: oklch(52% 0.14 45);      /* Signalorange hover */
  --steel: oklch(45% 0.05 240);        /* Stahlblau — sekundäre Akzente */
  --bg: oklch(96.5% 0.004 90);         /* Betonschimmer / Off-White */
  --bg-raised: oklch(99% 0.002 90);    /* Kartenfläche */
  --ink: oklch(22% 0.01 250);          /* Fließtext */
  --ink-soft: oklch(40% 0.012 250);    /* Sekundärtext */
  --line: oklch(85% 0.008 90);         /* Trennlinien */

  --radius: 2px;
  --radius-lg: 3px;
  --shadow-sm: 0 1px 2px oklch(20% 0.01 250 / 0.08), 0 1px 1px oklch(20% 0.01 250 / 0.05);
  --shadow-md: 0 8px 24px oklch(20% 0.01 250 / 0.12), 0 2px 6px oklch(20% 0.01 250 / 0.08);
  --shadow-lg: 0 24px 60px oklch(20% 0.01 250 / 0.22);

  --font-display: 'Big Shoulders Display', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --header-h: 88px;
  --header-h-condensed: 64px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 240ms;
}

*, *::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(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  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; max-width: 32px; max-height: 32px; flex: 0 0 auto; vertical-align: middle; }

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

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

p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.esk-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.8em 1.4em;
  z-index: 10000;
  font-weight: 600;
}
.esk-skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

/* ---- Typografie-Skala ---- */
.esk-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}
.esk-eyebrow--on-dark { color: oklch(78% 0.13 45); }

.esk-h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin: 0 0 1.1rem;
}
.esk-h2--on-dark { color: #fff; }

.esk-section__head {
  max-width: 46rem;
  margin: 0 auto 3.2rem;
  text-align: center;
}
.esk-section__intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 40rem;
  margin: 0 auto;
}

/* ---- Grid-Layout-Basis (12 Spalten) ---- */
.esk-grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 2.5rem);
}

section { padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 5vw, 4rem); }

/* ---- Buttons ---- */
.esk-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.8em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  min-height: 44px;
}
.esk-btn:hover { transform: translateY(-2px); }
.esk-btn:active { transform: scale(0.98) translateY(0); }

.esk-btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.esk-btn--accent:hover { background: var(--accent-2); box-shadow: var(--shadow-md); }

.esk-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: oklch(100% 0 0 / 0.4);
}
.esk-btn--ghost:hover { border-color: #fff; background: oklch(100% 0 0 / 0.08); }

.esk-btn--dark {
  background: var(--primary);
  color: #fff;
}
.esk-btn--dark:hover { background: var(--primary-2); }

.esk-btn--block { width: 100%; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .esk-btn:hover, .esk-btn:active { transform: none; }
}

/* ---- Scroll-Reveal ---- */
[data-esk-reveal] {
  opacity: 1;
  transform: translateY(28px);
  transition: transform 640ms var(--ease-out);
  transition-delay: var(--esk-delay, 0ms);
}
[data-esk-reveal].is-visible {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-esk-reveal] {
    transform: none;
    transition: none;
  }
}

/* ---- Animierte Zähler (Kennzahlen) ---- */
.esk-stats__number {
  font-family: var(--font-mono);
  font-weight: 600;
}

@media (max-width: 900px) {
  section { padding: clamp(2.75rem, 8vw, 4rem) 1.25rem; }
}
