.haupt{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    height: 80vh;
    margin: var(--main-margin-m);
    padding: 0 70% 0 5%;
    font-weight: bolder;
    font-size: 1.4em;
    background-image: url(../images/IMG_01702.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: var(--main-border-radius-big);

}

.haupt>button{
    border-radius: var(--main-border-radius-big);
    box-shadow: var(--main-box-shadow);
    border: var(--main-border-color) solid 3px;
    background-color: var(--main-border-color);
    font-size: 1.2em;
    font-weight: bold;
    height: 50px;
    margin: 20px 20px 20px 0;
}



.newsletterbox{
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
    flex-direction: row;
    height: 40%;
}

.newsletterbox>section{
    margin: 30px 10px;
}

.newsletterbild{
    width: 50%;
    height: 60vh;
    border-radius: var(--main-border-radius-big);
    background-image: url(../images/camping-5099382_1280.webp);
    background-position: center;
    background-size: cover;
}

.newsletteranmeldung{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    width: 50%;
    height: 60vh;
    border: var(--main-border-color) solid 4px;
    border-radius: var(--main-border-radius-big);
    background-color: rgba(75, 75, 75, 0.8);
}

.newsletteranmeldung>input{
    width: 50%;
    height: 2em;
    border-radius: var(--main-border-radius);
    box-shadow: var(--main-box-shadow);
}

.newsletteranmeldung>button{
    width: 50%;
    border-radius: var(--main-border-radius-big);
    box-shadow: var(--main-box-shadow);
    border: var(--main-border-color) solid 1px;
    background-color: var(--main-border-color);
    height: 50px;
    font-size: 1.2em;
    font-weight: bold;
}

.cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    justify-content: space-around;
    align-items: stretch;
}

.card {
    background-color: var(--main-bg-color-karte);
    border: 3px solid var(--main-border-color);
    color: var(--main-text-color);
    border-radius: var(--main-border-radius-big);
    box-shadow: var(--main-box-shadow);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    width: 30%;
    margin: 10px;
    flex-grow: 1;
}

.cardbild{
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
}

.card>article{
    margin: 10px 20px;
    padding: 0 20px;
}

.kontakt-item {
    text-align: center;
    margin-bottom: 20px;
}

/*Large Desktop, TV, etc.*/
@media screen and (min-width: 1200px){

}
@media screen and (max-width: 1152px) and (min-width: 769px) {
    .newsletterbox{
        flex-direction: column;
    }
    .newsletteranmeldung{
        width: 85%;
        padding: 5px;
    }
    .newsletterbild{
        width: 85%;
    }
}

/*Tablet landscape, laptop, Desktop*/
@media screen and (min-width: 992px) and (max-width: 1199px){ 

}

/*Tablet portrait*/
@media screen and (min-width: 767px) and (max-width: 991px) { 
    .haupt{
        padding: 0 30% 0 5%;
    }
    .card{
        width: 85%;
    }
    .newsletterbox{
        flex-direction: column;
    }
    .newsletteranmeldung{
        width: 85%;
        padding: 5px;
    }
    .newsletteranmeldung>input{
        width: 85%;
    }
    .newsletterbild{
        width: 85%;
    }
}

/*mobile landscape*/
@media screen and (min-width: 480px) and (max-width: 766px){

}

@media screen and (max-width: 479px){
    .haupt{
        padding: 0 30% 0 5%;
    }
    .card{
        width: 85%;
    }
    .newsletterbox{
        flex-direction: column;
    }
    .newsletteranmeldung{
        width: 85%;
        padding: 5px;
    }
    .newsletteranmeldung>input{
        width: 85%;
    }
    .newsletterbild{
        width: 85%;
    }
}