/* ========================================
   IntermanergieNederland – Shared Styles
   ======================================== */

:root {
  --primary: #1a1f2e;
  --primary-light: #2d3448;
  --primary-pale: #f0f1f4;
  --primary-dark: #0d1018;
  --accent: #2563eb;
  --text: #1a1f2e;
  --muted: #6b7280;
  --white: #ffffff;
  --bg: #f8f9fb;
  --border: #e2e4ea;
  --red: #e53e3e;
  --green: #25D366;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800; font-size: 1.4rem;
  color: var(--primary);
  text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem;
  z-index: 201;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 20px; height: 20px; fill: white; }

.nav-links { list-style: none; display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text);
  font-size: 0.95rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary-light); }
.nav-links a.active { color: var(--primary); font-weight: 700; }
.nav-cta {
  background: var(--primary) !important;
  color: white !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; color: white !important; }
.nav-cta.active { background: var(--primary-dark) !important; }

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

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white; text-align: center; padding: 5rem 2rem 4rem;
}
.page-hero .badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 0.35rem 1rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.page-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; margin-bottom: 1rem;
}
.page-hero p { font-size: 1.1rem; opacity: 0.85; max-width: 520px; margin: 0 auto; }

/* ── HERO (homepage) ── */
.hero {
  min-height: 88vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #e2e4ea 0%, transparent 70%);
  z-index: 0;
}
.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800; line-height: 1.1;
  max-width: 780px;
  position: relative; z-index: 1;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary-light);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 6px;
}
.hero p {
  margin-top: 1.5rem; font-size: 1.15rem;
  color: var(--muted); max-width: 540px;
  position: relative; z-index: 1;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  justify-content: center; margin-top: 2.5rem;
  position: relative; z-index: 1;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--primary); color: white;
  padding: 0.85rem 2rem; border-radius: 50px;
  font-size: 1rem; font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(26,31,46,0.25);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary {
  background: white; color: var(--text);
  padding: 0.85rem 2rem; border-radius: 50px;
  font-size: 1rem; font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn-white {
  background: white; color: var(--primary-dark);
  padding: 0.85rem 2.2rem; border-radius: 50px;
  font-size: 1rem; font-weight: 700;
  text-decoration: none; display: inline-block;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }

/* ── TRUST STRIP ── */
.trust-strip {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 2rem;
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; font-weight: 600; color: var(--text);
}
.trust-item svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

/* ── SECTIONS ── */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.container--narrow { max-width: 860px; margin: 0 auto; }
.section-label {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; line-height: 1.2; max-width: 560px;
}
.section-sub { margin-top: 1rem; font-size: 1.05rem; color: var(--muted); max-width: 500px; }

/* ── WHY CARDS ── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.why-card {
  background: white; border: 1px solid var(--border);
  border-radius: 18px; padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.why-card:hover { box-shadow: 0 8px 32px rgba(26,31,46,0.10); transform: translateY(-3px); }
.why-icon {
  width: 52px; height: 52px; background: var(--primary-pale);
  border-radius: 14px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.2rem;
}
.why-icon svg { width: 26px; height: 26px; color: var(--primary); }
.why-card h3 { font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.why-card p { color: var(--muted); font-size: 0.93rem; }

/* ── HOW STEPS (homepage compact) ── */
.how-section { background: white; }
.how-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; margin-top: 3rem; position: relative;
}
.how-step { text-align: center; padding: 2rem 1.5rem; position: relative; }
.how-step:not(:last-child)::after {
  content: '\2192'; position: absolute; right: -0.5rem;
  top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--border);
}
.step-num {
  width: 52px; height: 52px; background: var(--primary);
  color: white; font-family: 'Sora', sans-serif;
  font-weight: 800; font-size: 1.2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}
.how-step h3 { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.how-step p { font-size: 0.88rem; color: var(--muted); }

/* ── STEPS LIST (werkwijze page) ── */
.steps-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 0; }
.step-item { display: flex; gap: 2rem; align-items: flex-start; position: relative; padding-bottom: 3rem; }
.step-item:last-child { padding-bottom: 0; }
.step-item:not(:last-child)::before {
  content: ''; position: absolute; left: 25px; top: 52px;
  bottom: 0; width: 2px; background: var(--border);
}
.step-left { flex-shrink: 0; }
.step-circle {
  width: 52px; height: 52px; background: var(--primary);
  color: white; border-radius: 50%;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.step-content {
  background: white; border: 1px solid var(--border);
  border-radius: 16px; padding: 1.8rem; flex: 1;
}
.step-content h3 { font-family: 'Sora', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.step-content p { color: var(--muted); font-size: 0.95rem; }

/* ── FAQ ── */
.faq-section { background: white; }
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  cursor: pointer; padding: 1.2rem 1.5rem;
  font-family: 'Sora', sans-serif; font-weight: 600;
  font-size: 0.97rem; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
}
.faq-q .icon { font-size: 1.3rem; transition: transform 0.25s; color: var(--primary); }
.faq-a {
  padding: 0 1.5rem; max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  font-size: 0.92rem; color: var(--muted); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.5rem 1.2rem; }
.faq-item.open .icon { transform: rotate(45deg); }

/* ── PROFILE (over-ons) ── */
.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 4rem; align-items: start; }
.photo-card {
  background: white; border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  position: sticky; top: 88px;
}
.photo-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: var(--primary-pale);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; color: var(--muted);
}
.photo-placeholder svg { width: 64px; height: 64px; opacity: 0.25; }
.photo-placeholder span { font-size: 0.85rem; font-weight: 500; opacity: 0.6; }
.photo-caption { padding: 1.2rem 1.5rem; border-top: 1px solid var(--border); }
.photo-caption .name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--primary); }
.photo-caption .role { font-size: 0.83rem; color: var(--muted); margin-top: 0.25rem; }
.bio-content { display: flex; flex-direction: column; gap: 2.5rem; }
.bio-block h2 {
  font-family: 'Sora', sans-serif; font-size: 1.2rem;
  font-weight: 700; color: var(--primary); margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.bio-block h2 .dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }
.bio-block p { color: var(--muted); font-size: 0.97rem; line-height: 1.85; }
.divider { border: none; border-top: 1px solid var(--border); }

/* ── FORM ── */
.form-section { padding: 4rem 2rem 5rem; }
.form-layout { max-width: 680px; margin: 0 auto; }
.form-container {
  background: white; border: 1px solid var(--border);
  border-radius: 24px; padding: 3rem;
  box-shadow: 0 4px 40px rgba(26,31,46,0.07);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.form-group label .req { color: var(--primary); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem; border: 1.5px solid var(--border);
  border-radius: 10px; font-family: 'Inter', sans-serif;
  font-size: 0.95rem; color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,31,46,0.08);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input.error, .form-group select.error { border-color: var(--red); }
.form-divider {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: 0.85rem; color: var(--primary);
  letter-spacing: 0.05em; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem; margin: 2rem 0 1.5rem;
}
.checkbox-group { display: flex; align-items: flex-start; gap: 0.7rem; }
.checkbox-group input[type="checkbox"] {
  margin-top: 3px; width: 16px; height: 16px;
  accent-color: var(--primary); flex-shrink: 0; cursor: pointer;
}
.checkbox-group label { font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.checkbox-group label a { color: var(--primary); }
.submit-btn {
  width: 100%; padding: 1rem; background: var(--primary);
  color: white; border: none; border-radius: 50px;
  font-family: 'Sora', sans-serif; font-size: 1rem;
  font-weight: 700; cursor: pointer; margin-top: 1.5rem;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(26,31,46,0.2);
}
.submit-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.form-note {
  text-align: center; font-size: 0.82rem;
  color: var(--muted); margin-top: 1rem;
}
.form-note svg { width: 14px; height: 14px; vertical-align: middle; margin-right: 3px; }
.success-msg { display: none; text-align: center; padding: 3rem 2rem; }
.success-msg.visible { display: block; }
.success-msg .checkmark {
  width: 72px; height: 72px; background: var(--primary-pale);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 1.5rem;
}
.success-msg .checkmark svg { width: 36px; height: 36px; color: var(--primary); }
.success-msg h2 { font-family: 'Sora', sans-serif; font-size: 1.6rem; font-weight: 800; margin-bottom: 0.7rem; }
.success-msg p { color: var(--muted); max-width: 380px; margin: 0 auto; }

/* ── CTA BLOCK ── */
.cta-block {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: 24px; padding: 4rem 3rem;
  text-align: center; color: white; margin-top: 3rem;
}
.cta-block h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; margin-bottom: 1rem;
}
.cta-block p { font-size: 1.05rem; opacity: 0.85; margin-bottom: 2rem; }

/* ── LEGAL PAGES ── */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 {
  font-family: 'Sora', sans-serif; font-size: 1.3rem;
  font-weight: 700; color: var(--primary);
  margin: 2.5rem 0 0.8rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--muted); font-size: 0.95rem; line-height: 1.85; margin-bottom: 1rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { color: var(--muted); font-size: 0.95rem; line-height: 1.85; margin-bottom: 0.3rem; }
.legal-content a { color: var(--primary); }

/* ── FOOTER ── */
footer { background: var(--text); color: rgba(255,255,255,0.7); padding: 3rem 2rem 2rem; }
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
}
.footer-logo {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: 1.3rem; color: white; margin-bottom: 0.8rem; display: block;
}
.footer-desc { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 {
  color: white; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 0.88rem; transition: color 0.2s;
}
.footer-col ul a:hover { color: white; }
.footer-bottom {
  max-width: 1100px; margin: 2rem auto 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 1rem; font-size: 0.82rem;
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a {
  color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s;
}
.footer-legal a:hover { color: white; }
.footer-kvk { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 0.8rem; }

/* ── WHATSAPP FAB ── */
.whatsapp-fab {
  position: fixed; bottom: 1.8rem; right: 1.8rem;
  width: 60px; height: 60px; background: var(--green);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 999; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: bounceIn 0.6s 1s ease both;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.55); }
.whatsapp-fab svg { width: 32px; height: 32px; fill: white; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.5); }
  70% { transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: 0;
    width: 280px; height: 100vh;
    background: white;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 200;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.3); z-index: 199;
  }
  .nav-overlay.open { display: block; }
  .nav-cta { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .how-step:not(:last-child)::after { display: none; }
  .profile-grid { grid-template-columns: 1fr; gap: 2rem; }
  .photo-card { position: static; max-width: 260px; margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .form-container { padding: 2rem 1.5rem; }
  .trust-strip { gap: 1.5rem; }
  .cta-block { padding: 3rem 1.5rem; }
}
