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

:root {
  --primary: #ff3d3d;
  --primary-dark: #e02929;
  --accent2: #ffb03d;
  --ink: #f5f6fa;
  --muted: #9aa4c2;
  --border: rgba(255, 255, 255, 0.08);
  --bg: #0b0d17;
  --bg-alt: #10121f;
  --surface: #161927;
  --surface-alt: #1c2033;
  --badge-bg: rgba(255, 61, 61, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-pill: 100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, "system-ui", sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  color: var(--accent2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.center { text-align: center; }
.eyebrow.center, h2.center, p.center { margin-left: auto; margin-right: auto; }

h1, h2, h3 { letter-spacing: -1px; }

/* ---------- badge pill ---------- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--badge-bg);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-solid { background: var(--primary); color: #fff; }
.btn-solid:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 61, 61, 0.25); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ---------- navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 23, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-weight: 800; font-size: 20px; letter-spacing: -0.5px; color: var(--ink); }
.logo .accent { color: var(--primary); }

.nav-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  transition: border-color 0.2s;
}
.nav-menu-btn:hover { border-color: var(--primary); }
.nav-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: 50% 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-menu-btn.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-menu-btn.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.nav-dropdown {
  position: absolute;
  top: 64px;
  right: 32px;
  width: 220px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
  display: none;
  flex-direction: column;
  padding: 8px;
  z-index: 99;
}
.nav-dropdown.open { display: flex; }
.nav-dropdown a {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-dropdown a:hover { background: var(--surface-alt); color: var(--primary); }
.nav-dropdown .dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }
.nav-dropdown .dropdown-cta {
  margin: 2px 0 0;
  padding: 10px 14px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 700 !important;
  text-align: center;
}
.nav-dropdown .dropdown-cta:hover { background: var(--primary-dark) !important; }

/* ---------- hero ---------- */
.hero { padding: 96px 24px 72px; text-align: center; }
.hero-content { max-width: 720px; margin: 0 auto; }
h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 900; letter-spacing: -2px; line-height: 1.08; margin-bottom: 22px; }
h1 .accent { color: var(--primary); }
.hero-subtitle { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.65; }

.scroll-cue {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.scroll-cue span { width: 1px; height: 24px; background: var(--border); }

/* ---------- page intro (subpages) ---------- */
.page-intro { padding: 64px 24px 56px; text-align: center; }
.page-intro h1 { font-size: clamp(30px, 4.5vw, 48px); }
.page-intro .hero-subtitle { margin-top: 16px; }

/* ---------- generic section ---------- */
section { padding: 96px 24px; }
section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 600px; margin: 0 auto 48px; line-height: 1.65; }

/* ---------- verhaal / story ---------- */
.story-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.story-text p { color: var(--muted); font-size: 17px; line-height: 1.8; margin-bottom: 20px; }
.story-text p:last-child { margin-bottom: 0; }
.story-text strong { color: var(--ink); }

/* ---------- teaser grid (index summaries) ---------- */
.teaser-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.teaser-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.teaser-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.16); }
.teaser-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
.teaser-card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.teaser-link { font-size: 14px; font-weight: 700; color: var(--primary); }

/* ---------- ambities / steps ---------- */
.steps-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.steps-grid.cols-3 { max-width: 900px; grid-template-columns: repeat(3, 1fr); }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.24);
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--badge-bg);
  color: var(--primary);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step-card h3 { font-size: 16px; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- inspiratie gallery ---------- */
.gallery-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.gallery-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.16); }
.gallery-visual { background: var(--surface-alt); padding: 28px 20px 10px; }
.gallery-visual svg { width: 100%; height: auto; }
.gallery-body { padding: 20px 22px 24px; }
.gallery-body h3 { font-size: 16px; margin-bottom: 8px; }
.gallery-body p { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 12px; }
.gallery-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent2);
  background: rgba(255, 176, 61, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.car-body-livery { fill: #191919; stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.5; }
.car-window { fill: #0b0d17; }
.car-wheel { fill: #0b0d17; stroke: #454b63; stroke-width: 2; }
.livery-stripe-white { fill: #f2f2f2; }
.livery-stripe-red { fill: var(--primary); }
.livery-number-bg { fill: #f2f2f2; stroke: #111319; stroke-width: 1; }
.livery-number-text { font-family: "Inter", sans-serif; font-weight: 900; font-size: 13px; fill: #111319; }

/* ---------- closing ---------- */
.closing { text-align: center; }
.closing p { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto 32px; line-height: 1.7; }

/* ---------- footer ---------- */
.footer { padding: 48px 24px 32px; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-link { font-size: 14px; font-weight: 600; color: var(--muted); }
.footer-link:hover { color: var(--ink); }
.footer-bottom {
  max-width: 1180px;
  margin: 16px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .teaser-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  section { padding: 64px 20px; }
  .footer-inner { justify-content: center; text-align: center; }
}
