html {
    background-color: #e1dedd;
}
body {
    background: url('../assets/images/gradient-bg.png') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    -webkit-text-size-adjust: 100%;
    position: relative;
    font-size: 100%;
    margin: 0px;
    padding: 0px;
    /*-webkit-font-smoothing: antialiased;*/
    /*overflow: hidden;*/
}
* {
    margin: 0px;
    padding: 0px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: black;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
@font-face {
    font-family: "DinOffcPro-regular";
    src: url("../assets/fonts/DINOffcPro.ttf");
}
@font-face {
    font-family: "DinOffcPro-bold";
    src: url("../assets/fonts/DINOffcPro-Bold.ttf");
}
@font-face {
    font-family: "DinOffcPro-italic";
    src: url("../assets/fonts/DINOffcPro-Ita.ttf");
}
.offcPro-regular {
    font-family: DinOffcPro-regular, Helvetica, Arial, sans-serif;
}
.offcPro-bold {
    font-family: DinOffcPro-bold, Helvetica, Arial, sans-serif;
}
.offcPro-italic {
    font-family: DinOffcPro-italic, Helvetica, Arial, sans-serif;
}

/**********************************************
*                   header                    *
**********************************************/

#header {
    position: relative;
    z-index: 99;
    padding: 50px 10px 0 0px;
    width: 100%;
}
#logo-wrap {
    /*border: 1px solid black;*/
    
    position: relative;
    width: 300px;
    height: 70px;
    /*margin: 0 auto 0;*/
    margin: -30px auto 3px;
}
#logo-wrap span {
    position: relative;
    top: 27px;
    left: 27px;
    font-size: 1em;
}
#logo {
    position: relative;
    width: 272px;
    margin: 0px;
    z-index: 1;
    top: 23px;
    left: 26px;
}
#menu-btn {
    position: absolute;
    top: 0;
    right: 0;
    zoom: 1;
}
/**********************************************
*                nav-menu                     *
**********************************************/

#menu:not( .mm-menu) {
    display: none;
}
#menu > ul > li {
    /*border: 1px solid black;*/
    
    height: 50px;
}
.menu-cross {
    position: relative;
    top: 0;
    left: 0;
}
.menu-headline {
    position: relative;
    font-family: DinOffcPro-bold, Helvetica, Arial, sans-serif;
    top: 10px;
    left: 12px;
}
.menu-link {
    margin: 0 0 2px 0 !important;
}
#menu > ul >li:first-child {
    /*border: 1px solid black;*/
    
    margin: 10px 0 0px 0 !important;
}
.mm-list > li > a, .mm-list > li > span {
    margin: 0 !important;
    padding: 0 !important;
}
.mm-list > li:not(.mm-subtitle):not(.mm-label):not(.mm-search):not(.mm-noresults)::after {
    border-bottom-style: none !important;
}
.spacer::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 29px;
    height: 0px;
    width: 15px;
    /* or 100px */
    
    border-bottom: 2px solid #bfbfbf;
}
#menu > ul > li > a {
    width: 100%;
    height: 100%;
}
.submenu {
    height: 38px !important;
}
.submenu > a > span {
    padding-left: 12px !important;
    margin: 0px 0 0px 0 !important;
    font-size: 1.094em !important;
}
#menu > ul {
    padding: 0 0 0 10px !important;
    color: black;
    font-family: DinOffcPro-regular, Helvetica, Arial, sans-serif;
    font-size: 1.094em;
    /*font-size: 1.563em;*/
}
/**********************************************
*             header-image                    *
**********************************************/

#header-image {
    position: relative;
    max-width: 990px;
    height: 240px;
    background: url('../assets/images/header_image_large.jpg') no-repeat;
    background-position: 27%;
    margin: 46px auto 5px;

    -webkit-transition: height 0.5s;
    -moz-transition: height 0.5s;
    transition: height 0.5s;
}
#legal{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 274px;
    height: 13px;
    background-color: rgba(255, 255, 255, .8);
    /*background: url('../assets/images/map_legal.png') no-repeat;*/
}
#legal > span{
    position: absolute;
    top: 1px;
    left: 10px;
    font-family: Arial;
    font-size: 0.625em;
}
/**********************************************
*                 content                     *
**********************************************/
#text-wrapper {
    /*background-color: red;*/
    min-width: 300px;
    max-width: 990px;
    margin: 20px auto 0px;
    width: 100%;
    padding: 0 15px;
}
div .copy {
    margin: 40px 31px 0px 31px;
    line-height: 1.188em;
}
.headline{
    display: inline-block;
    font-family: DinOffcPro-bold, Helvetica, Arial, sans-serif;
    font-size: 1.25em;
    line-height: .9em;
    margin: 15px 0 15px -1px;
}
.copy{
    font-family: DinOffcPro-regular, Helvetica, Arial, sans-serif;
    font-size: 1em;
}
b{
    font-family: DinOffcPro-bold, Helvetica, Arial, sans-serif;
    font-size: 1em;
}
#mail-link {
    position: relative;
    top: 0px;
}
#mail-link :hover{
    color: white;
}
#phone-link {
    display: block;
    position: relative;
    top: 0px;
}
.xing {
    /*border: 1px solid black;*/
    display: inline-block;
    position: relative;
    width: 17px;
    height: auto;
}
.xing img {
    position: absolute;
    left: 4px;
    top: -14px;
}
.hide {
    visibility: hidden;
}
.subtitle {
    position: relative;
    margin: 0;
    padding: 0;
}
.subtitle-headline {
    /*border: 1px solid black;*/
    position: relative;
    margin: 0px !important;
    z-index: 1;
    font-family: DinOffcPro-bold, Helvetica, Arial, sans-serif;
    font-size: 1.563em !important;
    line-height: 1.1em !important;
    padding-left: 25px !important;
    padding-top: 23px !important;
}
.titel-headline {
    width: 168px;
    margin: 2px 0 0 5px;
}
.cross {
    position: absolute;
    z-index: 0;
}

#footer {
    position: relative;
    background-color: white;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    margin-top: 45px;
    height: 1.563em;
    width: 100%;
}
#center-div {
    width: 100%;
    max-width: 1010px;
    height: 1.563em;
    /*border: 1px solid black;*/
    position: relative;
    margin: 0px auto 0px;
    padding: 0 56px;
}
#download {
    position: relative;
    top: 50%;
    transform: translateY(-60%);
    -webkit-transform: translateY(-60%);
    font-size: 0.75em;
    float: left;
}
#impressum {
    position: relative;
    top: 50%;
    transform: translateY(-60%);
    -webkit-transform: translateY(-60%);
    font-size: 0.75em;
    /*text-align: center;*/
    float: left;
}
/*************************************************/
/*************************************************/
/*************************************************/
/*************************************************/

.centered {
    pointer-events: none;
    position: absolute;
    opacity: 0;
    padding: 15px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/**********************************************
*             media-queries / small           *
**********************************************/

@media screen and (min-width: 15em) and (max-width: 30em) {
    #mediaquery {
        position: relative;
        display: hidden;
        width: 1px;
        height: 60px;
        z-index: 0;
    }
    body {
        background: url('../assets/images/gradient-bg.png') no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        background-position: 20%;
        -webkit-text-size-adjust: 100%;
    }
    #logo {
        width: 125px;
        top: 12px;
        left: 12px;
    }
    #menu-btn {
        right: 10px;
        top: 10px;
    }
    #header {
        position: fixed;
        background: url('../assets/images/gradient-bg.png') no-repeat center center;
        background-position: 20%;
        -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
        box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
        top: 0;
        padding: 10px 10px 0 10px;
        height: 60px;
        z-index: 100;
    }
    #logo-wrap {
        cursor: pointer;
        width: 220px;
        height: auto;
        margin: 0;
    }
    #logo-wrap span {
        /*top: 6px;*/
        top: 9px;
        position: relative;
        left: 12px;
        font-size: .5em;
    }
    
    #header-image {
        margin: 0px auto 0px;
        height: 150px;
        background-size: cover;
        background-position: 27%;
    }
    #text-wrapper {
        min-width: 300px;
        max-width: 990px;
        margin: 0 auto;
        width: 100%;
        padding: 0 5px;
    }
    div .copy {
        font-family: DinOffcPro-regular, Helvetica, Arial, sans-serif;
        font-size: 1em;
        margin: 25px 17px 32px 17px;
        line-height: 1.188em;
    }
    .subtitle {
        padding: 0;
        margin: 0;
    }
    .subtitle-headline {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 1.094em !important;
        top: 10px;
        left: 12px;
    }
    .titel-headline {
        /*background-color: red;*/
        margin: 10px 5px 0px;
    } 
    #footer {
        margin-top: 45px;
    }
    #center-div {
        margin: 0px 10px 0px;
        padding: 0 17px;
    }
    #office-content {
        width: auto;
    }
    .button-wrap {
        position: relative;
        width: 274px;
    }
    #mail-link {
        white-space: nowrap;
        display: inline-block;
        position: relative;
        margin: 0 auto;
        text-align: center;
        top: 10px;
    }
    #mail {
        position: absolute;
        font-size: 1.094em;
        margin: 0;
        padding: 0;
        top: 9px;
        left: 22px;
    }
    #phone-link {
        white-space: nowrap;
        display: inline-block;
        position: relative;
        margin: 0 0 20px 0;
        text-align: center;
        top: 20px;
    }
    #phone {
        position: absolute;
        font-size: 1.094em;
        margin: 0;
        padding: 0;
        top: 9px;
        left: 67px;
    }
    .button {
        zoom: 1;
        width: 274px;
    }
    #center-div {
        padding: 0 11px;
    }
   
}
/**********************************************
*             media-queries / medium          *
**********************************************/

@media screen and (min-width: 30em) and (max-width: 56.25em) {
    #mediaquery {
        position: relative;
        display: hidden;
        width: 2px;
        height: 60px;
        z-index: 0;
    }
    #logo {
        width: 125px;
        top: 12px;
        left: 12px;
    }
    #header {
        position: fixed;
        background: url('../assets/images/gradient-bg.png') no-repeat center center;
        
        background-position: 20%;
        -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
        box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
        top: 0;
        padding: 10px 10px 0 10px;
        height: 60px;
        z-index: 100;
    }
    #header-image {
        margin: 0px auto 5px;
        height: 150px;
        background-size: cover;
        background-position: 27% 0%;
    }
    #menu-btn {
        right: 10px;
        top: 10px;
    }
    #logo-wrap {
        cursor: pointer;
        width: 220px;
        height: auto;
        margin: 0;
    }
    #logo-wrap span {
        top: 9px;
        position: relative;
        left: 12px;
        font-size: .5em;
    }
    #header-image {
        margin: 0px auto 5px;
    }
    #text-wrapper {
        min-width: 300px;
        max-width: 990px;
        margin: 0 auto;
        width: 100%;
        padding: 0 5px;
    }
    div .copy {
        font-family: DinOffcPro-regular, Helvetica, Arial, sans-serif;
        font-size: 1em;
        margin: 25px 17px 32px 17px;
        line-height: 1.188em;
    }
    .subtitle {
        padding: 0;
        margin: 0;
    }
    .subtitle-headline {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 1.094em !important;
        top: 10px;
        left: 12px;
    }
    .titel-headline {
        /*background-color: red;*/
        margin: 10px 5px 0px;
    } 
    #footer {
        margin-top: 45px;
    }
    #center-div {
        margin: 0px 10px 0px;
        padding: 0 20px;
    }
    .button {
        display: none;
    }
    #phone-link {
        display: block;
        position: relative;
        top: 0px;
    }
    #center-div {
    padding: 0 11px;
    }
}
/**********************************************
*             media-queries / large           *
**********************************************/

@media screen and (min-width: 56.25em) {
    #mediaquery {
        display: hidden;
        width: 3px;
    }
    #logo-wrap{
        cursor: pointer;
    }
    .button {
        display: none;
    }
    #menu-btn {
        display: none;
    }
}
/**********************************************
*         media-queries / landscape           *
**********************************************/

@media screen and (orientation : landscape) and (max-width: 56.25em) {
    #header-image {
        margin: 0px auto 5px;
        height: 150px;
        background-size: cover;
    }
}