

/*

    Diese Datei beinhaltet alle Styles der Komponenten.
    Jede Komponente wird am Beginn mit der Bezeichnung in Uppercase gestartet.
    Jede Zeile muss mit dem HTML Element und der Komponenten-Bezeichnung ( zb a.tf-button ) beginnen.

*/



/* CONTENT */

section.tf-content {
    padding-top: 0px;
    padding-bottom: 0px;
    font-size: 1.2rem;
    line-height: 1.7rem;
    font-weight: 300;
    overflow: visible;
}

section.tf-content.grey {
    background-color: var(--background-grey);
}

section.tf-content.lightblue {
    background-color: var(--light-blue);
}

section.tf-content.blue {
    background-color: var(--textcolor);
    color: white;
}

section.tf-content > .wrapper {
    position: relative;
    margin: auto;
    width: min( 90vw, 1400px );
    padding-top: 4rem;
    padding-bottom: 4rem;
}

section.tf-content.small-padding > .wrapper {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

section.tf-content.compact-centered > .wrapper {
    max-width: 950px;
}

section.tf-content > .wrapper > *:not(:first-child) {
    margin-top: 2rem;
}

section.tf-content > .wrapper > *:not(:last-child) {
    margin-bottom: 2rem;
}

section.tf-content > .wrapper > *.no-margin-top {
    margin-top: 0px;
}

section.tf-content > .wrapper > *.no-margin-bottom {
    margin-bottom: 0px;
}

section.tf-content > .wrapper h2 {
    letter-spacing: -0.01em;
    font-size: 2rem;
    line-height: 2.5rem;
    margin-top: -0.4rem;
    margin-bottom: calc( 3rem - 0.4rem );
    max-width: 1000px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-wrap: balance;
    font-weight: bold;
}

section.tf-content > .wrapper h2.centered {
    max-width: unset;
    justify-content: center;
    text-align: center;
}

section.tf-content > .wrapper h2.centered.compact {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/*section.tf-content > .wrapper h2.no-margin-top {
    margin-top: 0px;
}*/

section.tf-content > .wrapper h2.light {
    font-size: 1.9rem;
    font-weight: 300;
}

section.tf-content > .wrapper h2:last-child {
    margin-bottom: -0.4rem;
}

section.tf-content > .wrapper h2 img,
section.tf-content > .wrapper h2 svg {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

section.tf-content > .wrapper h3 {
    font-size: 1.5rem;
    line-height: 1.875rem;
    letter-spacing: -0.01em;
    margin-top: -0.2rem;
    margin-bottom: calc( 2rem - 0.2rem );
    max-width: 1000px;
    font-weight: bold;
    text-wrap: balance;

    display: flex;
    align-items: center;
    gap: 1rem;
}

section.tf-content > .wrapper h3.centered {
    flex-direction: column;
    text-align: center;
}

section.tf-content > .wrapper h3.light {
    font-weight: 300;
}

section.tf-content > .wrapper h3.centered.compact {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

section.tf-content > .wrapper h3 img,
section.tf-content > .wrapper h3 svg {
    display: block;
    width: 2rem;
    height: 2rem;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

section.tf-content > .wrapper h3.centered img,
section.tf-content > .wrapper h3.centered svg {
    width: 3rem;
    height: 3rem;
}

section.tf-content > .wrapper h3 .thin {
    font-weight: 300;
}

section.tf-content > .wrapper h4 {
    font-size: 1.2rem;
    line-height: 1.7rem;
    font-weight: bold;
    max-width: 1000px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

section.tf-content > .wrapper h4 img,
section.tf-content > .wrapper h4 svg {
    fill: var( --textcolor );
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

section.tf-content > .wrapper h4:not(:first-child) {
    margin-top: 3rem;
}

section.tf-content > .wrapper h4.numbered {
    display: flex;
    gap: 1rem;
    align-items: center;
}

section.tf-content > .wrapper h4.numbered.red {
    color: var(--main-color);
}

section.tf-content > .wrapper h4.numbered .number {
    background-color: var(--textcolor);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.tf-content > .wrapper h4.numbered.red .number {
    background-color: var(--main-color);
}

section.tf-content > .wrapper h4.centered {
    max-width: unset;
    justify-content: center;
    text-align: center;
}

section.tf-content > .wrapper p, div.tf-modal div.wrapper div.content div.tf-impulse div.description div.scrollwrapper p {
    max-width: 1000px;
    font-size: 1.2rem;
    line-height: 1.7rem;
    font-weight: 300;
}

section.tf-content > .wrapper p.centered {
    max-width: unset;
    text-align: center;
}

section.tf-content > .wrapper p.sub-headline {
    margin-top: -1rem !important;
    margin-bottom: 2.5rem !important;
}

div.tf-modal div.wrapper div.content div.tf-impulse div.description div.scrollwrapper h3.teaser-headline {
    margin-top: 15em;
    margin-bottom: 0.5em;
}

section.tf-content > .wrapper p:not(:first-child) {
    margin-top: 1.7rem;
}

section.tf-content div.tf-cardgrid div.tf-card p {
    margin-top: 0rem;
}


section.tf-content > .wrapper p:not(:last-child) {
    margin-bottom: 1.7rem;
}

section.tf-content > .wrapper p + .tf-card {
    margin-top: 3rem;
}

section.tf-content > .wrapper p.small {
    font-size: 1rem;
    line-height: 1.4rem;
}

section.tf-content > .wrapper p.smaller-bottom-margin{
    margin-bottom: 0em;
}

section.tf-content > .wrapper p.smaller-bottom-margin + ul:not(:first-child) {
    margin-top: 1.5rem;
}

section.tf-content > .wrapper p.smaller-bottom-margin + ul.compact {
    margin-top: 0.5rem;
}

section.tf-content > .wrapper p.small:not(:first-child) {
    margin-top: 1.0rem;
}

section.tf-content > .wrapper p.small:not(:last-child) {
    margin-bottom: 1.0rem;
}

section.tf-content > .wrapper p.balanced {
    text-wrap: balance;
}

section.tf-content > .wrapper p.separated {
    margin-top: 2rem;
    padding-top: 1.8rem;
    border-top: var( --border-thinline-black );
}

section.tf-content > .wrapper ul {
    max-width: 1000px;
}

section.tf-content > .wrapper ul.compact:not(:first-child) {
    margin-top: 0rem;
}

section.tf-content > .wrapper ul:not(:first-child) {
    margin-top: 2rem;
}

section.tf-content > .wrapper ul:not(:last-child) {
    margin-bottom: 2rem;
}

section.tf-content > .wrapper ul li + li {
    margin-top: 1.5rem;
}

section.tf-content > .wrapper ul.compact li + li {
    margin-top: 0.5rem;
}


section.tf-content > .wrapper ul.checkmark_list,
section.tf-content > .wrapper ul.checkmark-list {
    list-style: none;
}

section.tf-content > .wrapper ul.checkmark-list.small {
    font-size: 1rem;
    line-height: 1.4rem;
}

section.tf-content > .wrapper ul.checkmark-list.compact li:not(:first-child) {
    margin-top: 0.5rem;
}

section.tf-content > .wrapper ul .checkmark {
    padding-left: calc( 20px + 1rem );
    position: relative;
}

section.tf-content > .wrapper ul.checkmark-list.compact .checkmark {
    padding-left: calc( 20px + 0.75rem );
}

section.tf-content > .wrapper ul.checkmark-list.small .checkmark {
    padding-left: calc( 20px + 0.5rem );
}

section.tf-content > .wrapper ul .checkmark::before {
    content: '';
    background-size: 20px;
    background-image: url(/img/Icons/Checkmark_red.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: 3px;
    left: 0;
    height: 20px;
    width: 20px;
}

section.tf-content > .wrapper ul.checkmark-list.small .checkmark::before {
    top: 1px;
}

section.tf-content > .wrapper img {
    display: block;
    border-radius: none;
    width: 100%;
    height: auto;
    padding: 0px;
    margin: 0px;
}

section.tf-content > .wrapper img:not(:first-child) {
    margin-top: 2rem;
}

section.tf-content > .wrapper img:not(:last-child) {
    margin-bottom: 2rem;
}

section.tf-content .tf-button + .tf-button {
    margin-top: 2rem;
}

section.tf-content .tf-card + .tf-button {
    margin-top: 2rem;
}

section.tf-content > .wrapper h2 + div.tf-columns:not(:first-child) {
    margin-top: 0rem;
}

section.tf-content + section.tf-content > .wrapper {
    border-top: var( --border-thinline-black );
}

section.tf-content:not( .grey ) + section.tf-content.grey > .wrapper,
section.tf-content:not( .lightblue ) + section.tf-content.lightblue > .wrapper,
section.tf-content:not( .blue ) + section.tf-content.blue > .wrapper,
section.tf-content.lightblue + section.tf-content > .wrapper {
    border-top: none;
}

section.tf-content.not-separated > .wrapper {
    border-top: none !important;
    padding-top: 2rem;
}


@media only screen and (max-width: 550px) {

    section.tf-content > .wrapper h2 {
        font-size: 1.5rem;
        line-height: 1.875rem;
        gap: 1rem;
    }

    section.tf-content > .wrapper h2.light {
        font-size: 1.4rem;
        line-height: 1.875rem;
    }
    
}



/* COLUMNS */

div.tf-columns {
    display: flex;
    gap: 4rem;
}

div.tf-columns.vertical-centered {
    align-items: center;
}

div.tf-columns:not(:first-child) {
    margin-top: 3rem;
}

div.tf-columns:not(:last-child) {
    margin-bottom: 3rem;
}

div.tf-columns .column {
    position: relative;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 0;
}

div.tf-columns .column.content-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

div.tf-columns .column.one-third,
div.tf-columns .column.two-third {
    flex-grow: 0;
    flex-shrink: 1;
}

div.tf-columns .column.one-third {
    flex-basis: 33.33333333%;
}

div.tf-columns .column.two-third {
    flex-basis: 66.66666666%;
}

div.tf-columns .column.one-quarter,
div.tf-columns .column.three-quarter {
    flex-grow: 0;
    flex-shrink: 1;
}

div.tf-columns .column.one-quarter {
    flex-basis: 25%;
}

div.tf-columns .column.three-quarter {
    flex-basis: 75%;
}

div.tf-columns.separated .column:not( :last-child )::before {
    content: "";
    display: block;
    position: absolute;
    right: -2rem;
    top: 0px;
    height: 100%;
    border-left: var( --border-thinline-black );
}

@media only screen and (max-width: 1150px) {

    div.tf-columns {
        flex-direction: column;
        gap: 3rem;
    }
    
    div.tf-columns.separated .column:not( :last-child )::before {
        display: none;
    }

    div.tf-columns .column.content-right {
        align-items: flex-start;
    }

}



/* EXPAND */

div.tf-expand {
    
}

div.tf-expand .tf-expand-default {

}

div.tf-expand .tf-expand-expanded {
    display: none;
}

div.tf-expand .tf-expand-content {
    display: none;
    height: 0px;
    transition: height .3s;
    overflow: hidden;
}

div.tf-expand.state-expanded .tf-expand-default {
    display: none;
}

div.tf-expand.state-expanded .tf-expand-expanded {
    display: block;
}

div.tf-expand .tf-expand-content > .wrapper {
    border-top: var( --border-thinline-black );
    padding-top: 2rem;
    margin-top: 2rem;
    padding-bottom: 0px;
    margin-bottom: 0px;
    width: 100%;
}

div.tf-expand .tf-expand-default .button-replacement,
div.tf-expand .tf-expand-expanded .button-replacement {
    cursor: pointer;
}



/* SLIDER */


div.tf-slider {
    overflow: hidden;    
}

div.tf-slider .strip {
    display: flex;
    transition: transform .4s;
}

div.tf-slider ul.dots {
    position: relative;
    width: 100% !important;
    margin: 0;
    list-style: none;
    max-width: none;
    display: flex;
    justify-content: center;
    height: 50px;
    align-items: center;
    margin-top: 2rem !important;
    margin-bottom: 0px !important;
}

div.tf-slider ul.dots.disabled {
    opacity: .2;
}

div.tf-slider ul.dots li {
    margin: 0px;
    position: relative;
}

div.tf-slider ul.dots li + li {
    margin-top: 0px;
}

div.tf-slider ul.dots li {
    width: 1.25rem;
    height: 1.25rem;
}

div.tf-slider ul.dots li button {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-radius: 50%;
    border: none;
    left: 0px;
    top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

div.tf-slider ul.dots.disabled li button {
    cursor: default;
}

div.tf-slider ul.dots li button::before {
    content: "";
    display: block;
    width: 0.25rem;
    height: 0.25rem;
    background-color: black;
    border-radius: 50%;
    opacity: 0.2;
    transition: opacity .2s;
}

div.tf-slider ul.dots li.selected button::before {
    opacity: 1;
}

div.tf-slider .arrows {
    position: absolute;
    height: 50px;
    width: 50px;
    background-color: transparent;
    border: var( --border-thinoutline-black );
    border-radius: 50%;
    bottom: 0px;
    cursor: pointer;
    transition: background-color .2s, border .2s, opacity .2s;
}



div.tf-slider .arrows:not( .disabled ):hover {
    background-color: var( --textcolor );
}

div.tf-slider .arrows.disabled {
    opacity: 0.2;
    pointer-events: none;
}

div.tf-slider .arrows.left {
    left: 0px;
}

div.tf-slider .arrows.right {
    left: calc( 50px + 1rem );
}

div.tf-slider .arrows::before {
    content: "";
    display: block;
    position: absolute;
    width: 14px;
    height: 14px;
    rotate: 45deg;
    top: 17px;
    transition: border-color .2s;
}

div.tf-slider .arrows.left::before {
    right: 14px;
    border-left: 2px solid var( --textcolor );
    border-bottom: 2px solid var( --textcolor );
}

div.tf-slider .arrows.right::before {
    left: 14px;
    border-right: 2px solid var( --textcolor );
    border-top: 2px solid var( --textcolor );
}

div.tf-slider .arrows:hover::before {
    border-color: white;
}

@media only screen and (max-width: 550px) {

    div.tf-slider ul.dots {
        margin-top: calc( 1rem + 50px + 2rem ) !important;
    }
    
    div.tf-slider .arrows {
        bottom: calc( 50px + 1rem );
    }
    
    div.tf-slider .arrows.left {
        left: calc( 50% - 50px - 0.5rem );
    }
    
    div.tf-slider .arrows.right {
        left: calc( 50% + 0.5rem );
    }

}


/* IMAGE WITH ICON */

div.tf-image-with-icon {
    margin-bottom: 2rem;
}

div.tf-image-with-icon img {
    margin-bottom: 0px !important;
    border-radius: 1rem;
}

div.tf-image-with-icon .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    height: 4rem;
    width: 4rem;
    background-color: white;
    margin-top: -2rem;
    position: relative;
    border-radius: 50%;
    box-shadow: var( --box-shadow-card );
}

div.tf-image-with-icon .icon-wrapper img {
    border-radius: 0px;
    margin-bottom: 0;
    width: 2.5rem;
    height: 2.5rem;
}

