nav{
    width: 100%;
    height: 100px;
    background-image: url(https://privatbrauerei-laase.de/wp-content/uploads/2025/06/nav-background.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 90;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    box-shadow: 0 0 10px black;
    transition: all .4s;
}

.nav-ranke{
    width: max-content;
    height: 120%;
    position: absolute;
    top: -10px;
    z-index: 99;
}
.ranke1{
    left: -10px;
}
.ranke2{
    right: -10px;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.nav-nagel{
    position: absolute;
    height: 40px;
    width: max-content;
}
.nav-nagel img{
    height: 100%;
    width: auto;
}
.nagel1{
    bottom: 5px;
    left: 5px;
    z-index: 100;
}
.nagel2{
    top: 5px;
    right: 5px;
    z-index: 99;
}


.nav-holder{
    position: relative;
    padding: 5px 1em;
    display: flex;
    justify-content: space-between;
    height: 100%;
    z-index: 100;
}

.nav-left{
    width: auto;
    height: 170%;
    margin-top: -5px;
    position: relative;
    transition: all .4s;
    cursor: pointer;
}
.nav-left.active{
    height: calc(170% - 42px);
    margin-top: 37px;
}
.nav-left img{
    height: 100%;
    width: auto;
    object-fit: cover;
    cursor: pointer;
}

.nav-right{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
}
.nav-top{
    height: 2em;
    display: flex;
    gap: 1em;
    z-index: 102;
}
.nav-top img{
    border-radius: 50vh;
    width: 2em;
    height: 2em;
    cursor: pointer;
    box-shadow: 0 0 3px black;
}

.nav-bottom{
    display: flex;
    align-items: center;
    gap: 20px;
    height: 3em;
    z-index: 101;
}
.list-wrapper{
    position: relative;
    width: max-content;
    height: max-content;
    z-index: 101;
}
.nav-list{
    display: flex;
    height: 3em;
}
.nav-list li{
    display: flex;
    align-items: center;
    width: max-content;
    height: 100%;
    padding: 0 10px;
    cursor: pointer;
    transition: .2s;
}
.nav-list li:hover a{
    filter: brightness(80%);
    transition: .2s;
}
.nav-list li a{
    color: var(--pr);
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 0 3px black;
}
.nav-list .contact{
    display: none;
}
.list-wrapper .transition{
    display: none;
}


.nav-bottom .contact{
    height: 3.2em;
    width: max-content;
    cursor: pointer;
}
.nav-bottom .contact img{
    height: 100%;
    width: auto;
    object-fit: cover;
}


.burger{
    display: none;
    width: 40px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 102;
}
.burger .bar{
    width: 100%;
    height: 6px;
    border-radius: 2px;
    background-color: var(--pr);
    box-shadow: 0 0 3px black;
    transition: all .4s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.burger .bar:nth-of-type(1){
    top: 10%;
}
.burger .bar:nth-of-type(3){
    top: 90%;
}


@media(max-width: 1550px){
    .nav-ranke img{
        height: 170%;
    }
    .ranke1{
        left: -30px;
    }
    .ranke2{
        right: -30px;
    }
    .nagel1{
        left: -15px;
    }
    .nagel2{
        right: -15px;
    }
}


@media(max-width: 1200px){
    .burger{
        display: flex;
    }
    .list-wrapper{
        background-color: var(--pr);
        position: fixed !important;
        top: 0;
        right: 0;
        transform: translateX(310px);
        transition: transform 0.7s;
        box-shadow: 0 0 10px black;
        height: 100dvh !important;
        min-height: max-content;
    }
    .list-wrapper.active{
        transform: translateX(0);
    }
    .nav-list{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 300px;
        height: calc(100% - 100px) !important;
        padding: 0 1em;
        overflow-y: auto;
        margin-top: 100px;
    }
    .nav-list li{
        max-height: 53px;
        width: 100% !important;
        border-bottom: 1px solid var(--txt);
		padding: 0 !important;
    }
    .nav-list li:first-of-type{
        border-top: 1px solid var(--txt);
    }
    .nav-list li a{
        text-shadow: none !important;
        width: 100% !important;
		transition: all .3s;
		padding: 10px;
    }
    .nav-list li a:not(.akt a){
        color: var(--ac-d);
    }
	.nav-list li:hover a{
		padding-left: 15px;
	}
    .nav-list .contact{
        display: initial !important;
        margin: 20px 0;
    }

    .burger.active .bar{
        background-color: var(--ac-d);
        box-shadow: none;
    }
    .burger.active .bar:nth-of-type(1){
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }
    .burger.active .bar:nth-of-type(2){
        transform: scale(0);
        transition: .2s;
    }
    .burger.active .bar:nth-of-type(3){
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
    }
}


@media(max-width: 600px){
    .list-wrapper{
        width: 100% !important;
        transform: translateY(-115%);
        box-shadow: none;
        height: 90dvh !important;
    }
    .list-wrapper .transition{
        display: initial !important;
    }
    .nav-list{
        width: 100%;
    }
}

@media(max-width: 500px){
    nav{
        height: 70px;
    }
    .nagel1{
        left: -20px;
    }
    .nagel2{
        right: -20px;
    }
    .nav-right{
        flex-direction: row;
        align-items: center;
        gap: 1em;
    }
    .nav-bottom .contact{
        display: none;
    }
    .nav-list{
        margin-top: 70px;
    }
}


.overlay{
    display: none;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}
.overlay.active{
    display: initial;
    background-color: rgba(0, 0, 0, 0.3);
}

@media(min-width: 1201px){
    .overlay.active{
        display: none !important;
    }
}

.akt a{
    color: var(--ac-l) !important;
}