body{
	 font-family: 'Merienda';font-size: 15px;
}
.nav-item{
	padding-right: 12px;
	padding-left: 12px;
}
.flag{
	max-height: 20px;
	max-width: 20px;
	margin-top: 10px;
}
.nav-link.active{
	background-color: lightgrey !important;
}

.reserve-container{
	position: relative;
}
.card-body{
	-webkit-transition: all 1s ease; /* Safari and Chrome */
  	-moz-transition: all 1s ease; /* Firefox */
  	-o-transition: all 1s ease; /* IE 9 */
  	-ms-transition: all 1s ease; /* Opera */
  	transition: all 1s ease;
}
.card-body:hover{
	-webkit-transform: scale(1.02);
	-moz-transform: scale(1.02);
	-o-transform: scale(1.02);
	-ms-transform: scale(1.02);
	transform: scale(1.02);
}

.reserve-text{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.image-reserve{
	opacity: 0.4;
	max-height: 750px;
}

.carousel-caption{
	top: 40%;
}

.carousel-inner {
  max-width: 60%;           /* mehr Abstand links und rechts */
  margin: 0 auto;
  background-color: #fff;   /* weißer Rand */
  border-radius: 8px;
  overflow: hidden;
}

.img-slider {
  height: 450px;            /* etwas höher als vorher */
  object-fit: cover;        /* Bild füllt, minimaler Beschnitt */
  width: 100%;
}

@media (max-width: 768px) {
  .carousel-inner {
    max-width: 100% !important;  /* volle Breite auf Smartphones */
    margin: 0 auto;
    border-radius: 0;            /* optional: Ecken abrunden aus */
    background-color: #fff;      /* falls gewünscht */
  }
  .img-slider {
    height: 400px;               /* Höhe anpassen für Mobil */
  }
}

.navMenu{
	padding-top: 75px;
	padding-bottom: 20px;
}

.card-img-top{
	height: 200px;
}

.map{
	height: 320px;
}
/* Standard: auf großen Geräten ausblenden */
.only-mobile {
  display: none;
  z-index: 10 !important; /* z.B. kleiner als Pop-up */

}

/* Nur auf Smartphones anzeigen (max 506px) UND nur wenn KEIN Popup offen ist */
@media screen and (max-width: 768px) {
  body:not(.popup-open) .only-mobile {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 999999999 !important;
    padding: 0 10px;
    position: relative;
    width: 100%;
  }

  .only-mobile .col-6 {
    width: 50%;
    padding: 0 5px;
  }
}

/* Popup geöffnet → Footer ausblenden */
@media screen and (max-width: 768px) {
  body.popup-open .only-mobile {
    display: none !important;
  }
}

/* Fallback, falls Bootstrap nicht vorhanden ist */
.row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.col-6 {
  width: 50%;
  padding: 0 5px;
}


.footer{
	margin-bottom: 30px;
	margin-top: 30px;
	padding-top: 20px;
}
.social-icon{
	font-size:28; 
}

 /* Styling für den Scroll-Button */
        .scroll-button {
            position: fixed;
            bottom: 40px; /* Abstand zum unteren Rand erhöht */
            right: 40px; /* Abstand zum rechten Rand erhöht */
            background-color: #ddd; /* Leicht graue Hintergrundfarbe */
            border: none;
            border-radius: 50%; /* Runder Button */
            padding: 15px; /* Mehr Platz um den Button */
            cursor: pointer;
            transition: background-color 0.3s; /* Animation für Hintergrundfarbe */
			z-index: 9999; /* Eine hohe Z-Reihenfolge, um den Button über dem Inhalt zu positionieren */

        }

        .scroll-button i {
            color: white; /* Farbe des Bildes (weiß) */
            font-size: 24px; /* Größe des Bildes erhöht */
			z-index: 9999; /* Eine hohe Z-Reihenfolge, um den Button über dem Inhalt zu positionieren */

        }

        /* Hover-Effekt für den Button */
        .scroll-button:hover {
            background-color: #aaa; /* Dunklere Hintergrundfarbe beim Überfahren */
        }

        /* Media Query, um den Button nur auf größeren Bildschirmen als Handys anzuzeigen */
        @media only screen and (max-width: 667px) {
            .scroll-button {
                display: none; /* Auf Handys ausblenden */
            }
        }


.reviewueberlagern {
    position: fixed !important;
    width: 100%;
    height: 37px; /* Höhe des Containers */
    background-color: green; /* Hintergrundfarbe */
	animation: none !important;
    background-color: rgba(238, 238, 238, 1) !important;
    border: none !important;
    bottom: 0 !important;
    color: rgba(0, 0, 0, .5) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    float: none !important;
    height: 28px !important;
    left: 20px !important;
    margin: 8px auto !important;
    opacity: 1 !important;
    padding: 6px !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    zoom: 1 !important;
    visibility: visible !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 16px !important;
    text-align: center !important;
    text-decoration: none !important;
    max-width: 240px !important;
    text-indent: 0 !important;
    z-index: 9999998 !important;
    margin-top: 20px !important;
	text-align: center !important;
}


footer{
	position: fixed;
	bottom: 0px;
	padding-top: 20px;
}


/* Popup-Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
}

/* Popup-Inhalt */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 850px;
  height: 80%;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: 'Merienda', sans-serif;
  font-size: 15px;
  transition: all 0.3s ease-in-out;
}

/* Schließen-Button oben rechts */
.modal-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  padding: 0.5rem 1rem;
  color: #666;
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 10px;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #e74c3c;
}

/* Mobile Anpassung */
@media screen and (max-width: 768px) {
  .modal-content {
    width: 95%;
    height: 90%;
  }
}

/* Für Scheune --> Bilder */
.img-half {
    /* Setzt die Breite auf 50% der Spalte (col-md-6) */
    width: 55%;
    /* Stellt sicher, dass das Bild zentriert ist, falls es kleiner ist */
    display: block; 
    margin: 0 auto; 
}


/* Zusätzliche Stile für die Feature-Blöcke (Fügen Sie diese in Ihre style.css ein) */

.feature-block img {
    /* Optional: Fügt einen weichen Schatten und abgerundete Ecken hinzu */
    border-radius: .25rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15)!important;
    /* Zentriert das Bild in seiner Spalte */
    display: block;
    margin: 0 auto; 
}


/* ===============================================
   NEUE STYLES FÜR SCHEUNENWOHNUNGEN
   =============================================== */

/* Haupt-Container für jede Wohnung */
.wohnung-container {
    background-color: #f8f9fa; /* Heller Hintergrund, passt zum Rest der Seite */
    border: 1px solid #dee2e6;  /* Dezenter Rand */
    border-radius: 15px;        /* Abgerundete Ecken */
    padding: 2rem;              /* Innenabstand */
    margin-bottom: 2.5rem;      /* Abstand zwischen den Wohnungen */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Weicher Schatten für Tiefenwirkung */
    overflow: hidden;           /* Stellt sicher, dass alles innerhalb der Ecken bleibt */
}

/* Container für den Beschreibungstext */
.text-container h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.text-container .buchung-link {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

/* Container für die Bildergalerie */
.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Kleiner Abstand zwischen Hauptbild und den Thumbnails */
}

.image-gallery img {
    width: 100%;
    display: block;
    border-radius: 10px; /* Abgerundete Ecken für alle Bilder */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation für Hover-Effekt */
}

.image-gallery img:hover {
    transform: scale(1.03); /* Leichte Vergrößerung beim Darüberfahren */
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Hauptbild (das große oben) */
.main-image img {
    height: 350px;
    object-fit: cover; /* Verhindert, dass das Bild verzerrt wird */
}

/* ===============================================
   NEUE STYLES FÜR DIE BILDERGALERIE
   =============================================== */

/* Raster-Container für die kleinen Vorschaubilder */
.thumbnail-grid {
    display: flex;
    flex-wrap: wrap;  /* Das ist die wichtigste Eigenschaft! Erlaubt den Umbruch. */
    gap: 10px;        /* Abstand zwischen den Bildern */
}

/* Einzelnes Vorschaubild im Raster */
.thumbnail-image {
    /* Jedes Bild nimmt ca. 1/4 der Breite ein, minus den Abstand.
       So entstehen 3-4 Bilder pro Reihe. */
    flex-basis: calc(25% - 10px); 
    flex-grow: 1;
}

.thumbnail-image img {
    height: 120px;     /* Eine feste Höhe für ein einheitliches Aussehen */
    object-fit: cover; /* Verhindert Verzerrungen */
    width: 100%;       /* Füllt den verfügbaren Platz aus */
}

/* Anpassung für kleinere Bildschirme (z.B. Tablets) */
@media (max-width: 991px) {
    .thumbnail-image {
        /* 3 Bilder pro Reihe */
        flex-basis: calc(33.33% - 10px);
    }
}



