/* ==========================================================================
   VfB 03 Hilden – Base: Reset, Variablen, Typografie
   ========================================================================== */

:root {
  --ink: #0b0c0e;
  --ink-soft: #17191d;
  --ink-line: rgba(255, 255, 255, 0.12);
  --paper: #f5f5f3;
  --white: #ffffff;
  --line: rgba(11, 12, 14, 0.12);

  --accent: #c9a227;
  --accent-bright: #e6bd4a;
  --accent-ink: #2a2205;

  --text-on-dark: #f3f3f1;
  --text-muted-dark: #b7b8bc;
  --text-on-light: #15171b;
  --text-muted-light: #52565c;

  --radius-card: 16px;
  --radius-input: 8px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 44px -24px rgba(11, 12, 14, 0.45);
  --shadow-lift: 0 28px 60px -20px rgba(11, 12, 14, 0.55);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-base: 280ms;

  --font-display: "Outfit", "Work Sans", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;

  --container: 1240px;

  /* z-index scale */
  --z-base: 1;
  --z-sticky: 10;
  --z-drawer: 60;
  --z-modal: 70;
  --z-toast: 80;
}

*, *::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;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-on-light);
  background: var(--paper);
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 3.4vw + 1.4rem, 4.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 2vw + 1.2rem, 3rem); }
h3 { font-size: clamp(1.25rem, 0.6vw + 1.05rem, 1.6rem); }

p { margin: 0 0 1em; max-width: 65ch; text-wrap: pretty; }
p.lede { font-size: 1.15rem; color: var(--text-muted-light); max-width: 55ch; }

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

ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

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

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.section-head p { color: var(--text-muted-light); }
.section--dark .section-head p { color: var(--text-muted-dark); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.8em 1.4em;
  z-index: var(--z-toast);
  border-radius: 0 0 var(--radius-input) 0;
}
.skip-link:focus { left: 0; }
