.leistung-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10%; /* Space between text and image */
    box-sizing: border-box;

    .hero-left {
        flex: 1;
        min-width: 300px;
        max-width: 100vw;
        color: #c5c5c5;
        box-sizing: border-box;

        
        p {
            margin-top: 0;
            margin-bottom: var(--xxl);
            max-width: 100vw;
            box-sizing: border-box;
        }
    }

    .hero-right {
        flex: 1;
        display: flex;
        justify-content: center;
        max-width: 100vw;
        box-sizing: border-box;
        position: relative;
        
        img {
            z-index: 2;
        }

        .frame-animation {
            width: 100%;
            display: flex;
            justify-content: center;
        }
    }

    .hero-right::before {
        content: '';
        position: absolute;
        bottom: 0;
        width: 40%;
        height: 20px;
        background: #b9b9b9;
        border-radius: 50%;
        filter: blur(30px);
        transform: translateY(-70px);
        opacity: 0.6;
        left: 26%;
    }

    img {
        max-height: 550px;
        width: 100%;
        object-fit: contain;
        box-sizing: border-box;
    }

    @media (max-width: 800px) {
        flex-direction: column;
        gap: var(--l);
        
        .hero-left, .hero-right {
            width: 100%;
            padding: var(--m);
        }

        .hero-left {
            order: 1;
        }

        .hero-right {
            order: 0;
        }

        img {
            max-height: 250px;
        }

        .hero-right::before {
            content: '';
            position: absolute;
            bottom: 0;
            width: 50%;
            height: 15px;
            background: #b9b9b9;
            border-radius: 50%;
            filter: blur(30px);
            transform: translateY(-60px);
            opacity: 0.6;
            left: 25%;
            scale: 0.7;
        }
    }
}

.checked-list {
    list-style: none;
    padding-left: 0;

    li {
        position: relative;
        padding-left: var(--xxl); 
        color: #ffffff;
        padding-top: 2px; 
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 2px;
        width: 24px;
        height: 24px;
        background-image: url(../ressources/img/icon/check_24dp_FFFFFF.svg);
        filter: brightness(0) saturate(100%) invert(68%) sepia(71%) saturate(7497%) hue-rotate(72deg) brightness(90%) contrast(87%);
    }
}

/* Leistungen card mit pills */
.leistungen-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--xl);
    margin-top: var(--m);
    justify-items: start;
}

@media (max-width: 700px) {
    .leistungen-card-grid {
        justify-items: center;
    }
}

.leistungen-section .cta-btn {
    margin-top: var(--xl);
    margin-bottom: var(--xxxl);
}


.leistung-card {
    background-color: var(--c-surface);
    padding: var(--xl);
    box-shadow: 0 4px 6px var(--c-shadow-medium);
    /* border: 2px solid var(--c-lighter); */
    box-sizing: border-box;
    height: 100%;
    max-width: 370px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: var(--s);

    h3 {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        margin: 0;
    }

    p{
        color: var(--c-text-secondary);
        margin: 0;
    }

    .pill {
        border: 1.75px solid var(--c-green-border);
        background-color: var(--c-green-background);
        color: var(--c-green-border);
        padding: 3px 8px;
        padding-bottom: 4px;
        border-radius: 20px;
        font-size: 0.75rem;
        margin-top: var(--m);
        margin-bottom: var(--l);
        margin-right: var(--xxs);
    }

    &:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 12px var(--c-shadow-medium);
    }
}
