:root {
  --paper: #f3f5f7;
  --paper-alt: #e7ecf1;
  --white: #ffffff;
  --ink: #16232f;
  --muted: #4f5e6b;
  --line: #cbd3da;
  --navy: #0b1f3a;
  --navy-2: #12294a;
  --navy-deep: #081729;
  --navy-line: #26405f;
  --on-navy: #e6ecf2;
  --on-navy-muted: #aebdcc;
  --accent: #00727a;
  --teal: #00a8a8;
  --teal-strong: #008a8a;
  --alert: #e0a526;
  --focus: #e0a526;
  --wrap: 72rem;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 600; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 48rem) {
  .wrap { padding: 0 2rem; }
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-title {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  letter-spacing: -0.02em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Bovenste blok: header + hero op navy */

.top {
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(0, 168, 168, 0.12), transparent 70%),
    var(--navy);
  color: var(--on-navy);
}

.site-header { border-bottom: 1px solid var(--navy-line); }

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.wordmark { display: block; line-height: 0; }
.wordmark img { display: block; height: 3.25rem; width: auto; }

@media (max-width: 30rem) {
  .wordmark img { height: 2.6rem; }
}

.site-header ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav a {
  color: var(--on-navy-muted);
  text-decoration: none;
  font-size: 0.975rem;
}

.site-header nav a:hover { color: var(--white); }

/* Hero */

.hero { padding: 3.5rem 0 0; }

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 60rem) {
  .hero { padding-top: 4.5rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

.hero h1 {
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 18ch;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.lead {
  font-size: 1.1875rem;
  color: var(--on-navy-muted);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.button {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  padding: 0.8rem 1.4rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.15s ease;
}

.button:hover { background: #2fc4c4; }

.link-quiet {
  color: var(--on-navy);
  font-weight: 600;
}

.hero-visual {
  max-width: 30rem;
  width: 100%;
  margin: 0 auto;
}

/* Illustratie: aanvalsoppervlak */

.surface-map { display: block; width: 100%; height: auto; }

.map-rings circle { stroke: #2f4f73; stroke-width: 1; }
.map-rings .ring-outer { stroke-dasharray: 3 6; }

.map-links path { stroke: var(--navy-line); stroke-width: 1.2; }
.map-links .link-alert { stroke: var(--alert); stroke-dasharray: 4 4; opacity: 0.8; }

.map-node circle { fill: var(--navy-2); stroke: var(--teal); stroke-width: 1.4; }
.map-node.node-small circle { stroke: #3d6c8f; }
.map-node .glyph {
  fill: none;
  stroke: var(--on-navy);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.alert-core { fill: var(--navy-2); stroke: var(--alert); stroke-width: 1.8; }
.alert-pulse { fill: none; stroke: var(--alert); stroke-width: 1.5; }
.alert-mark { stroke: var(--alert); stroke-width: 2.2; stroke-linecap: round; fill: none; }

.core-bg { fill: var(--navy-2); stroke: var(--teal); stroke-width: 2; }
.core-pulse { fill: none; stroke: var(--teal); stroke-width: 1.5; }

.map-sweep,
.alert-pulse,
.core-pulse {
  transform-box: view-box;
}

.map-sweep { transform-origin: 240px 240px; }
.core-pulse { transform-origin: 240px 240px; }
.alert-pulse { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  .map-sweep { animation: sweep 10s linear infinite; }
  .core-pulse { animation: pulse 3.2s ease-out infinite; }
  .alert-pulse { animation: pulse 2.4s ease-out infinite; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .map-sweep { transform: rotate(-20deg); }
  .core-pulse, .alert-pulse { display: none; }
}

@keyframes sweep {
  to { transform: rotate(-360deg); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Profielstrook */

.profile {
  display: grid;
  gap: 1.5rem 2rem;
  margin: 3rem 0 0;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--navy-line);
}

@media (min-width: 40rem) {
  .profile { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 60rem) {
  .profile {
    grid-template-columns: 1fr 1fr 1.4fr 1fr;
    margin-top: 4rem;
    padding-bottom: 3.5rem;
  }
}

.profile dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--on-navy-muted);
  margin-bottom: 0.35rem;
}

.profile dt .icon { width: 1.25rem; height: 1.25rem; color: var(--teal); }

.profile dd {
  margin: 0;
  font-weight: 600;
  color: var(--white);
}

.profile dd + dd { margin-top: 0.2rem; }

/* Diensten */

.services { padding: 4rem 0; }

@media (min-width: 60rem) {
  .services { padding: 6rem 0; }
}

.services h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.service-columns {
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 60rem) {
  .service-columns {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.service-group h3 {
  font-size: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 0.5rem;
}

.service {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.25rem 0.75rem 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.service-icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  border-radius: 6px;
  background: var(--paper-alt);
  color: var(--navy);
  stroke-width: 1.5;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.service:hover .service-icon {
  background: var(--navy);
  color: var(--teal);
}

.service h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.3rem;
}

.service p {
  color: var(--muted);
  max-width: 34rem;
}

.services-note {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  max-width: 44rem;
  background: var(--white);
  border-left: 3px solid var(--teal);
}

/* Werkwijze */

.process {
  background: var(--paper-alt);
  padding: 4rem 0;
}

@media (min-width: 60rem) {
  .process { padding: 6rem 0; }
}

.process h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.steps {
  position: relative;
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

/* Verbindingslijn tussen de stappen */
.steps::before {
  content: "";
  position: absolute;
  left: 1.375rem;
  top: 1.375rem;
  bottom: 1.375rem;
  border-left: 2px solid var(--line);
}

@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .steps::before {
    left: 1.375rem;
    right: 1.375rem;
    bottom: auto;
    border-left: 0;
    border-top: 2px solid var(--line);
  }
}

.steps li {
  position: relative;
  counter-increment: step;
  padding-left: 4rem;
}

@media (min-width: 48rem) {
  .steps li { padding-left: 0; }
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 0 0 6px var(--paper-alt);
}

@media (min-width: 48rem) {
  .steps li::before { position: relative; margin-bottom: 1.25rem; }
}

.steps h3 { font-size: 1.125rem; margin-bottom: 0.4rem; padding-top: 0.55rem; }

@media (min-width: 48rem) {
  .steps h3 { padding-top: 0; }
}

.steps p { color: var(--muted); max-width: 22rem; }

/* Nieuws */

.news { padding: 4rem 0; }

@media (min-width: 60rem) {
  .news { padding: 6rem 0; }
}

.news-grid { display: grid; gap: 1.5rem; }

@media (min-width: 60rem) {
  .news-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 5rem;
  }
}

.news h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.news-source { color: var(--muted); }

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--navy);
}

.news-list li {
  padding: 1rem 0 1rem 1rem;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.news-list li:hover {
  border-left-color: var(--teal);
  background: var(--white);
}

.news-list time {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.news-list a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.news-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.news-fallback { color: var(--muted); }

/* Contact */

.contact {
  background: var(--navy);
  color: var(--on-navy);
  padding: 4rem 0 5rem;
}

.contact-grid { display: grid; gap: 1.5rem; }

@media (min-width: 60rem) {
  .contact { padding: 6rem 0 7rem; }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 5rem;
  }
}

.contact h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--white);
}

.contact p { max-width: 36rem; color: var(--on-navy-muted); }

.mail {
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 600;
  margin-top: 1.25rem;
  overflow-wrap: anywhere;
}

.contact .mail a { color: var(--teal); }

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: var(--on-navy-muted);
  font-size: 0.9375rem;
  padding: 3rem 0;
}

.footer-grid { display: grid; gap: 2rem; }

@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: 1fr 2fr; gap: 4rem; }
}

.footer-name,
.footer-heading {
  color: var(--on-navy);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.site-footer p { max-width: 40rem; }
.site-footer a { color: var(--teal); }
