@media only screen and (max-width: 1150px) {
  

:root {
    --primary-color: rgb(255, 255, 255);
    --overlay-color: rgba(202, 205, 207, 0.8);
    --menu-speed: 0.75s;
}

#menu { display:none; }



#mobile_nav {
    position:fixed;
    top:50px;
    left:0;
    z-index:1;
    display: initial;
}

#mobile_nav .toggler {
    position: absolute;
    top:0;
    left:0;
    z-index: 2;
    cursor: pointer;
    width: 50px;
    height: 50px;
    opacity: 0;
}

#mobile_nav .hamburger {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 60px;
    height: 60px;
    padding: 1rem;
    background: var(--primary-color);
    border-right:1px solid grey;
    border-bottom:1px solid grey;
    border-top:1px solid grey;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* linien im hamburger menu */
#mobile_nav .hamburger > div {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: grey;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}

#mobile_nav .hamburger > div:before,
#mobile_nav .hamburger > div:after {
    content: '';
    position: absolute;
    z-index: 1;
    top: -10px;
    width: 100%;
    height: 2px;
    background: inherit;
}

#mobile_nav .hamburger > div:after {
    top: 10px;
}


/* toggler animate */

#mobile_nav .toggler:checked + .hamburger > div {
    transform: rotate(135deg);
}

/* in X umformen */
#mobile_nav .toggler:checked + .hamburger > div:before,
#mobile_nav .toggler:checked + .hamburger > div:after {
    top:0;
    transform: rotate(90deg);
}

/* bewegeung bei hover */
#mobile_nav .toggler:checked:hover + .hamburger > div {
    transform: rotate(225deg);
}

/* mobile_menu anzeigen */

#mobile_nav .toggler:checked ~ .mobile_menu {
    visibility: visible;
}

#mobile_nav .toggler:checked ~ .mobile_menu > div {
    transform: scale(1);
    transition-duration: var(--menu-speed);
}

#mobile_nav .toggler:checked ~ .mobile_menu > div > div {
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* mobile_menu inhalt */
#mobile_nav .mobile_menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mobile_nav .mobile_menu > div {
    background: var(--overlay-color);
    width: 100%;
    height: 100%;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: all 0.4s ease;
}

#mobile_nav .mobile_menu > div > div {
    text-align: center;
    max-width: 90vw;
    max-height: 100vh;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#mobile_nav .mobile_menu > div > div > ul > li {
    list-style: none;
    color:white;
    font-size: 1.5em;
    padding: 1rem;
    float: none;
}

#mobile_nav .mobile_menu > div > div > ul > li > a{
    color: black;
    text-decoration: none;
    transition: color 0.4s ease;
}

#mobile_nav .mobile_menu > div > div > a > img { width:40px; height:40px; }





/* #######################################################   ALLGEMEIN   ##################################################### */

#bottom {display: none;}
hr {display: none;}
body {margin:0px; font-size:2em;}
#page {margin:0px 0px 0px 0px;left:0px;width:100%;position:relative; padding:0px;}
#logo {text-align:right; margin-bottom: 50px;}
#logo img { margin:0px; width:70%; height:auto; margin-top:30px;}
#menu_sec {float:right; width:auto;}


/* #######################################################   STARTSEITE   ##################################################### */

.pic_birne {display: none;}
.pic_karte {width:100%;height:auto;}
.mar_l_100 {margin-left: 100px;}

/* #######################################################   BUEROPROFIL   ##################################################### */
  

#team_pictures {margin-top:100px;float: none;}
#team_pictures img { width:250px;}

/* #######################################################   PROJEKTE   ##################################################### */

.proj_div {width:13.5%;}

.w_350 { width:100%;}

/* #######################################################   LEISTUNGEN   ##################################################### */

#leistungen {margin-top: 50px; width:100%; margin:15px;}
#leistungen_pictures img {height:auto;width:30%;}

/* #######################################################   KONTAKT   ##################################################### */

#kontakt_small {width:100%;}
#kontakt {float: none; width:100%;}
#kontaktformular {float:none; padding:50px 0px 0px 0px; width: 100%;}
#kontaktformular table tr td {width:160px;display: inline-block; white-space: nowrap;}
#kontaktformular input {height:50px;}
#kontaktformular textarea { width:500px; height:200px;}

#images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.akt_sec_pic, .akt_sec_pic_odd { display: none;}
.akt_text {width:auto;}

}

