#hamburger{
    grid-area: hamburger;
    background-color: var(--hintergrund-1 0);
    margin: 0 0;
    padding-left: calc(25% + (50 - 20) * ((100vw - 320px) / (2000 - 320)));
    }
    label.hamburg { 
    display: block;
    width: 25%; 
    height: 25%; 
    position: relative; 
    margin: auto;
    scroll-margin-top: -10vh;
    background: var(--hintergrund-1); 
    border-radius: 4px; 
    }
    #hamburg:checked + .hamburg .line:nth-child(1){
    transform: translateY(.75vh) rotate(-45deg);
    }
    #hamburg:checked + .hamburg .line-s:nth-child(2){
    opacity:0;
    }
    #hamburg:checked + .hamburg .line:nth-child(3){
    transform: translateY(-.75vh) rotate(45deg);
    }
    input#hamburg {
    display: none
    }

    .line { 
    display: block; 
    position: absolute; 
    left: 0;
    height: calc(3px + (6 - 3) * ((100vw - 320px) / (2000 - 320)));
    width: calc(200% + (90 - 200) * ((100vw - 320px) / (2000 - 320)));
    border-radius: calc(4px + (6 - 4) * ((100vw - 320px) / (2000 - 320)));
    transition: 0.5s; 
    transform-origin: center; 
    background: var(--hintergrund-2);
    z-index: 2;
        }
    .line-s { 
    display: block; 
    position: absolute; 
    left: calc(-25% + (38 - 25) * ((100vw - 320px) / (2000 - 320)));
    height: calc(2px + (5 - 2) * ((100vw - 320px) / (2000 - 320)));
    width: calc(250% + (110 - 250) * ((100vw - 320px) / (2000 - 320)));
    border-radius: calc(4px + (6 - 4) * ((100vw - 320px) / (2000 - 320)));
    transform-origin: center; 
    background: var(--hintergrund-3);
    }
    .line:nth-child(1) { top: calc(1vh + (1 - 1) * ((100vw - 320px) / (2000 - 320)));}
    .line-s:nth-child(2) { top: calc(1.5vh + (2 - 1.5) * ((100vw - 320px) / (2000 - 320)));}
    .line:nth-child(3) { top: calc(2vh + (3 - 2) * ((100vw - 320px) / (2000 - 320)));}
    #hamburg:checked + .hamburg  + nav.menu { 
    max-height: 90vh; 
    }
    #hamburg:checked + .hamburg .line:nth-child(1){
    transform: translateY(calc(.5vh + (1 - .5) * ((100vw - 320px) / (2000 - 320)))) rotate(-45deg);
    }
    #hamburg:checked + .hamburg .line-s:nth-child(2){
    opacity:0;
    }
    #hamburg:checked + .hamburg .line:nth-child(3){
    transform: translateY(calc(-.5vh + (-1 - -.5) * ((100vw - 320px) / (2000 - 320)))) rotate(45deg);
    }

    .menu { 
    position: absolute;
    height: 85vh;
    max-height: 0;
    width: 45%; 
    max-width:250px;
    overflow: hidden;
    background-color: rgba(248, 248, 248, 0.5);
    backdrop-filter: blur(7.5px);
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    color: var(--textfarbe-2);
    margin: 6.5vh 0% 0% -15%;
    padding: 0em 1em 0em 1em;
    right: 0;
    font-size: calc(10px + (18 - 10) * ((100vh - 100px) / (500 - 100)));
    letter-spacing: 0;
    border-bottom:  2px solid var(--hintergrund-4 0);
    border-left: 2px solid var(--hintergrund-4);
    opacity: .95;
    transition: all 0.5s;
    text-transform: uppercase;
    }
    .me-1 {
    list-style-type: none;
    margin-left: -20px;
    padding: 3vh 0 1vh 0;
    line-height: 55%;
    text-align: left;
    font-weight: 900;
    }
    .me-1b {
    list-style-type: none;
    margin-left: -20px;
    padding: 3vh 0 0 0;
    line-height: 55%;
    text-align: left;
    font-weight: 900;
    }
    .me-1c {
    list-style-type: none;
    text-align: left;
    margin: 5vh 0 1.5vh -20px;
    padding-top: 3vh 0;
    line-height: 40%;
    font-weight: 900;
    }
    .me-1d {
    list-style-type: none;
    margin-left: -20px;
    padding: 3vh 0 1em 0;
    text-align: left;
    line-height: 0%;
    font-weight: 900;
    }
    .me-2 {
    list-style-type: none;
    margin: 3vh 0 3vh 10px;
    text-align: left;
    font-size: 80%;
    line-height: 75%;
    font-weight: 100;
    }  

    .link-hamburg-1 { 
    text-decoration: none;
    color: var(--textfarbe-5);
    padding-left: 1.5em;
    font-weight: 100;
    }
    .link-hamburg-1a { 
    text-decoration: none;
    color: var(--textfarbe-1);
    padding-left: 1.5em;
    font-weight: 900;
    }
    .link-hamburg-2 {
    text-decoration: none;
    color: var(--textfarbe-5);
    padding: 0 0 0 1.5em;
    font-weight: 100;
    }
    .link-hamburg-2a {
    text-decoration: none;
    color: var(--textfarbe-1);
    padding: 0 0 0 1.5em;
    font-weight: 900;
    }
    .menu a:hover {
    color: var(--textfarbe-4);
    position: relative;
    left: 0vw;
    font-weight: 300;
    letter-spacing: .1em;
    }


   
    @media screen and (min-width: 800px) {
    .line { 
    display: block; 
    position: absolute; 
    left: 0;
    height: calc(4px + (6 - 4) * ((100vw - 800px) / (2000 - 800)));
    width: calc(150% + (100 - 150) * ((100vw - 800px) / (2000 - 800)));
    border-radius: calc(4px + (6 - 4) * ((100vw - 320px) / (2000 - 320)));
    transition: 0.5s; 
    transform-origin: center; 
    background: var(--hintergrund-2);
    z-index: 2;
        }
    .line-s { 
    display: block; 
    position: absolute; 
    left: calc(-20% + (27 - 20) * ((100vw - 800px) / (2000 - 800)));
    height: calc(2px + (3 - 2) * ((100vw - 800px) / (2000 - 800)));
    width: calc(190% + (125 - 190) * ((100vw - 800px) / (2000 - 800)));
    border-radius: calc(4px + (6 - 4) * ((100vw - 320px) / (2000 - 320)));
    transform-origin: center; 
    background: var(--hintergrund-3);
    }
    .line:nth-child(1) { top: calc(1vh + (1 - 1) * ((100vw - 320px) / (2000 - 320)));}
    .line-s:nth-child(2) { top: calc(2vh + (3 - 2) * ((100vw - 320px) / (2000 - 320)));}
    .line:nth-child(3) { top: calc(3vh + (5 - 3) * ((100vw - 320px) / (2000 - 320)));}
    #hamburg:checked + .hamburg  + nav.menu { 
    max-height: 90vh; 
    }
    #hamburg:checked + .hamburg .line:nth-child(1){
    transform: translateY(calc(1vh + (2 - 1) * ((100vw - 320px) / (2000 - 320)))) rotate(-45deg);
    }
    #hamburg:checked + .hamburg .line-s:nth-child(2){
    opacity:0;
    }
    #hamburg:checked + .hamburg .line:nth-child(3){
    transform: translateY(calc(-1vh + (-2 - -1) * ((100vw - 320px) / (2000 - 320)))) rotate(45deg);
    }
     .menu { 
    width: 30%;
    max-width: 450px;
    }
    }

    @media screen and (min-height: 600px) {
    .menu { 
    font-size: calc(12px + (32 - 10) * ((100vw - 100px) / (2000 - 100)));
    min-width: 175px;
}
    }