@media (hover: none) {
   
}

@supports (-webkit-touch-callout: none) {
    .frame-layout-20 .ce-gallery.ce-border.zw_fixed {
        background-attachment: initial;
        background-position: left -160px;
    }
}

/* @media only screen and (orientation: landscape) {
    .frame-layout-20 .ce-gallery.ce-border.zw_fixed {
        background-attachment: initial;
        background-position: left -40px;
    }
} */
@media (max-width: 1150px) {
    #oben .navi .mob_button {
        float: right;
        position: relative;
        z-index: 5;
        margin: 5px 0;
        width: 60px;
        height: 60px;
        cursor: pointer;
        display: block;
    }

    .mob_button span {
        background-color: var(--linkfarbe);
        height: 3px;
        left: 10px;
        margin-top: -1px;
        position: absolute;
        top: 50%;
        width: 40px;
        transition: all 0.3s ease 0.3s;
    }

    .mob_button span::after, .mob_button span::before {
        backface-visibility: hidden;
        background-color: var(--linkfarbe);
        content: "";
        height: 3px;
        position: absolute;
        transform: translateZ(0px);
        transition: all 0.3s ease 0.3s;
        width: 100%;
        display: block;
    }

    .mob_button span::before {
        transform: translateY(-12px);
    }

    .mob_button span::after {
        transform: translateY(12px);
    }

    .mobnavvisible.mob_button span {
        background-color: transparent;
    }
    
    .mobnavvisible.mob_button span::before {
        transform: translateY(0px) rotate(-45deg);
        background-color: var(--linkfarbe);
    }
    
    .mobnavvisible.mob_button span::after {
        transform: translateY(0px) rotate(45deg);
        background-color: var(--linkfarbe);
    }

    ul.onepagenavi {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        max-height: calc(100vh - 100px);
        background: var(--weiss);
        border-top: 7px solid var(--weiss);
        display: none;
    }

    ul.onepagenavi li::after {
        display: none;
    }

    ul.onepagenavi > li {
        float: left;
        clear: both;
        width: 100%;
        margin: 0 0 2px 0;
        padding: 0 0 0 0;
    }

    ul.onepagenavi > li > a {
        float: left;
        clear: both;
        width: calc(100% - 20px);
        margin: 0 0 0 0;
        padding: 10px 10px 10px 10px !important;
        text-align: center;
        background: var(--akzentfarbe);
        color: var(--weiss) !important;
        font-weight: bold;
    }

    .logo {
        width: 200px;
    }

    #oben {
        min-height: unset;
    }
}

@media (max-width: 1120px) {
    .frame-icons-text .rahmen .frame {
        width: calc(50% - 80px);
        padding: 20px;
        margin: 0 20px;
    }

    .frame-icons-text .rahmen .frame,
    .frame-icons-text .rahmen .frame:nth-child(n + 4) {
        margin-top: 40px;
    }

    .frame-icons-text .rahmen .frame:first-child,
    .frame-icons-text .rahmen .frame:nth-child(2) {
        margin-top: 0;
    }

}

@media (max-width: 1100px) {
    #inhaltsbereich > div > div > div > .row > div:last-child .tx_cn-columns .row .col-50 {
        width: 100%;
        clear: both;
        margin: 0 0 0 0 !important;
        padding: 0 0 0 0 !important;
    }

    #inhaltsbereich > div > div > div > .row > div:last-child .tx_cn-columns .row .col-50:last-child {
        margin-top: 50px !important;
    }

    #inhaltsbereich > div > div > div > .row > div:last-child .tx_cn-columns .row .col-50 > div {
        width: 100%;
        clear: both;
        float: left;
        margin: 0 0 0 0 !important;
        padding: 0 0 0 0 !important;
    }
}

@media (max-width: 1040px) {
    .frame-man header {
        max-width: unset;
        width: 100%;
    }

    .frame-man .ce-textpic {
        position: relative;
        overflow: visible;
        float: left;
        clear: both;
        width: 100%;
    }

    .frame-man .ce-gallery {
        right: 0;
        top: 0px;
        bottom: -50px;
    }

    .frame-man .ce-bodytext {
        width: calc(100% - 150px);
    }
}

@media (max-width: 950px) {
    .frame-space-before-11 {
        margin-top: 0 !important;
    }

    #inhaltsbereich .frame-blau-50 + .frame-layout-20 {
        margin-top: 0;
    }

    .frame-blau-50 .tx_cn-columns .row > div,
    .frame-blau-50 .tx_cn-columns .row > div:last-child {
        padding-bottom: 50px;
    }

    .frame-blau-50 .row > div::before {
        height: 100%;
    }

    .frame-man {
        padding-bottom: 0;
    }

    .frame-man .ce-gallery img {
        height: auto;
        width: 100%;
    }

    #inhaltsbereich > div > div > div > .row > div > .frame-man + .frame-calc {
        margin-top: -5px;
    }

    .frame-man .ce-gallery {
        z-index: -1;
        opacity: 0.3;
        top: 0;
        left: 70%;
        right: 0;
        bottom: 0;
    }

    .frame-man .ce-gallery .ce-row, .frame-man .ce-gallery .ce-column, .frame-man .ce-gallery .image {
        width: auto;
        height: auto;
        width: 100%;
    }

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

    .frame-man .ce-textpic {
        overflow: hidden;
        padding-bottom: 50px;
    }

    .frame-calc ul {
        justify-content: center;
        flex-wrap: wrap;
        align-items: normal;
    }

    .frame-calc ul li {
        align-content: center;
    }

    .frame-calc ul li:nth-child(1),
    .frame-calc ul li:nth-child(3) {
        width: calc(50% - 75px);
    }

    .frame-calc ul li:nth-child(5) {
        width: calc(60% - 75px);
    }

    .frame-calc ul li:nth-child(even) {
        width: 70px;
    }

    .frame-calc ul li:nth-child(4),
    .frame-calc ul li:nth-child(5) {
        margin-top: 20px;
    }
}

@media (max-width: 940px) {
    .frame-ul-check ul li {
        font-size: 20px;
        hyphens: auto;
    }
}

@media (max-width: 800px) {
    #inhaltsbereich > div > div > div > .row > div:first-child > .frame:first-child .ce-gallery {
        width: 100%;
        margin: 0 0 40px 0;
        clear: both;
    }

    #inhaltsbereich > div > div > div > .row > div:first-child > .frame:first-child .ce-bodytext {
        width: 100%;
        clear: both;
        padding-top: 20px;
        max-width: unset;
    }

    #inhaltsbereich > div > div > div > .row > div:first-child > .frame:first-child .ce-bodytext::before {
        left: -20px;
        width: 60%;
    }

    #inhaltsbereich > div > div > div > .row > div:first-child > .frame:first-child .ce-textpic {
        overflow: visible;
    }
}

@media (max-width: 750px) {
    .tx-powermail .powermail_fieldwrap_type_text.powermail_fieldwrap_marker_01 {
        margin: 30px 0 0 0;
        width: 100%;
        margin-left: 0;
    }

    .powermail_fieldwrap_type_captcha > label {
        display: none;
    }

    .col-100 .tx_cn-columns .row .col-50 {
        width: 100%;
        clear: both;
        margin: 0 0 0 0 !important;
        padding: 0 0 0 0 !important;
    }

    .col-100 .tx_cn-columns .row .col-50 > div {
        width: 100%;
        clear: both;
        float: left;
        margin: 0 0 0 0 !important;
        padding: 0 0 0 0 !important;
    }

    .frame-ul-check ul {
        margin: 40px 0 0 0;
        width: 100%;
    }

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

    h3, h4, h5 {
        font-size: 20px;
    }

    #inhaltsbereich > div > div > div > .row > div:first-child > .frame:first-child .ce-bodytext p:first-child {
        font-size: 24px;
        line-height: 1.1em;
    }

    .zweizeilig::after {
        width: 100%;
        max-width: 400px;
    }

    .frame-bg-blau.frame-type-header.frame-layout-1 {
        overflow: hidden;
    }

    .frame-bg-blau.frame-type-header.frame-layout-1 header::after {
        top: -30px;
        right: auto;
        width: 230px;
        left: 20px;
    }

    .frame-icons {
        padding-top: 10px;
    }

    .frame-icons .ce-gallery .ce-row {
        display: none;
    }

    .frame-icons .ce-gallery .ce-row:nth-last-child(n + 5) {
        display: block;
    }

    .frame-icons .ce-gallery .ce-row figcaption {
        text-transform: uppercase;
        font-weight: bold;
    }

    .frame-icons .ce-gallery {
        flex-wrap: wrap;
    }

    .frame-icons .ce-gallery .ce-row {
        width: 45%;
        margin: 50px 0 10px 0;
    }

    .frame-icons .ce-gallery .ce-row:first-child
    .frame-icons .ce-gallery .ce-row:nth-child(2) {
        margin: 0 0 0 0;
    }

    .frame-icons .ce-gallery .ce-row img {
        width: 50%;
        margin: 0 25%;
    }

    .frame-blau-50 .row > div:first-child .ce-gallery {
        margin: 30px 10% 0 10%;
    }
    
    .frame-blau-50 .tx_cn-columns[data-cols="2"] .row > div > div {
        padding: 0 5% !important;
    }

    .frame-blau-50 .tx_cn-columns[data-cols="2"] .row > div:first-child > div {
        background: var(--linkfarbe);
        padding: 0 5% 50px !important;
    }

    .frame-blau-50 .tx_cn-columns[data-cols="2"] .row > div:last-child > div {
        background: var(--grau);
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .frame-blau-50 .row > div:last-child header {
        text-align: center;
    }

    .frame-blau-50 .row > div::before {
        display: none;
    }
    
    .row.equalize > div {
        height: auto !important;
    }

    #inhaltsbereich > div > div > div > .row > div > .frame-layout-20 {
        margin-top: 2px !important;
    }

    .frame-img-50 .ce-bodytext {
        width: 100%;
        padding-top: 0;
        margin-top: 30px;
    }

    .frame-img-50 .ce-textpic .ce-gallery {
        width: 100%;
        margin: 0 0 0 0;
    }

    .frame-img-50 .ce-gallery .ce-row {
        width: 50%;
        margin: 0 25%;
    }

    .tx-powermail .powermail_fieldset .powermail_fieldwrap > label {
        width: 100%;
        margin: 0 0 5px 0;
    }

    .tx-powermail .powermail_fieldset .powermail_fieldwrap:not(.powermail_fieldwrap_type_submit) > .powermail_field {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 700px) {
    .frame-icons-text .rahmen .frame {
        width: calc(50% - 60px);
        margin: 0 10px;
    }

    .frame-icons-text .rahmen .frame,
    .frame-icons-text .rahmen .frame:nth-child(n + 4) {
        margin-top: 20px;
    }

    .frame-icons-text .rahmen .frame:nth-child(1),
    .frame-icons-text .rahmen .frame:nth-child(2) {
        margin-top: 0;
    }

    .frame-layout-20 .ce-gallery.ce-border.zw_fixed {
        background-attachment: initial;
        background-position: center;
        background-size: 1005 auto;
    }

    :root {
        --aspect-ratio: 10 / 6;
    }
}

@media (max-width: 650px) {
    #footer > .rahmen > .frame {
        width: 100%;
        clear: both;
    }

    #footer > .rahmen > .qnavi {
        width: 100%;
        float: left;
        clear: both;
        margin-top: 40px;
        padding-top: 20px;
        position: relative;
    }

    #footer > .rahmen > .qnavi::before {
        content: '';
        position: absolute;
        border-bottom: 2px solid var(--weiss);
        top: -1px;
        left: 0;
        right: 0;
    }

    #footer > .rahmen > .qnavi > li,
    #footer > .rahmen > .qnavi > li > a {
        width: 100%;
        float: left;
        clear: both;
    }

    #footer > .rahmen > .qnavi > li > a {
        background: rgba(255,255,255,0.3);
        float: left;
        padding: 15px 10px;
        width: calc(100% - 20px);
        text-align: center;
        color: var(--weiss);
        margin-bottom: 10px;
    }

    #footer ul {
        width: 100%;
    }

    #footer ul:first-child {
        margin: 10px 0 20px 0;
    }
}

@media (max-width: 630px) {
    .frame-icons-text .rahmen {
        display: block;
    }

    .frame-icons-text .rahmen .frame {
        width: calc(80% - 40px);
        margin: 0 10%;
        float: left;
        clear: both;
    }

    .frame-icons-text .rahmen .frame,
    .frame-icons-text .rahmen .frame:nth-child(n + 4),
    .frame-icons-text .rahmen .frame:nth-child(2) {
        margin-top: 40px;
    }

    .frame-man .ce-gallery {
        display: none;
    }

    .frame-calc ul {
        display: block;
    }

    .frame-calc ul li {
        align-content: normal;
        float: left;
        clear: both;
        width: calc(100% - 40px) !important;
        padding: 20px !important;
        margin: 0 0 0 0 !important;
        text-align: center;
    }
}

@media (max-width: 600px) {
    #inhaltsbereich > div > div > div > .row > div:first-child > .frame:first-child .ce-bodytext::before {
        left: -10px;
        top: 10px;
    }
}

@media (max-width: 450px) {
    .frame-bg-blau.frame-type-header.frame-layout-1 header::after {
        top: -50px;
        width: auto;
        height: calc(100% + 100px);
        left: 0;
        opacity: 0.5;
    }
}

@media (max-width: 400px) {
    .frame-icons .ce-gallery .ce-row {
        width: 100%;
        margin: 50px 0 10px 0;
    }

    .frame-icons .ce-gallery .ce-row:first-child
    .frame-icons .ce-gallery .ce-row:nth-child(2) {
        margin: 0 0 0 0;
    }

    .frame-icons .ce-gallery .ce-row img {
        width: 50%;
        margin: 0 25%;
    }

    .frame-icons-text .rahmen .frame {
        width: calc(100% - 40px);
        margin: 0 0;
    }

    .frame-icons-text .rahmen .frame,
    .frame-icons-text .rahmen .frame:nth-child(n + 4),
    .frame-icons-text .rahmen .frame:nth-child(2) {
        margin-top: 20px;
    }
}