@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b2440;
  --navy-light: #173a5e;
  --gold: #b8934b;
  --gold-light: #e7d6ae;
  --off-white: #faf9f5;
  --tint: #f1ece1;
  --ink: #12202e;
  --muted: #5b6b7a;
  --muted-light: #9fb0be;
  --border: rgba(11, 36, 64, 0.12);
  --border-dark: rgba(250, 249, 245, 0.2);
  --radius: 4px;
  --maxw: 1180px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
}

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

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 112px 0;
}

@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-gold {
  background: var(--gold);
  color: #251c08;
}

.btn-gold:hover {
  transform: translateY(-1px);
  background: #c7a25c;
}

.btn-gold:disabled {
  opacity: 0.42;
  transform: none;
  background: var(--gold);
}

.btn-outline {
  border-color: var(--border-dark);
  color: var(--off-white);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-back {
  border-color: rgba(250, 249, 245, 0.5);
  color: var(--off-white);
  background: rgba(250, 249, 245, 0.1);
}

.btn-back:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(184, 147, 75, 0.14);
}

.btn-outline-dark {
  border-color: var(--border);
  color: var(--navy);
}

.btn-outline-dark:hover {
  border-color: var(--navy);
}

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 36, 64, 0);
  backdrop-filter: blur(0);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  background: rgba(11, 36, 64, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 13px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 75px;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .logo img {
    height: 65px;
  }
}

header nav .btn {
  padding: 11px 22px;
  font-size: 13.5px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--off-white);
  padding: 200px 0 140px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero {
    padding: 160px 0 72px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 118px 0 64px;
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 147, 75, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 147, 75, 0.14) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 76% 64% at 72% 28%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 76% 64% at 72% 28%, black, transparent);
}

.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  color: var(--off-white);
  margin-bottom: 24px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--muted-light);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-visual {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(184, 147, 75, 0.35);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.55);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(200deg, rgba(184, 147, 75, 0.22), transparent 55%),
    linear-gradient(0deg, rgba(11, 36, 64, 0.5), transparent 45%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
  display: block;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero p.lead {
    max-width: 100%;
  }

  .hero-visual {
    aspect-ratio: 4 / 5;
    margin: 0 auto;
  }
}

.hero-ctas .btn-gold {
  color: var(--off-white);
  background: linear-gradient(135deg, #c7a25c, #9c7a3d);
  box-shadow: 0 16px 32px -14px rgba(184, 147, 75, 0.55);
}

.hero-ctas .btn-gold:hover {
  color: var(--off-white);
}

@media (max-width: 600px) {
  .hero-ctas {
    width: 100%;
  }

  .hero-ctas .btn-gold {
    width: 100%;
    justify-content: center;
    padding: 17px 28px;
    font-size: 15px;
  }
}

/* ---------- Section headings ---------- */
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}

.section-head p {
  color: var(--muted);
  font-size: 16.5px;
  margin-top: 14px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin-top: 12px;
  max-width: 34rem;
}

/* ---------- Herkenning (problems) ---------- */
.problems {
  background:
    linear-gradient(180deg, rgba(11, 36, 64, 0.03), transparent 40%),
    var(--off-white);
  position: relative;
}

.problems .section-head {
  max-width: 40rem;
}

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

@media (max-width: 700px) {
  .problem-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.problem-item {
  background: var(--surface, #fff);
  padding: 28px 26px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.7s ease, transform 0.7s ease;
}

.problem-item[data-reveal].in:nth-child(1) { transition-delay: 0ms; }
.problem-item[data-reveal].in:nth-child(2) { transition-delay: 70ms; }
.problem-item[data-reveal].in:nth-child(3) { transition-delay: 140ms; }
.problem-item[data-reveal].in:nth-child(4) { transition-delay: 210ms; }
.problem-item[data-reveal].in:nth-child(5) { transition-delay: 280ms; }
.problem-item[data-reveal].in:nth-child(6) { transition-delay: 350ms; }

.problem-item:hover {
  border-color: rgba(11, 36, 64, 0.18);
  border-left-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(11, 36, 64, 0.06);
}

.problem-item p {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 700px) {
  .problem-item {
    padding: 20px 18px;
  }

  .problem-item p {
    font-size: 1rem;
  }
}

/* ---------- Oplossing ---------- */
.solution {
  background: var(--navy);
  color: var(--off-white);
  position: relative;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 860px) {
  .solution-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.solution h2 {
  color: var(--off-white);
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 20px;
}

.solution .lead {
  color: var(--muted-light);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.solution .kernzin {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  color: var(--gold-light);
  font-size: 21px;
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin-top: 28px;
}

.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-dark);
}

.pillar:first-child {
  border-top: 1px solid var(--border-dark);
}

.pillar-mark {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: var(--gold);
  border-radius: 1px;
}

.pillar > span:last-child {
  font-size: 16.5px;
  font-weight: 500;
  color: var(--off-white);
}

/* ---------- Waarom CloseCraft ---------- */
.why {
  background: var(--tint);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

@media (max-width: 860px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.usp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 520px) {
  .usp-cards {
    grid-template-columns: 1fr;
  }
}

.usp-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 22px 20px;
  border-radius: var(--radius);
}

.usp-card h3 {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: 0;
  line-height: 1.35;
}

.usp-card p {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.ncnp-badge,
.result-badge {
  background: var(--navy);
  color: var(--off-white);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  border-left: 3px solid var(--gold);
}

.ncnp-badge .eyebrow,
.result-badge .eyebrow {
  color: var(--gold-light);
}

.ncnp-badge h3,
.result-badge h3 {
  color: var(--off-white);
  font-size: 24px;
  margin-bottom: 4px;
}

.ncnp-badge p,
.result-badge p {
  color: var(--muted-light);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- Bewijs / social proof ---------- */
.proof {
  background: var(--off-white);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

@media (max-width: 860px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

.proof-card {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 180px;
  background: var(--tint);
}

.proof-card .tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.proof-card p.msg {
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 20px;
}

.proof-stat {
  background: var(--off-white);
  padding: 24px 18px;
  text-align: center;
}

.proof-stat .num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--navy);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.proof-stat .lbl {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 700px) {
  .proof-stats {
    grid-template-columns: 1fr;
    gap: 8px;
    background: transparent;
    border: 0;
  }

  .proof-stat {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 14px;
    text-align: left;
    padding: 14px 16px;
    border: 1px solid var(--border);
  }

  .proof-stat .num {
    font-size: 1.5rem;
    min-width: 2.4rem;
  }

  .proof-stat .lbl {
    margin-top: 0;
    font-size: 13px;
    line-height: 1.35;
  }
}

/* ---------- Momentum ---------- */
.momentum {
  background: var(--off-white);
}

.momentum-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.momentum-content h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 14px 0;
}

.momentum-content .section-sub {
  max-width: 480px;
  margin-bottom: 28px;
}

.momentum-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.momentum-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.momentum-list-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(184, 147, 75, 0.14);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.momentum-list strong {
  color: var(--navy);
}

.momentum-visual {
  position: relative;
  background: linear-gradient(160deg, var(--navy-light), var(--navy));
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 32px 28px 24px;
  box-shadow: 0 24px 56px -28px rgba(11, 36, 64, 0.4);
}

.momentum-graph {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.momentum-grid-line {
  stroke: rgba(250, 249, 245, 0.08);
  stroke-width: 1;
}

.momentum-area {
  fill: rgba(184, 147, 75, 0.12);
  stroke: none;
  opacity: 0;
  transition: opacity 1s ease 0.6s;
}

.momentum-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
  transition: stroke-dashoffset 1.8s ease;
}

.momentum-dot {
  fill: var(--gold-light);
  opacity: 0;
  transform-origin: 390px 15px;
  transition: opacity 0.4s ease 1.5s, transform 0.4s ease 1.5s;
}

.momentum-inner.in .momentum-line {
  stroke-dashoffset: 0;
}

.momentum-inner.in .momentum-area {
  opacity: 1;
}

.momentum-inner.in .momentum-dot {
  opacity: 1;
  animation: momentum-pulse 1.8s ease-in-out 1.9s infinite;
}

@keyframes momentum-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}

@media (max-width: 860px) {
  .momentum-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .momentum-content .section-sub {
    max-width: 100%;
  }

  .momentum-visual {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .momentum-line {
    transition: none;
    stroke-dashoffset: 0;
  }

  .momentum-area {
    transition: none;
    opacity: 1;
  }

  .momentum-dot {
    transition: none;
    opacity: 1;
    animation: none;
  }
}

/* ---------- Werkwijze ---------- */
.process {
  background: var(--navy);
  color: var(--off-white);
}

.process .section-head h2 {
  color: var(--off-white);
}

.process .section-head p {
  color: var(--muted-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

@media (max-width: 860px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.step {
  position: relative;
  padding: 0 26px 0 0;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-dark);
  display: block;
}

.step .num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  background: var(--navy);
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.step-body h4 {
  color: var(--off-white);
  font-size: 18px;
  margin-bottom: 8px;
}

.step-body p {
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.step[data-reveal-step] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.step[data-reveal-step].in {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .step {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0 14px;
    align-items: start;
    padding: 0 0 28px;
    margin-left: 0;
    border-left: 0;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .step .num {
    position: static;
    margin: 0;
    grid-row: 1 / 2;
  }

  .step-body {
    min-width: 0;
    padding-top: 7px;
  }

  .step-body h4 {
    margin-bottom: 6px;
    line-height: 1.25;
  }

  .step:not(:last-child) .step-body {
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-dark);
  }
}

/* ---------- Diensten ---------- */
.services {
  background: var(--off-white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  padding: 28px 24px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(11, 36, 64, 0.08);
}

.service-card h4 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 10px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 860px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Over Philip ---------- */
.about {
  background: var(--tint);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-light), var(--navy));
  border: 1px solid var(--border);
  box-shadow: 0 24px 56px -28px rgba(11, 36, 64, 0.4);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -60px 60px -40px rgba(11, 36, 64, 0.35);
  pointer-events: none;
}

.about h2 {
  margin-bottom: 8px;
}

.about p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about .about-lead {
  color: var(--ink);
  font-weight: 500;
}

.about .name-line {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}

.experience-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.experience-block {
  padding: 24px 22px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}

.experience-block h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: 0;
  line-height: 1.35;
}

.experience-block p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .experience-blocks {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 40px;
  }
}

/* ---------- Intake ---------- */
.intake {
  background: var(--navy);
  color: var(--off-white);
  padding: 112px 0;
}

.intake-wrap {
  max-width: 760px;
}

.intake-intro {
  margin-bottom: 36px;
}

.intake-intro h2 {
  color: var(--off-white);
  font-size: clamp(26px, 3.6vw, 38px);
  max-width: 36rem;
  margin-bottom: 14px;
}

.intake-intro p {
  color: var(--muted-light);
  font-size: 16.5px;
  max-width: 34rem;
  line-height: 1.65;
}

.intake-panel {
  background: rgba(250, 249, 245, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.intake-panel.is-complete {
  background: rgba(46, 125, 80, 0.14);
  border-color: rgba(110, 180, 130, 0.45);
  box-shadow: inset 0 0 0 1px rgba(140, 200, 155, 0.12);
}

.intake-progress {
  height: 3px;
  background: rgba(250, 249, 245, 0.12);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 14px;
}

.intake-progress-bar {
  height: 100%;
  width: 16.66%;
  background: var(--gold);
  transition: width 0.3s ease;
}

.intake-step-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
}

.intake-step {
  border: 0;
  min-width: 0;
  padding: 0;
  margin: 0;
}

.intake-step[hidden],
.intake-done[hidden] {
  display: none !important;
}

.intake-step legend {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  color: var(--off-white);
  margin-bottom: 18px;
  line-height: 1.3;
  float: none;
  width: 100%;
  padding: 0;
}

.intake-step legend .hint {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted-light);
  margin-top: 8px;
}

.intake-note {
  color: var(--muted-light);
  font-size: 14.5px;
  margin: -6px 0 20px;
}

.intake-privacy {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted-light);
  line-height: 1.55;
}

.hp-field {
  display: none;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.intake-privacy a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.intake-privacy a:hover {
  color: var(--off-white);
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice-grid-compact {
  grid-template-columns: 1fr 1fr;
}

.choice {
  position: relative;
  display: block;
  cursor: pointer;
  min-width: 0;
}

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.choice-face {
  display: flex;
  align-items: center;
  min-height: 3.4rem;
  padding: 14px 16px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: rgba(250, 249, 245, 0.03);
  color: var(--off-white);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.choice:hover .choice-face {
  border-color: rgba(184, 147, 75, 0.55);
}

.choice input:focus-visible + .choice-face {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.choice input:checked + .choice-face {
  border-color: var(--gold);
  background: rgba(184, 147, 75, 0.16);
  color: var(--gold-light);
}

.choice-span {
  grid-column: 1 / -1;
}

.anders-field {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.anders-field[hidden] {
  display: none !important;
}

.anders-field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted-light);
}

.anders-field input {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid transparent;
  border-radius: var(--radius);
  outline: none;
}

.anders-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(184, 147, 75, 0.25);
}

.anders-field input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.intake-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted-light);
}

.field .optional {
  font-weight: 400;
  opacity: 0.75;
}

.field .req {
  color: #e07070;
  font-weight: 700;
  margin-left: 2px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid transparent;
  border-radius: var(--radius);
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(184, 147, 75, 0.25);
}

.field textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.intake-error {
  margin-top: 16px;
  color: #f5b4b4;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 12px;
  background: rgba(180, 40, 40, 0.22);
  border: 1px solid rgba(220, 90, 90, 0.55);
  border-radius: var(--radius);
}

.intake-error[hidden] {
  display: none !important;
}

.field.is-invalid input,
.field.is-invalid textarea,
.anders-field.is-invalid input {
  border-color: #d96a6a;
  box-shadow: 0 0 0 2px rgba(180, 60, 60, 0.28);
}

.choice.is-invalid .choice-face {
  border-color: #d96a6a;
}

.intake-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
}

.intake-nav[hidden],
.intake-progress[hidden],
.intake-step-label[hidden] {
  display: none !important;
}

.intake-nav .btn {
  min-width: 8.5rem;
  justify-content: center;
}

.intake-nav #intakeBack {
  margin-right: auto;
}

.intake-nav #intakeBack[hidden],
.intake-nav #intakeNext[hidden],
.intake-nav #intakeSubmit[hidden] {
  display: none !important;
}

.intake-done {
  text-align: center;
  padding: 18px 8px 8px;
  animation: intakeSuccessIn 0.55s ease both;
}

.intake-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: #8fce9f;
  animation: intakeCheckPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.intake-success-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.intake-done h3 {
  color: #c8e6d0;
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  margin-bottom: 12px;
}

.intake-done p {
  color: rgba(200, 230, 208, 0.88);
  margin: 0 auto;
  max-width: 34rem;
  line-height: 1.65;
  font-size: 1.02rem;
}

@keyframes intakeSuccessIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes intakeCheckPop {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  70% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intake-done,
  .intake-success-icon {
    animation: none;
  }
}

.intake-aside {
  margin-top: 40px;
}

.intake-aside-title {
  text-align: center;
  color: var(--muted-light);
  font-size: 14px;
  margin-bottom: 16px;
}

.direct-contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.direct-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(250, 249, 245, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.direct-contact-card:hover {
  border-color: rgba(184, 147, 75, 0.55);
  background: rgba(184, 147, 75, 0.08);
  transform: translateY(-2px);
}

.direct-contact-icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(184, 147, 75, 0.14);
  color: var(--gold-light);
}

.direct-contact-icon svg {
  width: 18px;
  height: 18px;
}

.direct-contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.direct-contact-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold);
}

.direct-contact-value {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--off-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 560px) {
  .direct-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .intake {
    padding: 72px 0;
  }

  .intake-panel {
    padding: 22px 18px 18px;
  }

  .intake-privacy {
    font-size: 9px;
  }

  .choice-grid,
  .choice-grid-compact,
  .intake-fields {
    grid-template-columns: 1fr;
  }

  .choice-face {
    min-height: 3.15rem;
  }

  .intake-nav {
    flex-direction: column-reverse;
  }

  .intake-nav .btn,
  .intake-nav #intakeBack {
    width: 100%;
    margin-right: 0;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .choice-grid-check {
    grid-template-columns: 1fr 1fr;
  }
}

footer {
  background: var(--navy);
  border-top: 1px solid var(--border-dark);
  padding: 40px 0 0;
  overflow: hidden;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-brand .logo img {
  height: 80px;
}

.footer-tagline {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--off-white);
}

.footer-meta,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.footer-meta p,
.footer-links p,
.footer-copy,
.footer-meta a,
.footer-links a {
  margin: 0;
  color: var(--muted-light);
  font-size: 12.5px;
  line-height: 1.4;
  text-decoration: none;
}

.footer-links a {
  text-decoration: underline;
}

.footer-meta a:hover,
.footer-links a:hover {
  color: var(--gold-light);
}

.footer-wordmark {
  display: block;
  margin: 40px 0 0;
  font-family: var(--font-display);
  font-size: 8vw;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(250, 249, 245, 0.22);
  line-height: 0.85;
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- Legal pages ---------- */
.legal-page {
  padding: 140px 0 80px;
  background: var(--off-white);
  min-height: 70vh;
}

.legal-wrap {
  max-width: 760px;
}

.legal-page h1 {
  margin-bottom: 10px;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.legal-page section {
  margin-bottom: 28px;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.legal-page h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: 22px 0 8px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 1.2rem;
  margin: 10px 0 0;
}

.legal-page li {
  margin-bottom: 6px;
}

.legal-page a {
  color: var(--navy);
}

.legal-back {
  margin-top: 40px;
}

.legal-back a {
  font-weight: 600;
  text-decoration: none;
}

.legal-back a:hover {
  color: var(--gold);
}

/* ---------- Foutpagina's (404 / 500) ---------- */
body:has(.error-page) {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.error-page {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  /* Vaste header (~101px) vrijhouden + ademruimte */
  padding: 140px 0 80px;
  background: var(--off-white);
}

.error-inner {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.error-inner .eyebrow {
  display: block;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(64px, 14vw, 120px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin: 0 0 8px;
}

.error-page h1 {
  margin-bottom: 14px;
}

.error-page p:not(.error-code) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 32px;
}

.error-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .error-page {
    /* Header met 65px-logo ≈ 91px; ruim vrijhouden */
    padding: 120px 0 64px;
    align-items: flex-start;
  }

  .error-inner {
    padding-top: 12px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .step[data-reveal-step] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
