@font-face {
  font-family: 'fontello';
  src: url('../../files/juergen-gercke/theme/fonts/fontello.eot?39851036');
  src: url('../../files/juergen-gercke/theme/fonts/fontello.eot?39851036#iefix') format('embedded-opentype'),
       url('../../files/juergen-gercke/theme/fonts/fontello.woff2?39851036') format('woff2'),
       url('../../files/juergen-gercke/theme/fonts/fontello.woff?39851036') format('woff'),
       url('../../files/juergen-gercke/theme/fonts/fontello.ttf?39851036') format('truetype'),
       url('../../files/juergen-gercke/theme/fonts/fontello.svg?39851036#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../../files/juergen-gercke/theme/fonts/fontello.svg?39851036#fontello') format('svg');
  }
}
*/
[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: never;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-mail:before { content: '\e800'; } /* '' */
.icon-ok:before { content: '\e801'; } /* '' */
.icon-cancel:before { content: '\e802'; } /* '' */
.icon-ok-circled:before { content: '\e803'; } /* '' */
.icon-ok-circled2:before { content: '\e804'; } /* '' */
.icon-cancel-circled:before { content: '\e805'; } /* '' */
.icon-cancel-circled2:before { content: '\e806'; } /* '' */
.icon-plus:before { content: '\e807'; } /* '' */
.icon-plus-circled:before { content: '\e808'; } /* '' */
.icon-minus:before { content: '\e809'; } /* '' */
.icon-minus-circled:before { content: '\e80a'; } /* '' */
.icon-up-open:before { content: '\e80b'; } /* '' */
.icon-right-open:before { content: '\e80c'; } /* '' */
.icon-left-open:before { content: '\e80d'; } /* '' */
.icon-down-open:before { content: '\e80e'; } /* '' */
.icon-right-dir:before { content: '\e80f'; } /* '' */
.icon-left-dir:before { content: '\e810'; } /* '' */
.icon-up-dir:before { content: '\e811'; } /* '' */
.icon-down-dir:before { content: '\e812'; } /* '' */
.icon-logout:before { content: '\e813'; } /* '' */
.icon-login:before { content: '\e814'; } /* '' */
.icon-down-big:before { content: '\e815'; } /* '' */
.icon-left-big:before { content: '\e816'; } /* '' */
.icon-right-big:before { content: '\e817'; } /* '' */
.icon-up-big:before { content: '\e818'; } /* '' */
.icon-info-circled:before { content: '\e819'; } /* '' */
.icon-home:before { content: '\e81a'; } /* '' */
.icon-link-ext:before { content: '\f08e'; } /* '' */
.icon-left-circled:before { content: '\f0a8'; } /* '' */
.icon-right-circled:before { content: '\f0a9'; } /* '' */
.icon-up-circled:before { content: '\f0aa'; } /* '' */
.icon-down-circled:before { content: '\f0ab'; } /* '' */
.icon-mail-alt:before { content: '\f0e0'; } /* '' */
.icon-plus-squared:before { content: '\f0fe'; } /* '' */
.icon-angle-double-left:before { content: '\f100'; } /* '' */
.icon-angle-double-right:before { content: '\f101'; } /* '' */
.icon-angle-double-up:before { content: '\f102'; } /* '' */
.icon-angle-double-down:before { content: '\f103'; } /* '' */
.icon-angle-left:before { content: '\f104'; } /* '' */
.icon-angle-right:before { content: '\f105'; } /* '' */
.icon-angle-up:before { content: '\f106'; } /* '' */
.icon-angle-down:before { content: '\f107'; } /* '' */
.icon-info:before { content: '\f129'; } /* '' */
.icon-angle-circled-left:before { content: '\f137'; } /* '' */
.icon-angle-circled-right:before { content: '\f138'; } /* '' */
.icon-angle-circled-up:before { content: '\f139'; } /* '' */
.icon-angle-circled-down:before { content: '\f13a'; } /* '' */
.icon-minus-squared:before { content: '\f146'; } /* '' */
.icon-minus-squared-alt:before { content: '\f147'; } /* '' */
.icon-ok-squared:before { content: '\f14a'; } /* '' */
.icon-link-ext-alt:before { content: '\f14c'; } /* '' */
.icon-youtube-play:before { content: '\f16a'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */
.icon-down:before { content: '\f175'; } /* '' */
.icon-up:before { content: '\f176'; } /* '' */
.icon-left:before { content: '\f177'; } /* '' */
.icon-right:before { content: '\f178'; } /* '' */
.icon-plus-squared-alt:before { content: '\f196'; } /* '' */
.icon-user-circle-o:before { content: '\f2be'; } /* '' */
.icon-facebook-squared:before { content: '\f308'; } /* '' */

* {
    margin: 0;
	padding: 0;
	border: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2CBE2C/*#2DCD2D*//*#3FC333*//*#109B04*/;
    --secondary-color: #1E204C;
    --highlight-color: #7CC867;
    --focus-color: #29A1DC;
    --text-color: /*#24282E*//*#1D204C*/#333333;
    --page-background: rgba(37,86,95,.1);
    --footer-background: #F3F6F7;
    --test-color: #0A6405;
    --element-distance: 50px 0;
}

/* nunito-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: 'Nunito';
    font-style: normal;
    font-weight: 400;
    src: url('../../files/juergen-gercke/theme/fonts/nunito-v26-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-600 - 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: 'Nunito';
    font-style: normal;
    font-weight: 600;
    src: url('../../files/juergen-gercke/theme/fonts/nunito-v26-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-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: 'Nunito';
    font-style: normal;
    font-weight: 700;
    src: url('../../files/juergen-gercke/theme/fonts/nunito-v26-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html, body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    color: var(--text-color);
    height: 100%;
}

body {
    background-color: var(--page-background);
}

#wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#wrapper > *:nth-child(2) {
    margin-top: 150px;
}

#container {
    flex: 1;
}

p {
    /*font-size: clamp(1em, 2vw, 1.25em);*/
    font-size: clamp(1em, 1vw, 1.25em);
    margin-bottom: 32px;
}

p:last-child {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 16px;
    max-width: 1100px;
}

h1:not(:first-child), h2:not(:first-child), h3:not(:first-child), h4:not(:first-child), h5:not(:first-child), h6:not(:first-child) {
    margin-top: 32px;
}
    

h1 {
    font-size: clamp(1.75em, 3vw, 3em);
}

h2 {
    font-size: clamp(1.5em, 3vw, 2.75em);
}

h3 {
    font-size: clamp(1.25em, 3vw, 2em);
}

h4 {
    font-size: clamp(1.15em, 3vw, 1.5em);
}

h5 {
    font-size: clamp(1.05em, 3vw, 1.25em);
    font-weight: 700;
}

h6 {
    font-size: 1em;
    font-weight: 700;
}

a:link,
a:visited {
    text-decoration: none;
    color: var(--secondary-color);
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}

a:hover {
    color: var(--primary-color);
}

a:focus {
    color: var(--focus-color);
}

a:active {
    color: var(--text-color);
}

main ul, main ol {
    margin: 0 0 32px 16px;
    font-size: clamp(1em, 1vw, 1.25em);
}

main .rte ul li, 
main .rte ol li {
    margin-bottom: 16px;
}

header .inside, footer .inside,
.mod_article:not(.fullwidth) .inside:not(#Heroimage .inside), 
.bg-container .inside {
    padding: 0 16px;
}

@media screen and (min-width: 992px) {
    header .inside, footer .inside,
    .mod_article:not(.fullwidth) .inside:not(#Heroimage .inside),
    .bg-container .inside {
        padding: 0 10vw;
    }
}

@media screen and (max-width: 1270px) {
    header .inside {
        padding: 0 16px;
    }
}

@media screen and (min-width: 1921px) {
    header .inside, footer .inside,
    .mod_article:not(.fullwidth) .inside:not(#Heroimage .inside),
    .bg-container .inside {
        padding: 0 15vw;
    }
}

.invisible {
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    float: left;
    z-index: -100;
}

[data-icon]::before {
    content: attr(data-icon);
    font-family: "fontello";
    font-size: 25px;
    font-style: normal;
}

a.button:link,
a.button:visited {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 5px;
    padding: 10px 20px;
    margin: 32px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}
 
a.button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

a.button.--btn-white:link,
a.button.--btn-white:visited {
    background-color: white;
    border-color: white;
    color: var(--text-color);
}

a.button.--btn-white:hover {
    border-color: var(--secondary-color);
    background-color: var(--secondary-color);
    color: white;
}

a.button:focus,
a.button.--btn-white:focus {
    border-color: var(--focus-color);
}

a.button:active,
a.button.--btn-white:active {
    background-color: var(--focus-color);
} 


/*Header*/
header {
    box-shadow: 0 0 30px rgba(206,214,216,.7);
    padding: 16px 0;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 1000;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    overflow: visible;
}

#header.shrink {
    padding: 8px 0;
    height: 85px;
}

#header.shrink #logo img{
    max-height: 60px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

header .inside {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    position: relative; 
    /*top: 50%; 
    transform: translateY(-50%);*/
    height: 100%;
}

header #logo img {
    /*min-width: 150px;
    max-width: 310px;
    width: 100%;
    height: auto;*/
    max-height: 90px;
    min-height: 50px;
    width: auto;
}

@media screen and (max-width: 460px) {
    header .inside {
        flex-wrap: nowrap;
    }
    header #logo img {
        max-width: 250px;
        width: 100%;
    }
}

@media screen and (max-width: 1500px) {
    header .inside {
        gap: 8px;
    }

    header #logo img {
        max-height: 70px;
    }
}

/*
@media screen and (min-width: 460px) {
    header #logo img {
        max-width: 310px;
        width: 100%;
    }
}*/

header .nav-toggle__box {
    display: block;
}

@media screen and (min-width: 1020px) {
    header .nav-toggle__box {
        display: none;
    }
}

header .nav-toggle {
    width: 68px;
    cursor: pointer;
}

header .nav-toggle span:not(.menu) {
    display: block;
    width: 100%;
    border-radius: 3px;
    height: 3px;
    background: var(--text-color);
    transition: all .3s;
    position: relative;
  }

  span.menu {
    position: relative;
    top: 6px;
}
  
  header .nav-toggle span + span {
    margin-top: 9px;
  }
  
  .active span:nth-child(1) {
    animation: ease .7s top forwards;
  }
  
  .not-active span:nth-child(1) {
    animation: ease .7s top-2 forwards;
  }
  
  .active span:nth-child(2) {
    animation: ease .7s scaled forwards;
  }
  
  .not-active span:nth-child(2) {
    animation: ease .7s scaled-2 forwards;
  }
  
  .active span:nth-child(3) {
    animation: ease .7s bottom forwards;
  }
  
  .not-active span:nth-child(3) {
    animation: ease .7s bottom-2 forwards;
  }
  
  @keyframes top {
    0% {
      top: 0;
      transform: rotate(0);
    }
    50% {
      top: 12px;
      transform: rotate(0);
    }
    100% {
      top: 12px;
      transform: rotate(45deg);
    }
  }
  
  @keyframes top-2 {
    0% {
      top: 12px;
      transform: rotate(45deg);
    }
    50% {
      top: 12px;
      transform: rotate(0deg);
    }
    100% {
      top: 0;
      transform: rotate(0deg);
    }
  }
  
  @keyframes bottom {
    0% {
      bottom: 0;
      transform: rotate(0);
    }
    50% {
      bottom: 12px;
      transform: rotate(0);
    }
    100% {
      bottom: 12px;
      transform: rotate(135deg);
    }
  }
  
  @keyframes bottom-2 {
    0% {
      bottom: 12px;
      transform: rotate(135deg);
    }
    50% {
      bottom: 12px;
      transform: rotate(0);
    }
    100% {
      bottom: 0;
      transform: rotate(0);
    }
  }
  
  @keyframes scaled {
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(0);
    }
  }
  
  @keyframes scaled-2 {
    0% {
      transform: scale(0);
    }
    50% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }

header .mod_navigation {
    display: none;
}

@media screen and (min-width: 1020px) {
    header .mod_navigation {
        display: block;
    }
}
@media screen and (min-width: 1020px) {
header .mod_navigation ul {
    list-style: none;
    margin-bottom: 0;
    margin-top: 0;
    padding-left: 0;
  
    display: flex;
}

header .mod_navigation ul ul {
    position: absolute;
    left: 0;
    top: 100%;
    flex-direction: column;

    transform-origin: top center;
    transform: scale(1, 0);
    transition: transform 0.2s;
}

header .mod_navigation ul li {
    padding: 8px 16px;
    position: relative;
}

@media screen and (max-width: 1290px) and (min-width: 1020px) {
    header .mod_navigation ul li {
        padding: 0 12px;
    }
}

header .mod_navigation ul li:hover ul {
    transform: scale(1, 1);
}

header .mod_navigation ul ul {
    background-color: white;
    box-shadow: 0px 0px 10px 0px rgba(175,188,190,1);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(175,188,190,1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(175,188,190,1);
    border-radius: 3px;
}

header .mod_navigation ul ul li a {
    display: block;
    text-decoration: none;
    color: #ddd;
    white-space: nowrap;
}

.mod_navigation a:link,
.mod_navigation a:visited,
.mod_customnav a:link,
.mod_customnav a:visited,
.mod_sitemap a:link,
.mod_sitemap a:visited {
    color: var(--secondary-color);
}

.mod_navigation a:hover,
.mod_customnav a:hover,
.mod_sitemap a:hover {
    color: var(--primary-color);
}

.mod_navigation a:focus,
.mod_customnav a:focus,
.mod_sitemap a:focus {
    color: var(--focus-color);
}

.mod_navigation a:active,
.mod_customnav a:active,
.mod_sitemap a:active {
    color: var(--text-color);
}
}

/*----------*/

@media screen and (max-width: 1019px) {
    .mod_navigation {
        width:100%;
        float:left;
        background-color: white;
        box-shadow: 0px 0px 10px 0px rgba(175,188,190,1);
        -webkit-box-shadow: 0px 0px 10px 0px rgba(175,188,190,1);
        -moz-box-shadow: 0px 0px 10px 0px rgba(175,188,190,1);
        border-radius: 3px;
        position: absolute;
        top: 130px;
        left: 0;
    }

    .shrink .mod_navigation {
        top: 78px;
    }
    
    .mod_navigation li {
        float:left;
        width:100%;
        position:relative;
        list-style-type: none;
    }

    .mod_navigation a,
    .mod_navigation strong {
        display:block;
        height:100%;
        width:100%;
        padding:1em;
        text-decoration:none;
        color:var(--text-color);
        background:var(--page-background);
        border-top: 1px solid rgba(0,0,0,0.5);
    }

    .mod_navigation li:first-child > * {
        border-top: 0;
    }
    
    .mod_navigation a:hover {
        background:rgba(0,0,0,0.4);
    }
    
    .mod_navigation {
        display:none;
    }
    
    .sub-menu {
        display:none;
    }
    
    .sub-menu li:last-of-type {
        padding-bottom:0;
    }
    
    .sub-menu a {
        background:white;
    }
    
    .sub-menu .sub-menu a {
        background:rgba(0,0,0,0.6);
    }
    
    /* toggles */
    
    .nav-toggle {
        background:transparent;
        display:block;
        position:relative;
        right:0;
        top:0;
        padding:1em;
        color:var(--text-color);
        cursor:pointer;
    }
    
    .toggle-sub-menu {
        display:none;
    }
    
    .toggle-sub-menu {
        position:absolute;
        right:0;
        top:1px; /* Höhe des borders */
        display:block;
        padding:1em;
        background: white;
        height: 61px;
        width: 61px;
        cursor:pointer;
    }
    
    .toggle-sub-menu.active {
        background: white}
        
    .toggle-sub-menu:hover,
    .toggle-sub-menu.active:hover  {
        background-color: var(--primary-color);
    }
    
    
}

/*----------*/

/*Heroimage*/
#Heroimage {
    text-align: center;
}

#Heroimage img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 710px;
}

#tiles {
    position: relative;
    top: -150px;
    margin-bottom: -150px;
}

/* MAIN */
@media screen and (min-width: 992px) {
    main {
        padding: 100px 0;
    }
}

main img {
    width: 100%;
    height: auto;
}


main .content-text,
main .content-slider,
main .fullwidth,
main .ce_rsce_cards,
main .ce_rsce_facts,
main .ce_rsce_teaserbox,
main .ce_rsce_test,
main .ce_rsce_text-button,
main .ce_rsce_textbox {
    margin: /*var(--element-distance)*/50px 0 100px;
}
/*
main .content-text {
    margin-left: auto;
    margin-right: auto;
}*/

.content-text .rte {
    max-width: 1100px;
    /*margin: 0 auto;*/
}

/*Teaserbox*/
/*
.ce_rsce_teaserbox {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
    position: relative;
}*/

.ce_rsce_teaserbox {
    display: flex;
    flex-wrap: wrap;
}

.ce_rsce_teaserbox .teaserbox-container {
    background-color: var(--primary-color);
    position: relative;
    border: 1px solid white;
    flex-basis: 0;
    flex-grow: 1;
}

.ce_rsce_teaserbox .teaserbox-container:nth-child(2n) {
    background-color: var(--highlight-color);
}

.ce_rsce_teaserbox .teaserbox-container .text-item {
    position: relative;
    z-index: 2;
    padding: 24px 32px 33px;
}

.ce_rsce_teaserbox .teaserbox-container .text-item > * {
    color: var(--text-color);
}

.ce_rsce_teaserbox .teaserbox-container .text-item :last-child {
    margin-bottom: 0;
}

.ce_rsce_teaserbox .teaserbox-container .bg-container {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    opacity: 0.05;
    background-size: cover;
}

/*Media Element*/
.content-text.media figure {
    margin-bottom: 32px;
}

@media screen and (min-width: 768px) {
    .content-text.media {
        display: flex;
        flex-wrap: wrap; /* Ermöglicht Umbruch der Überschrift */
        justify-content: space-between;
        align-items: flex-start;
        align-items: center;
        gap: 32px; /* Abstand zwischen den Spalten */
    }

    .content-text.media h1 {
        flex-basis: 100%; /* Überschrift nimmt die volle Breite ein */
        margin-bottom: 10px; /* Abstand zum Text */
    }

    .content-text.media.media--left .rte {
        flex: 1; /* Linke Spalte für den Text */
        order: 2; /* Text kommt zuerst */
    }

    .content-text.media.media--left figure {
        flex: 1; /* Rechte Spalte für das Bild */
        display: flex;
        justify-content: flex-end;
        order: 1; /* Bild kommt danach */
    }

    .content-text.media.media--right .rte {
        flex: 1; /* Linke Spalte für den Text */
        order: 1; /* Text kommt zuerst */
    }

    .content-text.media.media--right figure {
        flex: 1; /* Rechte Spalte für das Bild */
        display: flex;
        /*justify-content: flex-end;*/
        order: 2; /* Bild kommt danach */
    }
}

/*@media screen and (min-width: 768px) {
    .content-text.media {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 32px;
        margin-left: auto;
        margin-right: auto;
    }

    .media--right {
        grid-template-areas:
            "headline bild" 
            "text     bild";
    }

    .media--left {
        grid-template-areas:
            "bild headline " 
            "bild text";
    }

    .content-text.media h1,
    .content-text.media h2,
    .content-text.media h3,
    .content-text.media h4, 
    .content-text.media h5,
    .content-text.media h6 {
        grid-area: headline;
    }

    .content-text.media figure {
        grid-area: bild;
    }

    .content-text.media .rte {
        grid-area: text;
    }
}*/


/*Slick-Slider*/
/*
.content-slider {
    margin-right: -16px;
}

@media screen and (min-width: 992px) {
    .content-slider {
        margin-right: -10vw;
    }
}

@media screen and (min-width: 1921px) {
    .content-slider {
        margin-right: -15vw;
    }
}*/
.content-slider .inside {
    padding-right: 0 !important;
}

.swiper {
    width: 100%;
    height: 100%;
    margin-bottom: 100px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    background-color: transparent;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination {
    position:unset;
    margin-top: 16px;
}

.swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    margin: 0 8px !important;
}

.swiper-slide figure {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
@media screen and (max-width: 669px) {
    figcaption {
        width: 100%;
        padding: 8px;
        background: white;
    }
}

@media screen and (min-width: 670px) {
    figcaption {
        position: relative;
        bottom: 32px;
        padding: 16px 32px;
        background: white;
    }
}


/*Test*/
@media screen and (min-width: 768px) {
    .ce_rsce_test {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        align-items: center;
    }
}

/*Text mit Button*/
.ce_rsce_text-button {}

/*Cards*/
.ce_rsce_cards {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
    gap: 32px;
}

@media screen and (min-width: 1366px) {
    .ce_rsce_cards {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.ce_rsce_cards .card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ce_rsce_cards figure {
    box-shadow: 0px 0px 10px 0px rgba(175,188,190,1);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(175,188,190,1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(175,188,190,1);
    border-radius: 3px;
    overflow: hidden;
}

.ce_rsce_cards picture {
    display: flex;
}

.ce_rsce_cards .card-content {
    background-color: white;
    width: 80%;
    min-width: 250px;
    padding: 32px;
    position: relative;
    bottom: 64px;
    display: flex;
    flex-direction: column;
    flex: 1;
    box-shadow: 0px 0px 30px 0px rgba(175,188,190,0.15);
    -webkit-box-shadow: 0px 0px 30px 0px rgba(175,188,190,0.15);
    -moz-box-shadow: 0px 0px 30px 0px rgba(175,188,190,0.15);
    border-radius: 3px;
}

.ce_rsce_cards .card-content  a.button:last-child {
    margin-bottom: 0;
}

.ce_rsce_cards h2 {
    font-size: clamp(1.25em, 3vw, 2em);
}

.ce_rsce_cards a.button:link,
.ce_rsce_cards a.button:visited {
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
    color: var(--text-color);
    border-radius: 5px;
    padding: 10px 20px;
    margin: 32px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}
 
.ce_rsce_cards a.button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: white;
}

.ce_rsce_cards a.button:focus {
    background-color: var(--focus-color);
    color: var(--text-color);
    border-color: var(--focus-color);
}

.ce_rsce_cards a.button:active {
    background-color: var(--test-color);
    color: white;
    border-color: var(--test-color);;
}

/*background-image*/
.ce_rsce_backgroundimage .bg-container {
    padding: 100px 0;
    margin-bottom: 400px;
    background-size: cover;
    background-position: center center;
}

.ce_rsce_backgroundimage .bg-container .inside > * {
    background-color: white;
    padding: 32px;
    width: 100%;
    max-width: 900px;
    min-width: 280px;
    position: relative;
    top: 400px;
    box-shadow: 0px 0px 30px 0px rgba(175,188,190,0.15);
    -webkit-box-shadow: 0px 0px 30px 0px rgba(175,188,190,0.15);
    -moz-box-shadow: 0px 0px 30px 0px rgba(175,188,190,0.15);
    border-radius: 3px;
    margin: 0;
}

@media screen and (min-width: 768px) {
    .ce_rsce_backgroundimage .bg-container {
        margin-bottom: 200px;
    }

    .ce_rsce_backgroundimage .bg-container .inside > * {
        padding: 64px;
        top: 200px;
    }
}

/*Facts*/
.ce_rsce_facts .flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.fact-bold {
    font-size: 80px;
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 12px;
}

.hidden {visibility: hidden;}

/*Textbox*/
.ce_rsce_textbox {
    margin: 100px 0;
}

.ce_rsce_textbox .textbox-container {
    background-color: white;
    box-shadow: 0px 0px 32px 0px rgba(37,95,52,.16);
    -webkit-box-shadow: 0px 0px 32px 0px rgba(37,95,52,.16);
    -moz-box-shadow: 0px 0px 32px 0px rgba(37,95,52,.16);
    border-radius: 3px;
    overflow: hidden;
}

.ce_rsce_textbox .textbox-container:nth-of-type(2n) {
    grid-auto-flow: dense;
    direction: rtl;
}

.ce_rsce_textbox .textbox-container:nth-of-type(2n) .text-item {
    direction: ltr;
}

.ce_rsce_textbox .textbox-container .text-item {
    padding: 32px;
    min-width: 50%;
}

.ce_rsce_textbox .textbox-container .text-item .topline {
    color: #707070;
}

.ce_rsce_textbox .textbox-container figure {
    align-self: stretch;
}

.ce_rsce_textbox .textbox-container picture {
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ce_rsce_textbox .textbox-container picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (min-width: 768px) {
    .ce_rsce_textbox .textbox-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .ce_rsce_textbox .textbox-container .text-item {
        padding: 64px;
    }
}

.textbox-container figure,
.textbox-container .text-item {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.textbox-container .text-item:nth-child(2n) {
    transform: translateX(50px); /* Rechte Elemente kommen von rechts */
}

.textbox-container figure.visible,
.textbox-container .text-item.visible {
    opacity: 1;
    transform: translateX(0);
}



/*Formular*/
.ce_form {
    max-width: 900px;
}

.ce_form .widget {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.ce_form label,
.ce_form legend {
    font-weight: 700;
}

.ce_form .checkbox_container label {
    font-weight: 400;
}

.ce_form input,
.ce_form textarea,
.ce_form .widget-submit button {
    padding: 16px;
    border-radius: 3px;
    border: 1px solid var(--text-color);
    font-size: 1em;
}

.ce_form .widget-submit button {
    width: fit-content;
    background-color: var(--secondary-color);
    color: white;
    cursor: pointer;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}

.ce_form .widget-submit button:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
    border-color: transparent;
}

.ce_form .widget-submit button:focus {
    background-color: var(--focus-color);
    color: var(--text-color);
    border-color: transparent;
}

.ce_form .widget-submit button:active {
    background-color: var(--test-color);
    color: white;
    border-color: transparent;
}

/*Columns-2*/
@media screen and (min-width: 768px) {
    .col-2 {
        display: grid;
        grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
        gap: 32px;
    }
}

/*GALLERY*/
.content-gallery ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    list-style-type: none;
}

.content-gallery img {
    width: auto;
    height: 100px;
}


/* FOOTER */
footer {
    background-color: var(--footer-background);
    padding: 32px 0;
}

footer .mod_customnav ul,
footer .mod_sitemap ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
}

footer .mod_sitemap ul li {
    font-weight: 700;
}

footer .mod_sitemap ul li:not(.submenu, .level_2 li) {
    display: none;
}

footer .mod_sitemap ul ul li {
    font-weight: 400;
}

footer .mod_customnav ul ul,
footer .mod_sitemap ul ul {
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

footer .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 64px;
}

footer .footer-top .social-media i{
    font-size: 32px;
}

footer .footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 64px;
}

footer .footer-main .adressblock {
    list-style-type: none;
}

footer .footer-main .adressblock :nth-child(3) {
    margin-bottom: 16px;
}
