/* nunito-300 - latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/nunito-v25-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/nunito-v25-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/nunito-v25-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/nunito-v25-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/nunito-v25-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/nunito-v25-latin-300.svg#Nunito') format('svg'); /* Legacy iOS */
}

/* nunito-500 - latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/nunito-v25-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/nunito-v25-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/nunito-v25-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/nunito-v25-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/nunito-v25-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/nunito-v25-latin-500.svg#Nunito') format('svg'); /* Legacy iOS */
}

/* caveat-regular - latin */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/caveat-v17-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/caveat-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/caveat-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/caveat-v17-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/caveat-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/caveat-v17-latin-regular.svg#Caveat') format('svg'); /* Legacy iOS */
}




[role=tooltip], .jmodedit, .icons {
    display: none;
}




* {
    padding: 0px;
    margin: 0px;
    border-spacing: 0px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@-ms-viewport {
    width: device-width;
}

img {
    border: none;
    font-size: 0;
}

.hidden {
    display: none;
}

html {
    height: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 20px;
}

body {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    line-height: 160%;
    margin: 0px 0px 0px 0px;
    font-size: 1rem;
    color: #3a3026;
    position: relative;
    min-height: 100%;
    background: #ccc;
    overflow-y: scroll;
}



a {
    color: #3a3026;
    text-decoration: none;
    transition: color 0.3s ease-out;
    border: 0;
}

a:hover {
    color: #487bbe;
}

b, strong {
    font-weight: 500;
    color: #487bbe;
}

p {
    margin-bottom: 0.5rem;
}

p.no_mb, p:last-child {
    margin-bottom: 0;
}

.clearfix, .clr, .clear {
    clear: both;
}

small, .small {
    font-size: 0.8rem;
}

#wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: auto;
    min-height: 100%;
    background: #fff;
    padding-top: 6rem;
}

#header {
    position: fixed;
    height: 9rem;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9999999;
    background: #fff;
    transition: 0.3s ease-out;
    border-bottom: 1px solid #487bbe;
}

#header.scrolled {
    transform: translateY(-3rem);
}

#header #logo {
    width: auto;
    height: 6.5rem;
    position: absolute;
    z-index: 10;
    right: 2.5rem;
    bottom: 1.25rem;
    transition: transform 0.3s ease-out;
    transform-origin: right bottom;
}

#header.scrolled #logo {
    transform: scale(0.68) translateY(0.8rem);
}    



#header #topmenu {
    position: absolute;
    left: 2.5rem;
    height: 2rem;
    bottom: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out;
}

#header.scrolled #topmenu {
    transform: translateY(1.5rem);
}

#header #topmenu ul {
    list-style: none;
    display: flex;
    height: 2rem;
}

#header #topmenu ul li {
    margin-right: 1.5rem;
}


#header #topmenu ul li a {
    height: 2rem;
    line-height: 2rem;
    font-weight: 300;
    text-transform: uppercase;
    padding-left: 1.5rem;
    font-size: 1rem;
    position: relative;
    display: block;
    letter-spacing: 1px;
}

#header #topmenu ul li.active a, #header #topmenu ul li a:hover {
    color: #487bbe;
}

#header #topmenu ul a:before {
    position: absolute;
    content: '';
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1.4rem;
    background: url(../images/menu_icon.svg) center center no-repeat;
    background-size: contain;
    opacity: 0;
    transform: translateX(-0.25rem) translateY(0.1rem);
    transition: 0.3s ease-out;
}

#header #topmenu ul li.active a:before, #header #topmenu ul li a:hover:before {
    opacity: 1;
    transform: translateX(0) translateY(-0.1rem);
}
  
    

#header #contact {
    position: absolute;
    right: 29rem;
    left: 34.4rem;
    top: 0;
    bottom: 0;
    display: flex;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out;
}

#header.scrolled #contact {
    transform: translateY(1.5rem);
}

#header #contact_header > div > div {
    display: flex;
    align-items: center;
}

#header #contact_header > div > div img {
    display: block;
    width: 1.7rem;
    height: auto;
    margin-right: 0.5rem; 
}

#header #contact_header > div > div:first-child {
    margin-bottom: 0.6rem;
}

@media(max-width: 1760px) {
    
    #header #contact {
        display: none;
    }
    
}

#slider {
    position: relative;
    background: #ccc;
    height: calc(100vh - 6rem);
    overflow: hidden;
}

#slider_inside {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

@media(max-width: 1340px) {

    #wrapper {
        padding-top: 5rem;
    }

    #header {
        height: 8rem;
    }

    #header #logo {
        right: 2rem;
        bottom: 1.25rem;
        height: 5.5rem;
    }

    #header #topmenu {
        left: 2rem;
        bottom: 3rem;
    }

    #slider {
        height: calc(100vh - 5rem);
    }

     
}


#willkommen {
    position: absolute;
    background: rgba(255,255,255,0.9);
    width: 43rem;
    max-width: 50%;
    padding: 1.5rem;
    bottom: 10%;
    right: 5%;
    z-index: 999999;
    box-sizing: border-box
}

#willkommen:before, .steckbrief:before, .slider_motivation:before, .bg_image:before {
    content: '';
    display: block;
    position: absolute;
    width: calc(100% - 1.5rem);
    height: 10px;
    right: 0;
    bottom: -10px;
    background: #487bbe;
}

#willkommen:after, .steckbrief:after, .slider_motivation:after, .bg_image:after {
    content: '';
    display: block;
    position: absolute;
    height: calc(100% - 1rem);
    width: 10px;
    right: -10px;
    bottom: -10px;
    background: #487bbe;
}

#willkommen h1 {
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    color: #487bbe;
}

#content {
    position: relative;
    width: 100%;
    text-align: left;
    padding-bottom: 5rem;
    overflow: hidden;
    background: #fff;
    
}

.centered {
    width: 59rem;
    margin: 0 auto;
}

section {
    background: #fff;
    margin-bottom: 10rem;
}

section .text {
    padding: 2rem;
}

#content h1, #content h2.like_h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 130%;
    font-weight: 500;
    text-align: left;
    color: #487bbe;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#content h2 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    line-height: 130%;
    font-weight: 500;
    text-align: left;
    color: #487bbe;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    line-height: 130%;
    font-weight: 500;
    color: #487bbe;
    text-align: left;
}

#content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    line-height: 130%;
    font-weight: 500;
    color: #487bbe;
    text-align: left;
}


.steckbrief {
    background: #f2f4f5;
    padding: 1rem;
    position: relative;
    box-sizing: border-box;
    margin-right: 10px;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    float: right;
}

.slider_motivation {
    position: relative;
    padding-bottom: 165%;
}

.slider_motivation > div {
    background: #f2f4f5;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
}

.clm2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    clear: both;
}

.clm2 > div:first-child {
    width: 24%;
}
    
.clm2 > div:last-child {
    width: 72%;
}

.clm2_leistungen {
    display: flex;
    justify-content: space-between;
}

.clm2_leistungen > div:first-child {
    width: 55%;
}

.clm2_leistungen > div:last-child {
    width: 40%;
    position: relative;
}

.clm2_leistungen > div:last-child .bg_image {
    position: absolute;
    left: 0;
    right: 10px;
    top: 0;
    bottom: 0;
    background: #f2f4f5 url('/images/leistungen/leistungen.jpg') center center;
    background-size: cover;
}

.clm2_kontakt {
    display: flex;
    justify-content: center;
    align-items: center;
}

.clm2_kontakt > div:last-child {
    margin-left: 5rem;
    padding-right: 10px;
}

.img_kontakt {
    display: block;
    width: 21rem;
    height: auto;
    border-radius: 50%;
    position: relative;
 }
 
.img_kontakt_bg {
    position: relative;
}

 .img_kontakt_bg:before {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    content: '';
    display: block;
    background: #487bbe;
    border-radius: 50%;
    transform: translateX(10px) translateY(10px);
}
 

    
 .spruch {
    background: #487bbe;
    padding: 2rem 0;
    margin-top: 8rem;
}

 .spruch > div {
    width: 59rem;
    margin: 0 auto;
    font-size: 3rem;
    color: #fff;
    text-align: center;
    font-family: 'Caveat', cursive;
    line-height: 110%;
    font-weight: 400;
}

.spruch > div > div {
    visibility: hidden;
}

.spruch_long {
    max-width: 70%;
    margin: 0 auto;
}



#content ul {
    list-style: none;
}

#content ul.list li {
    padding-left: 0.75rem;
    position: relative;
    text-align: left;
    line-height: 160%;
    margin-bottom: 0.3rem;
}

#content ul.list li:before {
    content: '';
    display: block !important;
    position: absolute;
    width: 0.3rem;
    height: 0.3rem;
    left: 0;
    top: 0.65rem;
    background: #487bbe;
    border-radius: 50%;
}








#footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 2.5rem;
    background: #487bbe;
}

#footer_inner {
    height: 2.5rem;
    line-height: 2.5rem;
    margin: 0 auto;
    font-size: 0.9rem;
    text-align: center;
    color: #fff;
}

#footer_inner a {
    color: #fff;
}


@media(max-width: 1220px) {

    html {
        font-size: 17px;
    }
    
    #willkommen:before, .steckbrief:before, .slider_motivation:before, .bg_image:before {
        height: 8px;
        bottom: -8px;
    }

    #willkommen:after, .steckbrief:after, .slider_motivation:after, .bg_image:after {
        width: 8px;
        right: -8px;
        bottom: -8px;
    }
    
    .steckbrief {
        margin-right: 8px;
    }

    
    .clm2_leistungen > div:last-child .bg_image {
        right: 8px;
    }
    
    .clm2_kontakt > div:last-child {
        padding-right: 8px;
    }
    
     .img_kontakt_bg:before {
        transform: translateX(8px) translateY(8px);
    }


}



@media(max-width: 980px) {

    .hd_tbpt {
        display: none;
    }

    .sh_tbpt {
        display: block !important;
    }

    #wrapper {
        overflow: hidden;
        padding-top: 8rem;
        width: 100%;
    }
    
    
   #webpage  {
        transform: translateX(0);
        transition: transform 0.3s ease-out;
        position: relative;
    }

    #webpage.menu_active {
        transform: translateX(300px); 
    }
    
    #header {
        transform: translateX(0);
    }
    
    #header.menu_active {
        transform: translateX(300px); 
    }
    
    #header.menu_active.scrolled {
        transform: translateX(300px) translateY(-3rem); 
    }
    
    #footer  {
        transform: translateX(0);
        transition: transform 0.3s ease-out;
    }
    
    #footer.menu_active {
        transform: translateX(300px); 
    }

    #webpage_overlay, #footer_overlay, #header_overlay {
        position: absolute;
        z-index: 60;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: rgba(255,255,255,0.75);
        transition: opacity 0.3s ease-out, visibility 0s 0.3s; 
        visibility: hidden;
        opacity: 0;
    }

    #webpage_overlay.menu_active, #footer_overlay.menu_active, #header_overlay.menu_active  {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.3s ease-out, visibility 0s 0s; 
    }
    
    #menu {
        background: #f2f4f5;
        position: fixed;
        width: 300px;
        padding: 30px;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 9999999;
        transform: translateX(-300px);
        transition: transform 0.3s ease-out;
        box-sizing: border-box;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        display: block !important;
    }

    #menu.menu_active {
        transform: translateX(0); 
    }
    

    
    #rmenu {
        position: absolute;
        left: 30px;
        bottom: 48px;
        z-index: 9999999999999999;
        height: 40px;
        cursor: pointer;
        line-height: 38px;
        display: block !important;
        font-size: 17px;
        transition: transform 0.3s ease-out;
    }
    
    #header.scrolled #rmenu {
        transform: translateY(1.5rem);
    }

    #rmenu #rmenu_icon {
        display: block;
        width: 40px;
        height: 2px;
        background: rgba(72,123,190,1);
        position: relative;
        top: 19px;
        left: -60px;
        transition: background 0s 0.15s;
    }

    #rmenu.menu_active #rmenu_icon {
        background: rgba(72,123,190,0);
    }

    #rmenu #rmenu_icon:before {
        content: '';
        display: block;
        position: absolute;
        width: 40px;
        height: 2px;
        background: rgba(72,123,190,1);
        position: absolute;
        top: -12px;
        transition: top 0.15s ease-in 0.15s, transform 0.15s ease-in 0s;
    }

    #rmenu_trigger {
        cursor: pointer;
        display: inline-block;
        padding-left: 60px;
    }
    
    #rmenu #rmenu_icon:after {
        content: '';
        display: block;
        position: absolute;
        width: 40px;
        height: 2px;
        background: rgba(72,123,190,1);
        position: absolute;
        top: 12px;
        transition: top 0.15s ease-in 0.15s, transform 0.15s ease-in 0s;
    }
    
    #rmenu.menu_active #rmenu_icon:before {
        top: 0px;
        transition: top 0.15s ease-in 0s, transform 0.15s ease-in 0.15s;
        transform: rotate(135deg);
    }

    #rmenu.menu_active #rmenu_icon:after {
        top: 0px;
        transition: top 0.15s ease-in 0s, transform 0.15s ease-in 0.15s;
        transform: rotate(-135deg);
    }

    #menu ul {
        list-style: none;
        width: 100%;
        margin: 0;
    }

    #menu ul li {
        width: 100%;
        border-bottom: 1px dotted rgba(58,48,38,0.3);
        margin: 0;
        position: relative;
    }
    
    #menu ul li img {
        display: none;
    }

    #menu ul li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    #menu ul li a {
        color: #3a3026;
        line-height: 130%;
        display: block;
        padding-top: 11px;
        padding-bottom: 9px;
        font-size: 20px;
        transition: 0.3s ease-out;
        text-transform: uppercase;
        font-weight: 500;
    }

    #menu ul li a:before {
        content: '';
        display: block;
        position: absolute;
        left: -60px;
        top: 11px;
        width: 24px;
        height: 24px;
        background: url(../images/menu_icon.svg) center center no-repeat;
        background-size: contain;
        transition: 0.3s ease-in;
    }
    
    #menu ul li.active a {
        padding-left: 30px;
        color: #487bbe;
    }

    #menu ul li.active a:before {
        left: 0;

    }

    
    
    
    #header #logo {
        right: 30px;
    }

    
    
    #header #topmenu {
        display: none;
    }
    
    #header #contact {
        right: 30px;
    }
    
    #slider {
        height: 0;
        padding-bottom: 52.08%;
        margin-bottom: 5rem;
    }
    
    .centered {
        width: calc(100% - 60px);  
    }
    
    section {
        margin-bottom: 5rem;
    }
    
     .spruch {
        margin-top: 5rem;
        padding: 1.5rem 0;
    }
    
     .spruch > div {
        width: calc(100% - 60px);
        font-size: 2.5rem;
    }
    
    .spruch_long {
        max-width: 100%;
    }
    
    .clm2 {
        flex-direction: column-reverse;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .clm2 > div:first-child {
        width: 30%;
    }
    
    .clm2 > div:last-child {
        width: 100%;
        margin-bottom: 50px;
    }
    
    
}


@media (max-width: 680px) {

    

    .hd_smpt {
        display: none;
    }
    
    .sh_smpt {
        display: block !important;
    }
    
    .ls-container .ls-gui-element {
        display: none !important;
    }
    
    #willkommen:before, .steckbrief:before, .slider_motivation:before, .bg_image:before {
        height: 7px;
        bottom: -7px;
    }

    #willkommen:after, .steckbrief:after, .slider_motivation:after, .bg_image:after {
        width: 7px;
        right: -7px;
        bottom: -7px;
    }
    
    .steckbrief {
        margin-right: 7px;
    }

    
    .clm2_leistungen > div:last-child .bg_image {
        right: 7px;
    }
    
    .clm2_kontakt > div:last-child {
        padding-right: 7px;
    }
    
     .img_kontakt_bg:before {
        transform: translateX(7px) translateY(7px);
    }

    #wrapper {
        padding-top: 6rem;
    }
    
    #webpage.menu_active {
        transform: translateX(270px); 
    }
    
    #header.menu_active {
        transform: translateX(270px); 
    }
    
    #header.menu_active.scrolled {
        transform: translateX(270px) translateY(-2rem); 
    }
    
    #footer.menu_active {
        transform: translateX(270px); 
    }
    
    #menu {
        width: 270px;
        padding: 20px;
        transform: translateX(-270px);
    }
    
    #rmenu {
        left: 20px;
        bottom: 31px;
    }
    
    #header.scrolled #rmenu {
        transform: translateY(17px);
    }
    
    #rmenu #rmenu_icon {
        top: 19px;
        left: 0;
    }
    
    #rmenu_trigger {
        display: block;
        padding-left: 0;
    }
    

    #header {
        height: 6rem;
    }
    
    #header.scrolled {
        transform: translateY(-2rem);
    }

    #header #logo {
        right: 20px;
        bottom: 1.25rem;
        height: 3.3rem; 
    }
    
    #header.scrolled #logo {
        transform: scale(0.85) translateY(0.8rem);
    }
    
    #slider {
        margin-bottom: 3rem;
    }
    
    .centered {
        width: calc(100% - 40px);  
    }
    
    section {
        margin-bottom: 3rem;
    }
    
    .steckbrief {
        padding: 0.5rem;
        font-size: 0.85rem;
        line-height: 150%;
    }
    
    #content .steckbrief ul.list li {
        padding-left: 0.55rem;
        line-height: 130%;
        margin-bottom: 0.3rem;
    }
    
    #content .steckbrief ul.list li:before {
        width: 0.2rem;
        height: 0.2rem;
        top: 0.45rem;
    }
    
    .spruch {
        margin-top: 4rem;
        padding: 1rem 0;
    }
    
    .spruch > div {
        font-size: 2rem;
    }
    
    .clm2 > div:first-child {
        width: 60%;
        max-width: 270px;
    }
    
    .clm2_leistungen {
        flex-wrap: wrap;
    }
    
    .clm2_leistungen > div:first-child {
        width: 100%;
        margin-bottom: 50px;
    }
    
    .clm2_leistungen > div:last-child {
        width: 100%;
        height: 400px;
    }
    
    .clm2_leistungen > div:last-child .bg_image {
        background-position: center top;
    }
    
    .clm2_kontakt {
        flex-wrap: wrap;
    }
    
    .clm2_kontakt > div:first-child {
        width: 100%;
        margin-bottom: 50px;
    }
    
    .clm2_kontakt > div:last-child {
        margin-left: 0;
    }
    
    .img_kontakt {
        width: 100%;
        max-width: 270px;
        margin: 0 auto;
}
     
    