/* ==========================================================
   RAFIS ELEMENTOR WIDGETS
   STARTSEITE HERO
   ========================================================== */

.rafis-hero-v6,
.rafis-hero-v6 *,
.rafis-hero-v6 *::before,
.rafis-hero-v6 *::after {
    box-sizing: border-box;
}

.rafis-hero-v6 {
    --orange: #F58220;
    --orange-dark: #D96B09;
    --orange-soft: #FFF4EA;
    --ink: #242220;
    --muted: #68615D;
    --light: #F8F5F3;
    --line: #E3D9D3;

    position: relative;
    width: 100%;
    min-height: 720px;
    overflow: hidden;
    color: var(--ink);
    font-family: "Inter", Arial, sans-serif;
    background: #E9E2DD;
}


/* BACKGROUND */

.rafis-hero-v6 .rh6-background {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    background: #DDD5CF;
}

.rafis-hero-v6 .rh6-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);

    transition:
        opacity 1.05s ease,
        transform 6.5s ease;

    pointer-events: none;
}

.rafis-hero-v6 .rh6-slide.is-active {
    z-index: 2;
    opacity: 1;
    transform: scale(1.075);
}

.rafis-hero-v6 .rh6-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}


/* OVERLAY */

.rafis-hero-v6 .rh6-background::after {
    content: "";
    position: absolute;
    z-index: 5;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(248,245,243,1) 0%,
            rgba(248,245,243,.995) 25%,
            rgba(248,245,243,.96) 37%,
            rgba(248,245,243,.80) 48%,
            rgba(248,245,243,.40) 60%,
            rgba(248,245,243,.10) 75%,
            rgba(248,245,243,0) 100%
        );

    pointer-events: none;
}

.rafis-hero-v6 .rh6-image-shade {
    position: absolute;
    z-index: 4;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(30,22,18,.015),
            rgba(30,22,18,.095)
        );

    pointer-events: none;
}


/* CONTENT */

.rafis-hero-v6 .rh6-container {
    position: relative;
    z-index: 10;

    display: flex;
    align-items: center;

    width: 100%;
    max-width: 1390px;
    min-height: 720px;

    margin: 0 auto;

    padding:
        84px
        28px
        90px;
}

.rafis-hero-v6 .rh6-content {
    width: 100%;
    max-width: 650px;
}


/* KICKER */

.rafis-hero-v6 .rh6-kicker {
    margin-bottom: 17px;

    color: var(--orange);

    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.15px;
    text-transform: uppercase;
}


/* H1 */

.rafis-hero-v6 h1 {
    max-width: 650px;

    margin: 0;

    color: var(--ink);

    font-size:
        clamp(
            51px,
            4.7vw,
            70px
        );

    font-weight: 660;
    line-height: .99;
    letter-spacing: -2.8px;
}

.rafis-hero-v6 h1 span {
    display: block;
    margin-top: 7px;
    color: var(--orange);
}


/* DESCRIPTION */

.rafis-hero-v6 .rh6-description {
    max-width: 595px;

    margin:
        27px
        0
        0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.8;
}

.rafis-hero-v6 .rh6-description p {
    margin: 0;
}

.rafis-hero-v6 .rh6-description strong {
    color: var(--ink);
    font-weight: 650;
}


/* BENEFITS */

.rafis-hero-v6 .rh6-benefits {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 27px;
}

.rafis-hero-v6 .rh6-benefit {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    min-height: 38px;

    padding:
        8px
        13px;

    border:
        1px solid
        rgba(219,208,201,.90);

    border-radius: 8px;

    background:
        rgba(255,255,255,.80);

    color: #4E4844;

    font-size: 11px;
    font-weight: 600;

    backdrop-filter:
        blur(8px);
}

.rafis-hero-v6 .rh6-benefit::before {
    content: "";

    width: 6px;
    height: 6px;

    flex: 0 0 auto;

    border-radius: 50%;

    background:
        var(--orange);
}


/* ACTIONS */

.rafis-hero-v6 .rh6-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 31px;
}

.rafis-hero-v6 .rh6-button,
.rafis-hero-v6 .rh6-phone {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 10px !important;

    min-height: 56px !important;

    padding:
        0
        21px !important;

    border-radius: 9px !important;

    font-family:
        "Inter",
        Arial,
        sans-serif !important;

    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1 !important;

    text-decoration: none !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease !important;
}


/* PRIMARY */

.rafis-hero-v6 .rh6-button {
    border:
        1px solid
        var(--orange) !important;

    background:
        var(--orange) !important;

    color:
        #FFFFFF !important;

    box-shadow:
        0 8px 22px
        rgba(245,130,32,.18) !important;
}

.rafis-hero-v6 .rh6-button i {
    color: #FFFFFF !important;
}

.rafis-hero-v6 .rh6-button:hover {
    border-color:
        var(--orange-dark) !important;

    background:
        var(--orange-dark) !important;

    color:
        #FFFFFF !important;

    box-shadow:
        0 12px 28px
        rgba(217,107,9,.23) !important;
}


/* PHONE */

.rafis-hero-v6 .rh6-phone {
    border:
        1px solid
        #D9CEC8 !important;

    background:
        rgba(255,255,255,.90) !important;

    color:
        var(--ink) !important;

    backdrop-filter:
        blur(8px);
}

.rafis-hero-v6 .rh6-phone i {
    color:
        var(--orange) !important;
}

.rafis-hero-v6 .rh6-phone:hover {
    border-color:
        var(--orange) !important;

    background:
        #FFFFFF !important;
}


/* META */

.rafis-hero-v6 .rh6-meta {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-top: 20px;

    color: #6E6762;

    font-size: 11px;
}

.rafis-hero-v6 .rh6-location {
    display: flex;
    align-items: center;

    gap: 8px;
}

.rafis-hero-v6 .rh6-location i {
    color:
        var(--orange);

    font-size: 13px;
}

.rafis-hero-v6 .rh6-service-note {
    padding-left: 21px;
}


/* SLIDER DOTS */

.rafis-hero-v6 .rh6-indicator {
    position: absolute;

    z-index: 15;

    right: 31px;
    bottom: 28px;

    display: flex;
    align-items: center;

    gap: 7px;
}

.rafis-hero-v6 .rh6-dot {
    width: 7px;
    height: 7px;

    padding: 0 !important;

    border:
        1px solid
        rgba(255,255,255,.88) !important;

    border-radius: 50% !important;

    background:
        rgba(255,255,255,.38) !important;

    cursor: pointer;

    transition:
        width .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.rafis-hero-v6 .rh6-dot.is-active {
    width: 25px;

    border-radius: 20px !important;

    border-color:
        #FFFFFF !important;

    background:
        #FFFFFF !important;
}


/* ENTRANCE */

.rafis-hero-v6 [data-rh6] {
    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity .75s
        cubic-bezier(.22,.61,.36,1),
        transform .75s
        cubic-bezier(.22,.61,.36,1);

    transition-delay:
        var(--delay,0ms);
}

.rafis-hero-v6.is-visible
[data-rh6] {
    opacity: 1;

    transform:
        translateY(0);
}


/* TABLET */

@media (max-width:1100px) {

    .rafis-hero-v6,
    .rafis-hero-v6 .rh6-container {
        min-height: 670px;
    }

    .rafis-hero-v6 .rh6-container {
        padding:
            70px
            25px
            76px;
    }

    .rafis-hero-v6 .rh6-content {
        max-width: 570px;
    }

    .rafis-hero-v6 h1 {
        font-size:
            clamp(
                46px,
                5.2vw,
                61px
            );
    }

    .rafis-hero-v6
    .rh6-background::after {
        background:
            linear-gradient(
                90deg,
                rgba(248,245,243,1) 0%,
                rgba(248,245,243,.985) 34%,
                rgba(248,245,243,.86) 50%,
                rgba(248,245,243,.35) 70%,
                rgba(248,245,243,.06) 100%
            );
    }

}


/* MOBILE */

@media (max-width:767px) {

    .rafis-hero-v6 {
        min-height: 760px;
    }

    .rafis-hero-v6 .rh6-container {
        min-height: 760px;

        align-items: flex-start;

        padding:
            62px
            20px
            48px;
    }

    .rafis-hero-v6
    .rh6-background::after {
        background:
            linear-gradient(
                180deg,
                rgba(248,245,243,.28) 0%,
                rgba(248,245,243,.42) 17%,
                rgba(248,245,243,.66) 34%,
                rgba(248,245,243,.87) 50%,
                rgba(248,245,243,.97) 67%,
                rgba(248,245,243,1) 100%
            );
    }

    .rafis-hero-v6
    .rh6-slide-mobile-bright img {
        filter:
            brightness(1.18)
            saturate(.90);
    }

    .rafis-hero-v6
    .rh6-slide-mobile-bright::after {
        content: "";

        position: absolute;

        z-index: 3;

        inset: 0;

        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.16) 0%,
                rgba(255,255,255,.10) 35%,
                rgba(255,255,255,.04) 65%,
                rgba(255,255,255,0) 100%
            );

        pointer-events: none;
    }

    .rafis-hero-v6
    .rh6-slide img {
        object-position:
            center center;
    }

    .rafis-hero-v6 .rh6-content {
        max-width: none;
    }

    .rafis-hero-v6 .rh6-kicker {
        margin-bottom: 11px;

        font-size: 9.5px;
    }

    .rafis-hero-v6 h1 {
        font-size:
            clamp(
                38px,
                10.5vw,
                49px
            );

        line-height: 1;

        letter-spacing: -1.7px;
    }

    .rafis-hero-v6 h1 span {
        margin-top: 5px;
    }

    .rafis-hero-v6 .rh6-description {
        margin-top: 17px;

        font-size: 14px;
        line-height: 1.65;
    }

    .rafis-hero-v6 .rh6-benefits {
        margin-top: 17px;

        gap: 6px;
    }

    .rafis-hero-v6 .rh6-benefit {
        min-height: 34px;

        padding:
            7px
            10px;

        background:
            rgba(255,255,255,.87);

        font-size: 10px;
    }

    .rafis-hero-v6 .rh6-actions {
        display: grid;

        grid-template-columns:
            1fr;

        gap: 8px;

        margin-top: 19px;
    }

    .rafis-hero-v6 .rh6-button,
    .rafis-hero-v6 .rh6-phone {
        width:
            100% !important;

        min-height:
            52px !important;
    }

    .rafis-hero-v6 .rh6-meta {
        margin-top: 14px;

        gap: 5px;

        font-size: 10px;
    }

    .rafis-hero-v6 .rh6-indicator {
        top: 20px;

        right: 20px;

        bottom: auto;
    }

}


/* SMALL MOBILE */

@media (max-width:390px) {

    .rafis-hero-v6 {
        min-height: 780px;
    }

    .rafis-hero-v6 .rh6-container {
        min-height: 780px;

        padding-top: 55px;
    }

    .rafis-hero-v6 h1 {
        font-size:
            clamp(
                35px,
                10.5vw,
                43px
            );
    }

    .rafis-hero-v6 .rh6-description {
        font-size: 13.5px;
    }

}


/* ACCESSIBILITY */

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

    .rafis-hero-v6 [data-rh6] {
        opacity: 1 !important;

        transform: none !important;

        transition: none !important;
    }

    .rafis-hero-v6 .rh6-slide {
        transform: none !important;

        transition:
            opacity .3s ease !important;
    }

}
