/* GrafischGemak — gedeelde opmaak. */
@font-face {
  font-family: Geist;
  src: url('assets/geist-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #0d2237;
  --blue: #299df4;
  --blue-text: var(--blue);
  --pale: #edf7fe;
  --muted: var(--navy);
  --line: #d6e2eb;
  --width: 1200px;
  --header-height: 88px;
  --section-space: clamp(78px, 7vw, 108px);
  --section-content-gap: clamp(38px, 3.4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding-top: var(--header-height);
  color: var(--navy);
  background: #fff;
  font-family: Geist, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; font-weight: 650; }
h1 { font-size: clamp(2.75rem, 4.5vw, 4.3rem); }
h2 { font-size: clamp(2rem, 2.9vw, 2.65rem); }
h3 { font-size: 1.45rem; }
p + p { margin-top: 18px; }
.container { width: min(var(--width), calc(100% - 80px)); margin-inline: auto; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 12px 21px;
  border: 1px solid var(--navy);
  border-radius: 99px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
  text-decoration: none;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.button:hover { background: #173d5b; transform: translateY(-1px); }
.button-blue { background: var(--blue); color: var(--navy); border-color: var(--blue); }
.button-blue:hover { background: #63b9fa; border-color: #63b9fa; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.text-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.text-link::after {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  background: currentColor;
  content: '';
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6' d='M3 13 13 3m-7 0h7v7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6' d='M3 13 13 3m-7 0h7v7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.text-link:hover { border-bottom-color: currentColor; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #0877c9; outline-offset: 5px; }
.skip-link { position: absolute; left: 14px; top: -100px; padding: 12px; background: #fff; z-index: 200; }
.skip-link:focus { top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Header */
.site-header {
  display: block !important;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  z-index: 1000;
  visibility: visible !important;
  opacity: 1 !important;
  background: #fff;
  box-shadow: 0 1px 0 rgba(13, 34, 55, .08);
}
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 205px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a:not(.button) { font-size: 14px; font-weight: 550; text-decoration: none; }
.main-nav > a[aria-current=page]:not(.button) { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; }
.nav-button { padding: 10px 18px; font-size: 13px; }
.menu-toggle { display: none; }
.hamburger { width: 24px; height: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.hamburger i { display: block; width: 100%; height: 2px; background: currentColor; border-radius: 3px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded=true] .hamburger i:first-child { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded=true] .hamburger i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded=true] .hamburger i:last-child { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 881px) {
  .site-header { display: block !important; visibility: visible !important; opacity: 1 !important; }
  .main-nav { display: flex !important; }
  .menu-toggle { display: none !important; }
}

/* Homepage opening */
.hero {
  --hero-x: 72%;
  --hero-y: 42%;
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  padding: 72px 0;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 82% 16%, rgba(41,157,244,.065), transparent 34%), #fff;
}
.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle 460px at var(--hero-x) var(--hero-y), rgba(41,157,244,.12), rgba(41,157,244,.045) 44%, transparent 76%);
  content: '';
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); gap: 70px; align-items: center; }
.hero h1 { max-width: 720px; font-size: clamp(3.25rem, 5vw, 5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.01; text-align: left; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--blue-text); }
.hero-copy > p { max-width: 650px; font-size: 17px; margin-top: 28px; line-height: 1.65; }
.hero .button { font-size: 14px; padding: 13px 20px; }
.hero .hero-primary { background: var(--blue); border-color: var(--blue); color: var(--navy); }
.hero .hero-primary:hover { background: #63b9fa; border-color: #63b9fa; }
.hero .hero-secondary { background: #fff; border-color: var(--blue); color: var(--navy); }
.hero .hero-secondary:hover { background: var(--pale); border-color: var(--blue); }

/* Zwevende projectselectie in de homepage-opening. */
.hero-projects { position: relative; width: min(100%, 610px); min-height: 500px; justify-self: end; }
.hero-project { position: absolute; display: block; color: var(--navy); text-decoration: none; }
.hero-project-hofland { top: 3%; left: 0; z-index: 1; width: 78%; transform: rotate(-3deg); }
.hero-project-secondary { right: 0; bottom: 1%; z-index: 2; width: 61%; transform: rotate(4deg); }
.hero-project-surface { display: block; overflow: hidden; border: 1px solid rgba(13,34,55,.13); border-radius: 20px; background: #fff; box-shadow: 0 24px 55px rgba(13,34,55,.14); transition: box-shadow .22s, transform .22s; animation: hero-project-float 8s ease-in-out infinite; }
.hero-project-secondary .hero-project-surface { animation-delay: -4s; animation-duration: 9.5s; }
.hero-project:hover .hero-project-surface, .hero-project:focus-visible .hero-project-surface { transform: translateY(-7px); box-shadow: 0 30px 65px rgba(13,34,55,.19); animation-play-state: paused; }
.hero-project:focus-visible { outline: 3px solid var(--blue); outline-offset: 7px; border-radius: 20px; }
.hero-project-image { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--pale); }
.hero-project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.hero-project-secondary .hero-project-image img { object-fit: cover; }
.hero-project:hover .hero-project-image img { transform: scale(1.025); }
.hero-project-meta { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; background: #fff; }
.hero-project-meta strong { min-width: 0; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.hero-project-meta > span { flex: 0 0 auto; color: var(--blue); font-size: 18px; }
@keyframes hero-project-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }

/* Projecten */
.work-section { padding: var(--section-space) 0; background: var(--navy); color: #fff; }
.work-section h2 { font-weight: 550; }
.work-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.work-heading .button { flex: 0 0 auto; }
.section-intro { margin-top: 14px; font-size: 16px; color: #fff; max-width: 1050px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: var(--section-content-gap); align-items: start; }
.project-card { min-width: 0; }
.project-image { display: block; overflow: hidden; border-radius: 16px; text-decoration: none; background: #fff; aspect-ratio: 4 / 3; }
.work-section .project-image { border: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 44px rgba(13,34,55,.3); }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.project-image:hover img { transform: scale(1.025); }
.project-image:focus-visible { outline-offset: 6px; }
.project-caption { margin-top: 24px; }
.project-caption h3 { font-size: 24px; letter-spacing: -.025em; }
.project-caption h3 a { text-decoration: none; }
.project-caption > p { font-size: 15px; margin-top: 13px; color: #fff; }
.project-caption .text-link { margin-top: 11px; }

/* Diensten — asymmetrisch bento-grid, bewust anders dan de projectkaarten. */
.services-section { padding: var(--section-space) 0; background: var(--pale); }
.services-section h2 { margin-bottom: 0; }
.services-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); grid-template-rows: repeat(2, minmax(220px, auto)); gap: 24px; margin-top: var(--section-content-gap); }
.service { position: relative; overflow: hidden; min-height: 0; border: 1px solid #dce8f1; border-radius: 22px; padding: 34px 36px; display: flex; flex-direction: column; background: #fff; box-shadow: 0 10px 28px rgba(13,34,55,.07); transition: transform .2s, box-shadow .2s; }
.service:first-child { grid-row: 1 / 3; min-height: 500px; padding: 46px; color: #fff; background: var(--navy); }
.service:first-child::after { position: absolute; right: -70px; bottom: -100px; width: 270px; aspect-ratio: 1; border: 45px solid rgba(41,157,244,.22); border-radius: 50%; content: ''; }
.service:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(13,34,55,.11); }
.service h3 { max-width: 94%; font-size: clamp(1.8rem, 3vw, 2.55rem); margin-bottom: 18px; }
.service h3::after { color: var(--navy); content: '.'; }
.service:first-child h3::after { color: #fff; }
.service p { max-width: 540px; color: var(--muted); font-size: 16px; }
.service:first-child p { max-width: 570px; color: #fff; font-size: 18px; }
.service .text-link { position: relative; z-index: 1; margin-top: auto; padding-top: 25px; font-weight: 650; color: var(--navy); align-self: flex-start; }
.service:first-child .text-link { color: #fff; }

/* Over mij */
.about-section { padding: var(--section-space) 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 110px; align-items: center; }
.about-grid h2 { max-width: 530px; margin-bottom: 22px; }
.about-grid p { font-size: 16px; max-width: 575px; }
.about-grid .button { margin-top: 24px; }
.portrait { width: min(100%, 425px); justify-self: end; border-radius: 20px; }

/* Contactstrook */
.contact-band { padding: var(--section-space) 0; background: var(--pale); }
.contact-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.contact-band h2 { font-size: clamp(2rem, 2.8vw, 2.65rem); max-width: 560px; }
.contact-band p { font-size: 17px; margin-top: 23px; max-width: 540px; }
.contact-options h3 { font-size: 18px; letter-spacing: 0; margin-bottom: 22px; }
.contact-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { background: #fff; border-radius: 14px; padding: 25px 21px; display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; min-width: 0; border: 1px solid transparent; transition: border-color .18s, transform .18s; }
.contact-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.contact-card svg { width: 29px; height: 29px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 17px; }
.contact-card strong { font-size: 15px; font-weight: 650; margin-bottom: 7px; }
.contact-card span { font-size: 14px; overflow-wrap: anywhere; }

/* Footer */
.site-footer { padding: 72px 0 32px; background: var(--navy); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 75px; }
.site-footer h2 { font-size: 17px; letter-spacing: 0; margin-bottom: 19px; }
.site-footer a:not(.footer-brand > a) { display: block; text-decoration: none; font-size: 15px; margin-bottom: 4px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { font-size: 15px; color: #fff; }
.footer-link-button {
  display: block;
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  line-height: 1.65;
  text-align: left;
}
.footer-link-button:hover { text-decoration: underline; }
.footer-brand > a { display: block; }
.footer-brand img { width: 225px; margin-top: -15px; margin-left: -10px; }
.footer-brand p { margin-top: 9px; max-width: 350px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  margin-top: 45px;
  padding-top: 0;
  color: #fff;
  font-size: 14px;
}
.footer-bottom a,
.footer-bottom .footer-link-button {
  display: inline-block;
  margin: 0;
  padding-bottom: 1px;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-size: 14px;
  line-height: 1.65;
  text-decoration: none;
}
.footer-bottom a:hover,
.footer-bottom .footer-link-button:hover { opacity: .78; text-decoration: none; }

/* Cookiekeuze */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 180;
  width: min(760px, calc(100% - 36px));
  padding: 18px 20px;
  border: 1px solid var(--blue);
  border-radius: 16px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 14px 40px rgba(13,34,55,.16);
  animation: cookie-banner-in .25s ease-out both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.cookie-banner h2 { margin-bottom: 6px; font-size: 18px; letter-spacing: -.02em; }
.cookie-banner p { max-width: 510px; color: var(--navy); font-size: 14px; line-height: 1.5; }
.cookie-banner p a { text-decoration-color: var(--blue); }
.cookie-actions { display: flex; gap: 8px; }
.cookie-button {
  min-height: 39px;
  padding: 8px 14px;
  border: 1px solid var(--blue);
  border-radius: 99px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}
.cookie-button-primary { background: var(--blue); }
.cookie-button:hover { transform: translateY(-1px); }
@keyframes cookie-banner-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Overzicht en cases */
.page-intro { background: #fff; padding: 44px 0 62px; }
.page-intro > .container { background: var(--pale); border-radius: 26px; padding: 58px 64px; }
.page-intro h1 { max-width: 890px; overflow-wrap: anywhere; }
.page-intro > .container > p { max-width: 700px; margin-top: 24px; font-size: 18px; }
.cases-section { padding: 5px 0 105px; }
.cases-intro { padding: var(--section-space) 0; background: var(--pale); }
.cases-intro > .container { padding: 0; border-radius: 0; background: transparent; }
.cases-intro h1 .accent { color: var(--blue); }
.cases-intro + .cases-section { padding-top: var(--section-space); }
.cases-section .project-image { box-shadow: 0 10px 26px rgba(13,34,55,.08); }
.cases-section .project-caption > p { color: var(--muted); }
.cases-section .project-caption .text-link { color: var(--navy); font-weight: 600; }
.back-link { display: inline-block; text-decoration: none; font-size: 15px; margin-bottom: 25px; }
.back-link:hover { color: var(--blue); }
.case-hero { padding: var(--section-space) 0; background: #fff; }
.case-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(52px, 7vw, 96px); align-items: center; }
.case-hero-copy h1 { max-width: 650px; font-size: clamp(3.2rem, 5.4vw, 5.35rem); font-weight: 800; line-height: .98; letter-spacing: -.05em; overflow-wrap: anywhere; }
.case-hero-copy > p { max-width: 590px; margin-top: 27px; font-size: 18px; }
.case-tags { display: flex; flex-wrap: wrap; align-items: center; margin-top: 29px; }
.case-tags span { font-size: 15px; font-weight: 650; line-height: 1.4; }
.case-tags span + span::before { display: inline-block; width: 20px; height: 2px; margin: 0 13px 4px; background: var(--blue); content: ''; }
.case-hero-copy .button-row { margin-top: 30px; }
.case-hero-visual { margin: 0; scroll-margin-top: calc(var(--header-height) + 24px); }
.case-hero-visual img { width: 100%; border-radius: 0; object-fit: cover; box-shadow: none; }
.case-story-section { padding: var(--section-space) 0; background: #fff; }
.case-story-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(60px, 8vw, 120px); align-items: start; }
.case-story-grid h2, .case-closing-grid h2 { font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 700; }
.case-story-grid p { max-width: 610px; margin-top: 21px; font-size: 17px; }
.case-story-grid p + p, .case-closing-grid > div > p + p { margin-top: 16px; }
.case-checklist { display: grid; gap: 13px; max-width: 610px; margin: 34px 0 0; padding: 0; list-style: none; }
.case-checklist li { position: relative; padding-left: 34px; color: var(--navy); font-size: 17px; font-weight: 650; line-height: 1.45; }
.case-checklist li::before { position: absolute; top: .15em; left: 1px; width: 11px; height: 19px; border-right: 4px solid var(--blue); border-bottom: 4px solid var(--blue); content: ''; transform: rotate(45deg); }
.case-closing-section { padding: var(--section-space) 0 74px; background: var(--pale); color: var(--navy); }
.case-closing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr); gap: clamp(60px, 8vw, 120px); align-items: center; }
.case-closing-grid p { max-width: 650px; margin-top: 24px; color: var(--navy); font-size: 17px; }
.case-contact-cta { padding: 37px 39px; border-radius: 20px; background: var(--navy); }
.case-contact-cta h3 { color: #fff; font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.case-contact-cta p { margin-top: 15px; color: #fff; }
.case-contact-cta .button-row { align-items: center; margin-top: 25px; }
.button-outline-blue { border-color: var(--blue); background: #fff; color: var(--navy); }
.button-outline-blue:hover { border-color: var(--blue); background: var(--blue); color: var(--navy); }
.case-page .site-footer { padding-top: 34px; }

/* Contactpagina */
.contact-page { padding: 92px 0 0; background: var(--pale); }
.contact-intro-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr); gap: clamp(60px, 9vw, 135px); align-items: start; padding-bottom: 90px; }
.contact-title { padding-top: 8px; }
.contact-page h1 { max-width: 620px; font-size: clamp(3.5rem, 5.4vw, 5.3rem); line-height: 1; }
.contact-page h1 .accent { color: var(--blue-text); }
.contact-intro-copy { padding-top: 10px; font-size: 18px; }
.contact-intro-copy > p { max-width: 610px; }
.direct-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.direct-contact-card { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 21px; border: 1px solid rgba(13,34,55,.08); border-radius: 14px; background: #fff; text-decoration: none; transition: border-color .18s, transform .18s; }
.direct-contact-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.direct-contact-card span { min-width: 0; display: flex; flex-direction: column; }
.direct-contact-card strong { font-size: 15px; }
.direct-contact-card small { margin-top: 2px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.direct-contact-card svg { flex: 0 0 auto; width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-form-shell { padding: 70px; border-radius: 48px 48px 0 0; background: #fff; }
.contact-form { min-width: 0; }
.contact-form-heading { margin-bottom: 30px; }
.contact-form-heading h2 { font-size: clamp(2rem, 3.1vw, 3rem); }
.contact-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 26px; }
.contact-field-grid .field-wide { grid-column: 1 / -1; }
.contact-form label { display: block; margin: 0; font-size: 16px; font-weight: 550; }
.contact-form input:not([type=hidden]), .contact-form textarea { display: block; width: 100%; margin-top: 9px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font-size: 16px; box-shadow: 0 3px 8px rgba(13,34,55,.05); }
.contact-form input:not([type=hidden]) { min-height: 56px; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form .contact-field-grid + .button { margin-top: 28px; }
.form-status { font-size: 14px; line-height: 1.6; padding: 13px 15px; margin-bottom: 28px; background: var(--pale); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; }
.form-status[hidden] { display: none; }
.contact-form button:disabled { opacity: 1; cursor: not-allowed; transform: none; }

/* Resultaatvenster: vaste sluitknop, de website scrolt binnen het venster. */
html.result-modal-open { overflow: hidden; }
.result-modal { width: calc(100% - 48px); max-width: 1440px; height: calc(100dvh - 48px); max-height: none; margin: auto; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #fff; color: var(--navy); box-shadow: 0 28px 90px rgba(13,34,55,.3); }
.result-modal::backdrop { background: rgba(13,34,55,.7); backdrop-filter: blur(4px); }
.result-modal-inner { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.result-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.result-modal-header h2 { min-width: 0; font-size: 18px; overflow-wrap: anywhere; }
.result-modal-close { display: inline-flex; align-items: center; justify-content: center; gap: 12px; flex-shrink: 0; min-height: 46px; padding: 6px 16px; border: 0; border-radius: 99px; background: var(--navy); color: #fff; font-size: 14px; }
.result-modal-close span { font-size: 30px; line-height: 1; }
.result-modal-close:hover { background: #184265; }
.result-modal-close:focus-visible, .result-modal-external:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.result-modal-content { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; background: var(--pale); }
.result-modal-content iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.result-modal-content img { width: 100%; height: 100%; object-fit: contain; }
.result-modal-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 20px; padding: 10px 20px; border-top: 1px solid var(--line); font-size: 12px; }
@media (max-width: 600px) {
  .result-modal { width: calc(100% - 16px); height: calc(100dvh - 16px); max-width: none; border-radius: 12px; }
  .result-modal-header { padding: 10px 12px; gap: 10px; }
  .result-modal-header h2 { font-size: 15px; }
  .result-modal-close { padding-inline: 12px; }
  .result-modal-footer { padding: 8px 12px; }
}

/* Compact formulier achter de knop 'Start een project'. */
.project-modal { width: min(620px, calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--navy); box-shadow: 0 28px 90px rgba(13,34,55,.28); }
.project-modal::backdrop { background: rgba(13,34,55,.58); backdrop-filter: blur(4px); }
.project-modal-inner { position: relative; padding: 48px; }
.project-modal-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--pale); color: var(--navy); }
.project-modal-close span::before, .project-modal-close span::after { position: absolute; top: 20px; left: 12px; width: 18px; height: 2px; border-radius: 2px; background: currentColor; content: ''; }
.project-modal-close span::before { transform: rotate(45deg); }
.project-modal-close span::after { transform: rotate(-45deg); }
.project-modal-heading { padding-right: 45px; }
.project-modal-heading h2 { max-width: 450px; font-size: clamp(2.25rem, 5vw, 3.4rem); }
.project-modal-heading p { margin-top: 15px; font-size: 16px; }
.project-modal-form { margin-top: 31px; }
.project-modal-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.project-modal-fields .field-wide { grid-column: 1 / -1; }
.project-modal-form label { font-size: 15px; }
.project-modal-form input:not([type=hidden]), .project-modal-form textarea { min-height: 50px; margin-top: 7px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--navy); box-shadow: none; }
.project-modal-form textarea { min-height: 105px; resize: vertical; }
.project-modal-form .form-status { margin: 20px 0; }
.project-modal-form .button { min-width: 130px; margin-top: 24px; }
.project-modal-inner.is-success { display: flex; min-height: 340px; align-items: flex-start; justify-content: center; }
.project-modal-inner.is-success .project-modal-heading { padding-right: 45px; }
.project-modal-inner.is-success .project-modal-heading p { max-width: 410px; font-size: 18px; }
.project-modal:focus-visible { outline: 0; }
.simple-page { padding: 70px 0 100px; min-height: 60vh; }
.simple-page > .container { background: var(--pale); border-radius: 26px; padding: 60px 64px; }
.simple-page h1 { max-width: 850px; }
.simple-page p { margin-top: 24px; }
.simple-page .button { margin-top: 30px; }

/* 404 */
.error-page { display: flex; min-height: calc(100svh - var(--header-height)); align-items: center; padding: var(--section-space) 0; background: var(--pale); }
.error-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(55px, 9vw, 130px); align-items: center; }
.error-page h1 { max-width: 690px; }
.error-page p { max-width: 640px; margin-top: 25px; font-size: 18px; }
.error-code { color: var(--navy); font-size: clamp(7rem, 16vw, 13rem); font-weight: 700; line-height: .8; letter-spacing: -.08em; }
.error-code span { color: var(--blue); }

/* Tijdelijke pagina tijdens de laatste voorbereidingen voor de lancering. */
.coming-soon-body { min-height: 100svh; padding: 0; overflow-x: hidden; background: var(--navy); color: #fff; }
.coming-soon-main { display: grid; min-height: 100svh; padding: clamp(28px, 5vw, 70px); place-items: center; }
.coming-soon-card { width: min(880px, 100%); min-width: 0; display: grid; gap: clamp(58px, 10vh, 105px); }
.coming-soon-card > img { width: clamp(205px, 25vw, 255px); }
.coming-soon-card h1 { max-width: 760px; color: #fff; font-size: clamp(4rem, 10vw, 8rem); line-height: .9; }
.coming-soon-card h1 span { color: var(--blue); }
.coming-soon-card p { max-width: 630px; margin-top: 30px; color: #fff; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.coming-soon-contact { display: flex; flex-wrap: wrap; gap: 14px 34px; }
.coming-soon-contact a { color: #fff; font-size: 16px; text-decoration-color: var(--blue); text-decoration-thickness: 1px; }

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero-grid { gap: 40px; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); }
  .hero h1 { font-size: clamp(3rem, 5.4vw, 4.25rem); }
  .about-grid { gap: 60px; }
  .contact-band-grid { gap: 38px; }
  .contact-card { padding: 21px 17px; }
  .contact-intro-grid { gap: 50px; }
  .contact-form-shell { padding: 55px; }
  .footer-grid { gap: 45px; }
}

@media (max-width: 880px) {
  :root { --header-height: 78px; --section-space: 82px; --section-content-gap: 40px; }
  .container { width: calc(100% - 40px); }
  .header-inner { position: relative; }
  .brand img { width: 180px; }
  .menu-toggle { display: flex; align-items: center; gap: 12px; border: 0; background: none; color: var(--navy); font-size: 14px; padding: 10px 0 10px 10px; }
  .main-nav { display: none; position: absolute; top: calc(100% + 1px); right: 0; width: min(320px, calc(100vw - 40px)); z-index: 20; flex-direction: column; align-items: stretch; gap: 20px; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: 0 16px 35px rgba(13, 34, 55, .11); }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.button) { font-size: 16px; }
  .hero { min-height: calc(100svh - var(--header-height)); padding: 50px 0 58px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { font-size: clamp(2.65rem, 8.5vw, 4.2rem); }
  .hero-copy > p { font-size: 16px; margin-top: 24px; }
  .hero-projects { width: min(100%, 560px); min-height: 470px; justify-self: center; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .service:first-child { grid-row: auto; min-height: 380px; }
  .service:not(:first-child) { min-height: 260px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .portrait { width: min(370px, 90%); justify-self: center; }
  .contact-band-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { margin-top: 0; }
  .page-intro > .container { padding: 46px 42px; }
  .cases-intro > .container { padding: 0; }
  .case-hero-grid, .case-story-grid, .case-closing-grid { grid-template-columns: 1fr; }
  .case-hero-grid { gap: 48px; }
  .case-story-grid, .case-closing-grid { gap: 48px; }
  .case-contact-cta { padding: 34px; }
  .contact-intro-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 65px; }
  .contact-intro-copy { max-width: 680px; padding-top: 0; }
  .contact-form-shell { padding: 50px; border-radius: 36px 36px 0 0; }
}

@media (max-width: 600px) {
  :root { --section-space: 68px; --section-content-gap: 34px; }
  .hero { min-height: auto; }
  .hero::before { opacity: .72; }
  .hero h1 span { display: inline; }
  .hero h1 .accent::before { content: ' '; }
  .hero-projects { width: 100%; min-height: 370px; }
  .hero-project-hofland { width: 84%; }
  .hero-project-secondary { width: 65%; }
  .hero-project-meta { min-height: 52px; padding: 13px 15px; }
  .hero-project-meta strong { font-size: 14px; }
  .work-section { padding: var(--section-space) 0 74px; }
  .work-heading { align-items: flex-start; flex-direction: column; gap: 22px; }
  .project-grid { grid-template-columns: 1fr; gap: 42px; margin-top: var(--section-content-gap); }
  .project-caption { margin-top: 20px; }
  .services-section { padding: var(--section-space) 0 72px; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; margin-top: var(--section-content-gap); }
  .service, .service:first-child, .service:not(:first-child) { grid-column: auto; min-height: 290px; padding: 28px; }
  .service:first-child { min-height: 350px; }
  .service:first-child p { font-size: 16px; }
  .about-section { padding: var(--section-space) 0 74px; }
  .about-grid p { font-size: 16px; }
  .contact-band { padding: var(--section-space) 0; }
  .contact-band h2 { font-size: 2rem; }
  .contact-band p { font-size: 16px; }
  .contact-card-grid { grid-template-columns: 1fr; }
  .contact-options h3 { font-size: 17px; }
  .site-footer { padding-top: 54px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .site-footer h2 { font-size: 17px; }
  .site-footer a:not(.footer-brand > a), .site-footer p { font-size: 15px; }
  .footer-bottom { margin-top: 34px; }
  .cookie-banner { bottom: 12px; width: calc(100% - 24px); padding: 17px; border-radius: 14px; }
  .cookie-banner-inner { grid-template-columns: 1fr; gap: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-button { flex: 1; }
  .page-intro { padding: 24px 0 48px; }
  .page-intro > .container { border-radius: 19px; padding: 36px 25px; }
  .page-intro h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .page-intro > .container > p { font-size: 16px; }
  .cases-intro { padding: 68px 0; }
  .cases-intro > .container { padding: 0; border-radius: 0; }
  .cases-section { padding-bottom: 68px; }
  .case-hero { padding: 58px 0 68px; }
  .case-hero-copy h1 { font-size: clamp(2.65rem, 12vw, 4.1rem); }
  .case-hero-copy > p { margin-top: 22px; font-size: 16px; }
  .case-hero-grid { gap: 36px; }
  .case-hero-visual img { border-radius: 0; }
  .case-story-grid, .case-closing-grid { gap: 40px; }
  .case-story-grid h2, .case-closing-grid h2 { font-size: clamp(1.9rem, 8vw, 2.35rem); }
  .case-story-grid p, .case-closing-grid p { font-size: 16px; }
  .case-checklist { gap: 11px; margin-top: 27px; }
  .case-checklist li { font-size: 16px; }
  .case-contact-cta { padding: 29px 27px; border-radius: 17px; }
  .case-closing-section { padding-bottom: 50px; }
  .case-page .site-footer { padding-top: 26px; }
  .contact-page { padding: 54px 0 0; }
  .contact-page h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .contact-intro-grid { gap: 28px; padding-bottom: 52px; }
  .contact-intro-copy { font-size: 16px; }
  .direct-contact-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .contact-form-shell { width: 100%; padding: 42px 25px 55px; border-radius: 28px 28px 0 0; }
  .contact-field-grid { grid-template-columns: 1fr; gap: 21px; }
  .contact-field-grid .field-wide { grid-column: auto; }
  .project-modal { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .project-modal-inner { padding: 38px 22px 26px; }
  .project-modal-close { top: 12px; right: 12px; }
  .project-modal-heading { padding-right: 34px; }
  .project-modal-heading h2 { font-size: clamp(2rem, 10vw, 2.7rem); }
  .project-modal-fields { grid-template-columns: 1fr; gap: 15px; }
  .project-modal-fields .field-wide { grid-column: auto; }
  .simple-page { padding: 35px 0 65px; }
  .simple-page > .container { border-radius: 19px; padding: 38px 25px; }
  .simple-page h1 { font-size: 2.8rem; }
  .error-page { min-height: auto; padding: 70px 0; }
  .error-page-grid { grid-template-columns: 1fr; gap: 55px; }
  .error-page p { font-size: 16px; }
  .error-code { grid-row: 1; font-size: clamp(6rem, 35vw, 9rem); }
  .coming-soon-card { gap: 48px; }
  .coming-soon-card h1 { font-size: clamp(3rem, 15vw, 5.8rem); }
}

@media (max-width: 370px) {
  .hero .button-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
