.home-v4 {
  --home-yellow: #ffb800;
  --home-cream: #fff9e7;
  --home-ink: #101113;
  --home-muted: #5d6067;
  --home-line: #e9e5da;
}

.contact-strip { background: #0d0e10; color: #fff; font-size: 12px; }
.contact-strip-inner { min-height: 34px; display: flex; align-items: center; gap: 22px; }
.contact-strip a { display: inline-flex; align-items: center; gap: 7px; color: #fff; }
.contact-strip-inner > span { margin-left: auto; color: #cacbd0; }
.home-v4 .site-header { top: 0; }
.home-v4 .header-actions { display: none; }
.home-v4 .mobile-quote { white-space: nowrap; }

.home-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #fff8dd 0%, #fffdf5 52%, #fff2bf 100%); }
.home-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(17, 18, 20, .07) 1px, transparent 1px); background-size: 25px 25px; mask-image: linear-gradient(90deg, transparent 36%, #000 100%); }
.home-hero-grid { position: relative; z-index: 1; min-height: 610px; padding-block: 74px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }
.home-hero-copy h1 { max-width: 760px; margin: 18px 0 25px; font-size: clamp(52px, 6vw, 82px); line-height: .98; letter-spacing: -5px; font-weight: 920; text-wrap: balance; }
.home-hero-copy > p { max-width: 690px; margin: 0; color: #34363a; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.68; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.home-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #34363a; font-size: 12px; font-weight: 760; }
.home-proof span::first-letter { color: #176b46; }

.hero-showreel { position: relative; aspect-ratio: 16 / 11; border: 8px solid #fff; border-radius: 34px; background: #18191c; box-shadow: 0 30px 80px rgba(63, 49, 8, .2); overflow: hidden; pointer-events: none; perspective: 1200px; }
.hero-showreel::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: 25px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); pointer-events: none; }
.showreel-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateX(12%) rotateY(-9deg) scale(.92); transform-origin: 85% 50%; transition: opacity .72s ease, transform .85s cubic-bezier(.2,.72,.2,1); }
.showreel-slide.is-active { opacity: 1; transform: translateX(0) rotateY(0) scale(1); z-index: 2; }
.showreel-slide.is-leaving { opacity: 0; transform: translateX(-12%) rotateY(9deg) scale(.94); z-index: 1; }
.showreel-slide img { width: 100%; height: 100%; object-fit: cover; }
.showreel-label { position: absolute; z-index: 5; left: 20px; bottom: 18px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(11,12,14,.84); color: #fff; backdrop-filter: blur(10px); font-size: 10px; font-weight: 850; letter-spacing: 1px; text-transform: uppercase; }
.showreel-label b { width: 8px; height: 8px; border-radius: 50%; background: var(--home-yellow); box-shadow: 0 0 0 4px rgba(255,184,0,.18); }
.showreel-progress { position: absolute; z-index: 5; right: 20px; bottom: 21px; display: flex; gap: 5px; }
.showreel-progress i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.45); transition: .25s; }
.showreel-progress i.is-active { width: 22px; border-radius: 8px; background: var(--home-yellow); }

.home-services { padding: 96px 0 110px; background: #fff; }
.home-heading { margin-bottom: 42px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr); gap: 46px; align-items: end; }
.home-heading h2 { max-width: 790px; margin: 13px 0 0; font-size: clamp(36px, 4vw, 58px); line-height: 1.04; letter-spacing: -2.7px; }
.home-heading > p { margin: 0; max-width: 540px; }
.home-heading > .text-link { justify-self: end; align-self: end; }
.home-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: minmax(224px, auto); gap: 16px; }
.home-service-card { position: relative; overflow: hidden; min-height: 224px; padding: 29px; display: flex; flex-direction: column; border: 1px solid #eee8d8; border-radius: 28px; background: var(--home-cream); transition: transform .28s ease, box-shadow .28s ease, background .3s ease; }
.home-service-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -110px; bottom: -110px; border-radius: 50%; background: rgba(255,255,255,.58); transition: transform .35s ease; }
.home-service-card:hover, .home-service-card:focus-visible { transform: translateY(-7px); box-shadow: 0 25px 55px rgba(25,21,12,.11); outline: none; }
.home-service-card:hover::after, .home-service-card:focus-visible::after { transform: scale(1.45); }
.home-service-card h3 { margin: 16px 0 9px; font-size: clamp(23px,2vw,31px); letter-spacing: -1.2px; }
.home-service-card p { max-width: 620px; margin: 0 0 22px; color: #4e5055; line-height: 1.6; }
.home-service-card b { position: relative; z-index: 2; margin-top: auto; font-size: 13px; }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--home-yellow); color: #111; font-size: 20px; font-weight: 900; }
.card-wide { grid-column: span 2; }
.card-tall { grid-row: span 2; }
.tone-yellow:hover, .tone-yellow:focus-visible { background: linear-gradient(135deg,#fff7d9,#ffe68a); }
.tone-peach:hover, .tone-peach:focus-visible { background: linear-gradient(135deg,#fff7e8,#ffd7bd); }
.tone-green:hover, .tone-green:focus-visible { background: linear-gradient(135deg,#f9f9e5,#cdeec9); }
.tone-purple:hover, .tone-purple:focus-visible { background: linear-gradient(135deg,#fbf0ff,#e3c5eb); }
.tone-blue:hover, .tone-blue:focus-visible { background: linear-gradient(135deg,#f2f8ff,#c8e2fb); }
.tone-rose:hover, .tone-rose:focus-visible { background: linear-gradient(135deg,#fff4f2,#f5ccd0); }
.tone-mint:hover, .tone-mint:focus-visible { background: linear-gradient(135deg,#f3fff8,#c6eddc); }

.business-value-section { padding: 108px 0; background: #f5f5f2; }
.business-value-grid { display: grid; grid-template-columns: .93fr 1.07fr; gap: 76px; align-items: center; }
.value-visual { position: relative; min-height: 650px; }
.value-main { position: absolute; left: 0; top: 0; width: 92%; height: 64%; object-fit: cover; border-radius: 34px; box-shadow: 0 28px 70px rgba(17,18,20,.16); transform: rotate(-2deg); }
.value-small { position: absolute; right: 0; bottom: 56px; width: 68%; height: 44%; object-fit: cover; border: 9px solid #fff; border-radius: 28px; box-shadow: 0 24px 55px rgba(17,18,20,.19); transform: rotate(2.5deg); }
.value-visual > span { position: absolute; left: 24px; bottom: 0; padding: 12px 17px; border-radius: 999px; background: var(--home-yellow); color: #111; font-size: 12px; font-weight: 900; }
.value-copy h2 { max-width: 690px; margin: 15px 0 30px; font-size: clamp(40px,4.5vw,64px); line-height: 1.02; letter-spacing: -3px; }
.value-list { display: grid; margin-bottom: 30px; }
.value-list article { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 17px 0; border-top: 1px solid #dcdcd5; }
.value-list article:last-child { border-bottom: 1px solid #dcdcd5; }
.value-list article > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; font-size: 12px; font-weight: 900; }
.value-list h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.6px; }
.value-list p { margin: 0; line-height: 1.55; }

.commercial-insight { padding: 96px 0; background: #151618; color: #fff; }
.commercial-insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 84px; align-items: start; }
.commercial-insight h2 { max-width: 760px; margin: 16px 0 0; font-size: clamp(42px,5vw,70px); line-height: 1.01; letter-spacing: -3.5px; }
.commercial-insight p { color: #d0d1d4; font-size: 18px; line-height: 1.75; }
.commercial-insight .button { margin-top: 14px; }

.home-knowledge { padding: 108px 0; }
.home-knowledge-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 20px; }
.knowledge-featured { display: block; width: 100%; aspect-ratio: 1122 / 1402; overflow: hidden; border: 1px solid var(--home-line); border-radius: 30px; background: #f6f2e9; box-shadow: var(--shadow-soft); }
.knowledge-featured > img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.knowledge-stack span { color: var(--home-yellow); font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.knowledge-stack { display: grid; grid-template-rows: repeat(3,minmax(0,1fr)); gap: 16px; }
.knowledge-stack > a { min-height: 192px; display: grid; grid-template-columns: 210px 1fr; overflow: hidden; border: 1px solid var(--home-line); border-radius: 24px; background: #f6f6f3; transition: transform .2s ease, box-shadow .2s ease; }
.knowledge-stack > a:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(17,18,20,.08); }
.knowledge-stack img { width: 100%; height: 100%; object-fit: cover; }
.knowledge-stack div { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.knowledge-stack h3 { margin: 9px 0; font-size: 21px; line-height: 1.14; letter-spacing: -.8px; }
.knowledge-stack b { font-size: 12px; }

.home-process { padding: 104px 0; background: var(--home-cream); }
.home-process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.home-process-grid article { min-height: 260px; padding: 34px; border-radius: 26px; background: #fff; border: 1px solid #ede7d8; }
.home-process-grid article > span { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 46px; border-radius: 50%; background: var(--home-yellow); font-size: 12px; font-weight: 900; }
.home-process-grid h3 { font-size: 25px; }

.home-about { padding: 90px 0; }
.home-about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.home-about h2 { margin: 14px 0 0; font-size: clamp(38px,4vw,58px); line-height: 1.04; letter-spacing: -2.7px; }
.home-about p { font-size: 18px; line-height: 1.75; }

.home-final-cta { padding: 0 4px; }
.home-final-cta-inner { width: min(calc(100% - 8px),1900px); padding: clamp(58px,6vw,92px) max(34px,calc((100vw - 1200px)/2 + 24px)) 120px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 58px; align-items: center; border-radius: 36px; background: var(--home-yellow); }
.home-final-cta-inner h2 { max-width: 750px; margin: 8px 0 12px; font-size: clamp(38px,4vw,58px); line-height: 1.02; letter-spacing: -2.8px; }
.home-final-cta-inner p { max-width: 680px; margin: 0; color: #292a2d; }
.home-final-cta-inner > div:last-child { display: grid; gap: 16px; justify-items: center; font-weight: 800; }

/* De homepage-afsluiting vormt één geheel: CTA boven, footer er strak onder. */
.home-v4 .site-footer { position: relative; width: min(calc(100% - 8px),1900px); margin: -54px auto 0; padding: 72px 0 28px; border-radius: 36px 36px 0 0; background: #0d0e10; color: #fff; }
.home-v4 .site-footer .footer-grid { display: grid; grid-template-columns: minmax(250px,1.35fr) repeat(3,minmax(150px,1fr)); gap: clamp(36px,4.5vw,72px); align-items: start; padding-bottom: 54px; }
.home-v4 .site-footer .footer-brand { grid-column: auto; }
.home-v4 .site-footer .footer-brand .brand { width: fit-content; color: #fff; }
.home-v4 .site-footer .footer-brand p { max-width: 335px; margin: 20px 0 0; color: #b9bbc0; line-height: 1.75; }
.home-v4 .site-footer .footer-title { margin: 7px 0 17px; color: #fff; font-size: 18px; font-weight: 900; letter-spacing: -.4px; }
.home-v4 .site-footer .footer-links { display: grid; gap: 9px; }
.home-v4 .site-footer .footer-links a { display: flex; align-items: baseline; gap: 9px; width: fit-content; padding: 2px 0; color: #e8e8ea; font-size: 14px; line-height: 1.45; transition: color .2s,transform .2s; }
.home-v4 .site-footer .footer-links a::before { content: "•"; color: var(--home-yellow); font-size: 18px; line-height: 1; }
.home-v4 .site-footer .footer-links a:hover { color: var(--home-yellow); transform: translateX(3px); }
.home-v4 .site-footer .footer-links span { margin-top: 5px; color: #9ea1a7; font-size: 12px; line-height: 1.5; }
.home-v4 .site-footer .footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #91949a; font-size: 12px; }

@media (max-width: 1080px) {
  .home-v4 .nav-links { gap: 16px; }
  .home-v4 .nav-links > a:nth-of-type(3) { display: none; }
  .home-hero-grid { gap: 38px; }
  .home-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .card-tall { grid-row: auto; }
  .home-knowledge-grid { grid-template-columns: 1fr; }
  .knowledge-featured { width: min(100%,580px); margin-inline: auto; }
  .knowledge-stack { grid-template-columns: repeat(3,1fr); }
  .knowledge-stack > a { min-height: 350px; grid-template-columns: 1fr; grid-template-rows: 170px 1fr; }
  .home-v4 .site-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .contact-strip-inner > span { display: none; }
  .contact-strip-inner { justify-content: center; }
  .home-v4 .site-header { top: 0; }
  .home-v4 .header-actions { display: flex; }
  .home-v4 .mobile-quote { display: inline-flex; }
  .home-hero-grid { min-height: 0; padding-block: 30px 58px; grid-template-columns: 1fr; gap: 32px; }
  .hero-showreel { grid-row: 1; border-width: 6px; border-radius: 28px; aspect-ratio: 16 / 10; }
  .home-hero-copy { grid-row: 2; }
  .home-hero-copy h1 { font-size: clamp(47px,13vw,72px); letter-spacing: -3.6px; }
  .home-heading, .business-value-grid, .commercial-insight-grid, .home-about-inner { grid-template-columns: 1fr; gap: 28px; }
  .home-heading > .text-link { justify-self: start; }
  .business-value-grid { gap: 48px; }
  .value-visual { min-height: 520px; }
  .commercial-insight-grid { gap: 36px; }
  .knowledge-featured { width: min(100%,560px); }
  .knowledge-stack { grid-template-columns: 1fr; }
  .knowledge-stack > a { min-height: 190px; grid-template-columns: 190px 1fr; grid-template-rows: 1fr; }
  .home-process-grid { grid-template-columns: 1fr; }
  .home-process-grid article { min-height: 0; }
  .home-process-grid article > span { margin-bottom: 28px; }
  .home-final-cta-inner { grid-template-columns: 1fr; }
  .home-final-cta-inner > div:last-child { justify-items: start; }
  .home-v4 .site-footer { margin-top: -44px; padding-top: 62px; }
}

@media (max-width: 580px) {
  .container { width: min(100% - 28px,1200px); }
  .contact-strip-inner { min-height: 36px; gap: 14px; font-size: 11px; }
  .contact-strip-inner a:last-of-type span { max-width: 134px; overflow: hidden; text-overflow: ellipsis; }
  .home-v4 .navbar { min-height: 72px; gap: 8px; }
  .home-v4 .brand { font-size: 18px; }
  .home-v4 .brand img { width: 40px; height: 40px; }
  .home-v4 .header-actions { gap: 6px; }
  .home-v4 .mobile-quote { min-height: 40px; padding: 8px 13px; font-size: 12px; }
  .home-v4 .mobile-toggle { width: 42px; height: 42px; border-radius: 50%; }
  .home-hero-grid { padding-top: 20px; }
  .hero-showreel { aspect-ratio: 4 / 3; border-radius: 24px; }
  .showreel-label { left: 12px; bottom: 11px; font-size: 9px; }
  .showreel-progress { right: 12px; bottom: 14px; }
  .home-hero-copy h1 { margin-top: 13px; font-size: clamp(45px,14.2vw,64px); line-height: .99; letter-spacing: -3.2px; }
  .home-hero-copy > p { font-size: 17px; }
  .home-hero-actions { display: grid; }
  .home-hero-actions .button { width: 100%; }
  .home-proof { display: grid; }
  .home-services, .business-value-section, .home-knowledge, .home-process { padding-block: 78px; }
  .home-heading h2, .value-copy h2, .commercial-insight h2, .home-about h2 { font-size: 39px; letter-spacing: -2px; }
  .home-service-grid { grid-template-columns: 1fr; grid-auto-flow: row; grid-auto-columns: auto; grid-template-rows: auto; gap: 13px; overflow: visible; padding: 0; }
  .home-service-card, .card-wide, .card-tall { grid-column: auto; grid-row: auto; min-height: 255px; }
  .value-visual { min-height: 390px; }
  .value-main { width: 94%; height: 63%; border-radius: 24px; }
  .value-small { bottom: 46px; width: 72%; height: 45%; border-width: 6px; border-radius: 20px; }
  .value-visual > span { left: 8px; bottom: 0; }
  .value-list article { grid-template-columns: 42px 1fr; gap: 12px; }
  .commercial-insight { padding-block: 78px; }
  .commercial-insight p { font-size: 17px; }
  .knowledge-featured { width: 100%; }
  .knowledge-stack > a { grid-template-columns: 1fr; grid-template-rows: 210px auto; min-height: 0; }
  .knowledge-stack h3 { font-size: 18px; }
  .knowledge-stack div { padding: 18px; }
  .home-about { padding-block: 76px; }
  .home-final-cta { padding-inline: 2px; }
  .home-final-cta-inner { width: 100%; padding: 46px 24px 86px; border-radius: 28px; }
  .home-final-cta-inner h2 { font-size: 39px; letter-spacing: -2px; }
  .home-final-cta-inner > div:last-child { width: 100%; }
  .home-final-cta-inner .button { width: 100%; }
  .home-v4 .site-footer { width: calc(100% - 4px); margin-top: -38px; padding: 52px 0 24px; border-radius: 28px 28px 0 0; }
  .home-v4 .site-footer .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 38px; }
  .home-v4 .site-footer .footer-brand p { max-width: 100%; }
  .home-v4 .site-footer .footer-bottom { flex-direction: column; gap: 5px; }
}

@media (max-width: 420px) {
  .home-v4 .contact-strip-inner a:last-of-type { display:none; }
  .home-v4 .contact-strip-inner { justify-content:flex-start; }
  .home-hero-copy h1 { font-size:42px; letter-spacing:-2.5px; }
  .hero-showreel { aspect-ratio:1 / 1; }
  .showreel-label { max-width:72%; white-space:normal; line-height:1.25; }
  .home-heading h2,.value-copy h2,.commercial-insight h2,.home-about h2 { font-size:35px; letter-spacing:-1.7px; }
  .value-visual { min-height:340px; }
  .knowledge-featured { width:100%; }
  .home-final-cta-inner h2 { font-size:35px; }
}

@media (prefers-reduced-motion: reduce) {
  .showreel-slide, .home-service-card, .knowledge-stack > a { transition: none; }
}
