/* --- CSS RESET & BASE STYLES --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A4532;
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
input, textarea, button, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: underline;
  transition: color .2s;
}
a:hover, a:focus {
  color: #1A4532;
  text-decoration: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1A4532;
  margin-bottom: .75em;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 1px solid #E6F4F1;
  box-shadow: 0 2px 8px rgba(26,69,50,0.02);
  position: sticky;
  top: 0;
  z-index: 25;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #1A4532;
  border-radius: 6px;
  padding: 8px 12px;
  transition: background .2s, color .2s;
}
header nav a:hover, header nav a:focus {
  background: #B2D6A8;
  color: #1A4532;
}
header a.cta-primary {
  background: #1A4532;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 1.05rem;
  box-shadow: 0 2px 6px rgba(26,69,50,0.04);
  text-decoration: none;
  transition: background .2s, box-shadow .2s;
  margin-left: 16px;
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-block;
}
header a.cta-primary:hover, header a.cta-primary:focus {
  background: #125134;
  box-shadow: 0 4px 12px rgba(26,69,50,0.10);
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1A4532;
  position: absolute;
  top: 18px;
  right: 26px;
  z-index: 90;
  cursor: pointer;
  border-radius: 8px;
  padding: 8px 12px;
  transition: background .2s, color .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E6F4F1;
  color: #125134;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  margin: 18px 24px 10px 0;
  color: #1A4532;
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 10px;
  transition: background .2s, color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #E6F4F1;
  color: #125134;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 32px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #1A4532;
  text-decoration: none;
  padding: 10px 0;
  width: 100%;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B2D6A8;
  color: #1A4532;
}
@media (max-width: 980px) {
  header nav, header a.cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    top: 20px;
    right: 20px;
  }
}

/* --- HERO / SECTION HEADINGS --- */
.hero {
  padding: 64px 0 44px 0;
  background: #E6F4F1;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero h1 {
  color: #1A4532;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.20rem;
  margin-bottom: 32px;
  color: #1A4532;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta {
  background: #B2D6A8;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(26,69,50,0.03);
  margin-bottom: 36px;
}
.cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.cta h2 {
  color: #1A4532;
  margin-bottom: 8px;
  font-size: 2rem;
}

/* --- FEATURE GRID --- */
.features .content-wrapper {
  gap: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(26,69,50,0.04);
  flex: 1 1 210px;
  min-width: 200px;
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .2s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(26,69,50,0.09);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  filter: grayscale(10%);
}

/* --- GENERAL FEATURE ITEMS if alone --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- SERVICES/CARDS --- */
.services .service-cards,
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services .service-cards > div,
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(26,69,50,0.04);
  padding: 24px 22px;
  flex: 1 1 260px;
  min-width: 225px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: box-shadow .20s;
}
.services .service-cards > div:hover,
.card:hover {
  box-shadow: 0 6px 24px rgba(26,69,50,0.09);
}
.services .service-cards h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.services .service-cards span {
  font-size: 1rem;
  color: #1A4532;
  opacity: .8;
  margin-bottom: 7px;
}
.services .service-cards a {
  align-self: flex-start;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1A4532;
  background: #E6F4F1;
  padding: 7px 18px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  margin-top: 6px;
  transition: background .2s, color .2s;
}
.services .service-cards a:hover, .services .service-cards a:focus {
  background: #B2D6A8;
  color: #1A4532;
}

/* --- CARDS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26,69,50,0.05);
  padding: 28px 16px;
  transition: box-shadow .17s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(26,69,50,0.09);
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #E6F4F1;
  border-radius: 20px;
  padding: 42px 0 32px 0;
  margin-bottom: 40px;
}
.testimonials .content-wrapper {
  gap: 20px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(26,69,50,0.04);
  min-width: 260px;
  max-width: 420px;
  transition: box-shadow .20s;
}
.testimonial-card p {
  color: #1A4532;
  font-size: 1.1rem;
  margin-bottom: 2px;
}
.testimonial-meta {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #125134;
  font-size: .98rem;
  font-weight: 600;
}

/* --- GENERAL LISTS & TEXT BLOCKS --- */
.text-section {
  margin-bottom: 24px;
  font-size: 1.07rem;
}
.text-section ul, .text-section ol {
  margin-bottom: 0;
}
.text-section li {
  margin-bottom: 8px;
}
.legal .text-section {
  background: #F7FBF9;
  border-radius: 8px;
  padding: 18px 18px 10px 18px;
  font-size: 1rem;
}

/* --- SECTION ALIGNMENTS --- */
.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: stretch;
    gap: 18px;
  }
}

/* --- CTA BUTTONS --- */
.cta-primary {
  background: #1A4532;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 9px;
  padding: 12px 38px;
  font-size: 1.07rem;
  box-shadow: 0 6px 22px rgba(26,69,50,0.07);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .18s, box-shadow .18s, color .18s;
  display: inline-block;
  margin-top: 10px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #B2D6A8;
  color: #1A4532 !important;
  box-shadow: 0 2px 10px rgba(26,69,50,0.13);
}

/* --- FORMS (Kontaktseite/Future proof) --- */
input, textarea, select {
  padding: 10px 14px;
  border: 1px solid #B2D6A8;
  border-radius: 7px;
  margin-bottom: 18px;
  font-size: 1rem;
  background: #fff;
  color: #1A4532;
  transition: border-color .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #1A4532;
}

/* --- LAYOUT: spacing between sections --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 800px) {
  .feature-grid,
  .services .service-cards,
  .card-container,
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div,
  .services .service-cards > div,
  .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

/* --- FOOTER --- */
footer {
  background: #F7FBF9;
  border-top: 1px solid #E6F4F1;
  padding: 36px 0 18px 0;
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
footer nav a {
  color: #1A4532;
  opacity: 0.7;
  text-decoration: none;
  transition: opacity .2s;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
}
footer img {
  width: 48px;
  height: 48px;
  margin-bottom: 0;
  margin-right: 18px;
}
footer span {
  color: #1A4532;
  opacity: 0.7;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #B2D6A8;
  box-shadow: 0 -1px 16px rgba(26,69,50,0.11);
  z-index: 9999;
  padding: 20px 18px 18px 18px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s;
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: all;
}
.cookie-banner-message {
  color: #1A4532;
  font-size: 1rem;
  max-width: 480px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  align-items: center;
}
.cookie-banner .cookie-btn {
  padding: 9px 22px;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  background: #E6F4F1;
  color: #1A4532;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cookie-banner .cookie-btn.primary {
  background: #1A4532;
  color: #fff;
}
.cookie-banner .cookie-btn.primary:hover, .cookie-banner .cookie-btn.primary:focus {
  background: #B2D6A8;
  color: #1A4532;
}
.cookie-banner .cookie-btn:focus,
.cookie-banner .cookie-btn:hover {
  background: #B2D6A8;
  color: #1A4532;
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,69,50,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 48px rgba(26,69,50,0.11);
  max-width: 420px;
  width: 95vw;
  padding: 34px 28px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fade-in-modal .35s cubic-bezier(.77,0,.18,1);
}
@keyframes fade-in-modal {
  from { transform: translateY(32px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: #1A4532;
  margin-bottom: 4px;
  font-weight: 700;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal-category input[type=checkbox] {
  accent-color: #1A4532;
  width: 18px;
  height: 18px;
  border-radius: 5px;
}
.cookie-modal .cookie-btn-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 17px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #1A4532;
  border-radius: 5px;
  padding: 5px 7px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E6F4F1;
  color: #1A4532;
}

@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px 14px 8px;
    gap: 14px;
  }
}

/* --- RESPONSIVE HEADINGS & SPACING --- */
@media (max-width: 550px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  .hero h1 { font-size: 1.40rem; }
  .hero {
    padding: 30px 0 20px 0;
  }
  .section {
    padding: 24px 8px;
  }
  section {
    padding: 24px 8px;
  }
  .card, .services .service-cards > div {
    padding: 20px 10px;
  }
  .feature-grid > div {
    padding: 15px 8px 16px 8px;
  }
  .testimonial-card {
    padding: 16px 10px;
  }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
button, .cta-primary, .cookie-btn {
  transition: background .2s, color .2s, box-shadow .2s;
}
.card, .services .service-cards > div, .testimonial-card, .feature-grid > div {
  transition: box-shadow .22s;
}

/* --- TYPOGRAPHY SCALE --- */
@media (max-width: 480px) {
  body, .container { font-size: 0.98rem; }
}

/* --- UTILITIES --- */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* --- Hide scrollbar for mobile menu overlay --- */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* --- Overlay z-index correction if banner/modal open --- */
body.modal-open {
  overflow: hidden;
  height: 100vh;
}

/* --- ACCENT UTILITIES --- */
.bg-accent {
  background: #E6F4F1;
}
.bg-secondary {
  background: #B2D6A8;
}
.bg-primary {
  background: #1A4532;
  color: #fff;
}

/* --- HIGH CONTRAST FOR TESTIMONIALS/REVIEW --- */
.testimonial-card, .testimonials {
  color: #1A4532;
  background: #fff;
}

/* --- END OF CSS --- */
