/* ---------- to be integrated in standard css ---------- */
html {
    --button-border-radius: 5px;
    --input-border-radius: 5px;
    --toggler-background: var(--color-brand) !important;
    --gutes-element-bgcolor: #fff;
    --gutes-base-border-radius: 25px;
    --gutes-font-weight-title: 600;
}


/*body {
  /*background: radial-gradient(ellipse 80% 60% at 5% 40%, rgba(175, 109, 255, 0.48), transparent 67%),
        radial-gradient(ellipse 70% 60% at 45% 45%, rgba(255, 100, 180, 0.41), transparent 67%),
        radial-gradient(ellipse 62% 52% at 83% 76%, rgba(255, 235, 170, 0.44), transparent 63%),
        radial-gradient(ellipse 60% 48% at 75% 20%, rgba(120, 190, 255, 0.36), transparent 66%),
        linear-gradient(45deg, #f7eaff 0%, #fde2ea 100%);*/

/* optional: fein justierbar per Variablen */

html {
  --left-white: 33%; /* ≈ 1/6 */
  --fade: 32%;            /* Breite der weichen Überblendung */
}

body {
  background:
    /* weiße Fläche links, weich ins Layout überblendend */
    linear-gradient(
      to right,
      #fff 0%,
      #fff calc(var(--left-white) - var(--fade)),
      rgba(255,255,255,0) calc(var(--left-white) + var(--fade))
    ),
    radial-gradient(ellipse 80% 60% at 5% 40%,  rgba(175, 109, 255, 0.48), transparent 67%),
    radial-gradient(ellipse 70% 60% at 45% 45%, rgba(255, 100, 180, 0.41), transparent 67%),
    radial-gradient(ellipse 62% 52% at 83% 76%, rgba(255, 235, 170, 0.44), transparent 63%),
    radial-gradient(ellipse 60% 48% at 75% 20%, rgba(120, 190, 255, 0.36), transparent 66%),
    linear-gradient(45deg, #f7eaff 0%, #fde2ea 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.mobile_menu .inner {
  background: radial-gradient(ellipse 80% 60% at 5% 40%, rgba(175, 109, 255, 0.48), transparent 67%),
        radial-gradient(ellipse 70% 60% at 45% 45%, rgba(255, 100, 180, 0.41), transparent 67%),
        radial-gradient(ellipse 62% 52% at 83% 76%, rgba(255, 235, 170, 0.44), transparent 63%),
        radial-gradient(ellipse 60% 48% at 75% 20%, rgba(120, 190, 255, 0.36), transparent 66%),
        linear-gradient(45deg, #f7eaff 0%, #fde2ea 100%)
}


#header {
  border-bottom:none!important;
}
/*

.topbar-nav--new .mod_customnav ul.level_1 {
  display: flex;
  align-items: center;
  justify-content: space-around;
  grid-gap: 0.5em;
}

.topbar-nav--new .mod_customnav ul.level_1 li {
  position: relative;
}

.topbar-nav--new .mod_customnav ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
  margin-left: 0;
}

.topbar-nav--new .mod_customnav ul.level_1 > li > a {
  display: block;
  padding: 0.5em;
  font-size: var(--topnav-font-size);
  color: var(--topnav-color);
  transition: ease-in-out 300ms;
  text-decoration: none;
}
.topbar-nav--new .mod_customnav ul.level_1 > li > a:hover {
  color: var(--topnav-color-hover);
}*/
/*
.topbar-nav--new {
  width: 100%;
}

.topbar-nav--new .mod_navigation ul.level_1 {
  justify-content: end!important;
}

.topbar-logo.position--default {
  top: 2rem;
  left: 2rem;
  transition: ease-in-out .5s;
  position: absolute;
}*/

.small .topbar-logo.position--default {
  width: 70px;
  top: 1rem;
  left: 1rem;
}

.small {
  padding-top:0!important;
  padding-bottom:0!important;
}
/*
.ctabar__inner {
  padding-left: var(--grid__gutter--half);
  padding-right: var(--grid__gutter--half);
  padding-top: var(--grid__gutter--half);
  padding-bottom: var(--grid__gutter--half);
}*/

#main {
    min-height: 75vh;
}

.bg-mint {
  background-color: var(--color-brand) !important;
}
.bg-mint h1,
.bg-mint h2,
.bg-mint h3 {
  color:#ffffff;
}

ul.level_1.mainnav__list {
    padding-right: 1em;
    padding-left: 1em;
    background: #fff;
    /* width: max-content; */
    border-radius: 25px;
}

.mod_mobile_menu button.btn.btn--primary {
    background-color: #fff;
    color: #000;
    border: transparent;
}

.mod_article {
  max-width: 80em;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.article--full.containered > .inside {
  max-width: 80em;
}

.mod_article.article--full {
  max-width: inherit!important;
  width: 100%;
  padding-left: 0!important;
  padding-right: 0!important;
  padding-top: 0!important;
  padding-bottom: 0!important;
  box-shadow: none!important;
}

.height-100vh {
	min-height: 100vh;
}

.page-newsletter #footer .mod_subscribe .error {
  display: none;
}

/* ---------- images ---------- */
figure {
    display: flex;
    color: var(--color-text);
    font-size: 0.85em;
}

img.img--round {
    border-radius: 100%;
    border: 5px solid var(--color-brand2);
}

/* for image with caption */
.image_container {
    flex-direction: column;
}


/* ---------- fonts ---------- */
h1, .heading-h1 {
    line-height: 1.15;
}

@media screen and (min-width: 68.75em) {
h1, .heading-h1 {
    font-size: 4.7rem;
}
}

@media screen and (min-width: 58.75em) {
h1, .heading-h1 {
    font-size: 4.7rem;
}
}

@media screen and (min-width: 48em) {
h1, .heading-h1 {
    font-size: 4.7rem;
}
}

h2, .heading-h2 {
    line-height: 1.1em !important;
    font-size: 2.75rem;
}

h3, .heading-h3 {
    line-height: 1em;
    font-size: 2rem;
}

h4, .heading-h4 {
    font-size: 1.25rem;
}

.ce_text h1+h2 {
    margin-top: 0;
}

.text--right {
    text-align: right;
}

.text--left {
    text-align: left;
}

.mod_article p, .mod_article li {
    font-size: 1.35em;
}

.text--standard,
.text--standard h1,
.text--standard h2,
.text--standard h3,
.text--standard h4 {
   color: var(--color-brand);
}

.text--white p,
.text--white h1,
.text--white h2,
.text--white h3,
.ce_text.text--white.iconized a {
	color: #fff;
}

.text--white h2 a,
.text--white p a {
    color: #fff !important;
}

.text--uppercase h1, .text--uppercase .heading-h1,
.text--uppercase h2, .text--uppercase .heading-h2,
.text--uppercase h3, .text--uppercase .heading-h3 {
	text-transform: uppercase;
}

/* ---------- initial and intro  ---------- */
/* introtext */
.intro {
    font-size: 1.15em;
    line-height: 1.7em;
    /*max-width: 55%;*/
    padding: 0 0 1em 1em;
    border-bottom: 3px solid var(--color-brand3);
}

.intro p:first-of-type:first-letter {
  font-size: 300%;
  line-height: 1;
  float: left;
  padding-right: .125em;
 font-family: var(--headings__font-family);
}

/* ---------- links and buttons ---------- */
.back a {
	border-color: var(--color-brand2);
    color: var(--color-brand2);
}

a.btn--highlight, span.btn--highlight, button.btn--highlight, input.btn--highlight.submit, .ce_comments .btn--highlight.submit {
    background: var(--button-highlight-bgcolor);
    color: var(--color-text);
}


/* ---------- backgrounds ---------- */
.bg--highlight {
    background: var(--color-highlight);
}

.bg--grey {
    background: #cccccc;
}


/* ---------- shadows ---------- */
.box-shadow {
    box-shadow: 0 2px 18px 0 rgba(0,0,0,.3);
}

/* ---------- other styles ---------- */

ul.list-style--fa li:before {
    color: var(--color-brand);
}

/* ---------- downloads ---------- */
.wrapper-grid__inner .ce_download, .ce_downloads {
    margin-bottom: 1rem;
    border: 1px solid var(--download-elem__border-color);
    text-align: center;
}

.download-element-wrapper {
	border:none;
}

/* ---------- footer ---------- */

#footer-pre .ce_headline {
    margin-bottom: 0.5rem;
}

#footer-pre .contact__outer > div {
	margin-bottom: 0;
}

#tns1 > .tns-item {
    padding-right: 0 !important;
}

@media screen and (max-width: 820px) {
.slider-full .headerslide__wrapper {
    height: 33vh !important;
}
}

@media screen and (max-width: 830px) {
	.wrapper-flex__inner {
    flex-direction: column !important;
	}
}

@media screen and (max-width: 350px) {
	.wrapper-simple.ce_rsce_wrapper_simple_start {
    padding: 0.5em !important;
}
dl.definitionlist__list {
    font-size: 0.9em;
}
}

/* ---------- customized styles website ---------- */

/* ---------- customized styles anker ---------- */
.social_feed_element .icon img{
	right:20px;
}

.red {
	color: red;
}

.player .video_container {
	height: 85vh !important;
}

.mod_newslist.news-short {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 2em;
    grid-column-gap: 2em;
}

.layout_short {
    border: 1px solid;
    padding: 1em;
}

.layout_short .info {
    background: var(--color-brand);
    color: white;
    text-align: center;
}

/* ----------Element-Filter teaserbox ---------- */
.filters{
	margin-top:1rem;
	margin-bottom:2rem;
}
.filters li{
	    background-image: none;
    white-space: nowrap;
    text-decoration: none;
        display: inline-block;
}
.filters a.active{
	color: #fff;
	text-decoration: none;
	background-color: var(--color-highlight);
}
.filters a:hover{
	color: #fff;
	text-decoration: none;
	background-color: var(--color-highlight);
}
.filters a{
	background: var(--button-bg);
    border-color: var(--button-bg);
    border-radius: var(--button-border-radius);
    padding: var(--button-spacing);
    border: var(--button-border-width) solid transparent;
    font-family: var(--button-font-family);
    font-weight: var(--button-font-weight);
    line-height: var(--button-line-height);

}
.filters a{
	color: #fff;
	text-decoration: none;
}
/*filter flex*/
.elements-filter-wrapper{
	display:flex;
	flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 2em;
    column-gap: 1em;
}
.teaserkachel__outer.ce_rsce_teaserkachel.elements-filter{
	flex-basis: calc(100% / 3 - 1em);
    min-width: 250px;
}

/*  SWITCH  */

.btn-toggle {
  margin: 0 4rem;
  padding: 0;
  position: relative;
  border: none;
  height: 1.5rem;
  width: 3rem;
  border-radius: 1.5rem;
  color: #6b7381;
  background: #bdc1c8;
}
.btn-toggle:focus,
.btn-toggle.focus,
.btn-toggle:focus.active,
.btn-toggle.focus.active {
  outline: none;
}
.btn-toggle:before,
.btn-toggle:after {
  line-height: 1.5rem;
  width: 4rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: absolute;
  bottom: 0;
  transition: opacity 0.25s;
}
.btn-toggle:before {
  content: "Off";
  left: -4rem;
}
.btn-toggle:after {
  content: "On";
  right: -4rem;
  opacity: 0.5;
}
.btn-toggle > .handle {
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 1.125rem;
  background: #fff;
  transition: left 0.25s;
}
.btn-toggle.active {
  transition: background-color 0.25s;
}
.btn-toggle.active > .handle {
  left: 1.6875rem;
  transition: left 0.25s;
}
.btn-toggle.active:before {
  opacity: 0.5;
}
.btn-toggle.active:after {
  opacity: 1;
}
.btn-toggle.btn-sm:before,
.btn-toggle.btn-sm:after {
  line-height: -0.5rem;
  color: #fff;
  letter-spacing: 0.75px;
  left: 0.4125rem;
  width: 2.325rem;
}
.btn-toggle.btn-sm:before {
  text-align: right;
}
.btn-toggle.btn-sm:after {
  text-align: left;
  opacity: 0;
}
.btn-toggle.btn-sm.active:before {
  opacity: 0;
}
.btn-toggle.btn-sm.active:after {
  opacity: 1;
}
.btn-toggle.btn-xs:before,
.btn-toggle.btn-xs:after {
  display: none;
}
.btn-toggle:before,
.btn-toggle:after {
  color: #6b7381;
}
.btn-toggle.active {
  background-color: #29b5a8;
}

.btn-toggle.btn-sm {
  margin: 0 0.5rem;
  padding: 0;
  position: relative;
  border: none;
  height: 1.5rem;
  width: 3rem;
  border-radius: 1.5rem;
}
.btn-toggle.btn-sm:focus,
.btn-toggle.btn-sm.focus,
.btn-toggle.btn-sm:focus.active,
.btn-toggle.btn-sm.focus.active {
  outline: none;
}
.btn-toggle.btn-sm:before,
.btn-toggle.btn-sm:after {
  line-height: 1.5rem;
  width: 0.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: absolute;
  bottom: 0;
  transition: opacity 0.25s;
}
.btn-toggle.btn-sm:before {
  content: "Off";
  left: -0.5rem;
}
.btn-toggle.btn-sm:after {
  content: "On";
  right: -0.5rem;
  opacity: 0.5;
}
.btn-toggle.btn-sm > .handle {
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 1.125rem;
  background: #fff;
  transition: left 0.25s;
}
.btn-toggle.btn-sm.active {
  transition: background-color 0.25s;
}
.btn-toggle.btn-sm.active > .handle {
  left: 1.6875rem;
  transition: left 0.25s;
}
.btn-toggle.btn-sm.active:before {
  opacity: 0.5;
}
.btn-toggle.btn-sm.active:after {
  opacity: 1;
}
.btn-toggle.btn-sm.btn-sm:before,
.btn-toggle.btn-sm.btn-sm:after {
  line-height: -0.5rem;
  color: #fff;
  letter-spacing: 0.75px;
  left: 0.4125rem;
  width: 2.325rem;
}
.btn-toggle.btn-sm.btn-sm:before {
  text-align: right;
}
.btn-toggle.btn-sm.btn-sm:after {
  text-align: left;
  opacity: 0;
}
.btn-toggle.btn-sm.btn-sm.active:before {
  opacity: 0;
}
.btn-toggle.btn-sm.btn-sm.active:after {
  opacity: 1;
}
.btn-toggle.btn-sm.btn-xs:before,
.btn-toggle.btn-sm.btn-xs:after {
  display: none;
}
.btn-toggle.btn-xs {
  margin: 0 0;
  padding: 0;
  position: relative;
  border: none;
  height: 1rem;
  width: 2rem;
  border-radius: 1rem;
}
.btn-toggle.btn-xs:focus,
.btn-toggle.btn-xs.focus,
.btn-toggle.btn-xs:focus.active,
.btn-toggle.btn-xs.focus.active {
  outline: none;
}
.btn-toggle.btn-xs:before,
.btn-toggle.btn-xs:after {
  line-height: 1rem;
  width: 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: absolute;
  bottom: 0;
  transition: opacity 0.25s;
}
.btn-toggle.btn-xs:before {
  content: "Off";
  left: 0;
}
.btn-toggle.btn-xs:after {
  content: "On";
  right: 0;
  opacity: 0.5;
}
.btn-toggle.btn-xs > .handle {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 0.75rem;
  background: #a16d60;
  transition: left 0.25s;
}
.btn-toggle.btn-xs.active {
  transition: background-color 0.25s;
}
.btn-toggle.btn-xs.active > .handle {
  left: 1.125rem;
  transition: left 0.25s;
}
.btn-toggle.btn-xs.active:before {
  opacity: 0.5;
}
.btn-toggle.btn-xs.active:after {
  opacity: 1;
}
.btn-toggle.btn-xs.btn-sm:before,
.btn-toggle.btn-xs.btn-sm:after {
  line-height: -1rem;
  color: #000;
  letter-spacing: 0.75px;
  left: 0.275rem;
  width: 1.55rem;
}
.btn-toggle.btn-xs.btn-sm:before {
  text-align: right;
}
.btn-toggle.btn-xs.btn-sm:after {
  text-align: left;
  opacity: 0;
}
.btn-toggle.btn-xs.btn-sm.active:before {
  opacity: 0;
}
.btn-toggle.btn-xs.btn-sm.active:after {
  opacity: 1;
}
.btn-toggle.btn-xs.btn-xs:before,
.btn-toggle.btn-xs.btn-xs:after {
  display: none;
}
.btn-toggle.btn-secondary {
  color: #6b7381;
  background: #e4e4e4;
}
.btn-toggle.btn-secondary:before,
.btn-toggle.btn-secondary:after {
  color: #03c603;
}
.btn-toggle.btn-secondary.active {
  background-color: #e4e4e4;
}

.btn.btn-xs.btn-secondary.btn-toggle,
.btn.btn-xs.btn-secondary.btn-toggle.active {
  position:relative;
  top:-5px;
  margin-left:3px;
  margin-right:3px;
}

/* READ MORE LISTE */

.read-more-list {
  cursor: pointer;
}
.isCollapsed span {
  display: none;
}
.isCollapsed:after {
  display: block;
  content: "mehr lesen";
  font-weight: bold;
}

/* TEASERBOX MIT OVERLAY */

.overlay--content {
  position: relative;
  padding: 50px 25px;
  margin-top: -220px;
  background: rgb(0,0,0);
  background: -moz-linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  background: -webkit-linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1); 
}

.overlay--content h3,
.overlay--content p {
  color:white;	
}

.btn, .submit {
  border-radius:5px!important;
}

.mobile_menu .inner {
  background-color: var(--color-default);
}

.teaserkachel__nobtn__image-wrapper.image-wrapper-notlinked img {
  border-radius: .5rem;
}

.teaserkachel__nobtn__alltext {
  border-bottom-left-radius: .5rem;
  border-bottom-right-radius: .5rem;
}
.teaserkachel__nobtn__headline {
  color: #fff!important;
}

.formbody .select {
  width: 100%;
}

/* coloranimation */

.bg-color-animation {
  animation:slide 3s ease-in-out infinite alternate;
  background-image: linear-gradient(-60deg, #6c3 50%, #09f 50%);
  bottom:0;
  left:-50%;
  opacity:.5;
  position:fixed;
  right:-50%;
  top:0;
  z-index:-1;
}

.bg2-color-animation {
  animation-direction:alternate-reverse;
  animation-duration:4s;
}

.bg3-color-animation {
  animation-duration:5s;
}

.content-color-animation {
  background-color:rgba(255,255,255,.8);
  border-radius:.25em;
  box-shadow:0 0 .25em rgba(0,0,0,.25);
  box-sizing:border-box;
  left:50%;
  padding:10vmin;
  position:fixed;
  text-align:center;
  top:50%;
  transform:translate(-50%, -50%);
}

/*h1 {
  font-family:monospace;
}*/

@keyframes slide {
  0% {
    transform:translateX(-25%);
  }
  100% {
    transform:translateX(25%);
  }
}

.logo-company-name {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  will-change: transform, opacity;  /* Vorschau auf Veränderungen */
}

.topbar-inner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Hoch genug, um Überlagerungen zu vermeiden */
}

#container {
  padding-top:15rem;
}