/* =========================================================
   Sparkdigit — design system
   Kleuren: zwart, bordeaux/rood, wit
   ========================================================= */

:root {
  --black: #101010;
  --ink: #1a1a1a;
  --bordeaux: #7b1e2b;   /* diep bordeaux */
  --red: #c8102e;        /* fel accentrood */
  --red-dark: #9b0f23;
  --white: #ffffff;
  --paper: #faf8f7;
  --grey-100: #f1efee;
  --grey-300: #d9d5d2;
  --grey-500: #8a8480;
  --grey-700: #4a4644;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow: 0 10px 40px rgba(16, 16, 16, .08);
  --shadow-lg: 0 24px 70px rgba(16, 16, 16, .16);

  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.25rem; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--tight { padding: clamp(40px, 6vw, 70px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--grey-700); max-width: 56ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); box-shadow: 0 12px 30px rgba(200,16,46,.32); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--bordeaux); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--grey-300); }
.btn--outline:hover { border-color: var(--black); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,247,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--grey-300);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.brand img { width: 38px; height: 38px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-family: var(--font-head); font-weight: 500; font-size: .97rem; color: var(--grey-700); transition: color .15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--black); }
.nav-links a.active { position: relative; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--black); border-radius: 2px; transition: .25s; }
.nav-toggle span + span { margin-top: 6px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 600px at 78% -10%, rgba(200,16,46,.22), transparent 60%), var(--black);
  color: var(--white);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(800px 500px at 70% 0%, #000, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: clamp(60px, 9vw, 120px) 0; }
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--red); }
.hero p { color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 48ch; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05); font-size: .85rem; color: rgba(255,255,255,.85);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(200,16,46,.25); }

.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(330px, 80%); filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--black); }
.stat .num span { color: var(--red); }
.stat .label { color: var(--grey-500); font-size: .92rem; margin-top: 4px; }

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

.card {
  background: var(--white); border: 1px solid var(--grey-300);
  border-radius: var(--radius); padding: 32px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--bordeaux), var(--red)); color: var(--white); margin-bottom: 20px;
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--grey-700); font-size: .98rem; }
.card ul.ticks { margin-top: 16px; display: grid; gap: 8px; }
.card ul.ticks li { position: relative; padding-left: 26px; font-size: .95rem; color: var(--grey-700); }
.card ul.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }

/* ---------- alternating dark band ---------- */
.band-dark { background: var(--black); color: var(--white); }
.band-dark h2 { color: var(--white); }
.band-dark .lead { color: rgba(255,255,255,.72); }
.band-dark .eyebrow { color: var(--red); }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; color: var(--red);
  display: block; margin-bottom: 8px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--grey-700); font-size: .95rem; }
.band-dark .step p { color: rgba(255,255,255,.7); }

/* ---------- CTA band ---------- */
.cta {
  background: radial-gradient(700px 400px at 20% 0%, rgba(200,16,46,.25), transparent 60%), var(--bordeaux);
  color: var(--white); border-radius: var(--radius); padding: clamp(40px, 6vw, 72px); text-align: center;
}
.cta h2 { color: var(--white); margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.85); max-width: 50ch; margin: 0 auto 28px; }

/* ---------- page hero (sub pages) ---------- */
.page-hero { background: var(--black); color: var(--white); padding: clamp(60px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }
.page-hero .eyebrow { color: var(--red); }
.page-hero h1 { color: var(--white); margin: 12px 0 16px; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 60ch; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info .item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--grey-300); }
.contact-info .item:last-child { border-bottom: 0; }
.contact-info .ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grey-100); color: var(--red); }
.contact-info .item h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 2px; }
.contact-info .item a, .contact-info .item span { color: var(--grey-700); }

form .field { margin-bottom: 18px; }
form label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .92rem; margin-bottom: 7px; }
form input, form textarea, form select {
  width: 100%; font: inherit; font-size: .98rem; padding: 13px 15px;
  border: 1px solid var(--grey-300); border-radius: var(--radius-sm); background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.15); }
form textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--grey-500); margin-top: 10px; }
.form-status { margin-top: 14px; font-size: .95rem; }

/* ---------- about ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--grey-300); }
.value h3 { margin-bottom: 8px; }
.value p { color: var(--grey-700); font-size: .96rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: var(--white); margin-bottom: 14px; }
.footer-brand p { font-size: .95rem; max-width: 36ch; }
.site-footer h4 { font-family: var(--font-head); color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a { font-size: .95rem; transition: color .15s ease; }
.site-footer ul li a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; }
  .hero-art img { width: 200px; }
  .grid--3, .grid--2, .values, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 72px; left: 0; right: 0; padding: 24px;
    background: var(--paper); border-bottom: 1px solid var(--grey-300);
  }
  .grid--3, .grid--2, .values, .steps, .stats { grid-template-columns: 1fr; }
  .stats { gap: 8px; }
}
