/* -- */
:root {
    --aspect-ratio: 20/6;
}
/* -- Zwischenheader normal -- */
.frame-layout-20 {
    display: block;
    width: 100%;
    float: left;
    clear: both;
    padding: 0;
}

#inhaltsbereich > .tx_cn-multicontent .tx_cn-columns .row .col-100 > div.frame-layout-20{
    padding: 0;
}

.frame-layout-20 > .rahmen {
    width: 100% !important;
    margin: 0 !important;
    float: left !important;
    clear: both !important;
    padding: 0 !important;
    display: block !important;
    max-width: none !important;
}

.frame-layout-20 > .rahmen .ce-gallery {
    padding-top: calc(100% / (var(--aspect-ratio)));
    overflow: hidden;
    margin: 0;
    display: flex;
    opacity: 0;
    height: 0;
    width: 100%;
    float: left;
    clear: both;    
    position: relative;
}

.frame-layout-20.frame-headerbild > .rahmen .ce-gallery.zw_normal{
    height: 100vh !important;
    padding: 0;
    width: 100%;
}

.frame-layout-20 > .rahmen .ce-gallery.zw_normal {
    height: 0;
    opacity: 1;  
}

.frame-layout-20 > .rahmen .ce-gallery .ce-row,
.frame-layout-20 > .rahmen .ce-gallery .ce-column,
.frame-layout-20 > .rahmen .ce-gallery .image {
    width: 100%;
    float: left;
    clear: both;
    margin: 0;
    padding: 0;
    display: block;
}

.frame-layout-20 > .rahmen .ce-gallery .ce-row {
    position: absolute;
    top: 0;
    left: 0;
}

.frame-layout-20 .ce-textpic.ce-left.ce-above .ce-gallery .ce-row {
    top: 0;
}

.frame-layout-20 .ce-textpic.ce-right.ce-above .ce-gallery .ce-row {
    top: -50%;
}

.frame-layout-20 .ce-textpic.ce-below .ce-gallery .ce-row {
    top: auto;
    bottom: 0;
}

.frame-layout-20 > .rahmen .ce-gallery .image img  {
    width: 100vw;
    display: block;
}

.frame-layout-20.frame-headerbild{
    height: 100vh;
    position: relative;
}

.frame-layout-20.frame-headerbild > .rahmen .ce-gallery .image img  {
    width: 100vw;
    height: 100vh;
    display: block;
    object-fit: cover;
}

.frame-layout-20 > .rahmen .ce-gallery .image .image-caption {
    display: none;
}

.frame-layout-20.frame-headerbild .ce-bodytext {
    position: absolute;
    bottom: 15%;
    font-size: 50px;
    font-weight: bold;
    color: var(--weiss);
    left: 5%;
    width: 90% !important;
    text-align: center
}

#inhaltsbereich .ce-bodytext i {
    font-style: normal;
    color: var(--rot);
    font-weight: 700;
}

.startarrow {
    position: absolute;
    z-index: 5;
    width: 155px;
    height: 50px;
    cursor: pointer;
    background: url('/fileadmin/cn_website/images/header_pfeil.png') left top no-repeat;
    left: 50%;
    bottom: 2%;
    margin-left: -77px;
}

/* -- Zwischenheader fixiert -- */
.frame-layout-20 .ce-gallery.ce-border.zw_fixed {
    padding-top: calc(100% / (var(--aspect-ratio)));
    overflow: hidden;
    margin: 0;
    display: flex;
    background-position: left top;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;	
    height: auto;
    opacity: 1;
}

@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) {
    .frame-layout-20 .ce-gallery.ce-border.zw_fixed{
        background-attachment: inherit !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        height: auto ;
    }
}


.frame-layout-20 .ce-gallery.zw_fixed.fxcenter {
    background-position: left center;
}

.frame-layout-20 .ce-gallery.zw_fixed.fxbottom {
    background-position: left bottom;
}

/* -- Zwischenheader animiert -- */
.frame-layout-20 .ce-gallery.farbani {
    position: relative;
    height: auto;
    opacity: 1;
}

.frame-layout-20 .ce-gallery.farbani .farboverlaybox {
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    display: block;
    z-index: 1;
    mix-blend-mode: multiply;
    background-size: 150% 150%;
    animation: farbani 20s ease infinite;
    transform: rotate3d(0, 1, 1, -10deg);
}

@keyframes farbani { 
  0%{background-position: 0% 0%; transform: rotate3d(0, 1, 1, -10deg);}
  20%{background-position: 20% 20%}
  40%{background-position: 40% 40%}
  50%{background-position: 50% 50%; transform: rotate3d(0, 1, 1, 10deg);}
  60%{background-position: 40% 40%}
  80%{background-position: 20% 20%}
  100%{background-position:0% 0%; transform: rotate3d(0, 1, 1, -10deg);}
}

/* @media (max-width: 1200px) {
    .frame-layout-20 .ce-gallery.ce-border.zw_fixed {
        background-size: 100% auto;
        background-position: inherit;
    }
} */