/********** Template CSS **********/
:root {
    --primary: #1E60AA;
    --secondary: #FF4917;
    --light: #EDF1FC;
    --dark: #17224D;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 22px;
    line-height: 56px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.back-to-top::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f062";
}

.back-to-top:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 52px;
        height: 52px;
        font-size: 20px;
        line-height: 52px;
    }
}


/*** 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;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/** Logo ***/
.logo-kufsteiner {
    max-height: 71px;
    height: auto;
    width: auto;
}

/* Wenn du magst: für sehr kleine Screens leicht kleiner */
@media (max-width: 576px) {
    .logo-kufsteiner {
        max-height: 44px;
    }
}



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

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    color: #fff;
}

/* Mobile Abstand (damit nix überlappt) */
@media (max-width: 768px) {
    .whatsapp-float {
        left: 15px;
        bottom: 15px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}


/*** Navbar ***/
.top-bar {
    height: 75px;
    padding: 0 4rem;
}

.nav-bar {
    position: relative;
    padding: 0 4.75rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

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

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .nav-bar {
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .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;
    }
}

/* Language Switcher */
.language-switcher {
    gap: 0.35rem;
}

.language-switcher .lang-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 0.85rem;
    color: #6c757d;
    /* leicht grau */
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.15s;
}

.language-switcher .lang-link.active {
    font-weight: 600;
    color: var(--primary);
    opacity: 1;
}

.language-switcher .lang-link:not(.active) {
    opacity: 0.6;
}

.language-switcher .lang-link:hover {
    opacity: 1;
    color: var(--primary);
    transform: translateY(-1px);
}

.flag-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.language-switcher-mobile .lang-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.language-switcher-mobile .lang-link.active span {
    font-weight: 600;
}

.language-switcher-mobile .flag-icon {
    width: 22px;
    height: auto;
    border-radius: 2px;
}

/*** Header ***/
.carousel-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid #FFFFFF;
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: #FFFFFF;
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

@media (max-width: 768px) {

    .header-carousel .container,
    .page-header .container {
        padding: 20px 0 20px 15px;
        border-left: 10px solid #FFFFFF;
    }

    .header-carousel .container::before,
    .header-carousel .container::after,
    .page-header .container::before,
    .page-header .container::after {
        width: 60px;
        height: 10px;
    }

    .header-carousel .container::after,
    .page-header .container::after {
        margin-top: -10px;
    }

    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px;
        font-weight: 400;
    }

    .header-carousel .owl-carousel-item h1,
    .header-carousel .owl-carousel-item h2 {
        font-size: 30px;
        font-weight: 600;
    }

    .header-carousel .owl-nav {
        right: 5%;
    }

    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .header-carousel .owl-carousel-item {
        min-height: 400px;
    }

    .header-carousel .container,
    .page-header .container {
        padding: 15px 0 15px 12px;
        border-left: 5px solid #FFFFFF;
    }

    .header-carousel .container::before,
    .header-carousel .container::after,
    .page-header .container::before,
    .page-header .container::after {
        width: 40px;
        height: 5px;
    }

    .header-carousel .container::after,
    .page-header .container::after {
        margin-top: -5px;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 12px;
    }

    .header-carousel .owl-carousel-item h1,
    .header-carousel .owl-carousel-item h2 {
        font-size: 22px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.webp) center center no-repeat;
    background-size: cover;
}

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

.contact-icon {
    width: 45px;
    height: 45px;
}

/*** About ***/
.about-contact-icon {
    width: 60px;
    height: 60px;
}

.about-image-container {
    min-height: 500px;
}

.about-main-image {
    object-fit: cover;
    padding: 0 0 50px 100px;
}

.about-secondary-image {
    object-fit: cover;
    padding-top: 2px;
    padding-right: 2px;
    width: 50%;
    height: 50%;
}

@media (max-width: 768px) {
    .about-image-container {
        min-height: 300px;
    }

    .about-main-image {
        padding: 0 0 30px 50px;
    }

    .about-secondary-image {
        width: 60%;
        height: 60%;
    }
}

@media (max-width: 576px) {
    .about-image-container {
        min-height: 250px;
    }

    .about-main-image {
        padding: 0;
    }

    .about-secondary-image {
        display: none;
    }
}

/*** Fact ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.fact .col-md-6 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fact .col-md-6:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.fact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-flex;
    align-items: baseline;
}

.fact h2::after {
    content: '+';
    font-size: 1.5rem;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .fact h2 {
        font-size: 2rem;
    }

    .fact h2::after {
        font-size: 1.2rem;
    }
}

/*** Service ***/
.service {
    background: #f8f9fa;
    /* Heller Hintergrund passend zu bg-light */
}

@media (min-width: 992px) {
    .service .ps-lg-5 {
        padding-left: 0 !important;
    }

    .service .ms-lg-5 {
        margin-left: 1rem !important;
    }
}

.service .service-item {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service .service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service .service-img img {
    width: 100%;
    height: auto;
}

.service .service-item h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.service .service-item p {
    color: #666;
    font-size: 1rem;
}

.service .service-item .btn {
    border-radius: 5px;
    font-weight: 500;
}

.service .owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.service .owl-carousel .owl-nav button {
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    line-height: 44px;
    text-align: center;
    font-size: 1.5rem;
    margin: 0 8px;
    transition: background 0.3s;
}

.service .owl-carousel .owl-nav button span {
    line-height: 1;
    display: block;
    margin-top: -2px;
}

.service .owl-carousel .owl-nav button:hover {
    background: #007bff !important;
}

@media (max-width: 768px) {
    .service .service-item h4 {
        font-size: 1.3rem;
    }

    .service .service-item p {
        font-size: 0.9rem;
    }

    .service .owl-carousel .owl-nav {
        display: none;
        /* Navigation auf Mobile ausblenden */
    }
}

/*** Service Sidebar ***/
.service .bg-primary {
    background-color: #007bff;
}

.service .display-3 {
    font-size: 3rem;
    font-weight: 700;
}

@media (max-width: 992px) {
    .service .ms-lg-5 {
        margin-left: 0 !important;
    }

    .service .ps-lg-5 {
        padding-left: 0 !important;
    }
}


/*** Booking ***/
.video {
    position: relative;
    padding: 8rem 0 12rem;
    text-align: center;
    overflow: hidden;
}

.video video.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video .video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    display: none;
    /* Wird nur angezeigt, wenn Video nicht lädt */
}

.video::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.video h1,
.video h2,
.video h3 {
    position: relative;
    z-index: 1;
}

.bg-light {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-floating input,
.form-floating select,
.form-floating textarea {
    border-radius: 5px;
    height: 60px;
}

.form-floating textarea {
    height: 100px;
}

.btn-primary {
    border-radius: 5px;
}

@media (max-width: 768px) {
    .video {
        padding: 4rem 0 8rem;
    }

    .video h1 {
        font-size: 2rem;
    }

    .video h3 {
        font-size: 1.2rem;
    }
}

@supports (display: none) and (not (display: none)) {
    .video video.video-bg {
        display: none;
    }

    .video .video-fallback {
        display: block;
    }
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-text {
    height: 90px;
    overflow: hidden;
}

.team-item .team-text .bg-light,
.team-item .team-text .bg-primary {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: .5s;
}

.team-item .team-text .bg-primary {
    flex-direction: row;
}

.team-item:hover .team-text .bg-light {
    margin-top: -90px;
}

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

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

/*** Contact ***/
.contact-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../img/kufstein-bg.jpg') center / cover no-repeat;
}

.contact-icon-circle {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}
.contact .btn-primary {
    background-color: #007bff;
    /* Deine Primärfarbe */
    border-color: #007bff;
}

.contact iframe {
    border-radius: 10px;
}

/*** Team ***/

.team-item:hover img {
    transform: scale(1.1);
}

.team-item:hover .team-overlay {
    opacity: 1;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/*** Footer ***/
.footer-logo {
    max-width: 150px;
    border-radius: 8px;
}
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    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 {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

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

.btn-social:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/*** Service Icon Circle ***/
.service-icon-circle {
    width: 75px;
    height: 75px;
    margin: 0 auto;
}

/*** Testimonial ***/
.testimonial-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Override Owl Carousel's global img { width: 100% } for testimonials only */
.testimonial-carousel .owl-item img.testimonial-img {
    width: 60px !important;
    height: 60px !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 45%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.testimonial-carousel .owl-nav button {
    pointer-events: all;
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 1rem;
    transition: background 0.3s;
}

.testimonial-carousel .owl-nav button:hover {
    background: var(--dark) !important;
}

/*** Cookie ***/
.cookie-banner {
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner a {
    text-decoration: underline;
}

.cookie-banner button {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .cookie-banner div:last-child {
        display: flex;
        justify-content: center;
        gap: 10px;
    }
}

/********** about.html **********/

/* About Background */
.about-bg {
    background:
        linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
        url("../img/kufstein-bg.jpg") center / cover no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Text Box zentriert */
.about-text-box {
    background: rgba(5, 25, 65, 0.75);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.92);
}

.about-text-box h2 {
    color: #fff;
}

.about-text-box h6 {
    color: var(--secondary) !important;
}

.about-text-box p,
.about-text-box .fw-medium {
    color: rgba(255, 255, 255, 0.9) !important;
}

@media (max-width: 991px) {
    .about-bg {
        min-height: unset;
    }

    .about-text-box {
        margin: 0;
        padding: 1.75rem;
    }
}


.page-header-about {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/kufstein-bg.jpg');
    background-size: cover;
    background-position: center;
}

.about-carousel .owl-carousel .item {
    position: relative;
}

.about-carousel .owl-carousel .carousel-caption {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    text-align: center;
}

.about-carousel .owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.about-carousel .owl-carousel .owl-nav i {
    font-size: 24px;
    color: white;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

/*** Service Teaser Carousel (about.html) ***/
.service-carousel .owl-nav {
    position: absolute;
    top: 40%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.service-carousel .owl-nav button {
    pointer-events: all;
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    line-height: 44px;
    text-align: center;
    font-size: 1.4rem;
    margin: 0 8px;
    transition: background 0.3s;
}

.service-carousel .owl-nav button:hover {
    background: var(--dark) !important;
}

@media (max-width: 767px) {
    .service-carousel .owl-nav {
        display: none;
    }
}

.modal {
    padding-top: 80px;
    /* Abstand von oben, um die Navbar zu berücksichtigen */
}