html, body {
  height: 100%;
  margin: 0;
  background: #000;
}

#slideshow-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #000;
}

/* Slides */
#slideshow-container .slide {
  position: absolute;
  inset: 0;
  display: none; 
  align-items: center;
  justify-content: center;
  background: #000;
  z-index: 1;
}

#slideshow-container .slide.active {
  display: flex;
}

/* Bild wieder volle Höhe */
#slideshow-container .slide img {
  height: 100vh;    /* volle Höhe */
  width: auto;
  max-width: 100vw;
  display: block;
  background: #000;
  object-fit: contain;
}

/* Pfeile */
#slideshow-container .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 28px;
  line-height: 48px;
  text-align: center;
  cursor: pointer;
  z-index: 100;
  padding: 0;
}
#slideshow-container .nav:hover { background: rgba(0,0,0,0.75); }
#slideshow-container .prev { left: 12px; }
#slideshow-container .next { right: 12px; }

/* Punkte jetzt als Overlay auf dem Bild */
#dots-container {
  position: absolute;
  bottom: 30px; /* Abstand vom unteren Rand, z. B. 30px */
  width: 100%;
  text-align: center;
  z-index: 101;
}

.dot {
  cursor: pointer;
  height: 14px;
  width: 14px;
  margin: 0 4px;
  background-color: #fff;        /* immer weiß */
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 4px rgba(0,0,0,0.7); /* dunkler Schein für Kontrast */
  transition: background-color 0.3s;
}

.dot.active, .dot:hover {
  background-color: #fff;
  box-shadow: 0 0 6px rgba(0,0,0,0.8);
}

@media (max-width: 640px) {
  #slideshow-container .nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
    line-height: 40px;
  }
  .dot {
    height: 10px;
    width: 10px;
    margin: 0 3px;
  }
}
