:root {
  --ink: #10212b;
  --muted: #5c6971;
  --navy: #05233c;
  --deep: #071622;
  --blue: #12668d;
  --teal: #22c4bc;
  --teal-dark: #0f8f8f;
  --green: #3d8f74;
  --gold: #c69a42;
  --paper: #fbfbf7;
  --mist: #eef7f5;
  --line: #d9e6e4;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(8, 28, 46, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  width: min(100% - 40px, 1180px);
  min-height: 92px;
  margin: 0;
  padding: 14px 0;
  color: var(--white);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  transform: translateX(-50%);
}

.site-header.is-scrolled {
  top: 12px;
  width: min(100% - 64px, 980px);
  min-height: 58px;
  padding: 4px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(217, 230, 228, 0.9);
  box-shadow: 0 16px 42px rgba(8, 28, 46, 0.12);
}

.site-header.is-scrolled .brand img {
  width: 170px;
  height: 44px;
}

.brand img,
.footer-brand img {
  width: 250px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.brand img {
  filter: drop-shadow(0 12px 22px rgba(0, 18, 34, 0.2));
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 750;
}

.site-header.is-scrolled .nav {
  color: var(--muted);
  gap: 6px 16px;
  font-size: 0.86rem;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--teal);
}

.site-header.is-scrolled .nav a:hover,
.footer-links a:hover {
  color: var(--teal-dark);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: var(--blue);
}

.site-header:not(.is-scrolled) .nav-cta {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(18, 102, 141, 0.24);
}

.hero {
  position: relative;
  min-height: 76svh;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(3, 14, 25, 0.96) 0%, rgba(3, 14, 25, 0.84) 36%, rgba(3, 14, 25, 0.24) 78%),
    linear-gradient(180deg, rgba(2, 12, 20, 0.12), rgba(2, 12, 20, 0.5)),
    url("assets/water-infrastructure-hero.png");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 154px 0 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.mission-band .eyebrow {
  color: #8ff0e8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: 5.1rem;
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.35rem;
  line-height: 1.03;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.24rem;
  line-height: 1.22;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 960px;
  margin: 54px 0 0;
}

.hero-facts article {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-facts strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-weight: 850;
}

.hero-facts span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
}

.client-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100% - 40px, 1180px);
  margin: -26px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(8, 28, 46, 0.08);
}

.client-strip span {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  color: var(--navy);
  border-right: 1px solid var(--line);
  font-weight: 850;
}

.client-strip span:last-child {
  border-right: 0;
}

.section {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 104px 0;
}

#diensten,
#formules,
#werkwijze,
#missie,
#contact {
  scroll-margin-top: 126px;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 760px;
}

.section-heading p,
.risk-copy p,
.mission-copy p,
.contact-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.11rem;
}

.service-grid,
.formula-grid,
.timeline {
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid article,
.formula-card,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-grid article {
  min-height: 310px;
  padding: 26px;
}

.service-number {
  display: block;
  margin-bottom: 42px;
  color: var(--teal-dark);
  font-weight: 850;
}

.service-grid p,
.formula-card p,
.formula-card li,
.timeline p,
.risk-list span,
.mission-points span {
  color: var(--muted);
}

.risk-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: 70px;
  align-items: start;
}

.risk-list {
  display: grid;
  gap: 12px;
}

.risk-list article {
  min-height: 98px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 20px 22px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--mist);
}

.risk-list strong {
  color: var(--navy);
  font-size: 1.04rem;
}

.formula-section,
.workflow-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
}

.formula-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.formula-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.formula-card {
  min-height: 460px;
  padding: 34px;
}

.formula-label {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 10px;
  color: var(--navy);
  background: var(--mist);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.formula-card h3 {
  max-width: 520px;
  font-size: 2rem;
}

.formula-card ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.formula-card li {
  position: relative;
  padding-left: 24px;
}

.formula-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.formula-card.featured {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(18, 102, 141, 0.94), rgba(5, 35, 60, 0.98)),
    var(--navy);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.formula-card.featured .formula-label {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
}

.formula-card.featured h3,
.formula-card.featured p,
.formula-card.featured li {
  color: var(--white);
}

.formula-card.featured p,
.formula-card.featured li {
  color: rgba(255, 255, 255, 0.76);
}

.formula-card.featured li::before {
  background: var(--teal);
}

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

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline article {
  min-height: 290px;
  padding: 26px;
}

.timeline span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 850;
}

.mission-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: 62px;
  align-items: center;
  width: min(100% - 40px, 1180px);
  margin: 104px auto;
  padding: 54px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(5, 35, 60, 0.96), rgba(18, 102, 141, 0.92)),
    var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mission-band h2,
.mission-band p,
.mission-points strong,
.mission-points span {
  color: var(--white);
}

.mission-copy p,
.mission-points span {
  color: rgba(255, 255, 255, 0.76);
}

.mission-points {
  display: grid;
  gap: 12px;
}

.mission-points div {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.55fr);
  gap: 64px;
  align-items: start;
  width: min(100% - 40px, 1180px);
  margin: 0 auto 90px;
  padding: 0 0 26px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(8, 28, 46, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  resize: vertical;
}

.contact-form textarea {
  min-height: 118px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 4px rgba(34, 196, 188, 0.14);
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
  color: var(--muted);
  font-weight: 750;
}

@media (max-width: 1080px) {
  .site-header,
  .risk-section,
  .mission-band,
  .contact-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .nav,
  .footer-links {
    justify-content: flex-start;
  }

  .hero-inner {
    padding-top: 72px;
  }

  h1 {
    font-size: 4.1rem;
  }

  h2 {
    font-size: 2.85rem;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .client-strip span {
    border-bottom: 1px solid var(--line);
  }

  .client-strip span:nth-child(3n) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero-inner,
  .client-strip,
  .section,
  .mission-band,
  .contact-section,
  .footer {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: auto;
    gap: 14px;
    padding: 14px 0 16px;
  }

  .site-header.is-scrolled {
    top: 8px;
    width: min(100% - 32px, 1180px);
    min-height: auto;
    padding: 7px 12px 10px;
  }

  .site-header.is-scrolled .brand img {
    width: 170px;
    height: 44px;
  }

  .site-header.is-scrolled .nav {
    gap: 5px 11px;
    font-size: 0.84rem;
  }

  .brand img,
  .footer-brand img {
    width: 220px;
    height: 58px;
  }

  .nav {
    justify-content: flex-start;
    gap: 5px 14px;
    font-size: 0.9rem;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: 0;
  }

  .hero-background {
    background-position: 62% center;
  }

  .hero-inner {
    padding: 210px 0 72px;
  }

  h1 {
    font-size: 3rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 2.22rem;
    line-height: 1.07;
  }

  .hero-lead,
  .section-heading p,
  .risk-copy p,
  .mission-copy p,
  .contact-copy p {
    font-size: 1.02rem;
  }

  .hero-actions,
  .hero-facts,
  .service-grid,
  .formula-grid,
  .timeline,
  .client-strip {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    margin-top: 34px;
  }

  .hero-facts article,
  .service-grid article,
  .formula-card,
  .timeline article {
    min-height: auto;
  }

  .client-strip {
    margin-top: -18px;
  }

  .client-strip span,
  .client-strip span:nth-child(3n) {
    min-height: 62px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .client-strip span:last-child {
    border-bottom: 0;
  }

  .section,
  .formula-section,
  .workflow-section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .formula-section,
  .workflow-section {
    padding-inline: 16px;
  }

  .service-number,
  .timeline span {
    margin-bottom: 24px;
  }

  .mission-band {
    gap: 30px;
    margin-top: 74px;
    margin-bottom: 74px;
    padding: 30px;
  }

  .contact-section {
    gap: 28px;
    margin-bottom: 64px;
  }

  .contact-form {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .brand img,
  .footer-brand img {
    width: 205px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.94rem;
  }

  .formula-card h3 {
    font-size: 1.55rem;
  }
}
