/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --color-accent: #0066FF;
  --color-accent-hover: #0052cc;
  --color-accent-light: #1A7FFF;
  --color-accent-dark: #003E99;
  --color-accent-glow: rgba(0, 102, 255, 0.15);
  --color-accent-glow-strong: rgba(0, 102, 255, 0.25);
  /* Lichtere variant van --color-accent, uitsluitend voor tekst op donkere achtergronden:
     #0066FF haalt geen 4.5:1 WCAG AA-contrast op --bg-primary/--bg-secondary/--bg-tertiary,
     deze variant wel (gecontroleerd met scripts/contrast-check.py). Knoppen/randen blijven
     --color-accent, die hoeven alleen aan de 3:1 UI-component-eis te voldoen. */
  --color-accent-text: #4d94ff;

  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --bg-tertiary: #1f1f1f;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  /* #71717a haalde 4.10:1 op --bg-primary (WCAG AA vereist 4.5:1 voor normale tekst) */
  --text-tertiary: #8a8a94;
  --border: #27272a;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family: 'Lora', serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

  --section-padding: 96px;
  --container-max: 1200px;
  --container-padding: 24px;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s ease;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
  --shadow-accent: 0 8px 32px rgba(0, 102, 255, 0.4);
  --shadow-accent-lg: 0 12px 48px rgba(0, 102, 255, 0.5);
}


/* ===== CSS RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ===== BASE LAYOUT ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

section { padding: 64px 0; }

@media (min-width: 1024px) {
  section { padding: var(--section-padding) 0; }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  color: var(--text-primary);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
}

p { color: var(--text-secondary); line-height: 1.65; }

/* ===== UTILITIES ===== */
.text-accent { color: var(--color-accent-text); }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 { margin-bottom: 16px; }

.section-header > p {
  max-width: 580px;
  margin: 0 auto;
  font-size: 18px;
}

/* ===== SKIP TO CONTENT ===== */
.skip-to-content {
  position: fixed;
  top: -100%;
  left: 24px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: top 0.2s;
}

.skip-to-content:focus { top: 24px; }

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-5-item.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-5-item.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ===== FOCUS STYLES ===== */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .animate-on-scroll { opacity: 1; transform: none; }
}

/* ===== PRINT ===== */
@media print {
  .whatsapp-float,
  .cookie-banner,
  .cookie-modal { display: none !important; }
}
