@media (max-width: 1600px){
    .frame-rund.frame-layout-1 .ce-bodytext {
        margin-left: 50%;
    }

/*     .frame-rund .ce-gallery .image-embed-item {
        height: auto;
        width: 80%;
    } */
}

@media (max-width: 1565px){
    .frame-icon.frame-layout-2 a{
        width: calc(25% - 4px);
    }    
}

@media( max-width: 1450px){
    #logo{
        margin-left: 100px;
    }

    .hnavi{
        margin-right: 60px
    }

/*     .frame-rund .ce-gallery .image-embed-item {
        height: auto;
        width: 75%;
    }
 */
    .frame-rund.frame-layout-1 .ce-bodytext {
        margin-left: 35%;
    }
}

@media( max-width: 1290px){
    #logo{
        margin-left: 50px;
    }

    .hnavi{
        margin-right: 0px
    }

    .tx_cn-multicontent.frame-rund.frame-layout-1 .col-33,
    .frame-rund.frame-type-shortcut .frame-anwalt{
        width: 50% !important;
    }
}

@media (max-width: 1379px){
    .news-list-container .article {
        padding: 40px 30px !important;
    }
}

@media (max-width: 1360px){
    #header.sub .ce-bodytext h2{
        font-size: 50px;
    }

    #header.sub .ce-bodytext{
        background-size: 80px !important;
    }

    #footer .tx_cn-multicontent:first-child .col-33{
        width: 50%;
        
    }

    #footer .tx_cn-multicontent:first-child .col-33:last-child{
        width: 100%; 
        text-align: center;
    }
}

@media (max-width: 1310px){
    .frame-icon.frame-layout-2 a{
        width: calc(33.3% - 4px);
        height: 220px;
    }   

    .frame-icon.frame-layout-2 img {
        width: 60%;
        margin-left: 20%;
    }

    .frame-rund .ce-bodytext {
        margin-top: -100px;
    }
}

@media (max-width: 1280px){
    #footer .tx_cn-multicontent:nth-child(2) .col-25{
        width: calc(50% - 44px);
    }
}

@media (max-width: 1256px){
    .frame-icon.frame-type-menu_categorized_pages.frame-layout-0 a{
        width: calc(20% - 4px);
    }

    .frame-icon.frame-type-menu_categorized_pages.frame-layout-0 img{
        width: 80%;
        margin: 0 10%;
    }
}

@media (max-width: 1230px){
    #header.sub .ce-bodytext h2{
        font-size: 40px;
    }

    #header.sub .ce-bodytext{
        background-size: 65px !important;
        padding-left: 80px;
    }

    .tx_cn-multicontent.frame-anwalt .col-33{
        width: 50%;
    }

    .frame-anwalt.frame-type-shortcut.frame-layout-0{
        width: 50%;
        float: right;
        margin-top: -40px !important;
    }
}

@media (max-width: 1180px) {
    .mob_button {
        display: block;
    }

    #oben{
        position: fixed;
        background: #fff;
        height: 75px;
        box-shadow: 0px 0px 10px -5px #000;
    }

    #oben #logo,
    #oben #logo .image-embed-item {
        height: 75px;
        width: auto;
    }

    #oben.scroll > .hnavi li{
        padding: 15px 45px;  
    }

    #oben.scroll .unavi li {
        padding: 0.5em 20px;
    }

    .hnavi {
        display: none;
        overflow-y: scroll;
        position: relative;
        height: calc(100vh - 75px);
        width: 100%;
        box-shadow: 0px 0px 10px #949494;
        overflow-y: scroll;
    }

    .hnavi > li{
        float: none;
        padding: 15px 45px;
        background: rgba(36, 51, 71, 0.90);
        margin-right: 0;
        position: relative;
        border-bottom: 1px solid #fff;
    }

    .hnavi > li > a{
        padding-right: calc(100% - 120px);
        color: #fff;
    } 

    .unavi{
        position: relative;
        right: 0;
        top: 0;
        width: auto;
        padding: 0;
        margin: 22px 0 0 0;
        display: block;
    }

    #header{
        margin-top: 75px;
    }

    #header .frame-bildslider {
        margin-top: 0;
    }

    #header .ce-bodytext {
        padding: 20px 0 40px;
    }

    .frame-rund .ce-bodytext {
        margin-top: -70px;
        float: left;
        margin-right: 0;
/*         width: 75%; */
    }

    #footer .tx_cn-multicontent:first-child{
        padding-bottom: 0;
    }
}

@media (max-width: 1030px){
    .tx_cn-columns .row .col-20{
        width: 33.3%;
        height: auto;
        float: left;
        min-height: 240px;

    }

    #inhaltsbereich .col-20 .frame-layout-0{
        margin: 0;
    }
}

@media (max-width: 1000px){
    .frame-icon.frame-layout-2 a{
        font-size: 16px;
    }

    .frame-icon.frame-layout-2 img {
        width: 80%;
        margin-left: 10%;
    }

    .frame-icon.frame-type-menu_categorized_pages.frame-layout-0 a{
        width: calc(25% - 4px);
    }
}

@media (max-width: 920px){
    #header{
        margin-bottom: 40px;
    }

    #inhaltsbereich h3{
        font-size: 18px;
    }

    #inhaltsbereich h1,
    #inhaltsbereich h2 {
        font-size: 24px;
    }

    #inhaltsbereich .frame-layout-0 {
        margin: 15px 0;
    }

    .frame-spaltig .ce-bodytext{
        column-count: 1;
    }

    .frame-kontakt {
        margin-top: 175px;
    }

    .tx_cn-multicontent.frame-rund.frame-layout-1 .col-33,
    .frame-rund.frame-type-shortcut .frame-anwalt{
        width: 100% !important;
    }

    #footer .tx_cn-multicontent:first-child .col-33{
        width: 100%;
        text-align: left;
        margin-bottom: 10px;
        text-align: center;
    }
}

@media (max-width: 850px){
    .frame-rund.frame-layout-1 {
        margin-top: 140px;
    }
    
    #header .ce-bodytext {
        padding: 0;
    }

    #header::after,
    #header .owl-dots{
        display: none;
    }

    #header.sub::after{
        display: none;
    }

    #header.sub .ce-bodytext{
        bottom: 100px;
        padding-left: 70px;
        background-size: 60px !important;
    }

    #header.sub .ce-bodytext h2 {
        font-size: 40px;
    }

    .tx_cn-multicontent.frame-anwalt .col-33,
    .frame-anwalt.frame-type-shortcut.frame-layout-0{
        width: 100%;
        height: auto !important;
        margin: 0 0 40px 0 !important;
        min-height: unset !important;
        text-align: center;
    }

    .frame-anwalt.frame-type-shortcut.frame-layout-0 .frame-type-menu_categorized_pages ul{
        padding: 0;
    }

    .frame-icon.frame-type-menu_categorized_pages.frame-layout-0 a{
        width: calc(33.3% - 4px);
    }

    .frame-formular .powermail_fieldset{
        width: 100%;
        margin: 0;
    }

    .frame-box .frame-default{
        width: 50%;
        margin-bottom: 15px;
    }
}

@media (max-width: 800px){

    #inhaltsbereich > .frame > .rahmen, #inhaltsbereich > .tx_cn-multicontent > header, #inhaltsbereich > .tx_cn-multicontent > .tx_cn-columns {
        width: 90%;
    }

    .tx_cn-columns .row .col-50{
        width: 100%;
        margin: 0;
    }

    .frame-icon.frame-layout-2 a{
        width: calc(50% - 4px);
    }  

    #footer{
        margin-top: 0;
    }
}

@media (max-width: 799px){
    .news-list-container .article {
        padding: 5px 30px !important;
    }
}

@media (max-width: 750px){
    #header h2 {
        font-size: 20px;
    }

    #inhaltsbereich h1,
    #inhaltsbereich h2,
    #inhaltsbereich.sub h1,
    #inhaltsbereich.sub h2  {
        font-size: 20px;
    }

    #header{
        font-size: 15px;
    }
}

@media (max-width: 650px){
    #header.sub .ce-bodytext h2 {
        font-size: 35px;
    }

    #header.sub .ce-bodytext {
        bottom: 40px;
    }

    #footer .tx_cn-multicontent:nth-child(2) .col-25{
        width: calc(100% - 44px);
        height: auto !important;
    }

    .news .news-latest-container .article .news-img-wrap{
        display: none;
    }

    .news .news-latest-container .article .news-content{
        width: 95%;
    }

    .frame-icon.frame-type-menu_categorized_pages.frame-layout-0 a{
        width: calc(50% - 4px);
    }

    .frame-icon.frame-type-menu_categorized_pages.frame-layout-0 img{
        width: 74%;
        margin: 0 13%;
    }
}

@media (max-width: 570px){
    #inhaltsbereich h3{
        font-size: 16px;
    }

    .tx_cn-columns .row .col-20{
        width: 50%;
        min-height: unset;
    }

    #inhaltsbereich .frame-icon.frame-layout-2 {
        padding-top: 130px;
        padding-bottom: 160px;
    }
}

@media (max-width: 550px){
    .unavi{
        column-count: 1;
    }
}

@media (max-width: 500px){
    #header{
        overflow: visible;
        margin-bottom: 125px;
    }

    #header.sub .ce-bodytext h2 {
        font-size: 30px;
    }

    #header.sub .ce-bodytext {
        bottom: 30px;
        padding-left: 60px;
        background-size: 50px !important;
    }

    #header .ce-bodytext {
        bottom: -123px;
        background: #243347;
    }

    .frame-icon .rechtsgebiet{
        font-size: 12px;
    }

    .frame-icon.frame-layout-2 a{
        height: 130px;
        padding-bottom: 10px;
    }

    .frame-box .frame-default{
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 480px){
    .frame-icon.frame-type-menu_categorized_pages.frame-layout-0 a{
        height: 140px;
    }
}

@media (max-width: 430px){
    #header.sub .ce-bodytext h2 {
        font-size: 25px;
    }

    #header.sub .ce-bodytext {
        bottom: 20px;
    }

    .frame-rund.frame-layout-1 .ce-bodytext{
        margin-left: 0;
    }

    #inhaltsbereich .frame-icon.frame-layout-2 {
        padding-top: 190px;
        padding-bottom: 170px;
    }

    .frame-icon .rechtsgebiet{
        font-size: 11px;
    }
}

@media (max-width: 370px){
    #header.sub .ce-bodytext h2 {
        font-size: 20px;
    }

    #header.sub .ce-bodytext {
        background-size: 44px !important;
    }

    .frame-icon.frame-type-menu_categorized_pages.frame-layout-0 a{
        height: 115px;
    }

    .frame-rund .ce-bodytext {
        width: 100%;
    }

    .tx_cn-columns .row .col-20{
        width: 100%;
    }

    .frame-icon .rechtsgebiet{
        font-size: 10px;
        padding: 0 2%;
    }
}

@media (max-width: 600px) {
    .law-button {
        width: 100%;
    }
}


