.leistungsverzeichnis-section {
    background: linear-gradient(to bottom right, #fdfdfd, #f5f5f5);
    padding: 50px 20px;
    font-family: sans-serif;
    margin-bottom: 80px;
  }
  
  .leistungsverzeichnis-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
    position: relative;
  }
  
  /* Optionaler dekorativer Strich unter dem Titel */
  .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #a39f9f;
    margin: 10px auto 0;
    border-radius: 2px;
  }
  
  .leistungsbereich {
	display: flex;
	flex-direction: column;
    gap: 40px;
  }
  
  .leistungsbereich h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #444;
    font-weight: 500;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
  }
  
  .leistungsbereich ul {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2;  /* 2-spaltige Darstellung der Liste, bei Bedarf entfernen */
    column-gap: 40px;
  }
  
  .leistungsbereich li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    color: #555;
    line-height: 1.5;
  }
  
  .leistungsbereich li::before {
    content: "•";
    color: #888;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
    top: 0;
    transform: translateY(2px);
  }
  

  .material-gallery {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
    font-family: Arial, sans-serif;
}

.gallery-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.gallery-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.gallery-grid {
    display: flex;
    gap: 20px;
}

.gallery-item {
    text-align: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-caption {
    padding: 10px;
    font-size: 0.9rem;
    color: #555;
}

/* Vollbild-Ansicht */
.image-viewer {
    display: none; /* Versteckt standardmäßig */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.image-viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px); /* Hintergrund verschwommen */
    background: rgba(0, 0, 0, 0.5); /* Abdunkelung */
}

.image-viewer img {
    max-width: 90%;
    max-height: 80%;
    z-index: 1001;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#close-viewer {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

#close-viewer:hover {
    color: #ddd;
}


/* Slider Styling */
.slider-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px;
  background-color: #f9f9f9;
}

.slider-container-leistungen {
  position: relative;
  max-width: 80vw;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 5px;
}

.slider-wrapper-leistungen {
  display: flex;
  gap: 15px;
  transition: transform 0.3s ease-in-out;
}

.slider-wrapper-leistungen img {
  width: 33.33%; /* 3 Bilder gleichzeitig */
  height: 350px;
  margin-right: 20px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}


/* Buttons */
.prev-arrow-leistungen,
.next-arrow-leistungen {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 5;
}

.prev-arrow-leistungen {
    left: 10px;
}

.next-arrow-leistungen {
    right: 10px;
}

.prev-arrow-leistungen:hover,
.next-arrow-leistungen:hover {
    background: rgba(0, 0, 0, 0.7);
}




  /* Responsive Anpassungen */
  @media (max-width: 768px) {
    .leistungsbereich ul {
      column-count: 1;
    }
  }
  