/* style.css for Naturblick Deutschland (Soft Pastel, Flexbox-Only, Responsive) */

/* 1. CSS Reset & Normalize */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #205522;
  background: #f8f9fc;
  line-height: 1.56;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #205522;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #6B8A34;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin: 0 0 1.5em 1em;
  padding: 0;
  list-style: disc inside;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #205522;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
}
p, li {
  font-size: 1rem;
  margin-bottom: 14px;
}
p:last-child, li:last-child {
  margin-bottom: 0;
}
button, .btn-primary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border: none;
  cursor: pointer;
  border-radius: 26px;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 700;
  background-color: #A6D6C3;
  color: #205522;
  box-shadow: 0 2px 8px 0 rgba(120, 167, 125, 0.07);
  transition: background 0.18s, box-shadow 0.2s, color 0.18s, transform 0.12s;
  outline: none;
}
.btn-primary {
  display: inline-block;
  background-color: #E9EEDC;
  color: #205522;
  border: 2px solid #6B8A34;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #B2EAD7;
  color: #205522;
  border-color: #205522;
  box-shadow: 0 4px 16px 0 rgba(104, 189, 178, 0.15);
  transform: translateY(-2px) scale(1.03);
}
button:active, .btn-primary:active {
  background-color: #97BC62;
  color: #FFF;
}


/* 2. Layout Containers & Spacing  -------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #f7fafc;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(236, 248, 237, 0.09);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  background: #fffdf8;
  border-radius: 16px;
  padding: 32px 18px;
  box-shadow: 0 2px 14px 0 rgba(215, 215, 220, 0.08);
}

.features-grid, .services-list, .testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  margin-bottom: 18px;
}
.features-grid > div, .services-list > div {
  flex: 1 1 250px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 20px 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(168, 197, 188, 0.14);
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid #e2f1df;
}
.features-grid > div:hover, .services-list > div:hover {
  box-shadow: 0 6px 20px 0 rgba(157, 207, 159, 0.21);
  transform: translateY(-2px) scale(1.014);
}
.features-grid img, .services-list img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.services-list > div strong {
  margin-top: 12px;
  color: #6B8A34;
  font-size: 1.05rem;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #f7fbf5;
  border-radius: 18px;
  padding: 20px 26px;
  box-shadow: 0 2px 14px 0 rgba(116,184,107, 0.09);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 420px;
  flex: 1 1 270px;
}
.testimonial-card .star-rating {
  font-size: 1.3rem;
  color: #F4C969;
  letter-spacing: 0.13em;
}
.testimonial-card p {
  color: #254321;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-author {
  color: #78985c;
  font-size: 0.98rem;
  font-weight: 600;
}

.notice {
  background: #FFF3BC;
  color: #906c11;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.98rem;
  margin-top: 8px;
  box-shadow: 0 2px 8px 0 rgba(245,221,103,0.06);
}

.infographic {
  background: #EAF3E7;
  padding: 18px 14px;
  border-radius: 14px;
  margin-top: 14px;
  margin-bottom: 8px;
  box-shadow: 0 1px 6px 0 #e1f2e0;
}

/* 3. Header, Navigation & Mobile Menu  --------------------------------- */
header {
  background: #e8f4ea;
  border-bottom: 1px solid #e1f2e0;
  box-shadow: 0 1px 8px 0 rgba(188,222,194,0.10);
  position: relative;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  position: relative;
}
.main-nav > a img {
  width: 134px;
  height: auto;
  margin-right: 12px;
}
.main-nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav ul li {
  display: flex;
}
.main-nav ul li a {
  color: #205522;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  opacity: 0.96;
  padding: 5px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.12s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #D5ECD2;
  color: #6B8A34;
  opacity: 1;
}
.main-nav .btn-primary {
  margin-left: 22px;
  box-shadow: 0 2px 8px 0 rgba(119,158,110,0.07);
}

/* Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #205522;
  padding: 8px 18px;
  z-index: 102;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus {
  background: #dbeede;
  outline: none;
  border-radius: 12px;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: #f7faf6;
  box-shadow: 0 4px 32px 0 rgba(137, 206, 133, 0.10);
  z-index: 200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-110vw);
  transition: transform 0.32s cubic-bezier(0.6, 0.07, 0.38, 0.94);
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 22px 0 0;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #205522;
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 9px;
  transition: background 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #d5ecd2;
  color: #6B8A34;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin: 40px auto 0 auto;
  align-items: flex-start;
  padding-left: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #205522;
  padding: 10px 16px 10px 0;
  line-height: 1.25;
  border-radius: 8px;
  transition: background 0.1s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ddeee1;
  color: #6B8A34;
}

/* Hide main nav on mobile, show burger */
@media (max-width: 980px) {
  .main-nav ul, .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 980px) {
  .main-nav {
    justify-content: flex-start;
    gap: 5px;
  }
}

/* 4. Section, Card, List Spacing & Flex Patterns ---------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(151,188,98,0.06);
  padding: 30px 16px 22px 16px;
  transition: box-shadow 0.18s, transform 0.11s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.card:hover {
  box-shadow: 0 8px 26px rgba(151,188,98,0.11);
  transform: translateY(-2px) scale(1.01);
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* 5. Footer Styling --------------------------------------------------- */
footer {
  background: #E9EEDC;
  padding: 24px 0 18px 0;
  margin-top: 20px;
  border-top: 2px solid #d7e5cf;
  box-shadow: 0 -1px 16px 0 rgba(212,233,223,0.09);
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}
.footer-nav img {
  width: 56px;
  height: auto;
  margin-right: 16px;
}
.footer-nav nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-nav a {
  color: #6B8A34;
  font-size: 0.98rem;
  transition: color 0.11s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #205522;
  text-decoration: underline;
}
footer p {
  color: #6B8A34;
  font-size: 0.98rem;
  text-align: right;
}

/* 6. Cookie Consent Banner & Modal ------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 18px;
  background: #FFFDF8;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(255,171,96,0.10);
  padding: 26px 24px 20px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  border: 1px solid #F5EED3;
  animation: cookiefadein 0.38s ease;
}
@keyframes cookiefadein {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner p {
  color: #534A3C;
  font-size: 1.01rem;
  margin-bottom: 0;
  flex: 1 1 auto;
}
.cookie-consent-banner .cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-consent-banner button {
  min-width: 120px;
  border-radius: 18px;
  padding: 7px 18px;
  font-size: 1rem;
  font-weight: 600;
  background: #E2EFDC;
  color: #205522;
  border: 1.3px solid #B5C9A6;
  box-shadow: 0 1px 6px 0 rgba(209,202,130,0.06);
  transition: background 0.15s, color 0.15s;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #FFF3BC;
  color: #6B8A34;
  border-color: #D8C970;
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 10002;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(64, 88, 71, 0.18);
}
.cookie-modal-backdrop.open {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalfade 0.2s;
}
@keyframes modalfade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fffdf8;
  padding: 34px 32px 26px 32px;
  border-radius: 18px;
  box-shadow: 0 8px 64px 0 rgba(157,188,96,0.15);
  width: 96vw;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid #faefc1;
  z-index: 10003;
}
.cookie-modal h3 {
  font-size: 1.22rem;
  color: #205522;
}
.cookie-modal .category-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #45444a;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #6B8A34;
  width: 17px; height: 17px;
}
.cookie-modal .category-essential {
  font-weight: 600;
  color: #6B8A34;
}
.cookie-modal .modal-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal button {
  font-size: 1rem;
  border-radius: 18px;
  min-width: 110px;
  padding: 7px 14px;
  border: 1.2px solid #B3B3A6;
  background: #EAF3E7;
  color: #205522;
  transition: background 0.16s, color 0.14s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #FFF3BC;
  color: #6B8A34;
  border-color: #D8C970;
}

/* 7. Misc, Typography Hierarchy, Tags, White Space -------------------- */
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
hr {
  border-color: #e3e7da;
  border-width: 1.5px;
  margin: 34px 0;
}
.section:not(:last-child) {
  margin-bottom: 60px;
}

/* Forms (not present but for future-proofing) */
input, textarea, select {
  border: 1.1px solid #C9DFC0;
  border-radius: 11px;
  padding: 10px 13px;
  background: #fff;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #205522;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.12s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #97BC62;
}

/* 8. Responsive Design (Mobile First) --------------------------------- */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
    max-width: 100vw;
  }
  .main-nav {
    flex-direction: row;
    gap: 16px;
    padding: 13px 0;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
  .footer-nav nav {
    gap: 11px;
  }
  .section, .text-section, .infographic {
    padding: 22px 5px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  .features-grid, .services-list, .testimonials-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    min-width: unset;
    max-width: unset;
    width: 100%;
    padding: 14px 11px;
    gap: 10px;
  }
  .card, .features-grid > div, .services-list > div {
    padding: 16px 10px 11px 10px;
    border-radius: 14px;
    min-width: unset;
    max-width: unset;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    padding: 14px 7px 14px 7px;
    gap: 15px;
    font-size: 0.98rem;
    left: 7px; right: 7px;
  }
  .cookie-modal {
    padding: 16px 9px 15px 9px;
    min-width: unset; width: 99vw;
    max-width: 99vw;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.38rem;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 1.09rem;
    margin-bottom: 9px;
  }
}

/* 9. Utility Classes -------------------------------------------------- */
.mt-0 {margin-top: 0 !important;}
.mb-0 {margin-bottom: 0 !important;}
.mb-16 {margin-bottom: 16px !important;}
.text-center {text-align: center;}
.text-right {text-align: right;}
.text-left {text-align: left;}
.d-flex {display: flex !important;}
.flex-wrap {flex-wrap: wrap !important;}
.gap-24 {gap: 24px !important;}

/* 10. Animations & Microinteractions ---------------------------------- */
.btn-primary, button, .card, .features-grid > div, .services-list > div, .testimonial-card {
  transition: box-shadow 0.23s, background 0.18s, color 0.13s, border-color 0.14s, transform 0.12s;
}
.btn-primary:active, button:active {
  transform: scale(0.98);
}
.card:active, .features-grid > div:active, .services-list > div:active {
  transform: scale(0.99);
}

/* 11. Soft Pastel Theme Colors ---------------------------------------- */
:root {
  --brand-primary: #205522;
  --brand-accent: #6B8A34;
  --brand-secondary: #ffffff;
  --pastel-green: #EAF3E7;
  --pastel-blue: #D6F7FA;
  --pastel-yellow: #FFF3BC;
  --pastel-pink: #FDE6EC;
  --pastel-mint: #B2EAD7;
  --pastel-light: #E9EEDC;
  --pastel-shadow: rgba(151,188,98,0.08);
}

/* 12. Selection & Focus States ---------------------------------------- */
::selection {
  background: #FDE6EC;
  color: #205522;
}
:focus-visible {
  outline: 2.5px solid #97BC62;
  outline-offset: 2px;
}

/* 13. Scrollbar Styling for Webkit/Blink */
body::-webkit-scrollbar {
  width: 11px;
  background: #EAF3E7;
}
body::-webkit-scrollbar-thumb {
  background: #B2EAD7;
  border-radius: 8px;
}

/* END style.css */