:root {
  --ink: #15181c;
  --muted: #69717a;
  --line: #dfe3e6;
  --paper: #f7f7f5;
  --white: #ffffff;
  --accent: #1d8fbd;
  --accent-dark: #126a8d;
  --max: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }

/* Toetsenbordtoegankelijkheid: zichtbare focusring, los van de hover-states. */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
/* Op donkere vlakken (hero, header, expertise, contact, footer) is de accentblauwe ring
   te weinig contrastrijk — daar een witte ring gebruiken. */
.site-header a:focus-visible,
.site-header button:focus-visible,
.hero a:focus-visible,
.expertise a:focus-visible,
.contact a:focus-visible,
.site-footer a:focus-visible {
  outline-color: #ffffff;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: white;
  background: rgba(15,18,21,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
section[id] { scroll-margin-top: 96px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-name { font-size: 20px; font-weight: 760; letter-spacing: .08em; }
.brand-mark { position: relative; width: 28px; height: 28px; display: block; }
.brand-mark span {
  position: absolute; width: 17px; height: 17px; border-top: 4px solid #32a7d7; border-right: 4px solid #32a7d7;
  transform: rotate(45deg);
}
.brand-mark span:nth-child(1) { left: 0; top: 5px; opacity: .65; }
.brand-mark span:nth-child(2) { left: 6px; top: 5px; opacity: .82; }
.brand-mark span:nth-child(3) { left: 12px; top: 5px; }

nav { display: flex; gap: 30px; align-items: center; font-size: 14px; }
nav a { color: rgba(255,255,255,.78); transition: color .2s ease; }
nav a:hover { color: white; }
nav .nav-cta { color: white; border: 1px solid rgba(255,255,255,.38); padding: 8px 15px; border-radius: 3px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  transition: transform .2s ease, opacity .2s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 77% 24%, rgba(29,143,189,.16), transparent 28%),
    linear-gradient(135deg, #101317 0%, #171b20 60%, #111419 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .34;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 85%);
}
.hero-grid::after {
  content: "";
  position: absolute;
  width: 720px; height: 720px;
  right: -170px; top: 80px;
  border: 1px solid rgba(255,255,255,.08);
  transform: rotate(30deg);
  box-shadow: 0 0 0 80px rgba(255,255,255,.015), 0 0 0 160px rgba(255,255,255,.012);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 235px;
  padding-bottom: 150px;
}
.eyebrow, .section-kicker {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow { color: #65c2e8; margin-bottom: 24px; }
.hero h1 {
  font-size: clamp(52px, 7vw, 88px);
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 900px;
  margin: 0 0 30px;
  font-weight: 720;
}
.hero h1 span { color: #aeb6bd; }
.hero-lead {
  max-width: 600px;
  color: #c4cbd0;
  font-size: 19px;
  line-height: 1.65;
  margin: 0;
}
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 13px 18px; border-radius: 3px; font-size: 14px; font-weight: 650;
}
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-dark); }
.button-quiet { border: 1px solid rgba(255,255,255,.25); color: white; }
.button-quiet:hover { border-color: rgba(255,255,255,.5); }
.hero-side-label {
  position: absolute; right: 30px; bottom: 48px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.28);
}

.section { padding: 120px 0; }
.intro { background: white; }
.intro-grid, .expertise-grid, .about-grid {
  display: grid; grid-template-columns: 1fr 2.1fr; gap: 80px;
}
.section-kicker { color: #6b727a; padding-top: 9px; }
h2 {
  margin: 0 0 22px;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: 690;
}
.large { font-size: 20px; line-height: 1.75; color: #4d555d; max-width: 790px; }

.services { background: var(--paper); }
.section-heading {
  display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 55px;
}
.section-heading > p { max-width: 400px; color: var(--muted); margin: 0 0 6px; }
.service-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.service-card {
  min-height: 350px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.35); transition: background .2s ease, transform .2s ease;
}
.service-card:hover { background: white; transform: translateY(-2px); }
.service-number { color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .12em; }
.service-card h3 { font-size: 29px; letter-spacing: -.025em; margin: 62px 0 14px; }
.service-card p { color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags span {
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid #d3d9dd; padding: 5px 8px; color: #626a72;
}

.expertise { background: #171b20; color: white; }
.expertise .section-kicker { color: #65c2e8; }
.expertise p { color: #aeb6bd; max-width: 520px; font-size: 17px; }
.expertise-list { border-top: 1px solid rgba(255,255,255,.14); }
.expertise-list div {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px;
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14);
}
.expertise-list span { font-size: 18px; font-weight: 600; }
.expertise-list small { color: #8f989f; font-size: 13px; }

.about { background: white; }
/* Houdt samenstellingen met een streepje (BIM-consultancy, Revit-modellering, ...) op
   één regel, zodat er nooit "BIM-" alleen aan het einde van een regel blijft staan. */
.nb { white-space: nowrap; }
.about-copy p {
  color: #555e66; font-size: 18px;
  /* Geen max-width: de alinea's lopen door tot dezelfde rechterrand als het
     driekolommenblok eronder (~880px binnen de container van 1380px). */
  text-align: justify;
  /* GEEN automatische woordafbreking. "hyphens: auto" leverde op smalle schermen te veel
     streepjes op (BIM-consul-tancy, verbete-ren, techni-sche), en de begrenzing via
     hyphenate-limit-chars wordt door Safari/iOS niet betrouwbaar toegepast.
     "manual" is de standaardwaarde: er wordt alleen afgebroken bij een streepje dat
     al in het woord zit (Revit-modellering) of bij een expliciete &shy;. */
  -webkit-hyphens: manual;
  hyphens: manual;
}
.about-meta {
  margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 40px;
}
.about-meta div { display: flex; flex-direction: column; gap: 9px; }
.about-meta strong { font-size: 10px; text-transform: uppercase; letter-spacing: .13em; color: var(--accent-dark); }
.about-meta span { font-size: 14px; line-height: 1.6; color: #4d555d; }

.contact { background: var(--accent); color: white; padding: 105px 0 115px; }
.contact .section-kicker { color: rgba(255,255,255,.65); }
.contact-inner { display: grid; grid-template-columns: 1fr 2.1fr; gap: 80px; }
.contact-main { text-align: center; }
.contact-main h2 { max-width: 700px; margin-left: auto; margin-right: auto; }
.contact-main p { max-width: 570px; margin-left: auto; margin-right: auto; color: rgba(255,255,255,.78); font-size: 18px; }
.contact-links { justify-content: center; }
.contact-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 40px; }
.contact-email, .contact-phone {
  display: inline-flex; gap: 18px; align-items: center; margin-top: 22px;
  font-size: clamp(24px, 3vw, 36px); letter-spacing: -.025em; font-weight: 650;
  border-bottom: 1px solid rgba(255,255,255,.55); padding-bottom: 4px;
}
.contact-email:hover, .contact-phone:hover { border-color: white; }
.contact-note { margin: 26px 0 0; color: rgba(255,255,255,.8); font-size: 15px; }

.site-footer { background: #0f1215; color: #8e969d; font-size: 12px; }
.footer-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-brand .brand-name { color: white; font-size: 15px; }
.footer-brand span:last-child { font-size: 11px; color: #717a82; }
.footer-legal { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; color: #8e969d; }
.footer-link { color: #b9c1c8; border-bottom: 1px solid rgba(255,255,255,.22); padding-bottom: 1px; transition: color .2s ease, border-color .2s ease; }
.footer-link:hover { color: white; border-color: rgba(255,255,255,.6); }
.footer-sep { padding: 0 8px; color: #5f686f; }

@media (max-width: 800px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .nav { height: 72px; }
  section[id] { scroll-margin-top: 82px; }

  .nav-toggle { display: flex; }

  nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 49;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #14181c;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  nav .nav-cta { margin-top: 14px; text-align: center; border-color: rgba(255,255,255,.38); }

  .site-header.nav-open nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .hero { min-height: 690px; }
  .hero-inner { padding-top: 185px; padding-bottom: 110px; }
  .hero h1 { font-size: clamp(48px, 14vw, 72px); }
  .hero-lead { font-size: 17px; }
  .section { padding: 80px 0; }
  .intro-grid, .expertise-grid, .about-grid, .contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-heading > p { margin-top: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 28px; }
  .service-card h3 { margin-top: 45px; }
  .about-meta { grid-template-columns: 1fr; }
  .expertise-list div { grid-template-columns: 1fr; gap: 4px; }
  .contact { padding: 80px 0; }
  .footer-inner { padding: 24px 0; align-items: flex-start; flex-direction: column; }
  .footer-legal { align-items: flex-start; text-align: left; }
  .hero-side-label { display: none; }
}

/* Uitvullen ziet er goed uit vanaf een kolombreedte van ongeveer 650px. Daaronder
   ontstaan te grote woordgaten — omdat we afbreekstreepjes vermijden, is links
   uitlijnen daar de betere keuze. Ragged right heeft geen afbreking nodig. */
@media (max-width: 1000px) {
  .about-copy p {
    text-align: left;
    -webkit-hyphens: manual;
    hyphens: manual;
  }
}

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