@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,700');

img,
svg,
video {
    vertical-align: middle;
}
html {
    font-size: 62.5%;
}
body {
    font-size: 14px;
    line-height: 26px; 
    font-family: 'Noto Sans', sans-serif;
    background: #f9f9fb; 
    color: #1B1B1B;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== 
*/

.menu-block {
    position: relative;
    padding: 14px 0 0 0;
    text-align: center;
}

.menu-block a {
    text-decoration: none;
    font-size: 1.6rem;
    line-height: 2rem;
    font-weight: bold;
    color: #1B1B1B;
    display: inline-block;
    margin: 0;
    padding: 0 20px;
    width: 100%;
    line-height: 3.4rem;
    text-align: right;
    box-sizing: border-box;
    text-align: center;
}

.menu-block a.contact {
    color: #fff;
    background: #D70035;
    font-size: 1.4rem;
    line-height: 1.8rem;
    padding: 8px 40px;
    border-radius: 24px;
    font-weight: 400;
    width: auto;
    margin-top: 8px;
}

header {
    width: 100%;
    padding: 28px 0 16px 0;
    background: #f9f9fb;
    z-index: 3;
    border-bottom: 1px solid #e0e0e0;
}

header .header-content {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 20px;
}

header:after {
    content: '';
    display: table;
    width: 100%;
    float: none;
    clear: both;
}

header .logo-block {
    text-align: center
}

header .logo-block img {
    width: 144px;
    height: auto;
}

@media (min-width: 560px) {
    header .logo-block {
        float: left;
        margin-right: 40px;
    }

    .menu-block a {
        margin: 0 12px;
        width: auto;
        padding: 0
    }

    .menu-block a.contact {
        margin-right: 20px;
        float: right;
    }
}

@media (min-width: 680px) {
    header {
        position: fixed;
        top: 0;
        padding: 28px 0 4px 0;
    }

    main {
        margin-top: 115px;
    }

    .menu-block a.contact {
        margin: 0;
    }
}

@media (min-width: 1124px) {
    main {
        margin-top: 99px; 
    }
}

.color-red {
    color: #D70035;
}

.block__title {
    font-weight: bold;
    font-size: 1.8rem;
    color: #D70035;
    text-transform: uppercase;
    margin-bottom: 32px;
}  

.block__title span:before {
    display: inline-block;
    position: relative;
    content: '';
    width: 50px;
    height: 2px;
    background: #1B1B1B;
    vertical-align: middle;
    margin-right: 24px;
}

.block__second {
    overflow: hidden;
}

.block__second .content {
    max-width: 1240px;
    box-sizing: border-box;
    margin: 40px auto 0 auto;
    box-sizing: border-box;
    padding: 0 20px;
}

.block__second .big-text {
    font-weight: bold;
    font-size: 3rem;
    line-height: 4.6rem
}

.block__second .text-white {
    margin-top: 22px;
}

.block__second .text-white span {
    font-size: 3rem;
    line-height: 4.6rem;
    color: #fff;
    background: #1B1B1B;
    font-weight: bold;
    padding: 4px 20px;
    display: inline-block;
}

.block__stellen .block__title,
.block__services .block__title,
.block__stratege .block__title,
.block__referenzen .block__title,
.block__kontakt .block__title {
    border-top: 1px solid #D9DAD9;
    max-width: 1240px;
    box-sizing: border-box;
    margin: 40px auto 0 auto;
    padding: 56px 48px;
}


/**
 *  Stellen block
 */

.block__stellen .content {
    display: flex;
    flex-wrap: wrap;
}

.block__stellen .block {
    flex: 1 1 100%;
    background: rgba(1,0,53, 0.4);
    padding: 32px 16px;
    height: 320px;
    box-sizing: border-box;
    color: #fff;
    position: relative;
}

.block__stellen .block:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    transition: background 0.3s ease-in-out;
}

.block__stellen .block:hover:after {
    background: rgba(215, 0, 53, 0.9);
}

.block__stellen  .image__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.block__stellen .block__1 .image__bg {
    background: url('../images/stellen/wir-stellen-1.jpg') no-repeat center #eee;
    background-size: cover;
}

.block__stellen .block__2 .image__bg {
    background: url('../images/stellen/wir-stellen-2.jpg') no-repeat center #eee;
    background-size: cover;
}

.block__stellen .block__3 .image__bg {
    background: url('../images/stellen/wir-stellen-3.jpg') no-repeat center #eee;
    background-size: cover;
}

.block__stellen .block__4 .image__bg {
    background: url('../images/stellen/wir-stellen-4.jpg') no-repeat center #eee;
    background-size: cover;
}

.block__stellen .block__4 a.over-block {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.block__stellen .content__top {
    position: relative; 
    z-index: 2;
}

.block__stellen .number {
    font-size: 1.2rem;
    line-height: 1.6rem;
    font-weight: bold;
    margin-bottom: 22px;
}

.block__stellen .block .title {
    font-size: 2.4rem;
    line-height: 3.2rem;
    font-weight: bold;
    overflow: hidden;
    margin-bottom: 16px;
}

.block__stellen .block .text {
    font-size: 1.4rem;
    line-height: 2.4rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.block__stellen .block:hover .text {
    opacity: 1;
}

@media(min-width: 600px) {
    .block__stellen .block {
        flex: 1 1 50%;
        background: rgba(1,0,53, 0.4);
        padding: 36px 16px;
        height: auto
    }

    .block__stellen .block .title {
        font-size: 2.4rem;
        line-height: 3.2rem;
        font-weight: bold;
        height: 64px;
        overflow: hidden;
    }
}

@media(min-width: 1000px) {
    .block__stellen .content {
        flex-wrap: nowrap;
    }

    .block__stellen .block {
        flex: 1 1 25%;
        background: rgba(1,0,53, 0.4);
    }
}

@media(min-width: 1200px) {
    .block__stellen .block {
        padding: 72px 48px;
        height: 43vw;
    }
}

/**
 * Services Block
 */

.block__services .content {
    display: flex;
    flex-wrap: wrap;
}

.block__services .container {
    flex: 0 1 100%;
    display: flex;
    flex-wrap: wrap;
}

.block__services .container__inside .title {
    font-size: 5vw;
    line-height: 4.6rem; 
    padding-bottom: 22px;
    position: relative; 
    margin-bottom: 32px;
}

.block__services .container__inside .title:after {
    height: 4px;
    width: 112px;
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    background: #D70035;
}

.block__services .container__inside {
    flex: 0 1 100%;
    padding: 16px 32px;
    background: #1B1B1B;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    z-index: 1;
}

.block__services .image_bg {
    flex: 0 1 100%;
    background: #999;
    height: 32vw;
    transition: transform 0.3s ease-in-out;
}

.block__services .container:hover .image_bg {
    transform: scale(1.2);
}

.block__services .container {
    position: relative;
    overflow: hidden;
}

.block__services .container__1 .image_bg {
    background: url('../images/services/service-1.jpg') no-repeat center #eee;
    background-size: cover;
}
.block__services .container__2 .image_bg {
    background: url('../images/services/service-2.jpg') no-repeat center #eee;
    background-size: cover;
}
.block__services .container__3 .image_bg {
    background: url('../images/services/service-3.jpg') no-repeat center #eee;
    background-size: cover;
}
.block__services .container__4 .image_bg {
    background: url('../images/services/service-4.jpg') no-repeat center #eee;
    background-size: cover;
}


@media (min-width: 600px) {
    .block__services .container__inside {
        flex: 0 1 55%;
    }
    .block__services .image_bg {
        flex: 0 1 45%;
        height: auto;
    }

    .block__services .container {
        flex-wrap: nowrap;
    }

    .block__services .container__inside .title {
        font-size: 2.2rem;
    }

    .block__services .container__2 .container__inside,
    .block__services .container__4 .container__inside {    
        order: 2;
    }
}

@media (min-width: 800px) {
    .block__services .container__inside {
        padding: 20px 80px 40px 80px;
       
    }
}

@media (min-width: 1000px) {
    .block__services .container__inside {
        height: 25vw;
    }
}

.block__partner {
    max-width: 1240px;
    box-sizing: border-box;
    margin: 40px auto 0 auto;
    padding: 20px 24px;
    border-top: 1px solid #D9DAD9;
}

.block__partner .text__big {
    font-weight: bold;
    margin-bottom: 48px;
    font-size: 3.6vw;
    line-height: 1.28571;
}

.block__partner .text__white span {
    font-size: 3rem;
    line-height: 4.6rem;
    color: #fff;
    background: #1B1B1B;
    font-weight: bold;
    padding: 4px 20px;
    display: inline-block;
}

@media (min-width: 600px) {
    .block__partner {
        padding: 56px 48px;
    }

    .block__partner .text__big {
        font-size: 2.2rem;
        line-height: 3.2rem;
    }
}

/**
 * Stratege
 */

.block__stratege .content {
    display: flex;
    flex-wrap: wrap;
    color: #fff;
    text-align: center;
}

.block__stratege .title__small {
    font-weight: bold;
    font-size: 2.6rem;
    line-height: 4.6rem;
    margin-bottom: 40px;
}

.block__stratege .text_big {
    font-size: 1.8rem;
    line-height: 3.2rem;
    max-width: 540px;
    margin: 0 auto;
}

.block__stratege .button__wrapper {
    margin: 64px 0 0 0;
}

.block__stratege button {
    font-size: 1.8rem;
    width: auto;
    border: 2px solid #fff;
    padding: 8px 24px;
    background: transparent;
    outline: none;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.block__stratege button:hover {
    color: #000;
    background-color: #fff;
}

.block__stratege .content_left {
    flex: 1 1 50%;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.block__stratege .hover-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.9);
    box-sizing: border-box;
    padding: 20px 40px;
    transform: translate(-100%, 0);
    transition: transform 0.3s ease-in-out;
}

.block__stratege .hover-text {
    font-size: 1.8rem;
}

.block__stratege .close {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 2.4rem;
    cursor: pointer;
}

.block__stratege .active .hover-text {
    transform: translate(0, 0);
} 

.block__stratege .content_right {
    flex: 1 1 50%;
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
}

.block__stratege .image__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -2;
}

.block__stratege .image__bg:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';
    display: block;
    z-index: -1;
    background: rgba(0,0,0,0.4);
}

.block__stratege .content_left .image__bg {
    background: url('../images/strategie/bormaschine.jpg') no-repeat center #eee;
    background-size: cover;
}

.block__stratege .content_right .image__bg {
    background: url('../images/strategie/kindergarten.jpg') no-repeat center #eee;
    background-size: cover;
}

@media (min-width: 900px) {
    .block__stratege .content {
        flex-wrap: nowrap;
    }
    .block__stratege .content_left,
    .block__stratege .content_right {
        height: 31%;
        padding: 48px 40px;
    }
}


/**
 * Kontakt
 */

.block__kontakt .content {
    display: flex;
    flex-wrap: wrap;
    color: #fff;
    text-align: center;
}

.block__kontakt .image__phone {
    line-height: 0;
    margin-bottom: 32px;
}

.block__kontakt .content_left {
    background: #1B1B1B;
    flex: 1 1 100%;
    padding: 24px 0;
    box-sizing: border-box;
}

.block__kontakt .content_left .text__phone {
    font-size: 3.6rem;
    line-height: 4.6rem;
    font-weight: bold;
    margin-bottom: 24px;
}

.block__kontakt .content_left .text__email {
    font-size: 1.8rem;
    line-height: 2.8rem;
}

.block__kontakt .content_left .text__address {
    font-size: 1.8rem;
    line-height: 2.8rem;
    margin-top: 48px;
}

.block__kontakt .content_right {
    background: #CCCCCC;
    flex: 1 1 100%;
    padding: 24px 40px;
    box-sizing: border-box;
}

.block__kontakt input, 
.block__kontakt textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    color: #fff;
    outline: none;
}

.block__kontakt input {
    padding: 0 0 8px;
    line-height: 40px;
    margin: 0 0 32px;
}

.block__kontakt form {
    text-align: right;
}

.block__kontakt button {
    font-size: 1.4rem;
    line-height: 2.4rem;
    padding: 20px 50px;
    color: #fff;
    background: #D70035;
    border: none;
    outline: none;
    margin-top: 32px;
}

@media(min-width: 800px) {
    .block__kontakt .content {
        flex-wrap: nowrap;
    }

    .block__kontakt .content_right {
        flex: 1 1 50%;
        padding: 48px 80px;
    }

    .block__kontakt .content_left {        
        flex: 1 1 50%;
        padding: 48px 0;
    }
}

/**
 * Refernzen
 */

.block__referenzen {
    max-width: 1240px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 56px 0;
    border-top: 1px solid #D9DAD9;
    overflow: hidden;
}

.block__referenzen ..content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.block__referenzen ..item {
    flex: 0 1 45%;
    margin: 0 8px 16px;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    align-content: center
}

@media(min-width: 440px) {
    .block__referenzen ..item {
        flex: 0 1 29%;
        margin: 0 8px 24px;
    }
}

@media(min-width: 640px) {
    .block__referenzen ..item {
        flex: 0 1 22%;
    }
}

@media(min-width: 900px) {
    .block__referenzen ..item {
        flex: 0 1 12%;
    }
}

.block__referenzen .item img {
    max-width: 100%;
    height: auto;
}

.block__referenzen .item .title {
    font-size: 1.4rem;
    line-height: 2.4rem;
    width: 100%;
    text-align: center;
    padding: 0 24px;
    margin-top: 32px;
}

footer {
    max-width: 1240px;
    box-sizing: border-box;
    padding: 56px 48px;
    border-top: 1px solid #D9DAD9;
    margin: 40px auto 0 auto;
    font-size: 1.4rem;
    line-height: 2.4rem;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.owl-carousel,
.owl-carousel2 {
    display: none
}

.owl-carousel.owl-loaded {
    display: none;
}

.owl-carousel.owl-loaded.owl-carousel2 {
    display: block
}

.block__referenzen .owl-carousel.owl-loaded {
    display: block;
}

@media(min-width: 700px) {
    .owl-carousel.owl-loaded.owl-carousel2 {
        display: none
    }   

    .owl-carousel.owl-loaded {
        display: block;
    }
}


.owl-carousel .owl-item .slider__image,
.owl-carousel2 .owl-item .slider__image {
    transition: transform 0.3s ease-in-out;
}

.owl-carousel .owl-item .title {
    position: absolute;
    bottom: 100px;
    font-size: 3.6rem;
    font-weight: bold;
    color: #fff;
    left: 100px;
    text-shadow: 0 6px 8px #000000;
    line-height: 4rem;
    width: calc(100% - 160px);  
}

.owl-carousel2 .owl-item .title {
    bottom: 40px;
    left: 40px;
    width: calc(100% - 80px);    
}

.slider__image {
    position: relative;
}

.slider__image:after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
}
.owl-carousel .owl-item.active:hover .slider__image,
.owl-carousel2 .owl-item.active:hover .slider__image {
    transform: translateX(-20px);
}

.owl-carousel .owl-item.active,
.owl-carousel2 .owl-item.active {
    z-index: 1;
}

.owl-carousel .owl-item.active + .owl-item,
.owl-carousel2 .owl-item.active + .owl-item {
    z-index: 0;
}

.owl-carousel .owl-item.active:hover + .owl-item .slider__image,
.owl-carousel2 .owl-item.active:hover + .owl-item .slider__image {
    transform: translateX(-40px);
}

.owl-carousel .owl-nav,
.owl-carousel2 .owl-nav {
    display: none
}

.owl-carousel2 .owl-dots {
    display: none;
}

.owl-carousel .owl-dots {
    position: absolute;
    bottom: 16px;
    text-align: center;
    left: 0;
    width: 100%;
    padding: 0;
    margin: 0;
}

.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 3px solid rgba(255, 255, 255, 0.7);
    position: relative;
    margin: 0 4px;
    outline: none;
}

.owl-carousel .owl-dots .owl-dot.active:after {
    display: block;
    width: 6px;
    height: 6px;
    content: '';
    background: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 50%;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

}

@media only screen and (min-width: 768px) {

}

@media only screen and (min-width: 1140px) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.cookie-notification {
    display: none;
    padding-right: 10px;
    padding-left: 10px;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    /* Set your cookie notification bar styles here */ 
    background-color: rgba(0,0,0,0.7);
    padding: 16px 20px;
    color: #fff;
    z-index: 999;
}

.cookie-notification div {
    position: relative;
    padding-right: 60px;
}

.cookie-notification a {
    color: #fff;
}

.cookie-notification .js-cookie-notification-hide {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 40px;
    background: #fff;
    color: #1B1B1B;
    text-decoration: none;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
}

footer a.link,
footer a.link:visited {
    color: #1B1B1B;
}

.owl-nav.disabled {
    display: none;
}