/* --------------------------------------------------
   Minimalist CSS for Lebensglanz | https://lebensglanz.de
   Design: Modern, clean, minimal, natural accents
   Mobile-first, flexbox only, no grid, lots of white space
---------------------------------------------------*/

/* Normalize & Reset */
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: 16px;
  scroll-behavior: smooth;
  background: #fff;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #228B22;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #1A661A;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 1.5em 1.2em;
}
li + li {
  margin-top: .4em;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A661A;
  font-weight: 700;
  margin-bottom: .8em;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-top: 0.3em;
  margin-bottom: 0.8em;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 0.7em;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: .5em;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, .subheadline {
  font-size: 1rem;
  color: #222;
  line-height: 1.7;
  margin-bottom: 1em;
}
.subheadline {
  color: #555;
  font-weight: 500;
  margin-bottom: 1.3em;
  font-size: 1.08rem;
}
strong {
  color: #228B22;
  font-weight: 700;
}

blockquote {
  color: #154415;
  font-size: 1.08rem;
  font-style: italic;
  margin: 0;
  padding: 0;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.7em;
}

.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
section:last-child, .section:last-child {
  margin-bottom: 0;
}

/* Hero */
.hero {
  background: #F7FBF6;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(34, 139, 34, 0.06);
  margin-top: 22px;
  margin-bottom: 40px;
  padding: 42px 0 30px 0;
}
.hero h1 {
  color: #1A661A;
  font-size: 2.8rem;
  margin-bottom: 0.7em;
}
.hero .cta {
  margin-top: 1.6em;
}

/* Flex Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 36px rgba(30,50,40,0.06);
  margin-bottom: 20px;
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 0 250px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.content-grid,
.feature-grid,
.blog-preview,
.blog-post-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.feature-grid li,
.services-overview li,
.services-list li {
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(34,139,34,0.06);
  padding: 22px 18px 16px 18px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 210px;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.22s;
}
.feature-grid li:hover,
.services-overview li:hover,
.services-list li:hover {
  box-shadow: 0 4px 28px rgba(34,139,34,0.11);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5FAF5;
  border-radius: 11px;
  box-shadow: 0 2px 20px rgba(34,139,34,0.09);
  margin-bottom: 20px;
  max-width: 700px;
}
.testimonial-meta {
  font-size: .97em;
  color: #667766;
  font-style: normal;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.dates-overview {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Blog Cards */
.blog-post-cards article {
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(34,139,34,0.07);
  padding: 20px 18px 15px 18px;
  margin-bottom: 20px;
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 340px;
  transition: box-shadow 0.18s;
}
.blog-post-cards article:hover {
  box-shadow: 0 7px 38px rgba(34,139,34,0.14);
}
.blog-post-cards h3 {
  font-size: 1.14rem;
  margin-bottom: 0.7em;
}

/* Services */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0 0 1em 0;
  padding: 0;
}
.services-list li {
  flex: 1 1 270px;
}
.services-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0 0 1em 0;
  padding: 0;
}
.services-overview li {
  flex: 1 1 250px;
}

/* Footer */
footer {
  background: #1A661A;
  color: #fff;
  padding: 60px 0 22px 0;
  margin-top: 60px;
  border-radius: 20px 20px 0 0;
  font-size: .97rem;
}
.footer-brand-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #fff;
}
.footer-brand-info span {
  color: #fff;
  font-size: 1.04em;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}
.footer-menu a {
  color: #fff;
  opacity: .96;
  transition: opacity 0.2s;
  font-weight: 500;
}
.footer-menu a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 26px;
  margin-bottom: 18px;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #eaf7e9;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  opacity: 0.92;
  filter: grayscale(11%);
  transition: opacity 0.2s, filter 0.2s;
}
.footer-social a:hover {
  opacity: 1;
  filter: none;
}
.footer-legal {
  margin-top: 9px;
  color: #D5ECD5;
}

/* Header & Main Navigation */
header {
  background: #fff;
  box-shadow: 0 2px 22px rgba(34,55,44,0.04);
  border-bottom: 1px solid #f3f3ee;
  padding-bottom: 0.7em;
  padding-top: 0.5em;
}
.logo img {
  height: 46px;
  width: auto;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 0 20px;
  min-height: 54px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 23px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #254d25;
  font-size: 1rem;
  padding: 7px 3px;
  border-radius: 7px;
  transition: background 0.14s, color 0.14s;
}
.main-nav a.cta, .cta.primary {
  background: #228B22;
  color: #fff !important;
  padding: 10px 23px;
  margin-left: 13px;
  border-radius: 24px;
  font-size: 1.04em;
  font-weight: 600;
  box-shadow: 0 2px 14px rgba(34,139,34,0.07);
  transition: background 0.15s, color 0.2s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
  outline: none;
}
.main-nav a.cta:hover, .cta.primary:hover, .cta.primary:focus {
  background: #1A661A;
  color: #FFF;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(34,139,34,0.12);
}
.cta.secondary {
  background: none;
  color: #228B22;
  border: 2px solid #228B22;
  padding: 10px 23px;
  border-radius: 24px;
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.04em;
  margin-left: 0;
  margin-bottom: 16px;
  transition: background 0.16s, color 0.19s, border 0.18s;
  box-shadow: 0 2px 10px rgba(34,139,34,0.06);
  outline: none;
  cursor: pointer;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #228B22;
  color: #FFF;
  border-color: #228B22;
}
.cta {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  transition: background 0.15s, color 0.19s, box-shadow 0.13s;
}

/* Tables (Leistungen) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.6em;
}
thead {
  background: #f4f9f4;
}
th, td {
  text-align: left;
  padding: 11px 12px;
  font-size: 1rem;
}
th {
  color: #154415;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-bottom: 2px solid #ecf6eb;
}
td {
  color: #234422;
  border-bottom: 1px solid #f3f3ee;
}

/* Forms, Inputs */
input[type=text], textarea {
  width: 100%;
  background: #f7f7f4;
  border: 1px solid #e1ede2;
  border-radius: 7px;
  padding: 13px 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  font-family: inherit;
  color: #223322;
  outline: none;
  transition: border 0.14s;
}
input:focus, textarea:focus {
  border-color: #228B22;
}
/* Search Bar (Blog) */
.search-bar input[type=text] {
  background: #fff;
  border: 1px solid #e6e9e4;
  padding: 12px 16px;
  font-size: 1.08em;
  border-radius: 8px;
  margin-bottom: 14px;
  margin-top: 7px;
  box-shadow: 0 1px 4px rgba(34,139,34,0.04);
}

/* Filter Tags (Blog) */
.filter-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.filter-tags button {
  background: #F7FBF6;
  border: 1px solid #D1E6DA;
  color: #228B22;
  border-radius: 999px;
  padding: 6px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, border 0.13s;
  font-size: 1rem;
}
.filter-tags button:hover, .filter-tags button:focus {
  background: #228B22;
  color: #FFF;
  border-color: #228B22;
}

/* Contact Details (Kontakt) */
.contact-details {
  list-style: none;
  margin: 0 0 1.5em 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.07rem;
  color: #234422;
}
.map-placeholder {
  background: #F7FBF6;
  border-radius: 8px;
  padding: 15px 18px;
  font-size: 1em;
  margin-top: 14px;
  color: #154415;
}

/* Misc Spacing */
.benefit-points, .dates-overview {
  margin-bottom: 1em;
}
.benefit-points li {
  margin-bottom: .32em;
}
.text-section {
  max-width: 740px;
}

/* Mobile Burger Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #228B22;
  border: none;
  font-size: 2em;
  cursor: pointer;
  padding: 4px 8px;
  margin-left: 20px;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  right: 0; bottom: 0;
  z-index: 1300;
  background: rgba(33,51,33,0.92);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.69,.05,.24,1), opacity 0.26s;
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.3rem;
  margin: 18px 0 18px 20px;
  align-self: flex-start;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #FFD700;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin: 44px 0 0 25px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 500;
  padding: 10px 4px;
  border-radius: 6px;
  transition: background 0.15s, color 0.16s;
  margin-right: 22px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #228B22;
  color: #FFD700;
}

/* Responsive - Mobile-first */
@media (max-width: 1170px) {
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 960px) {
  .hero h1 {
    font-size: 2.0rem;
  }
  .container {
    max-width: 100%;
    padding: 0 8px;
  }
}
@media (max-width: 800px) {
  .footer-contact {
    flex-direction: column;
    gap: 12px;
  }
  .main-nav {
    gap: 8px;
  }
  .feature-grid,
  .services-overview,
  .services-list,
  .blog-post-cards,
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 1002;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-grid,
  .services-overview,
  .services-list,
  .blog-post-cards,
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .hero {
    border-radius: 10px;
    padding: 34px 0 24px 0;
  }
  .footer-brand-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .footer-menu {
    flex-direction: column;
    gap: 9px;
  }
}
@media (max-width: 620px) {
  html {
    font-size: 15px;
  }
  .hero h1,
  h1 {
    font-size: 1.34rem;
  }
  .container {
    min-width: 0;
    padding: 0 2px;
  }
  .section, section {
    padding: 24px 4px;
  }
  .testimonial-card {
    padding: 14px 6px;
  }
}

/* Animations & transitions */
.cta, .main-nav a, .footer-menu a, 
.cta.secondary, .cta.primary, .mobile-nav a, 
.feature-grid li, .services-list li, .blog-post-cards article, .testimonial-card {
  transition: background 0.15s, color 0.16s, box-shadow 0.15s, border 0.15s, transform 0.13s;
}
.cta:active, .cta.primary:active, .cta.secondary:active {
  transform: scale(0.97);
}
.card,
.feature-grid li,
.services-list li,
.blog-post-cards article,
.testimonial-card {
  transition: box-shadow 0.22s, transform 0.13s;
}
.card:hover,
.feature-grid li:hover,
.services-list li:hover,
.blog-post-cards article:hover,
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(34,139,34,0.14);
  transform: translateY(-1px) scale(1.012);
}

/* Cookie Consent Banner ----------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fafdf9;
  color: #254d25;
  border-top: 1px solid #D1E6DA;
  box-shadow: 0 -4px 22px rgba(34,139,34,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: center;
  padding: 18px 16px;
  z-index: 1400;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(.53,.25,.42,1), opacity 0.22s;
  font-size: 1rem;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner__text {
  max-width: 420px;
  line-height: 1.6;
}
.cookie-banner__buttons {
  display: flex;
  gap: 10px;
}
.cookie-btn,
.cookie-settings-btn {
  padding: 9px 19px;
  border-radius: 21px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  border: none;
  cursor: pointer;
  background: #fff;
  color: #228B22;
  border: 1.6px solid #228B22;
  transition: background 0.15s, color 0.15s, border 0.16s;
  font-weight: 600;
  margin-left: 2px;
}
.cookie-btn.accept {
  background: #228B22;
  color: #FFF;
  border: 1.6px solid #228B22;
}
.cookie-btn.accept:hover {
  background: #1A661A;
  color: #FFD700;
}
.cookie-btn.reject {
  background: #fff;
  color: #228B22;
  border: 1.6px solid #228B22;
}
.cookie-btn.reject:hover {
  background: #fafcf7;
  color: #1A661A;
  border-color: #1A661A;
}
.cookie-settings-btn {
  background: #FFD700;
  color: #234422;
  border: 1.6px solid #FFD700;
  margin-left: 7px;
}
.cookie-settings-btn:hover {
  background: #FFF4BC;
  color: #184418;
  border-color: #FFD700;
}
/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1950;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(33,51,33,0.70);
  justify-content: center;
  align-items: center;
  transition: opacity 0.22s;
  opacity: 0;
}
.cookie-modal.active {
  display: flex;
  opacity: 1;
}
.cookie-modal__dialog {
  background: #fff;
  color: #1A661A;
  border-radius: 14px;
  width: 94vw;
  max-width: 430px;
  padding: 33px 28px 20px 28px;
  box-shadow: 0 7px 34px rgba(34,139,34,.15);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.28em;
  font-weight: 700;
  margin-bottom: 0.3em;
}
.cookie-modal__close {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #254d25;
  background: none;
  border: none;
  font-size: 1.7em;
  cursor: pointer;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1em;
  color: #1a661a;
}
.cookie-category input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin-right: 7px;
}
.cookie-category.essential label {
  color: #a4b8a4;
}
.cookie-category.essential input[type=checkbox] {
  accent-color: #bbb;
}
.cookie-modal__footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    font-size: 0.97rem;
    padding: 18px 8px 14px 8px;
    align-items: flex-start;
  }
  .cookie-modal__dialog {
    padding: 20px 7vw;
  }
}

/* Scrollbar - minimal */
::-webkit-scrollbar {
  width: 8px;
  background: #F4F9F4;
}
::-webkit-scrollbar-thumb {
  background: #e0e7dd;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C3E0C3;
}

/* Utility */
.hidden { display: none !important; }
.center { display:flex; align-items:center; justify-content:center; }
.mt-2 { margin-top: 1.1rem; }
.mt-3 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1.1rem; }
.mb-3 { margin-bottom: 2rem; }

/* Fallbacks for custom properties */
:root {
  --primary-color: #228B22;
  --secondary-color: #FFD700;
  --accent-color: #FFFFFF;
  --footer-bg: #1A661A;
}

/* END OF CSS */
