/* ============================================
   JW Hout & Tuinbouw — Hoofdstylesheet
   ============================================ */

:root {
  --groen:       #2D5016;
  --groen-licht: #3D6B1F;
  --groen-dark:  #1E3710;
  --bruin:       #7B3F1A;
  --bruin-licht: #A0522D;
  --oranje:      #E8891A;
  --oranje-dark: #C97215;
  --crème:       #F9F5EF;
  --wit:         #FFFFFF;
  --grijs-licht: #F4F4F4;
  --grijs:       #6B7280;
  --donker:      #1C1C1C;
  --tekst:       #2D2D2D;
  --rand:        #E2DDD6;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.16);

  --r:           6px;
  --r-lg:        12px;

  --max:         1200px;
  --font:        'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--groen); text-decoration: none; }
a:hover { color: var(--groen-licht); }
ul { list-style: none; }

/* ── Typografie ─────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--donker);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout helpers ─────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-lg { padding: 6rem 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.text-center { text-align: center; }
.text-white  { color: var(--wit); }
.bg-crème    { background: var(--crème); }
.bg-groen    { background: var(--groen); }
.bg-dark     { background: var(--donker); }

/* ── Knoppen ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--oranje);
  color: var(--wit);
  border-color: var(--oranje);
}
.btn-primary:hover {
  background: var(--oranje-dark);
  border-color: var(--oranje-dark);
  color: var(--wit);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--wit);
  border-color: var(--wit);
}
.btn-secondary:hover {
  background: var(--wit);
  color: var(--groen);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--groen);
  border-color: var(--groen);
}
.btn-outline:hover {
  background: var(--groen);
  color: var(--wit);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }
.btn-sm { padding: .55rem 1.2rem; font-size: .9rem; }

/* ── Topbalk ────────────────────────────────── */
.topbar {
  background: var(--groen-dark);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  padding: .45rem 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--wit); }
.topbar-links { display: flex; gap: 1.5rem; align-items: center; }
.topbar-links span { display: flex; align-items: center; gap: .35rem; }

/* ── Header / Nav ───────────────────────────── */
.site-header {
  background: var(--wit);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 900;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--groen);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.logo-text { line-height: 1.1; }
.logo-text strong { display: block; color: var(--groen); font-size: 1.05rem; }
.logo-text span   { font-size: .75rem; color: var(--grijs); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  padding: .5rem .85rem;
  border-radius: var(--r);
  font-size: .9rem;
  font-weight: 500;
  color: var(--tekst);
  transition: all .15s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--crème);
  color: var(--groen);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: .7rem; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  background: var(--wit);
  border: 1px solid var(--rand);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: .5rem;
  z-index: 999;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: .55rem .85rem;
  border-radius: var(--r);
  font-size: .88rem;
  color: var(--tekst);
}
.dropdown-menu a:hover { background: var(--crème); color: var(--groen); }

.nav-cta { margin-left: .75rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tekst);
  border-radius: 2px;
  transition: .3s;
}
/* Hamburger → kruis animatie */
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--wit);
  border-top: 1px solid var(--rand);
  padding: 1rem 1.25rem;
}
.mobile-nav a {
  display: block;
  padding: .85rem 0;
  border-bottom: 1px solid var(--rand);
  font-size: 1rem;
  color: var(--tekst);
  min-height: 44px;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: .75rem; }

/* ── Hero ───────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--groen-dark) 0%, var(--groen) 60%, var(--groen-licht) 100%);
  color: var(--wit);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50px;
  padding: .35rem .85rem;
  font-size: .8rem;
  margin-bottom: 1.25rem;
}
.hero h1 { color: var(--wit); margin-bottom: 1.25rem; }
.hero-sub {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-stat strong { display: block; font-size: 1.6rem; }
.hero-stat span   { font-size: .8rem; opacity: .8; }

/* Offerte card in hero */
.hero-card {
  background: var(--wit);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  color: var(--tekst);
}
.hero-card h3 {
  color: var(--groen);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--grijs);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--rand);
  border-radius: var(--r);
  font-size: .95rem;
  font-family: var(--font);
  transition: border-color .2s;
  background: var(--wit);
  color: var(--tekst);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--groen);
  box-shadow: 0 0 0 3px rgba(45,80,22,.1);
}

/* ── USP balk ───────────────────────────────── */
.usps {
  background: var(--crème);
  border-bottom: 1px solid var(--rand);
  padding: 1.25rem 0;
}
.usps-inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.usp-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  font-weight: 600;
}
.usp-item .ico {
  width: 28px;
  height: 28px;
  background: var(--groen);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}

/* ── Dienstenkaarten ────────────────────────── */
.dienst-card {
  background: var(--wit);
  border: 1px solid var(--rand);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.dienst-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--groen);
}
.dienst-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--groen) 0%, var(--groen-licht) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.dienst-card-img .dienst-label {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: var(--oranje);
  color: var(--wit);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 50px;
}
.dienst-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.dienst-card-body h3 { margin-bottom: .5rem; }
.dienst-card-body p  { color: var(--grijs); font-size: .9rem; flex: 1; }
.dienst-card-body .btn { margin-top: 1rem; align-self: flex-start; }

/* ── Voordelen lijst ────────────────────────── */
.voordelen-list { display: flex; flex-direction: column; gap: .75rem; }
.voordeel-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.voordeel-ico {
  width: 32px;
  height: 32px;
  background: rgba(45,80,22,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.voordeel-item strong { display: block; margin-bottom: .15rem; }
.voordeel-item span { font-size: .88rem; color: var(--grijs); }

/* ── Reviews ────────────────────────────────── */
.review-card {
  background: var(--wit);
  border: 1px solid var(--rand);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.review-sterren { color: #F5A623; font-size: 1.1rem; margin-bottom: .75rem; }
.review-tekst   { font-style: italic; color: var(--tekst); margin-bottom: 1rem; font-size: .93rem; }
.review-auteur  { display: flex; align-items: center; gap: .75rem; }
.review-avatar  {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--groen);
  color: var(--wit);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}
.review-auteur strong { display: block; font-size: .9rem; }
.review-auteur span   { font-size: .78rem; color: var(--grijs); }

/* ── Stappenplan ────────────────────────────── */
.stappen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.stap-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--wit);
  border-radius: var(--r-lg);
  border: 1px solid var(--rand);
  position: relative;
}
.stap-nr {
  width: 48px;
  height: 48px;
  background: var(--groen);
  color: var(--wit);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 1rem;
}
.stap-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.stap-card p  { font-size: .88rem; color: var(--grijs); }

/* ── Plaatsen / regio ───────────────────────── */
.regio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
.regio-link {
  background: var(--wit);
  border: 1px solid var(--rand);
  border-radius: var(--r);
  padding: .85rem 1rem;
  text-align: center;
  font-size: .88rem;
  font-weight: 600;
  color: var(--groen);
  transition: all .2s;
}
.regio-link:hover {
  background: var(--groen);
  color: var(--wit);
  border-color: var(--groen);
  transform: translateY(-2px);
}

/* ── Sectionheader ──────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-header.text-center { text-align: center; }
.section-tag {
  display: inline-block;
  background: rgba(45,80,22,.1);
  color: var(--groen);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p  { color: var(--grijs); max-width: 600px; }
.section-header.text-center p { margin: 0 auto; }

/* ── FAQ ────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--rand);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: .75rem;
}
.faq-vraag {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.5rem;
  background: var(--wit);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--tekst);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font);
  transition: background .2s;
}
.faq-vraag:hover { background: var(--crème); }
.faq-vraag .ico  { font-size: .8rem; transition: transform .3s; flex-shrink: 0; }
.faq-vraag[aria-expanded="true"] { color: var(--groen); background: rgba(45,80,22,.05); }
.faq-vraag[aria-expanded="true"] .ico { transform: rotate(180deg); }
.faq-antwoord {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: .93rem;
  color: var(--grijs);
  line-height: 1.7;
}
.faq-antwoord.open { display: block; }

/* ── CTA balk ───────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--groen-dark) 0%, var(--groen) 100%);
  color: var(--wit);
  padding: 4rem 0;
  text-align: center;
}
.cta-section h2 { color: var(--wit); margin-bottom: 1rem; }
.cta-section p  { opacity: .85; margin-bottom: 2rem; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Breadcrumb ─────────────────────────────── */
.breadcrumb {
  padding: .75rem 0;
  font-size: .83rem;
  color: var(--grijs);
  border-bottom: 1px solid var(--rand);
}
.breadcrumb a { color: var(--grijs); }
.breadcrumb a:hover { color: var(--groen); }
.breadcrumb span { margin: 0 .4rem; }

/* ── Page hero (inner pages) ────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--groen-dark) 0%, var(--groen) 100%);
  color: var(--wit);
  padding: 3.5rem 0;
}
.page-hero h1 { color: var(--wit); margin-bottom: .75rem; }
.page-hero p  { opacity: .88; font-size: 1.05rem; max-width: 600px; }
.page-hero .breadcrumb {
  border: none;
  padding: 0 0 .75rem;
  color: rgba(255,255,255,.7);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.7); }

/* ── Inhoudsblokken ─────────────────────────── */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.content-block.reverse { direction: rtl; }
.content-block.reverse > * { direction: ltr; }

.content-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--groen) 0%, var(--groen-licht) 100%);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

/* ── Projecten ──────────────────────────────── */
.project-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--rand);
  transition: all .25s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.project-card-img {
  height: 220px;
  background: linear-gradient(135deg, var(--groen) 0%, var(--bruin) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}
.project-tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--groen);
  color: var(--wit);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 50px;
}
.project-card-body { padding: 1.25rem; background: var(--wit); }
.project-card-body h3 { font-size: 1rem; margin-bottom: .4rem; }
.project-card-body p  { font-size: .85rem; color: var(--grijs); }
.project-meta {
  display: flex;
  gap: 1rem;
  margin-top: .75rem;
  font-size: .78rem;
  color: var(--grijs);
}

/* ── Offerte formulier ──────────────────────── */
.offerte-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
.offerte-form-card {
  background: var(--wit);
  border: 1px solid var(--rand);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.offerte-info-card {
  background: var(--groen);
  border-radius: var(--r-lg);
  padding: 2rem;
  color: var(--wit);
  position: sticky;
  top: 90px;
}
.offerte-info-card h3 { color: var(--wit); margin-bottom: 1.25rem; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.info-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-ico { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.info-item strong { display: block; margin-bottom: .2rem; }
.info-item span   { font-size: .85rem; opacity: .85; }

/* ── Prijskaarten ───────────────────────────── */
.prijs-card {
  border: 2px solid var(--rand);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-align: center;
  transition: all .25s;
}
.prijs-card.featured {
  border-color: var(--groen);
  position: relative;
}
.prijs-card.featured::before {
  content: 'Meest gekozen';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--groen);
  color: var(--wit);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .85rem;
  border-radius: 0 0 var(--r) var(--r);
}
.prijs-card:hover { border-color: var(--groen); box-shadow: var(--shadow-md); }
.prijs-label { font-size: .8rem; color: var(--grijs); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.prijs-bedrag { font-size: 2.5rem; font-weight: 800; color: var(--groen); margin: .5rem 0; }
.prijs-bedrag span { font-size: 1rem; font-weight: 400; color: var(--grijs); }
.prijs-features { text-align: left; margin: 1.25rem 0; }
.prijs-features li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  padding: .35rem 0;
  border-bottom: 1px solid var(--rand);
}
.prijs-features li::before { content: '✓'; color: var(--groen); font-weight: 700; }
.prijs-features li:last-child { border-bottom: none; }

/* ── Contact ────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-kaart {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--crème);
  border-radius: var(--r-lg);
  margin-bottom: 1rem;
}
.contact-ico {
  width: 44px;
  height: 44px;
  background: var(--groen);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-kaart strong { display: block; margin-bottom: .2rem; }
.contact-kaart span { font-size: .88rem; color: var(--grijs); }
.contact-kaart a { color: var(--groen); font-weight: 600; }

/* ── Schema tabel ───────────────────────────── */
.specs-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.specs-table th,
.specs-table td {
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--rand);
  font-size: .9rem;
}
.specs-table th { background: var(--crème); font-weight: 700; width: 40%; }

/* ── Footer ─────────────────────────────────── */
.footer {
  background: #141F0C;
  color: rgba(255,255,255,.8);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.footer-logo .logo-icon { background: var(--groen); }
.footer-logo strong { color: var(--wit); font-size: 1.05rem; }
.footer-col h4 {
  color: var(--wit);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--wit); }
.footer-col p { font-size: .88rem; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--wit); }
.footer-keurmerken { display: flex; gap: 1rem; align-items: center; }
.keurmerk {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  padding: .3rem .7rem;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}

/* ── WhatsApp knop ──────────────────────────── */
.btn-whatsapp {
  background: #25D366;
  color: var(--wit) !important;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1EB85A;
  border-color: #1EB85A;
  color: var(--wit) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}

/* Zwevende WhatsApp knop */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 1.25rem;
  z-index: 850;
  background: #25D366;
  color: var(--wit);
  border-radius: 50px;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .88rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  text-decoration: none;
  transition: all .2s;
  animation: waFloat 2s ease-in-out infinite;
}
.whatsapp-float:hover { background: #1EB85A; color: var(--wit); transform: scale(1.05); }
.whatsapp-float .wa-ico { font-size: 1.3rem; }

@keyframes waFloat {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,.75); }
}

/* Nieuw hero — foto sectie ─────────────────── */
.hero-v2 {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0F1F08;
}

.hero-v2-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('../images/schutting-rood.jpg');
  opacity: .45;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-v2-bg.loaded { transform: scale(1); }
.hero-v2-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,25,5,.85) 0%, rgba(20,50,10,.6) 60%, rgba(10,25,5,.3) 100%);
}
.hero-v2-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-v2-logo {
  margin-bottom: 1.5rem;
}
.hero-v2-logo img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .92;
}

.hero-v2-stars {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.25rem;
}
.hero-v2-stars .sterren { color: #F5A623; letter-spacing: .05em; }

.hero-v2 h1 {
  color: var(--wit);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-v2 h1 span { color: #7DCB52; }

.hero-v2-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.65;
}

.hero-v2-ctabar {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-v2-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.8);
}
.trust-item .ico { color: #7DCB52; font-size: 1rem; }

/* Foto-grid in hero ─────────────────────────── */
.hero-v2-fotos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 180px;
  gap: .6rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.hero-foto {
  background: #1a3010;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.hero-foto.groot { grid-column: span 2; }
.hero-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.hero-foto:hover img { transform: scale(1.04); }
.hero-foto-badge {
  position: absolute;
  bottom: .6rem;
  left: .6rem;
  background: rgba(0,0,0,.7);
  color: var(--wit);
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* WhatsApp sectie op homepage ───────────────── */
.wa-sectie {
  background: linear-gradient(135deg, #1a4a10, #25D366);
  color: var(--wit);
  padding: 3rem 0;
}
.wa-sectie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.wa-sectie h2 { color: var(--wit); font-size: 1.5rem; }
.wa-sectie p  { opacity: .88; margin-top: .35rem; }
.wa-sectie .btn { flex-shrink: 0; }

/* Project foto kaarten ──────────────────────── */
.project-foto {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.dienst-foto {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ── Sticky mobile CTA ──────────────────────── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--wit);
  border-top: 1px solid var(--rand);
  padding: .75rem 1.25rem;
  z-index: 800;
  gap: .75rem;
}
.sticky-cta .btn { flex: 1; justify-content: center; }

/* ── Sterren rating ─────────────────────────── */
.rating-blok {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.1);
  border-radius: var(--r);
  padding: .75rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,.15);
}
.rating-sterren { font-size: 1rem; color: #F5A623; }
.rating-blok strong { color: var(--wit); }
.rating-blok span   { font-size: .8rem; opacity: .8; }

/* ── Responsive ─────────────────────────────── */

/* Voorkom horizontale scroll op alle schermen */
html, body { overflow-x: hidden; }

/* Betere tap-respons: geen 300ms vertraging */
.btn, a, button, input, select, textarea { touch-action: manipulation; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stappen-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 100%; }
  .offerte-wrap { grid-template-columns: 1fr; }
  .offerte-info-card { position: static; }
  .hero-v2-content { grid-template-columns: 1fr; }
  .hero-v2-fotos { display: none; }
  .hero-v2 { min-height: auto; }
}

@media (max-width: 768px) {
  /* Navigatie */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open { display: block; }

  /* Topbar: verberg locatie+tijden op mobiel, houd alleen contactlinks */
  .topbar-links:first-child { display: none; }

  /* Grids stapelen */
  .grid-2, .grid-3, .content-block, .contact-grid { grid-template-columns: 1fr; }
  .content-block.reverse { direction: ltr; }
  .form-row { grid-template-columns: 1fr; }

  /* Hero */
  .hero { padding: 2.5rem 0 2rem; }
  .hero-stats { gap: 1.25rem; }

  /* iOS zoom fix: formulierinputs MOETEN minimaal 16px zijn anders zoomt iPhone in */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 1rem; }

  /* USP-balk */
  .usps-inner { gap: 1.25rem; }

  /* Overige grids */
  .stappen-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }

  /* Sticky CTA onderaan */
  .sticky-cta {
    display: flex;
    padding-bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
  }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }

  /* Secties */
  .section    { padding: 2.5rem 0; }
  .section-lg { padding: 3.5rem 0; }

  /* Minimale aanraakzone 44px (Apple-richtlijn) */
  .btn { min-height: 44px; }

  /* WhatsApp zwevende knop: cirkel op mobiel zodat 't minder ruimte inneemt */
  .whatsapp-float { padding: .9rem; border-radius: 50%; bottom: calc(80px + env(safe-area-inset-bottom, 0px) + 12px); }
  .whatsapp-float span:not(.wa-ico) { display: none; }

  /* Sectie-header iets compacter */
  .section-header { margin-bottom: 2rem; }
}

@media (max-width: 480px) {
  /* Container iets smaller om ruimte te geven */
  .container { padding: 0 1rem; }

  /* Hero knoppen full-width */
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }

  /* CTA-sectie knoppen full-width */
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn { width: 100%; justify-content: center; }

  /* WhatsApp sectie */
  .wa-sectie-inner { flex-direction: column; text-align: center; }
  .wa-sectie .btn { width: 100%; justify-content: center; }

  /* Dienstenkaart afbeeldingshoogte iets kleiner op heel klein scherm */
  .dienst-card-img { height: 180px; }

  /* Voet minder ruimte */
  .footer-col { margin-bottom: .5rem; }
}
