:root {
    --home-section-spacing: 5em;
}

@media (max-width: 1280px) {
    :root {
        --home-section-spacing: 4em;
    }
}

@media (max-width: 768px) {
    :root {
        --home-section-spacing: 3em;

    }
}

.reveal-content {
    opacity: 0;
}

.hero-content {
    position: absolute;
    bottom: 12vh;
    width: 100%;
}

section.hero {
    width: 100%;
    height: 100vh;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

h1.hero-title {
    font-size: 3.5vw;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.035em;
    color: #fff;
    margin: 0;
    font-size: clamp(2em, 4.25vw, 4vw);
}

.title-line {
    opacity: 0;
    transform: translateY(100%);
    display: block;
    overflow: hidden;
}

p.hero-subtext {
    font-size: 1.5em;
    letter-spacing: -.025em;
    color: #fff;
    font-weight: 600;
    margin: 1.5em 0;
}

/* Hero Buttons */

.hero-buttons {
    display: flex;
    gap: 1em;
}

section.montagetypen {
    padding: var(--home-section-spacing) 0;
}

@media (min-width: 769px) and (orientation: portrait) {
    section.hero {
        height: 50vh;
    }

    .hero-content {
        bottom: 3em;
    }
}

@media (max-width: 768px) {

    section.hero {
        height: 100vh;
    }

    p.hero-subtext {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    h1.hero-title {
        font-size: clamp(8vw, 4.25vw, 4vw);
        text-align: center;
        margin-bottom: 1em;
    }
}

/* Montagetypen */

.config-steps-view {
    display: flex;
    gap: 0;
    align-items: center;
    pointer-events: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.config-steps-view .h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
    margin-bottom: 1em;
    opacity: .3;
    display: flex;
}

.config-steps-view .h2:before {
    display: block;
    content: '';
    width: 2em;
    height: 1.25em;
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='24' viewBox='0 0 15 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L12 12L2 22' stroke='black' stroke-width='3'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
}

.montagetypen h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
    margin-bottom: 1em;
}

@media (max-width: 768px) {

    .config-steps-view .step:not(.step-1) {
        display: none;
    }
}



/* QS */

section.quality {
    padding-top: 7em;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 149, 255, 0.1) 20%, rgba(0, 149, 255, 0.2) 80%, rgba(255, 255, 255, 0.2) 100%);
}

.animated-headline {
    text-align: center;
    font-weight: 400;
    letter-spacing: -.05em;
    background: linear-gradient(90deg, #003D7C 0%, #0095FF 100%);
    background: linear-gradient(to right, #003D7C 20%, #0095FF 40%, #0095FF 60%, #003D7C 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    line-height: 1.15;

    opacity: 0;
    transform: translateY(100%);
    display: block;
    will-change: transform, opacity;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.animated-headline.size-1 {
    font-size: 8em;
    letter-spacing: -0.075em;
    position: relative;
}

h2.animated-headline.size-2 {
    font-size: 4em;
    margin: 0;
}

.revealed .animated-headline,
.animated-headline.size-1:after {
    animation: shine 2s linear 1;
}

.quality-content {
    padding: 6em 0;
    display: grid;
    align-items: center;
    gap: calc(var(--gap) * 2);
    grid-template-columns: repeat(2, 1fr);
}

.quality-item-content.quality-text {
    display: flex;
    align-items: center;
}

.quality-text p {
    font-size: var(--big-text);
    font-weight: 600;
    letter-spacing: var(--big-text-letter-spacing);
    color: var(--big-text-color);
    line-height: 1.15;
}

.quality-text p .highlighted-text {
    background: linear-gradient(90deg, #003D7C 0%, #0095FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}


@media (max-width: 1280px) {

    .animated-headline.size-1 {
        font-size: 6em;
    }

    h2.animated-headline.size-2 {
        font-size: 3em;
    }

}

@media (max-width: 768px) {
    section.quality {
        padding-top: 2em;
    }

    h2.animated-headline.size-2 {
        font-size: 6.5vw;
    }

    .animated-headline.size-1 {
        line-height: .9;
        padding: .15em 0;
        font-size: 11vw;
    }
}

/* Quality Grid */

.quality-grid {
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-gap: var(--gap);
    margin-top: 5em;
}

.quality-item {
    background: #fff;
    border-radius: var(--border-radius-m);
    overflow: hidden;
}

.quality-item:nth-child(1) {
    grid-column: span 4;
    grid-row: span 2;
    aspect-ratio: 1;
}

.quality-item:nth-child(2) {
    grid-column: span 3;
    grid-row: span 2;
}

.quality-item:nth-child(3) {
    grid-column: span 3;
    grid-row: span 2;
}

.quality-item:nth-child(4) {
    grid-column: span 5;
    grid-row: span 3;
}

.quality-item:nth-child(5) {
    grid-column: span 4;
    grid-row: span 2;
    aspect-ratio: 1;
}

.quality-item:nth-child(6) {
    grid-column: span 6;
    grid-row: span 2;
}

.quality-item:nth-child(7) {
    grid-column: span 5;
    grid-row: span 3;
}

.quality-item:nth-child(8) {
    grid-column: span 6;
    grid-row: span 2;
}

.quality-item:nth-child(9) {
    grid-column: span 4;
    grid-row: span 2;
    aspect-ratio: 1;
}

.quality-item-content {
    position: relative;
    padding: 2em;
    height: 100%;
    width: 100%;
}

.quality-item-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.quality-item:nth-child(1) .quality-item-content {
    background: linear-gradient(35.63deg, #003D7C 22.91%, #0095FF 106.22%);
    box-shadow: inset 0px 4px 50px rgba(0, 0, 0, 0.3);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.quality-item:nth-child(1) .quality-item-content p {
    font-size: var(--big-text);
    line-height: 1.15;
    font-size: 1.5em;
    font-weight: 600;
    letter-spacing: -.025em;
    margin: 0;
}

.quality-item:nth-child(4) .h3 {
    position: relative;
    color: #fff;
}

.quality-item:nth-child(4) .quality-item-content {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

@media (max-width: 1330px) {

    .quality-item:is(:nth-child(1), :nth-child(5), :nth-child(9)) {
        aspect-ratio: unset;
        ;
    }
}

@media (max-width: 1230px) {

    .quality-grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(12, 1fr);
        grid-gap: var(--gap);
        margin-top: 5em;
    }

    .quality-item:nth-child(1) {
        grid-column: span 4;
        grid-row: span 3;
        order: 1;
    }

    .quality-item:nth-child(2) {
        grid-column: span 4;
        grid-row: span 3;
        order: 2;
    }

    .quality-item:nth-child(3) {
        grid-column: span 4;
        grid-row: span 3;
        order: 3;
    }

    .quality-item:nth-child(4) {
        grid-column: span 6;
        grid-row: span 3;
        order: 4;
    }

    .quality-item:nth-child(5) {
        grid-column: span 5;
        grid-row: span 3;
        order: 6;
    }

    .quality-item:nth-child(6) {
        grid-column: span 6;
        grid-row: span 3;
        order: 5;
    }

    .quality-item:nth-child(7) {
        grid-column: span 7;
        grid-row: span 3;
        order: 7;
    }

    .quality-item:nth-child(8) {
        grid-column: span 7;
        grid-row: span 3;
        order: 8;
    }

    .quality-item:nth-child(9) {
        grid-column: span 5;
        grid-row: span 3;
        order: 9;
    }

}


@media (max-width: 768px) {

    .quality-grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(12, 1fr);
        grid-gap: var(--gap);
        margin-top: 2em;
    }

    .quality-item {
        min-height: 200px
    }

    .quality-item:nth-child(1) {
        grid-column: span 7;
        grid-row: span 3;
        order: 1;
    }

    .quality-item:nth-child(2) {
        grid-column: span 5;
        grid-row: span 3;
        order: 2;
    }

    .quality-item:nth-child(3) {
        grid-column: span 4;
        grid-row: span 3;
        order: 4;
    }

    .quality-item:nth-child(4) {
        grid-column: span 8;
        grid-row: span 3;
        order: 4;
    }

    .quality-item:nth-child(5) {
        grid-column: span 5;
        grid-row: span 3;
        order: 6;
    }

    .quality-item:nth-child(6) {
        grid-column: span 12;
        grid-row: span 3;
        order: 3;
    }

}

@media (max-width: 450px) {

    .quality-item:nth-child(1) {
        grid-column: span 12;
        grid-row: span 3;
        order: 1;
    }

    .quality-item:nth-child(4) {
        grid-column: span 12;
        grid-row: span 4;
        order: 1;
    }

    .quality-item:nth-child(8) {
        grid-column: span 12;
        grid-row: span 3;
        order: 8;
    }

    .quality-item:is(:nth-child(2), :nth-child(3), :nth-child(5), :nth-child(7), :nth-child(9)) {
        display: none;
    }
}


/* Flying Cards */

.usecases-intro {
    text-align: center;
    padding: 10em 0 0;
}

.flying-cards {
    display: flex;
    gap: var(--gap);
    justify-content: center;
    padding: 5em 0 0;
    position: relative;
    overflow: hidden;
}

.flying-cards:after {
    display: block;
    content: '';
    width: 100%;
    height: 200px;
    position: absolute;
    bottom: 0px;
    background: linear-gradient(0deg, #ffffff, transparent);
    z-index: 100;
}

.cards-row {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    transition: all 0.3s ease;
    min-width: 23em;
    will-change: transform, translate;
}

.cards-row.cards-row-1 {
    margin-top: 16em;
}

.cards-row.cards-row-2 {
    margin-top: 5em;
}

.cards-row.cards-row-3 {
    margin-top: 12em;
}

.cards-row.cards-row-5 {
    margin-top: 8em;
}

.card-item {
    border-radius: var(--border-radius-m);
    overflow: hidden;
    /*box-shadow: 0 10px 20px rgba(0,0,0,.1);*/
    line-height: 1;
    font-size: 0;
    aspect-ratio: 9/12;
}

.card-item picture {
    width: 100%;
    height: 100%;
    display: block;
}

.card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.numbers-card {
    background: linear-gradient(180deg, #003D7C 0%, #00254B 100%);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1), inset 0px 4px 100px rgba(0, 200, 255, 0.41);
    border-radius: 16px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5em;
    font-size: 16px;
}

.numbers-card-content {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.numbers-item {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.numbers-card-title {
    color: #fff;
    font-size: var(--font-size-h2);
    letter-spacing: var(--headline-letter-spacing);
    line-height: var(--headline-line-height);
    font-weight: 600;
    text-align: center;
}

.numbers-card-subtitle {
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.facts-line {
    opacity: 0;
    transform: translateY(100%);
    display: block;
    overflow: hidden;
}

.cta-button {
    margin-top: 1em;
}


@media (max-width: 768px) {

    .usecases-intro {
        padding: 5em 0 0;
    }

    .flying-cards {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-padding: var(--container-padding);
        padding: 3em var(--container-padding);
    }

    .cards-row {
        width: max-content;
        scroll-snap-align: start;
        flex-shrink: 0;
        flex-direction: row;
        margin-top: 0 !important;
    }

    .card-item {
        width: 80vw;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .cards-row.cards-row-3 {
        order: 1;
    }

    .cards-row.cards-row-1 {
        order: 2;
    }

    .cards-row.cards-row-2 {
        order: 3;
    }

    .cards-row.cards-row-4 {
        order: 4;
    }

    .cards-row.cards-row-5 {
        order: 5;
    }

    .cards-row.cards-row-3 .card-item:nth-child(1) {
        order: 1;
    }

    .flying-cards:after {
        display: none;
    }
}


/* More Information */

section.information {
    padding-top: 2em;
}

.information-item {
    border-top: 2px solid #EFEFEF;
    padding: 3em 0 5em;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: var(--gap);
}

.information-item .headline {
    grid-column: span 4;
}

.information-item .headline h2 {
    font-size: var(--font-size-h2);
}

.information-item .information-text {
    grid-column: span 8;
}

.information-item .information-text p {
    font-size: var(--big-text);
    font-weight: 600;
    letter-spacing: var(--big-text-letter-spacing);
    color: var(--big-text-color);
}

.information-item .information-text .word {
    opacity: .15;
    transition: all 0.3s ease;
}

.information-item .information-text p strong .word {
    color: var(--big-text-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.information-item .information-text p strong .word[style="position: relative; display: inline-block; opacity: 1;"],
.information-item .information-text strong a {
    color: #0095FF;
}

.information-item .information-text strong a {
    text-decoration: underline;
    font-weight: 600;
}

.quick-infos {
    padding: 3em 0 5em;
}

.quick-infos * {
    font-size: 14px;
    color: #707070;
}

@media (max-width: 768px) {
    .information-item :is(.headline, .information-text) {
        grid-column: span 12;
    }

    .information-item {
        padding: 2em 0 4em;
    }

}

/* CTA */

section.cta {
    padding: 3em 0;
}

.cta-content-wrapper {
    background: linear-gradient(180deg, #003D7C 0%, #00254B 100%);
    /*box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1), inset 0px 4px 100px rgba(0, 200, 255, 0.41);*/
    border-radius: var(--border-radius-l);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5em;
    color: #fff;
    text-align: center;
    padding: 6em;
    width: 1%;
    margin: 0 auto;
    opacity: 0;
    transition: all .6s ease-in-out;
    overflow: hidden;
    will-change: opacity, width;
}

.revealed .cta-content-wrapper {
    opacity: 1;
    width: 100%;
}

.cta-content h2 {
    font-size: var(--font-size-h2);
    line-height: var(--headline-line-height);
    font-weight: 600;
    text-align: center;
}

.cta-content {
    white-space: nowrap;
    opacity: 0;
    transition: all .6s .3s ease-in-out;
    will-change: opacity;
}

.revealed .cta-content {
    opacity: 1;
}

.cta-content .btn {
    margin-top: 2em;
}

@media (max-width: 768px) {
    .revealed .cta-content-wrapper {
        padding: 4em 2em;
    }

    .cta-content {
        white-space: normal;
    }
}

@media (max-width: 360px) {
    .revealed .cta-content-wrapper {
        padding: 2em 1em;
    }

    .cta-content {
        white-space: normal;
    }
}


/* Paketbox Section */

section.paketboxen {
    background-color: #F5F8FF;
    padding: 5em 0;
}

section.paketboxen h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
    margin-bottom: 1em;
}

.paketboxen-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: var(--gap);
}

.paketboxen-item {
    display: flex;
    flex-direction: column;
}

.paketboxen-img {
    aspect-ratio: 16/9;
    width: 100%;
}

.paketboxen-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.paketboxen-buttons {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

a.btn.btn-small {
    padding: .5em 1em;
}

.teaser-text {
    margin-bottom: 2em;
}

.teaser-text {
    margin: 1em 0 2em 0;
}

.teaser-text h3 {
    font-size: var(--font-size-h3);
    letter-spacing: var(--headlines-letter-spacing);
    line-height: var(--headlines-line-height);
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
    .paketboxen-items {
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-padding: 1rem;
        padding: 0 var(--container-padding);
        width: calc(100% + var(--container-padding) * 2);
        position: relative;
        left: calc(var(--container-padding) * -1);
    }

    .paketboxen-item {
        width: 100%;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
}

/* Video */

.video-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gap);
}

.config-options {
    grid-column: span 5;
    display: flex;
    align-items: center;
}

.video-item {
    grid-column: span 7;
}

section#product-video {
    padding-block: 8em 0;
}


.video-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0,0,0,.5);
    overflow: hidden;
}

.video-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -1px;
    width: 100%;
    height: calc(100% + 2px);
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    --webkit-appearance: none;
    overflow: hidden;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button.video-placeholder picture {
    font-size: 0;
    line-height: 0;
    height: 100%;
    width: 100%;
}

.play-button {
    position: absolute;
    color: #fff;
    opacity: 0.9;
}

.play-button:focus,
.video-placeholder:focus {
    outline: 3px solid #005fcc;
    outline-offset: 4px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 500px;
}

.feature-item {
    display: flex;
    grid-template-columns: max-content;
    grid-template-rows: max-content;
    align-items: start;
    position: relative;
    gap: 1em;
    align-items: center;
}

.feature-icon {
    position: relative;
    width: 32px;
    height: 32px;
    margin-top: 3px;
    grid-area: 1 / 1;
}

.feature-text {
    font-size: var(--big-text);
    font-weight: 600;
    letter-spacing: var(--big-text-letter-spacing);
    color: var(--big-text-color);
}

.icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.green-circle {
    background-color: rgba(0, 185, 74, 0.2);
}

.blue-circle {
    background-color: rgba(0, 61, 124, 0.2);
}

.checkmark {
    stroke: #00B94A;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.dots {
    stroke: #003D7C;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

@media (max-width: 600px) {
    .config-options, .video-item {
        grid-column: span 12;
    }

    .video-grid {
        row-gap: 2em;
    }

    .feature-list {
        gap: 0;
    }

    .feature-icon {
        width: 24px;
        display: flex;
        align-items: center;
    }

    .icon-circle, .icon-circle svg {
        width: 24px;
        height: 24px;
    }
}