:root {
  --sand: #f4efe6;
  --paper: #fffdf8;
  --ink: #172326;
  --muted: #4d5b5d;
  --petrol: #0e5964;
  --petrol-dark: #09454e;
  --blue: #2557d6;
  --blue-dark: #1947be;
  --line: #d8cfc0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }

.site-header {
  width: min(1392px, calc(100% - 48px));
  height: 92px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.brand { font-size: clamp(1.55rem, 2.2vw, 2.35rem); font-weight: 800; letter-spacing: -0.045em; }
nav { display: flex; gap: clamp(28px, 4vw, 62px); font-size: 1.05rem; font-weight: 600; }
nav a { position: relative; padding: 10px 0; }
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: var(--petrol);
  transition: right 180ms ease-out;
}
nav a:hover::after, nav a:focus-visible::after { right: 0; }
nav .language-link { color: var(--blue); font-weight: 750; }

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 56fr) minmax(430px, 44fr);
  overflow: hidden;
}
.hero-copy {
  align-self: center;
  padding: 76px clamp(24px, 5vw, 86px) 74px max(24px, calc((100vw - 1392px) / 2));
  position: relative;
  z-index: 2;
  animation: rise 420ms ease-out both;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--petrol);
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  font-weight: 700;
  margin: 0 0 48px;
}
.eyebrow span { display: block; width: 58px; height: 3px; background: var(--petrol); }
h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(3rem, 5.25vw, 5.25rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 800;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 54px; }
.button {
  min-height: 66px;
  padding: 0 30px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 1.08rem;
  font-weight: 650;
  transition: transform 180ms ease-out, background 180ms ease-out, color 180ms ease-out;
}
.button-primary { background: var(--blue); color: white; box-shadow: 0 14px 34px rgba(37, 87, 214, .18); }
.button-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.button-primary:hover svg { transform: translateX(4px); }
.button-primary svg { transition: transform 180ms ease-out; }
.button-secondary { border: 2px solid var(--petrol); color: var(--petrol); background: rgba(255,255,255,.24); }
.button-secondary:hover { background: #e5efef; transform: translateY(-2px); }
.proof { display: flex; align-items: center; gap: 13px; margin: 52px 0 0; font-size: clamp(.95rem, 1.2vw, 1.08rem); font-weight: 550; }
.proof span { width: 31px; height: 31px; border-radius: 50%; background: var(--petrol); color: white; display: grid; place-items: center; font-weight: 800; }

.portrait-wrap { position: relative; min-height: 700px; }
.portrait-arch {
  position: absolute;
  inset: 22px 24px 0 0;
  overflow: hidden;
  border-radius: 48% 0 0 0;
  background: #d9dcda;
  animation: fade 520ms ease-out both;
}
.portrait-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 38%; }
.portrait-blue { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--blue); left: -112px; bottom: -148px; }
.portrait-teal { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--petrol); right: -340px; bottom: -40px; }

.section { padding: 130px max(24px, calc((100vw - 1240px) / 2)); scroll-margin-top: 32px; }
.section-intro { display: grid; grid-template-columns: minmax(220px, .7fr) 1.3fr; gap: 50px; align-items: start; }
.section-intro.compact { display: block; }
.section-label { margin: 7px 0 0; color: var(--petrol); font-size: .78rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.section-label::before { content: ""; display: inline-block; width: 38px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 14px; }
h2 { margin: 0; font-size: clamp(2.4rem, 4.5vw, 4.7rem); line-height: 1.03; letter-spacing: -.055em; font-weight: 780; }
h3 { letter-spacing: -.03em; }
.about { background: var(--paper); }
.about-copy { grid-column: 2; margin-top: 65px; max-width: 760px; }
.about-copy > p { color: var(--muted); font-size: 1.08rem; line-height: 1.85; margin: 0 0 22px; }
.about-copy .lead { color: var(--ink); font-size: clamp(1.45rem, 2.5vw, 2.2rem); line-height: 1.42; font-weight: 650; letter-spacing: -.025em; }
.facts { margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.facts div { display: flex; flex-direction: column; gap: 7px; }
.facts strong { color: var(--petrol); font-size: 1.25rem; }
.facts span { color: var(--muted); font-size: .93rem; }

.services { background: var(--sand); }
.services .section-intro { max-width: 800px; margin-bottom: 70px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { min-height: 350px; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.34); display: flex; flex-direction: column; transition: transform 180ms ease-out, border-color 180ms ease-out, background 180ms ease-out; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(14,89,100,.45); background: rgba(255,255,255,.68); }
.service-card > span { color: var(--blue); font-size: .86rem; font-weight: 750; }
.service-card h3 { margin: auto 0 18px; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.12; }
.service-card p { color: var(--muted); line-height: 1.7; margin: 0; }

.experience { background: var(--petrol-dark); color: white; display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.section-intro.light .section-label { color: #7ed7df; }
.section-intro.light > p:last-child { color: #c6d9dc; font-size: 1.05rem; line-height: 1.75; margin: 30px 0 0; max-width: 500px; }
.timeline { border-top: 1px solid rgba(255,255,255,.22); }
.timeline-item { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.timeline-number { color: #7ed7df; font-size: .78rem; font-weight: 750; }
.timeline-role { margin: 0 0 8px; color: #7ed7df; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.timeline h3 { margin: 0 0 13px; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.timeline-item div > p:last-child { color: #c6d9dc; line-height: 1.65; margin: 0; }

.portfolio { background: var(--paper); }
.portfolio .section-intro { max-width: 900px; margin-bottom: 72px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-card { padding: 36px 32px; min-height: 420px; border-top: 4px solid var(--blue); background: var(--sand); display: flex; flex-direction: column; }
.portfolio-category { color: var(--blue); text-transform: uppercase; letter-spacing: .13em; font-weight: 750; font-size: .75rem; margin: 0 0 72px; }
.portfolio-card h3 { font-size: clamp(1.65rem, 2.5vw, 2.25rem); line-height: 1.08; margin: 0 0 20px; }
.portfolio-card > p:not(.portfolio-category) { color: var(--muted); line-height: 1.7; margin: 0 0 30px; }
.portfolio-card ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.portfolio-card li { border: 1px solid var(--line); background: var(--paper); padding: 7px 10px; border-radius: 8px; font-size: .78rem; font-weight: 650; color: var(--petrol); }

.method { background: var(--blue); color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.method .section-label { color: #c7d7ff; }
.method ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.3); }
.method li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.3); }
.method li > span { color: #c7d7ff; font-weight: 750; }
.method strong { display: block; font-size: 1.35rem; margin-bottom: 8px; }
.method li p { color: #dfe7ff; margin: 0; line-height: 1.6; }

.contact { background: var(--sand); display: grid; grid-template-columns: 1.3fr .7fr; gap: 90px; align-items: end; }
.contact h2 { max-width: 840px; margin: 25px 0 28px; }
.contact > div > p:last-child { color: var(--muted); max-width: 700px; font-size: 1.08rem; line-height: 1.75; }
.contact-details { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.contact-link { border-bottom: 2px solid var(--petrol); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--petrol); font-weight: 750; font-size: 1.08rem; transition: color 180ms ease-out, border-color 180ms ease-out; }
.contact-link:hover { color: var(--blue); border-color: var(--blue); }
.contact-link-primary { margin-bottom: 36px; }
.contact-details dl { margin: 0; border-top: 1px solid var(--line); }
.contact-details dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-details dt { color: var(--muted); font-size: .82rem; font-weight: 650; }
.contact-details dd { margin: 0; color: var(--ink); font-size: .92rem; overflow-wrap: anywhere; }
.contact-details dd a { color: var(--petrol); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color 180ms ease-out; }
.contact-details dd a:hover { text-decoration-color: currentColor; }
footer { min-height: 120px; padding: 30px max(24px, calc((100vw - 1240px) / 2)); background: var(--ink); color: white; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
footer .brand { font-size: 1.35rem; }
footer p { margin: 0; color: #b7c0c1; font-size: .9rem; text-align: center; }
footer > a:last-child { justify-self: end; color: #a9cdd1; font-weight: 650; }

a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 5px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 900px) {
  .site-header { height: auto; min-height: 84px; padding: 17px 0; align-items: flex-start; }
  nav { gap: 16px 25px; flex-wrap: wrap; justify-content: flex-end; font-size: .94rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 24px 60px; }
  .portrait-wrap { min-height: 620px; order: 2; }
  .portrait-arch { inset: 0 24px 0 24px; border-radius: 42% 42% 0 0; }
  .portrait-blue, .portrait-teal { display: none; }
  .section { padding-top: 95px; padding-bottom: 95px; }
  .section-intro, .experience, .method, .contact { grid-template-columns: 1fr; }
  .about-copy { grid-column: auto; margin-top: 48px; }
  .service-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }
  .experience, .method, .contact { gap: 58px; }
  .portfolio-card { min-height: 330px; }
  .portfolio-category { margin-bottom: 42px; }
}
@media (max-width: 580px) {
  .site-header { width: calc(100% - 32px); display: block; }
  .brand { display: block; margin-bottom: 10px; }
  nav { justify-content: flex-start; gap: 5px 20px; }
  .hero-copy { padding-top: 56px; }
  .eyebrow { margin-bottom: 32px; gap: 13px; }
  .eyebrow span { width: 35px; }
  h1 { font-size: clamp(2.55rem, 12vw, 3.7rem); }
  .hero-actions { margin-top: 38px; }
  .button { width: 100%; justify-content: space-between; }
  .proof { align-items: flex-start; line-height: 1.5; }
  .proof span { flex: 0 0 31px; }
  .portrait-wrap { min-height: 500px; }
  .section { padding: 78px 20px; }
  .facts { grid-template-columns: 1fr; }
  .facts div { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .service-card, .portfolio-card { padding: 27px 24px; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer p { text-align: left; }
  footer > a:last-child { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Definitieve mobiele fotofix: decoratieve bollen mogen het portret niet bedekken. */
@media (max-width: 900px) {
  .portrait-blue,
  .portrait-teal {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
  }
}
