/* Nur für Ausstellung */
body.ausstellung {
  margin: 0;
  background: #111;
  color: #eaeaea;
  font-family: "Georgia", serif;
}

/* Header */
body.ausstellung .museum-header {
  text-align: center;
  padding: 80px 20px 40px 20px;
  letter-spacing: 5px;
}

body.ausstellung h1 {
  font-weight: 300;
  font-size: 40px;
}

body.ausstellung .subtitle {
  font-size: 14px;
  opacity: 0.6;
  margin-top: 10px;
}

/* Galerie – moderner kuratierter Look */
body.ausstellung .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 80px 60px;
  padding: 100px;
}

/* Einzelnes Werk */
body.ausstellung .artwork {
  position: relative;
  cursor: pointer;
  transition: transform 0.5s ease;
}

body.ausstellung .artwork img {
  width: 100%;
  height: auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  transition: transform 0.6s ease;
}

/* Hover-Effekt wie Galerie */
body.ausstellung .artwork:hover img {
  transform: scale(1.04);
}

/* Overlay minimal */
body.ausstellung .overlay {
  margin-top: 20px;
  opacity: 0.8;
}

body.ausstellung .overlay h3 {
  margin: 0;
  font-size: 18px;
  font-weight: normal;
}

body.ausstellung .overlay p {
  margin: 4px 0 0 0;
  font-size: 14px;
  opacity: 0.6;
}

/* Modal */
body.ausstellung .modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
  padding: 60px;
}

body.ausstellung .modal-inner {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

body.ausstellung .modal img {
  max-height: 70vh;
  max-width: 100%;
  margin-bottom: 40px;
}

body.ausstellung .art-info h2 {
  font-size: 28px;
  font-weight: 300;
}

body.ausstellung .art-info p {
  opacity: 0.7;
  margin: 10px 0;
}

body.ausstellung .close {
  position: absolute;
  top: 40px;
  right: 60px;
  font-size: 40px;
  cursor: pointer;
}


/* -------------------- Mobile Styles -------------------- */
@media screen and (max-width: 768px) {

  /* Header */
  body.ausstellung .museum-header {
    padding: 60px 10px 20px 10px;
    letter-spacing: 2px;
  }

  body.ausstellung h1 {
    font-size: 28px;
  }

  body.ausstellung .subtitle {
    font-size: 12px;
  }

  /* Galerie: einspaltig, kleinere Abstände */
  body.ausstellung .gallery {
    grid-template-columns: 1fr;
    gap: 40px 20px;
    padding: 50px 20px;
  }

  /* Einzelnes Werk */
  body.ausstellung .artwork img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }

  /* Overlay */
  body.ausstellung .overlay h3 {
    font-size: 16px;
  }

  body.ausstellung .overlay p {
    font-size: 12px;
  }

  /* Modal */
  body.ausstellung .modal {
    padding: 20px;
  }

  body.ausstellung .modal img {
    max-height: 50vh;
    margin-bottom: 20px;
  }

  body.ausstellung .art-info h2 {
    font-size: 20px;
  }

  body.ausstellung .art-info p {
    font-size: 14px;
    margin: 6px 0;
  }

  body.ausstellung .close {
    top: 20px;
    right: 20px;
    font-size: 30px;
  }
}

/* Sehr kleine Smartphones */
@media screen and (max-width: 480px) {
  body.ausstellung .museum-header {
    padding: 40px 10px 10px 10px;
  }

  body.ausstellung h1 {
    font-size: 22px;
  }

  body.ausstellung .gallery {
    padding: 30px 10px;
    gap: 30px 15px;
  }

  body.ausstellung .art-info h2 {
    font-size: 18px;
  }

  body.ausstellung .art-info p {
    font-size: 12px;
  }
}