/* FrisGemaakt — Freestyle 2 | White + Green */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=DM+Serif+Display&display=swap');

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

:root {
  --bg: #fafaf8;
  --bg-card: #ffffff;
  --bg-alt: #f0f0ec;
  --accent: #16a34a;
  --accent-hover: #22c55e;
  --text: #3f3f46;
  --text-muted: #71717a;
  --heading: #18181b;
  --font-heading: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 16px;
  --shadow: 0 4px 30px rgba(0,0,0,.06);
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--heading); line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { max-width: 68ch; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 2.2rem; border-radius: 50px; font-weight: 600; font-size: .95rem; letter-spacing: .02em; transition: all var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(22,163,74,.3); }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #fff; }

.badge { display: inline-block; padding: .35rem 1rem; border-radius: 50px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; background: rgba(22,163,74,.1); color: var(--accent); }

.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1.2rem 0; transition: all var(--transition); }
.navbar.scrolled { background: rgba(250,250,248,.95); backdrop-filter: blur(20px); box-shadow: 0 2px 30px rgba(0,0,0,.06); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-family: var(--font-heading); font-size: 1.5rem; color: var(--heading); }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: .9rem; transition: color var(--transition); }
.nav-links a:hover { color: var(--heading); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 25px; height: 2px; background: var(--heading); transition: all var(--transition); }

.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(250,250,248,.93) 0%, rgba(250,250,248,.75) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding: 8rem 0 5rem; }
.hero-content .badge { margin-bottom: 1.5rem; }
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content h1 span { color: var(--accent); display: block; }
.hero-content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 55ch; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 3rem; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,.08); }
.stat-item h3 { font-size: 2.2rem; color: var(--accent); font-family: var(--font-heading); }
.stat-item p { font-size: .85rem; color: var(--text-muted); }

section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .badge { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); margin: 1rem auto 0; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-image img { width: 100%; height: 500px; object-fit: cover; display: block; }
.about-text .badge { margin-bottom: 1rem; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1.5rem; }
.about-features { list-style: none; margin-bottom: 2rem; }
.about-features li { padding: .5rem 0; color: var(--text-muted); display: flex; align-items: center; gap: .75rem; }
.about-features li i { color: var(--accent); width: 20px; }

.services-section { background: var(--bg-alt); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { background: var(--bg-card); border-radius: var(--radius); padding: 2.5rem; transition: all var(--transition); border: 1px solid transparent; box-shadow: var(--shadow); }
.service-card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 20px 60px rgba(22,163,74,.1); }
.service-card .icon { width: 60px; height: 60px; border-radius: 14px; background: rgba(22,163,74,.08); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.service-card .icon i { font-size: 1.5rem; color: var(--accent); }
.service-card h3 { margin-bottom: .75rem; }
.service-card p { font-size: .92rem; color: var(--text-muted); }

.ba-section { padding: 6rem 0; }
.ba-slider { position: relative; max-width: 800px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: ew-resize; user-select: none; }
.ba-slider img { width: 100%; height: 450px; object-fit: cover; display: block; }
.ba-slider .ba-after { position: absolute; top: 0; left: 0; width: 50%; height: 100%; overflow: hidden; }
.ba-slider .ba-after img { position: absolute; top: 0; left: 0; width: 800px; max-width: none; height: 100%; }
.ba-slider .ba-handle { position: absolute; top: 0; left: 50%; width: 4px; height: 100%; background: var(--accent); transform: translateX(-50%); z-index: 10; }
.ba-slider .ba-handle::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; background: var(--accent); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.ba-label { position: absolute; bottom: 1rem; padding: .3rem .8rem; border-radius: 6px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; z-index: 5; }
.ba-label-before { right: 1rem; background: rgba(0,0,0,.6); color: #fff; }
.ba-label-after { left: 1rem; background: var(--accent); color: #fff; }

.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow); }
.project-card img { width: 100%; height: 350px; object-fit: cover; transition: transform .6s ease; }
.project-card:hover img { transform: scale(1.05); }
.project-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(24,24,27,.85) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; opacity: 0; transition: opacity var(--transition); }
.project-card:hover .overlay { opacity: 1; }
.project-card .overlay h3 { color: #fff; margin-bottom: .5rem; }
.project-card .overlay p { font-size: .9rem; color: rgba(255,255,255,.7); }

.carousel-section { background: var(--bg-alt); overflow: hidden; }
.carousel-track { display: flex; gap: 2rem; width: max-content; }
.carousel-track img { width: 350px; height: 250px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; box-shadow: var(--shadow); }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card { background: var(--bg-card); border-radius: var(--radius); padding: 2.5rem; border: 1px solid rgba(0,0,0,.04); box-shadow: var(--shadow); }
.testimonial-card .stars { color: var(--accent); margin-bottom: 1rem; font-size: 1.1rem; }
.testimonial-card p { font-style: italic; color: var(--text-muted); margin-bottom: 1.5rem; font-size: .95rem; }
.testimonial-card .author { display: flex; align-items: center; gap: .75rem; }
.testimonial-card .author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }
.testimonial-card .author-info span { display: block; }
.testimonial-card .author-info .name { font-weight: 600; color: var(--heading); font-size: .9rem; }
.testimonial-card .author-info .role { font-size: .8rem; color: var(--text-muted); }

.cta-section { position: relative; padding: 6rem 0; text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(250,250,248,.93), rgba(22,163,74,.15)); z-index: 1; }
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { margin-bottom: 1rem; }
.cta-content p { color: var(--text-muted); margin: 0 auto 2.5rem; max-width: 55ch; }

.team-section { background: var(--bg-alt); }
.team-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow); }
.team-image img { width: 100%; height: 400px; object-fit: cover; display: block; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,.06); padding: 1.5rem 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; width: 100%; background: none; border: none; color: var(--heading); font-size: 1.05rem; font-weight: 600; font-family: var(--font-body); text-align: left; padding: 0; }
.faq-question i { color: var(--accent); transition: transform var(--transition); font-size: .9rem; }
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-answer p { padding: 1rem 0 .5rem; color: var(--text-muted); font-size: .95rem; }
.faq-item.active .faq-answer { max-height: 300px; }

.footer { background: var(--heading); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .nav-logo { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.5); margin-top: .75rem; font-size: .9rem; }
.footer h4 { font-size: 1rem; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 600; color: #fff; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .5rem; }
.footer ul a { color: rgba(255,255,255,.5); font-size: .9rem; transition: color var(--transition); }
.footer ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: rgba(255,255,255,.4); font-size: .85rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: rgba(255,255,255,.4); font-size: 1.1rem; transition: color var(--transition); }
.footer-social a:hover { color: var(--accent); }

.page-header { padding: 10rem 0 4rem; text-align: center; background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 4rem 0; }
.blog-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); border: 1px solid transparent; box-shadow: var(--shadow); }
.blog-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 15px 50px rgba(22,163,74,.1); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-card-body .tag { font-size: .75rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.blog-card-body h3 { font-size: 1.15rem; margin: .5rem 0; }
.blog-card-body h3 a { color: var(--heading); }
.blog-card-body h3 a:hover { color: var(--accent); }
.blog-card-body p { font-size: .88rem; color: var(--text-muted); margin-bottom: 1rem; }
.blog-card-body .meta { font-size: .8rem; color: var(--text-muted); }

@media (max-width: 1024px) {
  .services-grid, .testimonials-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--bg); flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
  .nav-links.active { display: flex; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid, .testimonials-grid, .projects-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .hero-content { padding: 7rem 0 3rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .ba-slider img, .ba-slider .ba-after img { height: 280px; }
}
