/* ===========================================================
   AstroVerstand "nature_organic" Style – style.css
   Brand: Geheimnisvoll, vertrauenswürdig, inspirierend
   Only Flexbox for layouts! 
   Fonts: 'Cormorant Garamond' for headings, 'Nunito' for body
   =========================================================== */

/* RESET & BASE STYLES */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 16px;
  background-color: #f5f4ef;
  color: #243324;
  scroll-behavior: smooth;
  min-height: 100%;
}
body {
  line-height: 1.6;
  background: #f5f4ef;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 4px;
}
a {
  color: #087353;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3a5a3a;
  text-decoration: underline;
}
ul { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 700;
  color: #243324;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.6rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }
p, li, span, address {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1rem;
  color: #243324;
}
p.subheadline, .subheadline { font-size: 1.3rem; font-style: italic; margin-bottom: 14px; }

blockquote, .highlight-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  background: #f2eee2;
  color: #49705a;
  border-left: 5px solid #98a678;
  margin: 32px 0;
  padding: 20px 28px;
  border-radius: 18px 24px 18px 24px / 32px;
  font-style: italic;
}

/* LAYOUT / CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  min-width: 260px;
  border-radius: 26px;
  background: #fffbe9;
  box-shadow: 0 4px 16px rgba(98, 97, 72, 0.07), 0 1.5px 7px rgba(141, 165, 100, 0.07);
  padding: 25px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid #e2e9da;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px 0 rgba(90,120,60,0.10), 0 2px 10px rgba(17,69,30,0.11);
  transform: translateY(-2px) scale(1.012);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fffbe9;
  border-radius: 18px 30px 18px 30px / 26px;
  box-shadow: 0px 2px 12px rgba(50, 90, 38, 0.08);
  border: 1.5px solid #d2e3c8;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 370px;
  font-size: 1.04rem;
  transition: box-shadow 0.2s, transform 0.12s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px 0 rgba(140,170,70,0.11);
  transform: translateY(-2px) scale(1.008);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FLEX PATTERNS FOR KEY MODULES */
.feature-grid, .team-list, .core-values, .service-list, .course-list, .faq-list, .testimonials, .post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .team-list > div, .core-values > div, .service-list > div, .course-list > div, .faq-list > div, .post-list > article {
  flex: 1 1 260px;
  min-width: 240px;
  background: #fffbe9;
  border-radius: 24px;
  box-shadow: 0 2.5px 14px 0 rgba(133,152,116,0.07);
  padding: 24px 20px;
  border: 1.4px solid #e2e9da;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.feature-grid > div:hover, .team-list > div:hover, .core-values > div:hover, .service-list > div:hover, .course-list > div:hover, .faq-list > div:hover, .post-list > article:hover {
  box-shadow: 0 8px 28px 0 rgba(110,150,90,0.13);
  transform: translateY(-2.5px) scale(1.009);
}
@media (max-width: 900px) {
  .feature-grid > div, .team-list > div, .core-values > div, .service-list > div, .course-list > div, .faq-list > div, .post-list > article {
    min-width: 90%;
    flex: 1 1 100%;
  }
}

/* ---- USP, Dates, Benefits etc lists ---- */
.benefit-highlights ul, .dates-overview ul, .usps {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 14px;
}
.benefit-highlights li, .dates-overview li, .usps li {
  background: #f2eee2;
  border-radius: 14px;
  padding: 8px 16px 8px 10px;
  color: #243324;
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 8px;
  box-shadow: 0 1.5px 6px 0 rgba(192,201,150,0.08);
}
.benefit-highlights img, .dates-overview img, .usps span {
  margin-right: 10px;
  width: 25px;
  height: 25px;
}

/* EXPERTISE & CATEGORY TAGS */
.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}
.expertise-tags li {
  background: #e2e9da;
  color: #317050;
  padding: 4px 14px;
  border-radius: 14px;
  font-size: 0.98rem;
}

/* FOOTER */
footer {
  background: #edeee6;
  padding: 38px 0 24px 0;
  margin-top: 60px;
  border-top: 3px solid #b8bdab;
}
footer nav {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
footer nav a {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1rem;
  color: #22214d;
  margin-right: 2px;
  font-weight: 600;
  text-decoration: none;
}
footer nav a:hover, footer nav a:focus { color: #68a162; text-decoration: underline; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  font-size: 0.95rem;
  color: #49705a;
  align-items: center;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-contact img {
  width: 21px;
  height: 21px;
  filter: grayscale(0.12) brightness(0.85) saturate(0.7);
}

/* HEADER */
header {
  background: #fffbe9;
  border-bottom: 2px solid #e2e9da;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  position: relative;
  z-index: 40;
}
header > a img {
  height: 46px;
  width: auto;
  border-radius: 14px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-left: 18px;
}
header nav a {
  font-family: 'Nunito', Arial, sans-serif;
  color: #31563a;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 4px 8px;
  border-radius: 8px 18px;
  transition: background 0.17s, color 0.15s;
}
header nav a:hover, header nav a.active {
  background: #e2e9da;
  color: #1c602f;
}
.btn-primary {
  display: inline-block;
  font-family: 'Nunito', Arial, sans-serif;
  background: #68a162;
  color: #f5f4ef;
  border-radius: 22px 32px 22px 32px / 28px;
  padding: 13px 34px;
  margin-left: 24px;
  font-size: 1.12rem;
  font-weight: bold;
  letter-spacing: 0.01em;
  border: none;
  outline: none;
  box-shadow: 0 2px 10px rgba(84,120,50,0.08);
  cursor: pointer;
  transition: background 0.2s, color 0.14s, transform 0.12s;
  position: relative;
}
.btn-primary:hover, .btn-primary:focus {
  background: #3a5a3a;
  color: #fffbe9;
  transform: translateY(-1.5px) scale(1.03);
}

/* BURGER MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #68a162;
  background: none;
  border: none;
  position: fixed;
  top: 21px;
  right: 20px;
  z-index: 101;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e2e9da;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #f5f4ef;
  box-shadow: 0 0 20px 4px rgba(50,80,40,0.12);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.55,.06,.34,1.28);
  will-change: transform;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 26px 26px 0 0;
  font-size: 2.2rem;
  color: #31563a;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  border-radius: 9px;
  transition: background 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #e2e9da;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 24px;
  margin-top: 26px;
}
.mobile-nav a {
  color: #243324;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 16px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e2e9da;
  color: #317050;
}

/* RESPONSIVE NAV & HEADER */
@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 15px; padding-right: 15px;
  }
  header nav {
    display: none;
  }
  .btn-primary {
    margin: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* MAIN & SECTIONS */
main {
  background: #f5f4ef;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  border-radius: 0 0 52px 42px / 32px;
  background: #fcfaf2;
}
section:nth-of-type(even) {
  background: #f2eee2;
}

/* SPECIALS: BLOG, USP, FILTERS */
.featured-posts {
  background: #e2e9da;
  border-radius: 16px;
  margin: 34px 0 18px 0;
  padding: 18px 24px;
  box-shadow: 0 1.5px 8px 0 rgba(154,180,130,0.09);
}
.category-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 10px 0;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.09rem;
}
.category-filters a {
  padding: 2px 10px; border-radius: 14px;
  color: #317050;
  font-weight: bold;
  transition: background .14s;
}
.category-filters a:hover, .category-filters a:focus {
  background: #e2e9da;
}

/* ADDRESS/CARDS IN CONTACT */
.address, .phone, .email, .opening-hours {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fffbe9;
  padding: 12px 20px;
  border-radius: 18px;
  margin-bottom: 14px;
  font-size: 1.03rem;
  color: #49705a;
  font-family: 'Nunito', Arial, sans-serif;
}
.address img, .phone img, .email img, .opening-hours img {
  width: 23px;
  height: 23px;
}

/* FORMS, BUTTONS, MODALS (Cookie etc) */
input, button, textarea, select {
  font: inherit;
  outline: none;
}
button {
  cursor: pointer;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 2000;
  background: #243324;
  color: #fffbe9;
  padding: 26px 14px 21px 18px;
  font-size: 1rem;
  box-shadow: 0 -2px 16px 0 rgba(17,40,8,0.17);
  transition: opacity 0.27s;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  border: none;
  outline: none;
  border-radius: 18px 32px / 18px;
  background: #68a162;
  color: #fffbe9;
  font-weight: 700;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 23px;
  margin-left: 0;
  transition: background 0.18s, transform 0.12s;
}
.cookie-consent-banner button:not(.accept):hover, .cookie-consent-banner button:focus:not(.accept) {
  background: #e2e9da;
  color: #12735e;
}
.cookie-consent-banner .reject {
  background: #edeee6;
  color: #49705a;
}
.cookie-consent-banner .settings {
  background: #f0d66c;
  color: #243324;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(48,70,30,0.3);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.open {
  opacity:1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fffbe9;
  border-radius: 32px 18px 32px 18px / 26px;
  box-shadow: 0px 6px 40px 0 rgba(42,70,36, 0.19);
  max-width: 410px;
  width: 95vw;
  padding: 36px 30px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #243324;
  font-size: 1rem;
  align-items: flex-start;
  animation: cookieModalFadeIn 0.34s cubic-bezier(.63,1.51,.22,.63);
}
@keyframes cookieModalFadeIn {
  from { transform: scale(0.93) translateY(40px); opacity:0; }
  to { transform: scale(1.0) translateY(0); opacity:1; }
}
.cookie-modal .modal-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: #317050;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 11px 0;
  font-size: 1.04rem;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 34px; height: 20px;
  border-radius: 10px;
  background: #e2e9da;
  transition: background 0.17s;
  position: relative;
  outline: none;
  cursor: pointer;
}
.cookie-modal .cookie-toggle:checked {
  background: #68a162;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 4px; top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fffbe9;
  transition: left 0.17s;
}
.cookie-modal .cookie-toggle:checked:before {
  left: 16px;
}
.cookie-modal .category-label {
  font-family: 'Nunito', Arial, sans-serif;
}
.cookie-modal .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-modal .accept {
  background: #68a162;
  color: #fffbe9;
}
.cookie-modal .reject {
  background: #edeee6;
  color: #49705a;
}

/* Responsive - Mobiles FIRST! */
@media (max-width: 768px) {
  html { font-size: 15px; }
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 4vw 8px 3vw;
  }
  .btn-primary {
    margin: 18px 0 0 0;
    width: 94vw;
    max-width: 350px;
    text-align: center;
  }
  main, .container, .content-wrapper {
    padding: 0;
    margin: 0 !important;
    width: 100vw;
    max-width: 100% !important;
  }
  .feature-grid, .team-list, .core-values, .service-list, .course-list, .faq-list, .testimonials, .post-list {
    flex-direction: column;
    align-items: stretch;
  }
  .section, section {
    padding: 28px 8px;
    margin-bottom: 40px;
    border-radius: 0 0 38px 28px / 22px;
  }
  .testimonial-card, .feature-grid > div, .team-list > div, .service-list > div, .course-list > div { max-width: 100vw; }
  .content-wrapper { gap: 12px; }
  .text-image-section { flex-direction: column; gap: 18px; align-items: stretch; }
  .benefit-highlights ul, .dates-overview ul, .usps {
    flex-direction: column;
    gap: 7px;
  }
  .footer-contact { flex-direction: column; gap: 14px; align-items: stretch; }
  .featured-posts, .category-filters { margin-left: 0; }
}
@media (max-width: 420px) {
  html { font-size: 13.9px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.17rem; }
}

/* GENERAL UTILITY CLASSES & MICROINTERACTIONS */
.shadow-lg { box-shadow: 0 8px 44px rgba(120,160,80,0.13) !important; }
.rounded-lg { border-radius: 32px 18px 32px 18px / 21px !important; }
.bg-primary { background: #243324 !important; color: #fffbe9 !important; }
.bg-accent { background: #fffbe9 !important; color: #243324 !important; }
.text-green { color: #68a162 !important; }
.text-primary { color: #243324 !important; }
.text-secondary { color: #5c6a60 !important; }
.flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-center { align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-20 { gap: 20px; }

/* Custom scrollbars */
::-webkit-scrollbar { width: 11px; background: #f2eee2; }
::-webkit-scrollbar-thumb {
  background: #e2e9da;
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover { background: #b1c0a1; }

/* ------------------ END AstroVerstand Styles ------------------ */