/* ========================================= */
/* ============== WRAPPER ================== */
/* ========================================= */

.teaser-wrapper {
    position: relative;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* ========================================= */
/* ============== SLIDER =================== */
/* ========================================= */

.teaserslider {
    flex: 1;
    max-width: 1740px;
    overflow: hidden;
}

/* ========================================= */
/* ============== SLIDES =================== */
/* ========================================= */

.teaserslider .slide-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    transition: transform 0.6s ease;
    will-change: transform;
}

.teaserslider .slide {
    flex: 0 0 auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
}

.teaserslider .slide.active {
    opacity: 1;
}

.teaserslider .slide.prev,
.teaserslider .slide.next {
    opacity: 0.85;
}

/* ========================================= */
/* ============== NAV BUTTONS =============== */
/* ========================================= */

.teaser-wrapper .nav-btn {
    font-size: 90px;
    cursor: pointer;
    color: #d3d3d3;
    padding: 0 20px;
    user-select: none;
    z-index: 10;
}

.teaser-wrapper .nav-btn:hover {
    opacity: 0.8;
}

.teaser-wrapper .prev-btn {
    margin-right: 10px;
}

.teaser-wrapper .next-btn {
    margin-left: 10px;
}

.slide .iPack-blue-information-box{
    min-height: 500px !important;
}

.teaserslider .iPack-blue-information-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 10px !important;
}
.teaserslider .iPack-blue-information-box p:last-of-type {
    margin-top: auto;
    text-align: right;
}

.teaserslider .iPack-blue-information-box p {
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 1rem !important;
}

.teaserslider .iPack-blue-information-box h3 {
    margin-left: 0px !important;
}

.teaserslider .iPack-blue-information-box hr {
    width: 100% !important;
    border: 1px solid white !important;
}

.teaserslider .iPack-blue-information-box p:nth-of-type(2) {
    flex-grow: 0 !important; 
    /* margin-top: 0 !important; */
}

/* ========================================= */
/* ================= DOTS ================== */
/* ========================================= */

.teaserslider .dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    height: 22px;
}

.teaserslider .dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: white;
    border: 2px solid #274888;
    cursor: pointer;
    transition: background 0.25s, border 0.25s;
}

.teaserslider .dot.active {
    background: #274888;
    border-color: #274888;
}

/* ========================================= */
/* ============== RESPONSIVE ================ */
/* ========================================= */

/* Desktop */
@media (min-width: 1025px)
{
    .teaserslider .iPack-blue-information-box {
    display: flex;
    flex-direction: column;
    height: 625px !important;
    width: 725px !important;
}
}

/* Tablet */
@media (max-width: 1024px) {
    .teaserslider .slide-wrapper {
        gap: 20px;
    }

    .teaser-wrapper .nav-btn {
        font-size: 75px;
    }
}

@media (min-width: 871px) and (max-width: 1024px)
{
     .teaserslider .iPack-blue-information-box {
    height: 580px !important;
    width: 630px !important;
}
}

@media (min-width: 769px) and (max-width: 870px)
{
     .teaserslider .iPack-blue-information-box {
    height: 500px !important;
    width: 550px !important;
}
}

/* Mobile */
@media (max-width: 768px) {
    .teaserslider .slide {
        width: 90vw;
        max-width: 90vw;
        opacity: 1;
        transform: none;
    }

    .teaserslider .slide.prev,
    .teaserslider .slide.next {
        display: none;
    }

    .teaserslider .slide-wrapper {
        gap: 10px;
    }

    .teaser-wrapper .nav-btn {
        display: none;
    }
}

/* Kleine Handys */
@media (max-width: 480px) {
    .teaserslider .slide {
        width: 94vw;
        max-width: 94vw;
    }
}
