/* ==========================================================================
   KK&V Accountants — styles.css
   Basislaag: variabelen, reset, typografie, header/nav, footer, buttons.
   Paginaspecifieke secties (hero, kaarten, etc.) komen in latere iteraties.
   ========================================================================== */

/* ---- Fonts (zelf gehost i.v.m. AVG — geen requests naar Google Fonts) ----
   Inter variabel font (gewichten 400–700 in één bestand), per subset. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Kleuren — voorlopig palet, zie plan.md §4.1 */
  --color-navy: #032856;
  --color-slate-blue: #62819d;
  --color-stone-gray: #95979b;
  --color-mist: #f2f5f9;
  --color-white: #ffffff;
  --color-text: #334155;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;

  /* Typografie */
  --font-base: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --radius: 0.5rem;
  --header-height: 5rem;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

/* ---- Toegankelijkheid: focus-states ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-slate-blue);
  outline-offset: 2px;
}

/* ---- Typografie ---- */
h1,
h2,
h3,
h4 {
  color: var(--color-navy);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 var(--space-sm);
}

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 var(--space-sm);
}

.text-muted {
  color: var(--color-text-muted);
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section--mist {
  background-color: var(--color-mist);
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-sm);
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

/* ---- Header & navigatie ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
}

.logo img {
  height: 3.75rem;
  width: auto;
  display: block;
}

@media (max-width: 480px) {
  .logo img {
    height: 2.75rem;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__list {
  display: flex;
  gap: var(--space-md);
}

.nav__list a {
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
}

.nav__list a:hover,
.nav__list a:focus-visible,
.nav__list a[aria-current="page"] {
  color: var(--color-navy);
  border-bottom-color: var(--color-navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--color-white);
    padding: var(--space-md);
    transform: translateX(100%);
    transition: transform 0.2s ease-in-out;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  /* Voorkom dat de pagina onder het open menu meescrollt */
  body.nav-open {
    overflow: hidden;
  }

  .nav__list {
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn--primary {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: #021a3d;
}

.btn--outline {
  background-color: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* Ghost: voor op donkere hero-achtergrond */
.btn--ghost {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--color-white);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-navy);
}

/* Light: witte knop voor op navy CTA-band */
.btn--light {
  background-color: var(--color-white);
  color: var(--color-navy);
}

.btn--light:hover,
.btn--light:focus-visible {
  background-color: var(--color-mist);
}

/* ---- Section helpers (light variant) ---- */
.section--light {
  background-color: var(--color-white);
}

/* ---- Paginalayout (subpagina's) ---- */
.page-hero {
  background: linear-gradient(120deg, var(--color-navy), var(--color-slate-blue));
  color: var(--color-white);
  padding: var(--space-xl) 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.875rem;
  margin-bottom: var(--space-xs);
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--color-white);
  text-decoration: underline;
}

.breadcrumb__current {
  color: var(--color-white);
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 0;
}

.page-content {
  padding: var(--space-xl) 0;
}

/* ---- Hero (full-bleed met overlay) ---- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  /* Volle breedte, hoog genoeg zodat de foto (16:9) maar beperkt hoeft te
     croppen; alleen de bovenkant (plafond/ramen) valt weg. */
  min-height: clamp(26rem, 38vw, 40rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../img/hero/hero_homepage.webp");
  background-size: cover;
  /* Iets onder het midden uitgelijnd: laptop, mok en bril rechtsonder blijven
     in beeld, maar er blijft ook lucht/bovenkant van de foto zichtbaar. */
  background-position: center 72%;
}

/* Op smalle (portret)schermen wordt de foto ook horizontaal gecropt; houd
   het focuspunt (de laptop met het KK&V-dashboard, rond 65-70% horizontaal)
   samen met de onderrand in beeld. */
@media (max-width: 768px) {
  .hero__media {
    background-position: 68% 72%;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(3, 22, 47, 0.88) 0%,
    rgba(3, 40, 86, 0.65) 40%,
    rgba(3, 40, 86, 0.25) 68%,
    rgba(3, 40, 86, 0.05) 100%
  );
}

.hero__inner {
  width: 100%;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.hero__content {
  max-width: 40rem;
  color: var(--color-white);
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #aebfd4;
  margin-bottom: var(--space-sm);
}

.hero__brand {
  color: var(--color-white);
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero__tagline {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ---- Intro / naamsverklaring ---- */
.intro__inner {
  max-width: 56rem;
  text-align: center;
}

.intro__lead {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}

.intro__lead strong {
  color: var(--color-navy);
}

.intro__body {
  margin-top: var(--space-md);
  text-align: center;
  color: var(--color-text);
}

.intro__body p {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.6;
  margin: 0 0 var(--space-md);
}

.intro__body p:last-child {
  margin-bottom: 0;
}

/* ---- Kernwaarden ---- */
.values-row__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.values-row__title {
  margin: 0 0 var(--space-xs);
}

.values-row__sub {
  margin: 0;
}

.values-row__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.value-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  box-shadow: 0 18px 40px -32px rgba(3, 40, 86, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(3, 40, 86, 0.45);
}

.value-item h3 {
  margin: var(--space-md) 0 var(--space-xs);
  font-size: 1.25rem;
}

.value-item__pillar {
  display: block;
  width: 11rem;
  max-width: 100%;
  height: auto;
  margin: 0 auto var(--space-sm);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.value-item p {
  font-size: 0.95rem;
  margin: 0;
}

.hexagon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  color: var(--color-white);
}

.hexagon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.hexagon--navy {
  background-color: var(--color-navy);
}

.hexagon--gray {
  background-color: var(--color-slate-blue);
}

@media (max-width: 768px) {
  .values-row__inner {
    grid-template-columns: 1fr;
  }
}

/* ---- Nieuws ---- */
.news-block__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.news-block__header h2 {
  margin: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.news-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -30px rgba(3, 40, 86, 0.45);
}

.news-card__image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-slate-blue), var(--color-navy));
}

.news-card__image--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: var(--color-mist);
}

.news-card__image--logo img {
  width: auto;
  height: auto;
  max-width: 60%;
  max-height: 80%;
}

.article-figure {
  margin: 0 0 var(--space-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-mist);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.article-figure img {
  width: auto;
  height: auto;
  max-width: 240px;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: var(--space-md);
}

.news-card__title {
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.35;
  color: var(--color-navy);
}

.news-card__title:hover,
.news-card__title:focus-visible {
  color: var(--color-slate-blue);
}

.news-card time {
  font-size: 0.8125rem;
}

.news-card__more {
  margin-top: auto;
  padding-top: var(--space-xs);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-navy);
}

.news-card__more:hover span,
.news-card__more:focus-visible span {
  margin-left: 0.25rem;
}

@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.btn--small {
  padding: 0.4rem 0.9rem;
  font-size: 0.875rem;
}

/* ---- Aangesloten bij ---- */
.affiliations__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  text-align: center;
}

.affiliations__title {
  font-size: 1.125rem;
  margin: 0;
  color: var(--color-text-muted);
  font-weight: 600;
}

.affiliations__logos {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.affiliations__logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.affiliations__logo:hover,
.affiliations__logo:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.affiliations__logo img {
  height: 4.5rem;
  width: auto;
}

/* ---- CTA-band ---- */
.cta-band {
  background: linear-gradient(120deg, var(--color-navy), #06407e);
  color: var(--color-white);
  padding: var(--space-xl) 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cta-band__text {
  max-width: 40rem;
}

.cta-band__text h2 {
  color: var(--color-white);
  margin: 0 0 var(--space-xs);
}

.cta-band__text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

/* ---- Footer (volledig) ---- */
.site-footer {
  background-color: var(--color-navy);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding: var(--space-xl) var(--space-md);
  text-align: left;
}

.site-footer__logo {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.site-footer__brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 24rem;
}

.site-footer__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.15s, border-color 0.15s;
}

.site-footer__linkedin svg {
  width: 1.35rem;
  height: 1.35rem;
}

.site-footer__linkedin:hover,
.site-footer__linkedin:focus-visible {
  background-color: var(--color-slate-blue);
  border-color: var(--color-slate-blue);
}

.site-footer__col h3 {
  color: var(--color-white);
  font-size: 1rem;
  margin: 0 0 var(--space-sm);
}

.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.site-footer__col a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__col a:hover,
.site-footer__col a:focus-visible {
  color: var(--color-white);
  text-decoration: underline;
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.site-footer__contact svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--color-slate-blue);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8125rem;
}

.site-footer__bottom p {
  margin: 0;
}

@media (max-width: 768px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Subpagina-content (Diensten, Over ons, Nieuws)
   ========================================================================== */

/* ---- Paginakop: introtekst onder h1 ---- */
.article-meta {
  margin: var(--space-xs) 0 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.page-hero__lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 46rem;
  margin: var(--space-sm) 0 0;
}

/* ---- Gecentreerde sectiekop ---- */
.section-heading {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto var(--space-lg);
}

.section-heading h2 {
  margin: 0 0 var(--space-xs);
}

.section-heading p {
  margin: 0;
}

/* ---- Lopende tekst ---- */
.prose {
  max-width: 48rem;
}

.services-intro {
  margin-bottom: var(--space-lg);
}

.prose p {
  font-size: 1.0625rem;
}

.prose h2 {
  margin-top: var(--space-lg);
}

.prose ul.prose__list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 var(--space-sm);
}

.prose ul.prose__list li {
  margin-bottom: 0.35rem;
}

/* ---- Diensten ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 980px) and (min-width: 769px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: 0 18px 40px -32px rgba(3, 40, 86, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(3, 40, 86, 0.45);
}

.service-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.service-card__head .hexagon {
  margin: 0;
  flex-shrink: 0;
}

.service-card__head h2 {
  font-size: 1.25rem;
  margin: 0;
}

.service-card > p {
  margin: 0;
  color: var(--color-text-muted);
}

.service-card__list {
  display: grid;
  gap: 0.5rem;
  margin-top: auto;
}

.service-card__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.55rem;
  height: 0.3rem;
  border-left: 2px solid var(--color-slate-blue);
  border-bottom: 2px solid var(--color-slate-blue);
  transform: rotate(-45deg);
}

.service-card--wide {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


/* ---- Team / Over ons ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.team-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  box-shadow: 0 18px 40px -32px rgba(3, 40, 86, 0.4);
}

.team-card__photo {
  width: 8rem;
  height: 8rem;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.team-card__avatar {
  width: 8rem;
  height: 8rem;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-navy), var(--color-slate-blue));
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
}

.team-card h3 {
  margin: 0 0 0.15rem;
  font-size: 1.125rem;
}

.team-card__role {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate-blue);
  margin-bottom: var(--space-xs);
}

.team-card__email {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
  word-break: break-word;
}

.team-card__email:hover,
.team-card__email:focus-visible {
  color: var(--color-slate-blue);
}

/* Ons team telt momenteel twee collega's: gecentreerd in twee kolommen. */
.team-grid--team {
  grid-template-columns: repeat(2, minmax(0, 18rem));
  justify-content: center;
}

.team-card p {
  font-size: 0.95rem;
  margin: 0;
}

.team-card__company {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted, #5a6472);
  margin-top: 0.15rem;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Twee-koloms infoblok (specialisten / werken bij) ---- */
.info-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.info-split--reverse .info-split__media {
  order: -1;
}

.info-split__media {
  background: linear-gradient(135deg, var(--color-navy), var(--color-slate-blue));
  border-radius: var(--radius);
  min-height: 16rem;
}

@media (max-width: 768px) {
  .info-split {
    grid-template-columns: 1fr;
  }

  .info-split--reverse .info-split__media {
    order: 0;
  }
}

/* ---- Nieuws: bronvermelding ---- */

.news-card__source {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-slate-blue);
}

/* ---- Uitgelicht profiel (bv. partner op Over ons) ---- */
.profile-feature {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: var(--space-lg);
  align-items: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  box-shadow: 0 18px 40px -32px rgba(3, 40, 86, 0.4);
}

.profile-feature__photo {
  width: 14rem;
  height: 14rem;
  object-fit: cover;
  border-radius: var(--radius);
}

.profile-feature__body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
}

.profile-feature__body .team-card__role {
  margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
  .profile-feature {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .profile-feature__photo {
    width: 12rem;
    height: 12rem;
  }
}

/* ---- Vacatures ---- */
.vacancy-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.vacancy-card__section {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.vacancy-card__section h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--color-slate-blue);
}

.vacancy-card__section ul {
  margin: 0;
  padding-left: 1.4rem;
  list-style: disc;
}

.vacancy-card__section li {
  margin-bottom: 0.3rem;
}

.vacancy-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: 0 18px 40px -32px rgba(3, 40, 86, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.vacancy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(3, 40, 86, 0.45);
}

.vacancy-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  height: 100%;
}

.vacancy-card__body h3 {
  margin: 0;
}

.vacancy-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.vacancy-card__meta li {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-slate-blue);
  background-color: var(--color-mist);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

.vacancy-card__body p {
  margin: 0;
}

.vacancy-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

@media (max-width: 768px) {
  .vacancy-list {
    grid-template-columns: 1fr;
  }
}

/* ---- Formulier (sollicitatie / contact) ---- */
.job-form-wrap {
  max-width: 44rem;
}

.job-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.job-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-white);
}

.form-field textarea {
  resize: vertical;
}

.form-field input[type="file"] {
  padding: 0.5rem;
}

.form-field__hint {
  font-size: 0.85rem;
  margin: 0;
}

.form-field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
}

.form-field--check input {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.form-field--check label {
  font-weight: 400;
  color: var(--color-text);
}

.form-field--check a {
  color: var(--color-navy);
  text-decoration: underline;
}

.job-form .btn {
  align-self: flex-start;
}

@media (max-width: 640px) {
  .job-form__row {
    grid-template-columns: 1fr;
  }
}

/* ---- Contactpagina ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-form-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: 0 18px 40px -32px rgba(3, 40, 86, 0.4);
}

.contact-form-card h2 {
  margin-top: 0;
}

.contact-panel {
  background: linear-gradient(150deg, var(--color-navy), #06407e);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: var(--space-lg);
}

.contact-panel h2 {
  color: var(--color-white);
  margin-top: 0;
}

.contact-panel__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-panel__list svg {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: #aebfd4;
}

.contact-panel__list a {
  color: var(--color-white);
}

.contact-panel__list a:hover,
.contact-panel__list a:focus-visible {
  text-decoration: underline;
}

.contact-panel__label {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #aebfd4;
  margin-bottom: 0.15rem;
}

.contact-panel--person {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-panel__photo {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid rgba(255, 255, 255, 0.35);
  margin-bottom: var(--space-md);
}

.contact-panel__role {
  display: block;
  color: #aebfd4;
  font-weight: 600;
  font-size: 0.9375rem;
  margin: 0.15rem 0 var(--space-md);
}

.contact-panel__email {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: var(--space-md);
  word-break: break-word;
}

.contact-panel__email svg {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
  color: #aebfd4;
}

.contact-panel__email:hover,
.contact-panel__email:focus-visible {
  text-decoration: underline;
}

.contact-panel__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.15s, border-color 0.15s;
}

.contact-panel__linkedin svg {
  width: 1.3rem;
  height: 1.3rem;
}

.contact-panel__linkedin:hover,
.contact-panel__linkedin:focus-visible {
  background-color: var(--color-slate-blue);
  border-color: var(--color-slate-blue);
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* ---- Contactgegevens (bv. klachtenregeling) ---- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: var(--space-sm) 0 0;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.contact-details svg {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--color-slate-blue);
}

/* ---- Vacatures: overzicht in blokken ---- */
.vacancy-list--overview {
  grid-template-columns: repeat(4, 1fr);
}

.vacancy-list--overview .vacancy-card__body h3 {
  color: var(--color-navy);
}

@media (max-width: 992px) {
  .vacancy-list--overview {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .vacancy-list--overview {
    grid-template-columns: 1fr;
  }
}

.vacancy-card__teaser {
  color: var(--color-text-muted);
}

/* ---- Vacature-detailpagina ---- */
.vacancy-detail {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.vacancy-detail__main {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.vacancy-detail__aside {
  position: sticky;
  top: var(--space-lg);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: 0 18px 40px -32px rgba(3, 40, 86, 0.4);
}

.vacancy-detail__aside h2 {
  margin: 0 0 var(--space-xs);
  font-size: 1.25rem;
}

.vacancy-detail__aside p {
  margin: 0 0 var(--space-md);
  color: var(--color-text-muted);
}

.apply-panel__form .job-form__row {
  grid-template-columns: 1fr;
}

@media (max-width: 860px) {
  .vacancy-detail {
    grid-template-columns: 1fr;
  }

  .vacancy-detail__aside {
    position: static;
  }
}

/* ---- Profielmodal (team / specialisten) ---- */
.team-card--interactive {
  cursor: pointer;
}

.team-card__link {
  align-self: center;
  margin-top: var(--space-xs);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-slate-blue);
  cursor: pointer;
  text-decoration: underline;
}

.team-card__link:hover,
.team-card__link:focus-visible {
  color: var(--color-navy);
}

body.modal-open {
  overflow: hidden;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(3, 17, 40, 0.6);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 40rem;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--color-white);
  border-radius: var(--radius);
  padding: var(--space-xl);
  box-shadow: 0 30px 60px -20px rgba(3, 40, 86, 0.5);
}

.modal__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background-color: var(--color-mist);
  color: var(--color-navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.modal__close:hover,
.modal__close:focus-visible {
  background-color: var(--color-border);
}

.profile-modal__layout {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.profile-modal__photo {
  width: 12rem;
  height: 12rem;
  border-radius: var(--radius);
  object-fit: cover;
}

.profile-modal__avatar {
  width: 12rem;
  height: 12rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-navy), var(--color-slate-blue));
}

.profile-modal__body h2 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
}

.profile-modal__role {
  display: block;
  font-weight: 600;
  color: var(--color-slate-blue);
}

.profile-modal__company {
  display: block;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.profile-modal__bio {
  margin: var(--space-sm) 0 0;
}

@media (max-width: 600px) {
  .profile-modal__layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

/* ---- Over ons: paginanavigatie, verhaalkaarten en kernwaardenstrip ---- */
.page-hero__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.page-hero__nav a {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.page-hero__nav a:hover,
.page-hero__nav a:focus-visible {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-navy);
}

/* Ankers vrijhouden van de sticky header bij in-page navigatie */
#ons-verhaal,
#ons-team,
#specialisten {
  scroll-margin-top: 6rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.story-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-md);
  box-shadow: 0 18px 40px -32px rgba(3, 40, 86, 0.4);
}

.story-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-mist);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.story-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.story-card h3 {
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.story-card p {
  margin: 0;
}

.story-outro {
  max-width: 46rem;
  margin: var(--space-lg) auto 0;
  padding-left: var(--space-md);
  border-left: 3px solid var(--color-slate-blue);
  font-size: 1.0625rem;
}

.values-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.values-strip img {
  width: 8.5rem;
  height: auto;
}

/* Externe specialisten: zelfde kaartstijl als het team, maar met een
   accentrand zodat het onderscheid intern/extern direct zichtbaar is. */
.team-card--external {
  border-top: 3px solid var(--color-slate-blue);
}

@media (max-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Toegankelijkheid: verminderde beweging (WCAG 2.1) ---- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .value-item:hover,
  .news-card:hover,
  .service-card:hover,
  .vacancy-card:hover,
  .affiliations__logo:hover,
  .affiliations__logo:focus-visible {
    transform: none;
  }
}

/* ---------- Formulier: honeypot en statusmelding ---------- */

/* Honeypot: onzichtbaar voor bezoekers; bots die het invullen worden genegeerd */
.form-field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: #f0f7f2;
  border: 1px solid #cde5d4;
  color: #1d5a34;
  font-weight: 600;
}

.form-status--error {
  background: #fdf2f2;
  border-color: #f1c6c6;
  color: #9b2c2c;
}
