@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
}

:root {
  --navy: #111134;
  --navy-soft: #1d1d4d;
  --orange: #f7941e;
  --orange-hover: #ffa63d;
  --orange-ink: #a85a00;
  --mist: #eef1f7;
  --white: #ffffff;
  --text: #111134;
  --muted: #55597a;
  --line: #d9dde9;
  --on-navy: #ffffff;
  --on-navy-muted: #a9abc6;
  --on-navy-line: rgba(255, 255, 255, 0.14);

  --font: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.25rem + 0.9vw, 1.75rem);
  --step-3: clamp(2rem, 1.45rem + 2.2vw, 3rem);
  --step-4: clamp(2.6rem, 1.6rem + 4vw, 4.75rem);

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1180px;
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --panel-radius: 28px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
p { text-wrap: pretty; }
b, strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 0.75rem 1rem; background: var(--orange); color: var(--navy); font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.75rem 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 1rem/1.2 var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn-small { min-height: 2.5rem; padding: 0.5rem 1.15rem; font-size: 0.9375rem; }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-outline { border-color: rgba(255, 255, 255, 0.35); color: var(--on-navy); }
.btn-outline:hover { border-color: var(--on-navy); }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: var(--on-navy);
  border-bottom: 1px solid var(--on-navy-line);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand img { height: 32px; width: auto; }
.brand-name { font-size: 1.0625rem; letter-spacing: 0.01em; }

.menu { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.menu a:not(.btn) { font-size: 0.9375rem; font-weight: 400; text-decoration: none; color: var(--on-navy-muted); transition: color 0.15s ease; }
.menu a:not(.btn):hover { color: var(--on-navy); }

.menu-toggle {
  display: none; align-items: center; gap: 0.6rem;
  min-height: 2.75rem; padding: 0 0.25rem;
  background: none; border: 0; color: var(--on-navy);
  font: 400 0.9375rem var(--font); cursor: pointer;
}
.menu-icon { display: grid; gap: 4px; }
.menu-icon i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */

.hero {
  background: var(--navy); color: var(--on-navy);
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(4rem, 2rem + 7vw, 8rem);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: center;
}
.hero h1 { font-size: var(--step-4); font-weight: 200; letter-spacing: -0.045em; line-height: 1.02; max-width: 11ch; }
.lead { margin-top: 1.75rem; max-width: 34rem; font-size: var(--step-1); line-height: 1.55; color: var(--on-navy-muted); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }

.clock { width: 100%; max-width: 440px; justify-self: end; }
.clock svg { width: 100%; height: auto; overflow: visible; }
.clock .ring { fill: rgba(255, 255, 255, 0.14); }
.clock .ring.past { fill: rgba(255, 255, 255, 0.5); }
.clock .ring.now { fill: var(--orange); }
.clock .hour { fill: var(--on-navy-muted); font: 400 9px var(--font); letter-spacing: 0.04em; }
.clock .matrix { fill: var(--on-navy); }
.clock .matrix.accent { fill: var(--orange); }
.clock figcaption {
  margin-top: 1.5rem; text-align: center;
  font-size: var(--step--1); color: var(--on-navy-muted); font-variant-numeric: tabular-nums;
}

/* Sections */

.section { padding-block: var(--section); }
.section-mist { background: var(--mist); }

.intro { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.intro h2, .about-copy h2, .contact h2 { font-size: var(--step-3); }
.intro p { margin-top: 1.25rem; font-size: var(--step-1); line-height: 1.55; color: var(--muted); }

/* Diensten */

.services {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 4vw, 4rem); align-items: stretch;
}
.service-main {
  background: var(--navy); color: var(--on-navy);
  border-radius: var(--panel-radius);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex; flex-direction: column;
}
.service-main h3 { font-size: var(--step-3); }
.service-main > p { margin-top: 1.25rem; max-width: 34rem; color: var(--on-navy-muted); font-size: var(--step-1); line-height: 1.55; }
.dots { list-style: none; padding: 0; margin-top: auto; padding-top: 2.5rem; display: grid; gap: 0.9rem; }
.dots li { position: relative; padding-left: 1.6rem; font-weight: 400; }
.dots li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--orange);
}

.service-side { display: grid; align-content: space-between; gap: 2.5rem; }
.service { padding-top: 1.75rem; border-top: 1px solid var(--line); }
.service h3 { font-size: var(--step-2); font-weight: 400; letter-spacing: -0.02em; }
.service p { margin-top: 0.75rem; color: var(--muted); }
.service .terms { margin-top: 1rem; color: var(--text); font-weight: 500; font-size: var(--step--1); }

.more {
  display: inline-block; margin-top: 1rem;
  font-size: var(--step--1); font-weight: 500; color: var(--text);
  text-decoration: underline; text-decoration-color: var(--orange);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.more:hover { color: var(--orange-ink); }

.section-lead { font-size: var(--step-1); line-height: 1.55; color: var(--text); }

/* Software op maat */

.split {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.split-main h2, .care-intro h2 { font-size: var(--step-3); }
.split-main .section-lead, .care-intro .section-lead { margin-top: 1.5rem; max-width: 38rem; }
.split-main p:not(.section-lead), .care-intro p:not(.section-lead) { margin-top: 1.1rem; max-width: 38rem; color: var(--muted); }

.pricing {
  background: var(--white); border-radius: var(--panel-radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.pricing h3 { font-size: var(--step-0); font-weight: 600; letter-spacing: 0; }
.pricing dl { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.pricing dt { font-size: var(--step-1); font-weight: 400; letter-spacing: -0.01em; }
.pricing dd { margin-top: 0.3rem; color: var(--muted); font-size: 0.9375rem; }

.steps-title { margin-top: clamp(3.5rem, 6vw, 5rem); font-size: var(--step-0); font-weight: 600; letter-spacing: 0; }
.steps {
  list-style: none; padding: 0; margin-top: 1.75rem; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem;
}
.steps li { position: relative; counter-increment: step; padding-top: 3.75rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--on-navy); font-weight: 500; font-size: 0.9375rem;
}
.steps li::after {
  content: ""; position: absolute; top: calc(1.25rem - 1px); left: 3.25rem; right: -1.25rem;
  height: 2px; background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps li:last-child::before { background: var(--orange); color: var(--navy); }
.steps strong { display: block; font-size: var(--step-1); font-weight: 400; letter-spacing: -0.01em; }
.steps p { margin-top: 0.4rem; color: var(--muted); font-size: 0.9375rem; }

/* Onderhoud en beheer */

.care {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.care-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.care-list > div { padding-block: 1.75rem; border-top: 1px solid var(--line); }
.care-list dt { font-size: var(--step-1); font-weight: 400; letter-spacing: -0.01em; }
.care-list dd { margin-top: 0.4rem; color: var(--muted); }

/* Waarom 24 */

.always {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.statement { font-size: clamp(2.75rem, 1.5rem + 5vw, 5.5rem); font-weight: 200; letter-spacing: -0.05em; line-height: 1; }
.always-intro p { margin-top: 1.5rem; max-width: 26rem; color: var(--muted); font-size: var(--step-1); line-height: 1.55; }

.promises { display: grid; }
.promises > div {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0.5rem 2rem;
  padding-block: 1.75rem; border-top: 1px solid var(--line);
}
.promises > div:last-child { border-bottom: 1px solid var(--line); }
.promises dt { font-size: var(--step-1); font-weight: 400; letter-spacing: -0.01em; line-height: 1.35; }
.promises dd { color: var(--muted); }

/* Over ons */

.about {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.about-copy h2 { max-width: 16ch; }
.about-copy p { max-width: 36rem; margin-top: 1.25rem; color: var(--muted); }
.about-copy .about-lead { margin-top: 1.75rem; font-size: var(--step-1); line-height: 1.55; color: var(--text); }

.roadmap h3 { font-size: var(--step-0); font-weight: 600; letter-spacing: 0; margin-bottom: 1.75rem; }
.timeline { list-style: none; padding: 0; }
.timeline li { position: relative; padding: 0 0 2rem 2.25rem; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 0.3rem;
  width: 0.9rem; height: 0.9rem; border-radius: 50%;
  background: var(--white); border: 2px solid var(--line);
}
.timeline li::after {
  content: ""; position: absolute; left: calc(0.45rem - 1px); top: 1.5rem; bottom: 0.15rem;
  width: 2px; background: var(--line);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li.is-now::before { background: var(--orange); border-color: var(--orange); }
.timeline .when { display: block; font-size: var(--step--1); font-weight: 500; color: var(--orange-ink); }
.timeline li:not(.is-now) .when { color: var(--muted); }
.timeline strong { display: block; margin-top: 0.15rem; font-size: var(--step-1); font-weight: 400; letter-spacing: -0.01em; }
.timeline p { margin-top: 0.35rem; color: var(--muted); font-size: 0.9375rem; }

.toolbox { margin-top: clamp(3.5rem, 6vw, 5rem); padding-top: clamp(2.5rem, 4vw, 3.5rem); border-top: 1px solid var(--line); }
.toolbox h3 { font-size: var(--step-0); font-weight: 600; letter-spacing: 0; }
.tools {
  list-style: none; padding: 0; margin-top: 1.75rem;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 2.5rem;
}
.tools strong { display: block; font-size: var(--step-1); font-weight: 400; letter-spacing: -0.01em; }
.tools p { margin-top: 0.4rem; color: var(--muted); font-size: 0.9375rem; }

/* Contact */

.contact { background: var(--navy); color: var(--on-navy); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: end;
}
.contact-lead { margin-top: 1.25rem; max-width: 32rem; font-size: var(--step-1); line-height: 1.55; color: var(--on-navy-muted); }
.reach { list-style: none; padding: 0; margin-top: 2.25rem; display: grid; gap: 0.5rem; }
.reach a {
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); font-weight: 300; letter-spacing: -0.02em;
  text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(var(--orange), var(--orange)) left bottom / 100% 1px no-repeat;
  transition: color 0.15s ease;
}
.reach a:hover { color: var(--orange); }
.contact address { font-style: normal; line-height: 1.8; color: var(--on-navy-muted); }
.contact address b { color: var(--on-navy); font-weight: 500; }

/* Footer */

.site-footer {
  background: var(--navy); color: var(--on-navy-muted);
  border-top: 1px solid var(--on-navy-line);
  font-size: var(--step--1); line-height: 1.7;
  padding-block: 2rem 2.25rem;
}
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1rem clamp(2.5rem, 6vw, 6rem);
}
.footer-primary { color: var(--on-navy); }
.registry { display: flex; flex-wrap: wrap; column-gap: 1.5rem; }
.footer-col a {
  text-decoration: underline; text-decoration-color: var(--on-navy-line);
  text-underline-offset: 3px; transition: text-decoration-color 0.15s ease;
}
.footer-col a:hover { text-decoration-color: var(--orange); }

/* 404 */

.page-404 { min-height: 100vh; display: flex; flex-direction: column; background: var(--navy); }
.notfound {
  flex: 1; display: flex; align-items: center;
  background: var(--navy); color: var(--on-navy);
  padding-block: clamp(4rem, 2rem + 8vw, 8rem);
}
.notfound-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: center;
}
.notfound h1 { font-size: var(--step-4); font-weight: 200; letter-spacing: -0.045em; line-height: 1.02; max-width: 12ch; }
.notfound-visual { justify-self: end; width: 100%; max-width: 380px; }
.dots-404 { width: 100%; height: auto; fill: var(--on-navy); }
.dots-404 .accent { fill: var(--orange); }
.notfound-code { margin-top: 1.25rem; font-size: var(--step--1); color: var(--on-navy-muted); }

/* Responsive */

@media (max-width: 1024px) {
  .hero-grid, .services, .about, .contact-grid, .footer-grid, .split, .care { grid-template-columns: minmax(0, 1fr); }
  .notfound-grid { grid-template-columns: minmax(0, 1fr); }
  .notfound-visual { justify-self: start; max-width: 260px; order: -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .steps li:nth-child(2n)::after { display: none; }
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .always { grid-template-columns: minmax(0, 1fr); }
  .clock { justify-self: center; max-width: 360px; }
  .service-side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .contact-grid { align-items: start; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .bar { position: relative; }
  .menu a:not(.btn) { display: none; }
  .js .menu-toggle { display: inline-flex; }
  .js .menu {
    display: none;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--navy); border-bottom: 1px solid var(--on-navy-line);
    box-shadow: 0 24px 32px -16px rgba(17, 17, 52, 0.6);
  }
  .js .menu.is-open { display: flex; }
  .js .menu a:not(.btn) { display: block; padding: 0.9rem 0; font-size: var(--step-0); color: var(--on-navy); border-bottom: 1px solid var(--on-navy-line); }
  .js .menu .btn { margin-top: 1.25rem; min-height: 3rem; }

  .service-side { grid-template-columns: minmax(0, 1fr); }
  .promises > div { grid-template-columns: minmax(0, 1fr); }
  .care-list { grid-template-columns: minmax(0, 1fr); }
  .tools { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .steps li { padding: 0 0 2rem 3.75rem; }
  .steps li::after, .steps li:nth-child(2n)::after { display: block; top: 3rem; bottom: 0.5rem; left: calc(1.25rem - 1px); right: auto; width: 2px; height: auto; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li:last-child::after { display: none; }
  .actions .btn { flex: 1 1 auto; }
  .clock { max-width: 300px; }
}

@media (max-width: 340px) {
  .brand-name { display: none; }
}

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