/* 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,
main, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F8F8F3;
  color: #24462b;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
}

/* VARIABLES with fallbacks */
:root {
  --primary: #22643A;
  --primary-light: #86B799;
  --secondary: #7DBF42;
  --secondary-light: #D3ECBA;
  --accent: #F8F8F3;
  --pastel-blue: #DDEAF6;
  --pastel-yellow: #FFF9D6;
  --pastel-pink: #FDE8E4;
  --pastel-green: #E3F4DE;
  --neutral: #fff;
  --heading-font: "Montserrat", Arial, sans-serif;
  --body-font: "Roboto", Arial, sans-serif;
  --shadow-card: 0 4px 16px 0 rgba(34, 100, 58, 0.07);
  --shadow-card-hover: 0 8px 24px 0 rgba(34, 100, 58, 0.17);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
}

/* TYPOGRAPHY */
body {
  font-family: var(--body-font);
  font-size: 16px;
  background: var(--accent);
  color: #24462b;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }

p, ul, ol, li, span, label {
  font-family: var(--body-font);
  color: #24462b;
  font-size: 1rem;
}
.subheadline {
  font-size: 1.15rem;
  color: var(--primary-light);
  margin-bottom: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
}
strong { font-weight: 700; }
em, i { font-style: italic; }

/* LINKS & BUTTONS */
a, .btn-primary, .btn-secondary {
  cursor: pointer;
}
nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: var(--secondary-light);
  color: var(--primary);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 11px 36px;
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: var(--shadow-card);
  transition: background 0.25s, box-shadow 0.25s, transform 0.22s;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px) scale(1.04);
}


.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--secondary);
  padding: 9px 22px;
  border-radius: var(--radius-lg);
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.19s, background 0.21s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary-light);
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
  color: var(--primary);
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  padding: 0;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  transition: box-shadow 0.23s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe7;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 520px;
  color: #24462b;
}
.testimonial-card p {
  color: #2b3c2a;
  font-size: 1.05rem;
}
.testimonial-card span {
  font-family: var(--heading-font);
  font-size: 0.95rem;
  color: var(--primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: linear-gradient(90deg, var(--pastel-green) 0%, var(--pastel-blue) 100%);
  box-shadow: 0 2px 18px 0 rgba(80,150,110,0.08);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo img {
  height: 48px;
}
nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
header .btn-primary {
  margin-left: 24px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 300;
  padding: 9px 10px;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, var(--pastel-blue) 70%, var(--pastel-pink) 100%);
  box-shadow: -2px 0 18px 0 rgba(80,150,110,0.10);
  z-index: 350;
  transition: transform 0.3s cubic-bezier(.77,0,.175,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 34px 26px 0 26px;
}
.mobile-menu.active {
  transform: translateX(-100vw);
  left: 0;
}
.mobile-menu .mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.2rem;
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 500;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 44px;
  width: 100%;
}
.mobile-nav a {
  padding: 16px 0;
  color: var(--primary);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.25rem;
  border-bottom: 1px solid #e9e9e2;
  transition: background 0.15s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary-light);
  color: var(--primary);
}

/* MAIN & SECTIONS */
main {
  width: 100%;
  min-height: 60vh;
}
section {
  width: 100%;
  background: none;
}

/* Feature Grid */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 22px;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: var(--pastel-green);
  border-radius: var(--radius);
  padding: 28px 20px 22px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.18s;
  min-width: 220px;
  max-width: 350px;
  margin-bottom: 18px;
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.feature-grid img {
  width: 42px;
  margin-bottom: 8px;
}

/* Service Teasers & Lists */
.service-teaser-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0 34px 0;
  justify-content: flex-start;
}
.service-teaser {
  background: var(--pastel-yellow);
  border-radius: var(--radius);
  padding: 22px 18px;
  min-width: 200px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.17s, transform 0.18s;
}
.service-teaser:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px) scale(1.01);
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 18px 0 32px 0;
  justify-content: flex-start;
}
.service-detail {
  background: var(--pastel-blue);
  border-radius: var(--radius);
  padding: 22px 18px;
  min-width: 200px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.17s, transform 0.18s;
}
.service-detail:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px) scale(1.01);
}

/* PROJECT OVERVIEW */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 24px 0 12px 0;
  align-items: flex-start;
}
.project-overview {
  background: var(--pastel-green);
  border-radius: var(--radius);
  padding: 22px 18px;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.17s, transform 0.18s;
}
.project-overview:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px) scale(1.01);
}
.project-highlights {
  background: var(--pastel-yellow);
  border-radius: var(--radius);
  padding: 19px 16px;
  min-width: 220px;
  flex: 2 1 260px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  font-size: 1.01rem;
}

/* WORKSHOP OVERVIEW */
.workshop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 18px 0 28px 0;
}
.workshop-overview {
  background: var(--pastel-pink);
  border-radius: var(--radius);
  padding: 18px 14px;
  min-width: 200px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.17s, transform 0.18s;
}
.workshop-overview:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px) scale(1.01);
}
.date-grid {
  display: flex;
  gap: 14px;
  margin: 10px 0 22px 0;
  flex-wrap: wrap;
}

/* BLOG */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.blog-post-grid > div {
  background: var(--pastel-blue);
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  min-width: 220px;
  flex: 1 1 240px;
  box-shadow: var(--shadow-card);
  margin-bottom: 12px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.blog-post-grid > div:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: var(--primary-light);
  font-size: 0.98rem;
}
.category-filter a {
  color: var(--secondary);
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 2px 10px;
  transition: background 0.2s, color 0.17s;
}
.category-filter a:hover {
  color: #fff;
  background: var(--primary);
}

/* TIMELINE */
.timeline ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.timeline li {
  padding-left: 14px;
  position: relative;
  color: var(--primary);
  font-family: var(--body-font);
  font-size: 1rem;
}
.timeline li:before {
  content: '';
  position: absolute;
  left: 0; top: 0.8em;
  width: 5px; height: 5px;
  background: var(--secondary);
  border-radius: 50%;
}

/* TEXT SECTIONS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 16px 0;
  color: #264021;
  font-size: 1.04rem;
}
.text-section img {
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

/* TESTIMONIAL SLIDER (basic hor. scroll for touch)*/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 7px;
}

/* FOOTER */
footer {
  width: 100%;
  background: linear-gradient(92deg, var(--pastel-green) 0%, var(--pastel-blue) 100%);
  padding: 34px 0 16px 0;
  font-size: 1rem;
  margin-top: 60px;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--primary);
  font-size: 0.96rem;
  padding: 5px 10px;
}
footer nav a:hover {
  color: var(--secondary);
  background: #fff;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.97rem;
  color: var(--primary);
  font-family: var(--body-font);
}
.contact-info img {
  width: 36px;
  margin-bottom: 7px;
}
.social-links {
  display: flex;
  gap: 11px;
  align-items: center;
}
.social-links a img {
  width: 28px;
  height: 28px;
  border-radius: 44%;
  transition: box-shadow 0.19s;
  background: #fff;
  box-shadow: 0 1.5px 5px 0 rgba(147,185,106,0.13);
}
.social-links a:hover img {
  box-shadow: 0 5px 17px 0 rgba(147,185,106,0.19);
  background: var(--accent);
}

/* COOKIE CONSENT BANNER (& MODAL) */
.cookie-banner {
  position: fixed;
  z-index: 2000;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #fffbe7 60%, #f2f7e6 100%);
  color: #294a2b;
  box-shadow: 0 -2px 16px 0 rgba(60,110,80,0.10);
  padding: 22px 20px 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  animation: bannerPopIn 0.45s cubic-bezier(.52,.01,.42,1.25);
}
@keyframes bannerPopIn {
  0% { opacity: 0; transform: translateY(120px); }
  100% { opacity: 1; transform: none; }
}
.cookie-banner .cookie-btn {
  margin: 0 8px 5px 0;
  min-width: 120px;
}
.cookie-btn-accept {
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 4px;
  transition: background 0.17s;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: var(--primary);
}
.cookie-btn-reject {
  background: #fff;
  color: var(--primary);
  border: 1.6px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  font-size: 1rem;
  margin-right: 6px;
  font-weight: 500;
  transition: background 0.17s, color 0.16s, border-color 0.16s;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: var(--pastel-yellow);
  color: var(--primary);
  border-color: var(--secondary);
}
.cookie-btn-settings {
  background: var(--pastel-blue);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-size: 0.99rem;
  font-weight: 500;
  transition: background 0.17s, color 0.15s;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: var(--secondary-light);
  color: var(--primary);
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  z-index: 2100;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(60,75,70,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  animation: modalFadeIn 0.36s cubic-bezier(.44,.01,.42,1);
}
@keyframes modalFadeIn {
  0% { opacity: 0; }
  100% { opacity:1; }
}
.cookie-modal-content {
  background: linear-gradient(125deg, #F8F8F3 86%, #E3F4DE 100% );
  box-shadow: 0 8px 36px 0 rgba(56,110,60,0.15);
  border-radius: var(--radius-lg);
  padding: 38px 30px 28px 30px;
  min-width: 320px;
  max-width: 99vw;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1.06rem;
  position: relative;
  animation: popupIn 0.4s cubic-bezier(.51,.23,.31,1.09);
}
@keyframes popupIn {
  0% { transform: scale(0.87); opacity:0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  margin-top: 0;
  color: var(--primary);
  font-family: var(--heading-font);
  font-size: 1.4rem;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
}
.cookie-toggle {
  width: 34px;
  height: 20px;
  background: var(--pastel-blue);
  border-radius: 9px;
  border: 1.1px solid #e3e3e2;
  position: relative;
  cursor: pointer;
  transition: background 0.2s, border-color 0.18s;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--secondary);
  border-color: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.21s cubic-bezier(.64,.01,.42,.98), box-shadow 0.17s;
  box-shadow: 0 1px 5px 0 rgba(70,110,60,0.08);
}
.cookie-toggle[aria-checked="true"]:before {
  left: 17px;
  background: #fff;
}
.cookie-modal-close {
  position: absolute; right: 17px; top: 12px;
  background: none; border: none;
  font-size: 1.9rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 20;
}

/* ANIMATIONS */
.btn-primary, .btn-secondary,
nav a, .feature-grid > div, .card, .service-detail, .service-teaser, .project-overview, .workshop-overview {
  transition-property: box-shadow, background, color, transform;
  transition-duration: 0.22s;
  transition-timing-function: cubic-bezier(.47,.1,.4,1.24);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 940px;
  }
  .feature-grid > div, .project-overview{
    min-width: 180px;
    max-width: 310px;
  }
}
@media (max-width: 900px) {
  .footer .container, .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .feature-grid, .service-teaser-list, .service-list, .blog-post-grid, .project-list, .workshop-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header .container {
    height: 64px;
  }
  nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 14px;
    right: 6vw;
    z-index: 300;
  }
  .mobile-menu {
    left: 0;
    transform: translateX(100vw);
  }
  .mobile-menu.active {
    transform: translateX(0);
    left: 0;
  }
  .feature-grid, .service-teaser-list, .service-list, .blog-post-grid, .project-list, .workshop-list, .testimonial-slider {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .feature-grid > div, .service-detail, .service-teaser, .project-overview, .workshop-overview, .project-highlights, .blog-post-grid > div {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin-bottom: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .section {
    margin-bottom: 36px;
    padding: 28px 8px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.09rem; }
}
@media (max-width: 560px) {
  .container, .footer .container {
    padding: 0 3vw;
  }
  .section {
    padding: 18px 2vw;
  }
  .card, .feature-grid > div, .service-detail, .service-teaser, .project-overview, .workshop-overview, .project-highlights, .blog-post-grid > div {
    padding: 16px 9px;
  }
  .cookie-modal-content {
    min-width: 92vw;
    padding: 21px 4vw 18px 5vw;
  }
}

@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* SPECIAL: Text-Image Flex Responsive */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* SPACING & CARD/SECTION GAPS */
.card, .service-detail, .service-teaser, .project-overview, .workshop-overview, .blog-post-grid > div {
  margin-bottom: 20px;
}
.feature-grid > div, .project-overview, .project-highlights,
.service-detail, .service-teaser, .workshop-overview, .blog-post-grid > div {
  margin-bottom: 18px;
}
.testimonial-card { margin-bottom: 20px; }
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
