/* @import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap'); */


@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}


* {
    /* font-family: "Roboto Flex", sans-serif; */
    /* font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    box-sizing: border-box;
    margin: 0;
    padding: 0; */
}
html, body {
    background-color: #ffffff;
    color: #333;
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 1280px;
    width: 100%;
}
.subtitle {
    margin-top: 0px;
    opacity: 0.8;
}

/* Language Navigation */
#language {
    display: flex;
    justify-content: end;
    gap: 6px;
    padding: 20px 20px 60px 0;
}
#language span {
    text-decoration: none;
    cursor: pointer;
}
#language .active {
    color: #379777;
}

/* Titel sector */
.titlecontent{
    background-color: white;
}

.ueberschrift{
    padding: 30px 0 30px 0;
    font-size: 1.2rem;
}

.imagecontent {
    background-image: url(../img/fassade_header.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 480px; 
}

.box {
    background-color: white;
    width: 500px;
    padding: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}
.box h3 {
    font-weight: 400;
    margin-bottom: 20px;
}
.box button, .main-button {
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #379777;
    color: white;
    border: none;
    cursor: pointer;
    /* box-shadow: black 0px 2px 5px; */
}
.box button:hover, .main-button:hover {
    background-color: #2d795f;
}
.box button:active, .main-button:active {
    scale: 98%;
}
.box button:focus, .main-button:focus {
    background-color: #379777;
}

.centeredtext {
    text-align: center;
    padding: 80px 0 80px 0;
    font-size: 1.3rem;
    line-height: 1.6;
    font-weight: 400;
}
.centeredtext p {
    margin-bottom: 30px;
}

.partner {
    padding-bottom: 90px;
}
.partner img {
    width: auto;
    max-width: 160px;
    max-height: 60px;
}
.logos {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 30px;
}
.containerwrap{
    display: flex;
    justify-content: center;
    margin: 0;
}

.partner h2{
    font-weight: 500;
    margin: 40px 0 40px 0;
}
.containerwrap_text{
    background-color: #F5F7F8;
}
.cards-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 40px;
    width: 100%;
    max-width: 1280px;
    margin-top: 0px;
}
.card {
    position: relative;
    height: 400px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.card-image {
    width: 100%;
    height: 100%;
    /* filter: brightness(55%); */
    background-size: cover;
    cursor: pointer;
}
.card-image:hover {
    filter: brightness(70%);
}
.card-text {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: #fff;
    cursor: pointer;
}
.card-text img {
    position: absolute;
    top: 0px;
    cursor: pointer;
}

#footer-landingpage #footer {
    max-width: 1280px;
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 40px;
    font-size: 80%;
    opacity: 0.8;
}

/* Mediaqueries */
@media(max-width:1330px) {
    .boxcontainer{
        padding-left: 60px;
    }
    .ueberschrift{
        padding-left: 60px;
    }
    .containerwrap {
        padding-left: 40px;
        padding-right: 40px;
    }
}
@media(max-width:1000px) {
    .ueberschrift{
        font-size: 1rem;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }
    .box{
        text-align: center;
    }
    .boxcontainer {
        display: flex;
        justify-content: center;
        padding-left: 0px;
    }
    .containerwrap {
        padding-left: 30px;
        padding-right: 30px;
    }
    .card {
        height: 300px;
    }
    .cards-container {
        gap: 20px;
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }
}
@media (max-width: 768px) {
    .ueberschrift{
        font-size: 1rem;
        text-align: center;
    }
    .box{
        text-align: center;
    }
    .boxcontainer{
        display: flex;
        justify-content: center;
        padding-left: 0px;
    }
    .middletext{
        font-size: 1rem;
    }
    .cards-container {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
    .logos{
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
    /* .logos img{
        height: 40px;
    } */
    .card{
        height: 300px;
    }
    .containerwrap {
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media (max-width: 480px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
    .logos img{
        height: 23px;
    }
    .logos{
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 15px;
    }
    .partner{
        padding: 10px;
    }
    .card{
        height: 300px;
    }
    
}
@media(max-width: 468px){
    .middletext{
        max-width: 400px;
    } 
}


