.youtubesliderspacelmn {
  padding-top: 0 !important; 
}

.lmn-youtube-slider {
  background: #484D6D;
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.lmn-youtube-slider h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.lmn-youtube-slider .subheadline {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #fff;
}

.lmn-youtube-slider .below-slider {
  margin-top: 2rem;
  font-size: 1.2rem;
  max-width: 800px;
  margin-inline: auto;
  color: #fff;
}

.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: 100%;
}

.slider-track {
  display: flex;
  gap: 2rem;
  overflow: hidden;
  flex-grow: 1;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

.slide {
  position: relative;
  flex: 0 0 calc(33.333% - 1.33rem);
  max-width: 500px;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slide:hover {
  transform: scale(1.02);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 1rem;
}

.slide:hover .overlay {
  opacity: 1;
}

.play-button {
  font-size: 2.5rem;
  margin-top: 0.5rem;
}

.slider-btn {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 1rem;
  flex-shrink: 0;
  transition: background 0.2s;
}

.slider-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Modal */
.lmn-youtube-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lmn-youtube-modal .modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
}

.lmn-youtube-modal iframe {
  width: 100%;
  height: 450px;
}

.lmn-youtube-modal .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}

/* CTA */
.youtube-cta-inline {
  margin: 1rem 0 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 1.2rem;
  text-align: center;
  color: #fff;
}

.youtube-cta-inline p {
    color: #fff;
  margin: 0;
}

.youtube-cta-inline a {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}

.youtube-cta-inline a:hover {
  color: #f5c518;
}

.youtube-logo img {
  height: 30px;
  width: auto;
  display: block;
}

/* TABLET & MOBILE */
/* Tablet: <=1200px, nur 1 Slide, kein Scrollbalken */
@media (max-width: 1200px) {
  .slider-track {
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .slide {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: center;
  }
}

/* kleine Geräte */
@media (max-width: 768px) {
  .slider-btn {
    display: none;
  }
}
.lmn-youtube-slider {
  overflow-x: hidden;
}

.slider-wrapper {
  overflow-x: hidden;
}

.slider-track {
  overflow-x: hidden;
}


.slider-btn.disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}



