@media screen and (min-width: 1200px) and (max-width: 1500px)  {
    .page-container {
        padding-left: 104px;
        padding-right: 104px;
    }
}
@media screen and (max-width: 1800px) {
    .page-title {
        height: 370px;
        padding-bottom: 31px;
    }
    .page-title3 {
        height: 260px;
    }
}

@media screen and (max-width: 1400px) {
    .pic-reference__heading {
        font-size: 26px;
    }
}

@media screen and (max-width: 1200px) {
    .page-container {
        padding-bottom: 80px;
        padding-top: 80px;
    }
    .page-container-kontakt {
        padding-bottom: 120px;
        padding-top: 130px;
        position: relative;
    }
    .page-container+.page-container {
        padding-top: 60px;
    }
    .list-values {
        padding: 50px;
    }
    .btn-back {
        font-size: 22px;
        margin-bottom: -28px;
        position: relative;
        transform: none;
    }


    .nav-main__submenu {
        background: none;
        font-size: 23px;
        position: relative;
        right: auto;
        width: auto;
        display: block;
    }
    .hamburger {
        display: block
    }
    .nav-primary {
        background: #ECEED1;
        bottom: 0;
        display: none;
        max-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 138px 65px 95px;
        position: fixed;
        right: 0;
        top: 0;
        width: 375px;
    }
    .nav-main {
        display: block;
        font-size: 32px;
    }
    .nav-main>li {
        animation: nav-main-animations 0.7s forwards; /*vorher 2s*/
        margin: 0;
        opacity: 0;
        transform: translateY(70px);
    }
    .nav-main>li:nth-child(1) {
        animation-delay: .1s;
    }
    .nav-main>li:nth-child(2) {
        animation-delay: .3s;
    }
    .nav-main>li:nth-child(3) {
        animation-delay: .4s;
    }
    .nav-main>li:nth-child(4) {
        animation-delay: .5s;
    }
    .nav-main>li:nth-child(5) {
        animation-delay: .6s;
    }
    @keyframes nav-main-animations {
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .nav-main>li>a,
    .nav-main__expand {
        border-top: 3px solid #fff;
        display: block;
        height: auto;
        line-height: 55px;
        color:#000 !important;
    }

}

@media screen and (max-width: 992px) {
    h1,
    h2 {
        font-size: 30px;
    }
    h3 {
        font-size: 24px;
        line-height: 1.3;
    }
    .page-container+.page-container {
        padding-top: 50px;
    }
    .header-logo img {
        height: 72px;
        width: auto;
    }
    .nav-main>li {
        margin: 0 0 0 25px;
    }
    .intro-text {
        font-size: 20px;
        padding-bottom: 50px;
        padding-top: 50px;
    }
    .swiper-button-prev2,
    .swiper-button-next2 {
        left: 15px;
        margin-top: -12px;
    }
    .swiper-button-next2 {
        left: auto;
        right: 15px;
    }
    .swiper-button-prev2:after,
    .swiper-button-next2:after {
        height: 25px;
    }
    .pic-service__heading {
        bottom: 20px;
        font-size: 30px;
        left: 25px;
        margin: 0
    }
    .pic-service__heading {
        bottom: 20px;
        font-size: 30px;
        left: 25px;
        margin: 0
    }
    .actuals-item__info {
        background: #fff;
        padding: 15px 25px;
        position: relative;
    }
    .actuals-item__heading {
        font-size: 18px;
    }
    .pic-reference__heading {
        font-size: 25px;
    }
    .pic-reference__heading span {
        /*font-size: .7em; */
    }
    .staff-item {
        margin-bottom: 50px;
    }
    .list-values {
        padding: 35px;
    }
    .list-values dt {
        flex: 0 0 250px;
        font-size: 24px;
    }
    .list-details {
        font-size: 16px;
        margin-bottom: 50px;
        padding: 25px;
        padding-top: 10px;
    }
    .list-details dt {
        flex: 0 0 110px;
    }
    .pic-service img {
        height: auto;
    }
    .pic-reference img {
        height: auto;
    }
    .actuals-item__pic img {
        height: auto;
    }

    .nav-secondary {
        display: flex;
    }

    .nav-secondary>ul {
        display: flex;
    }
    .home-page .nav-main>li>a,
    .home-page .nav-main__expand {
        color: #000;
    }
    .page-title {
        height: 325px;
    }

    .footermenu {
        margin-right: 0;
        margin-left: auto;
    }
    .lehrbetriebe-img {
        margin-left: 0;
        margin-top: 30px;
        width: 98px;
    }
}

@media screen and (max-width: 800px) {
    .page-header {
        padding-left: 0;
    }
    .list-values dt {
        flex: 0 0 220px;
        font-size: 22px;
    }
}

@media screen and (max-width: 767px) {
    body {
        font-size: 16px;
    }
    h1,
    h2 {
        font-size: 30px;
        font-weight: bold;
    }
    h3 {
        font-size: 22px;
        line-height: 1.3;
    }
    .page-container {
        padding-bottom: 60px;
        padding-top: 45px;
    }
    .page-container+.page-container {
        padding-top: 35px;
        padding-bottom: 35px;
    }
    .heading-xl {
        margin-bottom: 1.2em;
    }
    .page-title {
        height: 250px;
        padding-bottom: 25px;
    }
    .page-title h1 {
        font-size: 28px;
    }
    .page-title2,
    .page-title3 {
        height: 200px;
        margin-top: 72px;
    }
    .page-slider2 {
        margin-top: 40px;
    }
    .page-slider2 .swiper-slide {
        height: 300px;
    }
    .intro-text {
        font-size: 18px;
        padding-bottom: 30px;
        padding-top: 40px;
    }
    .list-services {
        margin-bottom: 60px;
    }
    .pic-service {
        height: 175px;
        margin-bottom: 0px;
        overflow: hidden;
        display: flex;
        align-items:center;
    }
    .actuals-item {
        margin-bottom: 24px;
    }
    .list-references {
        margin-bottom: 0;
    }
    .pic-reference {
        margin-bottom: 15px;
    }
    .pic-reference__heading {
        left: 20px;
    }
    .contact-info-main {
        font-size: 20px;
        padding-bottom: 25px;
        padding-top: 20px;
    }


    .list-staff {
        margin-bottom: -30px;
    }
    .staff-item {
        margin-bottom: 15px;
    }
    .staff-item__pic {
        margin-bottom: 11px;
        overflow: hidden;
    }
    .staff-item h4{
        font-size: 14px;
    }
    .list-values {
        padding: 20px;
    }
    .list-values dl {
        display: block;
        padding: 20px 0;
    }
    .list-values dl:last-child {
        padding-bottom: 20px;
    }
    .list-contacts {
        padding-top: 0;
    }
    .contact-info-main {
        font-size: 20px;
    }
    .map-column {
        margin: 0;
        min-height: 500px;
    }
    .map-canvas {
        bottom: 0;
        height: 500px;
        left: -35px;
        margin-right: 0;
        position: absolute;
        right: -35px;
        top: 0;
        width: auto;
    }
    .list-references {
        margin-bottom: 0;
    }
    .pic-reference {
        margin-bottom: 15px;
    }
    .list-references--xl .pic-reference {
        margin-bottom: 25px;
    }
    .list-details {
        font-size: 15px;
        padding: 15px;
        padding-top:3px;
        margin-top: 20px;
    }
    .list-details dt {
        flex: 0 0 100px;
    }
    .btn-back {
        font-size: 18px;
        margin-bottom: 10px;
        /*margin-top: -10px;*/
        position: relative;
        transform: none;
    }
    .page-footer {
        font-size: 16px;
        padding-bottom: 20px;
        padding-top: 40px;
    }
    .nav-footer {
        font-size: 20px;
        line-height: 26px;
    }
    .footer-contacts {
        margin-bottom: 30px;
    }
    .nav-main__submenu {
        display: block !important;
    }

    .nav-secondary {
        display: block;
    }
    .nav-secondary ul {
        flex-wrap: wrap;
        margin-left: 0;
    }
    .nav-secondary li {
        padding-bottom: 10px;
    }
    .team_tit {
        padding-bottom: 0;
    }
    .page-container {
        padding-bottom: 30px;    /*vorher glaub 0*/
        padding-top: 30px;   /*neu*/
    }
    .detailseite {
        padding-bottom: 40px;
    }
    .page-container-kontakt {
        padding-bottom: 0;
    }
    .ref_projektbeschrieb {
        padding-bottom: 0px;
    }
    .unsere_werte dl dt {
        padding-bottom: 12px;
    }
    .start_deskt {
        display: none;
    }   
    .start_mobile {
        display: block;
    }


}

@media screen and (max-width: 375px) {
    .page-container,
    .page-title__container,
    .page-header,
    .page-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-header {
        padding-left: 0;
    }
    .page-title2,
    .page-title3 {
        height: 150px;
    }
    .hamburger {
        right: 20px;
        top: 23px;
    }

}