html {
    background: transparent;
}


#login-row {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
    overflow: hidden; /* Verhindert, dass Inhalte überlaufen */
    max-height: 0; /* Anfangs komplett ausgeblendet */
    opacity: 0; /* Anfangs unsichtbar */
    transition: max-height 1s ease, opacity 1.2s ease; /* Sanfte Einblendung */
    visibility: hidden; /* Zeile ist unsichtbar */
    background-color: transparent;
}

/* Wenn die Zeile eingeblendet wird */
#login-row.show {
    max-height: 500px; /* Realistischer Wert, abhängig vom Inhalt */
    opacity: 1; /* Sichtbar */
    visibility: visible; /* Zeile wird sichtbar */
    margin-top: 100px;
    background-color: transparent;
}

.login-row form {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-row input {
    max-width: 250px;
}


/* Anfangs versteckt */
#register-form, #pwvergessen-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    max-width: 400px;
    width: 100%;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    overflow: hidden;
    border-radius: 8px;
}


#neuesFerienhausKarte {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    max-width: 600px;
    width: 100%;
    max-height: 0;
    visibility: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    overflow: hidden;
    border-radius: 8px;
}

/* Wenn das Formular sichtbar ist */
#register-form.show, #pwvergessen-form.show {
    max-height: 600px; /* Maximalhöhe des Formulars */
    opacity: 1;
    visibility: visible;
}

#neuesFerienhausKarte.show {
    max-height: 600px; /* Maximalhöhe des Formulars */
    visibility: visible;
    background-color: #a1a1a1; 
}

#hausBearbeiten {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    max-width: 600px;
    width: 100%;
    visibility: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    overflow: hidden;
    border-radius: 8px;
}

#hausBearbeiten.show {
    visibility: visible;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Halbdurchsichtiges Overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   
    text-align: center;
    padding: 20px;
  }

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  
  .hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .fade-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
  }
  
  .fade-slide:nth-child(1) {
    animation: fadeAnimation 20s infinite;
    animation-delay: 0s;
  }
  
  .fade-slide:nth-child(2) {
    animation: fadeAnimation 20s infinite;
    animation-delay: 5s;
  }
  
  .fade-slide:nth-child(3) {
    animation: fadeAnimation 20s infinite;
    animation-delay: 10s;
  }
  
  .fade-slide:nth-child(4) {
    animation: fadeAnimation 20s infinite;
    animation-delay: 15s;
  }
  
  @keyframes fadeAnimation {
    0% { opacity: 0; }
    5% { opacity: 1; }
    25% { opacity: 1; }
    30% { opacity: 0; }
    100% { opacity: 0; }
  }
  
  /* Text-Animation */
  .hero-texts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
  }
  
  .fade-text {
    position: absolute;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 0;
  }
  
  .fade-text:nth-child(1) {
    animation: textFade 20s infinite;
    animation-delay: 0s;
  }
  
  .fade-text:nth-child(2) {
    animation: textFade 20s infinite;
    animation-delay: 5s;
  }
  
  .fade-text:nth-child(3) {
    animation: textFade 20s infinite;
    animation-delay: 10s;
  }
  
  .fade-text:nth-child(4) {
    animation: textFade 20s infinite;
    animation-delay: 15s;
  }
  
  @keyframes textFade {
    0% { opacity: 0; z-index: 0;}
    5% { opacity: 1; z-index: 1; }
    25% { opacity: 1; z-index: 1; }
    30% { opacity: 0; z-index: 0; }
    100% { opacity: 0; z-index: 0; }
  }
  
  h1 {
    font-size: 3rem;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  }
  
  p {
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.6;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
  }
  
  
  
  
  

/* Features Section */
.features h2 {
    margin-bottom: 1.5rem;
}

.features i {
    color: #007bff;
}

/* Testimonials */
.testimonials blockquote {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-left: 5px solid #007bff;
}

/* CTA Section */
.cta {
    background-color: #007bff;
}


/* Animation für sanftes Ein- und Ausblenden */
.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-in;
}


/* Abschnitte */
section.bg-light {
    background-color: #ecf0f1;
    padding: 60px 0;
}

h2 {
    color: #2980b9;
    font-weight: bold;
}

h4 {
    color: #2c3e50;
}



#map-section {
    background-color: #f8f9fa; /* Heller Hintergrund für die Sektion */
    padding: 60px 0;
}

#map {
    width: 100%;
    height: 500px; /* Höhe der Karte */
    border-radius: 20px; /* Mehr abgerundete Kanten */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Tieferer Schatten */
}
#map-section2 {
    background-color: #f8f9fa; /* Heller Hintergrund für die Sektion */
    padding: 60px 0;
}


#map2 {
    width: 100%;
    height: 500px; /* Höhe der Karte */
    border-radius: 20px; /* Mehr abgerundete Kanten */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Tieferer Schatten */
}


.navbar {
    background-color: rgba(255, 255, 255, 0.3); /* Halbtransparenter weißer Hintergrund */
    position: absolute; /* Setzt den Header auf das Hero-Bild */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Sicherstellen, dass der Header über dem Bild liegt */
    border: none; /* Entfernt den Rahmen oder Schatten von Bootstrap */
    box-shadow: none; /* Optional: Entferne den Schatten */
  }
  
  .navbar .nav-link {
    color: white; /* Textfarbe im Menü auf weiß setzen, um Kontrast zu gewährleisten */
  }
  
  .navbar .nav-link:hover {
    color: #ff8800; /* Hover-Effekt in einer auffälligen Farbe */
  }
  

  .navbar-brand {
    border-color: #00d1a1;
    color: white;
    transition: all 0.5s ease;
    background-image: url('../images/fflogo.png');
    background-size: contain; /* Hintergrundbild vollständig anzeigen */
    background-repeat: no-repeat; /* Bild nicht wiederholen */
    height: 50px;
    width: 150px; /* Breite des Elements anpassen */
    display: inline-block;
  }

  .navbar-brand:hover {
    background-image: url('../images/fflogohover.png');
    color: #ff8800;
  }

.btn {
    padding: 10px 20px; /* Etwas mehr Padding für einen komfortableren Look */
    font-size: 1rem; /* Etwas größere Schrift für bessere Lesbarkeit */
    border-radius: 30px; /* Abgerundete Kanten für modernere Buttons */
    
}

/* Outline-Style für primäre Buttons */
 .btn-outline-primary {
    border-color: #00d1a1; /* Modernere, frische Türkisfarbe */
    color: #00d1a1;
    transition: all 0.5s ease;
    
    
}

.btn-outline-primary:hover {
    border-color: #ff8800;
    border-radius: 0px;
    background-color: rgba(255, 255, 255, 0.0);
}


.navbar-toggler {
    border-color: #00d1a1; /* Modernere, frische Türkisfarbe */
    color: #00d1a1;
    transition: all 0.5s ease;
    
    
}

.navbar-toggler:hover {
    border-color: #ff8800;
    border-radius: 0px;
    background-color: rgba(255, 255, 255, 0.0);
}



/* Primäre Buttons */
 .btn-primary {
    background-color: #00d1a1; /* Frische Farbe statt Standard-Blau */
    border-color: #00d1a1;
    color: #fff; /* Weißer Text */
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ff8800; /* Wechselt zu Akzentfarbe beim Hover */
    border-color: #ff8800;
    color: #fff;
    border-radius: 0px;
}




.btn-custom-size {
    padding: 8px 16px;
    font-size: 1rem;
    min-width: 120px; /* Gleiche Mindestbreite für beide Buttons */
}

    /* Verstecke das Login-Formular initial */
    #login-form {
        display: none;
        max-width: 400px; /* Begrenze die Breite auf Desktop */
    }

    /* Dropdown-Effekt für das Login-Formular */
    .login-dropdown {
        position: absolute;
        right: 20px;
        top: 100px;
        z-index: 1000;
    }

    .beggy {
        background-color: #a1a1a1; /* Heller Hintergrund für die Sektion */
        padding: 60px;
    }

    /* Für gleichlange Kacheln */
.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Platz gleichmäßig verteilen */
    height: 100%; /* Die gleiche Höhe für jede Kachel */
}

.card-body {
    display: flex;
    flex-direction: column;
}
.card-body p {
    font-size: 1em;
}

.btn-lg {
    margin-top: auto; /* Button bleibt unten in jeder Kachel */
}

/* Optional: noch ein schöner Hover-Effekt */
.card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* List Styles für die Punkte */
.card-body ul {
    text-align: left;
    margin-left: 0;
    padding-left: 1.5rem;
    list-style-type: disc; /* Schicke Aufzählungspunkte */
}
/* Für durchgestrichene Preise */
.pricing-card-title .text-muted {
    font-size: 1.2rem; /* Kleinere Schriftgröße für den durchgestrichenen Preis */
    color: #6c757d; /* Standard-muted Farbe */
}

.pricing-card-title s {
    color: #d9534f; /* Durchgestrichener Preis in leichtem Rot, damit es richtig auffällt */
}

.pricing-card-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

section {
    background: linear-gradient(90deg, rgba(230,255,240,1) 0%, rgba(204,229,255,1) 100%);
    
}

.fadesection {
    opacity: 0;
    transform: translateY(20px); /* Startet etwas weiter unten */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Wenn die Section sichtbar ist */
.fadesection.is-visible {
    opacity: 1;
    transform: none;
}
    


/* Footer */
footer {
    background-color: #343a40;
}

footer a {
    text-decoration: none;
}

.wave-container {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(230,255,240,1) 0%, rgba(204,229,255,1) 100%);
}

svg {
    display: block;
    width: 100%;
    height: 100%;
}

path {
    transition: all 0.3s ease-in-out;
}

path:hover {
    fill: #b0c4de; /* Verändert die Farbe beim Hover */
}

.full-screen-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriert den div absolut */
    width: 100%; /* Optional, kann für das Layout angepasst werden */
    display: flex;
    justify-content: center; /* Horizontales Zentrieren */
    align-items: center; /* Vertikales Zentrieren */
    z-index:20;
}
.fenster {
    max-width: 500px; /* Maximalbreite für die Box */
    background: linear-gradient(90deg, rgba(230,255,240,1) 0%, rgba(204,229,255,1) 100%);
    padding: 20px;
    border-radius: 10px; /* Abgerundete Ecken */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Leichter Schatten für 3D-Effekt */
    
}


.thumbnail-container {
    position: relative;
    display: inline-block;
    padding: 10px;
}

.thumbnail-preview {
    width: 150px;
    height: 150px;
    object-fit: cover; /* Bild passend in den Rahmen skalieren */
}

.delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.closen-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgb(100, 111, 111);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.layout {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 20px auto;
}
/* Kalender-Container */
.calendar-container {
    width: 60%; /* 60% für den Kalender */
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.calendar-header {
    text-align: center;
    margin-bottom: 10px;
}
.calendar-header button {
    background-color: #6c757d;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}
.calendar-header h2 {
    display: inline;
    margin: 0 10px;
    font-size: 20px;
}
table {
    width: 100%;
    border-collapse: collapse;
}
table th {
    background-color: #f8f9fa;
    padding: 10px;
    text-align: center;
    border-bottom: 2px solid #050a0f; /* Linie unter den Wochentagen */
}
table td {
    width: 14.2%;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid #e0e0e0; /* Zellen mit dezentem Rand */
}
.available {
    background-color: #28a745;
    color: white;
}
.reserved {
    background-color: #ffc107;
    color: white;
}
.booked {
    background-color: #dc3545;
    color: white;
}
.legend {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}
.legend div {
    display: flex;
    align-items: center;
}
.legend div span {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 5px;
    border-radius: 3px;
}
.legend .available-legend span {
    background-color: #28a745;
}
.legend .reserved-legend span {
    background-color: #ffc107;
}
.legend .booked-legend span {
    background-color: #dc3545;
}

/* Formular-Container */
.booking-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.form-group button {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}



/* Modal CSS */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}



/* Karussell */
.carousel-inner img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

pre {
    background-color: #333;
            color: #fff;
            padding: 15px;
            border-radius: 5px;
            position: relative;
            white-space: pre-wrap;
            word-wrap: break-word;
}
.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: #007bff;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}
.copy-btn:hover {
    background: #0056b3;
}




.flip-card {
    background-color: transparent;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 200px;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    padding: 10px;
}

.flip-card-back {
    background-color: #0a0f19;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
}


/* Cookie-Banner-Styling */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2b2b2b;
    color: #ffffff;
    z-index: 9999;
    padding: 15px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.3);
    display: none; /* Standardmäßig ausgeblendet */
  }
  
  .cookie-content {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .cookie-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }
  
  .cookie-content a {
    color: #ffcc00;
    text-decoration: underline;
  }
  



    /* Mobile Anpassungen */
    @media (max-width: 768px) {
        .login-dropdown {
            position: static;
            margin-top: 20px;
            top: 0;
        }
        .wave-container {
            height: 30px; /* Weniger Höhe auf kleineren Geräten */
        }
        .layout {
            flex-direction: column; /* Elemente untereinander anordnen */
        }
        .calendar-container, .booking-form {
            width: 100%; /* Volle Breite auf mobilen Geräten */
            margin-bottom: 20px; /* Abstand zwischen Kalender und Formular */
        }
        
        .carousel-inner img {
            height: auto;
            max-height: 280px;
            width: 100%;
        }
        .btn-outline-primary {
            border-color: #00d1a1; /* Modernere, frische Türkisfarbe */
            background-color: #00d1a1;
            color: white;
            margin: 10px;
        }
    }