/* Brand tokens — Navy Trust, editorial manuscript */
:root {
  --ip-navy: #0f1b3d;
  --ip-navy-soft: #1e3a5f;
  --ip-azure: #3b6fa0;
  --ip-azure-soft: #e8edf3;
  --ip-paper: #f9f9f7;
  --ip-paper-warm: #f4f3ef;
  --ip-cream: #f9f9f7;      /* alias for legacy .bg-cream */
  --ip-cream-warm: #f4f3ef; /* alias for legacy .bg-cream-warm */
  --ip-ink: #0f1b3d;
  --ip-muted: #5b6577;
  --ip-hairline: rgba(15, 27, 61, 0.12);
  --ip-hairline-strong: rgba(15, 27, 61, 0.22);

  --bs-body-font-family: "Fira Sans", system-ui, -apple-system, sans-serif;
  --bs-body-color: var(--ip-ink);
  --bs-body-bg: var(--ip-paper);
  --bs-link-color: var(--ip-navy);
  --bs-link-hover-color: var(--ip-azure);
  --bs-primary: var(--ip-navy);
  --bs-primary-rgb: 15, 27, 61;
  --bs-border-radius: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--bs-body-font-family);
  color: var(--ip-ink);
  background: var(--ip-paper);
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
  letter-spacing: 0.005em;
}

p { font-weight: 300; }

::selection {
  background: var(--ip-navy);
  color: #fff;
}

/* Typography — DM Serif Display headings, Fira Sans body */
.font-display,
.font-serif {
  font-family: "DM Serif Display", "Playfair Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
}
.font-mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }

.italic-serif {
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  color: var(--ip-azure);
}

/* Running-head style micro label — replaces loud all-caps eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Fira Sans", sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ip-navy);
  opacity: 0.72;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--ip-azure);
}
.eyebrow.eyebrow-plain::before { display: none; }

/* Chapter numeral — quiet oversized index behind headlines */
.chapter-num {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  color: var(--ip-azure-soft);
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

/* Running head — thin rule with meta above sections */
.running-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--ip-hairline);
  padding-bottom: 1.25rem;
  margin-bottom: 3.5rem;
  gap: 2rem;
}
.running-head .rh-meta {
  font-family: "Fira Sans", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ip-navy);
  opacity: 0.6;
}
.running-head .rh-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.4rem;
  color: var(--ip-navy);
}

.lead-serif {
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--ip-navy);
}

/* Colors */
.text-navy { color: var(--ip-navy) !important; }
.text-azure { color: var(--ip-azure) !important; font-style: italic; font-family: "DM Serif Display", Georgia, serif; }
.text-muted-ink { color: var(--ip-muted) !important; }
.bg-navy { background-color: var(--ip-navy) !important; color: #fff; }
.bg-cream, .bg-paper { background-color: var(--ip-paper) !important; }
.bg-cream-warm, .bg-paper-warm { background-color: var(--ip-paper-warm) !important; }
.bg-azure-soft { background-color: var(--ip-azure-soft) !important; }
.bg-white { background-color: #fff !important; }

.border-hairline { border-color: var(--ip-hairline) !important; }

/* Buttons — bespoke split-corner marks, hairline framed */
.btn {
  --bs-btn-border-radius: 0;
  border-radius: 0;
  font-weight: 400;
  font-size: 1rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  letter-spacing: 0;
  padding: 0.9rem 1.9rem;
  text-transform: none;
  position: relative;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
  overflow: visible;
}
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  transition: border-color .3s ease;
}
.btn::before {
  top: -3px; left: -3px;
  border-top: 1px solid var(--ip-navy);
  border-left: 1px solid var(--ip-navy);
}
.btn::after {
  bottom: -3px; right: -3px;
  border-bottom: 1px solid var(--ip-navy);
  border-right: 1px solid var(--ip-navy);
}
.btn-navy {
  background: transparent;
  color: var(--ip-navy);
  border: 1px solid var(--ip-hairline);
}
.btn-navy:hover {
  background: var(--ip-navy);
  color: #fff;
  border-color: var(--ip-navy);
}
.btn-outline-navy {
  background: transparent;
  color: var(--ip-navy);
  border: 1px solid var(--ip-hairline);
}
.btn-outline-navy:hover {
  background: var(--ip-navy);
  color: #fff;
  border-color: var(--ip-navy);
}
.btn-azure {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.btn-azure:hover { background: #fff; color: var(--ip-navy); border-color: #fff; }
.btn-azure::before { border-color: rgba(255,255,255,.7); }
.btn-azure::after  { border-color: rgba(255,255,255,.7); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.btn-outline-white:hover { background: #fff; color: var(--ip-navy); }
.btn-outline-white::before { border-color: rgba(255,255,255,.7); }
.btn-outline-white::after  { border-color: rgba(255,255,255,.7); }

/* Subtle editorial text link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: "Fira Sans", sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ip-navy);
  padding-bottom: .3rem;
  border-bottom: 1px solid var(--ip-hairline-strong);
  text-decoration: none;
  transition: border-color .25s, color .25s;
}
.link-arrow:hover { color: var(--ip-azure); border-color: var(--ip-azure); }

/* Navbar — quiet manuscript header */
.site-nav {
  background: rgba(249, 249, 247, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--ip-hairline);
}
.site-nav .nav-link {
  color: var(--ip-navy);
  font-family: "Fira Sans", sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .5rem 1rem !important;
  opacity: .8;
  transition: opacity .2s, color .2s;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--ip-azure);
  opacity: 1;
}

.brand-word {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  color: var(--ip-navy);
  font-size: 1.55rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  line-height: 1;
}
.brand-word .amp {
  color: var(--ip-azure);
  font-style: italic;
}

/* Editorial service block — no heavy card, hairline top rule */
.svc-card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--ip-hairline);
  padding: 2.25rem 0 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .3s ease;
}
.svc-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3rem;
  height: 1px;
  background: var(--ip-azure);
  transition: width .35s ease;
}
.svc-card:hover::before { width: 6rem; }
.svc-card:hover { border-top-color: var(--ip-navy); }
.svc-card .icon-wrap {
  width: 2rem;
  height: 2rem;
  color: var(--ip-azure);
  margin-bottom: 1.5rem;
  stroke-width: 1.25;
}
.svc-card .rule { display: none; }
.svc-card h3,
.svc-card .h5 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  color: var(--ip-navy);
  font-size: 1.35rem;
  letter-spacing: -0.005em;
  margin-bottom: .75rem;
}
.svc-card p {
  color: var(--ip-muted);
  font-weight: 300;
  line-height: 1.55;
}

/* Hero image */
.hero-img {
  width: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  box-shadow: 0 30px 60px rgba(15, 27, 61, .10);
}
.floating-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--ip-paper);
  padding: 1.4rem 1.8rem;
  border: 1px solid var(--ip-hairline);
  border-left: 2px solid var(--ip-azure);
  box-shadow: 0 20px 40px rgba(15, 27, 61, .10);
  font-family: "Fira Sans", sans-serif;
}
.floating-badge .font-display,
.floating-badge p:nth-child(2) {
  font-family: "DM Serif Display", Georgia, serif !important;
  font-style: italic;
}

/* Section titles */
.section-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  color: var(--ip-navy);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.display-serif {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  color: var(--ip-navy);
  font-size: clamp(3rem, 6.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

/* Differentiator strip */
.diff-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ip-hairline);
  border-bottom: 1px solid var(--ip-hairline);
}
@media (min-width: 768px) {
  .diff-strip { grid-template-columns: repeat(4, 1fr); }
  .diff-strip > div + div { border-left: 1px solid var(--ip-hairline); }
}
.diff-strip > div { padding: 3rem 1.5rem; text-align: center; }

/* Form fields */
.form-control, .form-select {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--ip-hairline);
  background: transparent;
  padding: .85rem 0;
  font-size: 1rem;
  font-family: "Fira Sans", sans-serif;
}
.form-control:focus, .form-select:focus {
  border-bottom-color: var(--ip-navy);
  box-shadow: none;
  background: transparent;
}
.form-label {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ip-navy);
  opacity: .7;
  margin-bottom: .35rem;
}

/* Contact */
.contact-icon {
  width: 46px;
  height: 46px;
  color: var(--ip-paper);
  background: var(--ip-navy);
  border: 1px solid rgba(15, 27, 61, 0.12);
  border-radius: 50%;
  transition: background-color .3s ease, transform .3s ease;
}
.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-item:hover .contact-icon {
  background: var(--ip-azure);
  transform: translateY(-2px);
}

.contact-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-map {
  min-height: 420px;
  flex: 1;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid var(--ip-hairline);
  box-shadow: 0 18px 40px -28px rgba(15, 27, 61, 0.55);
  background: var(--ip-cream);
}

.contact-map iframe {
  min-height: 420px;
  border: 0;
  filter: grayscale(0.35) contrast(1.02) saturate(0.85);
}

.contact-route-link {
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
}

.contact-route-link--azure {
  background: transparent;
  color: var(--ip-azure);
  border: 1px solid var(--ip-hairline);
}
.contact-route-link--azure:hover {
  background: var(--ip-azure);
  color: #fff;
  border-color: var(--ip-azure);
}
.contact-route-link--azure::before,
.contact-route-link--azure::after { border-color: var(--ip-azure); }


.contact-route-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}



/* News card */
.news-card .img-wrap { overflow: hidden; }
.news-card img {
  transition: transform 1.2s ease;
  filter: saturate(0.9);
}
.news-card:hover img { transform: scale(1.04); }

/* Utility */
.section { padding: 7rem 0; }
@media (max-width: 767px) { .section { padding: 4.5rem 0; } }

.max-w-prose { max-width: 34rem; }

/* Reviews frame */
.reviews-wrap {
  background: #fff;
  padding: 3rem 2rem;
  border: 1px solid var(--ip-hairline);
}

.google-reviews-widget {
  background: #fff;
  border: 1px solid var(--ip-hairline);
  padding: 1.5rem;
}

.google-reviews-widget__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ip-hairline);
}

.google-wordmark {
  font-family: Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0;
}

.google-wordmark__reviews {
  color: var(--ip-ink);
  font-family: var(--bs-body-font-family);
  font-size: 1rem;
  font-weight: 600;
}

.google-reviews-widget__rating {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: .25rem;
  color: #fbbc05;
}

.google-reviews-widget__rating strong {
  color: var(--ip-navy);
  font-size: 1.1rem;
}

.google-reviews-widget__badge {
  color: var(--ip-muted);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.google-reviews-widget__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.25rem;
}

.google-review-card {
  border: 1px solid var(--ip-hairline);
  padding: 1.25rem;
  min-height: 210px;
}

.google-review-card__top {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.google-review-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ip-azure);
  color: #fff;
  font-weight: 700;
}

.google-review-card h3 {
  color: var(--ip-navy);
  font-size: 1rem;
  margin: 0;
}

.google-review-card__top p {
  color: var(--ip-muted);
  font-size: .82rem;
  margin: .1rem 0 0;
}

.google-review-card__stars {
  color: #fbbc05;
  letter-spacing: .06em;
  margin: 1rem 0 .75rem;
}

.google-review-card__text {
  color: var(--ip-muted);
  line-height: 1.65;
  margin: 0;
}

.google-reviews-embed {
  display: block;
  width: 100%;
  height: 160px;
  border: 0;
  margin-top: 1rem;
  background: transparent;
}

@media (max-width: 991px) {
  .google-reviews-widget__grid {
    grid-template-columns: 1fr;
  }
}

/* Editorial margin end-mark */
.end-mark {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 4rem;
}
.end-mark .end-rule {
  height: 2px;
  width: 5rem;
  background: var(--ip-navy);
}
.end-mark .end-caption {
  font-family: "Fira Sans", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ip-navy);
  opacity: 0.5;
}

/* Kill Bootstrap's rounded shadows we don't want */
.card, .btn, .form-control { box-shadow: none; }

/* ============================================================
   Editorial full-bleed hero — unique manuscript composition
   ============================================================ */
.editorial-hero {
  position: relative;
  width: 100%;
  min-height: min(92vh, 900px);
  background: var(--ip-navy);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.editorial-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05) brightness(0.82);
  z-index: 0;
}
.editorial-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(15,27,61,0.88) 0%, rgba(15,27,61,0.55) 45%, rgba(15,27,61,0.25) 75%, rgba(15,27,61,0.55) 100%),
    linear-gradient(0deg, rgba(15,27,61,0.35), rgba(15,27,61,0));
}

/* hairline architectural frame */
.editorial-hero__frame {
  position: absolute;
  inset: clamp(1.25rem, 3vw, 2.5rem);
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.14);
}
.eh-corner {
  position: absolute;
  width: 22px;
  height: 22px;
}
.eh-corner.eh-tl { top: -1px; left: -1px; border-top: 1px solid var(--ip-azure); border-left: 1px solid var(--ip-azure); }
.eh-corner.eh-tr { top: -1px; right: -1px; border-top: 1px solid var(--ip-azure); border-right: 1px solid var(--ip-azure); }
.eh-corner.eh-bl { bottom: -1px; left: -1px; border-bottom: 1px solid var(--ip-azure); border-left: 1px solid var(--ip-azure); }
.eh-corner.eh-br { bottom: -1px; right: -1px; border-bottom: 1px solid var(--ip-azure); border-right: 1px solid var(--ip-azure); }

/* vertical running-heads */
.editorial-hero__meta-left,
.editorial-hero__meta-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  color: rgba(255,255,255,0.72);
  display: none;
}
.editorial-hero__meta-left { left: clamp(2rem, 4vw, 3.75rem); }
.editorial-hero__meta-right { right: clamp(2rem, 4vw, 3.75rem); }
.eh-vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "Fira Sans", sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}
.editorial-hero__meta-right .eh-vertical { transform: rotate(0deg); writing-mode: vertical-rl; }

@media (min-width: 992px) {
  .editorial-hero__meta-left,
  .editorial-hero__meta-right { display: block; }
}

/* quiet oversized index */
.editorial-hero__index {
  position: absolute;
  top: clamp(2.5rem, 6vw, 4.5rem);
  right: clamp(3.5rem, 7vw, 6rem);
  z-index: 4;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: rgba(255,255,255,0.18);
  letter-spacing: -0.02em;
  user-select: none;
}

/* content block — asymmetric, low-left */
.editorial-hero__inner {
  position: relative;
  z-index: 5;
  padding-top: clamp(7rem, 14vh, 11rem);
  padding-bottom: clamp(5rem, 10vh, 8rem);
  min-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 1200px;
}
.eh-eyebrow {
  font-family: "Fira Sans", sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ip-azure);
  opacity: 0.92;
  margin-bottom: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.eh-eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--ip-azure);
}
.editorial-hero__title {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  color: #fff;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.018em;
  margin: 0;
  max-width: 12ch;
}
.editorial-hero__title em.italic-serif {
  color: #fff;
  font-style: italic;
  opacity: 0.72;
}
.editorial-hero__rule {
  width: 4.5rem;
  height: 1px;
  background: rgba(255,255,255,0.5);
  margin: 2.25rem 0 1.5rem;
}
.editorial-hero__lede {
  font-family: "Fira Sans", sans-serif;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}
.editorial-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* bottom-right editorial figure caption */
.editorial-hero__caption {
  position: absolute;
  right: clamp(3rem, 6vw, 5rem);
  bottom: clamp(2.75rem, 5vw, 4rem);
  z-index: 5;
  display: none;
  align-items: center;
  gap: 1rem;
  font-family: "Fira Sans", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.eh-caption-rule {
  width: 3rem;
  height: 1px;
  background: rgba(255,255,255,0.5);
}
@media (min-width: 992px) {
  .editorial-hero__caption { display: inline-flex; }
}

@media (max-width: 767px) {
  .editorial-hero { min-height: 82vh; }
  .editorial-hero__inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* ============================================================
   Editorial prose (bank / kredieten / verzekeringen body)
   ============================================================ */
.editorial-prose {
  font-family: "Fira Sans", sans-serif;
  color: var(--ip-ink);
  font-weight: 300;
  font-size: 1.075rem;
  line-height: 1.75;
}
.editorial-prose p { margin-bottom: 1.5rem; font-weight: 300; }
.editorial-prose strong { color: var(--ip-navy); font-weight: 500; }
.editorial-prose a {
  color: var(--ip-navy);
  border-bottom: 1px solid var(--ip-hairline-strong);
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.editorial-prose a:hover { color: var(--ip-azure); border-color: var(--ip-azure); }
.editorial-prose h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  color: var(--ip-navy);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-top: 2.5rem;
}
.editorial-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  border-top: 1px solid var(--ip-hairline);
}
.editorial-list li {
  padding: 1rem 0 1rem 3.5rem;
  border-bottom: 1px solid var(--ip-hairline);
  position: relative;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.35rem;
  color: var(--ip-navy);
  counter-increment: ed-item;
}
.editorial-list { counter-reset: ed-item; }
.editorial-list li::before {
  content: counter(ed-item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.35rem;
  font-family: "Fira Sans", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--ip-azure);
  font-weight: 500;
}
.editorial-figure {
  margin: 3rem 0;
}
.editorial-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3/2;
  filter: saturate(0.9) contrast(1.02);
}
.editorial-figure figcaption {
  margin-top: 1rem;
  font-family: "Fira Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ip-muted);
}

/* ============================================================
   Scroll-story homepage (sticky index + numbered chapters)
   ============================================================ */
.scroll-story {
  position: relative;
  background: var(--ip-paper);
}
@media (min-width: 992px) {
  .scroll-story {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
  }
}

.scroll-index { display: none; }
@media (min-width: 992px) {
  .scroll-index {
    display: block;
    border-right: 1px solid var(--ip-hairline);
  }
  .scroll-index__inner {
    position: sticky;
    top: 80px;
    padding: 3rem 2rem 3rem 2.5rem;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
  }
}
.scroll-index__meta {
  font-family: "Fira Sans", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ip-muted);
  margin-bottom: 2rem;
}
.scroll-index__list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.scroll-index__list a {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: baseline;
  gap: .5rem;
  text-decoration: none;
  color: var(--ip-muted);
  padding: .35rem 0;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.scroll-index__list a:hover { color: var(--ip-navy); }
.scroll-index__num {
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--ip-azure);
  opacity: 0.65;
  transition: opacity .25s;
}
.scroll-index__label {
  font-family: "Fira Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.scroll-index__list li.is-active a {
  color: var(--ip-navy);
  border-bottom-color: var(--ip-navy);
}
.scroll-index__list li.is-active .scroll-index__num { opacity: 1; }
.scroll-index__foot {
  margin: 2rem 0 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--ip-muted);
}

.scroll-body {
  min-width: 0;
}

/* Chapters — asymmetric, generous vertical rhythm */
.chapter {
  position: relative;
  padding: clamp(5rem, 12vh, 10rem) clamp(1.5rem, 5vw, 5rem);
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--ip-hairline);
  overflow: hidden;
}
.chapter-ghost {
  position: absolute;
  top: 3rem;
  right: clamp(1.5rem, 5vw, 5rem);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(6rem, 14vw, 14rem);
  line-height: 0.9;
  color: var(--ip-azure);
  opacity: 0.08;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.03em;
}
.chapter__hd {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.chapter__mark {
  font-family: "Fira Sans", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ip-azure);
  font-weight: 500;
  position: relative;
  padding-left: 3rem;
}
.chapter__mark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.5rem;
  height: 1px;
  background: var(--ip-azure);
}
.chapter__title {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  color: var(--ip-navy);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 3rem;
  max-width: 16ch;
}
.chapter__title--small {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}
.chapter__title em.italic-serif {
  color: var(--ip-azure);
  font-style: italic;
}

/* CH2 prose — dropcap + two columns */
.chapter--prose .chapter__cols {
  display: grid;
  gap: 2.5rem;
  max-width: 62rem;
}
@media (min-width: 768px) {
  .chapter--prose .chapter__cols { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
}
.chapter__dropcap {
  font-family: "Fira Sans", sans-serif;
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ip-ink);
  margin: 0;
}
.dropcap {
  font-family: "DM Serif Display", Georgia, serif;
  float: left;
  font-size: 5.5rem;
  line-height: 0.9;
  padding: 0.4rem 0.9rem 0 0;
  color: var(--ip-navy);
}
.chapter__col-2 {
  font-family: "Fira Sans", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ip-muted);
  padding-top: 0.6rem;
  border-top: 1px solid var(--ip-hairline);
  margin: 0;
}

/* CH3 diensten — numbered index list */
.chapter__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ip-hairline);
}
.chapter__entry {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--ip-hairline);
  text-decoration: none;
  color: inherit;
  transition: background .3s, padding .3s;
}
@media (min-width: 768px) {
  .chapter__entry {
    grid-template-columns: 6rem 1fr;
    gap: 3rem;
    padding: 3rem 0;
  }
}
.chapter__entry:hover {
  background: linear-gradient(90deg, transparent, rgba(59,111,160,0.04));
}
.chapter__entry-num {
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--ip-azure);
  line-height: 1;
}
.chapter__entry h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  color: var(--ip-navy);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
.chapter__entry p {
  font-family: "Fira Sans", sans-serif;
  font-weight: 300;
  color: var(--ip-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1rem;
  max-width: 46rem;
}
.chapter__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Fira Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ip-navy);
  font-weight: 500;
  border-bottom: 1px solid var(--ip-hairline-strong);
  padding-bottom: 0.3rem;
  transition: color .25s, border-color .25s;
}
.chapter__entry:hover .chapter__more {
  color: var(--ip-azure);
  border-color: var(--ip-azure);
}

/* CH4 figuur */
.chapter--fig {
  display: grid;
  gap: 3rem;
}
@media (min-width: 992px) {
  .chapter--fig { grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: center; }
}
.chapter__fig img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.03);
}
.chapter__fig-caption {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Fira Sans", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ip-muted);
}
.chapter__fig-body p {
  font-family: "Fira Sans", sans-serif;
  font-weight: 300;
  color: var(--ip-ink);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 1.5rem 0 2rem;
  max-width: 34rem;
}

/* CH5 reviews frame */
.chapter__reviews {
  margin-top: 1rem;
  padding: 2.5rem;
  background: #fff;
  border: 1px solid var(--ip-hairline);
}

/* CH6 colophon */
.chapter--colophon { text-align: center; align-items: center; }
.chapter--colophon .chapter__hd { justify-content: center; }
.chapter--colophon .chapter__title { max-width: none; margin-left: auto; margin-right: auto; }
.chapter__lede {
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ip-navy);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}
.chapter__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.chapter__end {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 5rem;
  font-family: "Fira Sans", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ip-muted);
}
.chapter__end-rule {
  width: 3.5rem;
  height: 1px;
  background: var(--ip-hairline-strong);
}

/* ---------- Simple home hero ---------- */
.home-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--ip-navy);
}
.home-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.home-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(15,27,61,.85) 0%, rgba(15,27,61,.55) 60%, rgba(15,27,61,.35) 100%);
  z-index: 1;
}
.home-hero__inner {
  position: relative;
  z-index: 2;
  padding: 6rem 0;
  max-width: 820px;
}
.home-hero__kicker {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 1rem;
}
.home-hero__title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  color: #fff;
}
.home-hero__title .italic-serif { color: #a8c5e6; }
.home-hero__lede {
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgba(255,255,255,.9);
  max-width: 560px;
  margin: 0;
}

/* ---------- Service cards ---------- */
.home-svc {
  display: block;
  padding: 2rem 1.75rem;
  background: var(--ip-paper);
  border: 1px solid var(--ip-hairline);
  color: var(--ip-navy);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.home-svc:hover {
  border-color: var(--ip-navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -20px rgba(15,27,61,.35);
  color: var(--ip-navy);
}
.home-svc__icon { color: var(--ip-azure); margin-bottom: 1rem; }
.home-svc__title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.6rem;
  margin: 0 0 .5rem;
  color: var(--ip-navy);
}
.home-svc__text {
  color: var(--ip-muted);
  font-size: .95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.home-svc__more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ip-azure);
  font-weight: 500;
}


/* ---- Static site: mobiel menu toggle ---- */
[data-nav-mobile] { display: none; }
[data-nav-mobile].is-open { display: block; }

/* ============================================================
   Subtiele, rustige animaties
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  /* Zachte page fade-in */
  @keyframes ip-page-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
  }
  main { animation: ip-page-in .6s ease-out both; }

  /* Scroll reveal */
  @keyframes ip-reveal {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
  }
  [data-reveal] {
    opacity: 0;
    will-change: opacity, transform;
  }
  [data-reveal].is-visible {
    animation: ip-reveal .8s cubic-bezier(.22,.61,.36,1) both;
  }
  [data-reveal].is-visible.delay-1 { animation-delay: .08s; }
  [data-reveal].is-visible.delay-2 { animation-delay: .16s; }
  [data-reveal].is-visible.delay-3 { animation-delay: .24s; }
  [data-reveal].is-visible.delay-4 { animation-delay: .32s; }

  /* Hero image zachte float-in */
  .hero-img {
    animation: ip-reveal 1s ease-out both;
  }

  /* Transities op interactieve elementen */
  a, .btn, .nav-link, .card, img, .contact-icon {
    transition:
      color .25s ease,
      background-color .25s ease,
      border-color .25s ease,
      transform .35s cubic-bezier(.22,.61,.36,1),
      box-shadow .35s ease,
      opacity .25s ease;
  }

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

  .hero-img:hover,
  .card:hover img { transform: scale(1.015); }

  .nav-link { position: relative; }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 4px;
    height: 1px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(.4);
    transform-origin: left center;
    transition: opacity .25s ease, transform .35s cubic-bezier(.22,.61,.36,1);
  }
  .nav-link:hover::after,
  .nav-link.active::after { opacity: .5; transform: scaleX(1); }

  /* Mobiel menu opent zacht */
  [data-nav-mobile].is-open {
    animation: ip-reveal .3s ease-out both;
  }
}

/* ============ Partner marquee ============ */
.section-sm { padding-block: 2.5rem; }
.partners__marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners__track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: partners-scroll 80s linear infinite;
}
.partners__marquee:hover .partners__track { animation-play-state: paused; }
.partners__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  flex: 0 0 auto;
}
.partners__item img {
  max-height: 100%;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: .7;
  filter: grayscale(100%);
  transition: opacity .3s ease, filter .3s ease;
}
.partners__item:hover img { opacity: 1; filter: grayscale(0%); }

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partners__track { animation: none; }
}

/* ============================================================
   Mobile & tablet refinements
   ============================================================ */

/* Partner marquee — kleinere logos & rustigere snelheid op mobiel/tablet */
@media (max-width: 991px) {
  .partners__track { gap: 2.75rem; animation-duration: 60s; }
  .partners__item { height: 48px; }
  .partners__item img { max-width: 120px; }
  .section-sm { padding-block: 2rem; }
}
@media (max-width: 575px) {
  .partners__track { gap: 2rem; animation-duration: 50s; }
  .partners__item { height: 40px; }
  .partners__item img { max-width: 100px; }
  .partners__marquee {
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }
}

/* Hero — comfortabele lees-hoogte op mobiel */
@media (max-width: 767px) {
  .home-hero { min-height: 68vh; }
  .home-hero__inner { padding: 4rem 0 3.5rem; }
  .home-hero__title { font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.08; }
  .home-hero__lede { font-size: 1rem; line-height: 1.5; }
}

/* Grote display titels iets rustiger op klein scherm */
@media (max-width: 575px) {
  .display-serif { font-size: clamp(2.1rem, 10vw, 3rem); line-height: 1.05; }
  .section-title { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .lead-serif { font-size: 1.25rem !important; }
}

/* Navbar — logo iets kleiner op mobiel */
@media (max-width: 575px) {
  .site-nav .container { padding-top: .65rem; padding-bottom: .65rem; }
  .site-nav img { height: 22px !important; }
  .btn { padding: .7rem 1.3rem; font-size: .95rem; }
}

/* Google reviews stack netter op tablet */
@media (max-width: 991px) and (min-width: 576px) {
  .google-reviews-widget__grid { grid-template-columns: 1fr; gap: .85rem; }
}
@media (max-width: 575px) {
  .google-reviews-widget { padding: 1.1rem; }
  .google-reviews-widget__summary { flex-wrap: wrap; gap: .5rem; padding-bottom: 1rem; }
  .google-review-card { min-height: auto; padding: 1rem; }
}

/* News-card ademruimte op mobiel */
@media (max-width: 575px) {
  .news-card h2 { font-size: 1.4rem; }
}

/* Footer — voorkom te dicht op elkaar op mobiel */
@media (max-width: 575px) {
  footer .row.g-5 { --bs-gutter-y: 2rem; }
  footer address a { line-height: 1.8; }
}

/* Contact kaart iframe niet te hoog op mobiel */
@media (max-width: 767px) {
  .contact-map, .contact-map iframe { min-height: 320px; }
}

/* Diff-strip iets minder padding op mobiel */
@media (max-width: 575px) {
  .diff-strip > div { padding: 2rem 1rem; }
}

/* Service cards ademen op mobiel */
@media (max-width: 575px) {
  .home-svc { padding: 1.5rem 1.25rem; }
  .home-svc__title { font-size: 1.35rem; }
}

/* Buttons stapelen netter op zeer smalle schermen */
@media (max-width: 400px) {
  .btn { width: 100%; justify-content: center; }
  .d-flex.flex-wrap.gap-2, .d-flex.flex-wrap.gap-3 { width: 100%; }
}

/* Voorkom horizontale scroll ooit */
html, body { overflow-x: hidden; }

/* Hero-image aspect stabiel op mobiel */
@media (max-width: 767px) {
  .hero-img { aspect-ratio: 4/3; }
}

/* Editorial hero — rustiger op mobiel */
@media (max-width: 575px) {
  .editorial-hero__title { font-size: clamp(2.4rem, 12vw, 3.2rem); }
  .editorial-hero__lede { font-size: .98rem; }
  .editorial-hero__frame { inset: 1rem; }
}


/* ---- Taalwisselaar (dropdown, visueel) ---- */
.lang-dd__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #10213d;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.lang-dd__toggle:hover,
.lang-dd__toggle[aria-expanded="true"] {
  background: rgba(16, 33, 61, 0.04);
}
.lang-dd__caret { transition: transform 0.25s ease; opacity: 0.6; }
.lang-dd__toggle[aria-expanded="true"] .lang-dd__caret { transform: rotate(180deg); }
.lang-dd__menu {
  min-width: 200px;
  padding: 6px;
  margin-top: 8px;
  border: 1px solid rgba(16, 33, 61, 0.1);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 18px 40px -24px rgba(16, 33, 61, 0.45);
}
.lang-dd__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(16, 33, 61, 0.78);
  font-size: 0.92rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.lang-dd__item:hover { background: rgba(16, 33, 61, 0.05); color: #10213d; }
.lang-dd__item.is-active { color: #10213d; font-weight: 600; }
.lang-dd__code {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: rgba(16, 33, 61, 0.45);
}
.lang-dd__item.is-active .lang-dd__code { color: var(--ip-azure, #2aa9e0); }
.lang-dd--mobile { align-self: flex-start; }

/* ---- Contactformulier ---- */
.contact-form-card {
  background: var(--ip-paper, #fff);
  border: 1px solid rgba(15, 27, 61, 0.1);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  box-shadow: none;
}

.contact-form label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ip-muted);
  margin-bottom: 0.45rem;
}

.contact-form label .req {
  color: var(--ip-azure);
  margin-left: 0.2rem;
}

.contact-form .form-control {
  width: 100%;
  border: 1px solid rgba(15, 27, 61, 0.16);
  border-radius: 0;
  background: transparent;
  padding: 0.8rem 1rem;
  color: var(--ip-navy);
  font-size: 0.98rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-form .form-control::placeholder {
  color: rgba(15, 27, 61, 0.35);
}

.contact-form .form-control:focus {
  outline: none;
  background: #fff;
  border-color: var(--ip-azure);
  box-shadow: 0 0 0 3px rgba(0, 160, 220, 0.12);
}

.contact-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-form .form-note {
  font-size: 0.8rem;
  color: var(--ip-muted);
}

/* ---- GDPR checkbox ---- */
.contact-form .form-check-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  color: var(--ip-navy);
}

.contact-form .form-check-gdpr input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.contact-form .form-check-gdpr__box {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  border: 1px solid rgba(15, 27, 61, 0.16);
  border-radius: 0;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-form .form-check-gdpr__box svg {
  width: 0.95rem;
  height: 0.95rem;
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.contact-form .form-check-gdpr:hover .form-check-gdpr__box {
  border-color: rgba(0, 160, 220, 0.55);
}

.contact-form .form-check-gdpr input:focus-visible + .form-check-gdpr__box {
  border-color: var(--ip-azure);
  box-shadow: 0 0 0 3px rgba(0, 160, 220, 0.12);
}

.contact-form .form-check-gdpr input:checked + .form-check-gdpr__box {
  background: var(--ip-azure);
  border-color: var(--ip-azure);
}

.contact-form .form-check-gdpr input:checked + .form-check-gdpr__box svg {
  opacity: 1;
  transform: scale(1);
}

.contact-form .form-check-gdpr input.is-invalid + .form-check-gdpr__box {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.1);
}

.contact-form .form-check-gdpr__text .req {
  color: var(--ip-azure);
}

/* ---- Contactformulier: real-time validatie ---- */
.contact-form .field-error {
  display: none;
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #b3261e;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form .field-error.is-shown {
  display: flex;
  gap: 0.35rem;
  align-items: flex-start;
  animation: ip-field-error 0.25s ease both;
}

@keyframes ip-field-error {
  from { opacity: 0; transform: translateY(-2px); }
  to { opacity: 1; transform: none; }
}

.contact-form .form-control.is-invalid,
.contact-form .form-control.is-invalid:focus {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.1);
}

.contact-form .form-control.is-valid {
  border-color: rgba(0, 160, 220, 0.55);
}

.contact-form .form-status {
  display: none;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.contact-form .form-status.is-shown { display: block; }

.contact-form .form-status.is-error {
  border-color: rgba(179, 38, 30, 0.35);
  background: rgba(179, 38, 30, 0.06);
  color: #b3261e;
}

.contact-form .form-status.is-success {
  border-color: rgba(0, 160, 220, 0.4);
  background: rgba(0, 160, 220, 0.08);
  color: var(--ip-navy);
}

@media (prefers-reduced-motion: reduce) {
  .contact-form .field-error.is-shown { animation: none; }
}
