/* 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,main,footer,header,section,article,aside,nav,figure,figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F4F7FA;
  color: #253245;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #437253;
  text-decoration: underline;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #D9A441;
  text-decoration: none;
}
ul,ol {
  padding-left: 24px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #437253;
}

/* TYPOGRAPHY ========================================== */
h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: #253245;
  line-height: 1.2;
}
h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 18px;
  color: #253245;
  line-height: 1.25;
}
h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #253245;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #253245;
}
p, li {
  font-size: 1rem;
  color: #384B3D;
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
  color: #253245;
}
em {
  font-style: italic;
  color: #437253;
}
blockquote {
  font-style: italic;
  background: #f9f7f3;
  color: #49523b;
  border-left: 4px solid #8FBC73;
  margin: 0 0 16px 0;
  padding: 12px 16px 12px 22px;
  border-radius: 12px;
}

/* CONTAINERS & ORGANIC SPACING ========================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
/* Section spacing rules */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 36px 32px 38px 32px;
  box-shadow: 0 6px 28px rgba(60,60,20,0.09);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
    border-radius: 18px;
  }
}

/* LAYOUT PATTERNS & FLEXBOX ========================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 24px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 3px 16px rgba(68, 79, 52, 0.09);
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 10px 28px rgba(68, 79, 52, 0.17);
}
.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) {
  .content-grid,
  .text-image-section,
  .feature-grid,
  .feature-icons,
  .feature-list,
  .features {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: flex-start;
  }
}

/* HEADER & NAVIGATION ========================================== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(70,70,30,0.06);
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 10px 20px;
  justify-content: space-between;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: #253245;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover,
header nav a:focus {
  background: #D9A44110;
  color: #437253;
}
header a.cta-btn {
  margin-left: 10px;
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
  header nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  header .container nav {
    display: none !important;
  }
  header a.cta-btn {
    display: none !important;
  }
}

/* CTA BUTTONS ========================================== */
.cta-btn {
  display: inline-block;
  background: #8FBC73;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  border: none;
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(60,90,40,0.13);
  padding: 12px 36px;
  cursor: pointer;
  transition: background 0.2s, transform 0.16s, box-shadow 0.2s;
  text-align: center;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #437253;
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 24px rgba(60,120,60,0.14);
}
@media (max-width: 480px) {
  .cta-btn {
    font-size: 1rem;
    padding: 11px 20px;
  }
}

/* HERO SECTIONS ========================================== */
.hero {
  margin-bottom: 60px;
  padding: 42px 0 24px 0;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #F4F7FA 70%, #E6E9E2 100%);
  border-bottom: 1px solid #E2E7DC;
  min-height: 320px;
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 15px;
}
.hero h1 {
  color: #253245;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* FEATURE GRID ========================================== */
.features {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 18px;
  list-style: none;
}
.feature-grid li {
  flex: 1 1 240px;
  background: #F0F4ED;
  border-radius: 18px 28px 22px 20px;
  box-shadow: 0 1px 7px rgba(64,80,38,0.08);
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.18s, background 0.15s;
}
.feature-grid li:hover {
  background: #E9F2E0;
  box-shadow: 0 4px 24px rgba(64,80,38,0.15);
}
.feature-grid img {
  width: 40px;
  margin-bottom: 12px;
}
.feature-grid h3 {
  margin: 0 0 7px 0;
  color: #253245;
}
.feature-icons {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.feature-icons div {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FAF6F0;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 1rem;
  color: #384B3D;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 1px 5px rgba(160, 160, 120, 0.06);
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 0;
  list-style-type: none;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F5F8F2;
  padding: 9px 20px;
  border-radius: 14px;
  font-size: 1rem;
  color: #49523b;
  box-shadow: 0 1px 5px rgba(160, 180, 120, 0.07);
  min-width: 210px;
}
.feature-list img {
  width: 28px;
}

/* SERVICE LIST ========================================== */
.services {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service-list {
  margin: 0 0 18px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style-type: none;
}
.service-list li {
  background: #f7f8f5;
  border-radius: 14px;
  padding: 18px 20px;
  color: #253245;
  font-size: 1.06rem;
  box-shadow: 0 2px 9px rgba(80, 100, 60, 0.06);
}
.service-list em {
  margin-left: 8px;
  font-style: normal;
  background: #D9A44122;
  color: #253245;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 7px;
}

/* TESTIMONIALS ========================================== */
.testimonials {
  margin-bottom: 60px;
  background: #f8fbf4;
  border-radius: 36px;
  padding: 42px 0 20px 0;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 18px 22px 18px 20px;
  box-shadow: 0 2px 12px rgba(112,130,74,0.10);
  min-width: 220px;
  max-width: 390px;
  margin-bottom: 20px;
  flex: 1 1 320px;
  transition: box-shadow 0.18s, background 0.18s;
}
.testimonial-card:hover {
  background: #E7F1E1;
  box-shadow: 0 8px 32px rgba(50,80,50,0.13);
}
.testimonial-card blockquote {
  color: #253245;
  font-size: 1.07rem;
  font-style: italic;
  background: transparent;
  border: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
}
.testimonial-meta {
  font-size: 0.98rem;
  color: #6B8135;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-left: 0;
  margin-top: 8px;
  opacity: 0.9;
}

/* CARDS ========================================== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 22px;
  gap: 12px;
}

/* CONTACT / THANK YOU / LEGAL SECTIONS ========================================== */
.contact,
.thankyou,
.legal,
.about {
  margin-bottom: 60px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 36px rgba(60,60,20,0.07);
  padding: 40px 0 32px 0;
}
.text-section {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul {
  margin: 0;
  padding-left: 22px;
  list-style: inside disc;
}
.text-section li {
  color: #384B3D;
  margin-bottom: 3px;
  font-size: 1rem;
  line-height: 1.45;
}
.text-section a {
  color: #437253;
  text-decoration: underline;
}

/* FOOTER ========================================== */
footer {
  background: #E6E9E2;
  padding: 28px 0 20px 0;
  border-top: 1px solid #D5E4CA;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
footer nav a {
  color: #49523b;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.16s;
}
footer nav a:hover,
footer nav a:focus {
  color: #8FBC73;
}
footer img {
  width: 48px;
}
footer p {
  font-size: 0.92rem;
  color: #6B8135;
  margin: 0;
}

/* MOBILE MENU ============================ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 20px;
  top: 16px;
  z-index: 1100;
  width: 48px;
  height: 48px;
  background: #8FBC73;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.17s;
  box-shadow: 0 2px 10px rgba(70,90,44,0.13);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #437253;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36, 54, 35, 0.98);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.59,.01,.66,1.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100vw;
  height: 100vh;
  padding-top: 54px;
  padding-left: 7vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: #f7f5f0;
  color: #437253;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  box-shadow: 0 1px 8px rgba(160,195,130,0.13);
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E9F2E0;
  color: #253245;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 86vw;
  margin-top: 44px;
}
.mobile-nav a {
  color: #E6E9E2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 16px 0 5px 0;
  transition: color 0.18s;
  text-decoration: none;
  border-bottom: 1px solid #3d5631;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #8FBC73;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* COOKIE CONSENT BANNER + MODAL ============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #253245;
  color: #fff;
  width: 100vw;
  z-index: 1200;
  box-shadow: 0 -2px 18px rgba(50,70,50,0.18);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(.68,.04,.25,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner-text {
  flex: 1;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.1px;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
}
.cookie-btn, .cookie-settings-btn {
  background: #8FBC73;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 7px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  margin-right: 0;
  transition: background 0.17s, box-shadow 0.18s;
  box-shadow: 0 2px 9px rgba(60,120,60,0.09);
}
.cookie-btn.reject {
  background: #D87346;
}
.cookie-btn:hover, .cookie-btn:focus,
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #437253;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1300;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #253245;
  border-radius: 22px;
  max-width: 410px;
  width: 90vw;
  padding: 26px 22px 18px 22px;
  box-shadow: 0 5px 32px rgba(60, 90, 40, 0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInFromBottom 0.28s cubic-bezier(.26,.72,.46,1.05);
}
@keyframes fadeInFromBottom {
  0% { opacity:0; transform: translateY(50px); }
  100%{ opacity:1; transform: translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.18rem;
  color: #437253;
  margin-bottom: 9px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 5px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #F5F8F2;
  border-radius: 10px;
  padding: 8px 13px;
  font-size: 1.01rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #8FBC73;
  width: 18px; height: 18px;
}
.cookie-category.essential input[type="checkbox"] {
  display:none;
}
.cookie-category.essential:after {
  content: 'Immer aktiviert';
  color: #6B8135;
  font-size: 0.97rem;
  margin-left: auto;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #e7efe0;
  color: #6B8135;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #8FBC73;
  color: #fff;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 9px;
  justify-content: flex-end;
}

/* ANIMATIONS AND MICROINTERACTIONS ========================================== */
.card, .feature-grid li, .testimonial-card,
.cta-btn, .service-list li {
  transition: box-shadow 0.18s, background 0.13s, transform 0.16s;
}
.card:hover, .feature-grid li:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.014);
}

/* ORGANIC SHAPES ========================================== */
.hero, .section, .card, .testimonial-card, .feature-grid li, .feature-icons div, .cookie-modal, .cookie-banner {
  border-radius: 34px 24px 42px 18px / 26px 38px 32px 18px;
}

/* COLOR ADJUSTMENTS FOR ORGANIC VIBE ========================================== */
body {
  background: #F4F7FA linear-gradient(125deg, #F4F7FA 80%, #e2e9dc 100%);
}

/* RESPONSIVE DESIGN ========================================== */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.6rem;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
  }
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.23rem;
  }
  .hero, .features, .services, .testimonials, .contact, .thankyou, .legal, .about {
    border-radius: 14px;
    padding: 12px 2vw 16px 2vw;
    margin-bottom: 22px !important;
  }
  .hero {
    min-height: 180px;
    padding: 28px 0 10px 0;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .feature-icons {
    gap: 14px;
  }
  .feature-list {
    flex-direction: column;
    gap: 8px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
}

/* ACCESSIBILITY: FOCUS/OUTLINE ========================================== */
:focus-visible {
  outline: 2.5px solid #8FBC73;
  outline-offset: 1px;
  border-radius: 4px;
  z-index: 2;
}

/* CUSTOM SCROLLBAR ========================================== */
body, .mobile-menu, .cookie-modal {
  scrollbar-color: #8FBC73 #F4F7FA;
  scrollbar-width: thin;
}
@media (hover: hover) {
  body::-webkit-scrollbar, .mobile-menu::-webkit-scrollbar,.cookie-modal::-webkit-scrollbar {
    width: 10px;
    background: #F4F7FA;
  }
  body::-webkit-scrollbar-thumb, .mobile-menu::-webkit-scrollbar-thumb,.cookie-modal::-webkit-scrollbar-thumb {
    background: #8FBC73;
    border-radius: 6px;
  }
}

/* MISC ========================================== */
::-moz-selection { background: #D9A44166; color: #253245; }
::selection { background: #D9A44166; color: #253245; }

/* Ensures minimum 20px margin between all content cards/sections */
.section, .features, .services, .contact, .thankyou, .legal, .about {
  margin-bottom: 60px !important;
}
.card, .testimonial-card, .feature-grid li, .service-list li {
  margin-bottom: 20px !important;
}
.card-container, .card-content, .testimonial-slider, .feature-icons, .feature-list, .feature-grid, .content-grid, .text-image-section {
  gap: 20px !important;
}

/* Prevent absolute content positioning for cards & main blocks */
.card, .testimonial-card, .feature-grid li, .section, .service-list li {
  position: relative !important;
}

/* Z-INDEX LAYERING for overlays/menus/banners ========================== */
.mobile-menu { z-index: 1200; }
.cookie-banner { z-index: 1201; }
.cookie-modal-overlay { z-index: 1300; }

/* UTILITY CLASSES ========================================== */
.d-block { display: block !important; }
.d-none { display: none !important; }

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

