/* ============================================================
   ZUIDERSPOOR — Style.css  v3
   Mobile-first · groen/wit/gradient · Space Grotesk
   ============================================================ */

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

:root {
  --green:        #1db954;
  --green-dark:   #14883e;
  --green-mid:    #18a648;
  --green-light:  #e8f9ed;
  --teal:         #00c4a0;
  --white:        #ffffff;
  --off-white:    #f5faf6;
  --black:        #0d0d0d;
  --gray:         #555;
  --gray-light:   #bbb;
  --gradient:     linear-gradient(130deg, #00c4a0 0%, #1db954 52%, #8be03c 100%);
  --font:         'Space Grotesk', sans-serif;
  --radius:       16px;
  --radius-sm:    10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* ——— STRIPE LABELS ——— */
.stripe-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.stripe-label.dark        { background: var(--black); color: var(--white); }
.stripe-label.light       { background: var(--white);  color: var(--black); }
.stripe-label.light-on-green { background: var(--white); color: var(--black); }

/* ——— SECTIONS ——— */
section { position: relative; overflow: hidden; }
.section-white    { background: var(--white);       padding: 64px 0; }
.section-offwhite { background: var(--off-white);   padding: 64px 0; }
.section-commissie{ background: var(--gradient);    padding: 72px 0 100px; color: var(--white); }
.section-dark     { background: var(--black);       padding: 72px 0 110px; color: var(--white); }
.section-green-light { background: var(--green-light); padding: 64px 0; }
.section-talen    { background: var(--black);       padding: 48px 0; }
.section-compact  { padding: 48px 0 56px; }

/* Angled dividers */
.section-commissie::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 40px;
  background: var(--off-white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 3;
}
.section-dark::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 40px;
  background: var(--green-light);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 3;
}

/* ——— HEADINGS ——— */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(36px, 9vw, 76px); }
h2 { font-size: clamp(28px, 6vw, 56px); margin-bottom: 14px; }
h3 { font-size: clamp(22px, 4vw, 32px); margin-bottom: 8px; }

#hero h1 em {
  font-style: normal;
  -webkit-text-stroke: 3px var(--white);
  color: transparent;
}

.section-sub {
  font-size: 16px;
  line-height: 1.65;
  opacity: .85;
  max-width: 540px;
  margin-bottom: 36px;
}


/* ============================================================
   NAV
   ============================================================ */
#topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  line-height: 1.25;
  flex-shrink: 0;
}
.nav-logo strong { display: block; font-size: 16px; font-weight: 800; color: var(--green); }
.nav-links {
  display: none;
  align-items: center;
  gap: 20px;
}
.nav-links li,
.nav-mobile li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color .12s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 9px 22px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .12s;
}
.nav-cta:hover { background: var(--green-dark); }

.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white);
  width: 38px; height: 38px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 20px 20px;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-mobile button {
  margin-top: 12px;
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

@media (min-width: 700px) {
  .nav-links { display: flex; }
  .nav-hamburger { display: none; }
}


/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100svh;
  background: var(--gradient);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Groot gebouw als achtergrond */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg-building {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: .45;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,196,160,.72) 0%,
    rgba(29,185,84,.60) 50%,
    rgba(139,224,60,.45) 100%
  );
}

/* Klein gebouw cutout overlay */
.hero-cutout-building {
  position: absolute;
  bottom: 28px;
  right: -2%;
  width: 38%;
  max-width: 340px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(2px 0 0 rgba(255,255,255,.3)) drop-shadow(-2px 0 0 rgba(255,255,255,.3));
  z-index: 2;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 88px 24px 200px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
}

.hero-left { flex: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.22);
  border: 1.5px solid rgba(255,255,255,.45);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

#hero h1 { color: var(--white); margin-bottom: 12px; }
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.88);
  line-height: 1.55;
}

/* RECHTS: grote keuzeblok */
.hero-right {
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 24px 22px;
  width: 100%;
  position: relative;
  z-index: 4;
}

.form-label {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: .75;
}

.choice-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: transform .15s, box-shadow .15s;
  width: 100%;
}
.choice-btn:hover  { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.choice-btn:active { transform: translateY(0); }

.btn-melding { background: var(--white); color: var(--black); }
.btn-hulp    { background: var(--black); color: var(--white); }
.btn-idee    { background: var(--green-dark); color: var(--white); }

.btn-icon { font-size: 26px; flex-shrink: 0; }
.btn-text { display: flex; flex-direction: column; }
.btn-text strong { font-size: 16px; font-weight: 700; line-height: 1.2; }
.btn-text small  { font-size: 12px; opacity: .7; margin-top: 3px; }

.hero-stripe {
  height: 26px;
  background: repeating-linear-gradient(
    -45deg,
    var(--green-dark) 0px, var(--green-dark) 12px,
    rgba(255,255,255,.15) 12px, rgba(255,255,255,.15) 24px
  );
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}


/* ============================================================
   CARROUSEL
   ============================================================ */
.carrousel-header { margin-bottom: 32px; }
.carrousel-header h2 { color: var(--black); }

.photo-carrousel-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Fade edges */
.photo-carrousel-wrap::before,
.photo-carrousel-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.photo-carrousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.photo-carrousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.photo-carrousel {
  display: flex;
  gap: 16px;
  padding: 8px 0 16px;
  animation: scroll-left 72s linear infinite;
  width: max-content;
  will-change: transform;
}
.photo-carrousel:hover { animation-play-state: paused; }

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.photo-slide {
  flex-shrink: 0;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.photo-slide img {
  width: 200px;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  background: var(--green-light);
  border: 3px solid var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transition: transform .2s;
}
.photo-slide img:hover { transform: scale(1.03); }

.photo-caption {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
}


/* ============================================================
   BEWONERSCOMMISSIE
   ============================================================ */
.section-commissie h2 { color: var(--white); }
.commissie-header { max-width: 740px; margin-bottom: 48px; }

.commissie-story {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}
.commissie-story p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.88);
}
.commissie-story strong { color: var(--white); }
.commissie-story em { font-style: italic; color: var(--white); }
.commissie-since {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  width: fit-content;
}

/* Profielen NAAST ELKAAR */
.person-profiles-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.person-profile {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  padding: 28px 24px;
  backdrop-filter: blur(8px);
}
.person-profile-alt {
  background: rgba(0,0,0,.2);
  border-color: rgba(255,255,255,.14);
}

.person-photo-wrap { flex-shrink: 0; }

.person-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid var(--white);
  display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

.person-profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.person-role-tag {
  display: inline-block;
  background: var(--green-dark);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  width: fit-content;
}
.person-profile-info h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.person-profile-info p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.83);
}
.person-profile-info p:last-of-type {
  font-style: italic;
  color: rgba(255,255,255,.65);
  border-left: 3px solid rgba(255,255,255,.28);
  padding-left: 12px;
}
.person-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  padding: 8px 16px;
  border-radius: 100px;
  width: fit-content;
  transition: background .15s;
}
.person-email:hover { background: rgba(255,255,255,.25); }

.section-building-right {
  position: absolute;
  right: -70px; bottom: 0;
  width: 50%; max-width: 400px;
  opacity: .12;
  pointer-events: none;
  filter: brightness(10);
}
.section-building-left {
  position: absolute;
  left: -60px; bottom: 0;
  width: 45%; max-width: 360px;
  opacity: .08;
  pointer-events: none;
  filter: brightness(10);
}


/* ============================================================
   PRIKBORD
   ============================================================ */
.board-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 8px;
}
.board-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  border-left: 5px solid var(--green);
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.board-card-button {
  width: 100%;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  color: inherit;
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
  align-items: flex-start;
  text-decoration: none;
}
.board-card-button:hover,
.board-card-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
  outline: none;
}
.board-card p    { font-size: 15px; font-weight: 600; text-align: left; }
.board-card small{ font-size: 12px; color: var(--gray-light); text-align: left; }
.board-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: var(--green-light);
  margin-bottom: 4px;
}
.board-more {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .06em;
  width: fit-content;
}
.badge-nieuw       { background: #e8f9ed; color: var(--green-dark); border: 1.5px solid var(--green); }
.badge-behandeling { background: #fff7e6; color: #c47f00; border: 1.5px solid #f0a500; }
.badge-besproken   { background: #e8f0ff; color: #2244bb; border: 1.5px solid #4466cc; }
.badge-opgelost    { background: var(--black); color: var(--white); }

.zs-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0,0,0,.58);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.zs-modal-overlay:target { display: flex; }
.zs-modal {
  width: min(620px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: var(--white);
  color: var(--black);
  border-radius: 18px;
  padding: 26px;
  position: relative;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.zs-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--off-white);
  color: var(--black);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}
.zs-modal h2 {
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: clamp(24px, 4vw, 34px);
}
.zs-modal-image {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--off-white);
  margin-bottom: 18px;
}
.zs-modal-date {
  color: var(--gray);
  font-weight: 700;
  margin-bottom: 18px;
}
.zs-modal-content {
  font-size: 16px;
  line-height: 1.7;
}
.zs-modal-content img,
.zs-modal-content video,
.zs-modal-content iframe {
  max-width: 100%;
}


/* ============================================================
   ACTIVITEITEN
   ============================================================ */
#activiteiten h2 { color: var(--white); }
#activiteiten .section-sub { color: rgba(255,255,255,.65); }

.activities-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.activity-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.activity-date {
  flex-shrink: 0;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
  min-width: 52px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.activity-date span { display: block; font-size: 26px; font-weight: 800; line-height: 1; }
.activity-info strong { font-size: 16px; font-weight: 700; color: var(--white); display: block; margin-bottom: 3px; }
.activity-info p { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 5px; }
.activity-info small { font-size: 13px; color: rgba(255,255,255,.72); display: block; margin-bottom: 12px; }
.activity-btn {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 8px 18px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.activity-btn:hover { background: var(--green-mid); }


/* ============================================================
   QUOTE
   ============================================================ */
.commissie-quote-inner { text-align: center; }
.commissie-quote-inner blockquote {
  font-size: clamp(20px, 4.5vw, 36px);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
  margin-bottom: 14px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.commissie-quote-inner cite {
  font-size: 14px;
  color: var(--gray);
  font-style: normal;
  display: block;
  margin-bottom: 28px;
}
.btn-dark {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 14px 32px;
  border: none;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.btn-dark:hover { background: var(--green-dark); }


/* ============================================================
   INSCHRIJVING
   ============================================================ */
/* ============================================================
   INSCHRIJVING — twee-koloms layout
   ============================================================ */
.inschrijving-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

.inschrijving-left { flex: 1; width: 100%; }
.inschrijving-right {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.inschrijving-foto {
  width: 100%;
  max-width: 380px;
  object-fit: contain;
  object-position: bottom;
  border-radius: 20px;
  display: block;
}

@media (min-width: 780px) {
  .inschrijving-layout {
    flex-direction: row;
    align-items: stretch;
    gap: 48px;
  }
  .inschrijving-right {
    width: auto;
    flex: 0 0 320px;
    align-items: flex-end;
    justify-content: flex-end;
  }
  .inschrijving-foto {
    max-width: 320px;
    border-radius: 20px 20px 0 0;
  }
}

.subscribe-form {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px 22px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  border: 2px solid var(--green);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.subscribe-form input,
.subscribe-form select {
  font-family: var(--font);
  font-size: 15px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid #ddd;
  background: var(--white);
  color: var(--black);
  width: 100%;
  outline: none;
  transition: border-color .15s;
}
.subscribe-form input:focus,
.subscribe-form select:focus { border-color: var(--green); }
.form-checks { display: flex; flex-direction: column; gap: 8px; }
.form-checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}
.form-checks input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--green);
}
.btn-green-submit {
  background: var(--gradient);
  color: var(--white);
  border: none;
  padding: 14px 30px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity .15s;
}
.btn-green-submit:hover { opacity: .88; }
.success-msg { font-size: 15px; color: var(--green-dark); font-weight: 600; padding: 10px 0; }


/* ============================================================
   TALEN
   ============================================================ */
.talen-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.talen-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.talen-list li { font-size: 13px; color: #999; display: flex; align-items: baseline; gap: 10px; }
.flag { font-size: 17px; flex-shrink: 0; }


/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--black); padding: 22px 0; border-top: 1px solid #1a1a1a; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #555;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-logo { font-size: 13px; font-weight: 800; color: var(--green); }


/* ============================================================
   CHAT OVERLAY
   ============================================================ */
.chat-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.chat-panel {
  background: var(--white);
  width: 100%; max-width: 540px;
  height: 92svh;
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.chat-close {
  position: absolute; top: 14px; right: 16px;
  background: var(--off-white);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  z-index: 10;
  font-weight: 700;
}
.chat-close:hover { background: #e0e0e0; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 52px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg {
  max-width: 84%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
}
.msg-bot  { background: var(--off-white); color: var(--black); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-user { background: var(--green); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-quick {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 8px 18px;
}
.quick-btn {
  background: var(--off-white);
  border: 1.5px solid #ddd;
  border-radius: 100px;
  padding: 8px 16px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s, border-color .12s;
}
.quick-btn:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.chat-input-row {
  display: flex; gap: 8px;
  padding: 10px 18px 18px;
  border-top: 1px solid #eee;
}
.chat-input-row input {
  flex: 1;
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 100px;
  border: 2px solid #ddd;
  outline: none;
  background: var(--off-white);
  transition: border-color .15s;
}
.chat-input-row input:focus { border-color: var(--green); }
.chat-input-row button {
  background: var(--green);
  color: var(--white);
  border: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .12s;
}
.chat-input-row button:hover { background: var(--green-dark); }


/* ============================================================
   RESPONSIVE — tablet 600px+
   ============================================================ */
@media (min-width: 600px) {
  .form-row { flex-direction: row; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .activities-grid { flex-direction: row; flex-wrap: wrap; }
  .activity-card { flex: 1 1 260px; }
  .chat-overlay { align-items: center; padding: 20px; }
  .chat-panel { border-radius: 24px; height: 85vh; }
  .photo-slide { width: 220px; }
  .photo-slide img { width: 220px; height: 240px; }
}

/* ============================================================
   RESPONSIVE — desktop 860px+
   ============================================================ */
@media (min-width: 860px) {
  .hero-layout {
    flex-direction: row;
    align-items: center;
    padding: 110px 40px 180px;
    gap: 52px;
  }
  .hero-left  { flex: 1.1; }
  .hero-right { flex: 0 0 360px; align-self: flex-start; margin-top: 12px; }

  #hero::before { display: none; }
  .hero-cutout-building { width: 28%; }

  .board-grid { grid-template-columns: repeat(3, 1fr); }

  /* Hans & Jeanette naast elkaar op desktop */
  .person-profiles-row {
    flex-direction: row;
    align-items: stretch;
    gap: 24px;
  }
  .person-profile {
    flex-direction: row;
    align-items: flex-start;
    gap: 22px;
  }
  .person-photo { width: 110px; height: 110px; }
}
