#energiebeschaffung-ablauf,
#energiebeschaffung-ablauf * {
    box-sizing: border-box;
}

#energiebeschaffung-ablauf {

    --blue: #2B80FF;
    --blue-dark: #176FEF;

    --dark: #111C2D;
    --text: #34445A;
    --muted: #68778B;

    --line: #E2E9F2;
    --light: #F5F8FC;

    position: relative;

    width: 100%;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #FFFFFF 0%,
            #F6F9FD 100%
        );

    font-family: inherit;
}


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

#energiebeschaffung-ablauf .ew-process-light-bg {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(43,128,255,.075),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 78%,
            rgba(43,128,255,.055),
            transparent 30%
        );
}

#energiebeschaffung-ablauf::after {

    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 42%;
    height: 100%;

    opacity: .5;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(43,128,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(43,128,255,.035) 1px,
            transparent 1px
        );

    background-size: 65px 65px;

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000 40%
        );

    -webkit-mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000 40%
        );
}


/* ==========================================================
   INNER
========================================================== */

#energiebeschaffung-ablauf .ew-process-light-inner {

    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1440px;

    margin: 0 auto;

    padding: 105px 60px;

    display: grid;

    grid-template-columns:
        minmax(350px,.76fr)
        minmax(0,1.24fr);

    gap: 100px;

    align-items: center;
}


/* ==========================================================
   LABEL
========================================================== */

#energiebeschaffung-ablauf .ew-process-light-label {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 17px;

    color: var(--blue);

    font-size: 11px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: .1em;

    text-transform: uppercase;
}

#energiebeschaffung-ablauf .ew-process-light-label span {

    width: 27px;
    height: 2px;

    display: block;

    background: var(--blue);
}


/* ==========================================================
   HEADLINE
========================================================== */

#energiebeschaffung-ablauf h2 {

    max-width: 590px;

    margin: 0;

    color: var(--dark);

    font-size:
        clamp(36px,3.3vw,47px);

    line-height: 1.08;

    letter-spacing: -.038em;

    font-weight: 600;
}

#energiebeschaffung-ablauf h2 span {

    display: block;

    color: var(--blue);

    font-weight: inherit;
}


/* ==========================================================
   LEAD
========================================================== */

#energiebeschaffung-ablauf .ew-process-light-lead {

    max-width: 570px;

    margin: 23px 0 0;

    color: var(--text);

    font-size: 16.5px;

    line-height: 1.75;

    font-weight: 400;
}


/* ==========================================================
   BESCHAFFUNGSMODELL BOX
========================================================== */

#energiebeschaffung-ablauf .ew-process-light-widget {

    max-width: 520px;

    margin-top: 34px;

    padding: 22px;

    border-radius: 11px;

    background: #FFFFFF;

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

    box-shadow:
        0 18px 45px rgba(31,60,94,.08);
}

#energiebeschaffung-ablauf .ew-process-light-widget-head {

    display: flex;

    align-items: center;

    gap: 13px;
}

#energiebeschaffung-ablauf .ew-process-light-widget-icon {

    width: 41px;
    height: 41px;

    flex: 0 0 41px;

    display: flex;

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

    border-radius: 8px;

    background:
        rgba(43,128,255,.09);

    border:
        1px solid rgba(43,128,255,.14);
}

#energiebeschaffung-ablauf .ew-process-light-widget-icon svg {

    width: 19px;
    height: 19px;

    fill: none;

    stroke: var(--blue);

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}

#energiebeschaffung-ablauf .ew-process-light-widget-head span {

    display: block;

    margin-bottom: 2px;

    color: var(--muted);

    font-size: 10px;
}

#energiebeschaffung-ablauf .ew-process-light-widget-head strong {

    display: block;

    color: var(--dark);

    font-size: 14px;

    font-weight: 600;
}


/* ==========================================================
   TAGS
========================================================== */

#energiebeschaffung-ablauf .ew-process-light-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 20px;
}

#energiebeschaffung-ablauf .ew-process-light-tags span {

    padding: 7px 10px;

    border-radius: 5px;

    color: #53647A;

    font-size: 10.5px;

    line-height: 1;

    background: #F5F8FC;

    border:
        1px solid #E4EBF3;
}


/* ==========================================================
   PROGRESS
========================================================== */

#energiebeschaffung-ablauf .ew-process-light-progress {

    margin-top: 20px;
}

#energiebeschaffung-ablauf .ew-process-light-progress-track {

    position: relative;

    height: 4px;

    overflow: hidden;

    border-radius: 20px;

    background: #E9EEF5;
}

#energiebeschaffung-ablauf .ew-process-light-progress-track span {

    position: absolute;

    inset:
        0
        auto
        0
        0;

    width: 72%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            #6EADFF
        );

    transform: scaleX(0);

    transform-origin: left center;
}

#energiebeschaffung-ablauf
.ew-process-light-widget.ew-pl-visible
.ew-process-light-progress-track span {

    animation:
        ewLightBar 1.3s ease .4s forwards;
}

#energiebeschaffung-ablauf .ew-process-light-progress small {

    display: block;

    margin-top: 8px;

    color: #8995A5;

    font-size: 9.5px;

    line-height: 1.4;
}


/* ==========================================================
   BUTTON
========================================================== */

#energiebeschaffung-ablauf .ew-process-light-button {

    min-height: 54px;

    margin-top: 27px;

    padding: 0 23px;

    display: inline-flex;

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

    gap: 12px;

    border-radius: 5px;

    background: var(--blue);

    color: #FFFFFF !important;

    text-decoration: none !important;

    font-size: 13px;

    font-weight: 600;

    box-shadow:
        0 11px 27px rgba(43,128,255,.20);

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

#energiebeschaffung-ablauf .ew-process-light-button:hover {

    transform: translateY(-2px);

    background: var(--blue-dark);

    box-shadow:
        0 15px 34px rgba(43,128,255,.27);
}

#energiebeschaffung-ablauf .ew-process-light-button svg {

    width: 17px;
    height: 17px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform .25s ease;
}

#energiebeschaffung-ablauf .ew-process-light-button:hover svg {

    transform: translateX(3px);
}


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

#energiebeschaffung-ablauf .ew-process-light-steps {

    position: relative;

    display: grid;

    gap: 15px;
}


/* LINE */

#energiebeschaffung-ablauf .ew-process-light-line {

    position: absolute;

    top: 44px;
    bottom: 44px;

    left: 17px;

    width: 2px;

    overflow: hidden;

    border-radius: 20px;

    background: #DDE6F1;
}

#energiebeschaffung-ablauf .ew-process-light-line span {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    transform: scaleY(0);

    transform-origin: top center;

    background:
        linear-gradient(
            180deg,
            var(--blue),
            rgba(43,128,255,.18)
        );
}

#energiebeschaffung-ablauf
.ew-process-light-steps.ew-pl-line-visible
.ew-process-light-line span {

    animation:
        ewLightLine 1.5s ease forwards;
}


/* ==========================================================
   STEP
========================================================== */

#energiebeschaffung-ablauf .ew-process-light-step {

    position: relative;

    padding-left: 57px;
}


/* POINT */

#energiebeschaffung-ablauf .ew-process-light-point {

    position: absolute;

    top: 50%;
    left: 7px;

    z-index: 3;

    width: 21px;
    height: 21px;

    transform: translateY(-50%);

    display: flex;

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

    border-radius: 50%;

    background: #FFFFFF;

    border:
        1px solid rgba(43,128,255,.35);

    box-shadow:
        0 5px 15px rgba(31,60,94,.08);
}

#energiebeschaffung-ablauf .ew-process-light-point span {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--blue);

    box-shadow:
        0 0 0 4px rgba(43,128,255,.10);
}


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

#energiebeschaffung-ablauf .ew-process-light-card {

    position: relative;

    display: grid;

    grid-template-columns:
        46px
        1fr;

    gap: 17px;

    align-items: flex-start;

    padding:
        23px
        25px;

    overflow: hidden;

    border-radius: 11px;

    background: #FFFFFF;

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

    box-shadow:
        0 12px 35px rgba(31,60,94,.055);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

#energiebeschaffung-ablauf .ew-process-light-card::after {

    content: "";

    position: absolute;

    top: -90px;
    right: -100px;

    width: 200px;
    height: 200px;

    border-radius: 50%;

    opacity: 0;

    background:
        radial-gradient(
            circle,
            rgba(43,128,255,.09),
            transparent 70%
        );

    transition: opacity .3s ease;
}

#energiebeschaffung-ablauf .ew-process-light-card:hover {

    transform: translateX(5px);

    border-color:
        rgba(43,128,255,.24);

    box-shadow:
        0 18px 42px rgba(31,60,94,.09);
}

#energiebeschaffung-ablauf .ew-process-light-card:hover::after {

    opacity: 1;
}


/* ICON */

#energiebeschaffung-ablauf .ew-process-light-card-icon {

    position: relative;

    z-index: 2;

    width: 43px;
    height: 43px;

    display: flex;

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

    border-radius: 8px;

    background:
        rgba(43,128,255,.08);

    border:
        1px solid rgba(43,128,255,.12);
}

#energiebeschaffung-ablauf .ew-process-light-card-icon svg {

    width: 18px;
    height: 18px;

    fill: none;

    stroke: var(--blue);

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* CONTENT */

#energiebeschaffung-ablauf .ew-process-light-card-content {

    position: relative;

    z-index: 2;
}

#energiebeschaffung-ablauf .ew-process-light-caption {

    display: block;

    margin-bottom: 5px;

    color: var(--blue);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: .06em;

    text-transform: uppercase;
}

#energiebeschaffung-ablauf .ew-process-light-card h3 {

    margin: 0 0 7px;

    color: var(--dark);

    font-size: 18px;

    line-height: 1.35;

    letter-spacing: -.012em;

    font-weight: 600;
}

#energiebeschaffung-ablauf .ew-process-light-card p {

    max-width: 620px;

    margin: 0;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.65;

    font-weight: 400;
}


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

#energiebeschaffung-ablauf .ew-pl-reveal {

    opacity: 0;

    transition:
        opacity .8s cubic-bezier(.2,.7,.2,1),
        transform .8s cubic-bezier(.2,.7,.2,1);

    will-change:
        opacity,
        transform;
}

#energiebeschaffung-ablauf .ew-pl-up {

    transform: translateY(28px);
}

#energiebeschaffung-ablauf .ew-pl-right {

    transform: translateX(35px);
}

#energiebeschaffung-ablauf .ew-pl-visible {

    opacity: 1;

    transform: translate(0,0);
}


/* STAGGER */

#energiebeschaffung-ablauf .ew-process-light-label {
    transition-delay: .04s;
}

#energiebeschaffung-ablauf h2 {
    transition-delay: .10s;
}

#energiebeschaffung-ablauf .ew-process-light-lead {
    transition-delay: .16s;
}

#energiebeschaffung-ablauf .ew-process-light-widget {
    transition-delay: .22s;
}

#energiebeschaffung-ablauf .ew-process-light-button {
    transition-delay: .28s;
}

#energiebeschaffung-ablauf .ew-process-light-step:nth-child(2) {
    transition-delay: .08s;
}

#energiebeschaffung-ablauf .ew-process-light-step:nth-child(3) {
    transition-delay: .15s;
}

#energiebeschaffung-ablauf .ew-process-light-step:nth-child(4) {
    transition-delay: .22s;
}

#energiebeschaffung-ablauf .ew-process-light-step:nth-child(5) {
    transition-delay: .29s;
}


/* ==========================================================
   KEYFRAMES
========================================================== */

@keyframes ewLightLine {

    to {
        transform: scaleY(1);
    }

}

@keyframes ewLightBar {

    to {
        transform: scaleX(1);
    }

}


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

@media (max-width:1100px) {

    #energiebeschaffung-ablauf .ew-process-light-inner {

        padding:
            90px
            40px;

        grid-template-columns:
            minmax(320px,.75fr)
            minmax(0,1.25fr);

        gap: 55px;
    }

}


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

@media (max-width:850px) {

    #energiebeschaffung-ablauf::after {

        display: none;
    }

    #energiebeschaffung-ablauf .ew-process-light-inner {

        padding:
            75px
            22px;

        grid-template-columns: 1fr;

        gap: 52px;
    }

    #energiebeschaffung-ablauf .ew-process-light-intro {

        max-width: 680px;
    }

}


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

@media (max-width:600px) {

    #energiebeschaffung-ablauf .ew-process-light-inner {

        padding:
            64px
            18px;
    }

    #energiebeschaffung-ablauf h2 {

        font-size: 32px;

        line-height: 1.09;
    }

    #energiebeschaffung-ablauf .ew-process-light-lead {

        margin-top: 20px;

        font-size: 15.5px;

        line-height: 1.68;
    }

    #energiebeschaffung-ablauf .ew-process-light-widget {

        margin-top: 28px;

        padding: 19px;
    }

    #energiebeschaffung-ablauf .ew-process-light-button {

        width: 100%;
    }

    #energiebeschaffung-ablauf .ew-process-light-step {

        padding-left: 40px;
    }

    #energiebeschaffung-ablauf .ew-process-light-line {

        left: 10px;
    }

    #energiebeschaffung-ablauf .ew-process-light-point {

        left: 0;
    }

    #energiebeschaffung-ablauf .ew-process-light-card {

        grid-template-columns:
            39px
            1fr;

        gap: 13px;

        padding:
            20px
            18px;
    }

    #energiebeschaffung-ablauf .ew-process-light-card-icon {

        width: 38px;
        height: 38px;
    }

    #energiebeschaffung-ablauf .ew-process-light-card h3 {

        font-size: 16px;
    }

    #energiebeschaffung-ablauf .ew-process-light-card p {

        font-size: 13px;
    }

    #energiebeschaffung-ablauf .ew-pl-right {

        transform: translateY(25px);
    }

    #energiebeschaffung-ablauf .ew-pl-visible {

        transform: translate(0,0);
    }

}


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

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

    #energiebeschaffung-ablauf .ew-pl-reveal {

        opacity: 1 !important;

        transform: none !important;

        transition: none !important;
    }

    #energiebeschaffung-ablauf .ew-process-light-line span,
    #energiebeschaffung-ablauf .ew-process-light-progress-track span {

        transform: none !important;

        animation: none !important;
    }

}


/* Elementor Editor sofort sichtbar */

body.elementor-editor-active
#energiebeschaffung-ablauf .ew-pl-reveal {

    opacity: 1 !important;

    transform: none !important;
}

body.elementor-editor-active
#energiebeschaffung-ablauf .ew-process-light-line span,
body.elementor-editor-active
#energiebeschaffung-ablauf .ew-process-light-progress-track span {

    transform: none !important;
}
