.slide { display: none; }
.slide.active { display: flex !important; }

.simple-arrow {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #000;
  padding: 0 10px;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  appearance: none;
}
.simple-arrow:focus {
  outline: none;
}

/* Responsive Anpassung */
@media (max-width: 767px) {
  .simple-arrow {
    position: static;
    display: block;
    margin: 20px auto 0 auto;
    transform: none;
    text-align: center;
    font-size: 2rem;
    color: #000;
  }

  .maelstrom-image {
    position: relative;
  }
}

/* Modal Hintergrund */
.art-modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: hidden; 
  background-color: rgba(255,255,255,0.95); /* Sehr dezenter, heller Hintergrund (Galerie-Stil) */
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Sichtbarkeits-Klasse */
.art-modal.show {
  opacity: 1;
}

/* Container für Bild + Text zentrieren */
.art-modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  max-width: 90vh; /* Orientiert sich an der Höhe, damit es immer passt */
}

/* Das Bild */
.art-modal-content {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1); /* Sanfter Schatten */
}

/* Die Legende */
#artModalCaption {
  margin-top: 15px;
  color: #333;
  font-family: inherit; /* Erbt Ihre Schriftart */
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* Schließen Button */
.art-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #aaa;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s;
}

.art-modal-close:hover {
  color: #000;
}

.zoom-img { cursor:pointer; }