/* Fonts */

/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/montserrat-v30-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




/* Colors */

:root {
  --primary-green: #2B3730;
  --beige: #D4B795;
  --light-beige: #F4F1EB;
  --white: #FFFFFF;
  --grey: #D5D7D6;
  --green: #414B45;
}

/* Basis-Styles */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--primary-green);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* Standard Desktop-Padding (wie bisher) */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}


/* 900–1039px */
@media (max-width: 1200px) and (min-width: 900px) {
  .header.container,
  .leistungen-section,
  .infos-content,
  .about-section,
  .kontakt-container {
    padding-left: 56px;
    padding-right: 56px;
  }
}

/* 600–899px */
@media (max-width: 899px) and (min-width: 600px) {
  .header.container,
  .leistungen-section,
  .infos-content,
  .about-section,
  .kontakt-container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* Unter 600px */
@media (max-width: 599px) {
  .header.container,
  .leistungen-section,
  .infos-content,
  .about-section,
  .kontakt-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* Standard Desktop-Padding (wie bisher) */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Ab 900px: Mehr Luft rechts & links */
@media (max-width: 1200px) and (min-width: 900px) {
  .container {
    padding: 0 56px;
  }
}

/* Zwischen 600px und 899px */
@media (max-width: 899px) and (min-width: 600px) {
  .container {
    padding: 0 32px;
  }
}

/* Unter 600px */
@media (max-width: 599px) {
  .container {
    padding: 0 20px;
  }
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-family: 'Montserrat', sans-serif;
}



/* Normale Desktop-Navigation */
.nav-desktop a {
  margin-left: 20px;
  color: var(--grey);
  font-weight: 600;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--beige);
}

/* Burger Button */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Overlay-Menü */
.nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100vh;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding: 30px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

.nav-overlay.active {
  right: 0;
}

.nav-overlay a {
  margin: 15px 0;          
  font-size: 1.25rem;       
  color: #333;
  font-weight: 600;
  text-decoration: none;
}


/* Close Button */
.close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  margin-bottom: 20px;
  cursor: pointer;
}

/* Responsive Regeln */
@media (max-width: 599px) {
  .nav-desktop {
    display: none;
  }

  .burger {
    display: block;
  }
}

@media (min-width: 600px) {
  .nav-overlay {
    display: none !important;
  }

  .close-btn {
    display: none;
  }
}


/* Hero */
.hero-wrapper {
  background: linear-gradient(180deg, rgba(43, 55, 48, 1) 35%, rgba(71, 85, 70, 1) 100%);
  color: var(--white);
  padding-bottom: 240px;
}


.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero .btn {
  padding: 10px 20px;
  font-weight: 600;
  background: var(--white);
  color: var(--primary-green);
  border-radius: 100px;
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero .btn:hover {
  background-color: var(--beige);
  transform: scale(1.01);
}

/* Hero Content */
.hero h1,
.hero p {
  font-size: 2.75rem;
  font-weight: 600;
  margin-bottom: 4px;
}


.hero p {
  color: var(--beige);
  margin-top: 0px;
  margin-bottom: 32px;
}


@media (max-width: 899px) {
  .responsive-line {
    display: block;
    text-align: center;
  }

}

@media (max-width: 599px) {
  .hero h1,
  .hero p {
  font-size: 2.375rem;
}
}

@media (max-width: 499px) {
  .hero h1,
  .hero p {
  font-size: 2.0rem;
}
.hero {
  text-align: center; 
  padding: 32px 20px 0px 20px;
}
}

@media (max-width: 420px) {
  .hero h1,
  .hero p {
  font-size: 1.8rem;
}
.hero {
  text-align: center;
  padding: 32px 20px 0px 20px;
}
}

@media (max-width: 380px) {
  .hero h1,
  .hero p {
  font-size: 1.6rem;
}
}

@media (max-width: 344px) {
  .hero h1,
  .hero p {
  font-size: 1.5rem;
}

.hero {
  text-align: center;
  padding: 32px 20px 0px 20px;
}
}

/* Card Grid  */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px;
  margin-top: -160px; 
  position: relative;
  z-index: 2;
  padding: 0 20px; 
}

@media (max-width: 837px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 32px;
  }
}

@media (max-width: 599px) {
  .card-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

@media (max-width: 837px) and (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .card-grid .card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center; 
    max-width: 360px;
  }
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0px 4px 204px rgba(0, 0, 0, 0.20);
  text-align: center;
}

.card h3 {
  color: var(--beige);
  font-size: 1rem;
}

.card p {
  color: var(--primary-green);
  font-weight: 600;
  font-size: 1.1rem;
}

.grafik {
  max-height: 100px;
  margin: 32px 0px;
}

@media (max-width: 599px) {
  .grafik {
  max-height: 100px;
  margin: 16px 0px 24px 0px;
}
}


.leistungen-section p {
  padding-top: 16px;
  padding-left: 4px;
  line-height: 1.6rem;
  color: var(--green);
}

.leistungen-section summary {
  padding-left: 4px;
  line-height: 2rem;
}

.leistungen-section {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 80px;
  font-family: 'Montserrat', sans-serif;
}

.leistungen-section h2 {
  text-align: center;
  color: var(--primary-green);
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: 600;
}

.leistungen-section details {
  padding: 32px 0;
  border-bottom: 1px solid var(--grey);
  color: var(--primary-green);
}

.leistungen-section details:last-of-type {
  border-bottom: none;
}

.leistungen-section summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--green);
  list-style: none;
  cursor: pointer;
}


/* Info & About */
.infos-bg {
  background: var(--light-beige);
}


.infos-content {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  color: var(--green);
}

.infos-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.infos-content p {
  max-width: 800px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
  font-size: 1rem;
}


@media (max-width: 767px) {
  .Feldmann {
  margin-top: 40px;
}
}

.bdb-logo {
  background: var(--white);
  max-width: 380px;
  padding: 32px 48px;
  border-radius: 16px;
  box-shadow: 0px 4px 204px rgba(0, 0, 0, 0.13);
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.bdb-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-section {
  padding-top: 80px;
  padding-bottom: 80px;
  font-family: 'Montserrat', sans-serif;
  color: var(--green);
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 599px) {
  .about-section {
  padding-bottom: 48px;
}
}


.about-section h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 60px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  align-items: center;
}

.about-grid img {
  max-width: 380px;
  border-radius: 12px;
  object-fit: cover;
  justify-self: end;
}

.text-block h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.text-block ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.text-block li {
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 1.5;
}

/* Optional: Bullet-Farbe leicht beige */
.text-block ul li::marker {
  color: var(--beige);
}

/* Responsive */
@media (max-width: 767px) {
  .about-grid {
    grid-template-columns: 1fr;
    place-items: center;
  }

  .about-grid img {
    width: 440px;
    border-radius: 12px;
    justify-self: center;
  }

  .bdb-logo {
    justify-self: center;
  }

  .text-block {
    max-width: 500px;
    padding: 0 10px;
  }
}

@media (max-width: 499px) {
  .about-grid img {
    width: 100%;
    border-radius: 12px;
  }
}



.kontakt-wrapper {
  background: linear-gradient(180deg, rgba(71, 85, 70, 1) 20%, rgba(43, 55, 48, 1) 100%);
  color: var(--white);
  margin-top: 64px;
  padding-top: 80px;
  padding-bottom: 8px;
  text-align: center;
}

@media (max-width: 599px) {
  .kontakt-wrapper {
  margin-top: 0px;
}
}

.kontakt-container {
  max-width: 600px;
  margin: 0 auto;
}

.kontakt-container h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: 600;
}

.kontakt-box {
  background: var(--white);
  color: var(--primary-green);
  padding: 56px 56px 48px 56px;
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  font-size: 1rem;
  max-width: 600px; /* etwas größer */
  margin: 0 auto 88px auto; /* mehr Abstand zum Footer-Text */
}


.kontakt-box p {
  margin: 0 0 14px;
  line-height: 1.5;
}

.kontakt-box hr {
  border: none;
  border-top: 1px solid var(--grey);
  margin: 32px 0;
}


.contact-line {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

@media (max-width: 525px) {
  .contact-line {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
}

@media (max-width: 371px) {
  .contact-line {
  gap: 8px;
  margin-bottom: 16px;
}
}

@media (max-width: 370px) {
  .contact-info,
  .contact-line,
  .contact-line-2 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-line {
    margin-bottom: 24px;
  } 

  .contact-label {
    justify-content: center;
  }

  .contact-value {
    text-align: center;
  }
}


.contact-line-2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.contact-label img {
  width: 20px;
  height: auto;
  flex-shrink: 0;
}

.contact-value {
  font-size: 1rem;
  line-height: 1.4;
}


.footer-meta {
  font-size: 0.9rem;
  color: var(--grey);
  text-align: center;
  border-top: 1px solid #6e6e6e;
  padding: 32px;
  max-width: 540px;
  margin: 0 auto; /* ✅ zentriert die Box */
}


.footer-meta a {
  color: var(--grey);
  font-weight: 600; /* Semibold */
  margin: 0 6px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-meta a:hover {
  color: var(--beige);
  text-decoration: none;
}



.contact-info p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}


.contact-info p strong {
  font-weight: 600;
  flex-shrink: 0;
}


.contact-info p span {
  font-weight: 400;
}


@media (max-width: 500px) {
  .kontakt-box {
    padding: 48px 32px;
    align-content: center;
  }

  .contact-info p {
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    gap: 0px;
    text-align: center;
  }

  .kontakt-box hr {
  margin: 40px 0;
  }
}



details {
  margin: 10px 0;
}





.content-section {
  max-width: 1000px;
  color: var(--green);
  margin: 0 auto;
  padding: 32px 56px;
  text-align: left;
}

.heading {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.content-section p, ul {
  
  margin-top: 0px;
  margin-bottom: 40px;
  line-height: 1.6;
  font-size: 1rem;
}

.content-section h4 {
  max-width: 800px;
  margin-bottom: 6px;
  margin-top: 0px;
  line-height: 1.6;
  font-size: 1rem;
}

/* 900–1039px */
@media (max-width: 1200px) and (min-width: 900px) {
  .content-section {
    padding-left: 56px;
    padding-right: 56px;
  }
}

/* 600–899px */
@media (max-width: 899px) and (min-width: 600px) {
  .content-section {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* Unter 600px */
@media (max-width: 599px) {
  .content-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.impressum-nav {
background-color: var(--primary-green);
}


.impressum-footer {
  font-size: 0.9rem;
  color: var(--grey);
  text-align: center;
  padding: 0px 32px 0px 32px;
  max-width: 540px;
  margin: 0 auto; /* ✅ zentriert die Box */
}

.impressum-footer a {
  color: var(--grey);
  font-weight: 600; /* Semibold */
  margin: 0 6px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.impressum-footer a:hover {
  color: var(--beige);
  text-decoration: none;
}


.impressum-footer-wrapper {
  background: linear-gradient(180deg, rgba(71, 85, 70, 1) 20%, rgba(43, 55, 48, 1) 100%);
  color: var(--white);
  padding-top: 48px;
  padding-bottom: 48px;
  text-align: center;
}


html {
  scroll-behavior: smooth;
}




#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 1000;
  background-color: #2B3730; /* Primärgrün */
  border: none;
  border-radius: 12px;
  width: 52px;
  height: 52px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: var(--beige);
  transform: scale(1.02);
}
 



.details-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

details[open] .details-content {
  max-height: 1000px; /* groß genug, um den Inhalt aufzunehmen */
}




.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}






