/* Hier steht der komplette CSS-Code aus dem bisherigen <style>...</style>-Block der index2.html */
html,
body {
  overflow-x: hidden;
  width: 100vw;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #f5f5f5;
  color: #222;
}

header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  position: fixed;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0vw;
  width: 100%;
}

.logo-flex {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
}

.logo-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.logo-logo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.2rem;
  line-height: 1;
  text-align: center;
  font-size: 2.3rem;
  font-weight: 500;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.logo-logo .ps {
  color: #468F63;
  font-size: 6rem;
  font-weight: 700;
  line-height: 0.7;
  transform: translateY(0.1em);
}

.logo-logo .rest {
  font-family: Arial, Helvetica, sans-serif;
  color: #555;
  font-size: 2.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  vertical-align: bottom;
}

.logo-sub {
  font-family: Arial, Helvetica, sans-serif;
  color: #555;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-top: -0.2rem;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.nav {
  display: flex;
  align-items: center;
  position: relative;
  margin-right: 20px;
}

.nav a,
.nav button {
  text-decoration: none;
  color: #44865F;
  font-weight: 600;
  font-size: 1.5rem;
  transition: color 0.2s, background 0.2s;
  padding: 0.5rem 0.5rem;
  border-radius: 6px;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav a:hover,
.nav button:hover {
  color: #555;
  background: #eafaf1;
}

.nav .kontakt-btn {
  background: #468F63;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(70, 143, 99, 0.08);
  border: none;
  transition: background 0.2s, color 0.2s;
}

.nav .kontakt-btn:hover {
  background: #eafaf1;
  color: #468F63;
  border-style: solid;
  border-width: 0.5px;
  border-color: #468F63;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 260px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 0 0 8px 8px;
  z-index: 10;
}

.dropdown-content a {
  display: block;
  padding: 0.7rem 1.2rem;
  color: #44865F;
  font-size: 1.1rem;
  border-radius: 0;
  background: none;
}

.dropdown-content a:hover {
  background: #eafaf1;
  color: #222;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}

.dropdown>button:after {
  content: ' ▼';
  font-size: 1em;
}

.subtitle {
  text-align: center;
  color: #888;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

section {
  margin: 3rem auto;
  padding: 2.5rem 2vw;
  opacity: 1;
  transition: opacity 1s, transform 1s;
  max-width: 1100px;
  box-sizing: border-box;
}

section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

section.fade {
  opacity: 0;
  transform: translateY(60px);
}

section h1,
section h2,
section h3 {
  margin-top: 0;
}

.hero {
  background: url('data/2812@2x.webp') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 5rem 2vw 6rem 2vw;
  margin-bottom: 0;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

.hero h1,
.hero p {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  overflow-wrap: break-word;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.3rem;
}

.leistungen-list,
.about-list,
.contact-list {
  list-style: none;
  padding: 0;
}

.leistungen-list li,
.about-list li,
.contact-list li {
  padding-left: 1.2em;
  position: relative;
}

.leistungen-list li:before,
.about-list li:before,
.contact-list li:before {
  content: '•';
  color: #468F63;
  position: absolute;
  left: 0;
}

.leistung-detail {
  margin: 2.5rem auto;
  background: #eafaf1;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 2rem min(2rem, 5vw) 1.5rem min(2rem, 5vw);
  max-width: 900px;
  opacity: 0;
  transform: scale(0.92) translateX(200px);
  transition: opacity 0.5s cubic-bezier(.4, 2, .6, 1), transform 0.5s cubic-bezier(.4, 2, .6, 1), box-shadow 0.5s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  filter: blur(2px);
}

.leistung-detail.visible {
  opacity: 1;
  transform: scale(1) translateX(0);
  box-shadow: 0 8px 32px rgba(70, 143, 99, 0.13);
  filter: blur(0);
}

.leistung-detail.from-left {
  transform: scale(0.92) translateX(-300px);
}

.leistung-detail.from-left.visible {
  transform: scale(1) translateX(0);
}

.leistung-detail.from-right {
  transform: scale(0.92) translateX(300px);
}

.leistung-detail.from-right.visible {
  transform: scale(1) translateX(0);
}

.leistung-detail h3 {
  margin-top: 0;
  color: #468F63;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(70, 143, 99, 0.08);
}

.leistung-detail ul {
  list-style: none;
  padding: 0;
}

.leistung-detail li {
  margin-bottom: 0.5rem;
  padding-left: 1.2em;
  position: relative;
}

.leistung-detail li:before {
  content: '•';
  color: #44865F;
  position: absolute;
  left: 0;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.fact {
  background: #eafaf1;
  border-radius: 10px;
  padding: 1.5rem 2rem;
  min-width: 180px;
  flex: 1 1 0;
  text-align: center;
  box-shadow: 0 8px 32px rgba(70, 143, 99, 0.13);
}

.fact .number {
  font-size: 2.2rem;
  color: #468F63;
  font-weight: bold;
}

.fact .desc {
  color: #555;
  margin-top: 0.5rem;
}

.kontakt {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.kontakt-info {
  flex: 1 1 250px;
}

.kontakt-map {
  flex: 2 1 400px;
  min-width: 300px;
}

.kontakt-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 10px;
}

footer {
  background: #44865F;
  color: #fff;
  text-align: center;
  padding: 2rem;
  border-radius: 0;
}

footer a {
  color: #fff;
  text-decoration: underline;
  margin: 0 0.5rem;
}

.kontakt-btn i {
  display: none;
}

@media (max-width: 900px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0.5rem 1vw;
  }

  .hero h1,
  .hero p {
    max-width: 95vw;
    word-break: break-word;
    hyphens: auto;
  }

  .hero {
    margin-top: 0;
  }


  .logo-flex,
  .logo-logo-wrap {
    min-width: 0 !important;
    max-width: 100vw !important;
    width: auto !important;
    box-sizing: border-box;
  }

  .kontakt-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    padding: 0.5rem 0.7rem;
    min-width: 44px;
    min-height: 44px;
    margin-left: 0;
  }

  .kontakt-btn span {
    display: none;
  }

  .kontakt-btn i {
    margin: 0;
    font-size: 2rem;
    display: inline;
  }

  .hamburger {
    display: flex;
    width: 54px;
    height: 54px;
    font-size: 2.3rem;
    margin-left: 0.5rem;
  }

  .hamburger i {
    font-size: 3rem;
  }

  .facts {
    flex-wrap: wrap;
    gap: 1.2rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .kontakt {
    flex-direction: column;
  }

  .nav {
    gap: 1rem;
  }

  .logo-logo .ps {
    font-size: 1.5rem;
  }

  .logo-logo,
  .logo-logo .rest {
    font-size: 1.2rem;
  }

  .logo-sub {
    font-size: 1.1rem;
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 300;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }

  body {
    padding-top: 90px;
  }

  section {
    padding-left: min(1rem, 3vw);
    padding-right: min(1rem, 3vw);
  }

  .leistung-detail {
    margin-left: min(1rem, 3vw);
    margin-right: min(1rem, 3vw);
  }

  /* Fix for mobile animation: vertical instead of horizontal to prevent cut-off */
  .leistung-detail.from-left,
  .leistung-detail.from-right {
    transform: scale(0.95) translateY(40px);
  }

  .leistung-detail.from-left.visible,
  .leistung-detail.from-right.visible {
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 500px) {

  .header-inner,
  .logo-logo-wrap,
  .logo-logo,
  .logo-sub {
    min-width: 0 !important;
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  body,
  html {
    overflow-x: hidden;
    width: 100vw;
  }
}

@media (max-width: 450px) {

  .header-inner,
  .logo-logo-wrap,
  .logo-logo,
  .logo-sub {
    min-width: 0 !important;
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .kontakt-btn {
    display: none !important;
  }

  body,
  html {
    overflow-x: hidden;
    width: 100vw;
  }
}

section[id] {
  scroll-margin-top: 120px;
}

.leistungen-list {
  display: none;
}

.leistungen-header {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.leistungen-underline {
  display: block;
  margin: 0.5rem auto 1.5rem auto;
  width: 220px;
  height: 6px;
  background: #468F63;
  border-radius: 4px;
}

.leistungen-desc {
  text-align: center;
  font-size: 1.3rem;
  color: #555;
}

.leistungen-desc .gruen {
  color: #468F63;
  font-weight: 700;
}

.about-flex {
  display: flex;
  gap: 3rem;
  align-items: stretch;
  justify-content: center;
  margin: 2.5rem 0 0 0;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.about-img-wrap {
  flex: 1 1 320px;
  display: flex;
  min-width: 260px;
  max-width: 420px;
}

.about-img {
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(70, 143, 99, 0.10);
  object-fit: cover;
}

.about-team-block {
  flex: 2 1 340px;
  padding: 2.2rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 280px;
  max-width: 520px;
}

.about-team-block h3 {
  font-size: 2.1rem;
  color: #468F63;
  margin: 0 0 0.5rem 0;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.about-underline {
  display: block;
  margin: 0.5rem auto 1.5rem auto;
  width: 120px;
  height: 6px;
  background: #468F63;
  border-radius: 4px;
}

.about-team-underline {
  display: block;
  margin: 0.5rem 0 1.2rem 0;
  width: 80px;
  height: 5px;
  background: #7ecba0;
  border-radius: 3px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  color: #444;
  font-size: 1.15rem;
}

.about-list>li {
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.2em;
}

.about-list>li:before {
  content: '•';
  color: #468F63;
  position: absolute;
  left: 0;
}

.about-list ul {
  list-style: none;
  margin: 0.2rem 0 0.5rem 0.5em;
  padding: 0;
  font-size: 1rem;
  color: #555;
}

.about-list ul li:before {
  content: 'o';
  color: #7ecba0;
  position: absolute;
  left: 0;
}

.about-btn {
  display: inline-block;
  background: #7ecba0;
  color: #fff;
  font-weight: bold;
  font-size: 1.25rem;
  padding: 0.7rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 1.2rem;
  box-shadow: 0 2px 8px rgba(70, 143, 99, 0.08);
  transition: background 0.2s, color 0.2s;
  text-align: center;
}

.about-btn:hover {
  background: #468F63;
  color: #fff;
}

@media (max-width: 900px) {
  .about-flex {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .about-img-wrap,
  .about-team-block {
    max-width: 100vw;
    min-width: 0;
  }

  .about-team-block {
    padding: 1.5rem 1rem 1.5rem 1rem;
  }
}

#about {
  padding-bottom: 2.5rem;
}

#why-us {
  background: #5BAD7C;
  color: #fff;
  text-align: center;
  padding: 2rem 2rem;
  margin: 3rem auto;
  max-width: 100vw;
}

#why-us h2 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 2rem;
}

.why-us-grid {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.why-us-item {
  flex: 1 1 300px;
  max-width: 380px;
  text-align: left;
}

.why-us-item h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 0.8rem;
  text-align: center;
}

.why-us-item p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

#kontakt {
  max-width: 1100px;
  margin: 3rem auto;
  border-radius: 12px;
  padding: 2.5rem 2rem;
}

.kontakt-flex {
  display: flex;
  gap: 6rem;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.kontakt-intro {
  flex: 1;
}

.kontakt-intro h2 {
  color: #444;
  font-size: 2.6rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: Arial, sans-serif;
}

.kontakt-underline {
  display: block;
  margin: 0 0 1.5rem 0;
  width: 120px;
  height: 6px;
  background: #468F63;
  border-radius: 4px;
}

.kontakt-intro p {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.6;
}

.kontakt-info-grid {
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 1rem;
  align-items: center;
  font-size: 1.15rem;
  color: #444;
}

.kontakt-item {
  display: contents;
}

.kontakt-icon {
  color: #468F63;
  font-size: 1.6rem;
  margin-right: 0.5rem;
  text-align: center;
}

.kontakt-item a {
  color: #444;
  text-decoration: none;
}

.kontakt-item a:hover {
  color: #468F63;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .kontakt-flex {
    flex-direction: column;
    gap: 2rem;
  }

  .kontakt-intro,
  .kontakt-info-grid {
    max-width: 100%;
  }

  .kontakt-intro {
    text-align: center;
  }

  .kontakt-underline {
    margin-left: auto;
    margin-right: auto;
  }

  .kontakt-info-grid {
    grid-template-columns: auto 1fr;
    gap: 1rem 0.8rem;
    font-size: 1.1rem;
  }

  .kontakt-item a {
    display: block;
  }
}

.full-width-map {
  width: 100%;
  margin-top: 0;
}

.full-width-map iframe {
  display: block;
}

#backToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: rgba(70, 143, 99, 0.7);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#backToTopBtn:hover {
  background-color: #468F63;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120;
  margin-left: 1rem;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #468F63;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 900px) {
  .nav {
    gap: 0.5rem;
    margin-right: 40px
  }

  .nav-link,
  .dropdown {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .kontakt-btn {
    display: inline-block;
    margin-left: auto;
    font-size: 1.2rem;
    padding: 0.5rem 1.1rem;
  }
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(34, 34, 34, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.open {
  display: flex;
}

.mobile-menu-content {
  background: none;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-nav-link,
.mobile-dropdown-btn {
  color: #fff;
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: 600;
  margin: 1.2rem 0;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  width: 100%;
}

.mobile-nav-link:hover,
.mobile-dropdown-btn:hover {
  color: #7ecba0;
}

.close-mobile-menu {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
}

.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.mobile-dropdown.open .mobile-dropdown-content {
  display: flex;
}

.mobile-dropdown-btn:after {
  content: ' ▼';
  font-size: 1.2rem;
}

@media (max-width: 600px) {
  .hero {
    padding: 3rem 0.5rem 2rem 0.5rem;
  }
}

.mobile-dropdown-content a {
  color: #fff;
  background: none;
  font-size: 1.2rem;
  padding: 0.7rem 1.5rem 0.7rem 2.5rem;
  margin: 0.1rem 0;
  text-align: center;
  width: 100%;
  display: block;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.mobile-dropdown-content a:hover {
  background: #7ecba0;
  color: #222;
}

/* Logic for mobile contact button visibility */
.mobile-menu-contact {
  display: none;
  /* Hidden by default */
}

@media (max-width: 450px) {

  /* Show contact link in mobile menu when hidden in header */
  .mobile-menu-contact {
    display: block;
  }
}

.mobile-dropdown-content {
  margin-bottom: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .leistung-detail {
    padding: 1.2rem min(2rem, 5vw) 1rem min(2rem, 5vw);
    font-size: 1rem;
    line-height: 1.4;
    word-break: break-word;
    hyphens: auto;
    box-sizing: border-box;
  }

  .leistung-detail h3 {
    font-size: 1.3rem;
    line-height: 1.2;
    word-break: break-word;
    hyphens: auto;
  }

  .leistung-detail ul,
  .leistung-detail p,
  .leistung-detail strong {
    font-size: 1rem;
    line-height: 1.4;
    word-break: break-word;
    hyphens: auto;
  }

  .leistungen-header {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  #about h2 {
    font-size: 1.7rem !important;
    line-height: 1.2;
  }

  .kontakt-intro h2 {
    font-size: 1.7rem;
    line-height: 1.2;
  }
}

@media (min-width: 800px) {
  .facts {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.0rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .fact {
    width: 100%;
    min-width: 0;
    margin-bottom: 0;
  }
}

@media (min-width: 901px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  }
}

/* Map Consent Placeholder */
#map-container {
  height: 400px;
  background-color: #f0f0f0;
  position: relative;
}

#map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eafaf1;
  color: #333;
  text-align: center;
}

.map-placeholder-content {
  padding: 20px;
  max-width: 600px;
}

.map-placeholder-content h3 {
  color: #468F63;
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.map-placeholder-content p {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.map-placeholder-content a {
  color: #468F63;
  text-decoration: underline;
}

.btn-consent {
  background: #468F63;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background 0.2s;
}

.btn-consent:hover {
  background: #3e7e56;
}