/* ============================================================
   PLAN-0 — base.css
   Tokens, Reset, Typografie
   Quiet Clarity: ruhig, großzügig, zeitlos.
   Keine externen Schriften, keine Google Fonts, keine Fremd-Requests.
   ============================================================ */

:root {
  /* Farben */
  --paper:      #FAF8F4;   /* warmes Off-White */
  --paper-deep: #F3F0EA;   /* leicht abgesetzte Flächen */
  --ink:        #1E1D1A;   /* Text */
  --ink-soft:   #4A4842;   /* Fließtext, etwas weicher */
  --slate:      #12243A;   /* Marineblau aus dem PLAN-0-Logo — einziger Akzent */
  --stone:      #8C867B;   /* Eyebrows, Nebentexte */
  --line:       #E4E0D8;   /* Hairlines */

  /* Typografie — reiner System-Stack, bewusst ohne Webfonts */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
               Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Skala */
  --step-display: clamp(2.75rem, 6.5vw, 5.25rem);
  --step-title:   clamp(1.9rem, 3.8vw, 3rem);
  --step-lead:    clamp(1.15rem, 1.8vw, 1.4rem);
  --step-body:    1.0625rem;
  --step-small:   0.9375rem;
  --step-eyebrow: 0.75rem;

  /* Raum */
  --space-section: clamp(6rem, 14vh, 11rem);
  --measure: 38rem;
  --measure-wide: 52rem;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, p, ul { margin: 0; }

a {
  color: var(--slate);
  text-decoration: none;
}
a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

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

/* Sprungmarke für Tastaturnutzung */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Typo-Rollen */
.display {
  font-size: var(--step-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.title {
  font-size: var(--step-title);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lead {
  font-size: var(--step-lead);
  font-weight: 350;
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.eyebrow {
  font-size: var(--step-eyebrow);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.small {
  font-size: var(--step-small);
  color: var(--ink-soft);
}

.statement {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

::selection {
  background: var(--slate);
  color: var(--paper);
}

/* ============================================================
   Premium Documentary — Erweiterung
   Für vollflächige Bild-Passagen: dunkler Bildraum, helle Schrift.
   ============================================================ */
:root {
  --night:      #14120F;   /* Bildüberlagerung, sehr dunkles Warmschwarz */
  --on-image:   #FAF8F4;   /* Text auf Bildern */
  --on-image-soft: rgba(250, 248, 244, 0.78);
}

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