/* ============================================================
   FitFun Elnika — Stylesheet
   Brand: Navy #0A1B5E | Green #7CC242 | White | Light Grey
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy:        #0A1B5E;
  --navy-dark:   #071244;
  --green:       #7CC242;
  --green-dark:  #62a230;
  --white:       #ffffff;
  --grey-light:  #f4f6f9;
  --grey-mid:    #e8ecf2;
  --grey-text:   #5a6a7a;
  --text-dark:   #1a2a3a;
  --shadow-sm:   0 2px 8px rgba(10,27,94,.08);
  --shadow-md:   0 6px 24px rgba(10,27,94,.12);
  --shadow-lg:   0 12px 40px rgba(10,27,94,.16);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  .25s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 800;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: .5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--grey-text);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.section-divider {
  width: 48px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin: .75rem auto 1.5rem;
}

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
section { padding: 80px 0; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width var(--transition);
  border-radius: 1px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 1rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--grey-mid);
  padding: 1rem 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: .85rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--grey-light);
  transition: background var(--transition);
}
.nav-mobile a:hover { background: var(--grey-light); color: var(--green); }
.nav-mobile .btn { margin: 1rem 1.5rem; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  padding: 0;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--white) 52%, transparent 52%);
  z-index: 1;
}

.hero-photo {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 58%;
  object-fit: cover;
  object-position: center top;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  width: 50%;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-content h1 span { color: var(--green); }

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1.2rem;
}

.hero-text {
  color: var(--grey-text);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: .75rem;
  max-width: 420px;
}

.hero-cta { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Trust badges below hero */
.hero-badges {
  background: var(--white);
  padding: 0;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--green);
}
.hero-badges .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.badge-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--grey-mid);
}
.badge-item:last-child { border-right: none; }

.badge-photo {
  width: 120px;
  min-width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.badge-text h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: .3rem;
}
.badge-text p {
  font-size: .85rem;
  color: var(--grey-text);
}
.badge-icon {
  width: 48px; height: 48px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 1.3rem;
}

/* ============================================================
   OVER ONS
   ============================================================ */
#over-ons { background: var(--white); }

.over-ons-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.over-ons-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.over-ons-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
}

.over-ons-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .5rem;
}
.over-ons-text p {
  color: var(--grey-text);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.credential-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}
.credential-badge .icon {
  width: 44px; height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.credential-badge h4 { font-size: .95rem; margin-bottom: .1rem; }
.credential-badge span { font-size: .8rem; color: var(--grey-text); }

/* Vision block */
.vision-block {
  background: var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
}
.vision-icon {
  width: 80px; height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  font-size: 2rem;
  flex-shrink: 0;
}
.vision-text h3 {
  font-size: 1.4rem;
  margin-bottom: .5rem;
}
.vision-text p { color: var(--grey-text); line-height: 1.75; }

/* Why section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}
.why-card:hover {
  border-color: var(--green);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.why-card .icon {
  width: 56px; height: 56px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.35rem;
}
.why-card h4 {
  font-size: .95rem;
  line-height: 1.3;
  color: var(--navy);
}

/* ============================================================
   PROGRAMMA'S
   ============================================================ */
#programmas { background: var(--grey-light); }

.program-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}
.program-feature.reverse { direction: rtl; }
.program-feature.reverse > * { direction: ltr; }

.program-feature-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.program-feature-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.program-feature-content h3 {
  font-size: 1.6rem;
  margin: .75rem 0 .5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.prog-icon {
  width: 44px; height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.program-feature-content p {
  color: var(--grey-text);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.check-list { margin-top: 1rem; }
.check-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .35rem 0;
  font-size: .95rem;
  color: var(--text-dark);
}
.check-list li::before {
  content: '';
  width: 20px; height: 20px;
  background: var(--green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M8 13.414L4.293 9.707l1.414-1.414L8 10.586l6.293-6.293 1.414 1.414z'/%3E%3C/svg%3E");
  background-size: cover;
  flex-shrink: 0;
}

/* Aanbod grid */
.aanbod-title {
  font-size: 1.6rem;
  text-align: center;
  margin: 1rem 0 .5rem;
}
.aanbod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.aanbod-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.aanbod-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.aanbod-card .icon {
  width: 52px; height: 52px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .75rem;
  color: white;
  font-size: 1.2rem;
}
.aanbod-card h4 {
  font-size: 1rem;
  margin-bottom: .4rem;
}
.aanbod-card p { font-size: .85rem; color: var(--grey-text); }

/* Why it works */
.why-works {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 3rem;
}
.why-works h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.why-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.why-works-item {
  text-align: center;
}
.why-works-item .icon {
  font-size: 2rem;
  margin-bottom: .5rem;
}
.why-works-item h4 { font-size: .95rem; margin-bottom: .3rem; }
.why-works-item p { font-size: .82rem; color: var(--grey-text); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3080 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
}
.cta-banner-text h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: .3rem;
}
.cta-banner-text p { color: rgba(255,255,255,.75); font-size: .95rem; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: .75rem;
}
.contact-info p {
  color: var(--grey-text);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.contact-detail .icon {
  width: 44px; height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail div h4 { font-size: .95rem; margin-bottom: .1rem; }
.contact-detail div a,
.contact-detail div span { font-size: .9rem; color: var(--grey-text); }
.contact-detail div a:hover { color: var(--green); }

.contact-photo {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  height: 220px;
}
.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Form card */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}
.form-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.form-header .icon {
  width: 52px; height: 52px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.form-header h3 { font-size: 1.25rem; }
.form-header p { font-size: .88rem; color: var(--grey-text); margin-top: .2rem; }

.form-row { margin-bottom: 1.2rem; }
.form-row label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.form-row label .req { color: var(--green); }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--grey-mid);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #aab0bc; }
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(124,194,66,.15);
}
.form-row textarea { resize: vertical; min-height: 110px; }

.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 1rem;
  border-radius: 8px;
}
.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--grey-text);
}
.privacy-note svg { flex-shrink: 0; margin-top: 1px; }

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success .icon { font-size: 3rem; margin-bottom: .5rem; }
.form-success h3 { color: var(--navy); margin-bottom: .5rem; }
.form-success p { color: var(--grey-text); }

/* Werkgebied */
.werkgebied-section {
  background: var(--grey-light);
  padding: 60px 0;
}
.werkgebied-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.werkgebied-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.werkgebied-info .icon {
  width: 44px; height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1rem;
}
.werkgebied-info p { color: var(--grey-text); margin-bottom: 1.5rem; }
.regio-tags { display: flex; gap: .75rem; flex-wrap: wrap; }
.regio-tag {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
}
.regio-tag::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M8 13.414L4.293 9.707l1.414-1.414L8 10.586l6.293-6.293 1.414 1.414z'/%3E%3C/svg%3E");
  background-size: cover;
  flex-shrink: 0;
}
.map-placeholder {
  background: var(--grey-mid);
  border-radius: var(--radius-lg);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img {
  height: 52px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: .5rem;
}
.footer-tagline {
  color: var(--green);
  font-weight: 700;
  font-size: .95rem;
}
.footer-col h4 {
  color: var(--green);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
  font-size: .9rem;
}
.footer-contact-item svg { flex-shrink: 0; color: var(--green); }
.footer-col p { font-size: .88rem; line-height: 1.75; }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 900;
  font-size: 1.1rem;
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--green-dark); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — Tablet (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-bg { background: linear-gradient(160deg, var(--white) 60%, transparent 60%); }
  .hero-photo { width: 50%; opacity: .4; }
  .hero-content { width: 100%; }

  /* Badges */
  .hero-badges .container { grid-template-columns: 1fr; }
  .badge-item { border-right: none; border-bottom: 1px solid var(--grey-mid); }
  .badge-item:last-child { border-bottom: none; }

  /* Over Ons */
  .over-ons-intro { grid-template-columns: 1fr; gap: 2rem; }
  .vision-block { grid-template-columns: 1fr; text-align: center; }
  .vision-block .vision-icon { margin: 0 auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  /* Programma's */
  .program-feature, .program-feature.reverse { grid-template-columns: 1fr; direction: ltr; }
  .aanbod-grid { grid-template-columns: repeat(2, 1fr); }
  .why-works-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; text-align: center; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .werkgebied-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 580px)
   ============================================================ */
@media (max-width: 580px) {
  section { padding: 56px 0; }

  /* Hero */
  .hero-photo { display: none; }
  .hero-bg { background: var(--white); }
  .hero-content { width: 100%; padding: 100px 0 56px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

  /* Programma's */
  .aanbod-grid { grid-template-columns: 1fr; }
  .why-works-grid { grid-template-columns: 1fr; }
  .why-works { padding: 2rem 1.5rem; }
  .cta-banner { padding: 2rem 1.5rem; }

  /* Contact form */
  .contact-form-card { padding: 1.75rem 1.25rem; }

  /* Footer */
  .footer-grid { gap: 1.5rem; }
}

/* ============================================================
   DIENSTEN GRID — 4 kaarten 2x2
   ============================================================ */
.diensten-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 48px 0 36px;
}

.dienst-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(10, 27, 94, 0.08);
  border: 1px solid #e8ecf4;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dienst-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(10, 27, 94, 0.14);
}

.dienst-icon {
  font-size: 2.4rem;
  line-height: 1;
}

.dienst-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0A1B5E;
  line-height: 1.3;
  margin: 0;
}

.dienst-desc {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.7;
  margin: 0;
}

/* Accent line onder de titel */
.dienst-card::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #7CC242;
  border-radius: 2px;
  margin-top: auto;
  padding-top: 8px;
}

/* Kernwaarde banner */
.kernwaarde-banner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: linear-gradient(135deg, #0A1B5E 0%, #1a3a8f 100%);
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 36px;
  color: #ffffff;
}

.kernwaarde-icon {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.kernwaarde-banner p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.kernwaarde-banner strong {
  color: #7CC242;
}

/* Tablet */
@media (max-width: 900px) {
  .diensten-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .diensten-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dienst-card {
    padding: 28px 24px;
  }

  .kernwaarde-banner {
    flex-direction: column;
    padding: 24px;
    gap: 12px;
  }
}

/* ============================================================
   v3 UPDATES
   ============================================================ */

/* --- Logo: 30–40% larger --- */
.nav-logo img {
  height: 66px;   /* was 48px → +37.5% */
  width: auto;
}
.nav-inner {
  height: 84px;   /* give the taller logo breathing room */
}
.footer-brand img {
  height: 72px;   /* was 52px → +38% */
  margin-bottom: 1rem;
}

/* --- Accordion --- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 48px 0 36px;
}

.accordion-item {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid var(--grey-mid);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.accordion-item:has(.accordion-trigger[aria-expanded="true"]) {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}
.accordion-trigger:hover {
  background: var(--grey-light);
}
.accordion-trigger[aria-expanded="true"] {
  background: var(--grey-light);
}

.acc-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.acc-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  flex: 1;
  line-height: 1.3;
}

.acc-chevron {
  flex-shrink: 0;
  color: var(--green);
  transition: transform var(--transition);
}
.accordion-trigger[aria-expanded="true"] .acc-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.accordion-body:not([hidden]) {
  max-height: 600px;
}
/* When hidden attr is set we collapse */
.accordion-body[hidden] {
  display: block !important;  /* override browser hidden; JS controls max-height */
  max-height: 0;
}

.accordion-inner {
  padding: 0 28px 28px;
  border-top: 1px solid var(--grey-mid);
  padding-top: 20px;
}
.accordion-inner p {
  color: var(--grey-text);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.acc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.acc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-dark);
}
.acc-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M8 13.414L4.293 9.707l1.414-1.414L8 10.586l6.293-6.293 1.414 1.414z'/%3E%3C/svg%3E") center/cover;
}

/* Accordion responsive */
@media (max-width: 600px) {
  .accordion-trigger {
    padding: 18px 20px;
    gap: 12px;
  }
  .acc-title { font-size: 1rem; }
  .accordion-inner { padding: 0 20px 20px; padding-top: 16px; }
}

/* --- Responsive: hero image fix for new_image1 (portrait/square crop) --- */
@media (max-width: 900px) {
  .hero-photo {
    width: 55%;
    opacity: 0.35;
    object-position: center top;
  }
}
@media (max-width: 580px) {
  .hero-photo { display: none; }
  /* Navbar height compensated for scroll offset */
  #over-mij, #programmas, #contact { scroll-margin-top: 84px; }
}

/* Ensure scroll targets account for taller nav */
#over-mij, #programmas, #contact, #hero {
  scroll-margin-top: 84px;
}

/* --- Footer logo: no invert (logo has its own colors, show on dark bg) --- */
.footer-brand img {
  filter: none;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 8px 12px;
}
