/* CSS RESET & NORMALIZE */
/* Box sizing reset */
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #385A3A;
  background: #F7F6EB;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}
a {
  color: #385A3A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #6AA84F;
}
ul, ol {
  margin: 0 0 16px 20px;
  padding: 0;
}
p {
  margin: 0 0 16px 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* BRAND PALETTE (SOFT PASTEL INTERPRETATION) */
:root {
  --primary: #385A3A;
  --secondary: #6AA84F;
  --accent: #F7F6EB;
  --pastel-green: #C4E3CB;
  --pastel-yellow: #FFF9E3;
  --pastel-pink: #FFE8F0;
  --pastel-blue: #E4F0FA;
  --pastel-lilac: #F1EDFF;
  --pastel-beige: #FCF8F3;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Merriweather', 'Georgia', serif;
  color: #385A3A;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 0;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.14;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
}
h3 {
  font-size: 1.35rem;
}
h4 {
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
}
.text-section {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #46644A;
}
strong, b {
  font-weight: 700;
}

/* CONTAINER & BASE LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-yellow);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(142, 181, 126, 0.07);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 18px 0 rgba(106,168,79,0.12), 0 1.5px 4.5px 0 rgba(56, 90, 58, 0.07);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-blue);
  color: #34452E;
  border-radius: 16px;
  box-shadow: 0 1.5px 8px 0 rgba(56,90,58,0.10);
  margin-bottom: 20px;
  flex: 1 1 350px;
  min-width: 260px;
  max-width: 100%;
  font-size: 1.05rem;
  transition: transform 0.18s, box-shadow 0.18s;
}
.testimonial-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 20px 0 rgba(52,100,46,0.20);
}
.testimonial-card span {
  display: block;
  font-style: italic;
  color: #385A3A;
  font-size: 0.98rem;
}

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

/* FLEX GRIDS ACCORDING TO CONTENT */
.feature-grid,
.service-overview-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .service-overview-cards > div {
  background: var(--pastel-green);
  border-radius: 14px;
  box-shadow: 0 1.5px 6px 0 rgba(106,168,79,0.07);
  padding: 26px 20px 22px 20px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 100%;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover, .service-overview-cards > div:hover {
  box-shadow: 0 7px 24px 0 rgba(56,90,58,0.12);
  transform: translateY(-3px) scale(1.012);
}
@media (max-width: 900px) {
  .feature-grid, .service-overview-cards {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .service-overview-cards > div {
    min-width: 0;
    width: 100%;
  }
}

/* Additional spacing for ul/li in lists inside features */
.feature-grid ul, .service-overview-cards ul {
  margin-left: 18px;
  margin-bottom: 0;
  padding: 0;
}

/* Buttons & CTA */
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #BEE8CA, #FFF9E3 70%, #FFE8F0);
  color: #385A3A;
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 12px 38px;
  border: none;
  border-radius: 26px;
  box-shadow: 0 1px 4px 0 rgba(106,168,79,0.09);
  cursor: pointer;
  margin: 14px 0 4px 0;
  transition: background 0.28s, color 0.17s, box-shadow 0.17s, transform 0.13s;
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  color: #FFF;
  background: linear-gradient(90deg, #9EDAAF 10%, #6AA84F 90%);
  box-shadow: 0 2.5px 16px 0 rgba(106,168,79,0.19);
  transform: translateY(-1px) scale(1.03);
}

/* HEADER & NAVIGATION */
header {
  background: var(--pastel-beige);
  box-shadow: 0 2px 10px 0 rgba(146,180,156,0.07);
  border-bottom: 1.5px solid #eaeaea;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 80px;
  position: relative;
}
header img[alt="GartenBlüte"] {
  height: 48px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1 1 auto;
  margin-left: 32px;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #385A3A;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 2.5px solid transparent;
  transition: border 0.21s, color 0.13s;
}
header nav a:hover, header nav a:focus {
  color: #6AA84F;
  border-bottom: 2.5px solid #BEE8CA;
}
button.mobile-menu-toggle {
  display: none;
  background: #FFF;
  border: none;
  font-size: 2rem;
  color: #385A3A;
  border-radius: 6px;
  box-shadow: 0 0.5px 4px 0 rgba(177, 195, 169, 0.12);
  padding: 4px 20px 4px 10px;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.2s, color 0.2s;
  z-index: 1100;
}
button.mobile-menu-toggle:focus {
  outline: 2px solid #BEE8CA;
}

@media (max-width: 1024px) {
  header nav {
    gap: 16px;
    margin-left: 16px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    padding: 18px 8px 14px 8px;
  }
  .cta-btn {
    display: none;
  }
  header nav {
    gap: 10px;
    margin-left: 4px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  button.mobile-menu-toggle {
    display: block;
  }
  header .cta-btn {
    display: none;
  }
}

/* MOBILE NAVIGATION MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(248,246,242,0.98);
  box-shadow: 0 4px 32px 0 rgba(106,170,79,0.16);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.68,-0.55,.27,1.55);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: #fff;
  border: none;
  font-size: 2.5rem;
  color: #385A3A;
  border-radius: 9px;
  box-shadow: 0 1.5px 7px 0 rgba(56,90,58,0.13);
  margin: 18px 16px 10px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.19s, color 0.16s;
  z-index: 1300;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 0 24px 35px 38px;
  gap: 16px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #385A3A;
  font-family: 'Merriweather', 'Georgia', serif;
  margin-bottom: 3px;
  padding: 10px 0 8px 2px;
  border-radius: 8px;
  transition: background 0.13s, color 0.16s;
  font-weight: 500;
  min-width: 85vw;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-yellow);
  color: #6AA84F;
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* FOOTER */
footer {
  background: var(--pastel-lilac);
  padding: 36px 0 18px 0;
  border-top: 1.5px solid #eaeaea;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: #385A3A;
  font-size: 1rem;
  padding-bottom: 1.5px;
  border-bottom: 1px solid transparent;
  transition: border 0.2s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #6AA84F;
  border-bottom: 1px solid #BEE8CA;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-bottom: 8px;
}
.social-links a img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: box-shadow 0.13s;
}
.social-links a:hover img, .social-links a:focus img {
  box-shadow: 0 1.5px 6px 0 rgba(56,90,58,0.22);
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* LISTS */
ul, ol {
  margin-bottom: 16px;
}
li {
  margin-bottom: 7px;
  font-size: 1rem;
  color: #46644A;
}

/* FORMS (for possible future use) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid #beddbd;
  padding: 10px 11px;
  outline: none;
  background: #FEFEFE;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
}

/* CUSTOM CLASSES BASED ON HTML STRUCTURE */
.text-section {
  background: transparent;
  border-radius: 13px;
  padding: 12px 8px;
}
.text-section h3 {
  margin-bottom: 7px;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 95vw;
  max-width: 480px;
  background: linear-gradient(90deg, #F1EDFF 80%, #BEE8CA 100%);
  color: #34452E;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 24px 0 rgba(56,90,58,0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 4000;
  padding: 22px 18px 18px 18px;
  font-size: 1rem;
  gap: 15px;
  animation: cookieBannerAppear 0.95s cubic-bezier(0.71,0.01,0.31,1.47);
}
@keyframes cookieBannerAppear {
  0% { transform: translateX(-50%) translateY(120px); opacity: 0; }
  75% { opacity: .85; }
  100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 15px;
}
.cookie-banner button {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 22px;
  border: none;
  margin-right: 2px;
  margin-bottom: 3px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, box-shadow 0.14s;
}
.cookie-banner .accept {
  background: #9EDAAF;
  color: #385A3A;
  box-shadow: 0 1.5px 5px 0 rgba(56,90,58,0.11);
}
.cookie-banner .accept:hover,.cookie-banner .accept:focus {
  background: #6AA84F;
  color: #fff;
}
.cookie-banner .reject {
  background: #FFE8F0;
  color: #B8767D;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F6B8C5;
  color: #fff;
}
.cookie-banner .settings {
  background: #FFF9E3;
  color: #826E36;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #EEDD99;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(75,87,59,0.21);
  z-index: 4100;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookieBackdropAppear .6s;
}
@keyframes cookieBackdropAppear {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2.5px 48px 0 rgba(142,181,126,0.19);
  max-width: 450px;
  width: 90vw;
  padding: 36px 32px 28px 32px;
  position: relative;
  z-index: 4200;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalAppear .55s cubic-bezier(.43,-0.01,.33,1.19);
}
@keyframes cookieModalAppear {
  0% { opacity: 0; transform: scale(0.87); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  color: #385A3A;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F7F6EB;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  color: #46644A;
}
.cookie-modal input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #6AA84F;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .cookie-modal-btns button {
  border-radius: 10px;
  padding: 8px 22px;
  font-size: 1rem;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 27px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #7CB37D;
  cursor: pointer;
}
.cookie-modal .close-modal:focus {
  outline: 2px solid #BEE8CA;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
a, .cta-btn, button, .feature-grid > div, .card, .testimonial-card {
  transition: background 0.22s, color 0.13s, box-shadow 0.20s, transform 0.20s;
}

/* RESPONSIVE - Mobile first patterns */
@media (max-width: 600px) {
  .container, section {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
  }
  .section {
    padding: 30px 0;
  }
}
@media (max-width: 480px) {
  .feature-grid > div, .service-overview-cards > div, .card, .testimonial-card {
    padding: 17px 10px !important;
    font-size: 0.99rem;
  }
  .cookie-modal {
    padding: 22px 7vw 16px 7vw;
  }
}

/* ACCESSIBILITY FOCUS HIGHLIGHTS */
:focus {
  outline: 2px dashed #6AA84F;
  outline-offset: 3px;
}

/* BORDER RADIUS SOFTENERS */
.feature-grid > div, .service-overview-cards > div, .card, .testimonial-card, .text-section, .cookie-banner, .cookie-modal {
  border-radius: 16px;
}

/* Dreamy Section background alternation */
section:nth-child(odd) {
  background: var(--pastel-yellow);
}
section:nth-child(even) {
  background: var(--pastel-beige);
}
main > section:first-child {
  background: linear-gradient(90deg, #FFE8F0 40%, #C4E3CB 90%);
}

/* Hide visually but keep for screen readers */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Hide elements utility */
.d-none { display: none !important; }

/* Z-INDEX LAYERING */
header, .mobile-menu, .cookie-banner, .cookie-modal-backdrop, .cookie-modal {
  z-index: 999;
}

/* Prevent overlapping of containers */
.feature-grid > div, .service-overview-cards > div, .card, .testimonial-card, .text-section {
  margin-bottom: 20px; /* As required for spacing */
}
