/* -------------------------------------------
Name:       Oasis Card System
Version:    2.0
------------------------------------------- */
/**
Grid
Swiper
Responsive
Card
Bild
Responsive
Angebot
Responsive
    ....
**/


/** =========================================================
   OASIS GRID
   ========================================================== */
.oasis-grid {
    display: grid;
    gap: 30px;
    width: 100%;
    align-items: stretch;
}

.oasis-grid-rooms {
    max-width: 980px;
    margin: 0 auto;
}


.oasis-grid-1 {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: calc((100% - 60px) / 3);
    margin-right: auto;
    margin-left: auto;
}

.oasis-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.oasis-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}



.oasis-grid-3 .oasis-card {
    max-width: 430px;
    margin: 0 auto;
}

.oasis-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ==========================================================
   OASIS GRID RESPONSIVE
   ========================================================== */

@media (max-width: 1200px) {

    .oasis-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {

    .oasis-grid-2,
    .oasis-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .oasis-grid,
    .oasis-grid-1,
    .oasis-grid-2,
    .oasis-grid-3,
    .oasis-grid-4 {
        grid-template-columns: 1fr;
    }

    .oasis-grid-1 {
        max-width: none;
    }
}

/* ==========================================================
   OASIS SWIPER – ALLE CARDS GLEICH HOCH
   ========================================================== */

.oasis-slider .swiper-wrapper {
    align-items: stretch;
}

.oasis-slider .swiper-slide {
    display: flex;
    height: auto;
}

.oasis-slider .oasis-card-link {
    display: flex;
    width: 100%;
    height: 100%;
}

.oasis-slider .oasis-card {
    width: 100%;
    height: 100%;
}

/* ==========================================================
   OASIS SWIPER RESPONSIVE
   ========================================================== */

@media (max-width: 768px) {

    .oasis-slider .swiper-slide {
        width: 100% !important;
        display: flex;
        justify-content: center;
    }

    .oasis-slider .oasis-card-link {
        display: flex;
        width: 100%;
        height: 100%;
    }

    .oasis-slider .oasis-card {
        width: 100%;
        height: 100%;
    }
}

/* ==========================================================
   KOMPLETT KLICKBARE CARD
   ========================================================== */

.oasis-card-link {
    display: flex;
    height: 100%;
    color: inherit;
    text-decoration: none;
    border-radius: 18px;
}

    .oasis-card-link:hover,
    .oasis-card-link:focus {
        color: inherit;
        text-decoration: none;
    }

    .oasis-card-link:focus-visible {
        outline: 3px solid rgba(184, 155, 94, .55);
        outline-offset: 4px;
    }

/* ==========================================================
   OASIS CARD
   ========================================================== */

.oasis-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 22px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 18px;
    box-shadow: 0 12px 38px rgba(0, 0, 0, .07);
    color: inherit;
    text-align: center;
    transition: transform .30s ease, box-shadow .30s ease, border-color .30s ease;
}

    .oasis-card:hover,
    .oasis-card-link:hover .oasis-card {
        transform: translateY(-6px);
        box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
    }

/* ==========================================================
   FEATURED CARD
   ========================================================== */

.oasis-card-featured {
    border-color: rgba(184, 155, 94, .45);
}

/* ==========================================================
   BADGE-BEREICH
   Immer vorhanden, damit alle Bilder gleich beginnen
   ========================================================== */

.oasis-card-badge {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;  /* hier ob eine oder zwei Zeilen */
    margin: 0 0 4px;
    padding: 0;
    background: transparent;
    color: #53618a;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .08em;
    text-align: center;
}

/* Unsichtbarer Platzhalter für Cards ohne Badge */

.oasis-card-badge-empty {
    visibility: hidden;
}

/* ==========================================================
   CARD IMAGE
   Feste Höhe für identische Bildpositionen
   ========================================================== */

.oasis-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 0 18px;
    overflow: hidden;
    border-radius: 14px;
}

    .oasis-card-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 14px;
        transition: transform .35s ease;
    }

.oasis-card:hover .oasis-card-image img,
.oasis-card-link:hover .oasis-card-image img {
    transform: scale(1.05);
}


.oasis-card-image.square {
    aspect-ratio: 1 / 1;
}

.oasis-card-image.landscape {
    aspect-ratio: 4 / 3;
}

.oasis-card-image.wide {
    aspect-ratio: 16 / 9;
}

/* ==========================================================
   CARD TITLE
   Reservierter Titelbereich
   ========================================================== */

.oasis-card-title {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0;
    color: #383A4E;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

/* ==========================================================
   CARD SUBTITLE
   Reservierter Untertitelbereich
   ========================================================== */

.oasis-card-subtitle {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 4px 0 8px;
    color: #821e15;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

/* ==========================================================
   CARD TEXT
   Flexibel, damit der Button immer unten steht
   ========================================================== */

.oasis-card-text {
    flex: 1 1 auto;
    min-height: 120px;   /* gleiche Höhe für alle Beschreibungen */
    width: 100%;
    margin: 0;
    padding: 0 0 22px;
    color: #666;
    font-size: 17px;
    line-height: 1.65;
    text-align: center;
}

/* ==========================================================
   CARD BUTTON
   Immer am unteren Ende der Card
   ========================================================== */

.oasis-card > .oasis-btn,
.oasis-card-link .oasis-card > .oasis-btn {
    flex: 0 0 auto;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    margin: auto 0 0;
    box-sizing: border-box;
}


/* Bei komplett klickbaren Cards ist der optische Button ein span */

.oasis-card-link .oasis-btn {
    pointer-events: none;
}

/* ==========================================================
   CARD ICON
   Für Cards ohne Bild
   ========================================================== */

.oasis-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(184, 155, 94, .14);
    color: #b89b5e;
    font-size: 24px;
    text-align: center;
    transition: transform .30s ease, background-color .30s ease;
}

.oasis-card:hover .oasis-card-icon,
.oasis-card-link:hover .oasis-card-icon {
    transform: scale(1.08);
    background: rgba(184, 155, 94, .22);
}




/* wird nicht genutzt **/
.oasis-card-image-switch {
    position: relative;

    overflow: hidden;
    border-radius: 18px; /* an deine Cards angepasst */
    aspect-ratio: 1 / 1; /* 600x600 */
}

    .oasis-card-image-switch img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.8s ease;
    }

    .oasis-card-image-switch .img-front {
        opacity: 1;
    }

    .oasis-card-image-switch .img-back {
        opacity: 0;
    }

    .oasis-card-image-switch.show-inside .img-front {
        opacity: 0;
    }

    .oasis-card-image-switch.show-inside .img-back {
        opacity: 1;
    }

/* ==========================================================
   OASIS CARD RESPONSIVE
   ========================================================== */

@media (max-width: 768px) {

    .oasis-card {
        padding: 20px;
    }

    .oasis-card-image {
        height: 220px;
        aspect-ratio: 1 / 1;
        margin-bottom: 18px;
    }

    .oasis-card-title {
        min-height: 0;
        font-size: 24px;
    }

    .oasis-card-subtitle {
        min-height: 0;
        padding-top: 5px;
        padding-bottom: 12px;
    }

    .oasis-card-text {
        font-size: 16px;
        line-height: 1.6;
    }
}




/* ==========================================================
   OASIS ANGEBOT
   ========================================================== */


/* Angebotscard nicht unnötig in die Höhe ziehen */

.oasis-angebot-card {
    min-height: 0;
}


    /* Nächte */

    .oasis-angebot-card .oasis-card-text {
        flex: 0 0 auto;
        min-height: 0;
        margin: 0;
        padding: 0 0 15px;
    }

        .oasis-angebot-card .oasis-card-text strong {
            font-weight: 700;
            color: #2f3545;
        }


    /* Preisbereich */

    .oasis-angebot-card .oasis-card-note {
        margin: 0;
        padding: 0;
    }


/* Endpreis */

.oasis-angebot-preis {
    display: inline-block;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #b3261e;
}


/* Alter Preis */

.oasis-angebot-altpreis {
    display: inline-block;
    margin-top: 4px;
    font-size: 18px;
    line-height: 1.2;
    color: #7d8494;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}


/* Angebotsbuttons */

.oasis-angebot-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}


    .oasis-angebot-buttons .oasis-btn {
        width: 100%;
        min-width: 0;
        margin: 0;
        padding-right: 12px;
        padding-left: 12px;
        box-sizing: border-box;
    }


/* ==========================================================
   ANGEBOT SMARTPHONE
   ========================================================== */

@media (max-width: 576px) {

    .oasis-angebot-card .oasis-card-text {
        min-height: 0;
        padding-bottom: 12px;
    }

    .oasis-angebot-preis {
        font-size: 26px;
    }

    .oasis-angebot-altpreis {
        font-size: 17px;
    }

    .oasis-angebot-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 18px;
    }
}


/* ==========================================================
   OASIS ANGEBOT ENDE
   ========================================================== */

/* preise bei wintercards */

.oasis-card-prices {
    width: 100%;
    margin: 5px 0 25px;
    padding: 16px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

    .oasis-card-prices div {
        display: flex;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .oasis-card-prices span {
        font-size: 14px;
        line-height: 1.3;
        color: #777;
        text-align:center;
    }

    .oasis-card-prices strong {
        font-size: 28px;
        line-height: 1.3;
        color: #344257;
    }

@media (max-width: 480px) {

    .oasis-card-prices {
        grid-template-columns: 1fr;
    }
}

/* preise bei wintercards ende */

/* ==========================================================
OASIS  ANGEBOT KEINE DATEN 
======================================================== */
.oasis-no-offers {
    max-width: 700px;
    margin: 80px auto;
    padding: 40px;
    text-align: center;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

    .oasis-no-offers h2 {
        margin: 0 0 15px;
        font-size: 2rem;
    }

    .oasis-no-offers p {
        margin: 0 0 30px;
        font-size: 1rem;
        line-height: 1.7;
        color: #666;
    }


@media (max-width:768px) {

    .oasis-no-offers {
        margin: 35px 15px;
        padding: 25px 20px;
        border-radius: 14px;
    }

        .oasis-no-offers h2 {
            font-size: 1.45rem;
            line-height: 1.3;
            margin-bottom: 15px;
        }

        .oasis-no-offers p {
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 25px;
        }

        .oasis-no-offers .oasis-btn {
            width: 100%;
            max-width: 300px;
            margin: 0 auto;
        }
}

/* ==========================================================
OASIS  ANGEBOT KEINE DATEN ENDE
======================================================== */


/* ==========================================================
   OASIS PFEILE AUF DEM SMARTPHONE
   ========================================================== */

@media (max-width: 768px) {

    .oasis-slider .knsl-testimonials-nav {
        opacity: 1;
        position: static;
        width: 100%;
        margin-top: 18px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 24px;
    }

    .oasis-slider-1-prev,
    .oasis-slider-1-next {
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: none !important;
        border-radius: 50%;
        background-color: #3B61DD;
        color: #fff;
        cursor: pointer;
        box-shadow: 0 2px 48px rgba(0, 0, 0, .04);
    }

    .oasis-slider-counter {
        min-width: 70px;
        color: #344257;
        font-size: 16px;
        font-weight: 500;
        letter-spacing: .08em;
        text-align: center;
    }

    .oasis-slider-separator {
        margin: 0 6px;
        opacity: .55;
    }
}

/* ==========================================================
   OASIS PFEILE ENDE
   ========================================================== */

/* ==========================================================
   OASIS SLIDER NAVIGATION – SMARTPHONE
   ========================================================== */

@media (max-width: 768px) {

    .oasis-slider .knsl-testimonials-nav {
        position: static !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 28px;
        width: 100% !important;
        margin-top: 18px;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .oasis-slider .oasis-slider-1-prev,
    .oasis-slider .oasis-slider-1-next {
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* ==========================================================
   OASIS SLIDER NAVIGATION – SMARTPHON ENDE
   ========================================================== */


/* ==========================================================
   EMPFEHLUNGS-CARDS – SMARTPHONE KOMPAKT
   ========================================================== */

@media (max-width: 768px) {

    .oasis-related-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

        .oasis-related-grid .oasis-card-link {
            display: block;
            width: 100%;
        }

        .oasis-related-grid .oasis-card {
            display: grid;
            grid-template-columns: 95px 1fr;
            grid-template-rows: auto auto auto;
            column-gap: 14px;
            row-gap: 2px;
            min-height: 0;
            padding: 10px;
            text-align: left;
        }

        .oasis-related-grid .oasis-card-badge {
            display: none;
        }

        .oasis-related-grid .oasis-card-image {
            grid-column: 1;
            grid-row: 1 / 4;
            width: 95px;
            height: 95px;
            margin: 0;
            border-radius: 10px;
        }

            .oasis-related-grid .oasis-card-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

        .oasis-related-grid .oasis-card-title {
            grid-column: 2;
            grid-row: 1;
            min-height: 0;
            margin: 3px 0 0;
            padding: 0;
            justify-content: flex-start;
            font-size: 18px;
            line-height: 1.2;
            text-align: left;
        }

        .oasis-related-grid .oasis-card-subtitle {
            grid-column: 2;
            grid-row: 2;
            min-height: 0;
            margin: 0;
            padding: 0;
            justify-content: flex-start;
            font-size: 13px;
            line-height: 1.3;
            text-align: left;
        }

        .oasis-related-grid .oasis-btn {
            grid-column: 2;
            grid-row: 3;
            width: auto;
            min-width: 0;
            min-height: 34px;
            margin: 5px 0 0;
            padding: 6px 12px;
            justify-self: start;
            font-size: 12px;
        }
}

/* ==========================================================
   EMPFEHLUNGS-CARDS – SMARTPHONE ENDE
   ========================================================== */











