/* ===================================================================
   AS Groenbeheer & Terreinonderhoud — redesign concept
   Direction: Modern & Bold
   =================================================================== */

:root {
  --green-900: #10261a;
  --green-800: #163a25;
  --green-700: #1d5236;
  --green-600: #237045;
  --green-500: #2f8a55;
  --green-400: #4aa971;
  --lime:      #a9d84f;
  --lime-soft: #c7e88a;
  --cream:     #f6f8f1;
  --sand:      #eef1e6;
  --ink:       #14201a;
  --ink-soft:  #47554d;
  --white:     #ffffff;
  --radius:    22px;
  --radius-sm: 14px;
  --shadow:    0 24px 60px -24px rgba(16, 38, 26, 0.45);
  --shadow-sm: 0 12px 30px -14px rgba(16, 38, 26, 0.35);
  --maxw:      1200px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Sora', 'Inter', sans-serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green-600);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(47, 138, 85, 0.1);
  margin-bottom: 22px;
}
.eyebrow.on-dark { color: var(--lime); background: rgba(169, 216, 79, 0.14); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.98rem;
  padding: 15px 30px; border-radius: 999px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  cursor: pointer; border: none;
}
.btn-primary { background: var(--green-600); color: var(--white); box-shadow: 0 14px 30px -12px rgba(35, 112, 69, 0.7); }
.btn-primary:hover { background: var(--green-700); transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(35, 112, 69, 0.75); }
.btn-lime { background: var(--lime); color: var(--green-900); }
.btn-lime:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -12px rgba(169, 216, 79, 0.65); }
.btn-ghost { background: transparent; color: var(--green-800); border: 1.5px solid rgba(29, 82, 54, 0.25); }
.btn-ghost:hover { border-color: var(--green-600); background: rgba(47,138,85,0.06); transform: translateY(-3px); }
.btn-ghost.on-dark { color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-ghost.on-dark:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.55); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(246, 248, 241, 0.82);
  border-bottom: 1px solid rgba(29, 82, 54, 0.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 82px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand .brand-txt { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand .brand-txt span { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.68rem; letter-spacing: 0.06em; color: var(--ink-soft); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-weight: 500; font-size: 0.96rem; padding: 10px 16px; border-radius: 999px;
  color: var(--ink); transition: background 0.25s, color 0.25s;
}
.nav-links a:hover { background: rgba(47,138,85,0.08); color: var(--green-700); }
.nav-links a.active { color: var(--green-700); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
/* Compact, shadow-less header CTA so it sits naturally in the nav */
.nav-cta .btn-primary { padding: 10px 20px; font-size: 0.9rem; box-shadow: none; }
.nav-cta .btn-primary:hover { box-shadow: none; transform: translateY(-2px); }
.nav-phone { font-weight: 600; color: var(--green-700); font-size: 0.95rem; display: flex; align-items: center; gap: 7px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 74px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.15rem); margin-bottom: 26px; }
.hero h1 .hl { color: var(--green-600); position: relative; }
.hero p.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 33ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-trust .t { display: flex; flex-direction: column; }
.hero-trust .t b { font-family: 'Sora', sans-serif; font-size: 1.7rem; color: var(--green-700); }
.hero-trust .t span { font-size: 0.85rem; color: var(--ink-soft); }

.hero-visual { position: relative; }
.hero-visual .main-img {
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4/5; position: relative;
}
.hero-visual .main-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -26px; bottom: 40px;
  background: var(--white); border-radius: var(--radius-sm);
  padding: 18px 22px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 14px;
  max-width: 260px;
}
.hero-badge .ic { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--green-500), var(--green-600)); display: grid; place-items: center; flex-shrink: 0; }
.hero-badge b { display: block; font-family: 'Sora', sans-serif; font-size: 0.98rem; }
.hero-badge span { font-size: 0.82rem; color: var(--ink-soft); }
.hero-leaf { position: absolute; top: -30px; right: -20px; width: 120px; opacity: 0.5; z-index: -1; }

.blob { position: absolute; z-index: -2; border-radius: 50%; filter: blur(60px); opacity: 0.5; }
.blob-1 { width: 380px; height: 380px; background: var(--lime-soft); top: -80px; right: -60px; }
.blob-2 { width: 300px; height: 300px; background: #bfe3c9; bottom: -60px; left: -80px; opacity: 0.35; }

/* ---------- Logo strip / stats ---------- */
.stat-band { background: var(--green-800); color: var(--white); padding: 46px 0; }
.stat-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-band .st b { font-family: 'Sora', sans-serif; font-size: 2.6rem; color: var(--lime); display: block; line-height: 1; }
.stat-band .st span { font-size: 0.92rem; color: rgba(255,255,255,0.72); }
.stat-band .st { position: relative; }
.stat-band .st:not(:last-child)::after { content:""; position:absolute; right: -10px; top: 10%; height: 80%; width: 1px; background: rgba(255,255,255,0.12); }

/* ---------- Section basics ---------- */
section.pad { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 18px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.split-media .mini {
  position: absolute; width: 45%; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  bottom: -34px; border: 5px solid var(--cream); aspect-ratio: 1/1; object-fit: cover;
}
.split.rev .split-media .mini { right: -24px; }
.split-media .mini.l { left: -24px; }
.split h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 20px; }
.split p { color: var(--ink-soft); margin-bottom: 20px; }
.check-list { list-style: none; display: grid; gap: 12px; margin: 24px 0 30px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.check-list .tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(47,138,85,0.15); color: var(--green-600); display: grid; place-items: center; font-size: 0.8rem; margin-top: 2px; }

/* ---------- Services / cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border: 1px solid rgba(29,82,54,0.05);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .ic { width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, var(--green-500), var(--green-600)); display: grid; place-items: center; margin-bottom: 22px; }
/* icon tiles share one consistent scheme: green gradient + white glyph */
.card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Gallery ---------- */
/* Uniform tiles: every photo crops to the same shape (portrait, landscape or square) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: var(--radius-sm); display: block; }

/* ---------- Testimonial ---------- */
.quote-band {
  background:
    radial-gradient(circle at 15% 20%, rgba(47,138,85,0.6), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(169,216,79,0.28), transparent 45%),
    var(--green-900);
  color: var(--white); border-radius: 34px; padding: 74px 8%; text-align: center; position: relative; overflow: hidden;
}
.quote-band .mark { font-family: 'Sora', sans-serif; font-size: 6rem; line-height: 0.5; color: var(--lime); opacity: 0.5; }
.quote-band blockquote { font-family: 'Sora', sans-serif; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; max-width: 20ch; margin: 20px auto 28px; line-height: 1.28; }
.quote-band .by { color: var(--lime); font-weight: 600; letter-spacing: 0.04em; }
.quote-band .stars { color: var(--lime); letter-spacing: 3px; margin-bottom: 20px; font-size: 1.1rem; }

/* ---------- CTA / Contact form ---------- */
.cta-section { background: var(--sand); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-bottom: 18px; }
.contact-info p { color: var(--ink-soft); margin-bottom: 30px; }
.contact-lines { display: grid; gap: 16px; margin-bottom: 34px; }
.contact-lines a, .contact-lines .cl { display: flex; align-items: center; gap: 16px; background: var(--white); padding: 16px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease); }
.contact-lines a:hover { transform: translateX(5px); }
.contact-lines .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(47,138,85,0.12); color: var(--green-600); display: grid; place-items: center; flex-shrink: 0; }
.contact-lines b { display: block; font-family: 'Sora', sans-serif; font-size: 1rem; }
.contact-lines span { font-size: 0.82rem; color: var(--ink-soft); }

.form-card { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1.5px solid rgba(29,82,54,0.14);
  border-radius: 12px; font-family: inherit; font-size: 0.96rem; background: var(--cream);
  transition: border 0.25s, box-shadow 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(47,138,85,0.14); background: var(--white); }
.field textarea { resize: vertical; min-height: 110px; }
.seg { display: flex; gap: 10px; }
.seg label { flex: 1; cursor: pointer; margin: 0; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 12px; border: 1.5px solid rgba(29,82,54,0.14); border-radius: 12px; font-weight: 500; font-size: 0.92rem; transition: 0.25s; }
.seg input:checked + span { border-color: var(--green-500); background: rgba(47,138,85,0.1); color: var(--green-700); font-weight: 600; }
.form-done { text-align: center; padding: 34px 10px; }
.form-done-ic { width: 66px; height: 66px; border-radius: 50%; background: rgba(47,138,85,0.15); color: var(--green-600); display: grid; place-items: center; margin: 0 auto 18px; font-size: 1.9rem; font-weight: 700; }
.form-done h3 { font-family: 'Sora', sans-serif; font-size: 1.4rem; margin-bottom: 10px; }
.form-done p { color: var(--ink-soft); }
.form-note { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: rgba(199, 84, 80, 0.1); color: #9a3b38; font-size: 0.9rem; }

/* ---------- Service area chips ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 840px; margin: 0 auto; }
.area-chips span { background: var(--white); border: 1px solid rgba(29,82,54,0.12); color: var(--green-800); padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: 0.95rem; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.area-chips span:hover { transform: translateY(-3px); background: rgba(47,138,85,0.08); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 760px; }
.faq details { background: var(--white); border-radius: var(--radius-sm); padding: 4px 24px; box-shadow: var(--shadow-sm); border: 1px solid rgba(29,82,54,0.05); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--green-600); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-soft); padding-bottom: 22px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 60px 0 40px; text-align: center; position: relative; }
.page-hero h1 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); margin-bottom: 18px; max-width: 18ch; margin-inline: auto; }
.page-hero p { color: var(--ink-soft); font-size: 1.12rem; max-width: 56ch; margin: 0 auto 26px; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 20px; }
.breadcrumb a { color: var(--green-600); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,0.75); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 44px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.94rem; max-width: 30ch; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; font-family: 'Sora', sans-serif; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.72); font-size: 0.94rem; margin-bottom: 11px; transition: color 0.25s; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 0.86rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom .credit a { color: var(--lime); font-weight: 600; }
.footer-bottom .credit a:hover { text-decoration: underline; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--lime); }

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 200;
  width: min(420px, calc(100% - 48px));
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 30px 70px -20px rgba(16,38,26,0.55);
  border: 1px solid rgba(29,82,54,0.08);
  padding: 26px 26px 24px; transform: translateY(140%);
  transition: transform 0.5s var(--ease); opacity: 0;
}
.cookie-banner.show { transform: none; opacity: 1; }
.cookie-banner .ck-ic { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--green-500), var(--green-600)); display: grid; place-items: center; margin-bottom: 14px; }
.cookie-banner h4 { font-family: 'Sora', sans-serif; font-size: 1.12rem; margin-bottom: 8px; }
.cookie-banner p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 18px; }
.cookie-banner p a { color: var(--green-600); font-weight: 600; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 12px 22px; font-size: 0.9rem; flex: 1; justify-content: center; }
.cookie-actions .btn-text { background: none; color: var(--ink-soft); font-weight: 600; padding: 12px 10px; border: none; cursor: pointer; font-family: inherit; font-size: 0.9rem; }
.cookie-actions .btn-text:hover { color: var(--green-700); }

/* ---------- Legal / privacy page ---------- */
.legal { padding: 40px 0 96px; }
.legal-wrap { width: min(100% - 48px, 820px); margin-inline: auto; }
.legal-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 54px clamp(24px, 5vw, 60px); border: 1px solid rgba(29,82,54,0.05); }
.legal-card h2 { font-size: 1.5rem; margin: 40px 0 14px; color: var(--green-800); }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal-card p, .legal-card li { color: var(--ink-soft); font-size: 1rem; margin-bottom: 12px; }
.legal-card ul { padding-left: 22px; margin-bottom: 12px; }
.legal-card li { margin-bottom: 8px; }
.legal-card a { color: var(--green-600); font-weight: 500; text-decoration: underline; }
.legal-card strong { color: var(--ink); }
.legal-updated { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 34px; padding-bottom: 22px; border-bottom: 1px solid rgba(29,82,54,0.1); }
.legal-info-box { background: var(--sand); border-radius: var(--radius-sm); padding: 22px 26px; margin: 8px 0 20px; }
.legal-info-box p { margin-bottom: 6px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 0.94rem; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(29,82,54,0.1); vertical-align: top; }
.legal-table th { font-family: 'Sora', sans-serif; color: var(--green-800); background: var(--sand); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-media { order: 0; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-phone { display: none; }
  .menu-toggle { display: block; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards, .stat-band .wrap, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .stat-band .st:not(:last-child)::after { display: none; }
  .quote-band { padding: 50px 24px; }
  .form-card { padding: 26px; }
  section.pad { padding: 66px 0; }
  /* Header fits neatly next to the logo + menu button */
  .nav { height: 68px; }
  .brand img { height: 38px; }
  .nav-cta .btn-primary { padding: 9px 15px; font-size: 0.82rem; }
}
