/* ============================================================
   haccpcursus.nl — Gedeelde stijlen
   Gebruikt door: index.html (landingspagina) + cursus.html
   ============================================================ */

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

:root {
  --green:       #1a9e6e;
  --green-dark:  #127a53;
  --green-light: #e8f7f1;
  --green-mid:   #c2eedd;
  --text:        #1a1a1a;
  --text-muted:  #555;
  --text-light:  #888;
  --border:      #e2e2e2;
  --bg:          #ffffff;
  --bg-soft:     #f7f9f8;
  --radius:      12px;
  --radius-sm:   8px;
  --font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ── Knoppen ────────────────────────────────────────────────── */
.btn-primary {
  background: var(--green);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
  cursor: pointer;
  border: none;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-secondary {
  background: #fff;
  color: var(--green);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--green);
  transition: background 0.2s;
  display: inline-block;
}
.btn-secondary:hover { background: var(--green-light); }

.btn-white {
  background: #fff;
  color: var(--green);
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  display: inline-block;
  transition: transform 0.1s;
}
.btn-white:hover { transform: translateY(-1px); }

.btn-block { display: block; width: 100%; text-align: center; }

/* ── Navigatie (landingspagina) ─────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo { font-size: 1.2rem; font-weight: 700; color: var(--green); letter-spacing: -0.5px; }
.nav-logo span { color: var(--text); }
.nav-links { display: flex; gap: 2rem; font-size: 0.95rem; color: var(--text-muted); }
.nav-links a:hover { color: var(--green); }
.nav-links a.actief { color: var(--green); font-weight: 600; }
.nav-cta {
  background: var(--green);
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--green-dark); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #f0fbf5 0%, #e3f7ee 100%);
  padding: 80px 2rem 70px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-mid);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 span { color: var(--green); }
.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  margin-top: 3rem;
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { font-size: 1.6rem; font-weight: 800; color: var(--green); }
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }

/* ── Trust bar ──────────────────────────────────────────────── */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 2rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }
.trust-icon { font-size: 1.1rem; }

/* ── Secties & containers ───────────────────────────────────── */
section { padding: 72px 2rem; }
.container { max-width: 1040px; margin: 0 auto; }
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.section-sub { font-size: 1rem; color: var(--text-muted); max-width: 520px; }

/* ── Voordelen / achtergrond ────────────────────────────────── */
.voordelen { background: var(--bg-soft); }

/* ── Cards grid ─────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 2.5rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* ── Cursusmodule-overzicht (landingspagina) ────────────────── */
.modules { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 12px; }
.module {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
}
.module-num {
  min-width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.module-info h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.2rem; }
.module-info p { font-size: 0.85rem; color: var(--text-muted); }
.module-duration { margin-left: auto; font-size: 0.8rem; color: var(--text-light); white-space: nowrap; padding-top: 4px; }

/* ── Stappen ────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 2.5rem;
}
.step { text-align: center; padding: 1.5rem 1rem; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.step p { font-size: 0.85rem; color: var(--text-muted); }

/* ── Prijskaart ─────────────────────────────────────────────── */
.prijs-bg { background: var(--bg-soft); }
.prijs-card {
  max-width: 480px;
  margin: 2.5rem auto 0;
  background: #fff;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  position: relative;
}
.prijs-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
}
.prijs-amount { font-size: 3rem; font-weight: 800; color: var(--text); line-height: 1; }
.prijs-amount sup { font-size: 1.5rem; vertical-align: super; }
.prijs-period { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.prijs-features { list-style: none; margin-bottom: 2rem; text-align: left; }
.prijs-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.prijs-features li:last-child { border-bottom: none; }
.check { color: var(--green); font-weight: 700; font-size: 1rem; }

/* ── Reviews ────────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 2.5rem;
}
.review {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.stars { color: #f5a623; font-size: 1rem; margin-bottom: 0.75rem; }
.review p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-mid);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reviewer-name { font-size: 0.85rem; font-weight: 700; }
.reviewer-role { font-size: 0.78rem; color: var(--text-light); }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
.faq-q:hover { background: var(--bg-soft); }
.faq-a { padding: 0 1.25rem 1rem; font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-arrow { transition: transform 0.2s; font-size: 0.8rem; color: var(--text-light); }

/* ── CTA banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  padding: 64px 2rem;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { font-size: 1rem; color: rgba(255,255,255,0.85); margin-bottom: 2rem; }

/* ── Footer ─────────────────────────────────────────────────── */
footer { background: #111; color: #aaa; padding: 48px 2rem 24px; }
.footer-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { font-size: 0.85rem; color: #aaa; transition: color 0.2s; }
.footer-col li a:hover { color: #fff; }
.footer-logo { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.footer-desc { font-size: 0.85rem; line-height: 1.6; }
.footer-bottom {
  max-width: 1040px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: #fff; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  section { padding: 48px 1rem; }
  .hero { padding: 56px 1rem 48px; }
  .hero-stats { gap: 1.5rem; }
  .trust-bar { gap: 1rem; }
}
