@media screen and (max-width: 1200px) {
    .herogrid {
        grid-template-columns: 1fr 300px;
    }

    .hero h1 {
        font-size: 80px;
    }

    .cardgrid {
        grid-template-columns: 1fr 1fr;
    }

    .vorteilwrapper {
        grid-template-columns: 1fr 1fr;
    }
    .projecthero h1 {
	
	font-size: 60px;
}
}

@media screen and (max-width: 1000px) {
    .herogrid {
        display: block;
    }

    .appitem video {
        width: 300px;
        aspect-ratio: unset;
    }

    .appitem {
        transform: none;
        margin-top: 80px;
        margin-bottom: -40px;
        text-align: center;
    }

    .hero {
        background-size: 150%;
        background-position: center top;
    }

    .ctagrid img {
        width: 40%;
    }

    .referenzcardwrapper {
        grid-template-columns: 1fr;
    }
    .twocolumn h2 {
    font-size: 40px;
}
.twocolumn {
    gap: 24px;
}
}

@media screen and (max-width: 920px) {
    .menubar {
        font-size: 12px;
    }

    header ul li {
        padding: 4px 8px;
    }

    .menucta {
        padding: 8px 12px;
    }

    h1 {
        font-size: 80px;
    }

    .ctagrid h2 {
        font-size: 30px;
    }

    .card .cardheadline {
        font-size: 20px;
    }

    .ctaprimary {
        font-size: 16px;
    }

    .marquee span {
        font-size: 20px;
    }

    .vorteilbox h3 {
        font-size: 24px;
    }

    .hero h1 {
        font-size: 64px;
    }

    h2 {
        font-size: 48px;
    }
    .menucta {
        padding: 6px 8px;
        font-size: 12px;
    }
    .projecthero h1 {
	font-size: 48px;
}
.testimonialtext {
        font-size: 24px;
}
.testimonialimage {
    width: 80px;
    margin-right: 16px;
}
}

@media screen and (max-width: 800px) {
    h1 {
        font-size: 70px;
    }

    .h1-subtitle {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .cardgrid {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .awardsbar {
        flex-wrap: wrap;
        row-gap: 40px;
    }

    .awardbox {
        max-width: none;
        width: 30%;
    }

    .nachhaltigkeitbox img {
        width: 60px;
    }

    .erfolgemessbargrid {
        grid-template-columns: 1fr;
        row-gap: 32px;
    }

    .erfolgemessbarbox {
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .erfolgemessbarbox h2 {
        width: 100%;
    }

    .paketewrapper {
        grid-template-columns: 1fr;
        row-gap: 48px;
    }

    .teamwrapper {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .ctagrid h2 {
        font-size: 24px;
    }

    .menubar ul {
        display: none;
    }

    .outerwrapper {
        margin-left: 0px;
        margin-right: 0px;
    }

    footer {
        margin-bottom: 0px;
        border-radius: 0px;
    }

    .footeralt {
        border-radius: 32px 32px 0px 0px;
    }

    .lowimpactheadline {
        font-size: 80px;
    }

    .nachhaltigkeitsbar {
        flex-direction: column;
        align-items: center;
    }

    .twocolumn {
        display: block;
        margin-bottom: 64px;
    }
    .twocolumn img {
    width: 100%;
    max-width: 400px;
    margin-top: 40px;
}

}

@media screen and (max-width: 640px) {
    h1 {
        font-size: 48px;
    }

    .hero h1 {
        font-size: 48px;
    }
    .projecthero h1 {
	font-size: 36px;
}

    .card span {
        font-size: 70px;
    }

    .marquee span {
        font-size: 18px;
        padding: 12px 20px;
    }

    .ctasection .ctagrid {
        flex-direction: column;
    }

    .ctagrid img {
        width: 90%;
    }

    .awardbox {
        width: 50%;
    }

    .vorteilwrapper {
        grid-template-columns: 1fr;
    }

    .teamwrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footertextwrapper {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .footersmalltextwrapper {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .referenzcardbottom {
        grid-template-columns: 1fr;
        row-gap: 4px;
    }

    .logobar {
        flex-wrap: wrap;
        row-gap: 24px;
    }

    .logobar img {
        width: 30%;
    }

    .routeline {
        min-width: 700px;
    }

    .hero p {
        margin: 32px 0px;
    }

    .logobar {
        margin: 40px 0px;
    }

    .herosubline {
        font-size: 20px;
    }

    .projectthumbnail {
        height: 240px;
    }

    .projectbutton {
        padding: 6px 14px;
        font-size: 12px;
    }
    .teamcard {
        width: 240px;
    }
        
    #logo {
    width: 160px;
}
.testimonialtext {
    font-size: 18px;
}
.testimonialimage {
    margin-right: 0px;
    margin-bottom: 16px;
}
.testimonialpersonbox {
    flex-direction: column;
    text-align: center;
    margin-top: 24px;
}
.nextprojectsection strong {
    font-size: 24px;
}
    .twocolumn h2 {
        font-size: 28px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 40px;
    }

    .nachhaltigkeitsbar {
        align-items: center;
        flex-direction: column;
        gap: 16px;
    }

    .erfolgemessbarbox {
        grid-template-columns: 1fr;
    }

    .footerlinkbox {
        grid-template-columns: 1fr;
    }

    .marquee span {
        font-size: 16px;
        padding: 12px 16px;
    }

    .paketectabox h3 {
        font-size: 24px;
    }

    .projecttext {
        margin-left: 28px;
    }

}