/* --- CSS Reset & Base Styles --- */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F5F5F5;
  color: #2C3E35;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2C3E35;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem; /* 40px */
}
h2 {
  font-size: 2rem; /* 32px */
}
h3 {
  font-size: 1.25rem; /* 20px */
}
h4, h5, h6 {
  font-size: 1rem; /* 16px */
}
p, li {
  font-size: 1rem;
  margin-bottom: 1em;
  color: #354036;
}
p.subheadline {
  font-size: 1.25rem;
  color: #7FB069;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 24px;
}

strong {
  font-weight: 700;
}
a {
  color: #2C3E35;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #7FB069;
  text-decoration: underline;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 1em;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 6px;
}

/* --- Container & Section Layouts --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(44,62,53,0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
main {
  margin-bottom: 60px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- Header --- */
header {
  background: #F5F5F5;
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #E4E4E4;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}

nav.main-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
nav.main-navigation a {
  position: relative;
  padding: 4px 0;
  color: #2C3E35;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
nav.main-navigation a:hover,
nav.main-navigation a:focus {
  color: #7FB069;
  text-decoration: none;
}

.cta-primary {
  background: #7FB069;
  color: #FFF;
  padding: 12px 28px;
  font-size: 1.125rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 28px;
  font-weight: 700;
  cursor: pointer;
  margin-left: 16px;
  box-shadow: 0 2px 10px 0 rgba(44,62,53,0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.12s;
  display: inline-block;
  text-align: center;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #2C3E35;
  color: #FFF;
  box-shadow: 0 4px 16px 0 rgba(44,62,53,0.16);
  transform: translateY(-2px) scale(1.03);
}

/* --- Mobile Menu --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #2C3E35;
  font-size: 2rem;
  padding: 10px 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  display: none;
  z-index: 110;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #E5EDE4;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,62,53,0.96);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.55,0,.1,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 36px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFF;
  font-size: 2.5rem;
  padding: 8px 16px 8px 24px;
  cursor: pointer;
  margin-bottom: 20px;
  z-index: 2010;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding-left: 32px;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #7FB069;
  color: #2C3E35;
}

/* --- Section & Card Layouts --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 230px;
  min-width: 230px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(44,62,53,0.06);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 24px rgba(127,176,105,0.10);
  transform: translateY(-2px) scale(1.02);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  background: #FFF;
  box-shadow: 0 2px 8px 0 rgba(44,62,53,0.04);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.1s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(44,62,53,0.10);
  transform: translateY(-2px) scale(1.01);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FAFAFA;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px 0 rgba(44,62,53,0.06);
  margin-bottom: 20px;
  flex: 1 1 280px;
  color: #2C3E35;
}
.testimonial-card p {
  color: #2C3E35;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: #7FB069;
  font-size: 1rem;
}
.star-rating {
  color: #FFD600;
  font-size: 1.25rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.recipe-categories li,
.principle-list li {
  margin-bottom: 10px;
  color: #2C3E35;
  letter-spacing: 0.01em;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.article-list li {
  color: #2C3E35;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-list a {
  color: #7FB069;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
.article-list .date {
  color: #BFC7C1;
  font-size: 0.92rem;
}

.category-filter {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 1rem;
}
.category-filter a {
  color: #2C3E35;
  background: #E5EDE4;
  border-radius: 12px;
  padding: 3px 12px;
  margin-right: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.18s;
}
.category-filter a:hover {
  background: #7FB069;
  color: #FFF;
}

.confirmation {
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(44,62,53,0.05);
  padding: 30px 18px;
  align-items: flex-start;
}
.confirmation-nav {
  margin-top: 18px;
  font-size: 1.05rem;
  color: #7FB069;
}
.confirmation-nav a {
  color: #2C3E35;
  margin: 0 4px;
}

/* --- Contact Details --- */
.contact-details p,
.contact-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #2C3E35;
  margin-bottom: 8px;
}
.contact-details img,
.contact-summary img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 0;
  box-shadow: none;
}
.map-embed {
  margin-top: 18px;
  background: #E5EDE4;
  padding: 18px;
  border-radius: 10px;
}

/* --- Footer --- */
footer {
  background: #E5EDE4;
  padding: 38px 0 22px 0;
  border-top: 1px solid #D1DFD2;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-navigation a {
  color: #2C3E35;
  font-size: 1rem;
  font-weight: 500;
  padding: 3px 0;
  border-radius: 2px;
  transition: color 0.18s;
}
.footer-navigation a:hover {
  color: #7FB069;
}

footer img {
  height: 52px;
  margin-bottom: 14px;
}

.contact-summary {
  flex-direction: column;
  gap: 7px;
  font-size: 0.97rem;
  color: #354036;
}

/* --- Buttons & Interactions --- */
button, .cta-primary, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  outline: none;
  border: none;
  transition: background 0.22s, color 0.15s, box-shadow 0.20s, transform 0.10s;
}
button:active, .cta-primary:active {
  transform: scale(0.96);
  box-shadow: none;
}

/* --- Cookie Consent --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF;
  border-top: 1px solid #E5EDE4;
  box-shadow: 0 -2px 16px 0 rgba(44,62,53,0.06);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  z-index: 3000;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s, transform 0.25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__text {
  color: #2C3E35;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  border-radius: 22px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.19s, color 0.14s, transform 0.09s;
}
.cookie-btn.accept {
  background: #7FB069;
  color: #FFF;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #2C3E35;
  color: #FFF;
}
.cookie-btn.reject {
  background: #E5EDE4;
  color: #2C3E35;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #BFC7C1;
  color: #2C3E35;
}
.cookie-btn.settings {
  background: #FFF;
  color: #2C3E35;
  border: 1.2px solid #7FB069;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #F1F7F1;
  color: #7FB069;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 3100;
  background: #FFF;
  border: 1px solid #E5EDE4;
  border-radius: 12px;
  box-shadow: 0 6px 32px 0 rgba(44,62,53,0.12);
  padding: 36px 24px 24px 24px;
  min-width: 332px;
  max-width: 95vw;
  width: 400px;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: opacity 0.23s, transform 0.13s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -45%) scale(0.96);
}
.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-modal__header h3 {
  margin-bottom: 0;
}
.cookie-modal__close {
  background: none;
  border: none;
  color: #2C3E35;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-category label {
  font-weight: 500;
  color: #2C3E35;
  flex: 1;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #7FB069;
}
.cookie-category.essential label {
  color: #7FB069;
}
.cookie-modal__footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 6px;
}

/* --- Responsive Design --- */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .header .container {
    gap: 10px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.08rem; }

  .section {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div,
  .card {
    align-items: flex-start;
  }
  .main-navigation {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-primary {
    font-size: 1rem;
    padding: 11px 18px;
    margin: 0;
    width: 100%;
    text-align: center;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .contact-details img, .contact-summary img {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 560px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  header img {
    height: 38px;
  }
  .section {
    padding: 12px 3px;
    margin-bottom: 32px;
  }
  .cookie-modal {
    min-width: unset;
    width: 95vw;
    padding: 22px 8px 18px 8px;
  }
  .cookie-banner {
    padding: 12px 7px;
    gap: 14px;
  }
  .mobile-nav {
    padding-left: 10px;
  }
  .testimonial-card {
    padding: 12px 7px;
  }
}

/* --- Utility & Micro Interactions --- */
::-webkit-input-placeholder { color: #BFC7C1; }
::-moz-placeholder { color: #BFC7C1; }
:-ms-input-placeholder { color: #BFC7C1; }
::placeholder { color: #BFC7C1; }

input, textarea, select {
  border-radius: 8px;
  border: 1px solid #D1DFD2;
  padding: 12px 10px;
  font-size: 1rem;
  color: #2C3E35;
  background: #FFF;
  transition: border 0.15s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #7FB069;
  outline: none;
}

::-webkit-scrollbar {
  width: 10px;
  background: #F5F5F5;
}
::-webkit-scrollbar-thumb {
  background: #E5EDE4;
  border-radius: 7px;
}

/* --- Animation for mobile menu & cookie banners --- */
@media (max-width: 768px) {
  .mobile-menu {
    box-shadow: -2px 0 30px 0 rgba(44,62,53,0.20);
    background: rgba(44,62,53,0.97);
  }
}

/* --- Hide elements until loaded, e.g. body fade-in --- */
body[style*="opacity: 0"] {
  transition: opacity 0.35s;
}
