/* =========================================================
   MCR Services — Your Edge On Track
   Motorsport • Technisch • Premium
   ========================================================= */

/* Zelf gehost i.p.v. Google Fonts: scheelt twee externe verbindingen voordat
   er tekst staat. Eén variabel bestand dekt de hele gewichtenreeks; de browser
   interpoleert zelf naar elk gevraagd gewicht. Licentie: fonts/LICENTIE.txt */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/inter-variabel-latin.woff2") format("woff2-variations"),
       url("/fonts/inter-variabel-latin.woff2") format("woff2");
}

:root {
  --black: #0d0d0f;
  --black-2: #16161a;
  --black-3: #1f1f24;
  --red: #e10600;
  --red-dark: #b00500;
  --white: #ffffff;
  --grey: #8a8a92;
  --grey-light: #c9c9d1;
  --line: rgba(255, 255, 255, 0.10);
  --line-dark: rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --maxw: 1200px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --head: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: #1c1c20;
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--head);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

section { position: relative; }

/* ---------- Utility / shared blocks ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--red);
  display: inline-block;
}

.section-pad { padding: 92px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-grey { background: #f4f4f6; }

.section-head { max-width: 720px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.section-head p { color: #5a5a64; font-size: 17px; }
.section-dark .section-head p { color: var(--grey-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 9px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  letter-spacing: .01em;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--black); border-color: #fff; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--black-3); }
.btn-outline { border-color: var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,15,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  color: #e8e8ec; font-weight: 600; font-size: 15px;
  padding: 10px 14px; border-radius: 7px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { box-shadow: inset 0 -2px 0 var(--red); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; gap: 5px;
  justify-content: center; align-items: center;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  color: #fff;
  background: var(--black);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center 15%;
  filter: grayscale(.15) contrast(1.05);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,13,15,.94) 0%, rgba(13,13,15,.78) 42%, rgba(13,13,15,.30) 100%);
}
.hero-stripes {
  position: absolute; right: 0; top: 0; bottom: 0; width: 40%;
  background-image: repeating-linear-gradient(115deg, transparent 0 38px, rgba(225,6,0,.5) 38px 44px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
  opacity: .5; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding: 60px 0; }
.hero h1 {
  font-size: clamp(38px, 6.5vw, 76px);
  line-height: .98; margin-bottom: 22px; text-transform: uppercase;
}
.hero h1 .accent { color: var(--red); }
.hero .lead { font-size: clamp(17px, 2vw, 21px); color: var(--grey-light); max-width: 580px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 26px; margin-top: 46px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-badge .num { font-size: 30px; font-weight: 800; color: #fff; }
.hero-badge .lbl { font-size: 13px; color: var(--grey); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Marquee / trust bar ---------- */
.trustbar { background: var(--red); color: #fff; }
.trustbar .container {
  display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center;
  padding: 18px 22px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
}
.trustbar span { display: inline-flex; align-items: center; gap: 10px; }
.trustbar span::before { content: "›"; font-size: 18px; opacity: .8; }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: #fff; border: 1px solid #ececef; border-radius: var(--radius);
  padding: 32px 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0;
  background: var(--red); transition: width .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { width: 100%; }
.service-ico {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--black); color: var(--red);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-ico svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.service-card p { color: #5a5a64; font-size: 15px; margin-bottom: 16px; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.service-card li { font-size: 14px; color: #3a3a42; display: flex; gap: 9px; align-items: flex-start; }
.service-card li::before { content: "✓"; color: var(--red); font-weight: 800; }
.service-card .card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 14px; font-weight: 700; color: var(--red);
}
.service-card .card-link:hover { text-decoration: underline; }

/* ---------- Audience cards ---------- */
.audience { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-radius: var(--radius); overflow: hidden; }
.aud-card { padding: 40px 30px; background: var(--black-2); border-right: 1px solid var(--line); }
.aud-card:last-child { border-right: 0; }
.aud-num { font-size: 14px; font-weight: 800; color: var(--red); letter-spacing: .1em; }
.aud-card h3 { margin: 12px 0 12px; font-size: 22px; }
.aud-card p { color: var(--grey-light); font-size: 15px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-img.tall img { aspect-ratio: 4/5; }
.split h2 { font-size: clamp(26px, 3.5vw, 40px); margin-bottom: 18px; }
.split p { color: #4f4f59; margin-bottom: 16px; font-size: 16px; }
.section-dark .split p { color: var(--grey-light); }
.feature-list { list-style: none; display: grid; gap: 12px; margin: 22px 0 28px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.feature-list .dot {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 6px;
  background: rgba(225,6,0,.12); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px;
}

/* ---------- Experience / palmares ---------- */
/* auto-fit i.p.v. een vast aantal kolommen: het aantal mijlpalen groeit nog
   (racecv), en dit voorkomt een scheve laatste rij bij een oneven aantal. */
.exp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.exp-card {
  background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: left;
}
.exp-card .tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.exp-card h3 { font-size: 19px; margin: 10px 0 6px; }
.exp-card p { color: var(--grey-light); font-size: 14px; }

/* ---------- Parts / process ---------- */
.steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 26px 20px; background: #fff; border: 1px solid #ececef; border-radius: var(--radius); }
.step .n {
  width: 40px; height: 40px; border-radius: 50%; background: var(--black); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px;
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: #5a5a64; }

.parts-types { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.ptype {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  background: var(--black-2);
}
.ptype h4 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.ptype p { color: var(--grey-light); font-size: 14px; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow); border: 1px solid #ececef;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: #2a2a30; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; padding: 13px 14px;
  border: 1.5px solid #d8d8de; border-radius: 9px; background: #fbfbfc; color: #1c1c20;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,6,0,.12); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: #7a7a82; margin-top: 4px; }
.form-success {
  display: none; background: #effaf0; border: 1.5px solid #b6e3bb; color: #1c6b27;
  padding: 16px 18px; border-radius: 10px; font-weight: 600; margin-bottom: 20px;
}
.form-success.show { display: block; }
.form-success.error { background: #fdeceb; border-color: #f2b8b5; color: #8c1d18; }

/* ---------- Contact info ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.info-list { list-style: none; display: grid; gap: 18px; margin-top: 8px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-ico {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 11px; background: var(--red);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.info-ico svg { width: 22px; height: 22px; }
.info-list .lbl { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); }
.info-list .val { font-size: 17px; font-weight: 700; color: #fff; }
.section-light .info-list .val { color: #1c1c20; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--red); color: #fff; text-align: center; padding: 64px 0;
  background-image: repeating-linear-gradient(115deg, transparent 0 60px, rgba(0,0,0,.06) 60px 68px);
}
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; font-size: 17px; opacity: .95; }
.cta-band .btn-dark:hover { background: #000; }

/* ---------- Footer ---------- */
.site-footer { background: #08080a; color: var(--grey-light); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid img.flogo { height: 50px; margin-bottom: 16px; }
.footer-grid p { font-size: 14px; color: var(--grey); }
.footer-col h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--grey-light); transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; transition: .2s;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between;
  font-size: 13px; color: var(--grey);
}
.footer-bottom-row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: var(--grey); }
.footer-legal a:hover { color: #fff; }

/* ---------- Lopende tekst (privacy, voorwaarden e.d.) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(22px, 3vw, 30px); margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p { margin-bottom: 14px; color: #3a3a42; }
.prose ul, .prose ol { margin: 0 0 14px 22px; color: #3a3a42; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.prose .bijgewerkt { color: var(--grey); font-size: 14px; margin-bottom: 36px; }
.prose strong { color: #1c1c20; }

/* ---------- FAQ (native <details>/<summary>, geen JS nodig) ---------- */
.faq-list { max-width: 820px; }
.faq-item {
  border: 1px solid #ececef; border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 52px 20px 22px;
  font-weight: 700; font-size: 16px; color: #1c1c20; position: relative;
  transition: background .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #fafafb; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--red); line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px solid #ececef; }
.faq-item .antwoord { padding: 4px 22px 20px; }
.faq-item .antwoord p { margin-bottom: 0; color: #4f4f59; }
.faq-item .antwoord a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Floating buttons ---------- */
.fab {
  position: fixed; right: 20px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
}
.fab a {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.28); transition: transform .18s;
}
.fab a:hover { transform: scale(1.08); }
.fab .wa { background: #25d366; color: #fff; }
.fab svg { width: 30px; height: 30px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; color: #fff; background: var(--black);
  padding: 96px 0 76px; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(13,13,15,.5), rgba(13,13,15,.85)); }
.page-hero .inner { position: relative; z-index: 2; max-width: 740px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); text-transform: uppercase; margin-bottom: 16px; }
.page-hero p { color: var(--grey-light); font-size: 18px; }
.breadcrumb { font-size: 13px; color: var(--grey); margin-bottom: 18px; letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--red); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .parts-types { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .audience { grid-template-columns: 1fr; }
  .aud-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.rev { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--black); padding: 14px 22px 26px; gap: 4px;
    border-bottom: 1px solid var(--line); transform: translateY(-130%);
    transition: transform .35s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav .btn-red { display: none; }
  .section-pad { padding: 64px 0; }
  .grid-3, .grid-2, .parts-types, .steps, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 82vh; }
  .hero-badges { gap: 18px; }
}

/* ---------- Taalkeuze in de header ---------- */
.taalkeuze { display: flex; gap: 2px; margin-right: 12px; }
.taalkeuze a {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  color: #fff; text-decoration: none; transition: background .15s, border-color .15s;
  border: 1px solid rgba(255,255,255,.35);
}
.taalkeuze a:hover { background: #fff; color: var(--black); border-color: #fff; }
@media (max-width: 900px) { .taalkeuze { margin-right: 6px; } }
