@font-face {
  font-family: 'fontello';
  src: url('../../files/praxis-spickmann/theme/fonts/fontello.eot?44053204');
  src: url('../../files/praxis-spickmann/theme/fonts/fontello.eot?44053204#iefix') format('embedded-opentype'),
       url('../../files/praxis-spickmann/theme/fonts/fontello.woff2?44053204') format('woff2'),
       url('../../files/praxis-spickmann/theme/fonts/fontello.woff?44053204') format('woff'),
       url('../../files/praxis-spickmann/theme/fonts/fontello.ttf?44053204') format('truetype'),
       url('../../files/praxis-spickmann/theme/fonts/fontello.svg?44053204#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* 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/praxis-spickmann/theme/fonts/fontello.svg?44053204#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-doc:before { content: '\e81b'; } /* '' */
.icon-clock:before { content: '\e81c'; } /* '' */
.icon-phone:before { content: '\e81d'; } /* '' */
.icon-down-circle:before { content: '\e81e'; } /* '' */
.icon-left-circle:before { content: '\e81f'; } /* '' */
.icon-right-circle:before { content: '\e820'; } /* '' */
.icon-up-circle:before { content: '\e821'; } /* '' */
.icon-bus:before { content: '\e822'; } /* '' */
.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-cab:before { content: '\f1b9'; } /* '' */
.icon-user-circle-o:before { content: '\f2be'; } /* '' */
.icon-user-o:before { content: '\f2c0'; } /* '' */
.icon-facebook-squared:before { content: '\f308'; } /* '' */

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

:root {
    --primary-color: #850136;
    --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;
}

/* inter-300 - 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: 'Inter';
    font-style: normal;
    font-weight: 300;
    src: url('../../files/praxis-spickmann/theme/fonts/inter-v18-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-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: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../../files/praxis-spickmann/theme/fonts/inter-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* inter-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: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('../../files/praxis-spickmann/theme/fonts/inter-v18-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  

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

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

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

#container {
    flex: 1;
}

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

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    font-weight: 400;
    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: underline;
    color: var(--secondary-color);
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}

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

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 a:link,
header a:visited {
    text-decoration: none;
}

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

@media screen and (min-width: 500px) {
    header .inside, footer .inside,
    .mod_article:not(.fullwidth) .inside:not(#pageimage .inside),
    .bg-container .inside,
    #notice-message .inside {
        padding: 0 32px;
    }
}

@media screen and (min-width: 768px) {
    header .inside, footer .inside,
    .mod_article:not(.fullwidth) .inside:not(#pageimage .inside),
    .bg-container .inside,
    #notice-message .inside {
        padding: 0 5vw;
    }
}

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

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

@media screen and (min-width: 1921px) {
    header .inside, footer .inside,
    .mod_article:not(.fullwidth) .inside:not(#pageimage .inside),
    .bg-container .inside,
    #notice-message .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: 90px;
    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;
    }
}

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: 74px;
        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);
    }
    
    
}

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


/*Notice message*/
#notice-message:has(.content-text) {
    padding: 15px 0;
    background-color: var(--primary-color);
    color: white;
}

#notice-message .content-text .rte {
    max-width: 100% !important;
    font-size: 16px;
}

#notice-message .content-text .rte p {
    line-height: 20px;
}

/*Pageimage*/
#pageimage {
    text-align: center;
}

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

#pageimage .content-image {
    position: relative;
}

#pageimage figure {
    position: relative;
}

#pageimage figure::before {
    content: '';
    position: absolute;
    z-index: 999;
    background-image: url('../../files/praxis-spickmann/theme/img/pageimage-overlay.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
    height: 100%;
    width: 100%;
    bottom: 0;
}

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

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

main .mod_article {
    padding: 50px 16px;
    position: relative;
    display: block;
}

@media screen and (min-width: 500px) {
    main .mod_article {
        padding: 50px 32px;
    }
}

@media screen and (min-width: 768px) {
    main .mod_article {
        padding: 50px 5vw;
    }

    main .mod_article:first-child {
        padding-top: 0;
    
        display: flex;
        flex-wrap: wrap;
        gap: 32px;
        flex-direction: row-reverse;
    }
    
    main .mod_article:first-child div:first-of-type {
        flex: 2;
    }
}

@media screen and (min-width: 992px) {
    main .mod_article {
        padding: 50px 10vw;
    }
}

@media screen and (min-width: 1921px) {
    main .mod_article {
        padding: 50px 15vw;
    }
}

main .mod_article.bg-color-01 {
    background: #F8F8F8;
}

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: 50px 0 100px;
}

.content-text .rte {
    max-width: 1100px;
}


/*RSCE Kontaktbox*/
.inside {
    position: relative;
}

.ce_rsce_contactbox {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 32px;
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 16px rgba(154,37,83,.2);

    flex: 1;
    position: relative;
    bottom: 100px;
    z-index: 999;
    height: fit-content;
}

.ce_rsce_contactbox ul {
    list-style-type: none;
    margin-left: 0;
}

.ce_rsce_contactbox .link-container li {
    border-bottom: 1px solid white;
    padding: 4px 0;
}

.ce_rsce_contactbox .link-container .link-icon::before {
    margin-right: 8px;
}

.ce_rsce_contactbox .link-container a:link,
.ce_rsce_contactbox .link-container a:visited {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px 8px;
    color: white;
    text-decoration: none;
}

.ce_rsce_contactbox .link-container a:hover {
    background-color: white;
    border-radius: 8px;
    color: var(--text-color);
}

.ce_rsce_contactbox .link-container a:focus {

}

.ce_rsce_contactbox .link-container a:active {

}

.ce_rsce_contactbox a.button {
    text-decoration: none;
    margin: 0 0;
    border-color: white;
    background-color: white;
    border: 2px solid white;
    color: var(--secondary-color);
    border-radius: 5px;
    padding: 10px 20px;
    margin: 32px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    width: initial;
    justify-content: center;
}

.ce_rsce_contactbox a.button i {
    font-size: 1.5em;
}

/*Teaserbox*/
.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*/
main figure {
    margin-bottom: 32px;
    border-radius: 32px;
    overflow: hidden;
}

main figure picture {
    display: flex;
}

@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: 64px; /* 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: 2; /* 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: 2; /* 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 */
    }
}

/*ACCORDION*/
.position--left .content-accordion {
    margin-left: 0 !important;
}

.content-accordion {
    max-width: 1100px;
    margin: 0 auto;
}

.content-accordion h2 {
    font-size: clamp(1em, 1vw, 1.25em);
    margin-top: 16px;
}

.handorgel__header__button {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 32px;
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 16px rgba(154,37,83,.2);
    display: flex;
    justify-content: space-between;
}

/*
.content-accordion .handorgel__header button {
    background:url('../../files/praxis-spickmann/theme/img/accordion-arrow-right.png') center right 20px no-repeat #fff;
    background-color:#a32136;
    background-size:14px 14px;
}

.content-accordion .handorgel__header--opened button {
    background:url('../../files/praxis-spickmann/theme/img/accordion-arrow-down.png') center right 20px no-repeat #fff;
    background-color:#a32136;
    background-size:14px 14px;
}*/

.handorgel__content__inner {
    padding: 8px 32px;
}

.handorgel__content {
    border: none;
    background-color: transparent;
}

.content-accordion .content-text {
    margin: 16px 0;
}

/*RSCE Call-To-Action*/
.ce_rsce_call-to-action {
    background-color: var(--primary-color);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(154,37,83,.2);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.ce_rsce_call-to-action h3 {
    font-size: clamp(1em, 1vw, 1.25em);
    color: white;
    margin: 0;
}

.ce_rsce_call-to-action a.button:link, 
.ce_rsce_call-to-action a.button:visited {
    margin: 0 0;
    border-color: white;
    background-color: white;
    text-decoration: none;
}

/*RSCE Calltime*/
.ce_rsce_calltime {
    margin: 50px 0;
}

@media screen and (min-width: 768px) {
    .ce_rsce_calltime .calltime-wrapper {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 32px;
        align-items: center
    }
}

.ce_rsce_calltime .calltime-wrapper figure {
    flex: 1;
}

.ce_rsce_calltime .calltime-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
}

.ce_rsce_calltime .calltime-container .calltime-item {
    list-style-type: none;
    flex: 1;
    flex-basis: 50%;
    margin: 0 0;
}

@media screen and (min-width: 768px) {
    .ce_rsce_calltime .calltime-container .calltime-item {
        list-style-type: none;
        flex: 1;
        flex-basis: 30%;
    }
}

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

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

.ce_rsce_cards .card-item {
    background-color: #8F3965;
    border-radius: 32px;
    padding: 32px;
    color: white;
}

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

/*FOOTER*/
footer {
    background-color: #E6E6E6;
    padding: 64px 0;
}

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

footer .mod_customnav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    list-style-type: none;
    justify-content: end;
}
