header {
    background: #30343F;
    box-shadow: 0px 3px 13px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
    transition: all 0.3s;
}
.nav-top {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#logoWrapper {
    display: flex;
    justify-content: flex-start;
}

#logoWrapper img {
    width: 70px;
    background: #fff;
}
#logo {
    height: 70px;
}
.logo-beschreibung {
    display: block;
    text-transform: uppercase;
    font-size: 1.2rem;
    background: #237C42;
    color: #F9F4DE;
    text-decoration: none;
    padding: 8px 20px;
}

nav.topmenu {
    height:auto;
    max-height:0;
    overflow: hidden;
    transition: all 0.5s;
}
#hamburger:checked + .hamburger  + nav.topmenu {
    max-height: 600px;
}
label.hamburger {
    display: block;
    width:75px;
    height:50px;
    position: absolute;
    top:10px;
    right: 10px;
}
input#hamburger {display: none;}

.line {
    position: absolute;
    left: 10px;
    height: 4px;
    width: 55px;
    background: #fff;
    border-radius: 2px;
    display: block;
    transition: 0.5s;
    transform-origin: center;
}
.line:nth-child(1) { top: 12px; }
.line:nth-child(2) { top: 24px; }
.line:nth-child(3) { top: 36px; }

#hamburger:checked + .hamburger .line:nth-child(1){
    transform: translateY(12px) rotate(-45deg);
}
#hamburger:checked + .hamburger .line:nth-child(2){
    opacity:0;
}
#hamburger:checked + .hamburger .line:nth-child(3){
    transform: translateY(-12px) rotate(45deg);
}
.topmenu ul{
    padding: 0;
    margin: 0;
}
.topmenu li {
    text-align: center;
}
.topmenu li a {
    color: #F9F4DE;
    text-decoration: none;
    font-size: 1.4rem;
    padding: 1.1rem 1rem;
    transition: all 0.3s;
    display:block;
}

@media only screen and (min-width: 768px) {
    .nav-top {
        justify-content: space-between;
        position: relative;
        flex-direction: row;
    }
    #hamburger {
        display: none;
    }
    label.hamburger {
        display: none;
    }
    nav.topmenu {
        height:auto;
        max-height:100px;
        overflow: hidden;
        transition: all 0.5s;
    }
    .topmenu ul{
        list-style: none;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: flex-end;
        flex-direction: row;
    }
    .topmenu li {

    }
    .topmenu li a {
        color: #F9F4DE;
        text-decoration: none;
        font-size: 1.4rem;
        padding: 1.1rem 1rem;
        transition: all 0.3s;
        display:block;
    }
}
@media only screen and (min-width: 1024px) {
    .nav-top {
        justify-content: flex-end;
    }
    #logoWrapper {
        position: absolute;
        left: 0;
        top: 30px;
        width: 400px;
        transition: all 0.3s;
        display: flex;
        justify-content: flex-end;
    }

    #logoWrapper:before {
        content: " ";
        display: inline-block;
        width: 100vw;
        right: 0;
        top: 0;
        height: 100px;
        position: absolute;
        background: #fff;
        z-index: -1;
        box-shadow: 0px 3px 13px rgba(0, 0, 0, 0.2);
        transition: all 0.3s;
    }
    #logoWrapper:after {
        content: " ";
        display: inline-block;
        transform: rotate(-30deg);
        background: #00000014;
        position: absolute;
        right: -438px;
        top: -118px;
        width: 500px;
        height: 100px;
        z-index: -5;
        transition: all 0.3s;
    }
    #logoWrapper img {
        width: 100px;
        transition: all 0.3s;
    }
    .logo-beschreibung {
        display: block;
        font-size: 1.8rem;
        padding: 11px 40px;
        transition: all 0.3s;
        height: 100px;
    }
    .tiny-header #logoWrapper {
        top: 0;
        transition: all 0.3s;
    }
    .tiny-header #logoWrapper img {
        width: 50px;
        transition: all 0.3s;
    }
    .tiny-header #logo {
        height: 50px;
        transition: all 0.3s;
    }
    .tiny-header .logo-beschreibung {
        font-size: 1rem;
        padding: 3px 40px 0 40px;
        transition: all 0.3s;
        height: 50px;
    }
    .tiny-header #logoWrapper:before {
        height: 50px;
        transition: all 0.3s;
    }
    .tiny-header #logoWrapper:after {
        display: none;
    }
    .tiny-header .topmenu li a {
        font-size: 1.4rem;
        padding: 0.6rem 1rem;
        transition: all 0.3s;
    }
}
@media only screen and (min-width: 1200px) {
    .nav-top {
        position: relative;
        width: 1200px;
        margin: 0 auto;
    }
}