/*! CSS RESET & BASELINE */
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;
}
html {
  font-size: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  background: #f5f3ee;
}
body {
  background: #f4f1ea url('../assets/textures/leaf-bg.png') repeat;
  color: #21243b;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  font-weight: 400;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
a {
  color: #3587A4;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #23625c;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
  background: transparent;
  margin: 0;
  padding: 0;
}

/* BRAND FONTS & HEADINGS */
h1, h2, h3, h4 {
  color: #21243b;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.125rem;
  color: #37724b;
  margin-bottom: 24px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
p {
  margin-bottom: 16px;
}

/* CONTAINER & SECTIONS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255,255,255,0.88);
  border-radius: 36px;
  box-shadow: 0 4px 32px rgba(50, 75, 43, 0.07);
}
@media (max-width: 768px) {
  .section, section {
    padding: 24px 8px;
    border-radius: 22px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 10px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* MAIN NAV & HEADER */
header {
  width: 100%;
  background: #e8e3d0 url('../assets/textures/nature-paper.png') repeat;
  box-shadow: 0 2px 18px rgba(68,112,111,0.07);
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 200;
  padding: 0 0 0 0;
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.main-navigation a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #37724b;
  padding: 10px 12px;
  border-radius: 16px;
  transition: background 0.18s, color 0.18s;
  font-weight: 600;
}
.main-navigation a:hover, .main-navigation a:focus {
  background: #e2efdb;
  color: #184032;
}
.main-navigation img {
  width: 150px;
  margin-right: 8px;
  border-radius: 0;
  background: transparent;
}
.cta-primary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 12px 30px;
  background: #37724b;
  color: #fff !important;
  border-radius: 25px 18px 31px 26px / 21px 30px 19px 33px;
  box-shadow: 0 3px 13px rgba(85,131,68,0.08);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.25s, transform 0.22s;
  margin-left: 32px;
  display: inline-block;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: #27784a;
  color: #fff !important;
  transform: translateY(-2px) scale(1.04);
  text-decoration: none;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2em;
  color: #37724b;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  z-index: 201;
  transition: color 0.22s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #184032;
}
@media (max-width: 950px) {
  .main-navigation {
    gap: 9px;
  }
  .main-navigation a {
    font-size: 0.98rem;
    padding: 7px 6px;
  }
}
@media (max-width: 770px) {
  .main-navigation {
    display: none !important;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(221, 237, 200, 0.91);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.68,0,-0.27,1.32);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #37724b;
  color: #fff;
  font-size: 2.1rem;
  border-radius: 30px;
  border: none;
  padding: 8px 22px 8px 16px;
  margin: 32px 22px 0 0;
  cursor: pointer;
  box-shadow: 0 2px 9px rgba(85,131,68,0.12);
  transition: background 0.20s;
  z-index: 10001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #23625c;
}
.mobile-nav {
  width: 100vw;
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.14rem;
  color: #184032;
  padding: 18px 28px;
  width: 100%;
  border-radius: 0 18px 18px 0;
  transition: background 0.14s, color 0.13s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #cff0c2;
  color: #37724b;
}
@media (max-width: 450px) {
  .mobile-nav a {
    padding: 16px 14px;
    font-size: 1.04rem;
  }
}

/* HERO SECTIONS */
.hero {
  background: #e8f7dc url('../assets/textures/grain-bg.png') repeat fixed;
  border-radius: 42px;
  margin-bottom: 60px;
  min-height: 270px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  color: #184032;
  font-size: 2.8rem;
}
.hero .subheadline {
  max-width: 660px;
}
.hero .cta-primary {
  margin-left: 0;
}
@media (max-width: 900px) {
  .hero {
    border-radius: 28px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
}
@media (max-width: 768px) {
  .hero {
    min-height: 160px;
    padding: 20px 0;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}

/* FEATURE GRID / FLEX SECTIONS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fcfcf7;
  border-radius: 31px 25px 24px 37px;
  box-shadow: 0 2px 15px rgba(56,103,74,0.07);
  padding: 28px 24px 18px 22px;
  min-width: 210px;
  flex: 1 1 250px;
  transition: box-shadow 0.2s, transform 0.22s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 38px;
  height: 38px;
}
.feature-item h3 {
  color: #37724b;
}
.feature-item:hover {
  box-shadow: 0 8px 32px rgba(56,103,74,0.13);
  background: #f4f9ee;
  transform: translateY(-3px) scale(1.03);
}
/* Service Item Cards */
.service-list li {
  background: #f3f7f2;
  margin-bottom: 20px;
  padding: 22px 20px 20px 20px;
  border-radius: 27px 20px 35px 18px;
  box-shadow: 0 2px 13px rgba(75,87,54,0.07);
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: box-shadow 0.22s, background 0.20s;
  position: relative;
}
.service-list li:hover {
  background: #e7f5de;
  box-shadow: 0 7px 24px rgba(56,103,74,0.12);
}
.service-list .pricing {
  color: #37724b;
  background: #e6eccb;
  font-weight: 700;
  border-radius: 17px;
  display: inline-block;
  padding: 8px 16px;
  letter-spacing: 0.03em;
  margin-top: 6px;
  font-size: 1rem;
}

/* CARD, CARD CONTAINER & FLEX HELPERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fcfcf7;
  border-radius: 28px;
  box-shadow: 0 2px 13px rgba(75,87,54,0.07);
  padding: 24px 20px;
  flex: 1 1 300px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.17s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover {
  box-shadow: 0 8px 30px rgba(56,103,74,0.125);
  transform: translateY(-2px) scale(1.03);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
/* key topics grid (e.g., weltraum) */
.key-topics-grid, .timeline, .innovation-highlights, .innovations {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0 12px 0;
  align-items: flex-start;
}
.key-topics-grid > div, .timeline > div, .innovation-highlights ul li, .innovations ul li {
  background: #e6eccb;
  color: #295b3f;
  border-radius: 18px 22px 20px 13px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0 !important;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  /* Use responsive direction in media queries below */
}
@media (max-width: 768px) {
  .feature-grid, .card-container, .content-grid,
  .key-topics-grid, .timeline, .innovation-highlights, .innovations {
    flex-direction: column !important;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px !important;
  }
}
/*.content-grid children will autowrap; ensure minimum gap */
.content-grid > * {
  min-width: 220px;
  flex: 1 1 250px;
}

/* TESTIMONIALS */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 33px 22px 25px 38px;
  box-shadow: 0 2px 16px rgba(48,80,45,0.085);
  min-width: 220px;
  max-width: 390px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(50,72,38,0.13);
  transform: translateY(-4px) scale(1.03);
}
.testimonial-card blockquote {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #26411e;
  line-height: 1.5;
  margin-bottom: 7px;
  background: linear-gradient(92deg, #fcfcf7 90%, #e6eccb 100%);
  border-left: 4px solid #37724b;
  padding-left: 12px;
  border-radius: 12px;
  margin: 0;
}
.testimonial-meta span {
  color: #37724b;
  font-size: 0.98rem;
  font-weight: 600;
  font-family: 'Roboto', Arial, sans-serif;
  background: #e6eccb;
  border-radius: 10px;
  padding: 5px 12px;
}
@media (max-width: 780px) {
  .testimonials {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
}

/* TEXT SECTION, ABOUT, THANK YOU */
.text-section {
  margin-bottom: 18px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #244124;
  background: #f3f7f2;
  padding: 18px 20px;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(100,104,82,0.036);
}
@media (max-width: 768px) {
  .text-section {
    padding: 12px 8px;
    font-size: 1rem;
  }
}

/* FOOTER */
footer {
  background: #e8e3d0 url('../assets/textures/nature-paper.png') repeat;
  padding: 0;
}
.footer-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 38px 20px 20px 20px;
  border-radius: 36px 36px 0 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-wrapper a img {
  width: 53px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.footer-nav a {
  color: #37724b;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.15s;
  border-radius: 9px;
  padding: 4px 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #184032;
  background: #e6eccb;
}
.footer-contact {
  color: #244124;
  font-size: 0.96rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 8px;
  word-break: break-word;
}
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 26px 10px 14px 10px;
  }
}

/* Miscellaneous Lists */
ul, ol {
  margin-bottom: 14px;
  padding-left: 17px;
}
ul li, ol li {
  margin-bottom: 9px;
  color: #295b3f;
  line-height: 1.55;
}

/* BUTTONS */
button, .btn, .cta-primary {
  cursor: pointer;
  border: none;
  outline: none;
  appearance: none;
  font-family: inherit;
  font-size: 1em;
}
.btn, .cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 24px;
  margin-top: 10px;
  background: #37724b;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.21s, transform 0.17s, color 0.14s;
  box-shadow: 0 2px 8px rgba(61,90,46,0.07);
}
.btn:hover, .btn:focus, .cta-primary:hover, .cta-primary:focus {
  background: #27784a;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #244124;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  z-index: 99990;
  box-shadow: 0 -7px 42px rgba(85,131,68,0.18);
  border-radius: 22px 22px 0 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
  transition: opacity 0.19s, transform 0.25s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner__text {
  flex: 1;
  margin-right: 30px;
  font-size: 1rem;
  color: #fff;
  line-height: 1.55;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  padding: 8px 18px;
  border-radius: 18px;
  background: #ffcf59;
  color: #37724b;
  font-weight: 700;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 0;
  box-shadow: 0 1px 7px rgba(85,131,68,0.09);
  transition: background 0.15s, color 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #ffeeb4;
  color: #184032;
}
.cookie-btn.secondary {
  background: #e6eccb;
  color: #295b3f;
  font-weight: 600;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #d5e6b2;
}
.cookie-btn.tertiary {
  background: #f4f1ea;
  color: #446a37;
  font-weight: 500;
}
.cookie-btn.tertiary:hover, .cookie-btn.tertiary:focus {
  background: #e5e0ce;
}
@media (max-width: 700px) {
  .cookie-banner {
    padding: 16px 9px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .cookie-banner__text {
    margin-right: 0;
  }
}

/* COOKIE CONSENT MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33, 36, 59, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__dialog {
  background: #f3f7f2;
  border-radius: 36px;
  max-width: 98vw;
  width: 400px;
  padding: 36px 32px 32px 32px;
  box-shadow: 0 8px 52px rgba(85,131,68,0.27);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 8px;
  right: 16px;
  background: #37724b;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.1s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #184032;
}
.cookie-modal__title {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #244124;
  margin-bottom: 6px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal__category {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cookie-modal__category label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #244124;
  margin-left: 7px;
}
.cookie-toggle {
  width: 32px;
  height: 18px;
  border-radius: 14px;
  background: #e6eccb;
  margin-right: 12px;
  position: relative;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  appearance: none;
  outline: none;
  vertical-align: middle;
  display: inline-block;
}
.cookie-toggle:checked {
  background: #3587A4;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left 0.2s;
  box-shadow: 0 1px 3px rgba(120,120,120,0.085);
}
.cookie-toggle:checked:before {
  left: 16px;
}
.cookie-category-desc {
  font-size: 0.96rem;
  color: #295b3f;
  margin-left: 7px;
  opacity: 0.85;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 8px;
}
@media (max-width: 450px) {
  .cookie-modal__dialog {
    padding: 18px 5vw 18px 5vw;
  }
}

/* RESPONSIVENESS */
@media (max-width: 1200px) {
  .container, .footer-wrapper {
    max-width: 98vw;
  }
}
@media (max-width: 950px) {
  .feature-item, .card {
    min-width: 150px;
    flex: 1 1 180px;
    font-size: 0.97rem;
    padding: 14px 10px;
  }
  .service-list li {
    padding: 14px 10px;
    font-size: 0.99rem;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 0;
    padding-right: 0;
  }
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1rem; }
  .footer-wrapper { padding-left: 2vw; padding-right: 2vw; }
}

/* MICRO-INTERACTIONS */
.cta-primary, .btn, .mobile-menu-close, .cookie-btn, .cookie-modal__close {
  transition: background 0.18s, color 0.11s, box-shadow 0.17s, transform 0.15s;
}
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.17s, background 0.12s, transform 0.18s;
}
@media (hover: hover) {
  .cta-primary:active, .btn:active { transform: scale(0.98); }
  .card:active, .feature-item:active, .testimonial-card:active { transform: scale(0.98); }
}

/* ORGANIC DECOR SHAPES (OPTIONAL) */
.hero, .section {
  /* Random organic shape shadows for earth/nature vibe */
  box-shadow: 0 4px 32px rgba(87, 120, 76, 0.07), 0 0px 0px 0 #fff;
}

/* FORM ELEMENTS */
input, textarea, select {
  border-radius: 9px;
  border: 1px solid #e6eccb;
  padding: 12px 13px;
  font-size: 1rem;
  background: #fcfcf7;
  transition: border 0.12s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #37724b;
}

/* UTILITIES */
.mb-24 {
  margin-bottom: 24px !important;
}
.pt-24 {
  padding-top: 24px !important;
}
@media (max-width: 768px) {
  .mb-24 { margin-bottom: 14px !important; }
  .pt-24 { padding-top: 14px !important; }
}

/* PRINT FRIENDLY */
@media print {
  nav, .main-navigation, .footer-wrapper, .mobile-menu, .cookie-banner {
    display: none !important;
  }
  section, .container, .text-section, .card, .testimonial-card {
    box-shadow: none !important;
    background: #fff !important;
  }
}
