:root {
    --color-lightgrey: #D9D9D9;
    --color-middlegrey: #B0AFAF;
    --color-darkgrey: #20201E;
    --color-red: #D31220;
    --padding-default: 15px;
    --padding-container: 15px;
    --padding-button: 15px 15px;
    --padding-formfield: 15px;  
}

#main :focus-visible {
    outline: var(--color-darkgrey) dashed 0.1rem !important;
}

.hidden {
    visibility: hidden;
    pointer-events: none;
    display: none;
    opacity: 0;
}

section:after {
    content: '';
    display: block;
    clear: both;
}

.scb p, .scb ul .scb li, .scb a, .scb input, .scb label, span.right-title, .scb ul{
    font-family: 'marine', sans-serif;
    font-size: 16px;
    line-height: 140%;
    font-weight: 400;
}

.scb p:last-child {
    margin-bottom: 0;
}

#EditableTextField_1be36 legend, #EditableTextField_3fc46 legend{
    font-size: 18px;
    font-family: 'demos-next', serif;
    line-height: 120%;
    font-weight: 700;
    word-break: break-word;
}

#EditableTextField_3fc46 legend:after{
        color: var(--color-error-dark);
        content: "*";
        font-size: 0.8em;
        font-weight: normal;
        padding-left: 0.333em;
    }

.scb h1, .scb h1 a, .scb h1 span,
.scb h2, .scb h2 a, .scb h2 span,
.scb h3, .scb h3 a, .scb h3 span,
.scb h4, .scb h4 a, .scb h4 span,
.scb h5, .scb h5 a, .scb h5 span,
.scb h6, .scb h6 a, .scb h6 span {
    font-family: 'demos-next', serif;
    line-height: 120%;
    font-weight: 700;
    margin-bottom: 15px;
    word-break: break-word;
}
.scb h1, .scb h1 a, .scb h1 span {
    font-size: 25px;
    margin-top: -0.45em; /*line-height Ausgleich nach oben*/
}
.scb h2, .scb h2 a, .scb h2 span {
    font-size: 20px;
    margin-top: 0.8em;
    margin-bottom: 0.8em;
}

.scb .small {
    font-size: 0.9em;
    line-height: 1;
}

.has-background {
    color: white;  
    background-repeat: no-repeat;
    
}
.has-background p {
    margin-bottom: 0;
}
.has-background * {
    margin-top: 0;
}

.bg-red {
    background-color: var(--color-red);
}

.accordion-element__accordion-content ul {
    margin-bottom: 1.25rem;
}


/*SPACING*/
.pt-0 { padding-top: 0 !important; }
.ptb-large { 
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}


/*HEADER*/
.scb .header {
    background-color: white;
    color: var(--color-darkgrey);
    display: flex;
    justify-content: space-between;
    padding: var(--padding-default);
    min-height: auto;
}

.headerimage .scb-container {
    min-height: 360px;
    background-color: var(--color-lightgrey);
}

/*LIST STYLES*/
.content-element__content ul {
  list-style: none; /* remove default bullets */
  padding-left: 0;  /* optional: adjust padding */
}

.content-element__content ul li {
  position: relative;
  padding-left: 30px; /* space for the icon */
}

.content-element__content li{
    margin-left: 0px; 
    margin-top: 2%;
}

.content-element__content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 16px;
  height: 12px;
  background-image: url("/assets/Uploads/checkmark.png");
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%);
}

/*FOOTER*/
.scb .footer {
    background-color: var(--color-darkgrey);
    text-align: left;
    padding: var(--padding-default);
    padding-bottom: 4.5em;
}


/*SILVERSTRIPE OVERRIDES*/
.scb #main {
    max-width: 100%;
    margin: 0;
    flex-grow: 0;
}
.scb .container {
    padding: 0;
}
.scb .right-title {
    font-size: 16px;
}


/*ELEMENTS*/
.pb__elements__containerelement.main__content__container {
    float: none !important;
}
.has-background.bg-type-color + .pb__elements__containerelement .scb-container {
    padding-top: 10px;
}
.pb__elements__containerelement {
    margin: 0 auto;
    padding: 0 10%;
}
.pb__elements__containerelement.headerimage {
    padding: 0 !important;
}
.scb-container {
    padding: var(--padding-container);  /*not on section*/
}
.scb-container .scb-container {
    padding: 0;
}


/*PAGE-NAV & BREADCRUMBS*/
#page-navigation h1 {
    margin-bottom: 0;
}
.breadcrumbs li {
    display: inline;
}
.breadcrumbs li:not(:last-child):after {
    content: '>';
    margin: 0 5px;
}
.breadcrumbs li a[aria-current="page"] {
    text-decoration: none;
    font-weight: bold;
}


/*BUTTONS*/
.scb-button {
    display: inline-block;
    position: relative;
    margin-top: 1.25rem;
}
.scb-button a,
.step-button-next,
.step-button-prev,
input[type="submit"],
.Actions .action {
    display: block;
    padding: 11px;
    cursor: pointer;
    background-image: url(../img/button_rot.svg);
    border: none;
    background-color: transparent;
    padding: 9px 30px !important;
    color: #fff !important;
    text-decoration: none !important;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-weight: 700;
}
.scb-button:hover a,
.step-button-next:hover,
.step-button-prev:hover,
input[type="submit"]:hover,
.Actions .action:hover {
    background-image: url(../img/button_rahmen.svg);
    color: #D31220 !important;
}
.step-button-next,
.step-button-prev,
input[type="submit"],
.Actions .action {
    font-weight: 400;
    border-radius: 0 !important;
}
.step-button-prev {
    background-image: url(../img/button_grau.svg);
}
/* .scb-button {
    background-image: url(../img/button_rot.svg);
    padding: var(--padding-button);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: block;
    color: white;
} */
/*
.scb-button a{
    background-color: var(--color-red);
    border-radius: 4px;
    padding: var(--padding-button);
    display: block;
    color: white;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    text-align: center;
    margin-top: 5%;
}

.scb-button * {
    margin-top: 0;
}
.scb-button a {
    text-decoration: none;
}

.scb-button p{
    font-weight: 600;
}

.scb-button a {
    transition: all 0.3s ease; 
}

.scb-button.sticky a {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transform: translateY(100%); 
    animation: slide-up 0.3s forwards; 
    border-radius: 0px;
}*/


@keyframes slide-up {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/*BACKGROUND*/
.light-gray {
    background: rgba(77, 74, 71, 0.1);
    padding-top: 20px;
    padding-bottom: 20px;
}
.light-gray *:not(a):not(a *) {
    color: var(--color-charcoal);
}


/*ACCORDION*/
.accordion-element__accordion {
  border-bottom: 1px solid var(--color-red);
}

.accordion-element__accordion-header {
  /*display: flex;
  justify-content: space-between;
  align-items: center;*/
  cursor: pointer;
  padding: 15px 0;
}
.accordion-element__accordion-header .accordion-trigger {
    width: 100%;
}

.accordion-element__accordion-header .accordion-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
}

.accordion-element__accordion-header .open-close {
    width: 10px;
    height: 10px;
    position: relative;
    display: flex;
    line-height: 1;
    margin: 0;
    flex-shrink: 0;
}

.accordion-element__accordion-header .open-close::before,
.accordion-element__accordion-header .open-close::after {
  content: "";
  position: absolute;
  background: #333;
  transition: transform 0.3s ease;
}

.accordion-element__accordion-header .open-close::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

.accordion-element__accordion-header .open-close::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.accordion-element__accordion.active .open-close::after {
  transform: scaleY(0);
}

.accordion-element__accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-element__accordion-header h3, .accordion-element__accordion-content span{
    font-family: 'marine', sans-serif;
    font-size: 16px; 
    font-weight: 400;
    line-height: 140%;
    margin: 0;
}

.accordion-element__accordion-content .container{
    margin-bottom: 1em;
}


/*AWARDS*/
.pb__elements__awardelement {
    width: auto;
    display: inline-flex;
    margin-right: 1.5%;
}

.pb__elements__awardelement img {
    height: 150px;
    width: auto;
    object-fit: contain;
}

/*MARKETINGMITTEILUNG*/
#e23 p{
    color: #525252; 
    font-size: 13px;
    font-weight: 400; 
    text-align: center;
    padding: 4em;
}

/*TESTIMONIALS*/
.pb__testimonial{
    margin-bottom: 1.8em;
}

.pb__testimonial span{
    font-size: 16px;
}

p.pname{
    font-weight: 600;
}

/*.pb__elements__testimoniallistelement{
    padding: var(--padding-container);
}*/

.testimonial__header__right p{
    font-size: 15px;
    text-align: right; 
}

.testimonial__header{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.4em;
}

.testimonial__header span.title{
    font-weight: 400;
}

/*FORMULAR*/
.progress-title {
    margin: 0 !important;
    padding-bottom: calc(15px + 0.2em);
}
.form-step > .field {
    margin-top: var(--padding-default);
}

#UserForm_Form_3, .userform {
  background-color: #ededed;
}

.userform:not(#UserForm_Form_3) {
    padding-bottom: 15px;
}

/*LABELS*/
.floatinglabel label.left.form-label{
    font-size: 160px; 
    font-weight: 400;
}

.floatinglabel {
  position: relative;
}

.floatinglabel input, .floatinglabel select{
  width: 100%;
  padding: 12px 8px;
  font-size: 16px;
  box-sizing: border-box;
  padding: 16px 8px 12px 8px; /* top, right, bottom, left */
}

.floatinglabel textarea{
    width: 100%;
    padding: 12px 8px;
    font-size: 16px;
    box-sizing: border-box;
    padding: 26px 12px 12px 12px;
}

.floatinglabel label {
  position: absolute;
  left: 8px;
  top: 20px;
  font-size: 16px;
  font-weight: 400;
  color: #717171;
  pointer-events: none;
  transition: 0.2s ease all;
  padding: 0 4px;
  z-index: 2;
}

.floatinglabel label.left.form-label.floating {
  top: 6px;
  font-size: 12px;
  color: #717171;
}

input.movedinput, select.movedinput{
    padding-bottom: 15px !important;
    padding-top: 25px !important;
}

/*CHECKBOX*/
#EditableTextField_d02df label{
    font-weight: 400; 
    line-height: 18px;
}
.scb .checkbox label{
    font-weight: 400; 
    line-height: 18px;
}

/*PROGRESS*/
.userform-progress .progress {
    display: none;
}
.userform-progress nav {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: var(--padding-default);
    margin-bottom: calc(var(--padding-default) * 2);
}
.userform-progress .step-buttons {
    display: inline-flex !important;
}
.userform-progress .step-buttons:after {
    content: '';
    width: calc(100% - 4px);
    height: 2px;
    background: var(--color-middlegrey);
    position: absolute;
    bottom: 4px;
    z-index: -1;
}
.userform-progress .step-buttons .step-button-wrapper {
    margin: 0;
}
.userform-progress .step-buttons .step-button-wrapper:first-child button {
    padding-left: 0;
}
.userform-progress .step-buttons .step-button-wrapper:last-child button,
.userform-progress .step-buttons .step-button-wrapper:nth-last-child(1 of :not(.hide)) button {
    padding-right: 0;
}
.userform-progress .step-buttons .step-button-wrapper .step-button-jump {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 var(--padding-default);
    margin: 0;
    opacity: 1;
    color: var(--color-darkgrey);
    font-weight: bold;
    font-size: 0;
}
.userform-progress .step-buttons .step-button-wrapper .step-button-jump:after {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--color-darkgrey);
}
.userform-progress .step-buttons .step-button-wrapper.current ~ .step-button-wrapper .step-button-jump {
    color: var(--color-middlegrey);
}
.userform-progress .step-buttons .step-button-wrapper.current ~ .step-button-wrapper .step-button-jump:after {
    background: var(--color-middlegrey);
}
.userform-progress .step-buttons .step-button-wrapper.current .step-button-jump:after {
    background: var(--color-red);
    border: 3px solid white;
    outline: 1px solid black;
}

/*STEP BUTTONS*/
.step-navigation .step-buttons{
    display: flex;
}

.step-navigation .step-buttons .step-button-wrapper, .action {
    margin: 0;
}
.step-navigation .step-buttons .step-button-wrapper button,
.step-navigation .step-buttons .step-button-wrapper input[type="submit"], .Actions .action {
    -webkit-appearance: none;
    border: none;
    text-align: center;
    line-height: var(--line-height-base);
    font-family: var(--font-family-base);
    font-size: var(--font-size-large);
}
/*.step-navigation .step-buttons .step-button-prev {
    background-color: var(--color-lightgrey);
}
.step-navigation .step-buttons .step-button-next,
.step-navigation .step-buttons input[type="submit"], .action {
    background-color: var(--color-red);
    color: white;
    font-weight: 600;
}*/

/*.Actions .action{
   padding: 15px 15px !important;
}*/

.middleColumn span{
    font-size: 16px;
}

/*FORMULARFELDER*/

#EditableTextField_f3eaa p{
    font-weight: 400;
    font-size: 16px;
}

.odd, .even {
    border-bottom: 1px solid #B0AFAF;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    line-height: 16px;
}

.odd label, .even label{
    line-height: 20px !important;
}

.scb form input[type=text], .scb form input[type=email], .scb form input[type=password], .scb form select, .scb form textarea {
    /*padding: var(--padding-formfield);*/
    padding-top:25px;
    padding-bottom: 15px;
    padding-left: 10px;
    border-radius: 4px;
    border: 0px solid; 
    display: block;
    width: 100%;
    margin-bottom: 5px;
    font-size: 16px;
}

.scb form input[type=checkbox] {
    /*display: none;*/
    position: absolute;
    top: -16px;
    left: 1px;
    opacity: 0;
}

.scb form .checkbox {
    margin-top: 18px;
}
.scb form .checkbox .right-title {
    display: none;
}
.scb form.userform .userform-fields .form-step .field.checkbox label {
    display: inline-block;
}

.scb form.userform .left {
    font-size: 16px;
}

/*single checkbox*/
.scb form input[type=checkbox]:focus-visible+label {
    outline: var(--color-darkgrey) dashed 0.1rem !important;
}
.scb form input[type=checkbox]+label:not(.error) {
    background: url(../img/check.png) 0 0 no-repeat;
    padding: 0 0 0 25px;
    height: 16px;
    display: inline-block;
}
.scb form input[type=checkbox]:checked+label:not(.error) {
    background-position: 0 -16px;
}
/*checkbox-group // grey boxes*/
/* .scb form .optionset.checkboxset > .middleColumn {
    margin-top: var(--padding-default);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}
.scb form .optionset.checkboxset > .middleColumn .odd:last-child {
    grid-column: 1 / -1;
} */
/* .scb form .optionset.checkboxset > .middleColumn div label {
    background: #ededed;
    padding: var(--padding-default);
    text-align: center;
    box-sizing: border-box;
    border-radius: 8px;
    display: block;
    height: auto;
} */
/* .scb form .optionset.checkboxset > .middleColumn div input[type=checkbox]:checked+label:not(.error) {
    background: var(--color-red);
    color: white;
} */
/*radio buttons*/
.scb form .userformsoptionset > .middleColumn > div {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.scb form .userformsoptionset > .middleColumn > div input {
    margin-right: 10px;
}
/*slider*/
.scb form .range--container .descContainer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0px auto;
}
.scb form .range--container .descContainer span {
    font-weight: bold;
}

.scb form .range__container {
    position: relative;
}
.scb form .range__container:after {
    content: '';
    width: calc(100% - 20px);
    height: 2px;
    background: var(--color-darkgrey);
    position: absolute;
    bottom: 50%;
    left: 10px;
    z-index: -2;
}
.scb form .range__container .range__steps {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 1;
} 
.scb form .range__container .range__steps--step {
    margin-left: 3px;
    font-size: 1.4rem;
}

.scb form .range__container input[type=range] {
    /*-webkit-appearance: none;*/
    width: 100%;
    background: transparent;
    cursor: pointer;
    display: block;
}
/*.scb form .range__container input[type=range]:focus {
    outline: none;
}*/
.scb form .range__container input[type=range]::-ms-track {
    width: 100%;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
    cursor: pointer;
}
.scb form .range__container input[type=range]::-ms-fill-lower {
    background: transparent;
}
.scb form .range__container input[type=range]::-ms-fill-upper {
    background: transparent;
}
.scb form .range__container input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: #D31220;
    cursor: pointer;
    border: none;
}
.scb form .range__container input[type=range]::-moz-range-thumb {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: #D31220;
    cursor: pointer;
    border: none;
}
.scb form .range__container input[type=range]::-ms-thumb {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: #D31220;
    cursor: pointer;
    border: none;
}


#EditableTextField_cadfe select {
  appearance: none; 
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='13'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23717171' stroke-width='2' fill='none' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
}

/*Step button disabled*/
.step-button-next:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

/*Range slider*/
.range--container {
    background-color: white;
    border-radius: 4px;
    padding: 15px;
}

.range--text p {
    font-weight: 600;
}

.descContainer span {
    font-size: 14px;
    font-weight: 400 !important;
    color: #7d7d7d;
}

.scb form .range__container{
    margin-top: 40px;
    margin-bottom: 10px;
}

.scb form .range__container input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 5px; 
  border-radius: 5px;
  background: linear-gradient(to right, #D31220 50%, #F6D0D2 50%);
  /*outline: none;*/
  cursor: pointer;
  transition: background 0.2s;
}


.scb form .range__container input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.3),
    0 0 0 6px rgba(246, 208, 210, 0.6);
}

.scb form .range__container input[type=range]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;

  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.3),
    0 0 0 6px rgba(246, 208, 210, 0.6);
}

.range-tooltip {
    position: absolute;
    top: -36px;
    transform: translateX(-50%);
    background: #D31220;
    color: white;
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 12px !important;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;

  &::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #D31220 transparent transparent transparent;
  }
}

.scb form .range__container .range__steps {
  position: absolute;
  top: 50%;      
  left: 0;
  width: 100%;
  height: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;         
}

.scb form .range__container .range__steps {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 1;
    top: -20px;
} 

/*#step-navigation .step-button-wrapper {
  flex: 1;
}*/

#step-navigation .step-button-prev[style*="display: none;"] ~ .step-button-wrapper .step-button-next {
  width: 100%;
}

#step-navigation .step-button-wrapper:has(button[style*="display: none"]) {
  width: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: none;
}

#step-navigation .step-buttons{
  display: flex;
  gap: 3rem;
  width: 580px; 
  margin: 0 auto;
}

/*.Actions{
    width: 580px;
    margin: 0 auto;
}*/

/*section#e107,
section#e120 {
  display: inline-block;
  width: calc(50% - 20px);
  margin: 0 5px;       
  vertical-align: top;
  text-align: left; 
}*/

.step__display img{
    min-width: 100%;
}

.step__display a{
    background-color: var(--color-red);
    border-radius: 4px;
    padding: var(--padding-button);
    display: block;
    color: white;
    padding-top: 3%;
    padding-bottom: 3%;
    text-align: center;
    margin-top: 5%;
    margin-bottom: 5%;
    text-decoration: none;
}

.step__display ul {
  list-style: none; 
  padding-left: 0; 
}

.step__display ul li {
  position: relative;
  padding-left: 30px; 
}

.step__display li{
    margin-left: 0px; 
    margin-top: 2%;
}

.step__display ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 16px;
  height: 12px;
  background-image: url("/assets/Uploads/checkmark.png");
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%);
}

.auszeichnungen img {
    display: inline;
}

.marketingmitteilung p {
    text-align: center;
    padding: 2em;
}

.marketingmitteilung span{
    color: #525252;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
}

.textcontent, .auszeichnungen, .kundenstimmen, .fragen{
    padding: 0px 15px 15px 15px;
}

.error.message{
    max-width: 100% !important;
}

/*Slider*/
.berater--container.slider {
    /*padding: 20px;*/
    margin-bottom: 0;
}

/*.berater-slide {
    padding: 10px;
}*/

.berater-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
    display: flex;
    flex-direction: column;
    min-height: 360px;
    flex: 1;
}

.berater-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    min-height: 100px; 
}

.berater-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    margin-right: 15px;
    overflow: hidden;
    border-radius: 50%;
}

.berater-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.berater-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.berater-specialty {
    margin: 3px 0 0;
    font-size: 14px;
}

.berater-location {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 14px;
}

.berater-location .location-icon {
    margin-right: 5px;
}

.berater-description {
    font-size: 14px;
    line-height: 1.4em;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    margin-bottom: 20px;
}

.berater-description a {
    color: var(--color-red);
    text-decoration: none;
    font-weight: 500;
}

.description-text {
    display: -webkit-box;
    -webkit-line-clamp: 4; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.description-text ul {
    margin-bottom: 1.25rem;
}

.berater-description.expanded .description-text {
    -webkit-line-clamp: unset; 
}

.berater-box .scb-button {
    margin-top: auto;
}

.scb-button a.berater-button {
    /*display: block;
    width: 100%;
    margin-top: 25px;
    padding: 15px 0;
    background-color: var(--color-red);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;*/
    text-align: center;
    font-weight: 600;
    padding: 9px 10px !important;
}


span.comma:last-child {
    display: none;
}

.description-text {
    display: inline;
}

.scb .slick-track {
    display: flex;
    gap: 10px;
    margin-left: -10px;
    margin-right: -10px;
}
.scb .slick-initialized .slick-slide {
    display: flex;
    height: inherit;
}
.scb .slick-dots {
    bottom: -45px;
}

.slick-dots li button:before {
    font-size: 11px !important;
    width: 10px !important;
    opacity: .4 !important;
    color: var(--color-red) !important;
}


.slick-dots li.slick-active button {
    width: 30px !important;
    height: 11px !important;
    border-radius: 20px !important;
    background-color: var(--color-red) !important;
    margin-left: -10px !important;
    line-height: 5px !important;
}

.slick-dots li.slick-active button:before{
    display: none !important;
}

.slick-dots li button {
  transition: all 0.3s ease !important;
}

/* Make the button a positioning context */
.viewed button.step-button-jump {
    position: relative;
}

/* Add a pseudo-element inside the button */
.viewed button.step-button-jump::before {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 10px;
}

.current.viewed button.step-button-jump::before {
    color: var(--color-red);
}

/* The vertical line behind buttons */
#userform-progress .step-buttons::before {
  content: '';
  position: absolute;
  top: 50%;                   
  left: 0;
  right: 0;
  height: 1px;                
  background: #B0AFAF;
  z-index: 0; 
}

#userform-progress .step-buttons::after {
    content: '';
    position: absolute;
    top: 50%;  
    left: 0;
    height: 1px;
    background: black; 
    width: 0%;
    z-index: 0;
    transform: translateY(-50%);
}

#userform-progress .step-button-jump {
    position: relative;
    z-index: 1;
}

#userform-progress .step-buttons::after {
    width: var(--progress-width, 0%);
}

/*Footer*/
.footercontainer{
    padding-top: 50px;
    padding-bottom: 50px;
    width: 80%; 
    margin: 0 auto; 
    display: flex;
    background-color: var(--color-darkgrey);
}

.footer-right, .footer-left{
    width: 50%;
}

.footer-right{
    text-align: right; 
}

.footer .heading{
    font-family: 'demos-next', serif;
    line-height: 120%;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 22px;
    word-break: break-word;
}

.footer p{
    margin-bottom: 25px;
}

.footer a{
    text-decoration: none; 
}

.fa-facebook-f:before
 {
    content: "\f39e";
}

.icon.social{
    display:flex;
    gap: 20px;
}

/*Endformular*/
.userform-progress.hidden {
  visibility: hidden; 
  height: 0;
  overflow: hidden;
}

/*@media (min-width: 900px) {*/
@media (min-width: 1250px) {
    .slick-dots {
        display: none !important;
    }
}
@media (min-width: 750px) {
    form{
        max-width: 580px !important;
        min-width: 100% !important;
    }

    .userform-fields,
    .btn-toolbar {
        max-width: 580px !important;
        margin: 0 auto;
    }
    .scb form input[type=text], .scb form input[type=email], .scb form input[type=password], .scb form select, .scb form textarea{
        min-width: 580px; 
    }   
}

/*@media (max-width: 409px) {
    #step-navigation .step-buttons {
        flex-wrap: wrap;
        gap: 0;
    }
}*/

@media (max-width: 749px) {
    #step-navigation .step-buttons {
        width: 100%;
        flex-wrap: wrap;
        column-gap: 3rem;
        row-gap: 0;
    }
}

@media(max-width: 900px){
    
    /*section#e107,
    section#e120 {
    display: inline-block;
    width: 100%;
    margin: 0 5px;       
    vertical-align: top;
    text-align: left; 
    }*/

    /*.scb-button{
    padding-top: 3%;
    padding-bottom: 3%;
    }*/

    .pb__elements__awardelement {
        margin-right: 0%;
    }   

    .userform-progress .step-buttons .step-button-wrapper .step-button-jump {
    padding: 0 10px;
    }

    .pb__elements__containerelement {
        padding: 0 2%;
    }

    .footercontainer {
        padding-top: 25px;
        padding-bottom: 25px;
        width: 100%;
        flex-direction: column;
    }

    .footer-right, .footer-left{
        width: 100%;
    }

    .footer-right{
        margin-top: 25px;
        text-align: left;
    }

    .footer-right ul li{
        margin-bottom: 15px;
    }

    .berater--container.slider{
        padding: 0; 
    }

    .slick-track
    {
        display: flex !important;
    }

    .slick-slide
    {
        height: inherit !important;
    }

    .berater-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .berater-image {
        margin-right: 0;
        margin-bottom: 10px;
    }
}