/* ============================================
   TweeFiets — White + Green
   DM Sans + DM Serif Display
   ============================================ */

:root {
  --bg:        #fafaf8;
  --bg-alt:    #f0f0ec;
  --bg-card:   #ffffff;
  --accent:    #16a34a;
  --accent-h:  #15803d;
  --accent-10: rgba(22,163,74,.1);
  --text:      #1a1a1a;
  --text-muted:#6b6b6b;
  --border:    #e5e5e0;
  --white:     #ffffff;
  --font-head: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --radius:    12px;
  --radius-lg: 20px;
  --transition:.35s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  transition: var(--transition); cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-h); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(22,163,74,.25); }
.btn-outline { border-color: var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }
.btn-nav { padding: 10px 24px; font-size: .85rem; }

/* --- BADGE --- */
.badge {
  display: inline-block; padding: 6px 18px; border-radius: 50px;
  background: var(--accent-10); color: var(--accent);
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
}

/* --- NAVBAR --- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 18px 0; transition: var(--transition); background: transparent;
}
.navbar.scrolled {
  background: rgba(250,250,248,.92); backdrop-filter: blur(20px);
  padding: 12px 0; box-shadow: 0 1px 20px rgba(0,0,0,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-head); font-size: 1.5rem; color: var(--text); }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--text-muted); transition: var(--transition); }
.nav-links a:hover { color: var(--text); }

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

/* --- HERO --- */
.hero { padding: 140px 0 80px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text .badge { margin-bottom: 20px; }
.hero-text h1 { font-family: var(--font-head); font-size: clamp(2.6rem,5.5vw,4rem); line-height: 1.15; margin-bottom: 24px; color: var(--text); }
.hero-text .accent { color: var(--accent); }
.hero-text p { font-size: 1.1rem; color: var(--text-muted); max-width: 460px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,.08); }

/* --- TICKER --- */
.ticker { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; background: var(--white); }
.ticker-track { display: flex; gap: 40px; white-space: nowrap; animation: tickerScroll 22s linear infinite; }
.ticker-track span { font-family: var(--font-head); font-size: 1rem; color: var(--text); letter-spacing: 1px; }
.ticker-track .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; vertical-align: middle; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- SECTIONS --- */
.section { padding: 100px 0; }
.section-label {
  display: inline-block; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 12px;
}
.section-title { font-family: var(--font-head); font-size: clamp(2rem,4vw,2.8rem); color: var(--text); margin-bottom: 16px; }
.section-sub { color: var(--text-muted); font-size: 1rem; max-width: 480px; }
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* --- SERVICES --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 36px 28px;
  border: 1px solid var(--border); transition: var(--transition); position: relative;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.06); border-color: var(--accent); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-10); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--accent);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 8px; }
.service-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* --- OVER ONS --- */
.over { background: var(--bg-alt); }
.over-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.over-images { position: relative; }
.over-main { border-radius: var(--radius-lg); }
.over-float {
  position: absolute; bottom: -20px; right: -20px; width: 45%;
  border-radius: var(--radius); overflow: hidden;
  border: 4px solid var(--bg-alt); box-shadow: 0 12px 40px rgba(0,0,0,.1);
}
.over-text .section-title { margin-bottom: 20px; }
.over-text p { color: var(--text-muted); margin-bottom: 16px; font-size: .95rem; }
.over-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.feature { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--text); }
.feature svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* --- BEFORE / AFTER --- */
.voor-na { background: var(--white); }
.ba-wrapper { max-width: 800px; margin: 0 auto; }
.ba-container {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  cursor: col-resize; user-select: none; aspect-ratio: 16/10;
}
.ba-after { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-before-clip { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.ba-before { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.ba-before-clip img { min-width: 100%; min-height: 100%; }
.ba-slider {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 4px;
  background: var(--white); transform: translateX(-50%); cursor: col-resize;
}
.ba-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2); color: var(--text);
}
.ba-handle svg { width: 20px; height: 20px; }
.ba-label {
  position: absolute; top: 16px; padding: 6px 16px; border-radius: 50px;
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  background: rgba(0,0,0,.6); color: var(--white);
}
.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; }

/* --- PROJECTS --- */
.projecten { background: var(--bg-alt); }
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; height: 280px;
}
.project-card.project-lg { grid-column: 1 / -1; height: 380px; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover img { transform: scale(1.05); }
.project-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  color: var(--white);
}
.project-tag {
  display: inline-block; font-size: .7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; background: var(--accent); color: var(--white);
  padding: 4px 12px; border-radius: 50px; margin-bottom: 8px;
}
.project-info h3 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 4px; }
.project-info p { font-size: .85rem; opacity: .85; }

/* --- STAPPEN --- */
.werkwijze { background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent);
  color: var(--white); font-family: var(--font-head); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.step h3 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* --- BLOG --- */
.blog { background: var(--bg-alt); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.blog-img { height: 200px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 24px; }
.blog-tag {
  display: inline-block; font-size: .7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--accent); background: var(--accent-10);
  padding: 4px 12px; border-radius: 50px; margin-bottom: 12px;
}
.blog-body h3 { font-family: var(--font-head); font-size: 1.02rem; margin-bottom: 8px; line-height: 1.35; }
.blog-body p { font-size: .85rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.blog-link { font-size: .85rem; font-weight: 600; color: var(--accent); transition: var(--transition); }
.blog-link:hover { color: var(--accent-h); }
.blog-link span { transition: transform var(--transition); display: inline-block; }
.blog-link:hover span { transform: translateX(4px); }

/* --- CTA --- */
.cta { padding: 100px 0; background: var(--white); }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta-text h2 { font-family: var(--font-head); font-size: clamp(2rem,4vw,2.8rem); margin-bottom: 16px; }
.cta-text p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 32px; max-width: 420px; }
.cta-image img { border-radius: var(--radius-lg); }

/* --- FOOTER --- */
.footer { padding: 60px 0 0; background: var(--bg); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: .88rem; color: var(--text-muted); max-width: 280px; }
.footer-col h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 16px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: .88rem; color: var(--text-muted); transition: var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-col li:not(:has(a)) { font-size: .88rem; color: var(--text-muted); }
.footer-bottom { padding: 24px 0; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { font-size: .8rem; color: var(--text-muted); }

/* --- ANIMATIONS --- */
[data-animate] { opacity: 0; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .services-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 80px 32px 40px; gap: 20px; transition: var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,.08);
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1rem; color: var(--text); }

  .hero { padding: 120px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .over-grid, .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .over-float { position: relative; bottom: auto; right: auto; width: 60%; margin-top: -30px; margin-left: auto; }
  .services-grid, .blog-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.project-lg { height: 280px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}