/* Slideshow im Kopfbereich der Startseite (ersetzt das statische startbild.jpg) */
.slideshow {
  position: relative;
  width: 100%;              /* füllt nur die Spalte .inhalt2_2_main, nicht die ganze Seitenbreite */
  aspect-ratio: 773 / 517;  /* Seitenverhältnis des bisherigen Fotos */
  overflow: hidden;
  isolation: isolate;       /* Slideshow-Ebenen bleiben unter dem fixierten Menü (z-index 7000) */
  background: #f8f8f8;
}
.slideshow .slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
}
.slideshow .slide.active {
  opacity: 1;
  visibility: visible;
}
.slideshow .slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slideshow .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(9, 100, 57, .75); /* Grün passend zur Seite (#096439) */
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .2s;
}
.slideshow .arrow:hover,
.slideshow .arrow:focus-visible {
  background: #096439;
}
.slideshow .prev { left: 10px; }
.slideshow .next { right: 10px; }
.slideshow .dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.slideshow .dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, .25);
  cursor: pointer;
}
.slideshow .dot.active { background: #fff; }

@media (max-width: 600px) {
  .slideshow .arrow { width: 34px; height: 34px; font-size: 1rem; }
  .slideshow .prev { left: 6px; }
  .slideshow .next { right: 6px; }
}
