/* =====================================
   Hero-Bereich für Ferienhaus-Seite
===================================== */
.hero-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  color: white;
  text-shadow: 0 0 8px #000;
  font-size: 3em;
  font-weight: bold;
  text-align: center;
  max-width: 90%;
}

/* Tablet (z. B. bis 1024px) */
@media (max-width: 1024px) {
  .hero-image {
    height: 400px;
  }
  .hero-text {
    font-size: 2.5em;
  }
}

/* Smartphone (z. B. bis 768px) */
@media (max-width: 768px) {
  .hero-image {
    height: 300px;
  }
  .hero-text {
    font-size: 1.8em;
  }
}

/* =====================================
   Galerie Grid – Ferienhaus-Innenansicht
===================================== */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2em;
  margin-top: 1.5em;
}

.galerie-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.galerie-grid img:hover {
  transform: scale(1.03);
}

figure {
  margin: 0;
  text-align: center;
}

figcaption {
  margin-top: 0.4em;
  font-size: 0.85em;
  color: #555;
}

/* Lightbox-Stil (wenn JS ergänzt wird) */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px #fff;
}
/* =====================================
   Section raumaufteilung
===================================== */
.raumaufteilung {
  display: flex;
  flex-direction: column;
  text-align: left; 
  align-items: center; 
  margin: 30px auto 0; 
}
.belegung {
 display: flex;
  flex-direction: column;
  text-align: left; 
  align-items: center; 
  margin: 30px 0 30px 0; 
  color: #2e8b57; 
}

/* =====================================
   Lightbox-Stil inkl. Fade-In
===================================== */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  box-shadow: 0 0 20px #000;
  border-radius: 6px;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5em;
  color: white;
  cursor: pointer;
  font-weight: bold;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  font-size: 3em;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 0 0.3em;
  transform: translateY(-50%);
  z-index: 10000;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: #ccc;
}

/* =====================================
   Preisübersicht
===================================== */
.preisbox {
  background: #f8f8f8;
  border: 1px solid #ccc;
  margin: 4em auto;
  padding: 2em;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.preisbox h2 {
  background: #800000;
  color: white;
  margin: -2em -2em 1.5em -2em;
  padding: 0.8em;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  font-size: 1.4em;
  text-align: center;
}

.preis-inhalt {
  text-align: center;
}

.preis-wert {
  font-size: 3em;
  font-weight: bold;
  color: #800000;
  display: block;
  line-height: 1.2;
}

.preis-text {
  color: #777;
  font-size: 0.9em;
}

.preis-details {
  margin-top: 1.5em;
  padding-left: 1.2em;
  text-align: left;
  color: #800000;
  font-size: 0.95em;
  line-height: 1.6;
}
.preis-hr {
  margin-top: 40px;
  
}

/* =====================================
   Galerie-Bilder als Vorschau für Lightbox
===================================== */
.lightbox-thumb {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lightbox-thumb:hover {
  transform: scale(1.03);
}