/* ===========================
   Bal & Brein · Stylesheet
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400;1,700&display=swap');

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

:root {
  --teal:      #3ABCAB;
  --teal-dark: #2e9e90;
  --teal-light:#e8f8f6;
  --white:     #FFFFFF;
  --off-white: #F8F8F8;
  --light-gray:#F0F0F0;
  --text:      #1A1A1A;
  --text-soft: #555555;
  --red:       #E85C5C;
  --yellow:    #F5C842;
  --blue:      #5B7FBF;
  --green:     #3ABCAB;
  --dark:      #2D2D2D;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  font-size: 17px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  line-height: 1.2;
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Utilities ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section--gray { background: var(--off-white); }
.section--teal { background: var(--teal); color: var(--white); }
.section--dark { background: var(--dark); color: var(--white); }

.text-center { text-align: center; }
.text-teal   { color: var(--teal); }

.tag {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s, background .15s;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

.btn-primary   { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }

.btn-outline   { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }

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

.btn-white-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-white-outline:hover { background: var(--white); color: var(--teal); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #eee;
  padding: 0 24px;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}
.logo-mark {
  width: 44px; height: 44px;
  background: var(--teal);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 18px;
}
.logo-text { line-height: 1.1; }
.logo-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 16px;
  color: var(--text);
}
.logo-sub {
  font-size: 11px;
  color: var(--text-soft);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
}
.logo-img--footer {
  height: 56px;
  width: 56px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .15s;
  text-decoration: none;
}
.nav a:hover, .nav a.active { background: var(--teal-light); color: var(--teal-dark); }
.nav .btn { margin-left: 8px; padding: 10px 22px; font-size: 15px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: .2s;
}

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f0faf8 0%, #fff 60%);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 20px;
  color: var(--text);
}
.hero h1 span { color: var(--teal); }
.hero-sub {
  font-size: 19px;
  color: var(--text-soft);
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: block;
}

/* SVG Illustration placeholder: kids in sport */
.illustration-wrap {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 0.9;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

/* ---------- Section headers ---------- */
.section-header { margin-bottom: 56px; }
.section-header h2 { font-size: clamp(26px, 4vw, 42px); margin-bottom: 14px; }
.section-header p  { font-size: 18px; color: var(--text-soft); max-width: 640px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ---------- Emotion cards (home probleemherkenning) ---------- */
.emotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.emotion-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid;
  transition: transform .2s;
}
.emotion-card:hover { transform: translateY(-4px); }
.emotion-card:nth-child(1) { border-color: var(--red); }
.emotion-card:nth-child(2) { border-color: var(--blue); }
.emotion-card:nth-child(3) { border-color: var(--yellow); }
.emotion-card:nth-child(4) { border-color: var(--dark); }
.emotion-icon { margin-bottom: 12px; display: flex; justify-content: center; }
.emotion-card h3 { font-size: 17px; margin-bottom: 8px; }
.emotion-card p  { font-size: 15px; color: var(--text-soft); margin: 0; }

/* ---------- Filosofie steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.step-number {
  width: 48px; height: 48px;
  background: var(--teal);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 22px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p  { color: var(--text-soft); margin: 0; font-size: 16px; }

/* ---------- Waaier intro ---------- */
.waaier-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.waaier-visual {
  background: var(--teal-light);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

/* Interactieve Emotiewaaier (ingebed via iframe) */
.waaier-embed {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.waaier-embed iframe {
  width: 100%;
  height: 520px; /* begin-hoogte; JS past dit aan op de inhoud */
  border: 0;
  display: block;
}

/* ---------- Wie zijn wij mini ---------- */
.duo-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow);
}
.duo-avatars { display: flex; gap: -16px; }
.avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 4px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900; font-size: 28px;
  color: var(--teal-dark);
  box-shadow: var(--shadow);
}
.avatar:first-child { margin-right: -20px; }

.duo-photo { width: 240px; max-width: 100%; }
.duo-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: block;
}

/* ---------- CTA balk ---------- */
.cta-bar {
  background: var(--teal);
  padding: 64px 24px;
  text-align: center;
}
.cta-bar h2 { font-size: clamp(24px, 3.5vw, 38px); color: var(--white); margin-bottom: 28px; }

/* ---------- Over ons page ---------- */
.person-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.person-section.reverse { grid-template-columns: 1fr 280px; }
.person-section.reverse .person-image { order: 2; }
.person-section.reverse .person-content { order: 1; }

.person-image {
  background: var(--teal-light);
  border-radius: 20px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.person-content h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 6px; }
.person-role { color: var(--teal); font-weight: 700; font-size: 15px; margin-bottom: 20px; }

blockquote {
  border-left: 4px solid var(--teal);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--teal-light);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 19px;
  color: var(--text);
}

/* Kernwaarden */
.waarden-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.waarde-card {
  background: var(--teal);
  color: white;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}
.waarde-icon { font-size: 32px; margin-bottom: 10px; }
.waarde-card h3 { font-size: 15px; font-family: 'Nunito', sans-serif; font-weight: 800; }

/* ---------- Opleidingen ---------- */
.aanbod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.aanbod-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s;
}
.aanbod-card:hover { transform: translateY(-6px); }
.aanbod-card-top {
  padding: 36px 32px 24px;
  flex: 1;
}
.aanbod-card-badge {
  display: inline-block;
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 16px;
}
.badge-workshop { background: #FFF5E0; color: #B07800; }
.badge-club     { background: #E8F0FF; color: #3a5aa8; }
.badge-traject  { background: #E8FFF5; color: #1a7a54; }

.aanbod-card h3 { font-size: 22px; margin-bottom: 12px; }
.aanbod-card p  { color: var(--text-soft); font-size: 16px; }
.aanbod-features { list-style: none; margin: 16px 0; }
.aanbod-features li {
  font-size: 15px; padding: 6px 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex; gap: 10px;
}
.aanbod-features li::before { content: '✓'; color: var(--teal); font-weight: 900; }
.aanbod-card-foot {
  padding: 24px 32px;
  border-top: 1px solid var(--light-gray);
}
.aanbod-card-foot .btn { width: 100%; text-align: center; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--light-gray);
  padding: 20px 0;
}
.faq-q {
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq-q::after { content: '﹢'; font-size: 22px; color: var(--teal); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { color: var(--text-soft); font-size: 16px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; }
.faq-item.open .faq-a { max-height: 300px; padding-top: 12px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 700; font-size: 15px; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 2px solid #E0E0E0;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  color: var(--text);
  transition: border-color .2s;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-card {
  background: var(--teal-light);
  border-radius: 20px;
  padding: 32px;
}
.contact-info-card h3 { margin-bottom: 16px; font-size: 20px; }
.contact-info-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; margin-bottom: 12px;
}
.contact-info-item:last-child { margin-bottom: 0; }
.info-icon {
  width: 36px; height: 36px;
  background: var(--teal);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
}

.personal-note {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow);
  font-style: italic;
  color: var(--text-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #ccc;
  padding: 56px 24px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #444;
}
.footer-brand .logo-name { color: var(--white); }
.footer-tagline {
  font-style: italic;
  color: var(--teal);
  font-size: 15px;
  margin: 12px 0 16px;
  font-weight: 600;
}
.footer-email { color: var(--teal); font-weight: 600; }
.footer-col h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; letter-spacing: .06em; text-transform: uppercase; }
.footer-col a  { display: block; color: #aaa; margin-bottom: 8px; font-size: 15px; transition: color .15s; }
.footer-col a:hover { color: var(--teal); text-decoration: none; }
.footer-bottom {
  max-width: 1100px; margin: 28px auto 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: #666;
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #f0faf8 0%, #fff 70%);
  padding: 72px 24px 64px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 5vw, 52px); margin-bottom: 16px; }
.page-hero p  { font-size: 19px; color: var(--text-soft); max-width: 640px; margin: 0 auto; }

/* ---------- Waaier product ---------- */
.waaier-product {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
}
.waaier-product-image {
  background: var(--teal-light);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.waaier-fan { font-size: 96px; }

/* ---------- Decorative shapes ---------- */
.shape-blob {
  position: absolute;
  border-radius: 50%;
  opacity: .06;
  pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner,
  .waaier-block,
  .waaier-product,
  .contact-grid { grid-template-columns: 1fr; }
  .waaier-product { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .duo-block { grid-template-columns: 1fr; text-align: center; }
  .duo-avatars { justify-content: center; }
  .duo-photo { margin: 0 auto; }
}

@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .nav { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: white; padding: 20px 24px; box-shadow: 0 8px 24px rgba(0,0,0,.1); gap: 4px; }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav .btn { width: 100%; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .person-section, .person-section.reverse { grid-template-columns: 1fr; }
  .person-section.reverse .person-image { order: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Emotion color dots ---------- */
.color-dot {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 6px;
}

/* ---------- KNVB accreditatie ---------- */
.accreditatie {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: left;
  background: var(--teal-light);
  border-radius: 16px;
  padding: 20px 28px;
  max-width: 720px;
  margin: -28px auto 0;
}
.accreditatie-logo { height: 56px; width: auto; }
.accreditatie-text { display: flex; flex-direction: column; line-height: 1.3; }
.accreditatie-text strong { font-size: 17px; color: var(--text); }
.accreditatie-text span { font-size: 14px; color: var(--text-soft); }

/* ---------- Divider ---------- */
.divider { height: 1px; background: var(--light-gray); margin: 0; }

/* ---------- Success message ---------- */
.form-success {
  display: none;
  background: var(--teal-light);
  border: 2px solid var(--teal);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 17px;
}

.form-error {
  display: none;
  background: #fdeaea;
  border: 2px solid var(--red);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 18px;
  text-align: center;
  color: #b03434;
  font-weight: 700;
  font-size: 16px;
}
.form-error a { color: #b03434; text-decoration: underline; }
