/* Praktijk Hopman — stijl
   Palet: diep marineblauw (rust/vertrouwen), mist, papier, oker voor attentie */

:root {
  --ink: #0c1830;
  --deep: #1d3a6e;
  --moss: #2f5aa8;
  --sage: #9fb8de;
  --mist: #e8edf7;
  --paper: #f5f7fb;
  --white: #ffffff;
  --ochre: #a9741c;
  --ochre-soft: #f7ecd6;
  --text: #16233a;
  --muted: #55637d;
  --line: #d7dfec;

  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1080px;
  --r: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- typografie ---------- */

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

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.2rem; font-family: var(--body); font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--moss); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }

strong { font-weight: 700; }

.lead { font-size: 1.15rem; color: var(--muted); }

.eyebrow {
  font-family: var(--body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--moss);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.eyebrow::after { content: ""; height: 1px; flex: 1; background: var(--line); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--deep); color: #fff; padding: 12px 18px; text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 247, 251, .93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.head-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }

.brand { text-decoration: none; display: block; margin-right: auto; }
.brand-name {
  display: block; font-family: var(--display); font-size: 1.32rem; font-weight: 600;
  color: var(--deep); letter-spacing: -0.01em;
}
.brand-sub {
  display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; color: var(--text); font-size: .95rem; font-weight: 500;
  padding: 8px 12px; border-radius: var(--r);
}
.nav a:hover { background: var(--mist); color: var(--deep); }
.nav a[aria-current="page"] { color: var(--moss); box-shadow: inset 0 -2px 0 var(--moss); border-radius: 0; }
.nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none; font-family: var(--body); font-size: .9rem; font-weight: 700;
  background: none; border: 1px solid var(--line); border-radius: var(--r);
  padding: 9px 14px; color: var(--deep); cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px; box-shadow: 0 14px 30px rgba(12, 24, 48, .08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .btn { margin: 14px 0 0; text-align: center; border-bottom: 0; }
  .head-inner { position: relative; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block; font-family: var(--body); font-weight: 700; font-size: .95rem;
  text-decoration: none; padding: 13px 22px; border-radius: var(--r);
  background: var(--moss); color: #fff; border: 1px solid var(--moss);
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--deep); border-color: var(--deep); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--deep); border-color: var(--line); }
.btn-ghost:hover { background: var(--mist); color: var(--deep); }
.btn-light { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* ---------- hero ---------- */

.hero { background: var(--deep); color: var(--mist); padding: 72px 0 64px; }
.hero h1 { color: #fff; max-width: 20ch; }
.hero p { color: #cfd9ec; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: start; }
.hero .eyebrow { color: var(--sage); }
.hero .eyebrow::after { background: rgba(159, 184, 222, .35); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* signature: aanmeldstatus */
.status {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(159, 184, 222, .35);
  border-left: 3px solid var(--ochre);
  border-radius: var(--r);
  padding: 26px 26px 22px;
}
.status .label {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage); font-weight: 700; margin: 0 0 12px;
}
.status-line { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.dot {
  width: 11px; height: 11px; border-radius: 50%; background: var(--ochre);
  flex: 0 0 auto; margin-top: 9px; box-shadow: 0 0 0 5px rgba(169, 116, 28, .22);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(169, 116, 28, .22); }
  50% { box-shadow: 0 0 0 9px rgba(169, 116, 28, .08); }
}
.status-line strong {
  font-family: var(--display); font-size: 1.35rem; font-weight: 500;
  line-height: 1.25; color: #fff;
}
.status p { font-size: .95rem; color: #cfd9ec; margin: 0 0 10px; }
.status .updated {
  font-size: .78rem; letter-spacing: .04em; color: var(--sage);
  border-top: 1px solid rgba(159, 184, 222, .3); padding-top: 12px; margin: 16px 0 0;
}

@media (max-width: 860px) {
  .hero { padding: 48px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ---------- page head (subpagina's) ---------- */

.page-head { background: var(--mist); border-bottom: 1px solid var(--line); padding: 54px 0 46px; }
.page-head h1 { margin-bottom: .3em; }
.page-head p { margin: 0; color: var(--muted); font-size: 1.1rem; }

/* ---------- secties ---------- */

section { padding: 66px 0; }
section + section { border-top: 1px solid var(--line); }
section.tight { padding: 46px 0; }
section.alt { background: var(--white); }
section.deep { background: var(--deep); color: var(--mist); border-top: 0; }
section.deep h2, section.deep h3 { color: #fff; }
section.deep .eyebrow { color: var(--sage); }
section.deep .eyebrow::after { background: rgba(159, 184, 222, .3); }
section.deep a { color: var(--sage); }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 34px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.side { display: grid; grid-template-columns: 260px 1fr; gap: 46px; align-items: start; }

@media (max-width: 860px) {
  section { padding: 48px 0; }
  .cols-2, .side { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- kaarten & lijsten ---------- */

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 26px 22px;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
section.alt .card { background: var(--paper); }

.check { list-style: none; margin: 0 0 1.2em; padding: 0; max-width: 62ch; }
.check li { position: relative; padding: 0 0 0 30px; margin-bottom: 12px; }
.check li::before {
  content: ""; position: absolute; left: 6px; top: 11px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--sage);
  box-shadow: 0 0 0 4px rgba(159, 184, 222, .22);
}
.check li em { font-style: normal; font-size: .74rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ochre); margin-left: 8px; }

/* stappen: de reeks is echt een reeks, dus genummerd */
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li {
  counter-increment: s; position: relative; padding: 0 0 26px 62px; margin: 0;
  border-left: 1px solid var(--line); margin-left: 18px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: -18px; top: -2px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mist); color: var(--moss);
  font-family: var(--display); font-size: 1.05rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin: 4px 0 .3em; }
.steps p { margin-bottom: 0; }

.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; gap: 16px; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.facts li:last-child { border-bottom: 0; }
.facts span:first-child { color: var(--muted); }
.facts span:last-child { text-align: right; font-weight: 500; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li {
  font-size: .85rem; background: var(--mist); color: var(--deep);
  border-radius: 100px; padding: 6px 14px;
}
section.deep .tags li { background: rgba(255, 255, 255, .08); color: var(--mist); }

/* ---------- notice ---------- */

.notice {
  background: var(--ochre-soft); border: 1px solid #e6d3ab; border-left: 3px solid var(--ochre);
  border-radius: var(--r); padding: 22px 24px; margin: 0 0 32px;
}
.notice :last-child { margin-bottom: 0; }
.notice h3 { color: #6d4a0d; }

.crisis { background: var(--ink); color: var(--mist); padding: 34px 0; }
.crisis .inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.crisis strong { color: #fff; font-family: var(--display); font-size: 1.2rem; font-weight: 500; }
.crisis p { margin: 0; font-size: .96rem; color: #c3cee1; max-width: 60ch; }
.crisis a { color: var(--sage); }

/* ---------- details / faq ---------- */

details {
  border-bottom: 1px solid var(--line); padding: 4px 0;
}
details summary {
  cursor: pointer; padding: 16px 34px 16px 0; position: relative;
  font-weight: 700; color: var(--deep); list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+"; position: absolute; right: 6px; top: 14px;
  font-family: var(--display); font-size: 1.5rem; color: var(--moss); line-height: 1;
}
details[open] summary::after { content: "–"; }
details .body { padding: 0 0 18px; }
details .body :last-child { margin-bottom: 0; }

/* ---------- tabel ---------- */

.table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table th, .table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.table td:first-child { font-weight: 700; color: var(--deep); white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* ---------- footer ---------- */

.site-foot { background: var(--deep); color: #b9c6dc; padding: 60px 0 30px; font-size: .94rem; }
.site-foot h4 {
  font-family: var(--body); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage); margin: 0 0 14px;
}
.site-foot a { color: #dbe4f0; }
.site-foot a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid p { max-width: 32ch; }
.foot-bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(159, 184, 222, .25);
  display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; font-size: .84rem;
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ============================================================
   BEELD
   ============================================================ */

/* Foto's krijgen een duotoon-behandeling in de huisstijlkleur, zodat
   beeld van verschillende herkomst en kwaliteit één geheel vormt. */

.fig { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--deep); }
.fig img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.72) contrast(1.06) brightness(.98);
  transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}
.fig::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(200deg, rgba(47,90,168,.42), rgba(12,24,48,.28));
  mix-blend-mode: multiply;
}
.fig:hover img { transform: scale(1.035); filter: saturate(.9) contrast(1.06); }
.fig figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 30px 22px 16px; font-size: .86rem; color: #eaeff6;
  background: linear-gradient(to top, rgba(12,24,48,.72), transparent);
}
.fig-poster { background-size: cover; background-position: center; }
.r-3-2 { aspect-ratio: 3 / 2; }
.r-4-5 { aspect-ratio: 4 / 5; }
.r-1-1 { aspect-ratio: 1 / 1; }
.r-16-9 { aspect-ratio: 16 / 9; }

/* ---------- hero met beeld ---------- */

.hero { position: relative; overflow: hidden; padding: 0; background: var(--deep); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img,
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  filter: saturate(.55) contrast(1.04);
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(15,24,45,.96) 0%, rgba(15,24,45,.8) 30%,
                    rgba(15,24,45,.34) 58%, rgba(15,24,45,.06) 100%),
    linear-gradient(to top, rgba(15,24,45,.5), transparent 42%);
}
.hero-contour {
  display: none;
  position: absolute; inset: auto 0 0 0; height: 62%; z-index: 1;
  background: url("img/contour.svg") no-repeat bottom center / 100% 100%;
  opacity: .5; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 104px 0 92px; min-height: 60vh; display: flex; align-items: center; }
.hero-inner > .wrap { width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: 60px; align-items: end; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); text-wrap: balance; }
.hero .lead { color: #d6dfee; max-width: 44ch; }

.status { background: rgba(13, 22, 42, .58); backdrop-filter: blur(10px); }
.status-phone { margin-top: 16px; }

@media (max-width: 860px) {
  .hero-inner { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; align-items: start; }
}

/* ---------- galerij ---------- */

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }

/* beeld naast tekst */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-split.narrow-first { grid-template-columns: .85fr 1.15fr; }
@media (max-width: 860px) {
  .media-split, .media-split.narrow-first { grid-template-columns: 1fr; gap: 30px; }
}

/* overlappende beeldkaart */
.stack { position: relative; }
.stack .fig { box-shadow: 0 26px 60px rgba(12, 24, 48, .18); }
.stack .badge-float {
  position: absolute; right: -20px; bottom: -38px; z-index: 3;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 20px; box-shadow: 0 18px 40px rgba(12, 24, 48, .14); max-width: 214px;
}
.stack .badge-float strong { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--moss); font-weight: 600; }
.stack .badge-float span { font-size: .82rem; line-height: 1.45; color: var(--muted); display: block; margin-top: 4px; }
@media (max-width: 700px) { .stack .badge-float { position: static; margin-top: 16px; right: 0; bottom: 0; max-width: none; } }

/* ---------- iconkaarten ---------- */

.icon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.icon-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px 22px; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.icon-card:hover { border-color: var(--sage); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(12,24,48,.07); }
.icon-card svg { display: block; width: 40px; height: 40px; color: var(--moss); margin-bottom: 16px; }
.icon-card h3 { font-size: 1.06rem; margin-bottom: .35em; }
.icon-card p { font-size: .94rem; color: var(--muted); margin: 0; }
.icon-card .flag {
  display: inline-block; margin-top: 12px; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ochre);
  border: 1px solid #e0cda6; background: var(--ochre-soft); border-radius: 100px; padding: 4px 11px;
}
section.alt .icon-card { background: var(--paper); }

/* ---------- pull quote ---------- */

.pull {
  font-family: var(--display); font-size: clamp(1.5rem, 3.2vw, 2.15rem); font-weight: 400;
  font-style: italic; line-height: 1.32; color: var(--deep); max-width: 30ch; margin: 0;
}
section.deep .pull { color: #fff; }

/* ---------- sierband met contourmotief ---------- */

.band {
  height: 120px; background: var(--deep) url("img/contour-wide.svg") no-repeat center bottom / cover;
  opacity: 1;
}
.band-light { background-color: var(--mist); }

/* ---------- logo's / badges ---------- */

.badge-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.badge {
  display: flex; flex-direction: column; gap: 3px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--white);
  padding: 16px 18px; transition: border-color .2s ease, background .2s ease;
}
.badge:hover { border-color: var(--moss); background: var(--mist); }
.badge .abbr { font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--deep); letter-spacing: .01em; }
.badge .full { font-size: .78rem; color: var(--muted); line-height: 1.4; }
section.deep .badge { background: rgba(255,255,255,.05); border-color: rgba(159,184,222,.3); }
section.deep .badge:hover { background: rgba(255,255,255,.1); border-color: var(--sage); }
section.deep .badge .abbr { color: #fff; }
section.deep .badge .full { color: #a9b8d3; }

.insurers { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.insurers li {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--white);
  padding: 11px 18px; font-weight: 700; color: var(--deep); font-size: .95rem;
}
.insurers li span { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }

/* ---------- kaart ---------- */

.map {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--mist); position: relative;
}
.map img { display: block; width: 100%; height: auto; }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- portret ---------- */

.portrait { display: grid; grid-template-columns: 300px 1fr; gap: 46px; align-items: start; }
@media (max-width: 860px) { .portrait { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Illustraties zijn al in de huisstijlkleuren getekend: geen duotoon eroverheen. */
.fig-flat { background: var(--mist); }
.fig-flat::after { display: none; }
.fig-flat img { filter: none; }
.fig-flat:hover img { filter: none; transform: scale(1.02); }
.fig-flat figcaption {
  color: var(--deep);
  background: linear-gradient(to top, rgba(245,247,251,.94), rgba(245,247,251,0));
  font-weight: 500;
}
.hero-media img,
.hero-slide { filter: none; }

/* merknaam blijft op smalle schermen op één regel */
@media (max-width: 520px) {
  .brand-name { font-size: 1.18rem; }
  .brand-sub { font-size: .62rem; letter-spacing: .08em; }
}
