.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
}
.subheader-top{
    background-color: var(--braun-light);
    color: #ffffff;
}
.subheader-bottom{
    background-color: var(--braun);
}
.menu-container{
    max-width: var(--site-content-width);
    position: relative;
    margin: 0 auto;
    display: flex;
}
.menu-container-top{
    height: 80px;
    padding: 0 2rem;
    transition: .4s;
}
.menu-container-bottom{
    height: 50px;
    transition: .4s;
    padding: 0 1rem;
}



nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 1rem;
    height: 100%;
}

nav ul{
    display: flex;
    list-style: none;
    justify-content: space-between;
    width: 100%;
}
/* nav ul{
    height: 100%;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
}     */
nav ul li{
    height: 100%;
} 

nav  a.btn{
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    color: var(--secondary);
    position: relative;
    padding: 1.2rem 1rem;
    transition: .4s;
}
nav  a.btn:hover{
    color: #ffffff;
}
nav a.activ{
    color: #f5eab8;
}

nav  a.btn:after {
    content: '';
    position: absolute;
    left: 1rem;
    bottom: 1.1rem;
    height: 2px;
    width: 0;
    background: var(--secondary);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
nav  a.btn:hover:after, .activ nav  a.btn:after {
    opacity: 1;
    background: #ffffff;
    width: calc(100% - 2rem);
}

.hamburger{
    display: none;
}
.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48
}
.tel-icon{
    font-size: 28px !important;
    position: absolute;
    left: -30px;
    top: 0.3rem;
}

#toggle_button{
    display: none;
}
.toggle-button{
    cursor: pointer;
}

label[for="toggle_button"] span{
    display: none;
}




@media screen and (max-width: 940px){
    .menu-container-bottom{
        justify-content: flex-end;
    }
    nav{
        position: relative;
        /* background-color: var(--secondary); */
    }
    nav ul{
        display: none;
        flex-direction: column;
        position: absolute;
        width: 100%;
        right: 0;
        top: 50px;
        overflow: scroll;
        height: 560px;
        background-color: var(--secondary);
        transition: all 0.3s ease-in-out;
    }
    nav a.btn:hover:after{
        opacity: 0;
    }
    nav a.btn{
        color: var(--primary);
        font-size: 1.3rem;
        width: 100%;
        padding-left: 5vw;
        display: inline-block;
        text-decoration: none;
    }
    nav a.btn:hover{
        color:#ffffff;
        background-color: var(--primary);
        
    }
    #toggle_button:checked ~ul{
        display: flex;
    }
    label[for="toggle_button"] span{
        display: block;
    }
    .hamburger{
        display: block;
    }
    .footer .footer-l a.btn, .footer .footer-r a.btn{
        display: none;
    }
}

.nav-logo{
    display: flex;
}
.nav-logo-small{
    display: none;
}
.nav-logo, .nav-logo-small{
    transition: all 1s;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
}


@media screen and (max-width: 540px){
    .nav-logo{
        display: none;
    }
    .nav-logo-small{
        display: flex;
        margin-top: 0.3rem;
    }
    .menu-container-top {
        height: 50px;
    }
}
.logo{
    height: calc(10vw);
    max-height: 50px;
    transition: .4s;
    z-index: 1000;
}
@media screen and (max-width: 750px){
    .logo {
        height: calc(6vw);
    }
}
@media screen and (max-width: 400px){
    .logo {
        height: calc(9vw);
    }
}
.nav-tel{
    transition: all 1s;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
}
.nav-tel a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
}
.telefon{
    transition: .4s;
    position: relative;
}

@media screen and (max-height: 400px){
    nav ul{
        height: 250px;
    }
}
