
/* =========================================================
   6- AL-YAQEEN – ERSTE SCHRITTE SLIDER
   ========================================================= */

.yaqeen-first-steps {
    width: 100%;
    padding: 30px 0 35px;
    background: #f7f9f8;
    overflow: hidden;
    border-top: 3px solid #c89b3c;
}


.yaqeen-first-steps-container {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   ÜBERSCHRIFT
   ========================================================= */

.yaqeen-first-steps-heading {
    margin-bottom: 38px;
    text-align: center;
}


.yaqeen-first-steps-heading span {
    display: block;
    margin-bottom: 8px;

    color: #009b70;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 6px;
}


.yaqeen-first-steps-heading h2 {
    margin: 0 0 10px;

    color: #075c45;

    font-size: clamp(40px, 4vw, 58px);
    line-height: 1.1;
    font-weight: 800;
}


.yaqeen-first-steps-heading p {
    max-width: 650px;

    margin: 0 auto;

    color: #53645d;

    font-size: 17px;
    line-height: 1.6;
}


/* =========================================================
   SLIDER
   ========================================================= */

.yaqeen-steps-slider {
    position: relative;

    display: flex;
    align-items: center;

    gap: 20px;
}


.yaqeen-steps-window {
    width: 100%;

    overflow: hidden;
}


.yaqeen-steps-track {
    display: flex;

    gap: 35px;

    width: 100%;

    transform: translate3d(0, 0, 0);

    transition:
        transform 0.55s cubic-bezier(.22,.61,.36,1);

    will-change: transform;
}

/* =========================================================
   KARTE
   ========================================================= */

.yaqeen-step-card {
    flex: 0 0 calc((100% - 70px) / 3);

    width: calc((100% - 70px) / 3);

    box-sizing: border-box;

    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border-radius: 0 26px 26px 26px;

    box-shadow:
        0 15px 35px rgba(12, 55, 43, 0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.yaqeen-step-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 24px 45px rgba(12, 55, 43, 0.16);
}


/* =========================================================
   BILD
   ========================================================= */

.yaqeen-step-image {
    position: relative;

    width: 100%;
    height: 255px;

    overflow: hidden;
    border-radius: 20px;
}


.yaqeen-step-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.55s ease;
}


.yaqeen-step-card:hover
.yaqeen-step-image img {
    transform: scale(1.05);
}


/* Overlay */

.yaqeen-step-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.02),
            rgba(0,55,40,0.45)
        );

    pointer-events: none;
}


/* =========================================================
   NUMMER
   ========================================================= */

.yaqeen-step-number {
    position: absolute;

    left: 22px;
    bottom: 20px;

    z-index: 3;

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #075c45;

    border: 3px solid #ffffff;

    color: #ffffff;

    font-size: 16px;
    font-weight: 800;

    box-shadow:
        0 7px 18px rgba(0,0,0,0.20);
}


/* =========================================================
   KARTEN-INHALT
   ========================================================= */

.yaqeen-step-content {
    padding: 28px 30px 30px;
}


.yaqeen-step-content h3 {
    margin: 0 0 11px;

    color: #075c45;

    font-size: 25px;
    line-height: 1.2;

    font-weight: 800;
}


.yaqeen-step-content p {
    min-height: 78px;

    margin: 0;

    color: #53645d;

    font-size: 15.5px;
    line-height: 1.65;
}


/* =========================================================
   BUTTON
   ========================================================= */

.yaqeen-step-button {
    margin-top: 20px;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: #008866;

    font-size: 15px;
    font-weight: 800;

    text-decoration: none;

    transition:
        color 0.2s ease,
        gap 0.2s ease;
}


.yaqeen-step-button span {
    color: #c89b3c;

    font-size: 20px;
}


.yaqeen-step-button:hover {
    color: #c89b3c;

    gap: 16px;
}


/* =========================================================
   PFEILE
   ========================================================= */

.yaqeen-steps-arrow {
    flex: 0 0 auto;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #075c45;

    color: #ffffff;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(7, 92, 69, 0.20);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.yaqeen-steps-arrow:hover {
    background: #009b70;

    transform: scale(1.08);
}


.yaqeen-steps-arrow:disabled {
    opacity: 0.35;

    cursor: default;

    transform: none;
}


/* =========================================================
   PUNKTE
   ========================================================= */

.yaqeen-steps-dots {
    margin-top: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;
}


.yaqeen-step-dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: #c6d1cc;

    cursor: pointer;

    transition:
        width 0.25s ease,
        background 0.25s ease;
}


.yaqeen-step-dot.active {
    width: 28px;

    border-radius: 10px;

    background: #075c45;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .yaqeen-first-steps-container {
        width: calc(100% - 50px);
    }


    .yaqeen-step-card {
        flex: 0 0 calc((100% - 35px) / 2);
    }


    .yaqeen-step-image {
        height: 240px;
    }


    .yaqeen-step-content h3 {
        font-size: 23px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .yaqeen-first-steps {
        padding: 70px 0 75px;
    }


    .yaqeen-first-steps-container {
        width: calc(100% - 30px);
    }


    .yaqeen-first-steps-heading {
        margin-bottom: 30px;
    }


    .yaqeen-first-steps-heading span {
        font-size: 11px;
        letter-spacing: 4px;
    }


    .yaqeen-first-steps-heading h2 {
        font-size: 34px;
    }


    .yaqeen-first-steps-heading p {
        font-size: 15px;
    }


    .yaqeen-steps-slider {
        gap: 8px;
    }


    .yaqeen-step-card {
        flex: 0 0 100%;
    }


    .yaqeen-step-image {
        height: 260px;
    }


    .yaqeen-step-content {
        padding: 25px;
    }


    .yaqeen-step-content h3 {
        font-size: 24px;
    }


    .yaqeen-step-content p {
        min-height: auto;
    }


    .yaqeen-steps-arrow {
        position: absolute;

        z-index: 10;

        width: 42px;
        height: 42px;

        font-size: 28px;
    }


    .yaqeen-steps-prev {
        left: 12px;
    }


    .yaqeen-steps-next {
        right: 12px;
    }

}
