* {
    box-sizing: border-box;
}

/*@font-face {*/
/*    font-family: "Open Sans";*/
/*    src: url("../fonts/OpenSans-Light.ttf");*/
/*    font-weight: 300;*/
/*}*/
/*@font-face {*/
/*    font-family: "Open Sans";*/
/*    src: url("../fonts/OpenSans-Regular.ttf");*/
/*    font-weight: normal;*/
/*}*/
/*@font-face {*/
/*    font-family: "Open Sans";*/
/*    src: url("../fonts/OpenSans-SemiBold.ttf");*/
/*    font-weight: 600;*/
/*}*/
/*@font-face {*/
/*    font-family: "Open Sans";*/
/*    src: url("../fonts/OpenSans-Bold.ttf");*/
/*    font-weight: bold;*/
/*}*/

@font-face {
    font-family: "Segoe UI";
    src: url("../fonts/Segoe UI.ttf");
}

html, body, input, textarea, button, .inputfile + label, #footer,select {
    font-family: "Segoe UI";
}

p, ul, li, td {
    color: #000;
}

header {
    background-color: #fff;
    box-shadow: 0 4px 2px -2px gray;
    height: 98px;
    padding: 10px 0 10px 0;
    box-sizing: border-box;
}

header img {
    height: 40px;
}

footer {
    background-color: #0d70b7;
    height: 180px;
    padding: 20px 0 20px 0;
    margin-top: 20px;
}

footer p {
    font-size: 13px;
    color: #fff;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #8dc041;
    text-decoration: none;
}

footer .footerImg {
    height: 140px;
}

section:not(#start):not(#ad) {
    padding: 100px 0 100px 0;
}

#ad {
    padding: 50px 0 50px 0;
    background: rgb(255,190,61);
    background: linear-gradient(90deg, rgb(255, 158, 61) 0%, rgba(240,101,67,1) 100%);
    color:#fff;
}

#nav {
    position: absolute;
    bottom: 0;
    right: 0;
    font-weight: 600;
}

#nav .navpoint {
    font-size:18px;
    color: #0d70b7;
    transition: 0.3s ease all;
}

#telEyeCatcher {
    width: 250px;
    height: 50px;
    position: fixed;
    right: -200px;
    top: 20%;
    transition: 0.3s;
    background-color: #0d70b7;
    z-index: 1;
    cursor: pointer;
}

#mailEyeCatcher {
    width: 250px;
    height: 50px;
    position: fixed;
    right: -200px;
    top: 26%;
    transition: 0.3s;
    background-color: #0d70b7;
    z-index: 1;
    cursor: pointer;
}

#telEyeCatcher i, #mailEyeCatcher i {
    color: #fff;
    font-size: 26px;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

#telEyeCatcher #telEyeCatcherTelephone, #mailEyeCatcher #mailEyeCatcherMail {
    color: #fff;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

#telEyeCatcher #telEyeCatcherTelephone a, #mailEyeCatcher #mailEyeCatcherMail a {
    color: #fff;
    text-decoration: none;
}

#submit {
    display: block!important;
}

#checkBox {
    display: inline-block!important;
    width: unset!important;
    margin-bottom: 0!important;
}

#nav .active {
    color: #8dc041!important;
}

#nav .navpoint:hover {
    color: #8dc041;
    text-decoration: none;
}

#nav .navpoint:not(:last-of-type) {
    margin-right: 30px;
}

.wrapper {
    max-width: 1500px;
    margin: auto;
    position: relative;
}

.wrapperSmall {
    max-width: 1140px;
    margin: auto;
    position: relative;
}

#logo {
    height: auto;
}

.center {
    text-align: center;
}

#start {
    height: calc(100vh - 88px );
    background-image: url("../img/header.jpg");
    background-size: cover;
    background-position: center;
    box-shadow: 0px 1px 11px 0px gray;
    position: relative;
}

#transparentBox {
    background-color: rgba(255,255,255,0.8);
    padding: 25px;
    width: 600px;
    position: absolute;
    top:50%;
    transform: translateY(-50%) translateX(-50%);
    left: 50%;
}

#start h1 {
    color: #0d70b7;
}

#start h2 {
    font-size: 20px;
    margin-top: 15px;
    line-height: 28px;
}

#start span {
    font-size: 20px;
    color: #8dc041;
}

#start #transparentBox {
    /*background-color: rgba(255,255,255,0.4);*/
    /*padding: 25px;*/
}

.imageContainer {
    min-height: 160px;
}


.subHeadline {
    color: #8dc041;
    margin-bottom: 80px;
    position: relative;
}

.subHeadline::after {
    content: "";
    display: block;
    width: 150px;
    height: 2px;
    background-color: #0d70b7;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
}

#leistung .subHeadline::after {
    width: 500px;
}

.button {
    background-color: #0d70b7;
    color: #fff;
    border-radius: 2px;
    padding: 10px 20px;
    transition: 0.3s ease all;
    display: inline-block;
    width: auto;
}

.button:hover {
    background-color: #0d498e;
}

.subSiteHeader {
    height: calc(50vh - 88px);
}

#leistungHeader {
    background-image:url("../img/leistung.jpg");
    background-size: cover;
    background-position: bottom;
    min-height: 395px;
}

.h1SubBackground {
    background-color: #0d70b7;
    border-width: 1px 1px 1px 1px;
    border-top-left-radius: 50px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 0px;
    min-height: 90px;
    width: 450px;
    color: #fff;
    position: relative;
}

.h1SubBackground h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translateX(-50%) translateY(-50%);
}

.leistungHeadline {
    font-size: 25px;
    margin-bottom: 50px;
    display: block;
    font-weight: bold;
    color: #0d70b7;
}

.ueberMichHeadline {
    font-size: 25px;
    margin-bottom: 20px;
    display: block;
    font-weight: bold;
    color: #0d70b7;
}

#marcStamp {
    position: absolute;
    width: 100px;
    top: 0;
    right: 0;
}

.profileImage {
    width: 350px;
    display: block;
    margin: auto auto;
}

#leistungUebersicht {
    background-color: #f1f1f1;
}

.blueBox {
    background-color:#0d70b7;
    padding: 20px 10px;
    width: 50%;
    display: block;
    margin: auto auto;
}

.blueBox li {
    color:#fff;
}

#auftragserteilung {
    background-color: #f1f1f1;
}

.hypeZert {
    position: relative;
}

.hypeZert #firstCertificate {
    height: 400px;
    position: absolute;
    right: 400px;
    top: -50px;
}

.hypeZert #secondCertificate {
    height: 400px;
    position: absolute;
    right: 100px;
    top: -50px;
}

.formSubHeadline {
    color: #0d498e;
    margin-bottom: 15px;
}

#kontaktform input:not([type="submit"]), #kontaktform textarea, #kontaktform select {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #000;
    background-color: transparent;
}

#submit {
    border: none;
    background-color:#0d70b7;
    color: #fff;
    padding: 5px 10px;
}

#auftragserteilung .imageContainer img {
    max-width: 100px;
}

#leistungUebersicht .col-md-4 {
    position: relative;
}

#leistungUebersicht .leistungImage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    max-width: 300px;
}

#taetigkeit .col-md-4 a {
    color:#0d70b7;
    text-decoration: none;
}

/* BURGER NAV */

.burgerContainer {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #0d70b7;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

#hypeCertMobile {
    display: none;
}

#taetigkeit .imageContainer img {
    max-width: 140px;
}

#form {
    background-color: #fff;
    padding-top: 50px!important;
}

footer .col-md-12 {
    position: relative;
}

footer .col-md-12 img {
    width: 100%;
    height: auto;
}

/* BURGER NAV END*/

/* Tablet Size */
@media only screen and (max-width: 982px) {

    #hypeCertMobile {
        display: inline-block;
    }

    #hypeCertMobile img {
        height: 400px;
        margin-top: 50px;
        border: 1px solid #b1b1b1;
    }

    #hypeCertMobile img:first-of-type {
        margin-right: 20px;
    }

    .hypeZert {
        display: none;
    }

    #taetigkeit .col-md-4 {
        margin-bottom: 30px;
    }

    footer .col-md-12 img {
        max-width: 180px;
        margin-bottom: 30px;
    }

    footer {
        height: unset;
    }

    header{
        position: relative;
    }

    #nav {
        display: none;
    }

    .burgerContainer {
        display: inline-block!important;
    }

    #nav {
        position: static;
        margin-top: 9px;
        text-align: center;
        background-color: #f1f1f1;
    }

    .navCol {
        padding: 0;
    }

    #navWrapper {
        padding: 0;
        z-index: 2;
    }

    #navWrapper .row {
        margin-right: 0!important;
    }

    .navpoint {
        display: block;
        margin-right: 0!important;
        margin-bottom: 10px;
    }

    .wrapper, .wrapperSmall {
        padding: 0 20px 0 20px;
    }

}

@media only screen and (max-width: 767px) {

    #ad h4 {
        font-size: 21px;
        line-height: 28px;
    }

    #leistungUebersicht .leistungImage {
        position: inherit;
        transform: unset;
        left: 0;
        top: 0;
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 200px;
    }

    #leistungUebersicht .row:nth-child(2n + 1) {
        flex-direction: column-reverse;
    }

    .cc_css_reboot {
        max-width: 100% !important;
        opacity: 0.9!important;
    }

    #kontakt {
        margin-top: 30px;
    }

    footer .col-md-3 img {
        position: inherit;
        padding-left: 0px;
        padding-right: 300px;
        top: unset;
        transform: unset;
        width: 100%;
        height: auto;
    }

    #leistungHeader {
        min-height: 282px;
    }

    .footerImg {
        margin-bottom: 15px;
    }

    .blueBox {
        position: relative;
        transform: none;
        left: unset;
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    h1 {
        font-size: 2rem;
    }

}

@media only screen and (max-width: 600px) {

    .hypeZert {
        display: none;
    }

    section {
        padding: 50px 0 50px 0!important;
    }

    #leistung .subHeadline::after {
        width: 50%;
    }

    #transparentBox {
        width: 400px;
    }

    #leistungUebersicht img {
        margin-top: 30px;
    }
}

@media only screen and (max-width: 480px) {
    .h1SubBackground {
        width: 360px;
    }

    .h1SubBackground h1 {
        transform: translateX(-55%) translateY(-50%);
    }
}

@media only screen and (max-width: 380px) {
    .h1SubBackground {
        width: 330px;
    }
}
