.rafis-process,
.rafis-process * {
    box-sizing:border-box;
}

.rafis-process {
    --rf-orange:#F58220;
    --rf-orange-dark:#D96B09;

    --rf-brown:#6A584C;
    --rf-brown-soft:#DDD3CC;

    --rf-ink:#242220;
    --rf-muted:#68615D;

    --rf-paper:#F8F5F3;
    --rf-border:#E5DDD8;

    --rf-soft-orange:#FFF4EA;

    width:100%;

    padding:100px 28px;

    background:var(--rf-paper);

    color:var(--rf-ink);

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

    overflow:hidden;
}


.rafis-process .rfp-inner {
    width:100%;
    max-width:1390px;

    margin:0 auto;
}


/* HEADER */

.rafis-process .rfp-header {
    display:grid;

    grid-template-columns:.9fr 1.1fr;

    gap:90px;

    align-items:end;

    margin-bottom:65px;
}


.rafis-process .rfp-eyebrow {
    margin-bottom:17px;

    color:var(--rf-orange);

    font-size:12px;
    font-weight:700;

    letter-spacing:1.1px;

    line-height:1.4;

    text-transform:uppercase;
}


.rafis-process h2 {
    max-width:620px;

    margin:0;

    color:var(--rf-ink);

    font-size:clamp(35px,3.4vw,48px);

    font-weight:620;

    line-height:1.14;

    letter-spacing:-1.45px;
}


.rafis-process h2 span {
    color:var(--rf-orange);

    font-weight:500;
}


.rafis-process .rfp-intro {
    max-width:640px;

    color:var(--rf-muted);

    font-size:16px;

    line-height:1.85;
}


.rafis-process .rfp-intro p {
    margin:0;
}


.rafis-process .rfp-intro strong {
    color:var(--rf-ink);

    font-weight:600;
}



/* =========================================================
   STEPS
   ========================================================= */

.rafis-process .rfp-steps {
    position:relative;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:0;
}


/* LINIE */

.rafis-process .rfp-line {
    position:absolute;

    top:31px;

    left:9%;
    right:9%;

    height:1px;

    background:var(--rf-brown-soft);

    overflow:hidden;
}


.rafis-process .rfp-line-fill {
    width:0;
    height:100%;

    background:var(--rf-orange);

    transition:
        width 1.4s
        cubic-bezier(.22,.61,.36,1)
        .25s;
}


.rafis-process.is-visible
.rfp-line-fill {
    width:100%;
}



/* STEP */

.rafis-process .rfp-step {
    position:relative;

    z-index:2;

    padding:0 28px;
}


.rafis-process .rfp-step:nth-of-type(2) {
    padding-left:0;
}


.rafis-process .rfp-step:last-child {
    padding-right:0;
}



/* ICON */

.rafis-process .rfp-icon-wrap {
    position:relative;

    display:flex;

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

    width:64px;
    height:64px;

    margin-bottom:28px;

    border:1px solid #D9CEC8;

    border-radius:12px;

    background:var(--rf-paper);

    color:var(--rf-orange);

    font-size:20px;

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


.rafis-process .rfp-icon-wrap > i,
.rafis-process .rfp-icon-wrap > svg,
.rafis-process .rfp-icon-wrap .e-font-icon-svg {
    display:block !important;

    width:20px !important;
    height:20px !important;

    max-width:20px !important;
    max-height:20px !important;

    color:currentColor !important;
    fill:currentColor !important;
}


.rafis-process .rfp-step:hover
.rfp-icon-wrap {
    background:var(--rf-orange);

    border-color:var(--rf-orange);

    color:#FFFFFF;

    box-shadow:
        0 9px 22px
        rgba(245,130,32,.14);
}



/* NUMMER */

.rafis-process .rfp-number {
    position:absolute;

    top:-8px;
    right:-8px;

    display:flex;

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

    width:23px;
    height:23px;

    border:
        2px solid
        var(--rf-paper);

    border-radius:50%;

    background:var(--rf-orange);

    color:#FFFFFF;

    font-size:9px;
    font-weight:700;

    box-shadow:
        0 4px 10px
        rgba(245,130,32,.14);
}



/* STEP TEXT */

.rafis-process .rfp-step h3 {
    margin:0 0 11px;

    color:var(--rf-ink);

    font-size:18px;
    font-weight:650;

    line-height:1.35;
}


.rafis-process .rfp-step p {
    margin:0;

    color:var(--rf-muted);

    font-size:13px;

    line-height:1.75;
}


.rafis-process .rfp-step h3::after {
    content:"";

    display:block;

    width:24px;
    height:2px;

    margin-top:10px;

    border-radius:20px;

    background:var(--rf-brown);

    opacity:.45;

    transform-origin:left center;

    transition:
        width .25s ease,
        opacity .25s ease;
}


.rafis-process .rfp-step:hover
h3::after {
    width:38px;

    opacity:.8;
}



/* =========================================================
   BOTTOM
   ========================================================= */

.rafis-process .rfp-bottom {
    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:35px;

    margin-top:62px;

    padding-top:30px;

    border-top:
        1px solid
        var(--rf-border);
}


.rafis-process .rfp-bottom-text {
    display:flex;

    align-items:center;

    gap:14px;

    color:var(--rf-muted);

    font-size:13px;

    line-height:1.6;
}


.rafis-process .rfp-bottom-icon {
    display:flex;

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

    width:38px;
    height:38px;

    flex:
        0 0 38px;

    border-radius:8px;

    background:
        var(--rf-soft-orange);

    color:
        var(--rf-orange);
}


.rafis-process
.rfp-bottom-icon > i,

.rafis-process
.rfp-bottom-icon > svg,

.rafis-process
.rfp-bottom-icon
.e-font-icon-svg {
    display:block !important;

    width:14px !important;
    height:14px !important;

    max-width:14px !important;
    max-height:14px !important;

    color:currentColor !important;

    fill:currentColor !important;
}


.rafis-process
.rfp-bottom-text strong {
    color:var(--rf-ink);

    font-weight:650;

    margin-right:4px;
}



/* BUTTON */

.rafis-process .rfp-button {
    display:inline-flex !important;

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

    gap:10px;

    min-height:50px;

    padding:13px 20px;

    border:
        1px solid
        var(--rf-orange) !important;

    border-radius:8px;

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

    color:
        #FFFFFF !important;

    font-size:12px;

    font-weight:650;

    text-decoration:none !important;

    white-space:nowrap;

    transition:
        background .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}


.rafis-process
.rfp-button:hover {
    background:
        var(--rf-orange-dark) !important;

    border-color:
        var(--rf-orange-dark) !important;

    color:#FFFFFF !important;

    transform:none !important;

    box-shadow:
        0 8px 20px
        rgba(217,107,9,.17);
}



/* =========================================================
   ANIMATION
   Standardmäßig sichtbar!
   ========================================================= */

.rafis-process [data-rfp-animate] {
    opacity:1;

    transform:none;

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

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


.rafis-process.rfp-animation-ready:not(.is-visible)
[data-rfp-animate] {
    opacity:0;

    transform:
        translateY(26px);
}


.rafis-process.rfp-animation-ready:not(.is-visible)
[data-rfp-animate="left"] {
    transform:
        translateX(-28px);
}


.rafis-process.rfp-animation-ready:not(.is-visible)
[data-rfp-animate="right"] {
    transform:
        translateX(28px);
}


.rafis-process.is-visible
[data-rfp-animate] {
    opacity:1;

    transform:
        translate3d(0,0,0);
}



/* ELEMENTOR EDITOR IMMER SICHTBAR */

body.elementor-editor-active
.rafis-process [data-rfp-animate],

body.elementor-editor-preview
.rafis-process [data-rfp-animate],

.elementor-edit-area-active
.rafis-process [data-rfp-animate] {
    opacity:1 !important;

    transform:none !important;

    visibility:visible !important;
}


body.elementor-editor-active
.rafis-process .rfp-line-fill,

body.elementor-editor-preview
.rafis-process .rfp-line-fill {
    width:100% !important;
}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:1050px) {

    .rafis-process {
        padding:
            80px
            25px;
    }


    .rafis-process .rfp-header {
        grid-template-columns:1fr;

        gap:25px;

        margin-bottom:50px;
    }


    .rafis-process .rfp-steps {
        grid-template-columns:
            repeat(2,1fr);

        gap:
            45px
            30px;
    }


    .rafis-process .rfp-line {
        display:none;
    }


    .rafis-process .rfp-step {
        padding:0 !important;
    }

}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:767px) {

    .rafis-process {
        padding:
            65px
            20px;
    }


    .rafis-process .rfp-header {
        gap:20px;

        margin-bottom:38px;
    }


    .rafis-process .rfp-eyebrow {
        margin-bottom:14px;

        font-size:10px;

        letter-spacing:.8px;
    }


    .rafis-process h2 {
        font-size:
            clamp(
                32px,
                8vw,
                40px
            );

        line-height:1.16;

        letter-spacing:-1px;
    }


    .rafis-process .rfp-intro {
        font-size:14px;

        line-height:1.78;
    }


    .rafis-process .rfp-steps {
        grid-template-columns:1fr;

        gap:0;
    }


    .rafis-process .rfp-step {
        position:relative;

        display:grid;

        grid-template-columns:
            54px
            1fr;

        gap:18px;

        padding:
            0
            0
            31px !important;
    }


    .rafis-process
    .rfp-step:not(:last-child)::before {
        content:"";

        position:absolute;

        top:55px;
        bottom:0;

        left:26px;

        width:1px;

        background:
            var(--rf-brown-soft);
    }


    .rafis-process .rfp-icon-wrap {
        width:54px;
        height:54px;

        margin:0;

        border-radius:10px;

        font-size:17px;
    }


    .rafis-process
    .rfp-icon-wrap > svg,

    .rafis-process
    .rfp-icon-wrap
    .e-font-icon-svg {
        width:17px !important;
        height:17px !important;

        max-width:17px !important;
        max-height:17px !important;
    }


    .rafis-process .rfp-number {
        top:-7px;
        right:-7px;

        width:21px;
        height:21px;

        font-size:8px;
    }


    .rafis-process .rfp-step h3 {
        margin-top:2px;
        margin-bottom:8px;

        font-size:17px;
    }


    .rafis-process .rfp-step h3::after {
        margin-top:8px;
    }


    .rafis-process .rfp-step p {
        font-size:13px;

        line-height:1.7;
    }


    .rafis-process .rfp-bottom {
        flex-direction:column;

        align-items:stretch;

        gap:20px;

        margin-top:21px;

        padding-top:24px;
    }


    .rafis-process .rfp-bottom-text {
        align-items:flex-start;

        font-size:12px;
    }


    .rafis-process .rfp-button {
        width:100%;

        min-height:52px;
    }

}



/* REDUCED MOTION */

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

    .rafis-process [data-rfp-animate] {
        opacity:1 !important;

        transform:none !important;

        transition:none !important;
    }


    .rafis-process .rfp-line-fill {
        width:100% !important;

        transition:none !important;
    }

}
