/* roboto-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v32-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v32-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
  
:root {
    --weiss: #fff;
    --grau: #D1D7E2;
    --dunkelgrau: #aaa;
    --schwarz: #000;
    --linkfarbe: #CE973F;
    --linkfarbetrans70: rgba(206, 151, 63, 0.7);

    --captcha: #E8CEA5;
    --captchadunkel: #976413;

    --cookiemanmain: #CE973F;

    --bg-grau: #eeeeee;

    --font: #333333;
    --powermail: #E4E8EE;

    --grautrans015: rgba(209, 215, 226, 0.15);
    --schwarztrans07: rgba(0,0,0,0.7);

    --standardtransition: all 0.3s ease;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    float: left;
    clear: both;
    font-family: 'Roboto', arial,sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.4em;
    color: var(--font);
}

* {
    outline: none;
}

a, a:hover, a:active, a:visited {
    color: var(--linkfarbe);
    text-decoration: none;
}

figure.image > a {
    display: table;
}

.audio-embed, .audio-caption {
    float: left;
    clear: both;
    width: 100%;
}

p {
    margin: 0 0 10px 0;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.ce-center .ce-outer {
    position: relative;
    float: left;
    clear: both;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

.video[data-type="external"] .video-embed {
    padding-top: 0;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.videobox,
.video-embed {
    position: relative;
}

.videoiframelink {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    overflow: hidden;
    text-indent: -9999px;
    color: transparent;
} 

.ce-gallery.videocontainer {
    width: 100%;
	float: left;
	clear: both;  
}

.ce-gallery.videocontainer .video-column {
    max-width: 100%;
    float: left;
}

.ce-gallery.videocontainer figure.video {
	display: block;
}

/* -- Headervideo -- */
.frame-type-textmedia.frame-layout-11 > .rahmen {
    width: 100% !important;
    max-width: none !important;
    float: left !important;
    clear: both !important;
    margin: 0 !important;
    display: block !important;
}

.frame-type-textmedia.frame-layout-11 .ce-gallery {
    margin: 0;
    width: 100%;
    float: left;
    clear: both;
    position: relative;
}

.frame-type-textmedia.frame-layout-11 .ce-gallery::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.frame-type-textmedia.frame-layout-11 .video-embed .video-preview {
    height: 100%;
}

.frame-type-textmedia.frame-layout-11 .video-embed .video-preview img {
    width: 100%;
    max-width: none;
    height: auto;
}

.frame-type-textmedia.frame-layout-11.loadingok .video-embed .video-preview {
    display: none;
}

.frame-type-textmedia.frame-layout-11 .video[data-type="internal"] .video-embed .video-embed-item {
    width: 100%;
}

body.lb_body {
    height: auto !important;
    max-width: 800px;
    width: 90vw;
}

#lightbox {
    width: 96%;
    margin: 10px 2%;    
}
/* -------------------------------------------------------------- */

/*~ Allgemein ~*/
::selection {
    background: var(--linkfarbe);
    color: var(--weiss);
}

#header,
#inhaltsbereich,
#footer {
    float: left;
    clear: both;
    width: 100%;
}

#inhaltsbereich > .frame {
    float: left;
    clear: both;
    width: 100%;
    margin-top: 100px;
}

#inhaltsbereich > .frame-default + .frame-rahmen {
    margin-top: 20px;
}

#inhaltsbereich > .frame-type-header + .frame {
    margin-top: 0;
}

#inhaltsbereich .rahmen {
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
}

#inhaltsbereich .rahmen .rahmen {
    margin: 0 0 0 0;
    float: left;
    clear: both;
    width: 100%;
    max-width: unset;
}

#header {
    float: left;
    clear: both;
    width: calc(100% - 280px);
    padding: 0 140px;
    margin-bottom: 30px;
}

#header::before,
#header::after {
    content: '';
    position: absolute;
    left: 50px;
    width: 80px;
    top: 0;
    bottom: 0;
    background: url(../images/headerbalken.png) top center no-repeat;
    background-size: 100% auto;
}

#header::after {
    left: auto;
    right: 50px;
    transform: scaleX(-1);
}

.ce-textpic {
    float: left;
    clear: both;
    width: 100%;
}

h1, h2, h3, h4, h5 {
    hyphens: auto;
}

h1, h2 {
    font-size: 50px;
    margin: 0 0 0 0;
    color: var(--font);
    line-height: normal;
    text-transform: uppercase;
    border-bottom: 4px solid var(--grau);
    font-weight: bold;
    margin-bottom: 20px;
}

h2 {
    font-size: 36px;
    display: inline-block;
    border-bottom: 2px solid var(--linkfarbe);
    float: left;
    padding-bottom: 5px;
    max-width: 50%;
}

h1:not(.zweizeilig) {
    border: none;
}

h1:not(.zweizeilig) span {
    border-bottom: 4px solid var(--grau);
    line-height: 1.4em;
}

h1.zweizeilig {
    padding-bottom: 10px;
    margin-bottom: 0;
}

h2.zweizeilig {
    margin-bottom: 0;
    max-width: unset;
}

h2.text-center {
    max-width: unset;
}

h1 + h2.folgt,
h3 {
    font-size: 40px;
    margin: 0 0 0 0;
    color: var(--linkfarbe);
    line-height: normal;
    text-transform: none;
    border-bottom: none;
    font-style: italic;
    font-weight: normal;
}

h3 {
    font-style: normal;
    font-size: 26px;
    text-transform: uppercase;
    margin: 0 0 20px 0;
}

h1 + h2.folgt {
    margin-top: 10px;
    margin-bottom: 20px;
    max-width: unset;
}

h2 + h3.folgt {
    display: block;
    color:var(--font);
    float: left;
    clear: both;
    font-size: 30px;
    margin-top: 5px;
    font-style: italic;
    text-transform: none;
    width: 100%;
}

.video-embed .video-preview {
    display: none;
}

.mediaconsent .preview-image {
    right: 0;
    bottom: 0;
}

.mediaconsent .preview-image img,
.video-embed .video-preview img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}

.ce-bodytext,
.cn_multicontent_teaser {
    max-width: 650px;
}

.frame-layout-3 .ce-bodytext {
    max-width: unset;
}

p {
    margin: 0 0 20px 0;
}

/*~ Oben ~*/
#oben {
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    padding: 20px 5% 0;
    background: var(--weiss);
    z-index: 99;
}

#oben::after {
    content: '';
    z-index: -1;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    aspect-ratio: 17.4/1;
    background: url(../images/nav-bottom.svg) center top no-repeat;
    background-size: 100% auto;
}

#oben > .frame {
    width: 15%;
    float: left;
    clear: none;
    position: absolute;
    left: 7%;
    top: 20px;
}

#oben > .hnavi {
    max-width: calc(81% - 50px);
    padding: 0 0 0 0;
    margin: 10px 0;
    float: right;
    clear: none;
    list-style: none;
}

#oben > .hnavi > li {
    float: left;
    clear: none;
    margin: 0 10px 0 0;
}

#oben > .hnavi > li:last-child {
    margin-right: 0;
}

#oben > .hnavi > li > a {
    display: block;
    padding: 5px 10px;
    position: relative;
    border-bottom: 5px solid transparent;
}

#oben > .hnavi > li > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 100%;
    top: 0;
    transition: 0.2s;
    width: 3px;
    background: var(--linkfarbe);
}

#oben > .hnavi > li.act > a::after,
#oben > .hnavi > li:hover > a::after {
    bottom: 0;
}

#oben > .hnavi > .ifsub {
    position: relative;
}

#oben > .hnavi > .ifsub .klappnavi {
    display: none;
    list-style: none;
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 0;
    max-width: 200px;
    background: var(--linkfarbe);
    padding: 10px;
}

#oben > .hnavi > .ifsub .klappnavi li {
    float: left;
    clear: both;
    width: 100%;
    margin: 0 0 5px 0;
}

#oben > .hnavi > .ifsub .klappnavi li:last-child {
    margin: 0 0 0 0;
}

#oben > .hnavi > .ifsub .klappnavi li a {
    display: block;
    color: var(--weiss);
    position: relative;
    padding: 2px 0 2px 14px;
}

#oben > .hnavi > .ifsub .klappnavi li a::before {
    content: '';
    position: absolute;
    top: 10px;
    left: -10px;
    width: 5px;
    height: 5px;
    border-right: 2px solid var(--weiss);
    border-top: 2px solid var(--weiss);
    bottom: 0;
    opacity: 0;
    transition: 0.1s;
    transform: rotate(45deg);
}

#oben > .hnavi > .ifsub .klappnavi li:hover a::before,
#oben > .hnavi > .ifsub .klappnavi li.act > a::before {
    left: 0;
    opacity: 1;
}

.mob_button {
    display: none;
}

/*~ Header ~*/
#header {
    margin-top: 75px;
    max-height: calc(100vh - 75px);
    overflow: hidden;
}

#header .ce-gallery {
    margin: 0 0 0 0;
}

/*~ Inhaltsbereich ~*/
.frame-header .rahmen {
    display: flex;
    justify-content: space-between;
}

#inhaltsbereich .ce-bodytext {
    hyphens: auto;
    hyphenate-limit-chars: 10 5 5;
}

#inhaltsbereich ul {
    margin: 0 0 10px 0;
    padding: 0 0 0 0;
    list-style: none;
}

#inhaltsbereich a.more,
#inhaltsbereich a.ankerlink {
    display: inline-block;
    font-weight: bold;
    color: var(--font);
    text-transform: uppercase;
    border-bottom: 2px solid var(--linkfarbe);
    transition: 0.2s;
    position: relative;
    z-index: 1;
    padding: 5px 5px 2px;
}

#inhaltsbereich a.more:hover,
#inhaltsbereich a.ankerlink:hover {
    color: var(--weiss);
}

#inhaltsbereich a.more::after,
#inhaltsbereich a.ankerlink::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--linkfarbe);
    transition: 0.2s;
    z-index: -1;
}

#inhaltsbereich a.more:hover::after,
#inhaltsbereich a.ankerlink:hover::after {
    top: 0;
}

#inhaltsbereich ul li {
    margin: 0 0 25px 0;
    padding-left: 16px;
    display: block;
    width: calc(100% - 20px);
    position: relative;
}

#inhaltsbereich ul li:last-child {
    margin-bottom: 0;
}

#inhaltsbereich ul li::before {
    content: '';
    border-right: 2px solid var(--linkfarbe);
    border-top: 2px solid var(--linkfarbe);
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    position: absolute;
    left: 0;
    top: 6px;
}

#inhaltsbereich .frame-layout-20 .ce-gallery.zw_fixed {
    background-size: cover;
    background-position: center;
}

.frame-header header,
.frame-header .ce-textpic {
    float: left;
    clear: none;
    width: calc(50% - 60px);
}

.frame-header .ce-textpic {
    margin-top: 100px;
}

.frame-media .ce-gallery {
    margin: 0 0 0 0;
    padding: 0 200px;
    width: calc(100% - 400px);
    z-index: 1;
    position: relative;
}

.frame-media .ce-gallery:before,
.frame-media .ce-gallery:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-left: 40px solid var(--linkfarbe);
    border-right: 40px solid var(--linkfarbe);
    height: 50%;
    z-index: -1;
}

.frame-media .ce-gallery:after {
    border-color: var(--grau);
    height: 75%;
    left: 50px;
    right: 50px;
}

#inhaltsbereich .frame-style-1column .frame-rahmen {
    margin-top: 40px;
}

#inhaltsbereich .frame-style-1column .col-100:nth-child(odd) .frame-rahmen .ce-textpic {
    flex-direction: row-reverse;
}

#inhaltsbereich .frame-style-1column .frame-rahmen .ce-textpic {
    display: flex;
    justify-content: space-between;
}

#inhaltsbereich .frame-style-1column .frame-rahmen .ce-bodytext,
#inhaltsbereich .frame-style-1column .frame-rahmen .ce-gallery {
    margin: 0 0 0 0;
    width: calc(50% - 20px);
}

#inhaltsbereich .frame-style-1column .frame-rahmen .ce-gallery {
    position: relative;
    height: 100%;
}

#inhaltsbereich .frame-style-1column .frame-rahmen .ce-gallery img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#inhaltsbereich .frame-style-1column .frame-rahmen .ce-bodytext {
    padding: 20px;
    border: 4px solid var(--linkfarbe);
    width: calc(50% - 68px);
    margin: 40px 0;
    position: relative;
    flex-direction: column;
    justify-content: center;
}

#inhaltsbereich .frame-style-1column .frame-rahmen.frame-layout-1 .ce-bodytext {
    margin: 0 0 0 0;
}

#inhaltsbereich .frame-style-1column .frame-rahmen.frame-layout-1 .ce-gallery img {
    top: 40px;
    height: calc(100% - 80px);
}

#inhaltsbereich .frame-style-1column .frame-rahmen .ce-bodytext > * {
    float: left;
    clear: both;
    width: 100%;
}

#inhaltsbereich .frame-style-1column .frame-rahmen .ce-bodytext h2 {
    border: none;
    margin: 0 0 30px 0;
}

#inhaltsbereich .frame-style-1column .frame-rahmen .ce-bodytext p:last-child a {
    display: inline-block;
    text-align: center;
    font-weight: bold;
    color: var(--font);
    text-transform: uppercase;
    border-bottom: 2px solid var(--linkfarbe);
    transition: 0.2s;
    z-index: 1;
    padding: 5px 5px 4px;
    margin: 0 0 0 0;
}

#inhaltsbereich .frame-style-1column .frame-rahmen .ce-bodytext p:last-child a:hover {
    color: var(--weiss);
    border-bottom: none;
}

#inhaltsbereich .frame-style-1column .frame-rahmen .ce-bodytext p:last-child a::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--linkfarbe);
    transition: 0.2s;
    z-index: -1;
}

#inhaltsbereich .frame-style-1column .frame-rahmen .ce-bodytext p:last-child a:hover::after {
    top: 0;
}

#inhaltsbereich .frame-rahmen .ce-textpic {
    float: left;
    clear: both;
    width: 100%;
}

#inhaltsbereich .frame-rahmen .ce-bodytext {
    padding: 40px;
    border: 4px solid var(--linkfarbe);
    width: calc(100% - 88px);
    margin: 10px 0;
    position: relative;
    float: left;
    clear: both;
    max-width: unset;
}

#inhaltsbereich .frame-rahmen .ce-bodytext > h3 {
    margin: 0 0 25px 0;
}

#inhaltsbereich .ce-bodytext hr {
    display: none;
}

#inhaltsbereich .ce-bodytext hr + ul {
    float: left;
    clear: none;
    margin: 0 20px 0 0;
    width: calc(50% - 10px);
}

#inhaltsbereich .ce-bodytext ul + hr + ul {
    margin: 0 0 0 0;
}

.frame-icon .ce-gallery {
    float: left;
    clear: both;
    width: 100%;
    margin: 0 0 0 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.frame-icon .ce-gallery .ce-row .ce-column,
.frame-icon .ce-gallery .ce-row .image,
.frame-icon .ce-gallery .ce-row a {
    float: left;
    clear: both;
    width: 100%;
}

.frame-icon .ce-gallery .ce-row {
    margin: 0 0 40px 0;
    width: calc(33.33% - 26px);
}

.frame-icon .ce-gallery .ce-row picture {
    text-align: center;
    float: left;
    clear: both;
    width: 100%;
}

.frame-icon .ce-gallery .ce-row picture img {
    height: 120px;
    width: auto;
    display: inline-block;
}

.frame-icon .ce-gallery .ce-row a {
    padding: 20px !important;
    width: calc(100% - 48px);
    border: 4px solid var(--linkfarbe) !important;
    font-weight: normal !important;
}

#inhaltsbereich .frame-icon .ce-gallery .ce-row a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 100%;
    transition: 0.2s;
    z-index: -1;
    background: var(--captcha);
}

#inhaltsbereich .frame-icon .ce-gallery .ce-row:nth-child(odd) a::before {
    background: var(--linkfarbe);
}

#inhaltsbereich .frame-icon .ce-gallery .ce-row a:hover::before {
    bottom: 0;
}

#inhaltsbereich .frame-icon .ce-gallery .ce-row a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    animation: bg-scrolling-reverse 9s infinite;
    background: url(../images/bganimation.png) repeat 0 0;
    background-size: 16px;
    animation-timing-function: linear;
    opacity: 0.2;
    animation-play-state: paused;
    display: none;
    animation-timing-function: linear;
}

#inhaltsbereich .frame-icon .ce-gallery .ce-row a:hover::after {
    animation-play-state: running;
    display: block;
}

#inhaltsbereich .frame-icon .ce-textpic,
#inhaltsbereich .frame-icon .ce-gallery,
#inhaltsbereich .frame-icon .ce-gallery .ce-row {
    overflow: visible;
}

#inhaltsbereich .frame-icon .ce-gallery .ce-row a:hover {
    padding: 24px !important;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    transform: scale(1.04);
    transform-origin: center;
    border: none !important;
}

#inhaltsbereich .frame-icon .ce-gallery .ce-row a:hover figcaption {
    color: var(--weiss);
}

#inhaltsbereich .frame-icon .ce-gallery .ce-row a:hover img {
    filter: brightness(0) invert(1); 
}

.frame-icon .ce-gallery .ce-row a figcaption {
    float: left;
    clear: both; 
    width: 100%;
    font-size: 26px;
    color: var(--font);
    text-transform: uppercase;
    text-align: center;
    margin-top: 20px;
    transition: 0.2s;
}

.tx_cn-multicontent.frame-icon .ce-gallery {
    display: block;
}

.tx_cn-multicontent.frame-icon .ce-gallery .ce-row {
    margin: 0 0 0 0;
    width: 100%;
}

.tx_cn-multicontent.frame-icon .ce-gallery img {
    height: 150px;
}

.tx_cn-multicontent.frame-icon .ce-center .ce-outer {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
}

.tx_cn-multicontent.frame-icon figcaption {
    margin: 20px 0 20px 0;
    font-size: 26px;
    text-transform: uppercase;
    color: var(--linkfarbe);
    text-align: center;
}

.tx_cn-multicontent.frame-icon .tx_cn-columns .row + .row {
    margin-top: 50px;
}

.tx_cn-multicontent.frame-icon .col-50 {
    width: calc(50% - 90px);
    margin: 0 100px 0 0;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.tx_cn-multicontent.frame-icon .col-50::before {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    right: 0;
    bottom: 0;
    background: var(--bg-grau);
    transition: 0.2s;
    z-index: -1;
}

.tx_cn-multicontent.frame-icon .col-50:nth-child(2)::before {
    left: 0;
    right: 100%;
}

.tx_cn-multicontent.frame-icon .col-50:nth-child(2):hover::before {
    right: 0;
}

.tx_cn-multicontent.frame-icon .col-50:hover::before {
    left: 0;
}

.tx_cn-multicontent.frame-icon .col-50:last-child {
    margin: 0 0 0 0;
}

.tx_cn-multicontent.frame-icon .col-50 > div {
    width: 100% !important;
    margin: 0 0 0 0 !important;
}

.frame-ol .ce-textpic,
.frame-ol .ce-bodytext {
    float: left;
    clear: both;
    width: 100%;
    max-width: unset;
}

.frame-ol ol {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.frame-ol li {
    padding-left: 25px;
    position: relative;
    min-height: 65px;
    align-content: end;
    display: flex;
    align-items: flex-end;
}

.frame-ol li::before,
.frame-ol li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 8px;
    height: 42px;
    background: var(--linkfarbe);
}

.frame-ol li::after {
    left: 10px;
    height: 60px;
    background: var(--grau);
}

.frame-ol li::after {
    animation: toggleSize 4s ease-in-out forwards;
    animation-iteration-count: infinite;
}

.frame-ol li::before {
    animation: toggleSize2 3s ease-in-out forwards;
    animation-iteration-count: infinite;
}

@keyframes toggleSize {
    0% {
        height: 60px;
    }
    40% {
        height: 40px;
    }
    55% {
        height: 50px;
    }
    80% {
        height: 30px;
    }
    100% {
        height: 60px;
    }
}

@keyframes toggleSize2 {
    0% {
        height: 42px;
    }
    60% {
        height: 35px;
    }
    100% {
        height: 42px;
    }
}

.frame-ol li:nth-child(2)::after,
.frame-ol li:nth-child(2)::before {
    animation-delay: 0.5s;
}

.frame-ol li:nth-child(3)::after,
.frame-ol li:nth-child(3)::before {
    animation-delay: 2s;
}

.frame-ol li:nth-child(4)::after,
.frame-ol li:nth-child(4)::before {
    animation-delay: 1s;
}

.frame-ol li:nth-child(5)::after,
.frame-ol li:nth-child(5)::before {
    animation-delay: 1.5s;
}

.frame-bg-grau {
    background: var(--bg-grau);
    padding: 100px 0;
}

.frame-bg-graudunkel {
    background: var(--font);
    padding: 100px 0;
}

.frame-bg-graudunkel,
.frame-bg-graudunkel a,
.frame-bg-graudunkel h1,
.frame-bg-graudunkel h2,
.frame-bg-graudunkel h3 {
    color: var(--weiss) !important;
}

#inhaltsbereich > .frame-bg-grau:last-child,
#inhaltsbereich > .frame-bg-graudunkel:last-child,
#inhaltsbereich > .frame-type-shortcut .tx-powermail {
    padding-bottom: 200px;
}

#inhaltsbereich .frame-layout-20 + .frame-bg-grau,
#inhaltsbereich .frame-layout-20 + .frame-bg-graudunkel,
#inhaltsbereich .frame-bg-grau + .frame-layout-20,
#inhaltsbereich .frame-bg-graudunkel + .frame-layout-20 {
    margin-top: 0 !important;
}

#inhaltsbereich .frame-bg-grau + .frame-bg-graudunkel,
#inhaltsbereich .frame-bg-graudunkel + .frame-bg-grau {
    margin-top: 4px !important;
}

.frame-branchen .ce-textpic,
.frame-branchen .ce-gallery {
    float: left;
    clear: both;
    width: 100%;
}

.frame-branchen .ce-gallery .container {
    float: left;
    clear: none;
    width: calc(50% - 10px);
}

.frame-branchen .ce-gallery .container.c1 {
    margin: 0 20px 0 0;
}

.frame-branchen .ce-gallery .ce-row {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    height: 200px;
    transition: 0.3s;
    background: var(--schwarz);
}

.frame-branchen .ce-gallery .ce-row:hover {
    height: 250px;
}

.frame-branchen .ce-gallery .ce-row figcaption {
    left: 20px;
    right: 20px;
    top: 20px;
    font-size: 26px;
    color: var(--weiss);
    text-transform: uppercase;
    position: absolute;
    z-index: 2;
}

.frame-branchen .ce-gallery .ce-row:hover figcaption {
    text-shadow: 0 0 2px rgba(0,0,0,0.8), 0 0 5px rgba(0,0,0,0.6), 0 0 10px rgba(0,0,0,0.5), 0 0 20px rgba(0,0,0,0.3);
}

.frame-branchen .ce-gallery .ce-row img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    object-fit: cover;
    object-position: center;
    height: 200px;
    transition: 0.3s;
    opacity: 0.7;
}

.frame-branchen .ce-gallery .ce-row:hover img {
    height: 250px;
    opacity: 1;
}

.frame-branchen .ce-bodytext {
    float: left;
    clear: both;
    width:  100%;
    max-width: unset;
    hyphens: auto;
    line-height: normal;
}

.frame-branchen figcaption {
    hyphens: auto;
    line-height: normal;
}

.frame-branchen .ce-bodytext .container {
    float: left;
    clear: none;
    width: calc(50% - 10px);
}

.frame-branchen .ce-bodytext .container.c1 {
    margin: 0 20px 0 0;
}

#inhaltsbereich .frame-branchen .ce-bodytext li {
    width: calc(100% - 40px);
    margin-bottom: 20px;
    height: 160px;
    transition: 0.3s;
    /* background: var(--linkfarbe); */
    font-size: 26px;
    color: var(--weiss);
    text-transform: uppercase;
    padding: 20px;
    position: relative;
}

#inhaltsbereich .frame-branchen .ce-bodytext li:hover {
    height: 210px;
}

#inhaltsbereich .frame-branchen .ce-bodytext li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border: none;
    background: var(--font);
    transform: none;
    width: auto;
    height: auto;
    transition: 0.2s;
}

#inhaltsbereich .frame-branchen .ce-bodytext li:hover::before {
    background: var(--linkfarbe);
}

#inhaltsbereich .frame-branchen .ce-bodytext li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    animation: bg-scrolling-reverse 9s infinite;
    background: url(../images/bganimation.png) repeat 0 0;
    opacity: 0.2;
    animation-play-state: paused;
    display: none;
    border: 5px solid var(--linkfarbe);
    animation-timing-function: linear;
}

#inhaltsbereich .frame-branchen .ce-bodytext li:hover::after {
    animation-play-state: running;
    display: block;
}

@keyframes bg-scrolling-reverse {
    100% {
      background-position: 50px 50px;
    }
}

@keyframes bg-scrolling {
    0% {
      background-position: 50px 50px;
    }
}

/*~ Overlay ~*/
.mapsoverlay {
    background: rgba(245,245,245,0.8);
}

.mapsoverlay > div > p {
    text-shadow: #FFF 0px 0px 10px,#FFF 0px 0px 20px,#FFF 0px 0px 20px
}

/*~ Btn ~*/
.btn:not(:disabled):not(.disabled):active, .btn:not(:disabled):not(.disabled).active, .show > .btn.dropdown-toggle {
    background-color: var(--captchadunkel);
    border-color: var(--captchadunkel);
}

/*  ++ Hover ++ */
.btn:hover {
    background-color: var(--captchadunkel);
    border-color: var(--captchadunkel);
}

/*~ Powermail ~*/
.powermail_form > h3,
.powermail_fieldset > legend,
.tx-powermail .powermail_fieldwrap > label {
    display: none;
}

.frame-type-shortcut {
    overflow: hidden;
}

.tx-powermail {
    float: left;
    clear: both;
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 30px 0 20px;
}

.tx-powermail::before {
    content: '';
    position: absolute;
    left: -1000px;
    right: -1000px;
    top: 0;
    bottom: 0;
    background: var(--grautrans015);
    z-index: -1;
}

.tx-powermail .powermail_fieldset {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    border: none;
    float: left;
    clear: none;
    width: calc(50% - 20px);
}

.tx-powermail .powermail_fieldset:last-of-type {
    margin-top: 71px;
    margin-left: 40px;
}

.tx-powermail .powermail_fieldwrap_type_select > label,
.tx-powermail .powermail_fieldwrap_type_captcha > label {
    display: block;
}

.tx-powermail .powermail_fieldwrap {
    float: left;
    clear: both;
    width: 100%;
    margin: 0 0 10px 0;
}

.tx-powermail .powermail_fieldwrap > * {
    float: left;
    clear: both;
    width: 100%;
}

#inhaltsbereich .tx-powermail .powermail_fieldwrap .powermail-errors-list {
    float: left;
    clear: both;
    width: calc(100% - 10px);
    padding: 3px 5px;
    background: var(--linkfarbe);
    list-style: none;
    margin: 0 0 0 0;
    color: var(--weiss);
}

#inhaltsbereich .tx-powermail .powermail_fieldwrap_type_check .powermail-errors-list,
#inhaltsbereich .tx-powermail .powermail_fieldwrap_type_captcha .powermail-errors-list {
    margin-top: 5px;
}

#inhaltsbereich .tx-powermail .powermail-errors-list li {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

#inhaltsbereich .tx-powermail .powermail_fieldwrap .powermail-errors-list li::before {
    content: ' ↻';
    margin-right: 5px;
    position: static;
    width: auto;
    height: auto;
    transform: none;
    border: none;
}

.tx-powermail .powermail_fieldwrap .powermail_field > select {
    float: left;
    clear: both;
    width: 70%;
    padding: 10px 10px 8px;
    border: none;
    background: var(--powermail);
    -webkit-appearance: none;
}

.tx-powermail .powermail_fieldwrap > label {
    margin: 0 0 5px 0;
}

.tx-powermail .powermail_fieldwrap:not(.powermail_fieldwrap_type_check) input,
.tx-powermail .powermail_fieldwrap textarea,
.tx-powermail .powermail_fieldwrap select {
    width: calc(100% - 20px);
    padding: 10px 10px 8px;
    background: var(--powermail);
    color: var(--font);
    font-family: 'Roboto', arial,sans-serif;
    resize: none;
    border: none;
    outline: none;
    font-size: 16px;
    line-height: normal;
    -webkit-appearance: none;
    border-radius: 0;
    float: left;
}

.tx-powermail .powermail_fieldwrap textarea {
    height: 90px;
}

.tx-powermail .powermail_fieldwrap .powermail_field > select {
    background-image: linear-gradient(45deg, transparent 50%, var(--dunkelgrau) 50%), linear-gradient(135deg, var(--dunkelgrau) 50%, transparent 50%);
    background-position: calc(100% - 16px) 14px, calc(100% - 11px) 14px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}
  
.tx-powermail .powermail_fieldwrap .powermail_field > select:focus {
    background-image: linear-gradient(45deg, var(--dunkelgrau) 50%, transparent 50%), linear-gradient(135deg, transparent 50%, var(--dunkelgrau) 50%);
    background-position: calc(100% - 11px) 14px, calc(100% - 16px) 14px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    outline: 0;
}

.tx-powermail .powermail_fieldwrap select::placeholder,
.tx-powermail .powermail_fieldwrap input::placeholder,
.tx-powermail .powermail_fieldwrap textarea::placeholder {
    color: var(--font);
    opacity: 1;
}

#inhaltsbereich .tx-powermail .powermail_fieldwrap_type_captcha input {
    float: left;
    clear: none;
    width: calc(100% - 190px);
    margin-right: 10px;
}

.tx-powermail .powermail_fieldwrap_type_captcha .powermail_captchaimage {
    float: left;
    clear: none;
    height: 37px;
}

#inhaltsbereich .tx-powermail .powermail_fieldwrap_type_submit .powermail_field {
    width: auto;
    float: right;
    position: relative;
    z-index: 1;
    margin: 20px 0 0 0;
}

#inhaltsbereich .tx-powermail .powermail_fieldwrap_type_submit input.powermail_submit {
    width: auto;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 2px solid var(--linkfarbe);
    background: none;
    cursor: pointer;
    padding: 5px 5px 2px;
    transition: 0.1s;
}

#inhaltsbereich .tx-powermail .powermail_fieldwrap_type_submit input.powermail_submit:hover {
    color: var(--weiss);
}

#inhaltsbereich .tx-powermail .powermail_fieldwrap_type_submit .powermail_field::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--linkfarbe);
    transition: 0.2s;
    z-index: -1;
}

#inhaltsbereich .tx-powermail .powermail_fieldwrap_type_submit .powermail_field:hover::after {
    top: 0;
}

.tx-powermail .powermail_fieldwrap_type_check {
    margin-top: 20px;
}

/*  ++ s ++ */
.powermail_field_error {
    scroll-margin-top: 150px;
    scroll-padding-top: 0;
}

/*~ Footer ~*/
#footer {
    margin-top: 100px;
    position: relative;
    padding-top: 7%;
    line-height: 25px;
    min-height: 100px;
}

#footer.top {
    margin-top: -5.5%;
}

#footer::before {
    content: '';
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 17.4 / 1;
    background: url(../images/nav-bottom.svg) center top no-repeat;
    background-size: 100% auto;
    z-index: 1;
    transform: scale(1, -1);
}

#footer > div > .rahmen {
    margin: 0 auto;
    width: 90%;
}

#footer .col-25 {
    float: left;
    clear: none;
    width: 200px;
    margin-left: 40px;
    margin-top: 22px;
}

#footer .col-75 {
    float: left;
    clear: none;
    width: calc(100% - 240px);
}

#footer .col-75 > div,
#footer .col-25 > div {
    float: left;
    clear: both;
    width: 100% !important;
    margin: 0 0 0 0 !important;
}

#footer .frame-type-menu_subpages ul {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    list-style: none;
}

#footer .frame-type-menu_subpages ul li {
    float: left;
    clear: both;
    width: 100%;
    text-align: right;
}

#footer .frame-type-menu_subpages ul li a {
    color: var(--font);
}

#footer .ce-bodytext ul {
    float: left;
    clear: both;
    width: 100%;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    list-style: none;
}

#footer .ce-bodytext ul li {
    float: left;
    clear: none;
    margin: 0 100px 0 0;
}

#footer .ce-bodytext ul li:last-child {
    margin: 22px 0 0 0;
}

#footer li:last-child br {
    display: none;
}

#footer a[href*="mailto"],
#footer a[href*="tel:"] {
    display: block;
    padding: 0 0 0 25px;
    background: url(../images/email.svg) left center no-repeat;
    background-size: auto 80%;
}

#footer a[href*="tel:"] {
    background: url(../images/telefon.svg) left center no-repeat;
    background-size: auto 80%;
}

/*~ IOS Only ~*/
@supports (-webkit-touch-callout: none) {
    .frame-layout-20 .ce-gallery.ce-border.zw_fixed { 
        background-attachment: scroll;
        background-size: cover;
    }
}

#header {
    position: relative;
}

#header .ce-bodytext {
    position: absolute;
    right: 170px;
    bottom: 30px;
    padding: 20px;
    max-width: 500px;
    z-index: 1;
}

#header .ce-bodytext::before,
#header .ce-bodytext::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--weiss);
    z-index: -1;
}

#header .ce-bodytext::after {
    right: auto;
    bottom: auto;
    top: -20px;
    left: -18px;
    width: 60px;
    height: 60px;
    background: url(../images/zitat.png) center center no-repeat;
    background-size: cover;
}

#header .ce-bodytext > * {
    font-size: 50px;
    line-height: normal;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
    background: var(--weiss);
}

#header .ce-bodytext > *:last-child {
    margin-bottom: 0;
}