/* ============================================
   ARDUVEX — Design system
   Licht, zakelijk, één accentkleur (merkblauw)
   ============================================ */

:root {
  --color-bg:        #F5F8FE;
  --color-surface:   #FFFFFF;
  --color-soft:      #EAF0FC;
  --color-line:      #E2E8F3;
  --color-ink:       #0E1220;
  --color-text:      #2B3245;
  --color-muted:     #5D667B;
  --color-faded:     #B3BACA;
  --color-primary:   #0A55E6;
  --color-primary-d: #0844BC;
  --color-primary-50:#E8F0FE;
  --color-cyan:      #3FE0EC;
  --color-dark:      #0B1020;
  --color-dark-2:    #141B30;
  --color-on-dark:   #C6CEDF;
  --color-white:     #FFFFFF;

  --font: 'Host Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-sm: 0 1px 2px rgba(14, 18, 32, .04), 0 2px 8px rgba(14, 18, 32, .04);
  --shadow-md: 0 2px 4px rgba(14, 18, 32, .04), 0 12px 32px rgba(14, 18, 32, .08);
  --shadow-lg: 0 30px 80px rgba(8, 20, 60, .18);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1240px;
  --gutter: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--color-ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

::selection { background: var(--color-primary); color: #fff; }

.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 10000;
  background: var(--color-primary); color: #fff;
  padding: 12px 20px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 16px; }

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

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

.section { padding: 128px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--white { background: var(--color-surface); }
.section + .section--flush { padding-top: 0; }

/* Afgeronde "sheet" die over een donkere hero heen schuift */
.sheet {
  position: relative; z-index: 2;
  margin-top: -48px;
  background: var(--color-bg);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* ---------- Typografie ---------- */
.eyebrow {
  position: relative;
  display: inline-block;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.eyebrow::before,
.eyebrow::after {
  content: ''; position: absolute; width: 8px; height: 8px;
  border-color: currentColor; border-style: solid;
}
.eyebrow::before { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.eyebrow::after { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }
.eyebrow--light { color: #8FB4FF; }

.h-display {
  font-size: clamp(40px, 5.2vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.h-section {
  font-size: clamp(32px, 4.4vw, 54px);
  letter-spacing: -0.03em;
}
.h-sub { font-size: clamp(24px, 2.6vw, 32px); }

.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--color-muted); }
.text-muted { color: var(--color-muted); }
.text-primary { color: var(--color-primary); }

.section-head { max-width: 780px; margin: 0 auto 72px; text-align: center; }
.section-head .lead { margin-top: 20px; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head--split {
  max-width: none; text-align: left;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end;
}
.section-head--split .lead { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 16px; font-weight: 600; line-height: 1;
  border: 1.5px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn__arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-d); box-shadow: 0 10px 24px rgba(10, 85, 230, .28); }

.btn--light { background: #fff; color: var(--color-ink); }
.btn--light:hover { background: var(--color-primary-50); }

.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

.btn--outline { color: var(--color-ink); border-color: var(--color-line); background: #fff; }
.btn--outline:hover { border-color: var(--color-ink); }

.btn--small { padding: 11px 18px; font-size: 14px; }
.btn--large { padding: 18px 30px; font-size: 17px; }
.btn--full { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.arrow-circle {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--color-line);
  color: var(--color-ink);
  transition: all .3s var(--ease);
}
.arrow-circle svg { width: 18px; height: 18px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--color-primary);
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Navigatie ---------- */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 1000;
  padding: 0 16px;
  pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  max-width: calc(var(--container) - 16px);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 10px 10px 22px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.nav.scrolled .nav__inner,
.nav-solid .nav__inner {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-color: rgba(14, 18, 32, .06);
  box-shadow: var(--shadow-md);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; letter-spacing: -0.03em; color: #fff; transition: color .35s var(--ease); }
.brand img { width: 30px; height: 30px; }
.nav.scrolled .brand, .nav-solid .brand { color: var(--color-ink); }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-block;
  padding: 10px 14px;
  font-size: 15px; font-weight: 500;
  color: rgba(255, 255, 255, .86);
  border-radius: 12px;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__link.is-current { color: #fff; }
.nav.scrolled .nav__link, .nav-solid .nav__link { color: var(--color-text); }
.nav.scrolled .nav__link:hover, .nav-solid .nav__link:hover { color: var(--color-ink); background: var(--color-soft); }
.nav.scrolled .nav__link.is-current, .nav-solid .nav__link.is-current { color: var(--color-primary); }

.nav__right { display: flex; align-items: center; gap: 8px; }
.nav__cta { margin-left: 10px; }
.nav__cta .btn { padding: 13px 20px; font-size: 15px; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 14px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: rgba(255, 255, 255, .1);
}
.nav__toggle-line { width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav.scrolled .nav__toggle, .nav-solid .nav__toggle { background: var(--color-soft); }
.nav.scrolled .nav__toggle-line, .nav-solid .nav__toggle-line { background: var(--color-ink); }
.nav__toggle.active .nav__toggle-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active .nav__toggle-line:nth-child(2) { opacity: 0; }
.nav__toggle.active .nav__toggle-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background: var(--color-dark);
  color: var(--color-on-dark);
  padding: 176px 0 168px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(10, 85, 230, .45), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(63, 224, 236, .12), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }

.hero__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 28px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.hero__badge-icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--color-primary);
}
.hero__badge-icon svg { width: 14px; height: 14px; }
.hero__badge-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .35); }

.hero .h-display { color: #fff; }
.hero__lead { margin-top: 24px; max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); color: var(--color-on-dark); }
.hero .btn-row { margin-top: 36px; }

.hero__person { display: flex; align-items: center; gap: 14px; margin-top: 40px; font-size: 15px; color: var(--color-on-dark); }
.hero__person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .2); }
.hero__person strong { color: #fff; font-weight: 600; }

/* Collage van projectmockups */
.hero__visual { position: relative; aspect-ratio: 1 / .95; }
.shot {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #26262C;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .1);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot--a { width: 64%; aspect-ratio: 1; top: 0; right: 0; z-index: 1; }
.shot--b { width: 48%; aspect-ratio: 1; bottom: 0; left: 0; z-index: 2; }
.shot--c { width: 36%; aspect-ratio: 1; bottom: -2%; right: 10%; z-index: 3; }

/* ---------- Pagina-hero (subpagina's) ---------- */
.page-hero {
  position: relative;
  background: var(--color-dark);
  padding: 184px 0 136px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 80% at 90% 0%, rgba(10, 85, 230, .42), transparent 70%);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  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: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
  mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.page-hero__content { max-width: 820px; }
.page-hero__title { color: #fff; font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -0.035em; line-height: 1.04; }
.page-hero__subtitle { margin-top: 22px; max-width: 640px; font-size: clamp(17px, 1.5vw, 20px); color: var(--color-on-dark); }
.page-hero--center .page-hero__content { margin: 0 auto; text-align: center; }
.page-hero--full { min-height: 80vh; display: flex; align-items: center; }
.page-hero--center .btn-row { justify-content: center; margin-top: 36px; }
.page-hero--center .page-hero__subtitle { margin-left: auto; margin-right: auto; }

/* ---------- Klanten-strip ---------- */
.clients { padding: 64px 0 24px; }
.clients__label {
  text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--color-muted); margin-bottom: 28px;
}
.clients__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 48px; }
.clients__row span {
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  color: #8E97AA; white-space: nowrap;
}

/* ---------- Dienstenlijst ---------- */
.service-list { border-bottom: 1px solid var(--color-line); }
.service-row {
  display: grid; grid-template-columns: 1.15fr 1fr 48px; gap: 40px; align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--color-line);
}
.service-row__title { font-size: clamp(26px, 3.2vw, 42px); letter-spacing: -0.03em; transition: color .5s var(--ease); }
.service-row__desc { color: var(--color-muted); transition: color .5s var(--ease); max-width: 440px; }
.js .service-row .service-row__title { color: var(--color-faded); }
.js .service-row .service-row__desc { color: var(--color-faded); }
.js .service-row.is-active .service-row__title,
.service-row:hover .service-row__title { color: var(--color-ink) !important; }
.js .service-row.is-active .service-row__desc,
.service-row:hover .service-row__desc { color: var(--color-muted) !important; }
.js .service-row .arrow-circle { color: var(--color-faded); }
.js .service-row.is-active .arrow-circle { color: var(--color-ink); border-color: var(--color-ink); }
.service-row:hover .arrow-circle { background: var(--color-primary) !important; border-color: var(--color-primary) !important; color: #fff !important; transform: rotate(-45deg); }

/* ---------- Blauw paneel ---------- */
.panel-blue {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--color-primary);
  color: rgba(255, 255, 255, .85);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.panel-blue::before,
.panel-blue::after {
  content: ''; position: absolute; z-index: -1;
  width: 340px; height: 300px; border-radius: 28px;
  transform: skewX(-20deg);
  background: rgba(255, 255, 255, .07);
}
.panel-blue::before { right: 60px; top: -120px; }
.panel-blue::after { right: -60px; bottom: -150px; background: rgba(63, 224, 236, .16); }
.panel-blue h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 12px; }
.panel-blue p { max-width: 560px; }
.panel-blue .eyebrow { color: #fff; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--color-line); }
.stats__item { padding: 36px 28px 0 0; }
.stats__item + .stats__item { padding-left: 28px; border-left: 1px solid var(--color-line); }
.stats__value { font-size: clamp(44px, 5vw, 64px); font-weight: 700; letter-spacing: -0.04em; color: var(--color-ink); line-height: 1; }
.stats__value small { font-size: .6em; color: var(--color-primary); margin-left: 2px; }
.stats__label { display: block; margin-top: 12px; color: var(--color-muted); font-size: 15px; }

/* ---------- Projecten ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-grid--two { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
.work-card { display: block; }
.work-card__media {
  position: relative; overflow: hidden;
  border-radius: var(--radius-md);
  background: #26262C;
}
.work-card__media img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  transition: transform .8s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.035); }
.work-card__body { padding-top: 22px; }
.work-card__tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary); }
.work-card__title { font-size: 24px; margin: 8px 0 8px; }
.work-card__desc { color: var(--color-muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span {
  font-size: 13px; font-weight: 500; color: var(--color-text);
  padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--color-line);
}
.section-cta { display: flex; justify-content: center; margin-top: 64px; }

/* ---------- Werkwijze ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-md);
  padding: 32px 28px;
}
.step__num { font-size: 14px; font-weight: 600; color: var(--color-primary); }
.step__title { font-size: 22px; margin: 40px 0 10px; }
.step p { color: var(--color-muted); font-size: 16px; }

/* ---------- Kaarten (algemeen) ---------- */
.card {
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-md);
  padding: 36px;
}
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-primary-50); color: var(--color-primary);
  margin-bottom: 28px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--color-muted); font-size: 16px; }

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

/* ---------- Oprichter ---------- */
.founder { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.founder__photo {
  width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
  border-radius: var(--radius-lg);
}
.founder__role { font-weight: 600; color: var(--color-primary); margin: 12px 0 24px; }
.founder__body p + p { margin-top: 16px; }
.founder__body .btn-row { margin-top: 32px; }
.founder__body p { color: var(--color-muted); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-md);
  padding: 36px;
}
.quote__stars { color: var(--color-primary); letter-spacing: 3px; font-size: 15px; }
.quote__text { margin: 20px 0 32px; color: var(--color-ink); font-size: 17px; line-height: 1.6; flex: 1; }
.quote__author { display: flex; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid var(--color-line); }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-primary-50); color: var(--color-primary); font-weight: 700; font-size: 14px;
}
.quote__author strong { display: block; color: var(--color-ink); font-size: 16px; line-height: 1.3; }
.quote__author span { color: var(--color-muted); font-size: 14px; }

/* ---------- Afsluitende CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--color-dark);
  border-radius: var(--radius-lg);
  padding: 96px 64px;
  text-align: center;
  color: var(--color-on-dark);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 90% at 50% 120%, rgba(10, 85, 230, .55), transparent 70%);
}
.cta-band h2 { color: #fff; font-size: clamp(32px, 4.4vw, 56px); max-width: 820px; margin: 0 auto; }
.cta-band p { max-width: 580px; margin: 20px auto 0; font-size: 18px; }
.cta-band .btn-row { justify-content: center; margin-top: 36px; }

/* ---------- Diensten-detail ---------- */
.service-detail {
  display: grid; grid-template-columns: 5fr 7fr; gap: 72px;
  padding: 88px 0;
  border-top: 1px solid var(--color-line);
  scroll-margin-top: 100px;
}
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail__intro { position: sticky; top: 120px; align-self: start; }
.service-detail__num { font-size: 14px; font-weight: 600; color: var(--color-primary); }
.service-detail__title { font-size: clamp(30px, 3.4vw, 44px); margin: 14px 0 18px; }
.service-detail__intro p { color: var(--color-muted); }
.service-detail__intro .btn { margin-top: 32px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.checklist li { position: relative; padding-left: 34px; color: var(--color-text); font-size: 16px; line-height: 1.5; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--color-primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A55E6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.service-detail__card h3 { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 28px; }

/* ---------- Twee kolommen tekst ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; }
.prose p { color: var(--color-muted); font-size: 18px; }
.prose p + p { margin-top: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact-intro { margin-top: 14px; }
.contact-info__items { margin-top: 36px; display: grid; gap: 4px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--color-line); }
.contact-item:first-child { border-top: 1px solid var(--color-line); }
.contact-item__icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-primary-50); color: var(--color-primary);
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item strong { display: block; color: var(--color-ink); font-weight: 600; }
.contact-item p, .contact-item a { color: var(--color-muted); }
.contact-item a:hover { color: var(--color-primary); }
.socials { display: flex; gap: 10px; margin-top: 32px; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--color-line); background: #fff;
  font-size: 15px; font-weight: 500; color: var(--color-ink); transition: border-color .25s;
}
.socials a:hover { border-color: var(--color-ink); }
.socials svg { width: 16px; height: 16px; }

.form-card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 28px; margin-bottom: 8px; }
.form-card > p { color: var(--color-muted); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--color-ink); margin-bottom: 8px; }
.required { color: var(--color-primary); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--color-ink);
  background: var(--color-bg);
  border: 1.5px solid var(--color-line);
  border-radius: 12px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D667B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 44px;
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #98A1B3; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; background: #fff; border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(10, 85, 230, .12);
}
.form-error { display: block; color: #D92D20; font-size: 13px; margin-top: 6px; min-height: 0; }
.form-error:empty { display: none; }
.form-message { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.form-message.success { background: #ECFDF3; color: #067647; border: 1px solid #ABEFC6; }
.form-message.error { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }
.btn__loader svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card__media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate;
  background: var(--color-primary);
  display: flex; align-items: flex-end; padding: 22px;
}
.blog-card__media::before,
.blog-card__media::after {
  content: ''; position: absolute; z-index: -1; width: 60%; height: 80%; border-radius: 18px; transform: skewX(-20deg);
}
.blog-card__media::before { right: -6%; top: -20%; background: rgba(255, 255, 255, .1); }
.blog-card__media::after { right: 14%; bottom: -40%; background: rgba(63, 224, 236, .2); }
.blog-card__media span { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.blog-card:nth-child(3n+2) .blog-card__media { background: var(--color-dark); }
.blog-card:nth-child(3n+3) .blog-card__media { background: var(--color-primary-d); }
.blog-card__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card__date { font-size: 14px; color: var(--color-muted); }
.blog-card__title { font-size: 22px; line-height: 1.25; margin: 10px 0 12px; }
.blog-card__title a:hover { color: var(--color-primary); }
.blog-card__excerpt { color: var(--color-muted); font-size: 16px; flex: 1; margin-bottom: 20px; }

.article-meta { display: flex; gap: 14px; align-items: center; color: var(--color-on-dark); font-size: 15px; margin-top: 24px; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.article-back { display: flex; width: fit-content; gap: 8px; color: var(--color-on-dark); font-size: 15px; margin-bottom: 28px; transition: color .2s; }
.article-back:hover { color: #fff; }
.article-content { font-size: 18px; line-height: 1.75; color: var(--color-text); }
.article-content p { margin-bottom: 22px; }
.article-content h2 { font-size: 28px; margin: 48px 0 16px; }
.article-content h3 { font-size: 22px; margin: 36px 0 12px; }
.article-content ul { list-style: disc; padding-left: 22px; margin-bottom: 22px; }
.article-content a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.article-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--color-line); }
.article-share { display: flex; align-items: center; gap: 14px; color: var(--color-muted); font-size: 15px; }
.article-share__links { display: flex; gap: 8px; }
.article-share a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-line); background: #fff;
  display: inline-flex; align-items: center; justify-content: center; color: var(--color-ink); transition: all .2s;
}
.article-share a:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.article-share svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--color-dark); color: var(--color-on-dark); padding: 96px 0 32px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.footer .brand { color: #fff; }
.footer__desc { margin-top: 20px; max-width: 340px; font-size: 15px; color: #8C96AD; }
.footer__heading { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 20px; }
.footer__links li + li { margin-top: 12px; }
.footer__links a, .footer__links li { font-size: 15px; color: #8C96AD; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__socials { display: flex; gap: 10px; margin-top: 28px; }
.footer__socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .14); color: #fff; transition: all .2s;
}
.footer__socials a:hover { background: #fff; color: var(--color-dark); }
.footer__socials svg { width: 16px; height: 16px; }
.footer__wordmark {
  margin: 72px 0 8px;
  font-size: clamp(80px, 21vw, 300px);
  font-weight: 700; letter-spacing: -0.06em; line-height: .78;
  color: #fff;
  user-select: none;
}
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px; color: #8C96AD;
}
.footer__bottom-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__bottom-links a:hover { color: #fff; }

/* ---------- Zwevende CTA ---------- */
.float-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  box-shadow: 0 14px 34px rgba(10, 85, 230, .35);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .25s;
}
.float-cta.visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Reveal-animaties ---------- */
/* Boven de vouw: pure CSS, start direct bij eerste weergave (wacht niet op JS) */
.hero .animate-in,
.page-hero .animate-in {
  animation: fadeUp .55s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Onder de vouw: subtiele fade-in bij scrollen */
.js .animate-in:not(.hero .animate-in):not(.page-hero .animate-in) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .animate-in.is-visible { opacity: 1 !important; transform: none !important; }

.js .reveal-words .w {
  display: inline-block;
  opacity: 0; filter: blur(6px); transform: translateY(8px);
  transition: opacity .5s var(--ease), filter .5s var(--ease), transform .5s var(--ease);
}
.js .reveal-words.is-visible .w { opacity: 1; filter: none; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-in, .js .animate-in, .js .reveal-words .w { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; animation: none !important; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1100px) {
  .nav__link { padding: 10px 10px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; width: 100%; margin: 8px auto 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .section { padding: 96px 0; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__menu {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 4px;
    padding: 100px 28px 40px;
    background: var(--color-bg);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav__menu.active { opacity: 1; visibility: visible; }
  .nav__menu .nav__link { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--color-ink) !important; padding: 12px 0; background: none !important; }
  .nav__menu .nav__link.is-current { color: var(--color-primary) !important; }
  .nav__menu-cta { display: block !important; margin-top: 24px; }
  .nav.menu-open .nav__inner { background: transparent; box-shadow: none; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.menu-open .brand { color: var(--color-ink); }
  .nav.menu-open .nav__toggle { background: var(--color-soft); }
  .nav.menu-open .nav__toggle-line { background: var(--color-ink); }

  .section-head--split, .split, .founder, .contact-grid, .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail__intro { position: static; }
  .service-row { grid-template-columns: 1fr 48px; gap: 12px 24px; }
  .service-row__desc { grid-column: 1; grid-row: 2; }
  .service-row .arrow-circle { grid-column: 2; grid-row: 1 / span 2; }
  .panel-blue { grid-template-columns: 1fr; padding: 48px 36px; }
  .work-grid, .blog-grid, .quotes, .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats__item:nth-child(n+3) { margin-top: 32px; border-top: 1px solid var(--color-line); }
  .founder__photo { max-width: 420px; }
}

@media (min-width: 961px) {
  .nav__menu-cta { display: none; }
}

@media (max-width: 768px) {
  .float-cta { display: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .sheet { margin-top: -32px; border-radius: 28px 28px 0 0; }
  .nav { top: 10px; padding: 0 10px; }
  .nav__inner { padding: 8px 8px 8px 16px; }
  .hero { padding: 132px 0 120px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero__badge-sep { display: none; }
  .page-hero { padding: 140px 0 104px; }
  .work-grid, .work-grid--two, .blog-grid, .quotes, .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .card, .quote { padding: 28px; }
  .panel-blue { padding: 40px 24px; }
  .cta-band { padding: 64px 24px; }
  .cta-band .btn-row .btn { flex: 1 1 100%; }
  .stats__item, .stats__item + .stats__item { padding: 28px 12px 0 0; }
  .stats__item:nth-child(even) { padding-left: 16px; }
  .footer { padding-top: 72px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__wordmark { margin-top: 56px; }
  .clients__row { gap: 14px 28px; }
  .clients__row span { font-size: 17px; }
  .service-row { padding: 28px 0; }
  .arrow-circle { width: 42px; height: 42px; }
}
