/* --- CSS RESET & BASE --- */
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;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #24475F;
  background: #F6F5F3; /* warm neutral */
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: #4C9A2A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus-visible {
  color: #37691A;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #24475F;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: #344e3d;
  margin-bottom: 12px;
}

strong {
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(36,71,95,0.03);
}

/* ---- HEADER & NAVIGATION ---- */
header {
  background: #f7f8f4;
  box-shadow: 0 4px 16px rgba(36, 71, 95, 0.06);
  position: relative;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px 0; 
  position: relative;
}
.main-nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav li {
  display: flex;
  align-items: center;
}
.main-nav a img {
  height: 40px;
  width: auto;
  margin-right: 16px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  padding: 7px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav ul a:hover, .main-nav ul a:focus-visible {
  background: #E8EDE3;
  color: #24475F;
}
.cta-btn {
  background: #4C9A2A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: 0 2px 8px rgba(76,154,42,0.12);
  transition: background 0.22s, color 0.13s, transform 0.16s;
  cursor: pointer;
  margin-left: 12px;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus-visible {
  background: #37691A;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px rgba(76,154,42,0.17);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: #E8EDE3;
  color: #24475F;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 18px;
  right: 16px;
  z-index: 160;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus-visible {
  background: #D1DCBE;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: rgba(232,237,227,0.96);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.5, 0.1, 0.2, 1), opacity 0.15s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: #24475F;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  margin: 24px 0 10px 24px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus-visible {
  background: #E8EDE3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 18px 0 0 32px;
}
.mobile-nav a {
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #24475F;
  padding: 12px 8px;
  border-radius: 8px;
  margin-right: 30px;
  min-width: 180px;
  transition: background 0.22s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus-visible {
  background: #D1DCBE;
  color: #4C9A2A;
}

@media (max-width: 1100px) {
  .main-nav ul {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 8px;
  }
  .cta-btn {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 768px) {
  .main-nav ul, .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .main-nav a img {
    margin-left: 2px;
    height: 32px;
  }
}

/* --- HERO --- */
.hero {
  background: linear-gradient(120deg, #E8EDE3 60%, #f4f7ee 100%); 
  border-radius: 0 0 44px 44px;
  box-shadow: 0 6px 24px rgba(76, 154, 42, 0.07);
  margin-bottom: 48px;
  padding: 48px 0 36px 0;
  min-height: 260px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 750px;
  margin: 0 auto;
  padding-right: 0;
}
.hero .subheadline {
  font-size: 1.15rem;
  color: #4C9A2A;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: -12px;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* --- FLEX/SERVICE/FEATURE PATTERNS --- */
.features,
.feature-grid, .feature-item {
  display: flex;
  flex-wrap: wrap;
  gap: 24px; /* main gap for card spacing */
  justify-content: center;
}
.feature {
  background: #f7fbea;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(76,154,42,0.07), 0 1px 4px #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  max-width: 295px;
  flex: 1 1 240px;
  padding: 28px 22px 26px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.19s, transform 0.19s;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 6px 32px rgba(76,154,42,0.23), 0 1px 6px #e5e7eb;
  transform: translateY(-3px) scale(1.02);
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: #E8EDE3;
  padding: 8px;
  box-shadow: 0 1px 5px rgba(76,154,42,0.07);
}
.price {
  margin-top: 8px;
  background: #E8EDE3;
  color: #24475F;
  border-radius: 16px;
  font-weight: 600;
  padding: 4px 12px;
  font-size: 1rem;
  letter-spacing: 0.15px;
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
  .feature {
    min-width: 180px;
    max-width: 100%;
    padding: 18px 12px 16px 12px;
  }
}

@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .feature {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    margin-bottom: 18px;
  }
}

.card-container, .card-grid, .programmliste-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 11px rgba(36, 71, 95, 0.09);
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(76,154,42,0.13), 0 1px 8px #e5e7eb;
}

.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .text-image-section, .content-grid, .features, .feature-grid, .card-container, .programmliste-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- ORGANIC EFFECTS --- */
.section, .cta-final, .about-highlight, .services-overview, .entwicklungen-tipps, .about-company, .leistungsanspruch-details, .dokumente-ueberblick, .antragsprozess-guide, .faq, .contact-info, .standort-map, .thank-you {
  box-shadow: 0 4px 28px rgba(76,154,42,0.05);
  border-radius: 27px 28px 15px 36px / 21px 36px 27px 24px;
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
}

.section:last-child, .main > section:last-child {
  margin-bottom: 0;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #F0F5F9;
  border-radius: 28px;
  margin-bottom: 60px;
  padding: 50px 0;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin: 32px 0 24px 0;
}
.testimonial-card {
  background: #fff;
  border-radius: 20px 24px 19px 21px / 18px 18px 30px 28px;
  box-shadow: 0 5px 34px rgba(76,154,42,0.11);
  color: #24475F;
  max-width: 350px;
  min-width: 220px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card p {
  color: #283a2e;
  font-size: 1.04rem;
}
.testimonial-card strong {
  color: #4C9A2A;
  font-size: 1.1rem;
  margin-top: 4px;
}
.rating-overview {
  margin: 16px 0 0 0;
}
.rating-overview p {
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #24475F;
}
.rating-overview span {
  color: #E0B200;
  font-size: 1.1em;
  letter-spacing: 1.5px;
}

/* --- FOOTER --- */
footer {
  background: #24475F;
  color: #fff;
  padding: 36px 0 18px 0;
  box-shadow: 0 0 24px rgba(36,71,95,0.15);
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.025rem;
  color: #E8EDE3;
  margin-bottom: 12px;
}
.footer-branding img {
  height: 32px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 12px 0 8px 0;
}
.footer-nav a {
  color: #E8EDE3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .05em;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus-visible {
  color: #A9D084;
}
.footer-info {
  font-size: 0.98rem;
  color: #d1dcbe;
  letter-spacing: .02em;
}
@media(max-width: 830px) {
  footer .container {
    gap: 15px;
  }
  .footer-branding {
    font-size: 0.98rem;
  }
}
@media(max-width: 600px) {
  footer .container {
    gap: 8px;
    padding-left: 5px;
    padding-right: 5px;
  }
  .footer-branding img {
    height: 26px;
  }
}

/* --- CARDS & SECTIONS --- */
.card, .feature {
  border: none;
}
.next-steps-info {
  background: #f7fbea;
  border: 1px solid #D1DCBE;
  border-radius: 18px;
  padding: 22px 18px 12px 18px;
  margin: 32px 0 28px 0;
}

/* --- CTA FINAL / BUTTON --- */
.cta-final, .cta-antragsberatung, .cta-dokumentencheck, .cta-pruefung {
  background: #E8EDE3;
  border-radius: 30px;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 18px rgba(36,71,95,0.03);
}

.cta-final h2, .cta-antragsberatung h2, .cta-dokumentencheck h2, .cta-pruefung h2 {
  margin-bottom: 18px;
  color: #24475F;
}

.cta-final p, .cta-antragsberatung p, .cta-dokumentencheck p, .cta-pruefung p {
  margin-bottom: 18px;
  color: #344e3d;
}

.cta-final .cta-btn, .cta-antragsberatung .cta-btn, .cta-dokumentencheck .cta-btn, .cta-pruefung .cta-btn {
  margin-top: 10px;
}

/* --- SPECIALS --- */
.dokumente-ueberblick ul, .tab-liste ul, .tipps-dokumente ul, .downloads ul, .leistungen-list ul, .icon-liste ul {
  margin-bottom: 16px;
  list-style: none;
  padding-left: 2px;
}
.dokumente-ueberblick ul li, .tab-liste ul li, .tipps-dokumente ul li, .downloads ul li, .leistungen-list ul li, .icon-liste ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #24475F;
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-liste img {
  height: 24px; max-width: 24px; margin-right: 6px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #F8F8F4;
  border-radius: 10px 26px 18px 17px / 16px 19px 18px 18px;
  padding: 18px 16px;
  box-shadow: 0 2px 8px rgba(76,154,42,0.04);
}
.faq-item h3 {
  color: #4C9A2A;
  font-size: 1.08rem;
}

.text-section > ul {
  padding-left: 16px;
  list-style-type: disc;
}
.text-section > ul > li {
  margin-bottom: 10px;
}

ol {
  padding-left: 26px;
  list-style-type: decimal;
}
ol li {
  margin-bottom: 9px;
}

/* --- THANK YOU PAGE --- */
.thank-you {
  background: #f7fbea;
  border-radius: 30px;
  text-align: center;
  padding: 50px 18px 40px 18px;
  box-shadow: 0 2px 17px rgba(76,154,42,0.10);
}
.thank-you h1 {
  margin-bottom: 16px;
}
.thank-you p {
  margin-bottom: 20px;
  font-size: 1.12rem;
}
.next-steps-info {
  margin-bottom: 20px;
}

/* --- ANFAHRT (LOCATION) --- */
.anfahrt-info {
  background: #E8EDE3;
  border-radius: 15px 18px 19px 15px;
  padding: 21px;
  margin-top: 15px;
  font-size: 0.98rem;
}
.anfahrt-info ul {
  padding-left: 15px;
  list-style: disc;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  z-index: 2500;
  background: #24475F;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  box-shadow: 0 -4px 22px rgba(36,71,95,0.15);
  border-radius: 18px 18px 0 0;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.24s cubic-bezier(0.52,0.2,0.32,1.2), opacity 0.16s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(64px);
}
.cookie-banner p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  border: none;
  padding: 10px 25px;
  border-radius: 32px;
  font-weight: 700;
  transition: background 0.18s, color 0.16s, box-shadow 0.14s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #4C9A2A;
  color: #fff;
  box-shadow: 0 1px 7px rgba(76,154,42,0.13);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus-visible {
  background: #37691A;
}
.cookie-btn.reject {
  background: #fff;
  color: #24475F;
  border: 1.5px solid #4C9A2A;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus-visible {
  background: #BDD7A5;
  color: #24475F;
}
.cookie-btn.settings {
  background: #E8EDE3;
  color: #24475F;
  border: 1.5px solid #E8EDE3;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus-visible {
  background: #D1DCBE;
}
@media (max-width:680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 10px;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
    flex-wrap: wrap;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2600;
  background: rgba(36,71,95,0.40);
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
  animation: fadeIn 0.28s cubic-bezier(0.3, 1, 0.55, 1.2);
}
@keyframes fadeIn {
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #24475F;
  border-radius: 20px 26px 22px 20px / 20px 20px 36px 23px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 5px 50px 0px rgba(36,71,95, 0.18);
  padding: 40px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  animation: modalBounceIn 0.34s 1 cubic-bezier(0.52, 1, 0.44, 1.05);
}
@keyframes modalBounceIn {
  from { transform: scale(0.95) translateY(32px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  color: #24475F;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-toggle {
  position: relative;
  width: 46px;
  height: 26px;
  background: #E8EDE3;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-toggle input[type='checkbox'] {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0; top: 0;
  z-index: 1;
  cursor: pointer;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 20px; height: 20px;
  background: #4C9A2A;
  border-radius: 50%;
  transition: left 0.19s, background 0.18s;
}
.cookie-toggle input:checked + .slider {
  background: #4C9A2A;
}
.cookie-toggle input:checked + .slider:before {
  left: 22px; background: #24475F;
}
.slider {
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  border-radius: 16px;
  background: #E8EDE3;
  transition: background 0.15s;
}
.slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #4C9A2A;
  transition: left 0.19s, background 0.18s;
}
.cookie-close-btn {
  position: absolute;
  top: 20px; right: 20px;
  background: transparent;
  border: none;
  color: #24475F;
  font-size: 2rem;
  cursor: pointer;
  outline: none;
}
.cookie-modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-modal-actions .cookie-btn {
  padding: 10px 30px;
  font-size: 1.08rem;
}

/* --- RESPONSIVE GENERAL --- */
@media (max-width: 600px) {
  .container {
    padding: 0 5px;
  }
  .section {
    padding: 26px 7px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 32px 0 18px 0;
  }
}

@media (max-width:400px){
  .cookie-modal-content {
    padding: 15px 3px 8px 3px;
    min-width: 0;
  }
}

/* --- UTILS & MICRO-INTERACTIONS --- */
::-webkit-scrollbar { width: 8px; background: #f0f5f9; }
::-webkit-scrollbar-thumb { background: #bdd7a5; border-radius: 6px; }
:focus-visible {
  outline: 2px solid #4C9A2A;
  outline-offset: 3px;
}

/* Organic decorative SVG overlays (used only as decorations) */
.organic-leaf {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
/* Example .organic-leaf -- This class is for the implementation of SVG leaves only; CONTENT elements never use absolute. */

/* --- END OF FILE --- */
