/* CSS RESET & NORMALIZE */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #F9FAF5;
  color: #263F30;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 24px;
}
a {
  color: #1A5E3B;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #E2B522;
  outline: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A5E3B;
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: 12px;
}
h1 {font-size: 2.5rem; margin-bottom: 18px;}
h2 {font-size: 2rem; margin-bottom: 16px;}
h3 {font-size: 1.25rem; margin-bottom: 12px;}
h4 {font-size: 1.125rem;}
.subheadline {
  font-size: 1.25rem;
  color: #5D8D3C;
  margin-bottom: 24px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}
p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: #263F30;
}
strong {font-weight: 700; color: #1A5E3B;}

/* =============== LAYOUT & GRID =============== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(40,60,30, .06);
  padding: 32px 24px;
  margin-bottom: 30px;
  width: 100%;
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(40,60,30,.07);
  padding: 28px 20px;
  min-width: 240px;
  flex: 1 1 260px;
  transition: box-shadow .22s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(26,94,59,0.14);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-grid, .service-list, .service-teaser-grid, .knowledge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid > div, .service-list > div, .service-teaser-grid > div, .knowledge-list > article {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 1px 10px rgba(40,60,30, .06);
  flex: 1 1 285px;
  padding: 26px 18px 20px 18px;
  min-width: 230px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.19s;
}
.feature-grid > div:hover, .service-list > div:hover, .knowledge-list > article:hover {
  box-shadow: 0 4px 24px rgba(26,94,59,0.10);
  transform: translateY(-3px) scale(1.01);
}
.feature-grid img, .service-list img {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #E2F12222;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(226,241,34,0.11);
}

.service-list a, .service-teaser-grid a {
  margin-top: 10px;
  color: #1A5E3B;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 16px;
  background: #E2F122;
  display: inline-block;
  padding: 8px 20px;
  box-shadow: 0 1px 6px rgba(226,241,34,0.10);
  transition: background .19s, color .18s, box-shadow .19s;
}
.service-list a:hover, .service-teaser-grid a:hover {
  background: #C8DA16;
  color: #14502C;
  box-shadow: 0 3px 16px rgba(226,241,34,0.18);
}

.price {
  display: inline-block;
  background: #F6FAE7;
  color: #1A5E3B;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  padding: 4px 12px;
  margin-top: 8px;
  margin-bottom: 0;
}

.map-location {
  margin: 18px 0 14px 0;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.accordion > div {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(40,60,30, .07);
  padding: 18px 16px;
  margin-bottom: 0;
  transition: box-shadow .18s;
}
.accordion > div:hover {
  box-shadow: 0 4px 20px rgba(26,94,59,0.10);
}

/********** NAVIGATION **********/
header {
  width: 100%;
  background: #FFF;
  box-shadow: 0 2px 14px rgba(40,60,30, .04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
  min-height: 66px;
}
header img {
  height: 38px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A5E3B;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 14px;
  padding: 7px 16px;
  transition: background .15s, color .18s;
  margin-bottom: 0;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #E2F122;
  color: #263F30;
}
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.06rem;
  color: #1A5E3B;
  background: #E2F122;
  border: none;
  padding: 10px 28px;
  border-radius: 22px;
  margin-left: 16px;
  box-shadow: 0 2px 16px rgba(226,241,34, 0.09);
  transition: background .18s, color .18s, box-shadow .19s, transform .14s;
  text-align: center;
}
.cta-button:hover,
.cta-button:focus {
  background: #C8DA16;
  color: #14502C;
  box-shadow: 0 3px 16px rgba(226,241,34,0.18);
  transform: translateY(-2px) scale(1.03);
}

/********** MOBILE NAVIGATION **********/
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #1A5E3B;
  padding: 10px 16px 10px 8px;
  border-radius: 16px;
  background: #E2F122;
  border: none;
  margin-left: 8px;
  transition: background .17s, color .16s;
  z-index: 51;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #C8DA16;
  color: #14502C;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(242, 246, 213, 0.97);
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.77,0,.175,1);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 44px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 20px;
  top: 22px;
  font-size: 2rem;
  color: #1A5E3B;
  background: #E2F122;
  border-radius: 16px;
  width: 40px; height: 40px;
  display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(226,241,34, 0.12);
  transition: background .17s, color .16s;
  z-index: 82;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #C8DA16;
  color: #14502C;
}
.mobile-nav {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 0 30px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A5E3B;
  font-weight: 600;
  font-size: 1.15rem;
  border-radius: 14px;
  padding: 12px 0 12px 10px;
  width: 100%;
  background: none;
  transition: background .13s, color .16s;
  margin-bottom: 0;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #E2F122;
  color: #14502C;
}

@media (max-width:1100px) {
  .main-nav a { font-size: .98rem; padding: 7px 12px;}
  .cta-button { font-size: .98rem; }
}
@media (max-width: 900px) {
  header .container {
    padding: 10px 8px;
  }
}
@media (max-width: 840px) {
  .main-nav { gap: 14px; }
  .cta-button{ margin-left: 5px;}
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* -------- mobile menu above 768px disables ------ */
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/************ MAIN ************/
main {
  min-height: 60vh;
  padding-bottom: 64px;
  background: #F9FAF5;
}

/********* TESTIMONIALS *********/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(40,60,30, .09);
  min-width: 220px;
  max-width: 420px;
  flex: 1 1 285px;
  margin-bottom: 20px;
  transition: box-shadow .19s, transform .19s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 32px rgba(26,94,59,0.11);
  transform: translateY(-2px);
}
.testimonial-card p {
  color: #263F30;
  font-size: 1.10rem;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-footer {
  color: #1A5E3B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 9px;
}
.stars {
  color: #E2F122;
  margin-left: 6px;
  font-size: 1.19em;
}

/********* FOOTER *********/
footer {
  background: #1A5E3B;
  color: #FFF;
  padding: 46px 0 26px 0;
  margin-top: 70px;
  font-size: 1rem;
}
footer .container {
  gap: 22px;
}
.footer-nav, .footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.footer-nav a, .footer-legal-nav a {
  color: #FFF;
  padding: 7px 12px;
  margin-bottom: 0;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background .13s, color .16s;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-legal-nav a:hover {
  background: #E2F122;
  color: #1A5E3B;
}

.footer-contact {
  color: #FFF;
  margin: 13px 0 12px 0;
  font-size: 0.97rem;
}
.footer-social {
  margin-top: 10px;
  display: flex; align-items: center; gap: 15px;
}
.footer-social img {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: #FFF;
  box-shadow: 0 1px 7px rgba(180,210,180,0.10);
}
.footer-brand img {
  margin-top: 24px;
  max-height: 36px;
  border-radius: 10px;
}

/************ COOKIE CONSENT BANNER ************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFF9E6;
  box-shadow: 0 -2px 22px rgba(238,214,75,0.16);
  border-radius: 20px 20px 0 0;
  z-index: 99;
  padding: 20px 16px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  min-width: 260px;
  max-width: 480px;
  margin: auto;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .43s cubic-bezier(.57,0,.445,1), opacity .3s;
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  color: #263F30;
  margin-bottom: 0;
  font-size: 1rem;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  width: 100%;
}
.cookie-btn {
  border: none;
  outline: none;
  border-radius: 16px;
  font-size: 0.99rem;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  background: #E2F122;
  color: #1A5E3B;
  box-shadow: 0 1px 8px rgba(226,241,34,0.08);
  transition: background .15s, color .13s, transform .11s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #C8DA16;
  color: #14502C;
  transform: translateY(-1px) scale(1.012);
}
.cookie-btn.secondary {
  background: #F6FAE7;
  color: #1A5E3B;
  border: 1px solid #E2F122;
}
.cookie-btn.secondary:hover {
  background: #E2F122;
  color: #1A5E3B;
}

/******* COOKIE PREFERENCES MODAL ******/
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34,41,7,.39);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .28s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(155,160,30,.21);
  max-width: 420px;
  width: 96vw;
  padding: 32px 26px 24px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookiePop .39s cubic-bezier(.8,.3,.3,1.4);
}
@keyframes cookiePop {
  0% { opacity: 0; transform: scale(.82) translateY(36px); }
  80% { opacity: 1; transform: scale(1.025) translateY(-7px);}
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-category {
  display: flex;
  flex-direction: column;
  background: #F6FAE7;
  padding: 10px 15px;
  border-radius: 14px;
}
.cookie-category label {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A5E3B;
  font-size: 1.05rem;
  gap: 12px;
  font-weight: 500;
  user-select: none;
}
.cookie-category .cookie-toggle {
  margin-left: auto;
  appearance: none;
  width: 38px;
  height: 22px;
  background: #E2F122;
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  border: none;
  transition: background .15s;
}
.cookie-category .cookie-toggle:checked {
  background: #96C230;
}
.cookie-category .cookie-toggle::before {
  content: '';
  position: absolute;
  top: 3px; left: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #FFF;
  transition: left .18s;
}
.cookie-category .cookie-toggle:checked::before {
  left: 20px;
  background: #FFF;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  right: 18px; top: 13px;
  background: #E2F122;
  color: #1A5E3B;
  border-radius: 10px;
  font-size: 1.3rem;
  border: none;
  width: 32px; height:32px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 7px rgba(226,241,34, 0.13);
  transition: background .13s;
}
.cookie-modal .close-modal-btn:hover { background: #C8DA16; }

/************ RESPONSIVE ************/
@media (max-width: 1200px) {
  .container {
    max-width: 980px;
  }
}
@media (max-width: 980px) {
  .container {
    max-width: 780px;
  }
  .feature-grid>div, .service-list>div, .knowledge-list>article {
    min-width: 200px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.12rem; }
  .footer-contact { font-size: 0.93rem; }
  .container { padding: 0 8px; }
  .section { padding: 32px 6px; }
  .feature-grid, .service-list, .service-teaser-grid, .knowledge-list {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section, .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav, .footer-legal-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-social { margin-top: 4px; }
  .footer-brand img { max-height: 32px; margin-top: 14px; }
}
@media (max-width: 560px) {
  .feature-grid>div, .service-list>div, .card {
    min-width: 160px;
    padding: 18px 8px 12px 8px;
  }
  .testimonial-card { padding: 15px 10px; }
  .text-section { padding: 22px 6px; }
  .cookie-banner { max-width: 96vw; padding: 16px 5vw 12px 5vw; border-radius: 10px 10px 0 0;}
  .cookie-modal { max-width: 98vw; padding: 20px 5vw 16px 5vw; }
}

/********* MICRO-INTERACTIONS *********/
.card, .feature-grid > div, .service-list > div, .service-teaser-grid > div, .testimonial-card, .knowledge-list > article, .accordion > div {
  transition: box-shadow .22s, transform .22s, background .17s;
}
.card:active, .feature-grid > div:active, .service-list > div:active, .testimonial-card:active, .knowledge-list > article:active {
  box-shadow: 0 1px 7px rgba(26,94,59,0.09);
  background: #F7FAEA;
}

input, textarea, select {
  font-family: inherit;
  padding: 9px 14px;
  border-radius: 9px;
  border: 1.5px solid #E2F122;
  margin-bottom: 14px;
  font-size: 1rem;
  color: #1A5E3B;
  box-shadow: 0 1px 4px rgba(226,241,34,0.06);
  transition: border-color .17s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #96C230;
}

/******* GENERAL SPACING ENFORCEMENT *******/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
section:not(:last-child), main > .section:not(:last-child) {
  margin-bottom: 60px !important;
}
/* Consistent margin between cards & major blocks */
section > .container > *:not(:last-child) {
  margin-bottom: 20px;
}

/************ SPECIAL CLASSES ************/
.contact-details {
  background: #F9FBF1;
  padding: 14px 18px;
  border-radius: 12px;
  color: #1A5E3B;
  margin: 18px 0;
  font-size: 1.05rem;
  font-weight: 500;
  box-shadow: 0 1px 8px rgba(40,60,30, .05);
}

@media (max-width:400px) {
  .contact-details { padding: 7px 3vw;font-size: .96rem;}
}

/************ UTILITIES ************/
.d-flex { display: flex !important; }
.align-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.gap-20 { gap: 20px !important; }
.rounded-18 { border-radius: 18px !important; }
.bg-secondary { background: #E2F122 !important; color: #1A5E3B !important; }
.bg-accent { background: #FFF !important; color: #1A5E3B !important; }

/************ HIDE VISUALLY BUT ACCESSIBLE ************/
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
