/* ========== GRUNDSTRUKTUR ========== */
.single-picture {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  margin: 10px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.single-picture:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ========== BILDSTILE ========== */
.picture-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}

.picture-img:hover {
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25);
}

/* ========== QUER- UND HOCHFORMAT ========== */
.single-picture.landscape .picture-img {
  aspect-ratio: 4 / 3;
}

.single-picture.portrait .picture-img {
  aspect-ratio: 3 / 4;
}

/* ========== LABEL UNTER DEM BILD ========== */
.picture-label {
  margin-top: 8px;
  font-size: 15px;
  color: #444;
  font-weight: 500;
  line-height: 1.4;
  max-width: 95%;
}

/* ========== GRID-LAYOUT ========== */
.picture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
  justify-items: center;
}

@media (max-width: 768px) {
  .picture-grid {
    gap: 15px;
  }
}

/* ========== LIGHTBOX ========== */
#lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  padding: 40px;
  background: rgba(0, 0, 0, 0.85);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  text-align: center;
  animation: fadeIn 0.3s ease-out;
}

#lightbox img {
  max-width: 90%;
  max-height: 85vh;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

#lightbox span {
  display: block;
  color: white;
  font-size: 18px;
  margin-top: 10px;
}

#lightbox-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
  font-size: 48px !important;
}

#lightbox-close:hover {
  color: #ff8a00;
}

/* ========== ANIMATIONEN ========== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========== SEITENABSCHNITT ========== */
.wohnung-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 4rem auto auto auto;
}

.wohnung-section h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.wohnung-section p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
