/*Navigation mobile*/
@media screen and (max-width: 991px) {
header {
height: 120px;
}

/*Hamburger Button*/
label.hamburger {
display: block;
background:var(--gruen);
width: 50px;
height: 50px;
position: absolute;
right: 10px;
top: 2.28rem;
z-index: 9;
border-radius: 2px;
transition: border-radius 0.5s;
cursor: pointer;
margin: 20px;
}

.hamburger .linie {
position: absolute;
left: 10px;
height: 4px;
width: 30px;
background: #FFF;
border-radius: 0px;
display: block;
transition: 0.5s;
transform-origin: center;
}

.hamburger .linie:nth-child(1) {
top: 12px;
}

.hamburger .linie:nth-child(2) {
top: 24px;
}

.hamburger .linie:nth-child(3) {
top: 36px;
}

#hamburger:checked + .hamburger .linie:nth-child(1) {
transform: translateY(12px) rotate(-45deg);
}

#hamburger:checked + .hamburger .linie:nth-child(2) {
opacity: 0;
}

#hamburger:checked + .hamburger .linie:nth-child(3) {
transform: translateY(-12px) rotate(45deg);
}

input#hamburger {
display: none;
}

#hamburger:checked + .hamburger + .mod_navigation.desktopmenu {
max-height: 600px;
}

.mod_navigation.desktopmenu.block {
height: auto;
max-height: 0px;
overflow: hidden;
transition: all 1.5s;
background: #3F8B3C;
width: 100%;
position: relative;
top: 60px;
}

/*Navigation mobile*/
.mod_navigation.desktopmenu ul {
margin: 0 15px;
width: auto;
}

.mod_navigation.desktopmenu li {
line-height: 2.6;
font-size: 1.3rem;
text-align: right;
list-style-type: none;
}

.mod_navigation.desktopmenu a {
color: #FFF;
/*font-size: 1.3rem;*/
}

.mod_navigation.desktopmenu a:hover, .mod_navigation.desktopmenu .active {
text-decoration: underline;
color: #FFF;
}
}

/*Navigation desktop*/
@media screen and (min-width: 992px) {
#hamburger {
display: none;
}

/*Header Hauptnavigation*/
header .mod_navigation a {
color:var(--gruen);
text-decoration: none;
}

header .mod_navigation a:hover, header .mod_navigation .active {
color:var(--gold);
text-decoration: underline;
}

header .mod_navigation ul {
position: relative;
top: 5px;
}

header .mod_navigation ul li {
display: inline-block;
margin-right: 22px;
/*font-family:var(--nav-font-family);*/
font-family: 'Chewy';
letter-spacing: 2px;
font-size: 1.1rem;
}
/*.mod_navigation.desktop.block {
line-height: calc(.48077vw + 24.46154px);
width: 930px;
}*/
/*#header .mod_navigation ul.level_1,
.mod_customnav.nav_service_header ul {
text-align: right;
margin: 0px;
padding: 0px;
}*/
/*.mod_navigation.desktopmenu ul li,
.mod_customnav.nav_service_header ul li {
display: inline-block;
}*/
/*#header .mod_navigation ul.level_1 {
position: absolute;
bottom: 7px;
height: 40px;
right: 25px;
}*/
/*@supports (display: grid) {
#header .mod_navigation ul.level_1 {
position: absolute;
bottom: 7px;
height: 40px;
right: 25px;
}
}*/
/*#header .mod_navigation ul.level_1 li {
margin-left: 0.5rem;
margin-right: 0.5rem;
font-size: 0.9rem;
}*/
/*#header .mod_navigation ul.level_1 > li::before {
content: "";
display: block;
position: relative;
bottom: -40px;
(*height: 2px;*)
width: 0;
right: 55%;
left: 55%;
border-bottom: 5px solid #00ADEF;
-webkit-transition: right 0.2s ease-out, left 0.2s ease-out;
-moz-transition: right 0.2s ease-out, left 0.2s ease-out;
-o-transition: right 0.2s ease-out, left 0.2s ease-out;
transition: right 0.2s ease-out, left 0.2s ease-out, width 0.2s ease-out;
}*/
/*#header .mod_navigation ul.level_1 li.active {
border-bottom:5px solid var(--blue);
position: relative;
bottom: 0px;
padding-bottom: 4px;
(*line-height: 1.4;*)
}*/
/*#header .mod_navigation ul.level_1 > li:hover::before {
width: 115%;
right: 0%;
left: -7.5%;
-webkit-transition-duration: 0.2s, 0.2s;
-moz-transition-duration: 0.2s, 0.2s;
-o-transition-duration: 0.2s, 0.2s;
transition-duration: 0.2s, 0.2s;
transition: width 0.2s ease-out, left 0.2s ease-out;
}*/
/*.mod_navigation.desktopmenu a {
color: #000;
display: block;
font-size: 0.8rem;
font-family: CorporateS;
}*/
/*.mod_navigation.desktopmenu a:hover {
color: rgba(0, 0, 0, 0.7);
}*/
/*Header Servicenavigation*/
/*#header .mod_customnav li {
margin-right: 2rem;
}*/
/*#header .mod_customnav a {
color: #000;
font-size: 0.7rem;
}*/
/*#header .mod_customnav a:hover {
color: rgba(0, 0, 0, 0.7);
text-decoration: underline;
}*/
/*#header .mod_customnav .active,
#header .mod_customnav .trail {
color: #000;
font-size: 0.7rem;
font-weight: bold;
}*/
/*.mod_customnav.nav_service_header {
position: absolute;
top: 0px;
right: 25px;
}*/
/*@supports (display: grid) {
.mod_customnav.nav_service_header {
grid-column-start: 2;
grid-column-end: 3;
grid-row-start: 1;
grid-row-end: 2;
}
}*/
}
