/* ============================================================
   Oedeemcentrum Flevoland — redesign in Nursing Care-stijl
   Kleurenpalet 1:1 overgenomen van de oude site:
   - Primair (lime):   #d6df51
   - Donker (antraciet): #262b2e
   - Tekst:            #565656
   ============================================================ */

:root {
  --lime: #d6df51;
  --lime-dark: #adb53e;
  --lime-wash: #f7f8e4;
  --lime-wash-2: #eef1cf;
  --ink: #262b2e;
  --ink-soft: #3a4045;
  --text: #565656;
  --muted: #999999;
  --line: #e7e8ea;
  --bg-soft: #f5f6f2;
  --white: #ffffff;
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(38, 43, 46, .06);
  --shadow-md: 0 10px 30px rgba(38, 43, 46, .10);
  --shadow-lg: 0 24px 60px rgba(38, 43, 46, .16);
  --font: 'Plus Jakarta Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.15em; }

a { color: var(--ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--lime-dark); }

.accent { color: var(--lime-dark); }

.container { width: min(1360px, calc(100% - 48px)); margin-inline: auto; }

section { padding: 88px 0; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .98rem;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  font-family: var(--font);
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }

.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--lime); color: var(--ink); transform: translateY(-2px); }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--ink); color: var(--white); }

/* ---------- sectielabels (pills) ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime-wash);
  color: var(--ink);
  border: 1px solid var(--lime-wash-2);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}

.pill::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--text); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}

.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner {
  width: calc(100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
}

.brand { flex: none; }

.brand img { height: 58px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 0; }

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 11px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  white-space: nowrap;
}

.main-nav a:hover { background: var(--lime-wash); color: var(--ink); }

.main-nav li.is-active > a { background: var(--lime-wash); color: var(--ink); box-shadow: inset 0 0 0 1px var(--lime-wash-2); }

.main-nav .caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  transition: transform .2s;
}

.main-nav .caret svg { width: 100%; height: 100%; display: block; }

/* dropdowns */
.has-sub { position: relative; }

.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .22s ease;
}

.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.has-sub:hover > a .caret { transform: rotate(180deg); }

.sub-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .93rem;
}

.header-cta { display: inline-flex; flex: none; }

@media (max-width: 1499px) {
  .header-cta { display: none; }
}

/* compacte header op smallere desktops zodat het menu op één regel blijft */
@media (max-width: 1499px) and (min-width: 1200px) {
  .brand img { height: 46px; }
  .main-nav a { font-size: .82rem; padding: 8px 8px; gap: 4px; }
  .main-nav .caret { width: 10px; height: 10px; }
  .header-inner { gap: 14px; }
}

.nav-toggle {
  display: none;
  background: var(--lime-wash);
  border: 1px solid var(--lime-wash-2);
  border-radius: var(--r-md);
  padding: 11px 13px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .25s;
}

.nav-toggle span + span { margin-top: 5px; }

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 20px 0 0; }

.hero-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(38,43,46,.10) 0%, rgba(38,43,46,.42) 55%, rgba(38,43,46,.78) 100%);
}

.hero-content { padding: clamp(28px, 5vw, 64px); max-width: 960px; }

.hero-content .pill { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); color: var(--white); backdrop-filter: blur(6px); }

.hero-content h1 { color: var(--white); }

.hero-content p { color: rgba(255,255,255,.92); font-size: 1.05rem; max-width: none; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* USP-balk */
.usp-bar {
  background: var(--lime);
  border-radius: var(--r-pill);
  margin-top: -34px;
  position: relative;
  z-index: 5;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.usp-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: usp-scroll 36s linear infinite;
}

.usp-bar:hover .usp-track { animation-play-state: paused; }

.usp-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 28px;
  color: var(--ink);
  font-weight: 700;
  font-size: .97rem;
  white-space: nowrap;
}

.usp-item svg { width: 18px; height: 18px; flex: none; }

@keyframes usp-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .usp-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ---------- dienstenkaarten ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--tint, var(--lime-wash));
  border-radius: var(--r-xl);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: inherit; }

.service-card .icon-wrap {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.service-card .icon-wrap svg { width: 26px; height: 26px; stroke: var(--ink); }

.service-card h3 { margin: 4px 0 0; }

.service-card p { font-size: .95rem; margin: 0; flex: 1; }

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .93rem;
  color: var(--ink);
}

.service-card .card-link svg { width: 15px; height: 15px; transition: transform .2s; }
.service-card:hover .card-link svg { transform: translateX(4px); }

.service-card.is-dark { background: var(--ink); }
.service-card.is-dark h3, .service-card.is-dark p, .service-card.is-dark .card-link { color: var(--white); }
.service-card.is-dark p { color: rgba(255,255,255,.78); }
.service-card.is-dark .icon-wrap { background: var(--lime); }

/* ---------- over ons / collage ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.collage { position: relative; padding-bottom: 46px; }

.collage .photo-main {
  border-radius: var(--r-xl);
  width: 82%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.collage .photo-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.exp-badge {
  position: absolute;
  left: 4%;
  bottom: 6px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 50%;
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
}

.exp-badge .num { font-size: 2.6rem; font-weight: 800; line-height: 1; display: block; }
.exp-badge .label { font-size: .72rem; font-weight: 700; line-height: 1.3; display: block; margin-top: 4px; }

.about-copy .pill { margin-bottom: 14px; }
.about-copy .btn { margin-top: 10px; }

/* ---------- team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: inherit; }

.team-card .photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-soft);
}

.team-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; transition: transform .4s ease; }

.team-card:hover .photo img { transform: scale(1.05); }

.team-card .body { padding: 20px 22px 24px; }

.team-card h3 { font-size: 1.08rem; margin: 0 0 4px; }

.team-card .role { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- logostrook ---------- */
.logo-strip { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.logo-strip .strip-label {
  text-align: center;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 6vw, 72px);
}

.logo-row img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(.55);
  transition: filter .25s;
}

.logo-row a:hover img, .logo-row img:hover { filter: grayscale(0) opacity(1); }

/* ---------- CTA-band ---------- */
.cta-band {
  background: var(--lime-wash);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--lime);
  opacity: .25;
}

.cta-band::before { width: 260px; height: 260px; top: -130px; left: -80px; }
.cta-band::after { width: 200px; height: 200px; bottom: -110px; right: -60px; }

.cta-band > * { position: relative; z-index: 1; }

.cta-band h2 { max-width: 620px; margin-inline: auto; }
.cta-band p { max-width: 560px; margin: 0 auto 26px; }

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

.quote-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote-card .qmark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--lime-wash);
  display: grid;
  place-items: center;
  color: var(--lime-dark);
  font-size: 1.9rem;
  font-weight: 800;
  font-family: Georgia, serif;
  line-height: 1;
  padding-top: 12px;
}

.quote-card blockquote { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--ink); flex: 1; }

.quote-card figcaption { font-size: .87rem; color: var(--muted); }

/* ---------- contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: stretch;
}

.contact-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 420px;
}

.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

.contact-panel {
  background: var(--bg-soft);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
}

.contact-items { display: grid; gap: 10px; margin: 22px 0 26px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 18px;
  font-weight: 600;
  color: var(--ink);
}

.contact-item:hover { border-color: var(--lime); color: var(--ink); }

.contact-item .ci-icon {
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  background: var(--lime-wash);
  display: grid;
  place-items: center;
}

.contact-item .ci-icon svg { width: 18px; height: 18px; stroke: var(--ink); }

.contact-item small { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); }

.contact-form { display: grid; gap: 14px; margin-top: 8px; }

.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.contact-form label { font-size: .85rem; font-weight: 700; color: var(--ink); display: block; margin-bottom: 6px; }

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--lime-dark);
  box-shadow: 0 0 0 3px rgba(214, 223, 81, .35);
}

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

.form-note { font-size: .82rem; color: var(--muted); margin: 4px 0 0; }

.contact-form .btn { justify-self: center; }

/* ---------- nieuws ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: inherit; }

.news-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--lime-wash); position: relative; }

.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }

.news-card:hover .thumb img { transform: scale(1.05); }

.news-card .thumb.thumb-fallback { display: grid; place-items: center; }

.news-card .thumb.thumb-fallback svg { width: 54px; height: 54px; stroke: var(--lime-dark); opacity: .8; }

.news-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.news-card .date {
  font-size: .8rem;
  font-weight: 700;
  color: var(--lime-dark);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.news-card h3 { font-size: 1.12rem; margin: 0; }

.news-card p { font-size: .92rem; margin: 0; flex: 1; }

.news-card .card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--ink); margin-top: 6px; }

.news-card .card-link svg { width: 15px; height: 15px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); margin-top: 40px; }

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 5vw, 60px);
  padding: 72px 0 52px;
}

.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }

.site-footer a { color: rgba(255,255,255,.78); font-size: .94rem; }

.site-footer a:hover { color: var(--lime); }

.footer-brand img { height: 48px; margin-bottom: 18px; }

.footer-brand p { font-size: .94rem; }

.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; }

.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 5px; stroke: var(--lime); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: .86rem;
}

.footer-bottom a { color: var(--lime); font-weight: 600; }

/* ---------- pagina-hero (subpagina's) ---------- */
.page-hero {
  background: var(--lime-wash);
  padding: 64px 0 60px;
  border-bottom: 1px solid var(--lime-wash-2);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--lime);
  opacity: .22;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 { margin-bottom: 0; }

.breadcrumbs { font-size: .88rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.breadcrumbs a { color: var(--text); }
.breadcrumbs a:hover { color: var(--lime-dark); }
.breadcrumbs .sep { color: var(--lime-dark); }

/* ---------- contentlayout subpagina's ---------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding: 72px 0 40px;
}

.page-layout.no-sidebar { grid-template-columns: minmax(0, 820px); justify-content: center; }

.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.22rem; margin-top: 1.7em; color: var(--ink); }
.prose h3:first-child { margin-top: 0; }

.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.3em; display: grid; gap: 10px; }

.prose ul li { position: relative; padding-left: 32px; }

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--lime);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat, linear-gradient(#000 0 0);
          mask-composite: exclude;
}

.prose ol { padding-left: 0; margin: 0 0 1.3em; list-style: none; counter-reset: item; display: grid; gap: 12px; }

.prose ol li { position: relative; padding-left: 44px; counter-increment: item; }

.prose ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 1px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--lime-wash);
  border: 1px solid var(--lime-wash-2);
  color: var(--ink);
  font-weight: 800;
  font-size: .85rem;
  display: grid;
  place-items: center;
}

.prose a { color: var(--lime-dark); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(173,181,62,.4); text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }

.prose img { border-radius: var(--r-lg); box-shadow: var(--shadow-sm); margin: 10px 0 20px; }

.prose img.img-inline { max-width: 380px; }

.prose .lead { font-size: 1.12rem; color: var(--ink-soft); }

/* sidebar */
.sidebar { display: grid; gap: 24px; position: sticky; top: 108px; }

.side-card {
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding: 28px;
}

.side-card h3 { font-size: 1.05rem; margin-bottom: 16px; }

.side-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

.side-card ul a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink);
  transition: all .2s;
}

.side-card ul a:hover { border-color: var(--lime); transform: translateX(3px); }

.side-card ul li.is-here a { background: var(--lime); border-color: var(--lime); }

.side-card ul a svg { width: 14px; height: 14px; flex: none; }

.side-card.side-contact { background: var(--ink); color: rgba(255,255,255,.82); }
.side-card.side-contact h3 { color: var(--white); }
.side-card.side-contact p { font-size: .92rem; }
.side-card.side-contact .btn { width: 100%; justify-content: center; margin-top: 8px; }
.side-card.side-contact a.plain { color: var(--white); font-weight: 600; display: flex; gap: 10px; align-items: center; padding: 6px 0; }
.side-card.side-contact a.plain:hover { color: var(--lime); }
.side-card.side-contact a.plain svg { width: 16px; height: 16px; stroke: var(--lime); flex: none; }

/* ---------- nieuwsberichten (detail) ---------- */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: .88rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.post-meta .date-chip {
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--r-pill);
  font-weight: 700;
  padding: 5px 14px;
  font-size: .82rem;
}

.post-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 28px;
}

.post-nav a { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: .93rem; }

.post-nav a svg { width: 15px; height: 15px; }

/* ---------- team-detail ---------- */
.member-hero {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: 72px 0;
}

.member-hero .photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); }

.member-hero .photo img { aspect-ratio: 1/1; object-fit: cover; object-position: 60% 18%; width: 100%; }

.member-hero ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }

.member-hero ul li {
  background: var(--lime-wash);
  border: 1px solid var(--lime-wash-2);
  border-radius: var(--r-pill);
  padding: 10px 22px;
  font-weight: 600;
  color: var(--ink);
  width: fit-content;
}

/* ---------- partnerkaarten ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.partner-card {
  background: var(--bg-soft);
  border-radius: var(--r-xl);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.partner-card h3 { margin: 0; }
.partner-card p { flex: 1; font-size: .96rem; }

/* ---------- helpers ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.section-tint { background: var(--bg-soft); }
.section-cta-wrap { padding-top: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 var(--r-md) 0;
  z-index: 100;
}

.skip-link:focus { left: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .member-hero { grid-template-columns: 300px 1fr; }
}

@media (max-width: 1199px) {
  /* backdrop-filter maakt de header het referentiekader voor fixed-elementen
     en drukt het menupaneel plat — daarom hier uit */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }

  .main-nav {
    position: fixed;
    inset: 92px 0 0 0;
    background: var(--white);
    overflow-y: auto;
    display: none;
    padding: 20px 24px 60px;
    z-index: 55;
  }

  body.nav-open .main-nav { display: block; }
  body.nav-open { overflow: hidden; }

  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }

  .main-nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: var(--r-md); justify-content: space-between; }

  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-soft);
    border-radius: var(--r-md);
    margin: 4px 0 8px;
    display: none;
  }

  .has-sub.open .sub-menu { display: block; }
  .has-sub.open > a .caret { transform: rotate(180deg); }

  .nav-toggle { display: block; }
  .header-cta { display: none; }
}

@media (max-width: 920px) {
  section { padding: 64px 0; }

  .split { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-photo { min-height: 300px; }
  .quote-grid, .news-grid, .partner-grid { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .member-hero { grid-template-columns: 1fr; padding: 56px 0; }
  .member-hero .photo { max-width: 380px; }
  .hero-card { min-height: 480px; }
  /* 72px onder = 52px + de 20px die de USP-balk over de kaart valt,
     zodat de zichtbare ruimte boven en onder gelijk is */
  .hero-content { padding: 52px 28px 72px; }
  .usp-bar { border-radius: var(--r-lg); margin-top: -20px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; padding: 56px 0 40px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .exp-badge { width: 124px; height: 124px; }
  .exp-badge .num { font-size: 2.1rem; }
  .collage .photo-main { width: 100%; }
  .collage .photo-sub { width: 58%; }
  .brand img { height: 46px; }
  .header-inner { min-height: 72px; }
  .main-nav { inset: 72px 0 0 0; }
  .hero-content .pill { font-size: .68rem; letter-spacing: .02em; padding: 7px 13px; }
  .hero-content p { font-size: .95rem; text-wrap: balance; }
}
