/* ============================================================
   EPC-ASSISTENT.BE — Gedeelde stijlen (fusie-stijl)
   ============================================================ */

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

:root {
  --green:       #1a6b46;
  --green-dark:  #134d33;
  --green-mid:   #228a5a;
  --green-pale:  #edf7f2;
  --green-tint:  #d0ead9;
  --amber:       #e07d2a;
  --amber-pale:  #fef5ec;
  --slate:       #1e2d3d;
  --slate-mid:   #2d4259;
  --cream:       #faf8f4;
  --white:       #ffffff;
  --ink:         #111827;
  --ink-mid:     #374151;
  --ink-light:   #6b7280;
  --border:      #e5e7eb;
  --border-mid:  #d1d5db;
  --font-serif:  'Lora', Georgia, 'Times New Roman', serif;
  --font-sans:   'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:       1120px;
  --radius:      10px;
  --radius-lg:   20px;
  --radius-full: 100px;
  --shadow-sm:   0 1px 8px rgba(17,24,39,0.06);
  --shadow:      0 4px 24px rgba(17,24,39,0.09);
  --shadow-lg:   0 12px 48px rgba(17,24,39,0.14);
  --shadow-xl:   0 24px 80px rgba(17,24,39,0.18);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.nav-logo-mark { width: 36px; height: 36px; background: var(--green); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: white; flex-shrink: 0; box-shadow: 0 2px 8px rgba(26,107,70,0.3); }
.nav-logo-name { font-family: var(--font-serif); font-size: 1.25rem; color: var(--ink); line-height: 1; }
.nav-logo-name span { color: var(--green); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { color: var(--ink-mid); text-decoration: none; font-size: 0.875rem; font-weight: 500; padding: 6px 14px; border-radius: var(--radius); transition: background 0.15s, color 0.15s; }
.nav-links a:hover { background: var(--green-pale); color: var(--green); }
.nav-links a.active { color: var(--green); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-tel { font-size: 0.82rem; font-weight: 500; color: var(--ink-mid); text-decoration: none; display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.nav-tel:hover { color: var(--green); }

.nav-btn { background: var(--green); color: white; padding: 9px 20px; border-radius: var(--radius); text-decoration: none; font-size: 0.875rem; font-weight: 600; transition: background 0.2s, transform 0.15s; box-shadow: 0 2px 8px rgba(26,107,70,0.25); }
.nav-btn:hover { background: var(--green-mid); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.3rem; color: var(--ink); padding: 4px; }

/* ── TICKER ── */
.ticker { background: var(--green); padding: 13px 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: ticker 25s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.9); padding: 0 28px; }
.ticker-dot { width: 4px; height: 4px; background: rgba(255,255,255,0.4); border-radius: 50%; flex-shrink: 0; }

/* ── PAGE HEADER ── */
.page-header { background: var(--cream); padding: 56px 48px; border-bottom: 1px solid var(--border); }
.page-header-inner { max-width: var(--max-w); margin: 0 auto; }
.breadcrumb { font-size: 0.78rem; color: var(--ink-light); margin-bottom: 14px; }
.breadcrumb a { color: var(--ink-light); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { margin: 0 6px; }

/* ── SECTION ── */
.section { padding: 88px 48px; }
.container { max-width: var(--max-w); margin: 0 auto; }

.s-eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.s-eyebrow.center { justify-content: center; }
.s-eyebrow::before, .s-eyebrow.center::before, .s-eyebrow.center::after { content: ''; height: 1px; background: var(--green-tint); flex: 0 0 24px; }
.s-eyebrow:not(.center)::before { display: none; }

.s-title { font-family: var(--font-serif); font-size: clamp(1.9rem, 3vw, 2.8rem); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.s-sub { color: var(--ink-light); font-size: 0.95rem; line-height: 1.75; font-weight: 300; }

/* ── BUTTONS ── */
.btn-primary { background: var(--green); color: white; padding: 13px 26px; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; box-shadow: 0 4px 16px rgba(26,107,70,0.3); }
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,107,70,0.35); }

.btn-amber { background: var(--amber); color: white; padding: 13px 26px; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s, transform 0.15s; box-shadow: 0 4px 12px rgba(224,125,42,0.3); }
.btn-amber:hover { background: #c96e1e; transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--ink-mid); padding: 13px 26px; border-radius: var(--radius); text-decoration: none; font-weight: 500; font-size: 0.875rem; border: 1.5px solid var(--border-mid); transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline:hover { border-color: var(--green); color: var(--green); background: var(--green-pale); }

.btn-ghost-white { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); padding: 13px 26px; border-radius: var(--radius); text-decoration: none; font-weight: 500; font-size: 0.875rem; border: 1px solid rgba(255,255,255,0.15); transition: all 0.2s; }
.btn-ghost-white:hover { background: rgba(255,255,255,0.14); color: white; }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ── FORMS ── */
.fg { margin-bottom: 12px; }
.fg label { display: block; font-size: 0.68rem; font-weight: 600; color: var(--ink-mid); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 5px; }
.fg input, .fg select, .fg textarea { width: 100%; padding: 10px 13px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font-sans); font-size: 0.875rem; color: var(--ink); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; outline: none; -webkit-appearance: none; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,107,70,0.1); }
.fg textarea { resize: vertical; min-height: 90px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.form-submit { width: 100%; padding: 13px; background: var(--amber); color: white; border: none; border-radius: var(--radius); font-family: var(--font-sans); font-size: 0.925rem; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.15s; margin-top: 6px; box-shadow: 0 4px 12px rgba(224,125,42,0.3); }
.form-submit:hover { background: #c96e1e; transform: translateY(-1px); }
.fnote { text-align: center; font-size: 0.7rem; color: var(--ink-light); margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.fnote span::before { content: '✓ '; color: var(--green); font-weight: 600; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 2px; margin-top: 40px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q { width: 100%; padding: 17px 22px; display: flex; align-items: center; justify-content: space-between; background: none; border: none; cursor: pointer; font-family: var(--font-sans); font-size: 0.92rem; font-weight: 600; color: var(--ink); text-align: left; gap: 16px; transition: background 0.2s; }
.faq-q:hover { background: var(--cream); }
.faq-icon { width: 24px; height: 24px; background: var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 1.1rem; flex-shrink: 0; transition: transform 0.25s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 16px; font-size: 0.875rem; color: var(--ink-light); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--slate); padding: 80px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(26,107,70,0.2) 0%, transparent 70%); pointer-events: none; }
.cta-banner h2 { font-family: var(--font-serif); font-size: clamp(2rem, 3.5vw, 3.2rem); color: white; margin-bottom: 12px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.5); margin-bottom: 36px; font-size: 1rem; font-weight: 300; position: relative; }

/* ── FOOTER ── */
.footer { background: var(--ink); padding: 56px 48px 32px; }
.footer-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 28px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-mark { width: 32px; height: 32px; background: var(--green); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.9rem; }
.footer-logo-name { font-family: var(--font-serif); font-size: 1.1rem; color: white; }
.footer-logo-name span { color: var(--green-mid); }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.4); font-style: italic; margin-bottom: 16px; }
.footer-erkend { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-full); padding: 5px 12px; font-size: 0.7rem; color: rgba(255,255,255,0.5); }
.footer-erkend strong { color: rgba(255,255,255,0.85); }
.fe-dot { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; animation: breathe 2s infinite; }
@keyframes breathe { 0%,100%{transform:scale(1);opacity:1;} 50%{transform:scale(0.7);opacity:0.5;} }
.footer-col h4 { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.875rem; font-weight: 300; transition: color 0.2s; }
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.fc-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: rgba(255,255,255,0.55); margin-bottom: 8px; font-weight: 300; }
.fc-item a { color: inherit; text-decoration: none; transition: color 0.2s; }
.fc-item a:hover { color: white; }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: rgba(255,255,255,0.2); flex-wrap: wrap; gap: 12px; }
.footer-social { display: flex; gap: 8px; }
.social-btn { width: 32px; height: 32px; background: rgba(255,255,255,0.06); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.8rem; font-weight: 600; transition: all 0.2s; border: 1px solid rgba(255,255,255,0.08); }
.social-btn:hover { background: var(--green); color: white; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: 0.1s; }
.rd2 { transition-delay: 0.2s; }
.rd3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--border); padding: 12px 20px; gap: 2px; z-index: 199; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; border-radius: var(--radius); display: block; }
  .nav-tel { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 56px 20px; }
  .page-header { padding: 40px 20px; }
  .cta-banner { padding: 56px 20px; }
  .footer { padding: 40px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .fg-row { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
