header .Button-rot, header .Button-transp, header .Button-hell{
    margin-left: auto;
    margin-top: auto;
}
header .ButtonContainer{
    display: none;
    width: 100%;
    height: auto;
    justify-content: space-between;
    align-items: center;
}
header .ButtonContainer a{
    margin: 0;
    width: auto;
    padding: 0.5em 1.75em;
}
header{
    width: 100%;
    height: 5.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    background-image: url(img/Hintergrundbild.avif);
    background-color: var(--global-color-hintergrund);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--global-color-shadow) 0px 5px 20px;
}
.InhaltHeader{
    width: var(--global-Inhaltsbreite_relativ);
    max-width: var(--global-Inhaltsbreite_absolut);
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header img{
    height: 5rem;
    max-height: 5rem;
    margin: 0;
}





/*@media (max-width: 790px){
    header{
        height: 9rem;
    }

    .InhaltHeader {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    header .ButtonContainer{
        align-items: center;
    }

    header img {
        height: 3.5rem;
    }
}*/
@media (max-width: 768px){
    header {
        height: auto;
    }

    .InhaltHeader {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    header img {
        height: 3.5rem;
    }
}
@media (max-width: 600px){
    header{
        height: 9rem;
    }
    header .ButtonContainer{
        display: flex;
        flex-direction: row;
        margin-bottom: 1rem;
        padding: 0;
    }
    header .ButtonContainer a{
        font-size: 1em;
    }
    .InhaltHeader{
        flex-direction: row;
    }
    header .buttonKlein{
        display: none;
    }
    header img{
        height: 5rem;
    }
}
@media (max-width: 560px){
    header .ButtonContainer a {
        font-size: 0.9rem;
        margin: 0;
        margin-right: 0.5em;
    }
}
@media (max-width: 480px){
    header{
        height: 12rem;
        justify-content: center;
    }
    header img{
        height: 4.5rem;
        margin-bottom: 0rem;
    }
    header .ButtonContainer .Button-rot {
        margin-bottom: 0.5rem;
    }
    header .ButtonContainer  {
        flex-direction: column;
        align-items: center;
        margin-top: 0rem;
        height: auto;
        justify-content: center;
    }
    header .ButtonContainer a {
        margin: 0;
        margin-right: 0em;
        width: 100%;
    }  
}
/*@media (max-width: 390px) {
    header{
        height: 9rem;
    }
    header img{
        height: 4.5rem;
    }
    header .ButtonContainer a {
        font-size: 0.75rem;
        margin: 0;
        margin-right: 0.5em;
    }
}
@media (max-width: 350px) {
    header img{
        height: 4rem;
    }
    header .ButtonContainer a {
        font-size: 0.7rem;
        margin: 0;
        margin-right: 0.5em;
    }
}*/