/* base.css — Reset, Variablen, Typografie, Buttons */

@font-face {
  font-family: 'MVSans';
  src: url('../assets/fonts/MVSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --surface: #161617;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #86868b; /* min. 4.5:1 Kontrast auf #0a0a0a (WCAG AA) */
  --orange: #f5a31c;
  --red: #d42b1e;         /* Markenrot — nur für Flächen */
  --red-text: #ff5a4a;    /* Textvariante: 5,6:1 auf #0a0a0a; --red nur 3,93:1 */
  --nav-h: 52px;
  --radius: 24px;
  --font-display: 'MVSans', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Montserrat', -apple-system, 'Helvetica Neue', sans-serif;
}

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

html {
  /* Kein scroll-behavior: smooth — die Seiten sind bis zu 18'000 px hoch,
     eine weiche Fahrt zu einer Sprungmarke kriecht sekundenlang durch die
     Canvas-Scrub-Sektionen und kollidiert mit ScrollTrigger. */
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Sichtbarer Tastaturfokus. Der Browser-Standardring hat auf dem orangen
   Button nur 1,16:1 Kontrast und ist praktisch unsichtbar. */
:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}
.btn-orange:focus-visible { outline-color: #0a0a0a; outline-offset: -6px; }

/* Sprungziele nicht hinter der Navigationsleiste verstecken */
section[id], [id].legal-block { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* Typografie-Hierarchie (Apple-Style) */
/* Die clamp()-Minima sind bewusst niedrig: Bei 375px Breite passten lange
   Wörter wie „anzustehen?" oder „Kleingedrucktes." sonst nicht in die Zeile
   und wurden links und rechts abgeschnitten. */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 12vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.display-l {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.display-m {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 6vw, 4.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.display-s {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.eyebrow {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.eyebrow-orange { color: var(--orange); }
.eyebrow-red { color: var(--red-text); }

.body-l { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 500; color: var(--muted); }
.body-m { font-size: 1.1rem; font-weight: 500; color: var(--muted); }

.hl { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: scale(1.04); }
.btn-orange { background: var(--orange); color: #0a0a0a; }
.btn-orange:hover { background: #ffb63d; }
.btn-ghost { border: 1.5px solid var(--text); color: var(--text); }
.btn-ghost:hover { background: var(--text); color: #0a0a0a; }
.btn-small { font-size: 0.82rem; padding: 0.5em 1.2em; }

/* Nur für Screenreader/SEO — visuell unsichtbar */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout-Helfer */
.content-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 3rem;
}

section { position: relative; }
