/* --------------------------------------------------
 CSS RESET & NORMALIZE
---------------------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAF7F2;
  color: #222;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: #226A57;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.7;
  color: #222;
}
strong {
  font-weight: 700;
}

/* --------------------------------------------------
 FLEXBOX CONTAINERS
---------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* --- Sections and Layout --- */
main {
  width: 100%;
  padding-bottom: 60px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(34, 106, 87, 0.04);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(34,106,87,0.09);
  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-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* feature-grid, blog-posts-grid, principle-grid, team, recipe-list, testimonial-grid */
.feature-grid, .blog-posts-grid, .principle-grid, .recipe-list, .testimonial-grid, .team {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid > div, .blog-posts-grid > div, .principle-grid > div, .recipe-list > div, .team > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(34,106,87,0.05);
  flex: 1 1 230px;
  min-width: 220px;
  max-width: calc(25% - 18px);
  padding: 28px 20px;
  transition: box-shadow .2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.feature-grid > div:hover, .blog-posts-grid > div:hover, .principle-grid > div:hover, .recipe-list > div:hover, .team > div:hover {
  box-shadow: 0 8px 26px rgba(34,106,87,0.15);
  z-index: 2;
}


/* --------------------------------------------------
 HEADER, NAVIGATION, CTA
---------------------------------------------------*/
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 20px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #226A57;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 4px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FAF7F2;
  color: #E6B43B;
}
.cta-btn {
  border: none;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  outline: none;
  color: #fff;
  background: #226A57;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(34,106,87,0.09);
  letter-spacing: 0.01em;
  cursor: pointer;
  margin-left: 14px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.2s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1a5244;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 18px rgba(34,106,87,0.12);
  color: #E6B43B;
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #226A57;
  cursor: pointer;
  z-index: 21;
  margin-left: 8px;
  padding: 5px 10px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E6B43B;
}

/* -----------------------------
 MOBILE NAVIGATION
-------------------------------*/
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34, 106, 87, 0.98);
  z-index: 100;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  transform: translateX(100%);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  padding: 13px 26px;
  margin-top: 18px;
  margin-right: 10px;
  cursor: pointer;
  transition: color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E6B43B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  padding: 54px 30px 0 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  padding: 12px 0;
  width: 100%;
  border-radius: 8px;
  transition: background .19s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E6B43B;
  color: #226A57;
}

/* For hamburger only on mobile */
@media (max-width: 1023px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .mobile-menu {
    padding: 0;
  }
}

/* --------------------------------------------------
 HERO SECTION & BUTTONS
---------------------------------------------------*/
.hero {
  padding-top: 40px;
  padding-bottom: 32px;
  background-color: #fff;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 4px 18px rgba(34,106,87,.04);
  margin-bottom: 55px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 12px;
  color: #226A57;
}
.hero p {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 14px;
}
.hero .cta-btn {
  margin-top: 10px;
}

/* ---------- Searchbars ---------- */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.search-bar input[type="text"] {
  flex: 1 1 120px;
  background: #FAF7F2;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  padding: 9px 15px;
  font-size: 1rem;
  outline: none;
  color: #226A57;
  transition: border .18s;
}
.search-bar input:focus {
  border-color: #226A57;
}
.search-bar button {
  background: #E6B43B;
  border: none;
  border-radius: 6px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
  cursor: pointer;
}
.search-bar button:hover, .search-bar button:focus {
  background: #226A57;
}
.search-bar button img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

/* --------------------------------------------------
 FEATURES, PRINCIPLES, CARDS & CATEGORY FILTERS
---------------------------------------------------*/
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 14px 0 22px;
}
.category-filters li {
  background: #FAF7F2;
  color: #226A57;
  border-radius: 8px;
  border: 1px solid #E6B43B;
  padding: 8px 18px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.category-filters li:hover, .category-filters li:focus {
  background: #E6B43B;
  color: #226A57;
}

.popular-tags, .popular-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 18px;
}
.popular-tags span, .popular-topics span {
  background: #EFF1ED;
  color: #226A57;
  border-radius: 7px;
  padding: 6px 16px;
  font-size: .97rem;
  font-weight: 500;
}
.quick-links {
  display: flex;
  gap: 18px;
  margin: 20px 0 0 0;
}
.quick-links a {
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #226A57;
  font-weight: 600;
  background: transparent;
  padding: 8px 8px 8px 0;
  border-bottom: 2px solid #E6B43B;
  border-radius: 0;
  transition: color .16s, border-bottom .15s;
}
.quick-links a:hover, .quick-links a:focus {
  color: #E6B43B;
  border-bottom: 2px solid #226A57;
}

.benefit-list, .short-descriptions ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 12px 0;
  padding-left: 18px;
  font-size: 1rem;
  color: #226A57;
}

/* --------------------------------------------------
 TESTIMONIALS
---------------------------------------------------*/
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px 16px 28px;
  background: #fff;
  border: 1px solid #eff1ed;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(34,106,87,0.09);
  min-width: 240px;
  flex: 1 1 265px;
  margin-bottom: 24px;
  transition: box-shadow 0.18s, border-color .14s;
  color: #222;
}
.testimonial-card p {
  color: #222;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 2px;
  line-height: 1.6;
}
.testimonial-card span {
  font-size: 1rem;
  color: #226A57;
}
.testimonial-card:hover {
  box-shadow: 0 10px 22px rgba(34,106,87,0.16);
  border-color: #E6B43B;
  z-index: 2;
}

/* --------------------------------------------------
 LISTS, TEXT BLOCKS, ADDRESS
---------------------------------------------------*/
ul, ol {
  margin-left: 18px;
  margin-bottom: 14px;
  color: #226A57;
}
.text-section ul, .address-block ul {
  padding-left: 25px;
  margin-bottom: 6px;
}
.address-block > h3 {
  margin-top: 20px;
}
.address-block p {
  color: #222;
  margin-bottom: 10px;
}


/* --------------------------------------------------
 FOOTER
---------------------------------------------------*/
footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding-top: 38px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav.footer-nav {
  display: flex;
  gap: 16px;
  margin-top: 13px;
}
.footer-nav a {
  color: #226A57;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color .15s;
  padding: 6px 2px;
}
.footer-nav a:hover {
  color: #E6B43B;
}
.contact-footer {
  min-width: 220px;
  font-size: .97rem;
}
.contact-footer h4 {
  font-size: 1.12rem;
  color: #226A57;
  margin-bottom: 10px;
  font-weight: 700;
}
.contact-footer p {
  font-size: .98rem;
  color: #222;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.copyright {
  font-size: .93rem;
  color: #888;
  margin: 9px 0 0 0;
  text-align: center;
  padding-bottom: 23px;
}


/* --------------------------------------------------
 LEGAL TEXTS
---------------------------------------------------*/
.legal-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(34,106,87,0.05);
  padding: 36px 24px;
  margin-bottom: 32px;
}
.legal-section h1 {
  margin-bottom: 28px;
}
.legal-section h2 {
  font-size: 1.25rem;
  color: #226A57;
  margin-top: 22px;
  margin-bottom: 6px;
}
.legal-section ul {
  margin-left: 16px;
}

/* --------------------------------------------------
 THANK YOU PAGE
---------------------------------------------------*/
.thankyou-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(34,106,87,0.11);
  padding: 54px 22px;
  margin: 38px 0;
  text-align: center;
}
.thankyou-section .content-wrapper {
  align-items: center;
  gap: 16px;
}

/* --------------------------------------------------
 COOKIES BANNER & SETTINGS MODAL
---------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid #E6B43B;
  box-shadow: 0 -2px 24px rgba(34,106,87,.11);
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 16px 18px 16px;
  font-size: 1rem;
  animation: cb-slide-up .5s cubic-bezier(.5,.24,.3,1);
}
.cookie-banner p {
  color: #226A57;
  flex: 3 1 60%;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  flex: 1 1 210px;
  display: flex;
  gap: 12px;
}
.cookie-consent-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 10px 19px;
  font-weight: 700;
  cursor: pointer;
  background: #226A57;
  color: #fff;
  transition: background .18s, color .18s, outline .13s;
}
.cookie-consent-btn.secondary {
  background: #EFF1ED;
  color: #226A57;
}
.cookie-consent-btn.settings {
  background: #E6B43B;
  color: #226A57;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus {
  background: #1a5244;
  color: #E6B43B;
  outline: 2px solid #E6B43B;
}
.cookie-consent-btn.secondary:hover, .cookie-consent-btn.secondary:focus {
  background: #f4e4c4;
  color: #226A57;
  outline: 2px solid #E6B43B;
}
.cookie-consent-btn.settings:hover, .cookie-consent-btn.settings:focus {
  background: #fbe6b1;
  color: #1a5244;
}
@keyframes cb-slide-up {
  from { opacity: 0; transform: translateY(90px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,106,87,.78);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadein .38s cubic-bezier(.34,.51,.25,1);
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  width: 98%;
  max-width: 420px;
  box-shadow: 0 7px 36px rgba(34,106,87,.12);
  padding: 37px 28px 23px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal-content h2 {
  color: #226A57;
  font-size: 1.3rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1.14rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #226A57;
  font-weight: 500;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: #E6B43B;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.cookie-modal-btns {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 19px;
  top: 14px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #226A57;
}

@keyframes fadein {
  from {opacity:0;}
  to   {opacity:1;}
}

/* --------------------------------------------------
 RESPONSIVE LAYOUTS (Mobile-first approach)
---------------------------------------------------*/
@media (max-width: 1023px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .feature-grid > div, .blog-posts-grid > div, .principle-grid > div, .recipe-list > div, .team > div {
    min-width: 180px;
    max-width: 48%;
    padding: 22px 10px;
  }
  .content-grid {
    gap: 14px;
  }
  .feature-grid, .blog-posts-grid, .principle-grid, .recipe-list, .testimonial-grid, .team {
    gap: 16px;
  }
  .testimonial-card {
    flex: 1 1 100%;
    min-width: 80vw;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.15rem; }
  .container {
    padding: 0 8px;
    min-width: 0;
  }
  .main-nav, .cta-btn, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  section, .section {
    padding: 24px 0 0 0;
    margin-bottom: 34px;
  }
  .hero {
    padding-top: 24px;
    padding-bottom: 19px;
    border-radius: 0 0 14px 14px;
  }
  .hero .content-wrapper {
    gap: 15px;
  }
  .feature-grid, .blog-posts-grid, .principle-grid, .recipe-list, .testimonial-grid, .team {
    flex-direction: column;
    gap: 15px;
  }
  .feature-grid > div, .blog-posts-grid > div, .principle-grid > div, .recipe-list > div, .team > div {
    max-width: 98%;
    min-width: 0;
    width: 100%;
  }
  .content-wrapper, .content-grid, .testimonial-card, .thankyou-section .content-wrapper {
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .address-block {
    margin-bottom: 18px;
  }
}
@media (max-width: 480px) {
  html { font-size: 15px; }
  .feature-grid > div, .blog-posts-grid > div, .principle-grid > div, .recipe-list > div, .team > div, .testimonial-card {
    padding: 13px 5px;
  }
  .hero, .legal-section, .thankyou-section {
    padding: 16px 4px;
  }
  .cookie-modal-content {
    padding: 18px 7px 18px 10px;
  }
}

/* --------------------------------------------------
 MICRO-INTERACTIONS & HOVER
---------------------------------------------------*/
button, .cta-btn, .category-filters li, .main-nav a, .footer-nav a, .mobile-nav a, .cookie-consent-btn {
  transition: background 0.15s, color 0.15s, border-color 0.14s, box-shadow 0.19s, outline 0.16s;
}
button:active, .cta-btn:active {
  filter: brightness(94%);
}
:focus-visible {
  outline: 2px solid #E6B43B;
  outline-offset: 2px;
}

/* --------------------------------------------------
 SCROLLBAR (Webkit Only, for Minimalism)
---------------------------------------------------*/
::-webkit-scrollbar {
  width: 9px;
  background: #FAF7F2;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #E6B43B;
  border-radius: 6px;
}

/* --------------------------------------------------
 COLORS & TYPOGRAPHY UTILS
---------------------------------------------------*/
.bg-primary { background: #226A57; }
.bg-accent { background: #E6B43B; }
.bg-secondary { background: #FAF7F2; }
.text-primary { color: #226A57; }
.text-accent { color: #E6B43B; }
.text-secondary { color: #554107; }
.font-display { font-family: 'Montserrat','Roboto',sans-serif; }
.font-body { font-family: 'Roboto',Arial,sans-serif; }

/* --------------------------------------------------
 OVERRIDES FOR WHITE SPACE & CONSISTENCY
---------------------------------------------------*/
section, .section, .content-wrapper, .feature-grid, .testimonial-grid, .blog-posts-grid {
  margin-bottom: 0 !important;
}
.container, .section, .feature-grid, .blog-posts-grid, .testimonial-grid, .content-wrapper {
  gap: 24px;
}
.card, .testimonial-card, .legal-section, .thankyou-section {
  margin-bottom: 20px;
}

/* --------------------------------------------------
 FORMS (if any left)
---------------------------------------------------*/
input[type="text"], input[type="email"], textarea {
  font-family: 'Roboto', Arial, sans-serif;
  color: #226A57;
  background: #FAF7F2;
  border: 1px solid #E6B43B;
  padding: 9px 15px;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 10px;
  width: 100%;
  transition: border-color 0.18s;
}
input:focus, textarea:focus {
  border-color: #226A57;
  outline: none;
}

/* --------------------------------------------------
 MISC
---------------------------------------------------*/
.logo, .logo-mark {
  max-width: 170px;
  height: auto;
  margin-bottom: 0;
}

/* Utility: hide visually, but accessible */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------
 END OF MINIMALIST THEME FOR BRIGHT TORQUE ERNÄHRUNG
---------------------------------------------------*/
