/********** Template CSS **********/
:root {
    --primary: #C0B283;
    --secondary: #191C24;
    --light: #6C7293;
    --dark: #000000;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 45px; /* nach links verschoben, damit er nicht mit dem RSVP-Button überlappt */
    bottom: 45px;
    z-index: 1040; /* leicht unterhalb des RSVP-Buttons (1055) */
}

.back-to-top { background: #C0B283; color: #ffffff; border: none !important; box-shadow: none !important; }
.back-to-top i { color: #000000; }




/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 40px 0;
    color: var(--light);
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.shadow-sm .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--light);
    }
}

@media (min-width: 992px) {
    .navbar.shadow-sm .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .85);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .85), rgba(0, 0, 0, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Service ***/
.service-item .btn {
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 50px;
    height: 50px;
    color: var(--primary);
    background: var(--dark);
    opacity: 0;
}

.service-item:hover .btn {
    right: 0;
    bottom: 0;
    opacity: 1;
}


/*** Team ***/
.team-item .team-img::before,
.team-item .team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .85);
    transition: .5s;
}

.team-item .team-img::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-img::before,
.team-item:hover .team-img::after {
    width: 50%;
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 3px;
    color: var(--primary);
    background: var(--dark);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--secondary);
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 1.5rem;
    font-size: 15px;
    background: var(--dark);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/* ----- RSVP Floating Action Button ----- */
.rsvp-fab {
    position: fixed;
    right: 24px;  /* Position rechts auf Desktop */
    bottom: 24px; /* Position unten */
    z-index: 1055; /* Stellt sicher, dass er über den meisten Elementen liegt */
    min-width: 64px;
    height: 48px;
    padding: 0 16px; /* Innenabstand links/rechts für Text */
    border-radius: 24px; /* Macht ihn zur "Pille" */
    background: var(--primary); /* Goldener Hintergrund (aus :root) */
    color: var(--dark); /* Dunkle Textfarbe (aus :root) */
    display: inline-flex; /* Wichtig für align-items und justify-content */
    align-items: center;  /* Vertikal zentrieren (Icon + Text) */
    justify-content: center; /* Horizontal zentrieren (Icon + Text) */
    gap: 8px; /* Kleiner Abstand zwischen Icon und Text */
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    cursor: pointer;
    border: none;
    font-weight: 600;
    text-decoration: none; /* Falls es mal ein Link wird */
    transition: background-color 0.2s ease; /* Sanfter Hover-Effekt */
}

/* Hover-Effekt für den Button */
.rsvp-fab:hover {
     background-color: #A0936C; /* Etwas dunkleres Gold beim Hover */
     color: var(--dark); /* Textfarbe beibehalten */
}

/* Das Textlabel im Button */
.rsvp-fab .fab-label {
    display: inline-block; /* Standardmäßig sichtbar */
    font-size: 0.95rem;
    line-height: 1; /* Verhindert unerwünschten Zeilenumbruch */
}

/* Das Icon im Button */
.rsvp-fab i {
    font-size: 1.1rem; /* Größe des Icons */
    line-height: 1; /* Wichtig für vertikale Zentrierung */
}

/* Mobile Ansicht: Button zentriert am unteren Rand mit Text */
@media (max-width: 576px) {
    .rsvp-fab {
        left: 50%; /* Horizontal zentrieren */
        right: auto;
        transform: translateX(-50%); /* Genaue Zentrierung */
        bottom: 18px; /* Etwas Abstand vom unteren Rand */
        
        /* Behält Pillenform bei, passt Größe an */
        height: 48px;
        padding: 0 16px; /* Padding bleibt für Text */
        border-radius: 24px; 
        min-width: auto; /* Breite passt sich dem Inhalt an */
    }
    

     .rsvp-fab .fab-label {
         display: inline-block; 
     }
}
.map-responsive {
            overflow:hidden;
            padding-bottom:100%; 
            position:relative;
            height:0;
        }
        .map-responsive iframe {
            left:0;
            top:0;
            height:100%;
            width:100%;
            position:absolute;
        }
        .anfahrt-text-box {
            padding-left: 2rem; 
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center; 
        }

        .anfahrt-text-box h3, .anfahrt-text-box p {
             color: var(--dark);
        }

        @media (max-width: 991.98px) {
             .anfahrt-text-box {
                padding: 2rem 0; 
                text-align: center; /
             }
        }

        .geschenke-image-panel {
            height: 25vw; 
            width: calc(100% + 5vw); 
            margin-right: -7vw; 
            background-position: center; 
            background-size: cover;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .geschenke-text-box {
            padding-right: 2rem; 
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .geschenke-text-box h1, .geschenke-text-box p {
             color: var(--dark);
        }

        @media (max-width: 991.98px) {
             .geschenke-image-panel {
                 margin-top: 2rem; 
                 margin-right: 0; 
                 width: 100%;
                 height: 60vw; 
             }
             .geschenke-text-box {
                 padding: 2rem 0; 
                 text-align: center; 
             }
        }
       
        /* NEU: CSS FÜR FOTO-UPLOAD SEKTION */
        /* Stellt sicher, dass Karussell-Bilder den Container füllen */
        #photoUploadCarousel .carousel-inner,
        #photoUploadCarousel .carousel-item,
        #photoUploadCarousel .carousel-item img {
            height: 100%;
            object-fit: cover; /* Verhindert Verzerren, schneidet ggf. Ränder ab */
        }
        
        .photo-upload-text-box {
            padding-left: 2rem; /* Abstand vom Karussell */
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .photo-upload-text-box h3, .photo-upload-text-box p {
             color: var(--dark);
        }

        /* Anpassungen für Mobilgeräte */
        @media (max-width: 991.98px) {
             #photoUploadCarousel { /* Karussell bekommt Abstand nach unten */
                 margin-bottom: 2rem; 
             }
             .photo-upload-text-box {
                 padding: 0; /* Kein extra Padding auf Mobile */
                 text-align: center; 
             }
        }
        /* ENDE NEUES CSS */