@media (max-width: 992px) {
    .container .container {
        padding-left: 0px;
        padding-right: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }

    #desktopNav {
        left: 0px;
        top: 140px !important;
    }

    #desktopNav .withSubNav ul {
        margin-left: 0px !important;
    }

    .heroFrontBox {
        padding: 20px;
        background-color: rgba(255, 255, 255, 0.7);
    }

    .imageWrapper .foldout {
        height: auto !important;
        padding-bottom: 1.5em !important;
        max-height: 100% !important;
    }

    html body .owl-carousel .owl-dots {
        left: 50% !important;
        transform: translateX(-50%);
        margin-top: 0px !important;
        width: 100% !important;
    }

    #hero .owl-carousel .owl-dots {
        left: 50% !important;
    }

    html body .owl-carousel .owl-dots button span {
        background: black !important;
    }

    #hero .owl-dots .owl-dot span {
        background: black !important;
    }

    .owl-carousel .owl-dots button.active span {
        background: #cb091e !important;
    }

    p,
    li {
        font-size: max(25px, 3vw) !important;
    }

    h4 {
        font-size: max(28px, 3vw) !important;
    }

    footer .col-12 {
        padding: 0px;
    }

    footer .col-12 > .container {
        margin: 0px;
        padding: 0px;
    }

    .navcat .overlay {
        padding: 0px 2.5em;
    }

    #notdienstBox .content {
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
        -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);

        width: 50vw;
    }

    #c138 .primaryBg {
        padding: 20px !important;
    }
}

@media (min-width: 547px) and (max-width: 992px) {
    #header {
        height: 140px;
    }

    #hero {
        margin-top: 140px;
    }

    #header
        .container-fluid.px-0.d-flex.align-items-start.justify-content-between.contentMaxWidth {
        flex-wrap: nowrap !important;
    }

    #header .logoBox {
        order: 2 !important;
        width: auto !important;
    }

    #header .rightBox {
        order: 3;
    }
}

@media (max-width: 546px) {
    .header .leftBox {
        flex: 0;
        padding-top: 20px !important;
    }

    .navcat .overlay {
        padding: 0px 12px;
    }

    .header .rightBox {
        flex: 1 0 60vw;
        padding-top: 20px !important;
    }

    .leftSideBar {
        top: auto;
        bottom: 20px;
    }

    .notdienstTrigger,
    .notdienstTrigger .btn {
        font-size: 13px !important;
    }

    .phoneIcon:before {
        background-size: contain;
        width: 0.7em;
    }

    .logoBox img {
        height: 60px;
    }

    #desktopNav {
        left: 0px;
        top: 176px !important;
        width: 100vw !important;
    }

    #header {
        height: 180px;
    }

    #hero {
        margin-top: 180px !important;
    }

    #header
        .container-fluid.px-0.d-flex.align-items-start.justify-content-between.contentMaxWidth {
        flex-wrap: wrap !important;
    }

    #header .logoBox {
        order: 1 !important;
        width: 100% !important;
    }

    #header .rightBox {
        order: 3;
    }

    #hero .sliderWrapper {
        height: 200px;
    }

    #hero .sliderWrapper .owl-carousel,
    #hero .sliderWrapper .owl-stage-outer,
    #hero .sliderWrapper .owl-stage,
    #hero .sliderWrapper .owl-item,
    #hero .sliderWrapper .container-fluid,
    #hero .sliderWrapper .heroBackBox {
        height: 100%;
    }

    #hero .sliderWrapper .heroBackBox {
        background-position: top !important;
    }

    #hero .sliderWrapper .heroFrontBox {
        width: 100%;
        text-align: center;
    }

    #hero .owl-dots {
        margin-top: 0px;
    }

    h2 {
        font-size: max(30px, 3vw) !important;
    }

    h3 {
        font-size: max(24px, 2.5vw) !important;
    }

    h4 {
        font-size: max(20px, 2vw) !important;
    }

    h5 {
        font-size: max(18px, 1.5vw) !important;
    }

    h6 {
        font-size: max(16px, 1.2vw) !important;
    }

    #c10 .container .container {
        margin: 0px;
        padding: 0px 12px;
        max-width: 100% !important;
    }

    .checkIcon {
        padding-right: 0px;
    }

    p,
    li {
        font-size: max(18px, 3vw) !important;
    }

    /* #header {
        transform: translateY(0px);
        } */

    /* #header.scrolled {
        transition: all 0.3s ease-in-out;
        height: 100px;
    } */

    #header > .container-fluid {
        transform: translateY(0px);
        transition: all 0.3s ease-in-out;
    }

    /* #header.scrolled > .container-fluid {
        transform: translateY(-70px);
    } */

    /* #header.scrolled + #hero {
        margin-top: 230px !important;
    } */

    .desktopNav {
        box-shadow: 0px 8px 5px -2px rgba(0, 0, 0, 0.25);
        -webkit-box-shadow: 0px 8px 5px -2px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 0px 8px 5px -2px rgba(0, 0, 0, 0.25);
    }

    .navcat .image {
        height: 440px;
        object-fit: cover;
    }

    #notdienstBox .content {
        width: 80vw;
    }

    .kontaktform .submit {
        margin-top: 30px;
    }

    .kontaktform .clearfix {
        width: 130px;
    }

    .kontaktform .clearfix .container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .kontaktbox {
        padding: 12px !important;
    }

    #karriere-139 input#karriere-139-fileupload-1 {
        width: 100% !important;
        font-size: 12px;
    }

    #c122 {
        width: 100vw;
        overflow-x: hidden;
    }

    #karriere-139 .clearfix {
        padding-left: 30px;
        width: 240px;
    }

    #karriere-139 button {
        font-size: 12px !important;
        margin-top: 30px !important;
    }

    .kontaktform button {
        font-size: 12px !important;
    }

    form#karriere-139 div.form-group:nth-child(10) {
        width: 0px !important;
    }

    #c123 .ce-bodytext {
        margin-left: 0px !important;
        padding: 110px 20px !important;
    }

    #footer .footerstructure .col-12:last-child {
        padding: 0px 20px;
    }

    .metaMenuCopyright {
        padding-left: 0px !important;
    }

    .container {
        max-width: 100% !important;
    }

    .secondFooter p {
        text-align: center;
    }

    #c43 .col-12.col-lg-8 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #c43 .img-fluid {
        width: 100%;
    }

    #main .btn {
        font-size: 13px;
    }

    /* .breadcrumbWrapper .row .col {
        display: flex;
    }

    .breadcrumbWrapper .segment {
        padding: 0px 7px !important;
    } */

    .breadcrumbWrapper {
        display: none;
    }

    #main {
        margin: 60px 0px !important;
    }

    .heroText {
        padding: 8px;
        padding: 20px;
    }

    .heroBackBox {
        display: block !important;
        height: 100%;
        padding: 0px !important;
    }

    .heroText h2 {
        font-size: 20px !important;
    }
}

#notdienstTrigger .content a {
    color: #cb091e;
    font-size: max(20px, 1.5vw);
}

p.nav-link {
    font-size: max(23px, 1.3vw);
    text-transform: uppercase;
    color: #cb091e;
}

.accordion-item .accordion-button {
    font-size: max(18px, 1vw);
}

#karriere-139-fileupload-1 {
    width: 470px;
}

form#kontakt-111 div.form-group:nth-child(8) {
    margin-bottom: 0px !important;
    /* width: 30px !important; */
    /* display: inline-block; */
    float: inline-start;
    width: 100% !important;
}

form#kontakt-111 .actions {
    float: inline-end;
}

form#kontakt-111 .checkbox {
    border: 0px !important;
}

form#kontakt-111 div.form-group:nth-child(7) {
    margin-bottom: 40px !important;
}

.secondFooter .row {
    width: 100vw;
}
