#hero {
    padding-top: calc(var(--header-height) + var(--spacing-xl));
    min-height: 100vh;
}

#hero .button-container {
    padding-right: 25%;
}

#hero .video-container {
    width: 100%;
    aspect-ratio: 16/9;
}

#hero .video-container .img-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.1);
    transition: all 3s var(--cubic-bezier);
    border: none;
}

body.el-complete #hero .video-container .img-link {
    transform: scale(1);
}

#hero .video-container .img-link .play-button {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3);
    transition: filter 0.2s, transform 5s var(--cubic-bezier);
}

body.el-complete #hero .video-container .img-link .play-button  {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

#hero .video-container .img-link .vidalytics-embed video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.5);
    border-radius: var(--border-radius-l);
}

#hero .video-container .img-link .vidalytics-embed {
    border: solid 2px white;
    border-radius: var(--border-radius-l);
    box-shadow: 0 0 0 -5px var(--c-accent-light);
    transition: box-shadow 0.6s var(--cubic-bezier);
}

#hero .video-container .img-link:hover .vidalytics-embed {
    box-shadow: 0 0 40px -5px var(--c-accent-light);
}

#hero .video-container .img-link .vidalytics-embed .AspectRatioSkeleton__wrapper {
    padding-top: calc(56.25% + 4px) !important;
    border-radius: var(--border-radius-l);
}

#hero .video-container .img-link img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#hero .video-container .button {
    position: absolute;
    bottom: calc(var(--spacing-m) * -1);
    right: calc(var(--spacing-s) * -1);
}


#hero .trustpilot-container img {
    height: var(--fs-l);
    max-width: 100%;
}

@media screen and (max-width: 1350px) {
    #hero .button-container {
        padding-right: 10%;
    }
}

@media screen and (max-width: 1100px) {
    #hero .button-container {
        padding-right: 0;
    }
}

@media screen and (max-width: 999px) {
    #hero .hero-middle {
        grid-template-columns: 1fr 1fr;
    }

    #hero .button-container {
        order: 3;
    }

    #hero .video-container {
        grid-column: span 2;
        order: 1;
        max-height: 400px;
    }

    #hero .checklist-container {
        order: 2;
    }
}

@media screen and (max-width: 749px) {
    #hero {
        --header-height: 60px;
        padding-bottom: 0;
    }

    #hero .hero-middle {
        grid-template-columns: 1fr;
    }
    
    #hero .mb-xl {
        margin-bottom: var(--spacing-m);
    }

    #hero .gap-xl {
        gap: var(--spacing-l);
    }

    #hero .video-container {
        grid-column: span 1;
        margin: 0 auto;
    }

    #hero .checklist {
        font-size: var(--fs-xs);
    }

    #hero .checklist li {
        margin-bottom: 0.7em;
    }

    #hero .button-container {
        margin: 0 auto;
        padding-right: 0;
        gap: var(--spacing-s);
    }

    #hero .button-container .icon {
        display: none;
    }
}

/* –––––––––––––––––––––––––––––– STATS ––––––––––––––––––––––––––––––––– */

#stats .image-col img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.2s var(--cubic-bezier);
    border-radius: var(--border-radius-l) 0 0 var(--border-radius-l);
    border: solid 2px var(--bg-bright-8);
    border-right: none;
}

#stats .image-col img.remove:not(:first-child) {
    opacity: 0;
}

@media screen and (max-width: 749px) {
    #stats > .max-container {
        justify-items: center;
        padding: 0 var(--spacing-s);
    }
    
    #stats > .max-container > div {
        padding: 0;
    }

    #stats .image-col {
        position: relative;
        width: 100%;
        height: 50vh;
    }
    
    #stats .image-col img {
        border-radius: var(--border-radius-l);
        border: solid 2px var(--bg-bright-8);
    }
}

@media screen and (min-width: 750px) {
    #stats {
        min-height: 100vh;
        position: relative;
    }

    #stats > .max-container > div {
        position: sticky;
        left: 0;
        top: 0;
        height: 100vh;
        width: 100%;
    }

    #stats .col-l {
        transform: translateY(calc(-1 * 15vh * var(--p-ratio) + 15vh * 0.4));
    }

    #stats .image-col {
        position: absolute;
        right: 0;
        top: 0;
        width: 50%;
        height: 100%;
    }
}

/* –––––––––––––––––––––––––––––– INNEHALL ––––––––––––––––––––––––––––––––– */
#innehall .content-col .content-list {
    list-style: none;
    padding-left: var(--spacing-3xl);
}

#innehall .content-col .content-list li {
    position: relative;
}

#innehall .content-col .content-list li:not(:first-child) {
    margin-top: var(--spacing-m);
}

#innehall .content-col .content-list li::before {
    content: '';
    position: absolute;
    right: calc(100% + var(--spacing-m));
    top: 0.2em;
    width: 100vw;
    height: 1px;
    background-color: var(--c-accent);
}

/* –––––––––––––––––––––––––––––– COMMUNITY ––––––––––––––––––––––––––––––––– */
#community img {
    width: 100%;
    min-height: 200px;
    aspect-ratio: 16/5;
    object-fit: cover;
    object-position: center 15%;
    filter: saturate(0.5);
    border-radius: var(--border-radius-l);
    border: solid 2px var(--bg-bright-8);
}

@media screen and (max-width: 749px) {
    #community {
        padding: var(--spacing-m) 0;
    }
}

/* –––––––––––––––––––––––––––––– YOUTUBE ––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 749px) {
    #youtube .text-right {
        text-align: left !important;
    }
}

/* –––––––––––––––––––––––––––––– TESTIMONIALS ––––––––––––––––––––––––––––––––– */
