/* =========================================================
   PFLEGEEDU CORE
   MODULE: WARUM PFLEGEEDU?

   DESKTOP
   ---------------------------------------------------------
   - Horizontal cards
   - Hover interaction
   - Description appears on hover
   - Gold highlight

   TABLET
   ---------------------------------------------------------
   - Vertical cards
   - 2 columns
   - Description always visible
   - Gold border
   - No active state
   - No hover interaction

   MOBILE
   ---------------------------------------------------------
   - Vertical cards
   - 1 column
   - Description always visible
   - Gold border
   - No active state
   - No hover interaction

   IMPORTANT
   ---------------------------------------------------------
   - Transparent module background
   - Divi controls section background
   - Fixed card heights
   - No layout jumping
   - No links
   - No automatic rotation
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

.pflegeedu-why {

    --pf-white: #ffffff;

    --pf-gold: #c9a45c;

    --pf-gold-light: #d8ba78;

    --pf-muted:
        rgba(
            255,
            255,
            255,
            .68
        );

    --pf-border:
        rgba(
            255,
            255,
            255,
            .16
        );

    --pf-border-hover:
        rgba(
            201,
            164,
            92,
            .65
        );

    --pf-card:
        rgba(
            255,
            255,
            255,
            .025
        );

    --pf-card-hover:
        rgba(
            201,
            164,
            92,
            .07
        );


    position: relative;

    width: 100%;

    padding:
        110px
        8%;

    overflow: hidden;

    background: transparent;

    color:
        var(--pf-white);

    box-sizing: border-box;

}


/* =========================================================
   BOX SIZING
========================================================= */

.pflegeedu-why *,
.pflegeedu-why *::before,
.pflegeedu-why *::after {

    box-sizing: border-box;

}


/* =========================================================
   SCROLL ANIMATION
========================================================= */

.pflegeedu-why .pfade-animate {

    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity .8s ease,
        transform .8s ease;

}


.pflegeedu-why
.pfade-animate.is-visible {

    opacity: 1;

    transform:
        translateY(0);

}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.pflegeedu-why__container {

    display: grid;

    grid-template-columns:
        minmax(300px, .85fr)
        minmax(450px, 1.15fr);

    gap: 100px;

    width: 100%;

    max-width: 1400px;

    margin:
        0
        auto;

    align-items: start;

}


/* =========================================================
   INTRO
========================================================= */

.pflegeedu-why__intro {

    position: sticky;

    top: 120px;

}


.pflegeedu-why__eyebrow {

    display: inline-block;

    margin:
        0
        0
        22px;

    color:
        var(--pf-gold);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .14em;

    line-height: 1.2;

    text-transform: uppercase;

}


/* =========================================================
   TITLE
========================================================= */

.pflegeedu-why__intro h2 {

    max-width: 550px;

    margin:
        0
        0
        28px;

    color:
        var(--pf-white);

    font-size:
        clamp(
            46px,
            5vw,
            76px
        );

    font-weight: 600;

    line-height: 1;

    letter-spacing:
        -.045em;

}


.pflegeedu-why__intro h2 span {

    display: block;

    color:
        var(--pf-gold);

}


/* =========================================================
   INTRO TEXT
========================================================= */

.pflegeedu-why__intro > p {

    max-width: 540px;

    margin:
        0
        0
        40px;

    color:
            var(--pf-white);

    font-size: 17px;

    font-weight: 400;

    line-height: 1.8;

}


/* =========================================================
   STATEMENT
========================================================= */

.pflegeedu-why__statement {

    display: flex;

    flex-direction: column;

    gap: 7px;

    padding-left: 20px;

    border-left:
        2px solid
        var(--pf-gold);

}


.pflegeedu-why__statement span {

    color:
        var(--pf-white);

    font-size: 15px;

    font-weight: 600;

    line-height: 1.4;

}


.pflegeedu-why__statement span:nth-child(2) {

    color:
        var(--pf-gold);

}


/* =========================================================
   VALUES
========================================================= */

.pflegeedu-why__values {

    width: 100%;

}


/* =========================================================
   DESKTOP CARD
========================================================= */

.pflegeedu-why__item {

    position: relative;

    display: grid;

    grid-template-columns:
        55px
        minmax(0, 1fr)
        45px;

    gap: 25px;

    align-items: start;

    width: 100%;

    height: 160px;

    min-height: 160px;

    padding:
        28px
        24px;

    border:
        1px solid
        var(--pf-border);

    border-radius: 22px;

    background:
        var(--pf-card);

    overflow: hidden;

    cursor: default;

    transition:
        background .45s ease,
        border-color .45s ease,
        box-shadow .45s ease,
        transform .45s ease;

}


/* =========================================================
   CARD SPACING
========================================================= */

.pflegeedu-why__item
+ .pflegeedu-why__item {

    margin-top: 12px;

}


/* =========================================================
   NUMBER
========================================================= */

.pflegeedu-why__item-number {

    padding-top: 4px;

    color:
        rgba(
            255,
            255,
            255,
            .42
        );

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .08em;

    line-height: 1;

    transition:
        color .35s ease;

}


/* =========================================================
   CONTENT
========================================================= */

.pflegeedu-why__item-content {

    min-width: 0;

}


/* =========================================================
   TITLE
========================================================= */

.pflegeedu-why__item-content h3 {

    margin: 0;

    color:
        var(--pf-white);

    font-size:
        clamp(
            25px,
            3vw,
            34px
        );

    font-weight: 600;

    line-height: 1.15;

    letter-spacing:
        -.025em;

    transition:
        color .4s ease;

}


/* =========================================================
   DESCRIPTION
========================================================= */

.pflegeedu-why__item-content p {

    max-width: 600px;

    margin:
        13px
        0
        0;

    color:
            var(--pf-white);

    font-size: 14px;

    font-weight: 400;

    line-height: 1.55;

    opacity: 0;

    transform:
        translateY(5px);

    pointer-events: none;

    transition:
        opacity .45s ease,
        transform .45s ease;

}


/* =========================================================
   MARKER
========================================================= */

.pflegeedu-why__item-marker {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 42px;

}


/* =========================================================
   MARKER CIRCLE
========================================================= */

.pflegeedu-why__item-marker span {

    display: block;

    width: 9px;

    height: 9px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .55
        );

    border-radius: 50%;

    background: transparent;

    transition:
        width .45s ease,
        height .45s ease,
        background .45s ease,
        border-color .45s ease,
        box-shadow .45s ease;

}


/* =========================================================
   DESKTOP HOVER
========================================================= */

@media (min-width: 1101px) {

    .pflegeedu-why__item:hover {

        background:
            var(--pf-card-hover);

        border-color:
            var(--pf-border-hover);

        box-shadow:
            0 12px 35px
            rgba(
                0,
                0,
                0,
                .12
            );

        transform:
            translateY(-1px);

    }


    /* =====================================================
       NUMBER
    ===================================================== */

    .pflegeedu-why__item:hover
    .pflegeedu-why__item-number {

        color:
            var(--pf-gold);

    }


    /* =====================================================
       TITLE
    ===================================================== */

    .pflegeedu-why__item:hover
    .pflegeedu-why__item-content h3 {

        color:
            var(--pf-gold);

    }


    /* =====================================================
       DESCRIPTION
    ===================================================== */

    .pflegeedu-why__item:hover
    .pflegeedu-why__item-content p {

        opacity: 1;

        transform:
            translateY(0);

    }


    /* =====================================================
       MARKER
    ===================================================== */

    .pflegeedu-why__item:hover
    .pflegeedu-why__item-marker span {

        width: 11px;

        height: 11px;

        border-color:
            var(--pf-gold);

        background:
            var(--pf-gold);

        box-shadow:
            0 0 0 5px
            rgba(
                201,
                164,
                92,
                .10
            );

    }

}


/* =========================================================
   DECORATIVE BACKGROUND
========================================================= */

.pflegeedu-why::after {

    content: "";

    position: absolute;

    right: -240px;

    bottom: -320px;

    width: 600px;

    height: 600px;

    border:
        1px solid
        rgba(
            201,
            164,
            92,
            .10
        );

    border-radius: 50%;

    pointer-events: none;

}


/* =========================================================
   TABLET
   768px – 1100px
========================================================= */

@media (max-width: 1100px) {

    /* =====================================================
       SECTION
    ===================================================== */

    .pflegeedu-why {

        padding:
            90px
            6%;

    }


    /* =====================================================
       CONTAINER
    ===================================================== */

    .pflegeedu-why__container {

        display: block;

        width: 100%;

        max-width: 900px;

        margin:
            0
            auto;

    }


    /* =====================================================
       INTRO
    ===================================================== */

    .pflegeedu-why__intro {

        position: relative;

        top: auto;

        margin-bottom: 55px;

    }


    /* =====================================================
       VALUES
    ===================================================== */

    .pflegeedu-why__values {

        display: grid;

        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );

        gap: 16px;

    }


    /* =====================================================
       CARD
       
       NUMBER
       TITLE
       DESCRIPTION
       MARKER
    ===================================================== */

    .pflegeedu-why__item {

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: flex-start;

        width: 100%;

        height: 300px;

        min-height: 300px;

        padding:
            32px
            26px;

        gap: 0;

        text-align: center;

        border:
            1px solid
            var(--pf-gold);

        border-radius: 22px;

        background:
            transparent;

        box-shadow: none;

        transform: none;

    }


    /* Remove desktop spacing */

    .pflegeedu-why__item
    + .pflegeedu-why__item {

        margin-top: 0;

    }


    /* =====================================================
       NUMBER
    ===================================================== */

    .pflegeedu-why__item-number {

        padding-top: 0;

        margin-bottom: 20px;

        color:
            var(--pf-gold);

        font-size: 12px;

    }


    /* =====================================================
       CONTENT
    ===================================================== */

    .pflegeedu-why__item-content {

        display: flex;

        flex-direction: column;

        align-items: center;

        width: 100%;

        min-width: 0;

    }


    /* =====================================================
       TITLE
    ===================================================== */

    .pflegeedu-why__item-content h3 {

        color:
            var(--pf-white);

        font-size: 30px;

        line-height: 1.15;

    }


    /* =====================================================
       DESCRIPTION
       
       ALWAYS VISIBLE
    ===================================================== */

    .pflegeedu-why__item-content p {

        max-width: 420px;

        margin:
            16px
            auto
            0;

        color:
            var(--pf-white);

        opacity: 1;

        transform: none;

        pointer-events: auto;

        font-size: 14px;

        line-height: 1.6;

    }


    /* =====================================================
       MARKER
    ===================================================== */

    .pflegeedu-why__item-marker {

        width: 42px;

        height: 42px;

        margin-top: auto;

        flex-shrink: 0;

    }


    .pflegeedu-why__item-marker span {

        width: 9px;

        height: 9px;

        border-color:
            var(--pf-gold);

        background:
            transparent;

        box-shadow: none;

    }


    /* =====================================================
       FORCE SAME STYLE EVEN IF JS ADDS .is-active
    ===================================================== */

    .pflegeedu-why__item.is-active {

        background:
            transparent;

        border:
            1px solid
            var(--pf-gold);

        box-shadow: none;

        transform: none;

    }


    .pflegeedu-why__item.is-active
    .pflegeedu-why__item-number {

        color:
            var(--pf-gold);

    }


    .pflegeedu-why__item.is-active
    .pflegeedu-why__item-content h3 {

        color:
            var(--pf-white);

    }


    .pflegeedu-why__item.is-active
    .pflegeedu-why__item-content p {

        opacity: 1;

        transform: none;

    }


    .pflegeedu-why__item.is-active
    .pflegeedu-why__item-marker span {

        width: 9px;

        height: 9px;

        border-color:
            var(--pf-gold);

        background:
            transparent;

        box-shadow: none;

    }


    /* =====================================================
       DISABLE HOVER COMPLETELY
    ===================================================== */

    .pflegeedu-why__item:hover {

        background:
            transparent;

        border:
            1px solid
            var(--pf-gold);

        box-shadow: none;

        transform: none;

    }


    .pflegeedu-why__item:hover
    .pflegeedu-why__item-number {

        color:
            var(--pf-gold);

    }


    .pflegeedu-why__item:hover
    .pflegeedu-why__item-content h3 {

        color:
            var(--pf-white);

    }


    .pflegeedu-why__item:hover
    .pflegeedu-why__item-content p {

        opacity: 1;

        transform: none;

    }


    .pflegeedu-why__item:hover
    .pflegeedu-why__item-marker span {

        width: 9px;

        height: 9px;

        border-color:
            var(--pf-gold);

        background:
            transparent;

        box-shadow: none;

    }

}


/* =========================================================
   MOBILE
   0px – 767px
========================================================= */

@media (max-width: 767px) {

    /* =====================================================
       SECTION
    ===================================================== */

    .pflegeedu-why {

        padding:
            70px
            20px;

    }


    /* =====================================================
       INTRO
    ===================================================== */

    .pflegeedu-why__intro {

        margin-bottom: 42px;

    }


    .pflegeedu-why__eyebrow {

        margin-bottom: 18px;

        font-size: 12px;

    }


    .pflegeedu-why__intro h2 {

        margin-bottom: 22px;

        font-size: 44px;

        line-height: 1.02;

    }


    .pflegeedu-why__intro > p {

        margin-bottom: 30px;

        font-size: 15px;

        line-height: 1.7;

    }


    /* =====================================================
       STATEMENT
    ===================================================== */

    .pflegeedu-why__statement {

        padding-left: 16px;

    }


    .pflegeedu-why__statement span {

        font-size: 14px;

    }


    /* =====================================================
       VALUES
    ===================================================== */

    .pflegeedu-why__values {

        display: grid;

        grid-template-columns:
            1fr;

        gap: 12px;

    }


    /* =====================================================
       CARD
    ===================================================== */

    .pflegeedu-why__item {

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: flex-start;

        width: 100%;

        height: 280px;

        min-height: 280px;

        padding:
            30px
            22px;

        gap: 0;

        text-align: center;

        border:
            1px solid
            var(--pf-gold);

        border-radius: 20px;

        background:
            transparent;

        box-shadow: none;

        transform: none;

    }


    /* =====================================================
       NUMBER
    ===================================================== */

    .pflegeedu-why__item-number {

        padding-top: 0;

        margin-bottom: 17px;

        color:
            var(--pf-gold);

        font-size: 11px;

    }


    /* =====================================================
       CONTENT
    ===================================================== */

    .pflegeedu-why__item-content {

        display: flex;

        flex-direction: column;

        align-items: center;

        width: 100%;

    }


    /* =====================================================
       TITLE
    ===================================================== */

    .pflegeedu-why__item-content h3 {

        color:
            var(--pf-white);

        font-size: 28px;

        line-height: 1.15;

    }


    /* =====================================================
       DESCRIPTION
    ===================================================== */

    .pflegeedu-why__item-content p {

        max-width: 330px;

        margin:
            14px
            auto
            0;

        color:
            var(--pf-white);

        opacity: 1;

        transform: none;

        pointer-events: auto;

        font-size: 13px;

        line-height: 1.55;

    }


    /* =====================================================
       MARKER
    ===================================================== */

    .pflegeedu-why__item-marker {

        width: 34px;

        height: 34px;

        margin-top: auto;

        flex-shrink: 0;

    }


    .pflegeedu-why__item-marker span {

        width: 8px;

        height: 8px;

        border-color:
            var(--pf-gold);

        background:
            transparent;

        box-shadow: none;

    }


    /* =====================================================
       FORCE SAME STYLE FOR .is-active
    ===================================================== */

    .pflegeedu-why__item.is-active {

        background:
            transparent;

        border:
            1px solid
            var(--pf-gold);

        box-shadow: none;

        transform: none;

    }


    .pflegeedu-why__item.is-active
    .pflegeedu-why__item-number {

        color:
            var(--pf-gold);

    }


    .pflegeedu-why__item.is-active
    .pflegeedu-why__item-content h3 {

        color:
            var(--pf-white);

    }


    .pflegeedu-why__item.is-active
    .pflegeedu-why__item-content p {

        opacity: 1;

        transform: none;

    }


    .pflegeedu-why__item.is-active
    .pflegeedu-why__item-marker span {

        width: 8px;

        height: 8px;

        border-color:
            var(--pf-gold);

        background:
            transparent;

        box-shadow: none;

    }


    /* =====================================================
       DISABLE HOVER
    ===================================================== */

    .pflegeedu-why__item:hover {

        background:
            transparent;

        border:
            1px solid
            var(--pf-gold);

        box-shadow: none;

        transform: none;

    }


    .pflegeedu-why__item:hover
    .pflegeedu-why__item-number {

        color:
            var(--pf-gold);

    }


    .pflegeedu-why__item:hover
    .pflegeedu-why__item-content h3 {

        color:
            var(--pf-white);

    }


    .pflegeedu-why__item:hover
    .pflegeedu-why__item-content p {

        opacity: 1;

        transform: none;

    }


    .pflegeedu-why__item:hover
    .pflegeedu-why__item-marker span {

        width: 8px;

        height: 8px;

        border-color:
            var(--pf-gold);

        background:
            transparent;

        box-shadow: none;

    }


    /* =====================================================
       DECORATIVE CIRCLE
    ===================================================== */

    .pflegeedu-why::after {

        right: -320px;

        bottom: -350px;

        width: 500px;

        height: 500px;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pflegeedu-why *,
    .pflegeedu-why *::before,
    .pflegeedu-why *::after {

        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        scroll-behavior:
            auto !important;

    }


    .pflegeedu-why .pfade-animate {

        opacity: 1;

        transform: none;

    }

}

/* =========================================================
   B2B MODAL – WHITE TYPOGRAPHY
========================================================= */

/*
 * Modal content
 */

.pflegeedu-b2b-modal__content {
    color: #ffffff;
}


/*
 * Eyebrow / small title
 */

.pflegeedu-b2b-modal__content .pflegeedu-b2b__eyebrow {
    color: #D4AF37;
}


/*
 * Main modal heading
 */

.pflegeedu-b2b-modal__content h2 {
    color: #ffffff !important;
}


/*
 * Gold accent inside heading
 */

.pflegeedu-b2b-modal__content h2 span {
    color: #D4AF37 !important;
}


/*
 * Intro paragraph
 */

.pflegeedu-b2b-modal__intro {
    color: rgba(255, 255, 255, 0.78) !important;
}


/*
 * Form labels
 */

.pflegeedu-b2b-form label {
    color: #ffffff !important;
}


/*
 * Required star / label accents
 */

.pflegeedu-b2b-form label::after {
    color: #D4AF37;
}


/*
 * Inputs
 */

.pflegeedu-b2b-form input,
.pflegeedu-b2b-form select,
.pflegeedu-b2b-form textarea {
    color: #ffffff !important;
}


/*
 * Placeholder
 */

.pflegeedu-b2b-form input::placeholder,
.pflegeedu-b2b-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}


/*
 * Select options
 */

.pflegeedu-b2b-form select option {
    color: #111827;
    background: #ffffff;
}


/*
 * Close button
 */

.pflegeedu-b2b-modal__close {
    color: #ffffff !important;
}


/*
 * Form status
 */

.pflegeedu-b2b-form__status {
    color: #ffffff;
}


/*
 * Success / error messages
 */

.pflegeedu-b2b-form__status.is-success {
    color: #D4AF37 !important;
}

.pflegeedu-b2b-form__status.is-error {
    color: #ffffff !important;
}
/* =========================================================
   B2B MODAL – SUBMIT BUTTON
========================================================= */

.pflegeedu-b2b-modal .pflegeedu-b2b-form__actions {
    margin-top: 16px;
}

.pflegeedu-b2b-modal .pflegeedu-b2b-form__actions .pflegeedu-b2b__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    min-height: 52px;

    background: #D4AF37 !important;
    background-color: #D4AF37 !important;

    color: #0B1F3A !important;

    border: 1px solid #D4AF37 !important;
    border-radius: 12px;

    font-weight: 700;
    cursor: pointer;

    opacity: 1 !important;
    box-shadow: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.pflegeedu-b2b-modal .pflegeedu-b2b-form__actions .pflegeedu-b2b__button span {
    color: #0B1F3A !important;
}

.pflegeedu-b2b-modal .pflegeedu-b2b-form__actions .pflegeedu-b2b__button:hover {
    background: #ffffff !important;
    background-color: #ffffff !important;

    color: #0B1F3A !important;

    border-color: #ffffff !important;

    transform: translateY(-1px);
}

.pflegeedu-b2b-modal .pflegeedu-b2b-form__actions .pflegeedu-b2b__button:hover span {
    color: #fff !important;
}


/* =========================================================
   LOADING STATE
========================================================= */

.pflegeedu-b2b-modal .pflegeedu-b2b-form.is-loading
    .pflegeedu-b2b-form__actions .pflegeedu-b2b__button {
    opacity: 0.65 !important;
    cursor: wait;
    transform: none;
}

.pflegeedu-b2b__button {
    color: white !important;
    border: 1px solid white;