:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5d6874;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --line: #dce4ea;
  --brand: #0f6f7d;
  --brand-dark: #074b55;
  --action: #d96c21;
  --action-dark: #a94b11;
  --navy: #10283a;
  --good: #1d7a4d;
  --shadow: 0 18px 55px rgba(16, 40, 58, 0.18);
  --radius: 8px;
  --max: 1160px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 46px);
  color: #fff;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 20px rgba(16, 40, 58, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--action);
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.15;
}

.brand small {
  color: currentColor;
  opacity: 0.78;
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  font-weight: 700;
  font-size: 0.93rem;
}

.main-nav a,
.header-call {
  text-decoration: none;
}

.main-nav a {
  opacity: 0.86;
}

.main-nav a:hover {
  opacity: 1;
}

.header-call {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-lekdetectie-amsterdam.png");
  background-size: cover;
  background-position: 52% center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 24, 35, 0.88) 0%, rgba(8, 24, 35, 0.72) 48%, rgba(8, 24, 35, 0.34) 100%),
    linear-gradient(0deg, rgba(8, 24, 35, 0.56) 0%, rgba(8, 24, 35, 0) 36%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 118px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
}

.hero-copy {
  max-width: 780px;
  padding-bottom: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--action);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.title-mobile {
  display: none;
}

.hero-text {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--action);
  color: #fff;
}

.btn-primary:hover {
  background: var(--action-dark);
}

.btn-secondary {
  background: var(--brand);
  color: #fff;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.62);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-full {
  width: 100%;
}

.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 30px 0 0;
}

.trust-row li {
  max-width: 250px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 700;
}

.lead-form {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(18px, 2.6vw, 28px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.form-heading h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.14;
}

.form-heading p:last-child,
.form-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.lead-form label,
.lead-form legend {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: var(--ink);
  font-weight: 900;
  font-size: 0.86rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 111, 125, 0.14);
}

.radio-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 12px;
  margin: 14px 0;
}

.radio-group legend {
  padding: 0 4px;
  margin: 0;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 700;
  color: var(--muted);
}

.radio-group input {
  width: 16px;
  min-height: 16px;
  padding: 0;
}

.lead-output {
  display: block;
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: #eaf6f1;
  color: var(--good);
  font-weight: 800;
  font-size: 0.9rem;
}

.signal-strip {
  width: min(var(--max), calc(100% - 36px));
  margin: -26px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 12px 42px rgba(16, 40, 58, 0.12);
}

.signal-strip div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  color: var(--brand-dark);
  font-size: 1rem;
}

.signal-strip span {
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.92rem;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 108px) 0;
}

.band {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100% - var(--max)) / 2));
  padding-right: max(18px, calc((100% - var(--max)) / 2));
  background: var(--soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading h2,
.split h2,
.cta-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:last-child,
.split p,
.cta-section p {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 1.04rem;
}

.steps,
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.steps article,
.problem-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.steps h3,
.problem-grid h3 {
  margin: 16px 0 8px;
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.2;
}

.steps p,
.problem-grid p {
  margin: 0;
  color: var(--muted);
}

.split,
.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.tech-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tech-list span {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 900;
  color: var(--brand-dark);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.area-grid a {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--navy);
  font-weight: 900;
  background: var(--paper);
}

.area-grid a:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0 18px;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 0;
  color: var(--navy);
  font-weight: 900;
}

.faq-list p {
  color: var(--muted);
  margin: 0;
  padding: 0 0 18px;
}

.cta-section {
  border-top: 1px solid var(--line);
}

.cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 34px max(18px, calc((100% - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  max-width: 720px;
  margin: 8px 0 0;
}

.site-footer a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  margin-bottom: 8px;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 110px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .signal-strip,
  .steps,
  .problem-grid,
  .area-grid,
  .split,
  .cta-section {
    grid-template-columns: 1fr 1fr;
  }

  .lead-form {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-call {
    display: none;
  }

  .brand strong {
    max-width: 190px;
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-inner {
    width: calc(100% - 28px);
    margin: 0 14px;
    padding: 92px 0 36px;
  }

  .hero-copy,
  .hero-text,
  .lead-form {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9.1vw, 2.45rem);
    line-height: 1.02;
    overflow-wrap: normal;
  }

  .title-desktop {
    display: none;
  }

  .title-mobile {
    display: block;
  }

  .hero-text {
    font-size: 1rem;
    max-width: 31ch;
    overflow-wrap: break-word;
  }

  .form-heading p:last-child {
    max-width: 30ch;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trust-row li {
    max-width: none;
    overflow-wrap: anywhere;
    font-size: 0.88rem;
  }

  .form-grid,
  .signal-strip,
  .steps,
  .problem-grid,
  .area-grid,
  .split,
  .cta-section,
  .tech-list,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    width: min(100% - 28px, var(--max));
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    width: min(100% - 28px, var(--max));
  }

  .band {
    width: 100%;
  }

  .cta-actions {
    justify-content: stretch;
  }
}
