:root{
  --bg: #0C0E13;
  --panel: #12151D;
  --panel-2: #161A24;
  --line: #242938;
  --line-soft: #1B1F2B;
  --text: #E8EAF0;
  --text-muted: #99A1B5;
  --text-dim: #656D82;
  --blue: #3B4EAE;
  --blue-bright: #6478E0;
  --green: #3FD69C;
  --radius: 3px;
  --maxw: 1120px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Space Grotesk', 'IBM Plex Sans', sans-serif;
  font-weight:600;
  line-height:1.15;
  margin:0;
  letter-spacing:-0.01em;
}
a{color:inherit;}
p{margin:0;}
.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 28px;
}

/* subtle background grid, referencing infra topology / cluster maps */
.bg-grid{
  position:fixed;
  inset:0;
  z-index:-1;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size:64px 64px;
  background-position:center top;
  -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0) 70%);
  mask-image:linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0) 70%);
}

/* masthead — the logo's real stage */
.masthead{
  background:#F4F5F8;
  border-bottom:1px solid var(--line);
}
.masthead-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  padding:64px 28px;
  flex-wrap:wrap;
}
.masthead-logo{
  height:168px;
  width:auto;
  display:block;
}
.masthead-caption{
  font-family:'Space Grotesk', sans-serif;
  font-size:15.5px;
  line-height:1.5;
  color:#454B60;
  max-width:24ch;
  text-align:right;
  border-left:1px solid #D8DBE4;
  padding-left:28px;
}

/* header */
header{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(12,14,19,0.86);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}
.brand{
  text-decoration:none;
  font-family:'Space Grotesk', sans-serif;
  font-weight:600;
  font-size:16.5px;
  color:var(--text);
  letter-spacing:-0.01em;
}
nav{display:flex; gap:32px; align-items:center;}
nav a{
  text-decoration:none;
  color:var(--text-muted);
  font-size:14.5px;
  transition:color .15s ease;
}
nav a:hover{color:var(--text);}
nav a:focus-visible, .brand:focus-visible, .btn:focus-visible{
  outline:2px solid var(--blue-bright);
  outline-offset:3px;
}
.lang-switch{
  display:flex;
  gap:6px;
  font-size:13px;
  color:var(--text-dim);
  padding-left:16px;
  border-left:1px solid var(--line);
}
.lang-switch a[aria-current="true"]{color:var(--text); pointer-events:none;}

/* hero */
.hero{
  padding:72px 0 80px;
  border-bottom:1px solid var(--line);
}
.hero-inner{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:56px;
  align-items:center;
}
.kicker{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13.5px;
  color:var(--text-dim);
  margin-bottom:22px;
}
.kicker .dot{
  width:7px; height:7px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 3px rgba(63,214,156,0.15);
}
.hero h1{
  font-size:clamp(32px, 4vw, 46px);
  max-width:15ch;
  color:var(--text);
}
.hero p.lead{
  margin-top:22px;
  font-size:17.5px;
  color:var(--text-muted);
  max-width:46ch;
}
.hero-cta{
  margin-top:34px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 20px;
  border-radius:var(--radius);
  font-size:14.5px;
  font-weight:500;
  text-decoration:none;
  border:1px solid transparent;
  transition:background .15s ease, border-color .15s ease;
}
.btn-primary{
  background:var(--blue-bright);
  color:#fff;
}
.btn-primary:hover{background:#7285e8;}
.btn-ghost{
  border-color:var(--line);
  color:var(--text-muted);
}
.btn-ghost:hover{border-color:var(--blue-bright); color:var(--text);}

.diagram-frame{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--panel);
  padding:20px;
}
.diagram-frame svg{display:block; width:100%; height:auto;}
.diagram-label{
  font-size:12.5px;
  color:var(--text-dim);
  margin-top:14px;
  display:flex;
  justify-content:space-between;
}

/* section shared */
section{padding:76px 0;}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:44px;
  padding-bottom:20px;
  border-bottom:1px solid var(--line);
}
.section-head h2{
  font-size:26px;
}
.section-head p{
  color:var(--text-muted);
  font-size:15px;
  max-width:34ch;
  text-align:right;
}

/* services */
.services{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.service{
  background:var(--bg);
  padding:32px;
}
.service .icon{
  width:30px; height:30px;
  color:var(--blue-bright);
  margin-bottom:22px;
}
.service h3{
  font-size:18px;
  margin-bottom:10px;
}
.service p{
  color:var(--text-muted);
  font-size:14.5px;
  max-width:40ch;
}

/* werkwijze */
.steps{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:0;
}
.step{
  padding:0 28px 0 0;
  border-left:1px solid var(--line);
  padding-left:24px;
}
.step:first-child{border-left:none; padding-left:0;}
.step .num{
  font-family:'Space Grotesk', sans-serif;
  font-size:13px;
  color:var(--text-dim);
  display:block;
  margin-bottom:14px;
}
.step h3{font-size:16.5px; margin-bottom:8px;}
.step p{color:var(--text-muted); font-size:14.5px;}

/* contact */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
}
.contact-block h3{
  font-size:14px;
  color:var(--text-dim);
  font-weight:500;
  margin-bottom:16px;
}
address{
  font-style:normal;
  color:var(--text);
  font-size:16px;
  line-height:1.7;
}
.contact-block{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.appointment-note{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:14px;
  padding:6px 12px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  font-size:13px;
  color:var(--text-muted);
}
.appointment-note::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--blue-bright);
  flex-shrink:0;
}
.mail-link{
  display:inline-block;
  margin-top:16px;
  color:var(--blue-bright);
  text-decoration:none;
  font-size:15.5px;
  border-bottom:1px solid transparent;
}
.mail-link:hover{border-bottom-color:var(--blue-bright);}

.legal-table{
  width:100%;
  border-collapse:collapse;
  font-size:14.5px;
}
.legal-table tr{border-bottom:1px solid var(--line-soft);}
.legal-table tr:last-child{border-bottom:none;}
.legal-table td{padding:11px 0; vertical-align:top;}
.legal-table td:first-child{
  color:var(--text-dim);
  width:44%;
}
.legal-table td:last-child{
  color:var(--text);
  font-variant-numeric:tabular-nums;
}

footer{
  border-top:1px solid var(--line);
  padding:28px 0;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
.footer-inner p{
  font-size:13px;
  color:var(--text-dim);
}

@media (max-width: 860px){
  .masthead-inner{padding:40px 28px; gap:22px;}
  .masthead-logo{height:88px;}
  .masthead-caption{
    text-align:left;
    border-left:none;
    padding-left:0;
    border-top:1px solid #D8DBE4;
    padding-top:18px;
    max-width:none;
  }
  .hero-inner{grid-template-columns:1fr;}
  .services{grid-template-columns:1fr;}
  .steps{grid-template-columns:1fr; gap:24px;}
  .step{border-left:none; padding-left:0; padding-bottom:20px; border-bottom:1px solid var(--line);}
  .step:last-child{border-bottom:none;}
  .contact-grid{grid-template-columns:1fr; gap:40px;}
  .section-head{flex-direction:column; align-items:flex-start;}
  .section-head p{text-align:left;}
  nav{display:none;}
}

@media (prefers-reduced-motion: reduce){
  .pulse{animation:none !important;}
}
.pulse{
  animation:pulse 2.6s ease-in-out infinite;
  transform-origin:center;
}
@keyframes pulse{
  0%, 100%{ opacity:1; }
  50%{ opacity:0.35; }
}
