@media (max-width: 1150px) {
    #footerinhalt {
        padding-bottom: 40px;
    }

    .opnavi, .unavi {
        font-size: 21px;
    }

    #inhaltsbereich .inhalt .frame-praxen .ce-gallery .image img {
        max-width: 350px;
    }

    #inhaltsbereich .inhalt .frame-praxen .ce-gallery .image figcaption {
        font-size: 18px;
    }

    .inhaltsheader .ce-bodytext {
        bottom: 100px;
    }
}

@media (max-width: 950px) {
    #inhaltsbereich .inhalt .owl-carousel {
        width: 90%;
        padding: 0 5%;
    } 

    #inhaltsbereich .inhalt .owl-carousel .owl-prev {
        left: 0;
    }

    #inhaltsbereich .inhalt .owl-carousel .owl-next {
        right: 0;
    }

    #inhaltsbereich .bereiche:first-child .inhaltsheader {
        margin-top: 95px;
    }

    .inhaltsheader .ce-bodytext {
        bottom: 70px;
        padding: 20px 90px;
    }

    #inhaltsbereich .bereiche:first-child .inhaltsheader .owl-dots {
        bottom: 10px;
    }
}

@media (max-width: 900px) {
    #hauptnavi {
        display: none;
    }

    .mob_button {
        display: block;
    }

    #header.scrolled .mob_button {
        margin-top: 20px;
    }

    #header.scrolled + #mobnavi {
        margin-top: 75px !important;
    }

    #header .logo img {
        width: 150px !important;
    }

    #header.scrolled .logo img {
        width: 100px !important;
    }

    #footerinhalt .tx_cn-columns > div > div {
        width: 50%;
    }

    #footerinhalt .tx_cn-columns > div > div:last-child {
        width: 100%;
        border-top: 1px solid #fff;
        padding-top: 10px;
        float: left;
        clear: both;
        margin-top: 10px;
    }

    #footerinhalt .tx_cn-columns > div > div:last-child > div {
        width: 100%;
        margin: 0;
    }

    #footerinhalt .frame-type-menu_subpages ul {
        width: 100%;
        float: left;
        clear: both;
        margin: 0;
        text-align: center;
    }

    #footerinhalt .frame-type-menu_subpages ul li {
        display: inline-block;
        float: none;
        margin: 0 5px; 
        vertical-align: top;
    }

    #footerinhalt .frame-type-menu_subpages ul li a {
        background: rgba(0,0,0,0.3);
        display: block;
        padding: 5px;
    }

    #footerinhalt {
        padding-bottom: 15px;
    }

    .smartstyle img {
        width: 40px;
        height: auto;
    }

    .ui-accordion .ui-accordion-header .ui-accordion-header-icon {
        right: 3%;
    }
}

@media (max-width: 850px) {
    #inhaltsbereich .inhalt .frame-praxen .ce-gallery .ce-row {
        flex-wrap: wrap;
    }

    #inhaltsbereich .inhalt .frame-praxen .ce-gallery .ce-row > div {
        margin-top: 30px;
    }

    #inhaltsbereich .inhalt .frame-praxen .ce-gallery .ce-row > div:first-child {
        margin-top: 0;
    }
}

@media (max-width: 800px) {
    #inhaltsbereich .inhalt .frame-praxen .ce-gallery .image img {
        max-width: 300px;
    }

    #inhaltsbereich .inhalt .frame-praxen .ce-gallery .image figcaption {
        font-size: 15px;
        padding: 15px 25px 5px;
    }

    #inhaltsbereich .inhalt .frame-aerzte h3 {
        font-size: 23px;
    }

    #inhaltsbereich .inhalt .tx_cn-multicontent .row .col-20 {
        width: 33%;
        float: left;
        clear: none;
    }

    #inhaltsbereich .inhalt .tx_cn-multicontent.frame-aerzte .row .col-33 {
        width: 100%;
        padding: 0 0 0 0;
        margin-top: 30px;
    }

    #inhaltsbereich .inhalt .tx_cn-multicontent.frame-aerzte .row .col-33::after {
        content: '';
        width: 70%;
        margin: 15px 15% 0 15%;
        height: 3px;
        background: #cccccc;
        display: block;
        float: left;
        clear: both;
    }

    #inhaltsbereich .inhalt .tx_cn-multicontent.frame-aerzte .row .col-33:last-child::after {
        display: none;
    }

    #inhaltsbereich .inhalt .tx_cn-multicontent.frame-aerzte .row .col-33First-child {
        margin-top: 0;
    }

    #inhaltsbereich .inhalt .frame-praxen .ce-column {
        text-align: center;
        width: 100%;
    }

    #inhaltsbereich .inhalt .frame-praxen .ce-column .image {
        display: inline-block;
        width: auto;
    }

    #inhaltsbereich .inhalt .frame-praxen .ce-gallery .image img {
        max-width: 380px;
    }
}

@media (max-width: 650px) {
    #inhaltsbereich .inhalt .tx_cn-columns > div > div, #footerinhalt .tx_cn-columns > div > div {
        width: 100%;
        float: left;
        clear: both;
    }

    #inhaltsbereich .inhalt .tx_cn-columns > div > div > div, #footerinhalt .tx_cn-columns > div > div > div {
        width: 100%;
        margin: 0;
    }

    h3 {
        font-size: 24px;
    }

    #inhaltsbereich .inhalt .tx_cn-multicontent .row .col-20 {
        width: 50%;
    }

    .logo {
        top: 0;
    }

    #header .logo img {
        width: 90px !important;
    }

    #header.scrolled .logo img {
        width: 80px !important;
    }

    .inhaltsheader .ce-bodytext {
        padding: 15px 30px;
        bottom: 50px;
    }

    .inhaltsheader .ce-bodytext h2 {
        font-size: 20px;
    }

    #inhaltsbereich .inhalt .owl-carousel .owl-next {
        right: -10px;
    }

    #inhaltsbereich .inhalt .tx_cn-multicontent.frame-aerzte .row .col-33 {
        width: 100%;
    }
}

@media (max-width: 480px) {
    #footerinhalt {
        padding-bottom: 20px;
    }

    #footerinhalt .tx_cn-columns > div > div:last-child {
        border-top: 0;
        padding-top: 0;
    }

    #footerinhalt .frame-type-menu_subpages ul li {
        width: 100%;
        margin: 0 0 5px 0;
        display: block;
    }

    #inhaltsbereich .inhalt .tx_cn-multicontent .row .col-20 {
        width: 100%;
        float: left;
        clear: both;
    }

    #inhaltsbereich .inhalt .frame-praxen .ce-gallery .image img {
        max-width: 250px;
    }

    .inhaltsheader .ce-bodytext h2 {
        font-size: 16px;
    }

    .inhaltsheader .ce-bodytext {
        padding: 10px 15px;
        bottom: 20px;
    }

    #inhaltsbereich .bereiche:first-child .inhaltsheader .owl-dots {
        display: none;
    }
}