body {
  font-family: Arial, sans-serif;
  background: linear-gradient(#ffcc70, #ff8c42);
  text-align: center;
  margin: 0;
  color: #222;
}

h1 {
  padding: 20px;
  color: #b30000;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* Galerie-Box */
.card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);

  /* Höhe anpassen: Hochformat sinnvoll */
  aspect-ratio: 3 / 4; /* Breite : Höhe = 3:4 (Portrait) */
  width: 100%;         /* volle Breite des Grid-Elements */
}

/* Bild immer komplett sichtbar */
.card img {
  width: 100%;
  height: 100%;
  object-fit: contain;  
  transition: none !important;
}


.artist {
  margin-top: 8px;
  font-weight: bold;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox img {
  max-width: 85%;
  max-height: 80%;
  border-radius: 12px;
}

.lightbox p {
  color: #fff;
  font-size: 22px;
  margin-top: 15px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

* {
  animation: none !important;
  transition: none !important;
}

@media (max-width: 768px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
}
