/* 
    Created on : 01.04.2025, 07:56:42
    Author     : bade
*/

/* use light colors in dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light;
    }
}
:root {
    color-scheme: only light;
}

.special_amp {
    font-family: inherit;
    font-style: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit !important;
    display:inline !important;
}

/* min-height avia-section */
#top .avia-section {
    min-height:0;
}

/**************
* Allgemeines
**************/
div#main {
    background-color:var(--enfold-main-color-bg);
}
* p {
    line-height:1.4em;
}

/* Bilder Slideshow ohne border-radius */
.avia-slideshow li img {
    border-radius: 0;
}

/********************************
* Transparenter Header und Menü
********************************/
.header_bg {
    opacity: 1;
}
.header_color.av_header_transparency .main_menu .av-main-nav > li > a,
#top .header_color.av_header_transparency .main_menu ul:first-child > li.current-menu-item > a,
#top .header_color.av_header_transparency .main_menu ul:first-child > li.current_page_item > a,
#top .header_color.av_header_transparency .main_menu ul:first-child > li > a:hover {
    color:#ffffff;
    opacity:1;
}
#top .header_color .main_menu ul:first-child > li a:hover,
#top .header_color .main_menu ul:first-child > li a:focus,
#top .header_color .main_menu ul:first-child > li.current-menu-item > a,
#top .header_color .main_menu ul:first-child > li.current_page_item > a {
    color:var(--enfold-header-color-meta);
}
#top .av_header_transparency .avia-menu-fx {
    bottom:30%;
    left:10%;
    width:80%;
}
.avia-menu-fx {
    height:4px;
    bottom:30%;
    left:10%;
    width:80%;
}
@media only screen and (min-width: 990px) {
    .main_menu {
        left:180px;
        right:0;
    }
    .main_menu > .av-main-nav-wrap {
        width:100%;
    }
    .main_menu > .av-main-nav-wrap > ul {
        display:flex;
        width:100%;
    }
    .main_menu > .av-main-nav-wrap > ul li.av-language-switch-item {
        order:2;
    }
    .main_menu > .av-main-nav-wrap > ul li.sbb-menu-contact {
        order:3;
        margin-left:1em;
    }
    .main_menu > .av-main-nav-wrap > ul li.sbb-menu-call {
        order:4;
    }
    .main_menu > .av-main-nav-wrap > ul li.sbb-menu-contact .avia-menu-fx,
    .main_menu > .av-main-nav-wrap > ul li.sbb-menu-call .avia-menu-fx {
        display:none;
    }
    .main_menu > .av-main-nav-wrap > ul li.sbb-menu-call + li.av-language-switch-item,
    .main_menu > .av-main-nav-wrap > ul li.menu-item-language + li.av-language-switch-item {
        margin-left:auto;
    }
}
#top .header_color .main_menu ul:first-child > li.sbb-menu-contact a,
#top .header_color .main_menu ul:first-child > li.sbb-menu-contact a:hover,
#top .header_color .main_menu ul:first-child > li.sbb-menu-contact a:focus,
#top .header_color .main_menu ul:first-child > li.sbb-menu-contact.current-menu-item > a,
#top .header_color .main_menu ul:first-child > li.sbb-menu-contact.current_page_item > a {
    color:#ffffff;
}
.main_menu > .av-main-nav-wrap > ul li.sbb-menu-contact > a > .avia-menu-text {
    padding:calc(.5em - 2px) calc(1em - 2px);
    background-color: var(--enfold-main-color-primary);
    border-radius:1px;
    transition:all .4s ease-in-out;
    border:2px solid var(--enfold-main-color-primary);
}
.av_header_transparency .main_menu > .av-main-nav-wrap > ul li.sbb-menu-contact > a:hover > .avia-menu-text {
    border-color:#ffffff;
}
.main_menu > .av-main-nav-wrap > ul li.sbb-menu-contact > a:hover > .avia-menu-text {
    color:var(--enfold-main-color-primary);
    background:#ffffff;
    border-color:var(--enfold-main-color-primary);
}
.main_menu > .av-main-nav-wrap > ul li.sbb-menu-call > a {
    padding: 0;
    margin-left:.25em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: -99999px;
    font-family: 'entypo-fontello';
}
.main_menu > .av-main-nav-wrap > ul li.sbb-menu-call > a::before {
    transition:all .4s ease-in-out;
    text-indent:0;
    border: 2px solid var(--enfold-main-color-primary);
    border-radius: 50%;
    text-align:center;
    font-size: 1.25em;
    width: 1.6em;
    height: 1.6em;
    min-width: 1.6em;
    line-height:1.6em;
    content:"\e854";
}
.main_menu > .av-main-nav-wrap > ul li.sbb-menu-call > a:hover::before {
    background:var(--enfold-main-color-primary);
    color: #fff;
}
/* Sprachumschalter von Flaggen auf Kürzel ändern */
.menu-item-language {
    display:none;
}
.av-language-switch-item img {
    display: none;
}
.av-main-nav > li.av-language-switch-item > a {
    font-size: 0;
    padding-left:3px;
    padding-right:3px;
}
/* DE */
.av-language-switch-item.language_de a::before {
    content: "DE";
}
.av-language-switch-item.language_de a::after {
    content: "|";
    padding-left:6px;
}
/* EN */
.av-language-switch-item.language_en a::before {
    content: "EN";
}
/* Styling */
.av-language-switch-item a::before {
    font-size: inherit;
    font-weight: 400;
    color:var(--enfold-header-color-meta);
}
#top .header_color.av_header_transparency .main_menu ul:first-child > li.av-language-switch-item > a::before {
    color:#ffffff;
}

@media only screen and (max-width: 989px) {
    .responsive #top #header.header_color.av_header_transparency .main_menu ul:first-child > li.av-language-switch-item > a {
        padding-left:6px;
    }
    .responsive #top #header.header_color.av_header_transparency .main_menu ul:first-child > li.av-language-switch-item > a::before {
        color:var(--enfold-main-color-primary);
    }
    #top #av-burger-menu-ul {
        vertical-align: top;
    }
    .html_av-overlay-side #top #wrap_all .av-burger-overlay li a {
        padding-top:8px;
        padding-bottom:8px;
    }
}


/*******************************************************
* Aufzählungspunkt in Listen durch SVG-Grafik ersetzen
* bei ol-Listen die Counter durch SVG-Grafik erweitern
*******************************************************/
.sbb-custom-list ul,
.sbb-custom-list ol {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sbb-custom-list ul li,
.sbb-custom-list ol li {
    display: flex;
    align-items: center; /* vertikal mittig zum gesamten li */
    gap: 0.75rem;
    margin-left: 0;
    line-height: 1.2em;
    padding: .5em 0;
}

.sbb-custom-list ul li::before {
    content: "";
    flex: 0 0 2rem;
    margin-top:.15em;
    align-self:flex-start;
    width: 2rem;
    height: 2rem;
    background: url("/wp-content/uploads/2026/04/SBB-Einzelelement_rot_leuchtend.svg") center / contain no-repeat;
}
/* auf rotem Hintergrund die Aufzählungspunkte hell */
.sbb-module-two.main_color .sbb-custom-list ul li::before {
    background: url("/wp-content/uploads/2026/05/SBB-Einzelelement_weiss.svg") center / contain no-repeat;
}

.sbb-custom-list ol li {
    counter-increment:step;
    position:relative;
}
/* SVG-Hintergrund */
.sbb-custom-list ol li::before {
    content: "";
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    background: url("/wp-content/uploads/2026/04/SBB-Einzelelement_rot_leuchtend.svg") center / contain no-repeat;
}
/* auf rotem Hintergrund die Aufzählungspunkte hell */
.sbb-module-two .sbb-custom-list ol li::before {
    background: url("/wp-content/uploads/2026/04/SBB-Einzelelement_dunkelgrau.svg") center / contain no-repeat;
}
/* Zahl darüber */
.sbb-custom-list ol li::after {
    content: counter(step);
    position:absolute;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;

    display: flex;
    align-items: center;
    justify-content: center;

    color:var(--enfold-main-color-primary);
    font-weight: 700;
    font-size: 1.05em;
}
sbb-module-two .sbb-custom-list ol li::after {
    color:#fff;
}
sbb-module-two.alternate_color .sbb-custom-list ol li::after {
    color:var(--enfold-main-color-primary);
}

/**************************************
* Farbwerte als Tabelle bei Produkten
**************************************/
#top .avia_textblock .sbb-color-section {
    margin-top: 1em;
}
#top .avia_textblock .sbb-color-section h3 {
    margin: 1em 0 4px;
    font-size: 24px;
    font-weight: 700;
}
#top .avia_textblock .sbb-color-note {
    margin: 0 0 18px;
    font-size: 14px;
}
#top .avia_textblock .sbb-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
#top .avia_textblock .sbb-color-card {
    padding:8px 12px;
    background: var(--color);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.55);
}
#top .avia_textblock .sbb-color-card span {
    font-size: 13px;
    font-weight: 700;
}
#top .avia_textblock .sbb-color-card strong {
    font-size: 15px;
    font-weight: 700;
}
#top .avia_textblock .sbb-color-card-rainbow {
    background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, violet, red);
}


/***************
* Module Title
***************/
.sbb-module-title > .container {
    z-index:2;
}
.sbb-module-title > .container > .content {
    padding-top:30px;
    padding-bottom:30px;
}
.sbb-module-title .av-special-heading {
}
.sbb-module-title .av-special-heading .av-special-heading-tag {
    color:var(--enfold-main-color-color);
    font-weight: 300;
    text-transform: uppercase;
    hyphens:auto;
}
.sbb-module-title .av-special-heading .av-special-heading-tag > span:not(.special_amp) {
    display:block;
    font-weight: bold;
    color: var(--enfold-main-color-primary);
}
.sbb-module-title .av-special-heading h1.av-special-heading-tag::after,
.sbb-module-title .av-special-heading h2.av-special-heading-tag::after,
.sbb-module-title .av-special-heading h3.av-special-heading-tag::after {
    content: "";
    display: block;
    width: 3.5em;
    height: .2em;
    background: var(--enfold-main-color-primary);
    margin-top: 0.3em;
    margin-left: -.6em;
}
#top .sbb-module-title .av-special-heading .av-subheading {
    margin-top:1em;
    margin-bottom:.8em;
    font-size:1.4em;
    color:#f0f0f0;
    text-transform: none;
    font-weight:normal;
}
#top .sbb-module-title .av-special-heading .av-subheading > p{
    line-height:1.1em;
}
@media only screen and (max-width: 767.9px) {
    .responsive #top #wrap_all .sbb-module-title .template-page.content {
        padding-bottom:10px;
    }
    .responsive #top #wrap_all .sbb-module-title .flex_column {
        margin-bottom: 0;
    }
}
@media only screen and (min-width: 990px) {
    .sbb-module-title > .container > .content {
        padding-top:80px;
        padding-bottom:30px;
    }
    .sbb-module-title .av-special-heading h1.av-special-heading-tag::after,
    .sbb-module-title .av-special-heading h2.av-special-heading-tag::after,
    .sbb-module-title .av-special-heading h3.av-special-heading-tag::after {
        width: 200px;
        height: 10px;
        margin-top: 0.3em;
        margin-left: -.6em;
    }
    #top .sbb-module-title .av-special-heading .av-subheading {
        margin-top:1em;
        margin-bottom:.8em;
        font-size:1.4em;
    }
    #top .sbb-module-title .av-special-heading .av-subheading > p {
        line-height:1.1em;
    }
}


/*******************************************************
* Module Startpage
*******************************************************/
.sbb-module-startpage .av-special-heading .av-special-heading-tag {
    font-weight: normal;
    text-transform: uppercase;
}
.main_color.sbb-module-startpage .av-special-heading .av-special-heading-tag {
    color:#f8f8f8;
}
.sbb-module-startpage .av-special-heading .av-special-heading-tag > span {
    display:block;
    font-weight: bold;
    color:#cccccc;
}
.sbb-module-startpage .av-special-heading h3.av-special-heading-tag::after {
    content: "";
    display: block;
    width: 55px;
    height: 5px;
    margin-top: .4em;
    margin-left: -1.1em;
    background:#cccccc;
}
#top .sbb-module-startpage .av-special-heading .av-subheading {
    margin-top:1em;
    margin-bottom:.8em;
    font-size:1.5em;
    text-transform: uppercase;
    font-weight:bold;
}
#top .sbb-module-startpage .av-special-heading .av-subheading {
    color:var(--enfold-main-color-color);
}
#top .sbb-module-startpage .av-special-heading .av-subheading > p {
    line-height:1.1em;
}
.sbb-module-startpage .av_textblock_section .avia_textblock > h4 {
    text-transform: uppercase;
    line-height:1.1;
    color:#fff;
}
.sbb-module-startpage .av_textblock_section .avia_textblock > p {
    margin:1.5em 0;
    color:#f0f0f0;
}
.sbb-module-startpage .av_textblock_section .avia_textblock > p > strong {
    color:#ffffff;
}
.sbb-module-startpage .sbb-module-startpage-bg {
    width:100%;
    position:absolute;
    opacity:.3;
    top:0;
    left:0;
    padding-right:calc(100vw - 195px * 6.2);
    height:100%;
}
.main_color.sbb-module-startpage .avia-color-theme-color {
    background:transparent;
    border:2px solid var(--enfold-main-color-primary);
    border-radius:2px;
}
@media only screen and (max-width: 479.9px) {
    #top #main .avia-section.sbb-module-startpage .template-page.content {
        margin-top:-60px;
        padding-bottom:0px;
    }
}
@media only screen and (min-width:480px) and (max-width: 989px) {
    #top #main .avia-section.sbb-module-startpage .template-page.content {
        margin-top:-30px;
    }
}
@media only screen and (min-width: 990px) {
    .sbb-module-startpage .av_textblock_section .avia_textblock > h4 {
        color:var(--enfold-main-color-primary);
    }
    .sbb-module-startpage .av_textblock_section .avia_textblock > p {
        padding-right:clamp(0px,30%,200px);
    }

    .sbb-module-startpage .sbb-module-startpage-bg {
        opacity:.6;
        padding-right:calc(100vw - 195px * 6.2);
    }
    .sbb-module-startpage .sbb-module-startpage-col-1st {
        transform:translateY(180px);
    }
    .sbb-module-startpage .sbb-module-startpage-col-2nd .av_textblock_section {
        transform:translateY(-215px);
        margin-bottom:calc(-215px + (215 * (100vw - 990px) / 410));
    }
}
@media only screen and (min-width: 1400px) {
    .sbb-module-startpage .sbb-module-startpage-bg {
        padding-right:15%;
    }
    .sbb-module-startpage .sbb-module-startpage-col-2nd .av_textblock_section {
        transform:translateY(-215px);
        margin-bottom:0;
    }
}


/*******************************************************
* Module Startpage, Selektion
*******************************************************/
@media only screen and (max-width: 767.9px) {
    .sbb-module-startpage-selection .avia-image-container {
        z-index:1;
    }
    .sbb-module-startpage-selection .av-overlay-hover-deactivate .avia-image-overlay-wrap:hover .av-caption-image-overlay-bg {
        opacity: .5 !important;
    }
    .sbb-module-startpage-selection .avia-image-overlay-wrap {
        position: relative;
    }
    .sbb-module-startpage-selection .avia-image-overlay-wrap::before {
        content: "";
        position: absolute;
        left: -30px;
        bottom: -30px;
        width: 100%;
        height: 100%;
        background:var(--enfold-main-color-primary);
        z-index: 0;
    }
    .sbb-module-startpage-selection .avia-image-overlay-wrap img {
        z-index:1;
    }
    .sbb-module-startpage-selection .sbb-module-startpage-selection-right .avia-image-overlay-wrap::before {
        left:30px;
        background:#ffffff;
    }

    .sbb-module-startpage-selection .av_textblock_section,
    .sbb-module-startpage-selection .hr,
    .sbb-module-startpage-selection .avia-button-wrap {
        position:absolute;
        left:0;
        width:100%;
        z-index:2;
    }
    .sbb-module-startpage-selection .av_textblock_section {
        top:15%;
    }
    .sbb-module-startpage-selection h3 {
        font-size:clamp(24px,6vw,42px);
        text-transform: uppercase;
    }
    .sbb-module-startpage-selection .hr {
        top: 32%;
    }
    #top .sbb-module-startpage-selection .hr > .hr-inner {
        border-top-width: 4px;
        width:20%;
    }
    .sbb-module-startpage-selection .avia-button-wrap {
        top:62%;
    }
}
@media only screen and (min-width: 768px) {
    .sbb-module-startpage-selection .entry-content-wrapper {
        display:flex;
        justify-content: center;
    }
    .sbb-module-startpage-selection .avia-image-container {
        z-index:1;
    }
    .sbb-module-startpage-selection .av-overlay-hover-deactivate .avia-image-overlay-wrap:hover .av-caption-image-overlay-bg {
        opacity: .5 !important;
    }
    .sbb-module-startpage-selection .avia-image-overlay-wrap {
        position: relative;
    }
    .sbb-module-startpage-selection .avia-image-overlay-wrap::before {
        content: "";
        position: absolute;
        left: -30px;
        bottom: -30px;
        width: 100%;
        height: 100%;
        background:var(--enfold-main-color-primary);
        z-index: 0;
    }
    .sbb-module-startpage-selection .avia-image-overlay-wrap img {
        z-index:1;
    }
    .sbb-module-startpage-selection .sbb-module-startpage-selection-right .avia-image-overlay-wrap::before {
        left:30px;
        background:#ffffff;
    }

    .sbb-module-startpage-selection .av_textblock_section,
    .sbb-module-startpage-selection .hr,
    .sbb-module-startpage-selection .avia-button-wrap {
        position:absolute;
        left:0;
        width:100%;
        z-index:2;
    }
    .sbb-module-startpage-selection .av_textblock_section {
        top:15%;
    }
    .sbb-module-startpage-selection h3 {
        text-transform: uppercase;
    }
    .sbb-module-startpage-selection .hr {
        top: 40%;
    }
    .sbb-module-startpage-selection .hr > .hr-inner {
        border-top-width: 4px;
    }
    .sbb-module-startpage-selection .avia-button-wrap {
        bottom:12%;
    }
}
@media only screen and (min-width: 990px) {
    .sbb-module-startpage-selection .avia-image-overlay-wrap::before {
        left: -50px;
        bottom: -50px;
    }
    .sbb-module-startpage-selection .sbb-module-startpage-selection-right .avia-image-overlay-wrap::before {
        left:50px;
    }
    .sbb-module-startpage-selection .av_textblock_section {
        top:25%;
    }
    .sbb-module-startpage-selection .hr {
        top: 45%;
    }
    .sbb-module-startpage-selection .hr > .hr-inner {
        border-top-width: 5px;
    }
    .sbb-module-startpage-selection .avia-button-wrap {
        bottom:20%;
    }
}


/*******************************************************
* Module 1, 2, 3
* - Definition Überschriften
* - Definiton Bildbeschriftung im großen Bild
*******************************************************/
.sbb-module-one .av-special-heading .av-special-heading-tag,
.sbb-module-two .av-special-heading .av-special-heading-tag,
.sbb-module-three .av-special-heading .av-special-heading-tag,
.sbb-module-contact-options .av-special-heading .av-special-heading-tag {
    font-weight: normal;
    text-transform: uppercase;
}
.main_color.sbb-module-two.sbb-module-two-ext-bgcolor-light .av-special-heading .av-special-heading-tag {
    color:var(--enfold-main-color-heading);
}
.main_color.sbb-module-two.sbb-module-two-ext-engagement .av-special-heading .av-special-heading-tag {
    color:var(--enfold-main-color-primary);
}
.main_color.sbb-module-one.sbb-module-one-ext-bgcolor-red .av-special-heading .av-special-heading-tag,
.main_color.sbb-module-two .av-special-heading .av-special-heading-tag,
.main_color.sbb-module-three.sbb-module-tab-section-engagement .av-special-heading .av-special-heading-tag {
    color:#ffffff;
}
.sbb-module-one .av-special-heading .av-special-heading-tag > span:not(.special_amp),
.sbb-module-two .av-special-heading .av-special-heading-tag > span:not(.special_amp),
.sbb-module-three .av-special-heading .av-special-heading-tag > span:not(.special_amp),
.sbb-module-contact-options .av-special-heading .av-special-heading-tag > span:not(.special_amp) {
    display:block;
    font-weight: bold;
}
.sbb-module-one .av-special-heading h2.av-special-heading-tag::after,
.sbb-module-one .av-special-heading h3.av-special-heading-tag::after,
.sbb-module-two .av-special-heading h2.av-special-heading-tag::after,
.sbb-module-two .av-special-heading h3.av-special-heading-tag::after,
.sbb-module-three .av-special-heading h3.av-special-heading-tag::after,
.sbb-module-contact-options .av-special-heading h3.av-special-heading-tag::after,
.sbb-module-two.main_color.sbb-module-two-ext-bgcolor-light .av-special-heading h2.av-special-heading-tag::after,
.sbb-module-two.main_color.sbb-module-two-ext-bgcolor-light .av-special-heading h3.av-special-heading-tag::after,
.sbb-module-two.main_color.sbb-module-two-ext-engagement .av-special-heading h2.av-special-heading-tag::after,
.sbb-module-two.main_color.sbb-module-two-ext-engagement .av-special-heading h3.av-special-heading-tag::after {
    content: "";
    display: block;
    width: 125px;
    height: 5px;
    background: var(--enfold-main-color-primary);
    margin-top: .4em;
    margin-left: -1.1em;
}
.sbb-module-one.main_color.sbb-module-one-ext-bgcolor-red .av-special-heading h2.av-special-heading-tag::after,
.sbb-module-one.main_color.sbb-module-one-ext-bgcolor-red .av-special-heading h3.av-special-heading-tag::after,
.sbb-module-two.main_color .av-special-heading h2.av-special-heading-tag::after,
.sbb-module-two.main_color .av-special-heading h3.av-special-heading-tag::after,
.sbb-module-three.main_color .av-special-heading h2.av-special-heading-tag::after,
.sbb-module-three.main_color .av-special-heading h3.av-special-heading-tag::after,
.sbb-module-contact-options.main_color .av-special-heading h2.av-special-heading-tag::after,
.sbb-module-contact-options.main_color .av-special-heading h3.av-special-heading-tag::after {
    background:#ffffff;
}
.sbb-module-two.main_color.sbb-module-two-ext-engagement .av-special-heading h2.av-special-heading-tag::after,
.sbb-module-two.main_color.sbb-module-two-ext-engagement .av-special-heading h3.av-special-heading-tag::after {
    background:#c8c8c8;
}
#top .sbb-module-one .av-special-heading .av-subheading,
#top .sbb-module-two .av-special-heading .av-subheading,
#top .sbb-module-three .av-special-heading .av-subheading,
#top .sbb-module-contact-options .av-special-heading .av-subheading {
    margin-top:1em;
    margin-bottom:.8em;
    font-size:1.5em;
    text-transform: uppercase;
    font-weight:bold;
}
@media only screen and (max-width: 767.9px) {
    #top .sbb-module-one .av-special-heading .av-subheading,
    #top .sbb-module-two .av-special-heading .av-subheading,
    #top .sbb-module-three .av-special-heading .av-subheading,
    #top .sbb-module-contact-options .av-special-heading .av-subheading {
        font-size:1.2em;
    }
}
#top .sbb-module-one .av-special-heading .av-subheading,
#top .sbb-module-two .av-special-heading .av-subheading {
    color:var(--enfold-main-color-color);
}
#top .sbb-module-one.alternate_color .av-special-heading .av-subheading,
#top .sbb-module-two.alternate_color .av-special-heading .av-subheading {
    color:var(--enfold-alternate-color-color);
}
#top .sbb-module-two.sbb-module-two-ext-engagement .av-special-heading .av-subheading,
#top .sbb-module-three.sbb-module-tab-section-engagement .av-special-heading .av-subheading {
    color:var(--enfold-main-color-primary);
}
#top .sbb-module-one .av-special-heading .av-subheading > p,
#top .sbb-module-two .av-special-heading .av-subheading > p,
#top .sbb-module-three .av-special-heading .av-subheading > p,
#top .sbb-module-contact-options .av-special-heading .av-subheading > p {
    line-height:1.1em;
    position:relative;
    padding-right:25%;
}
/* Referenzseite (ID 23) */
#top.page-id-23 .sbb-module-one .av-special-heading .av-subheading > p,
#top.page-id-23 .sbb-module-two .av-special-heading .av-subheading > p,
#top.page-id-23 .sbb-module-three .av-special-heading .av-subheading > p,
#top.page-id-23 .sbb-module-contact-options .av-special-heading .av-subheading > p {
    padding-right:0;
    hyphens: auto;
}

#top .sbb-module-one .av-special-heading .av-subheading > p > span,
#top .sbb-module-two .av-special-heading .av-subheading > p > span,
#top .sbb-module-three .av-special-heading .av-subheading > p > span,
#top .sbb-module-contact-options .av-special-heading .av-subheading > p > span {
    position:absolute;
    top:0;
    left:75%;
    text-align:left;
    display:inline-block;
}
@media only screen and (max-width: 767.9px) {
    #top .sbb-module-three.sbb-module-tab-section-service .av-special-heading .av-subheading > p {
        hyphens:auto;
        padding-right:125px;
    }
    #top .sbb-module-three.sbb-module-tab-section-service .av-special-heading .av-subheading > p > span {
        left:auto;
        right:-20px;
    }
}
#top .sbb-module-one .av-special-heading .av-subheading > p > span > span,
#top .sbb-module-two .av-special-heading .av-subheading > p > span > span,
#top .sbb-module-three .av-special-heading .av-subheading > p > span > span,
#top .sbb-module-contact-options .av-special-heading .av-subheading > p > span > span {
    color:#fff;
    background-color:var(--enfold-main-color-primary);
    font-size:.5em;
    line-height:1.4em;
    padding:.4em .8em;
    white-space: nowrap;
}
#top .sbb-module-two .av-special-heading .av-subheading > p > span > span,
#top .sbb-module-three .av-special-heading .av-subheading > p > span > span,
#top .sbb-module-contact-options .av-special-heading .av-subheading > p > span > span {
    background-color:#fff;
    color:var(--enfold-main-color-primary);
}

.sbb-module-one .av_textblock_section .avia_textblock > p,
.sbb-module-two .av_textblock_section .avia_textblock > p,
.sbb-module-three .av_textblock_section .avia_textblock > p,
.sbb-module-contact-options .av_textblock_section .avia_textblock > p,
.sbb-module-two.main_color.sbb-module-two-ext-bgcolor-light .av_textblock_section .avia_textblock > p,
.sbb-module-two.main_color.sbb-module-two-ext-engagement .av_textblock_section .avia_textblock > p {
    margin:1.5em 0;
}
.sbb-module-one .av_textblock_section .avia_textblock > p,
.sbb-module-two .av_textblock_section .avia_textblock > p,
.sbb-module-two.main_color.sbb-module-two-ext-bgcolor-light .av_textblock_section .avia_textblock > p,
.sbb-module-one .av_textblock_section .avia_textblock > ul,
.sbb-module-two .av_textblock_section .avia_textblock > ul,
.sbb-module-two.main_color.sbb-module-two-ext-bgcolor-light .av_textblock_section .avia_textblock > ul {
    color:var(--enfold-alternate-color-color);
}
.sbb-module-one.main_color.sbb-module-one-ext-bgcolor-red .av_textblock_section .avia_textblock > p,
.sbb-module-two.main_color .av_textblock_section .avia_textblock > p,
.sbb-module-two.main_color .av_textblock_section .avia_textblock > p > a,
.sbb-module-one.main_color.sbb-module-one-ext-bgcolor-red .av_textblock_section .avia_textblock > ul,
.sbb-module-two.main_color .av_textblock_section .avia_textblock > ul {
    color:#ffffff;
}
.sbb-module-one .av_textblock_section .avia_textblock > p > strong,
.sbb-module-two .av_textblock_section .avia_textblock > p > strong,
.sbb-module-two.main_color.sbb-module-two-ext-bgcolor-light .av_textblock_section .avia_textblock > p > strong {
    color:var(--enfold-main-color-bg);
}
.sbb-module-one.main_color.sbb-module-one-ext-bgcolor-red .av_textblock_section .avia_textblock > p > strong,
.sbb-module-two .av_textblock_section .avia_textblock > p > strong {
    color:#ffffff;
}
.sbb-module-two.alternate_color .av_textblock_section .avia_textblock > p,
.sbb-module-two.alternate_color .av_textblock_section .avia_textblock > p > strong {
    color:var(--enfold-alternate-color-color);
}
.sbb-module-two.main_color.sbb-module-two-ext-engagement .av_textblock_section .avia_textblock > p,
.sbb-module-two.main_color.sbb-module-two-ext-engagement .av_textblock_section .avia_textblock > ul,
.sbb-module-two.main_color.sbb-module-two-ext-engagement .av_textblock_section .avia_textblock > p > strong {
    color:var(--enfold-alternate-color-color);
}

/* Bildbeschriftung im großen Bild */
#top .sbb-module-one .avia-image-container .av-caption-image-overlay-bg,
#top .sbb-module-two .avia-image-container .av-caption-image-overlay-bg {
}
#top .sbb-module-one .avia-image-container .avia-image-overlay-wrap:hover .av-caption-image-overlay-bg,
#top .sbb-module-two .avia-image-container .avia-image-overlay-wrap:hover .av-caption-image-overlay-bg {
    opacity: 1 !important;
}
.sbb-module-one .av-image-caption-overlay-position .av-image-caption-overlay-center,
.sbb-module-two .av-image-caption-overlay-position .av-image-caption-overlay-center {
    text-align: right;
    padding:0 3em;
}
.sbb-module-one .av-image-caption-overlay-position .av-image-caption-overlay-center p,
.sbb-module-two .av-image-caption-overlay-position .av-image-caption-overlay-center p {
    font-size:11px;
    line-height:1.3em;
}
.sbb-module-one .av-image-caption-overlay-position .av-image-caption-overlay-center p strong,
.sbb-module-two .av-image-caption-overlay-position .av-image-caption-overlay-center p strong {
    font-size:14px;
    color:#fff;
    text-transform:uppercase;
    letter-spacing:.025em;
}


/*******************************************************
* Module 1
* - großes Bild links, Text rechts
*******************************************************/
.avia-section.sbb-module-one {
    position:relative;
    z-index:2;
}

@media only screen and (max-width: 989.9px) {
    .avia-section.sbb-module-one.avia-section-large .content {
        padding-top:20px;
        padding-bottom:20px;
    }
    .sbb-module-one:not(.sbb-module-certificates):not(.sbb-module-job-profile) .template-page.content .flex_column.avia-builder-el-last {
        background:var(--enfold-alternate-color-bg);
        padding:2em;
    }
    .sbb-module-one.sbb-module-one-ext-bgcolor-red :not(.sbb-module-certificates):not(.sbb-module-job-profile) .template-page.content .flex_column.avia-builder-el-last {
        background:var(--enfold-main-color-primary);
        padding:2em;
    }
    .sbb-module-one:not(.sbb-module-certificates) .template-page.content .flex_column.avia-builder-el-last::before {
        display:none;
        content:"";
        position:absolute;
        visibility: visible;
        top:0;
        right:-100%;
        width:100%;
        height:100%;
        background:var(--enfold-alternate-color-bg);
    }

    .sbb-module-one:not(.sbb-module-certificates) .flex_column.avia-builder-el-first .avia-image-overlay-wrap {
        position:relative;
    }
    .sbb-module-one:not(.sbb-module-certificates) .flex_column.avia-builder-el-first .avia-image-overlay-wrap img {
        width:100%;
        z-index: 1;
    }
    .sbb-module-one .flex_column.avia-builder-el-first .avia-slideshow {
        overflow:visible;
    }
    .sbb-module-one:not(.sbb-module-certificates) .flex_column.avia-builder-el-first .avia-image-overlay-wrap::before,
    .sbb-module-one .flex_column.avia-builder-el-first .avia-slideshow::before {
        display:none;
        content: "";
        position: absolute;
        left: 30px;
        bottom: -30px;
        width: 100%;
        height: 100%;
        background: var(--enfold-alternate-color-bg);
        z-index: 0;
    }
}
@media only screen and (max-width: 767.9px) {
    .sbb-module-one:not(.sbb-module-certificates) .flex_column.avia-builder-el-first .avia-image-overlay-wrap::before,
    .sbb-module-one .flex_column.avia-builder-el-first .avia-slideshow::before {
        display:none;
    }
}
@media only screen and (min-width: 990px) {
    .sbb-module-one.main_color {
        background:linear-gradient(to right,transparent 50%,var(--enfold-alternate-color-bg) 50%);
    }
    .sbb-module-one.main_color > .container > .content {
        background:linear-gradient(to right,transparent 13%,var(--enfold-alternate-color-bg) 13%);
    }
    .sbb-module-one.main_color.sbb-module-one-ext-bgcolor-red {
        background:linear-gradient(to right,transparent 50%,var(--enfold-main-color-primary) 50%);
    }
    .sbb-module-one.main_color.sbb-module-one-ext-bgcolor-red > .container > .content {
        background:linear-gradient(to right,transparent 13%,var(--enfold-main-color-primary) 13%);
    }
    .sbb-module-one .av-special-heading h3.av-special-heading-tag {
        font-size:clamp(25px,2.6vw,36px);
    }
}


/*******************************************************
* Module 1 (Erweiterung Jobprofile)
* - großes Bild links, Text rechts
*******************************************************/
#top .sbb-module-one.sbb-module-job-profile .avia-image-container .av-caption-image-overlay-bg {
}
#top .sbb-module-one.sbb-module-job-profile .avia-image-container .avia-image-overlay-wrap:hover .av-caption-image-overlay-bg {
    opacity: 1 !important;
}
.sbb-module-one.sbb-module-job-profile .av-image-caption-overlay-position .av-image-caption-overlay-center {
    text-align: center;
    padding:0 clamp(1.6em,1vw,3em);
}
.sbb-module-one.sbb-module-job-profile .av-image-caption-overlay-position .av-image-caption-overlay-center p {
    font-size:clamp(23px,2.6vw,36px);
    line-height:1.2em;
    text-transform:uppercase;
    position: relative;
    top:-.5em;
}
.sbb-module-one.sbb-module-job-profile .av-image-caption-overlay-position .av-image-caption-overlay-center p strong {
    color:#fff;
    font-size:inherit;
    letter-spacing: inherit;
}
.sbb-module-one.sbb-module-job-profile .av-image-caption-overlay-position .av-image-caption-overlay-center p::after {
    content: "";
    display: block;
    width: 40%;
    min-width:50px;
    height: 5px;
    background: var(--enfold-main-color-primary);
    position: relative;
    top: .35em;
    left: 50%;
    transform: translateX(-50%);
}
#top .sbb-module-two.sbb-module-job-profile .avia-icon-list-container {
    margin-top:1em;
    margin-bottom:1.25em;
}
#top .sbb-module-two.sbb-module-job-profile .avia-icon-list > li {
    margin:0 0 1.25em 0;
    font-size:1.25em;
    position: relative;
    left:-1.9em;
}
#top .sbb-module-two.sbb-module-job-profile .avia-icon-list a {
    text-decoration: none;
    transition:all .25s ease-in-out;
}
#top .sbb-module-two.sbb-module-job-profile .avia-icon-list a:hover {
    opacity: .8;
}
@media only screen and (max-width: 767.9px) {
    #top .sbb-module-one.sbb-module-job-profile .avia-image-container {
        max-width:350px;
        margin:clamp(0px,3vw,20px) auto 0 auto;
    }
}

/*******************************************************
* Module 2
* - großes Bild rechts, Text links
*******************************************************/
.sbb-module-two .av-image-caption-overlay-position .av-image-caption-overlay-center {
    text-align: left;
}
.avia-section.sbb-module-two {
    position:relative;
    z-index:1;
}
.avia-section.sbb-module-two.sbb-module-two-ext-tofront {
    z-index:5;
}

@media only screen and (max-width: 989.9px) {
    .avia-section.sbb-module-two.avia-section-large .content {
        padding-top:20px;
        padding-bottom:20px;
    }
    .sbb-module-two.main_color .template-page.content .flex_column.avia-builder-el-first {
        background:var(--enfold-main-color-primary);
        padding:2em;
    }
    .sbb-module-two.alternate_color {
        background-color:var(--enfold-main-color-bg);
    }
    .sbb-module-two.alternate_color .template-page.content .flex_column.avia-builder-el-first,
    .sbb-module-two.main_color.sbb-module-two-ext-engagement .template-page.content .flex_column.avia-builder-el-first {
        background:#ffffff;
        padding:2em;
    }
    .sbb-module-two.main_color .template-page.content .flex_column.avia-builder-el-first::before {
        display:none;
        content:"";
        position:absolute;
        visibility: visible;
        top:0;
        left:-100%;
        width:100%;
        height:100%;
        background:var(--enfold-main-color-primary);
    }
    .sbb-module-two.alternate_color .template-page.content .flex_column.avia-builder-el-first::before {
        background:#ffffff;
    }

    .sbb-module-two .flex_column.avia-builder-el-last .avia-image-overlay-wrap {
        position:relative;
    }
    .sbb-module-two .flex_column.avia-builder-el-last .avia-image-overlay-wrap img {
        z-index: 1;
        width:100%;
    }
    .sbb-module-two.main_color .flex_column.avia-builder-el-last .avia-image-overlay-wrap::before {
        display:none;
        content: "";
        position: absolute;
        left: -30px;
        bottom: -30px;
        width: 100%;
        height: 100%;
        background: var(--enfold-main-color-primary);
        z-index: 0;
    }
    .sbb-module-two.alternate_color .flex_column.avia-builder-el-last .avia-image-overlay-wrap::before {
        background:#ffffff;
    }
}
@media only screen and (min-width: 990px) {
    .sbb-module-two.main_color {
        background:linear-gradient(to right,var(--enfold-main-color-primary) 50%,transparent 50%);
    }
    .sbb-module-two.main_color > .container > .content {
        background:linear-gradient(to right,var(--enfold-main-color-primary) 87%,transparent 87%);
    }
    .sbb-module-two.main_color.sbb-module-two-ext-bgcolor-light {
        background:linear-gradient(to right,var(--enfold-alternate-color-bg) 50%,transparent 50%);
    }
    .sbb-module-two.main_color.sbb-module-two-ext-bgcolor-light > .container > .content {
        background:linear-gradient(to right,var(--enfold-alternate-color-bg) 87%,transparent 87%);
    }
    .sbb-module-two.main_color.sbb-module-two-ext-engagement {
        background:linear-gradient(to right,#fff 50%,transparent 50%);
    }
    .sbb-module-two.main_color.sbb-module-two-ext-engagement > .container > .content {
        background:linear-gradient(to right,#fff 87%,transparent 87%);
    }
    .sbb-module-two.alternate_color {
        background:linear-gradient(to right,#ffffff 50%,transparent 50%);
    }
    .sbb-module-two.alternate_color > .container > .content {
        background:linear-gradient(to right,#ffffff 87%,transparent 87%);
    }
    .sbb-module-two .av-special-heading h3.av-special-heading-tag {
        font-size:clamp(25px,2.6vw,36px);
    }
}


/*******************************************************
* Module 1, 2, Erweiterung großer Abstand nach unten
* - padding-bottom
*******************************************************/
@media only screen and (min-width: 990px) {
    .sbb-module-one.sbb-module-one-ext-large-bottom .content,
    .sbb-module-two.sbb-module-two-ext-large-bottom .content {
        padding-bottom:100px;
    }
}


/*******************************************************
* Module 2, Erweiterung rechtes Bild nach unten rausschieben
* - großes Bild rechts , Text links
* - großes Bild nach unten verschoben
*******************************************************/
@media only screen and (min-width: 990px) {
    .sbb-module-two.sbb-module-two-ext-move-img-down .flex_column > .avia-image-container {
        top:70px;
        position:relative;
    }
}


/***************************************************************
* Module 3, Erweiterung: rechtes Bild mit hellem "Unterrahmen"
***************************************************************/
.sbb-module-three .flex_column.avia-builder-el-last .avia-image-container .avia-image-overlay-wrap::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 30px;
    width: 100%;
    background:#fff;
    z-index: 0;
    height: 100%;
}
@media only screen and (max-width: 989.9px) {
    .sbb-module-three .flex_column.avia-builder-el-last .avia-image-container .avia-image-overlay-wrap::before {
        display:none;
    }
    .sbb-module-three.sbb-module-products-service h3.av-special-heading-tag {
        font-size:clamp(24px,5vw,30px);
    }
    .sbb-module-three.avia-section-large .content {
        padding-top:20px;
        padding-bottom:20px;
    }
}
@media only screen and (min-width: 990px) {
    .sbb-module-three .flex_column.avia-builder-el-last .avia-image-container .avia-image-overlay-wrap::before {
        left: 50px;
        top: 50px;
    }
}

/****************************************************************
* Module, Erweiterung (für alle Module) nach rechts verschieben
****************************************************************/
@media only screen and (min-width: 990px) {
    .sbb-module-all-ext-translate-50 {
        /*transform: translateX(50px);*/
        padding-left:50px;
    }
    .sbb-module-all-ext-translate-100 {
        /*transform: translateX(100px);*/
        padding-left:100px;
    }
    .sbb-module-all-ext-translate-150 {
        /*transform: translateX(150px);*/
        padding-left:150px;
    }
    .sbb-module-all-ext-translate-200 {
        /*transform: translateX(200px);*/
        padding-left:200px;
    }
}


/*******************************************************
* Module, Erweiterung drei Kreise oben rechts
*******************************************************/
@keyframes sbbModuleOneFadeInBg {
    from {
        opacity: 0;
        filter: blur(5px);
    }
    to {
        opacity: .5;
        filter: blur(0);
    }
}
.sbb-module-two-ext-signet-gray > .container::before,
.sbb-module-two-ext-signet-red > .container::before {
    content: "";
    display: block;
    width: 250px;
    height: 80px;
    background: url(/wp-content/uploads/2026/04/SBB-Dreiklang_hellgrau.svg) no-repeat center right;
    position: absolute;
    right: -20px;
    top: -40px;
    opacity: 0;
    animation: sbbModuleOneFadeInBg 1.5s ease .5s forwards;
}
.sbb-module-two-ext-signet-red > .container::before {
    background: url(/wp-content/uploads/2026/04/SBB-Dreiklang_rot_leuchtend.svg) no-repeat center right;
}
@media only screen and (max-width: 767.9px) {
    .sbb-module-two-ext-signet-gray .template-page.content,
    .sbb-module-two-ext-signet-red .template-page.content {
        padding-top:0px;
    }
}
@media only screen and (min-width: 768px) {
    .sbb-module-two-ext-signet-gray > .container::before,
    .sbb-module-two-ext-signet-red > .container::before {
        width: 450px;
        height: 140px;
        right: 30px;
        top: -110px;
    }
}
@media only screen and (min-width: 990px) {
    .sbb-module-two-ext-signet-gray > .container::before,
    .sbb-module-two-ext-signet-red > .container::before {
        width: 600px;
        height: 165px;
        right: 183px;
        top: -129px;
    }
}


/*******************************************************
* Module, sbb-module-tab-section
*******************************************************/
.sbb-module-tab-section {
    overflow:visible;
}
.sbb-module-tab-section .av-tab-section-outer-container {
    overflow:visible;
}
.sbb-module-tab-section .av-tab-section-outer-container {
    position:relative;
}
.sbb-module-tab-section .av-tab-section-tab-title-container {
    position: relative;
    background:none;
    top:0;
    left:0 !important;
    justify-content:space-between;
    transform:none;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    margin:0 7.5%;
    min-width:auto !important;
}
#top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height:90px;

    padding: 0 0 0 clamp(0px,1.5vw,63px);
    text-align: left;

    font-size: clamp(10px, 0.8vw, 13px);
    line-height: 1.1;
    text-transform: uppercase;
}
#top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title .av-outer-tab-title {
    z-index:2;
    position:relative;
}
#top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title .av-inner-tab-title {
    color:#fff;
    text-align:left;
    margin:0;
}

#top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title .av-inner-tab-title > span {
    display:block;
    color:var(--enfold-main-color-primary);
    transition: all .25s ease-in-out;
    min-height:1.2em;
}
#top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title .av-inner-tab-title::after {
    content: "";
    display: block;
    width: 45px;
    height: 5px;
    background: var(--enfold-main-color-primary);
    margin-top: .4em;
    margin-left: 1.1em;
    transition: all .25s ease-in-out;
}
#top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title:hover .av-inner-tab-title > span,
#top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title.av-active-tab-title .av-inner-tab-title > span {
    color:#fff;
}
#top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title:hover .av-inner-tab-title::after,
#top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title.av-active-tab-title .av-inner-tab-title::after {
    background-color:#fff;
}
#top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title .av-tab-arrow-container {
    z-index:1;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:url('/wp-content/uploads/2026/04/SBB-Einzelelement_schwarz.svg') no-repeat left center;
    background-size:contain;
    opacity: .7;
    transition: all .25s ease-in-out;
}
#top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title .av-tab-arrow-container > span {
    display:none;
}
#top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title .av-tab-arrow-container::before {
    content:"";
    position:absolute;
    inset:0;
    opacity: 0;
    transition: all .2s ease-in-out;
    background:url('/wp-content/uploads/2026/04/SBB-Einzelelement_rot_leuchtend.svg') no-repeat left center;
}
#top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title:hover .av-tab-arrow-container::before,
#top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title.av-active-tab-title .av-tab-arrow-container::before {
    opacity:1;
}

.sbb-module-tab-section .avia-image-container .avia-image-overlay-wrap::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 30px;
    width: 100%;
    background: var(--enfold-alternate-color-primary);
    z-index: 0;
    height: 100%;
}
@media only screen and (max-width: 989.9px) {
    .sbb-module-tab-section .avia-image-container .avia-image-overlay-wrap::before {
        display:none;
    }

    #top .sbb-module-tab-section.sbb-module-tab-section-service .av-tab-section-tab-title-container a.av-section-tab-title {
        padding-left:63px;
    }
}
.sbb-module-tab-section .avia-image-container .avia_image {
    border-radius: 0%;
}
@media only screen and (max-width: 767.9px) {
    .sbb-module-tab-section .av-tab-section-tab-title-container {
        flex-wrap: wrap;
        gap: 0;
        row-gap: 1rem;
    }
    #top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title {
        flex:0 0 calc((100% - 2rem) / 3);
    }
    #top .sbb-module-tab-section.sbb-module-tab-section-service .av-tab-section-tab-title-container a.av-section-tab-title {
        flex:0 0 calc((100% - 2rem) / 2);
        justify-content: start;
        padding-left:clamp(30px,7vw,60px);
    }
}

.sbb-module-tab-section.sbb-module-tab-section-engagement {
    padding-top:50px;
    padding-bottom:25px;
}

/* runde Bilder */
.sbb-module-tab-section.sbb-module-tab-section-engagement .av-tab-section-inner-container > .av-layout-tab {
    overflow-x:clip;
}
.sbb-module-tab-section.sbb-module-tab-section-engagement .avia-image-container .avia-image-overlay-wrap::before {
    display:none;
}
.sbb-module-tab-section.sbb-module-tab-section-engagement .avia-image-container .avia-image-overlay-wrap {
    aspect-ratio: 1 / 1;
    width: auto;
    height: 100%;
    transform: none;
}
.sbb-module-tab-section.sbb-module-tab-section-engagement .avia-image-container .avia_image {
    border-radius: 9999px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}
.sbb-module-tab-section.sbb-module-tab-section-engagement .avia-image-container .avia-image-overlay-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    background:rgba(0,0,0,.2);
    z-index: 1;
}

@media only screen and (min-width: 768px) {

    .sbb-module-tab-section.sbb-module-tab-section-engagement .avia-image-container .avia-image-overlay-wrap {
        transform: translateX(-10%);
    }

    .sbb-module-tab-section {
        overflow:visible;
    }
    .sbb-module-tab-section .av-tab-section-outer-container {
        overflow:visible;
    }
    .sbb-module-tab-section .av-tab-section-outer-container {
        position:relative;
    }
    .sbb-module-tab-section .av-tab-section-tab-title-container {
        position: relative;
        background:none;
        top:0;
        left:0;
        justify-content:space-between;
        transform:none;
        z-index: 10;
        display: flex;
        align-items: center;
        gap: 0;
        padding: 0;
        margin:0 50px;
    }
    #top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title {
        min-height: 90px;
    }
    #top .sbb-module-tab-section.sbb-module-tab-section-engagement .av-tab-section-tab-title-container a.av-section-tab-title .av-inner-tab-title {
        width:140px;
    }
}
@media only screen and (min-width: 990px) {
    .sbb-module-tab-section .av-tab-section-inner-container .av-layout-tab .av-layout-tab-inner {
        min-height:405px;
    }
    .sbb-module-tab-section.sbb-module-tab-section-engagement {
        padding-top:170px;
        padding-bottom:50px;
    }
    .sbb-module-tab-section .avia-image-container .avia-image-overlay-wrap::before {
        left: -50px;
        top: 50px;
    }
    .sbb-module-tab-section .av-tab-section-tab-title-container {
        position: absolute;
        top: -130px;
        left: calc(50% + 200px) !important;
        justify-content:center;
        transform: translateX(-50%);
        z-index: 10;
        align-items: center;
        gap: 0;
        padding: 0;
        margin:0;
    }
    .sbb-module-tab-section.sbb-module-tab-section-engagement .av-tab-section-tab-title-container {
        top:-100px;
    }
}
@media only screen and (min-width: 1100px) {
    .sbb-module-tab-section .av-tab-section-inner-container .av-layout-tab .av-layout-tab-inner {
        min-height:440px;
    }
    #top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title {
        padding-left:clamp(0px,2.5vw,63px);
    }
}
@media only screen and (min-width: 1200px) {
    .sbb-module-tab-section .av-tab-section-inner-container .av-layout-tab .av-layout-tab-inner {
        min-height:475px;
    }
}
@media only screen and (min-width: 1300px) {
    .sbb-module-tab-section .av-tab-section-inner-container .av-layout-tab .av-layout-tab-inner {
        min-height:510px;
    }
    #top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title {
        padding-left:clamp(0px,3.5vw,63px);
    }
}
@media only screen and (min-width: 1400px) {
    #top .sbb-module-tab-section .av-tab-section-tab-title-container a.av-section-tab-title {
        padding-left:63px;
    }
}
/* bei Service die Elemente weiter auseinander ziehen */
@media only screen and (min-width: 990px) {
    .sbb-module-tab-section.sbb-module-tab-section-service .av-tab-section-tab-title-container {
        left:calc(50% + 170px) !important;
    }
    #top .sbb-module-tab-section.sbb-module-tab-section-service .av-tab-section-tab-title-container a.av-section-tab-title {
        min-width:clamp(160px,16vw,200px);
        padding-left:63px;
        justify-content: start;
    }
}


/*******************************************************
* Module, Erweiterung Google Maps
*******************************************************/
@media only screen and (min-width: 990px) {
    .sbb-module-two-ext-google-map .av_textblock_section h4 {
        font-size:1em;
        text-transform: uppercase;
        margin-bottom:.5em;
    }
    .sbb-module-two-ext-google-map .av_textblock_section::before {
        content: "";
        position: absolute;

        left: -24px;
        top: 16%;

        transform: translateY(-50%);

        width: 0;
        height: 0;

        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-right: 24px solid #c8c8c8;
    }
    .sbb-module-two-ext-google-map .av_textblock_section .av_font_icon {
        margin-bottom: 4em;
    }
    .sbb-module-two.sbb-module-two-ext-google-map .av_textblock_section .avia_textblock > p {
        color:var(--enfold-alternate-color-color);
        margin:.5em 0;
    }
}


/*******************************************************
* Module Downloads
* - SVG Bild mit Link
*******************************************************/
.sbb-module-downloads .avia-image-container > .avia-image-container-inner {
    width:100%;
}
.sbb-module-downloads .avia_image > img {
    opacity:.6;
    width: 100%;
    height: auto;
    display: block;
}
.sbb-module-downloads .av-image-caption-overlay-position .av-image-caption-overlay-center {
    padding:0;
}
.sbb-module-downloads .av-image-caption-overlay-position .av-image-caption-overlay-center p {
    font-size:clamp(25px,2.6vw,36px);
    line-height:1.25em;
}
.sbb-module-downloads .av-image-caption-overlay-position .av-image-caption-overlay-center p strong {
    color:#fff;
    text-transform:uppercase;
}
.sbb-module-downloads .av-image-caption-overlay-position .av-image-caption-overlay-center p small {
    display:inline-block;
    font-size:16px;
    margin-top:.75em;
    padding:1em 1.6em 0 1.6em;
    border-top:5px solid var(--enfold-main-color-primary);
    color:#f0f0f0;
}
@media only screen and (max-width: 767.9px) {
    .sbb-module-downloads .avia-image-container {
        width:60%;
        margin-left:auto;
        margin-right:auto;
    }
    .sbb-module-downloads .av-image-caption-overlay-position .av-image-caption-overlay-center p {
        margin-top:clamp(10%,5vw,80%);
        font-size: clamp(1.25em,4.5vw,3em);
    }
    .sbb-module-downloads .av-image-caption-overlay-position .av-image-caption-overlay-center p small {
        font-size: clamp(1em,4vw,1.8em);
        padding-top: clamp(0.3em,1vw,1em);
        margin-top: clamp(.4em,1vw,.75em);
    }
}

/*******************************************************
* Module Zertifikate
* - SVG Bild und Text
*******************************************************/
.sbb-module-certificates .avia-image-container > .avia-image-container-inner {
    width:100%;
}
.sbb-module-certificates .avia-image-overlay-wrap > img {
    opacity:.6;
    width: 100%;
    height: auto;
    display: block;
}
.sbb-module-certificates .av_textblock_section {
    position:absolute;
    top:0;
    left:0;
    width:100%;
}
.sbb-module-certificates .av-special-heading h3.av-special-heading-tag {
    color:#474747;
}
.sbb-module-certificates .av-special-heading h3.av-special-heading-tag > span {
    color:var(--enfold-main-color-heading);
}
@media only screen and (max-width: 989.9px) {
    .sbb-module-certificates:not(.sbb-module-certificates-products) .avia-image-overlay-wrap > img {
        opacity: .4;
    }
    .sbb-module-certificates .av_textblock_section {
        position:relative;
    }
    .sbb-module-certificates .flex_column > .avia-image-container {
        position: absolute;
        top:0;
        left:0;
        width:100%;
    }
    .sbb-module-certificates:not(.sbb-module-certificates-products) .av_textblock_section img {
        height:8vw;
        margin-top:5vw;
    }
    #top .sbb-module-certificates:not(.sbb-module-certificates-products) .av_textblock_section > .avia_textblock > p + .hr.hr-custom {
        margin-top:-20px;
    }
    .sbb-module-certificates:not(.sbb-module-certificates-products).main_color {
        /*background:linear-gradient(to right,transparent 50%,var(--enfold-alternate-color-bg) 50%);*/
    }
    .sbb-module-certificates:not(.sbb-module-certificates-products).main_color > .container > .content {
        /*background:linear-gradient(to right,transparent 13%,var(--enfold-alternate-color-bg) 13%);*/
    }
    .sbb-module-one.sbb-module-certificates .av-special-heading h3.av-special-heading-tag {
        font-size:clamp(25px,2.6vw,36px);
    }
}
@media only screen and (max-width: 767.9px) {
    .sbb-module-certificates:not(.sbb-module-certificates-products).main_color > .container {
        background:var(--enfold-alternate-color-bg);
    }
    .sbb-module-certificates:not(.sbb-module-certificates-products).main_color > .container .template-page.content {
        padding-top:40px;
        padding-bottom:40px;
    }
    .sbb-module-certificates .av-special-heading {
        margin-left:4em;
    }
    .sbb-module-certificates .av_textblock_section {
        position:relative;
        min-height:40vw;
    }
    .sbb-module-certificates .flex_column > .avia-image-container {
        position: absolute;
        top:0;
        left:0;
        width:100%;
        min-height:30vw;
    }
    .sbb-module-certificates .flex_column_table .flex_column {
        min-height:30vw;
    }
    .sbb-module-certificates .flex_column > .avia-image-container img {
        width:60%;
        height:auto;
        margin:0 auto;
    }
    .sbb-module-certificates .av_textblock_section img,
    .sbb-module-certificates:not(.sbb-module-certificates-products) .av_textblock_section img {
        height: 22vw;
        margin-top: 12vw;
    }
    #top .sbb-module-certificates .av_textblock_section > .avia_textblock > p + .hr.hr-custom {
        margin-top:-4vw;
    }
    #top .sbb-module-certificates .av_textblock_section > .avia_textblock > p {
        font-size:clamp(11px,2.5vw,13px);
        padding-left:2em;
        padding-right:2em;
    }
}


/*******************************************************
* Module Verträge
* - SVG Bild und Text
*******************************************************/
.sbb-module-contracts .avia-image-container > .avia-image-container-inner {
    width:100%;
}
.sbb-module-contracts .avia-image-overlay-wrap > img {
    opacity:.6;
    width: 100%;
    height: auto;
    display: block;
}
.sbb-module-contracts .av-special-heading {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    margin-top:clamp(55px,9vw,80px);
}
.sbb-module-contracts .av-special-heading h3.av-special-heading-tag {
    font-weight:bold;
    text-transform: uppercase;
    font-size:clamp(16px,2.9vw,30px);
}
.sbb-module-contracts .av-special-heading h3.av-special-heading-tag > span {
    font-weight: normal;
}
.sbb-module-contracts .av-special-heading h3.av-special-heading-tag::after {
    content: "";
    display: block;
    width: 70px;
    height: 5px;
    background: var(--enfold-main-color-primary);
    top: 10px;
    margin:0 auto;
    position: relative;
}
.sbb-module-contracts .avia-button-wrap {
    position:absolute;
    top:clamp(135px,19.5vw,188px);
    left:0;
    width:100%;
    z-index:2;
}
.sbb-module-contracts .av_textblock_section {
    z-index:1;
    position:absolute;
    top:auto;
    bottom:0;
    left:0;
    width:100%;
    font-size:clamp(.6em,1vw,.8em);
    font-weight:300;
}
@media only screen and (max-width: 989.9px) {
    .responsive #top #wrap_all .sbb-module-contracts .entry-content-wrapper .flex_column {
        width:clamp(200px,35%,305px);
    }
}
@media only screen and (min-width: 480px) {
    .sbb-module-contracts .entry-content-wrapper {
        display:flex;
        justify-content: center;
    }
}
@media only screen and (max-width: 479.9px) {
    .responsive #top #wrap_all .sbb-module-contracts .entry-content-wrapper .flex_column {
        width:100%;
    }
    .sbb-module-contracts .av-special-heading {
        margin-top: clamp(80px,25vw,120px);
    }
    .sbb-module-contracts .av-special-heading h3.av-special-heading-tag {
        font-size: clamp(25px,7vw,40px);
    }
    .sbb-module-contracts .av-special-heading h3.av-special-heading-tag > span {
        display:block;
    }
    .sbb-module-contracts .avia-button-wrap {
        top: clamp(135px,53vw,250px);
    }
    .sbb-module-contracts .av_textblock_section {
        font-size:clamp(.8em,1vw,1.2em);
    }
}
@media only screen and (min-width: 480px) and (max-width: 767.9px) {
    .responsive #top #wrap_all .sbb-module-contracts .av_one_fourth.first + .av_one_fourth.flex_column_div {
        margin-left:4%;
    }
    .sbb-module-contracts .av-special-heading {
        margin-top:clamp(55px,8vw,80px);
    }
    .sbb-module-contracts .av-special-heading h3.av-special-heading-tag > span {
        display:block;
    }
    .sbb-module-contracts .avia-button-wrap {
        top:clamp(110px,19.5vw,188px);
    }
}
@media only screen and (min-width: 990px) {
    .sbb-module-contracts .av-special-heading {
        margin-top:clamp(55px,6vw,80px);
    }
    .sbb-module-contracts .av-special-heading h3.av-special-heading-tag {
        font-size:clamp(16px,1.9vw,30px);
    }
    .sbb-module-contracts .av-special-heading h3.av-special-heading-tag::after {
        width: 70px;
        height: 5px;
        top: 10px;
    }
    .sbb-module-contracts .avia-button-wrap {
        top:clamp(135px,13vw,188px);
    }
    .sbb-module-contracts .av_textblock_section {
        font-size:clamp(.6em,1vw,.8em);
    }
}


/*******************************************************
* Module SBB Broschüre
* - SVG Bild und Text
*******************************************************/
@media only screen and (min-width: 990px) {
    .sbb-module-booklet .entry-content-wrapper {
        display:flex;
        justify-content: center;
    }
}
body .sbb-module-booklet .flex_column.avia-link-column.avia-link-column-hover {
    transition:all .25s ease-in-out;
}
.sbb-module-booklet .avia-image-container > .avia-image-container-inner {
    width:100%;
}
.sbb-module-booklet .avia-image-overlay-wrap > img {
    opacity:.6;
    width: 100%;
    height: auto;
    display: block;
}
.sbb-module-booklet .av-special-heading {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    margin-top:clamp(55px,6vw,80px);
}
.sbb-module-booklet.sbb-module-products-booklet .av-special-heading {
    margin-top:clamp(42px,6vw,80px);
}
.sbb-module-booklet .av-special-heading h3.av-special-heading-tag {
    font-weight:bold;
    text-transform: uppercase;
    font-size:clamp(16px,1.9vw,30px);
}
.sbb-module-booklet .av-special-heading h3.av-special-heading-tag > span {
    font-weight: normal;
}
.sbb-module-booklet .av-special-heading h3.av-special-heading-tag::after {
    content: "";
    display: block;
    width: 70px;
    height: 5px;
    background: var(--enfold-main-color-primary);
    top: 10px;
    margin:0 auto;
    position: relative;
}
.sbb-module-booklet.sbb-module-products-booklet .av-special-heading h3.av-special-heading-tag::after {
    top:clamp(5px,.6vw,10px);
}
.sbb-module-booklet .av_textblock_section {
    z-index:1;
    position:absolute;
    top:clamp(110px,13vw,188px);
    left:0;
    width:100%;
    font-size:clamp(.6em,1vw,.8em);
    font-weight:300;
}
.sbb-module-booklet.sbb-module-products-booklet .av_textblock_section {
    top:clamp(92px,13vw,188px);
}
@media only screen and (max-width: 767.9px) {
    .sbb-module-booklet:not(.sbb-module-products-booklet) .avia-image-container {
        width:60%;
        margin-left:auto;
        margin-right:auto;
    }
    .sbb-module-booklet:not(.sbb-module-products-booklet) .av-special-heading {
        margin-top:clamp(14%,13vw,80%);
    }
    .sbb-module-booklet:not(.sbb-module-products-booklet) .av-special-heading h3.av-special-heading-tag {
        font-size: clamp(1.5em,4.5vw,3em);
    }
    .sbb-module-booklet:not(.sbb-module-products-booklet) .av_textblock_section {
        top: clamp(55%,28vw,80%);
        font-size: clamp(1em,4vw,1.8em);
    }

    #top #wrap_all .sbb-module-booklet.sbb-module-products-booklet .flex_column {
        width:clamp(150px,23.5%,200px);
        margin-bottom:0
    }
}

/*******************************************************
* Module Downloads
* - Tabs mit SVG, Titel und Tab-Content-Bereich
*******************************************************/
.sbb-module-tabs {
}
.sbb-module-tabs .av-tab-section-outer-container {
}
.sbb-module-tabs .av-tab-section-tab-title-container {
    padding-top:100px;
}
.sbb-module-tabs .av-section-tab-title {
    position:relative;
}
.sbb-module-tabs .av-section-tab-title .av-tab-section-image {
    filter:grayscale(0);
    opacity:.8;
}
.sbb-module-tabs .av-section-tab-title:hover .av-tab-section-image {
    opacity: 1;
}
.sbb-module-tabs .av-section-tab-title.av-active-tab-title .av-tab-section-image {
    filter:grayscale(1);
}
.sbb-module-tabs .av-section-tab-title .av-outer-tab-title {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:100%;
    padding:0;
}
.sbb-module-tabs .av-section-tab-title .av-outer-tab-title .av-inner-tab-title {
    display: flex;
    margin: 0 20px;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    text-align:left;
    text-wrap: nowrap;
    font-size: .75em;
}
.sbb-module-tabs .av-section-tab-title .av-outer-tab-title .av-inner-tab-title b {
    display:inline-block;
    color:var(--enfold-main-color-color);
    padding: .25em 0;
}
.sbb-module-tabs .av-section-tab-title .av-outer-tab-title .av-inner-tab-title b::after {
    content: "";
    display: block;
    width: 37px;
    height: 5px;
    background: var(--enfold-main-color-bg);
    top: 6px;
    margin-left: 10px;
    position: relative;
}
.sbb-module-tabs .av-section-tab-title.av-active-tab-title .av-outer-tab-title .av-inner-tab-title b::after {
    background: var(--enfold-main-color-color);
}
.sbb-module-tabs .av-section-tab-title .av-tab-arrow-container {
}
.sbb-module-tabs .av-section-tab-title.av-active-tab-title .av-tab-arrow-container {
}


/*******************************************************
* Module Kontakt
*******************************************************/
.sbb-module-contact.avia-section .content {
    padding-top:100px;
    padding-bottom:50px;
}
.sbb-module-contact.avia-section .content .flex_column.av_one_fourth {
    display:none;
}
.sbb-module-contact h2 {
    font-size:24px;
}
.sbb-module-contact .av-special-heading .av-special-heading-tag > span:not(.special_amp) {
    color:#fff;
}
.sbb-module-contact .av-special-heading .av-special-heading-tag::before {
    content: "";
    display: block;
    width: 250px;
    height: 80px;
    background: url(/wp-content/uploads/2026/04/SBB-Dreiklang_hellgrau.svg) no-repeat center left;
    position: absolute;
    left: 60px;
    top: -40px;
    opacity: .3;
}
.sbb-module-contact .av-special-heading .av-special-heading-tag::after {
    width: 100px;
    height: 6px;
}
#top .sbb-module-contact div .av-light-form .input-text,
#top .sbb-module-contact div .av-light-form input[type="email"],
#top .sbb-module-contact div .av-light-form input[type="input"],
#top .sbb-module-contact div .av-light-form input[type="number"],
#top .sbb-module-contact div .av-light-form input[type="password"],
#top .sbb-module-contact div .av-light-form input[type="search"],
#top .sbb-module-contact div .av-light-form input[type="tel"],
#top .sbb-module-contact div .av-light-form input[type="text"],
#top .sbb-module-contact div .av-light-form input[type="url"],
#top .sbb-module-contact div .av-light-form select,
#top .sbb-module-contact div .av-light-form textarea {
    border-width:1px !important;
}
#top  #wrap_all .sbb-module-contact .error .select,
#top  #wrap_all .sbb-module-contact .error .text_area,
#top  #wrap_all .sbb-module-contact .error .text_input {
    border-color:var(--enfold-main-color-primary);
}
#top .sbb-module-contact div div .av-light-form .form_element:last-child {
    text-align:center;
}
#top .sbb-module-contact div div .av-light-form .button {
    border-color:var(--enfold-main-color-primary);
    text-transform: uppercase;
    padding:13px 1em;
}
#top .sbb-module-contact .av_textblock_section > .avia_textblock {
    font-size:.8em;
}
#top .sbb-module-contact .av_textblock_section > .avia_textblock a {
    color:inherit;
    text-decoration: underline;
    transition: color .25s ease-in-out;
}
#top .sbb-module-contact .av_textblock_section > .avia_textblock a:hover {
    color:#c0c0c0;
    text-decoration: none;
}
@media only screen and (max-width: 479.9px) {
    .responsive #top #wrap_all .sbb-module-contact.avia-section .content .flex_column.avia-builder-el-last {
        margin-top:0;
    }
}
@media only screen and (min-width: 480px) {
    .sbb-module-contact.avia-section .content {
        padding-top:110px;
        padding-bottom:70px;
    }
    .sbb-module-contact h2 {
        font-size:30px;
    }
    .sbb-module-contact .av-special-heading .av-special-heading-tag::before {
        width: 350px;
        height: 165px;
        left: 75px;
        top: -78px;
    }
    .sbb-module-contact .av-special-heading .av-special-heading-tag::after {
        width: 100px;
        height: 8px;
    }
}
@media only screen and (min-width: 768px) {
    .sbb-module-contact.avia-section .content {
        padding-top:120px;
        padding-bottom:100px;
    }
    .sbb-module-contact.avia-section .content .flex_column.av_one_fourth {
        display:block;
    }
    .sbb-module-contact h2 {
        font-size:38px;
    }
    .sbb-module-contact .av-special-heading .av-special-heading-tag::before {
        width: 450px;
        height: 165px;
        left: 85px;
        top: -78px;
    }
    .sbb-module-contact .av-special-heading .av-special-heading-tag::after {
        width: 100px;
        height: 8px;
    }
}
@media only screen and (min-width: 990px) {
    .sbb-module-contact.avia-section .content {
        padding-top:130px;
        padding-bottom:130px;
    }
    .sbb-module-contact h2 {
        font-size:60px;
    }
    .sbb-module-contact .av-special-heading .av-special-heading-tag::before {
        width: 600px;
        height: 165px;
        left: 160px;
        top: -78px;
    }
    .sbb-module-contact .av-special-heading .av-special-heading-tag::after {
        width: 100px;
        height: 8px;
    }
}


/******************************
* Module Kontaktmöglichkeiten 
******************************/
#top .sbb-module-contact-options .flex_column_table {
    display:flex;
    justify-content:space-around;
    align-content: center;
}
@media only screen and (max-width: 767.9px) {
    #top #wrap_all .sbb-module-contact-options .flex_column_table .flex_column.first {
        width:50%;
        position: relative;
        margin-top:-5%;
        left:-5%;
    }
}
#top .sbb-module-contact-options .flex_column > .av_font_icon {
    position:relative;
    padding:clamp(1em,5vw,4em);
}
#top .sbb-module-contact-options .flex_column > .av_font_icon::before {
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content:"";
    inset:0;
    pointer-events: none;
    opacity: .5;
    background:url('/wp-content/uploads/2026/04/SBB-Einzelelement_rot_leuchtend.svg') no-repeat center;
    background-size: contain;
}
#top .sbb-module-contact-options .flex_column > .av_font_icon .av-icon-char {
    border:none;
    max-width: 2em;
    width:auto;
}
@media only screen and (max-width: 767.9px) {
    #top .sbb-module-contact-options .flex_column > .av_font_icon .av-icon-char {
        font-size: clamp(3em,5vw,3.5em);
        padding: clamp(0px,2vw,30px);
    }
}

#top .sbb-module-contact-options .avia_textblock p a {
    text-decoration: none;
    font-weight:bold;
    font-size:1.5em;
    transition: all .25s ease-in-out;
    border-bottom:0 solid transparent;
}
#top .sbb-module-contact-options .avia_textblock p a:hover {
    border-bottom:1px solid #fff;
}
#top .sbb-module-contact-options .avia_textblock .av_font_icon {
    margin-right:1.25em;
}
#top .sbb-module-contact-options .avia_textblock .av_font_icon + p {
    font-size:.9em;
    line-height:1.3em;
    font-weight:normal;
}
@media only screen and (min-width: 768px) {
    #top .sbb-module-contact-options .flex_column > .av_font_icon {
        padding:4em;
    }
    #top .sbb-module-contact-options .flex_column > .av_font_icon .av-icon-char {
        max-width: 4em;
    }
}


/*******************************************************
* Module News
* - Instgram Posts
*******************************************************/
@media only screen and (min-width: 990px) {
    .avia-section.sbb-module-news {
        position:relative;
        z-index:1;
    }
    .sbb-module-news.main_color {
        background:linear-gradient(to right,var(--enfold-main-color-primary) 50%,transparent 50%);
    }
    .sbb-module-news.main_color > .container > .content {
        background:linear-gradient(to right,var(--enfold-main-color-primary) 35%,var(--enfold-main-color-bg) 35%);
    }
}


/*********
* Footer
*********/
/* Logo */
#sbb-footer.avia-section-small .content {
    padding-top:40px;
    padding-bottom:40px;
}
#sbb-footer .sbb-footer-logo .avia-image-container {
    max-width:150px;
}
@media only screen and (max-width: 989.9px) {
    #sbb-footer .sbb-footer-logo .avia-image-container {
        margin-left:auto;
        margin-right:auto;
    }
}
#sbb-footer .container .flex_column > .av_textblock_section > .avia_textblock .av_font_icon.avia-icon-pos-left {
    margin-right:2em;
}
#sbb-footer .container .flex_column > .av_textblock_section > .avia_textblock .avia-svg-icon > .av-icon-char {
    font-size:50px;
}
#sbb-footer .container .flex_column.sbb-footer-col-location  > .av_textblock_section > .avia_textblock .av_font_icon.avia-icon-pos-left {
    margin-right:1.7em;
}
#sbb-footer .container .flex_column.sbb-footer-col-location  > .av_textblock_section > .avia_textblock .avia-svg-icon > .av-icon-char {
    font-size:60px;
    margin-left:-5px;
}
#sbb-footer .container .flex_column.sbb-footer-col-phone > .av_textblock_section > .avia_textblock .av_font_icon.avia-icon-pos-left {
    /*transform:scaleX(-1);*/
}
#sbb-footer .container .flex_column > .av_textblock_section > .avia_textblock .avia-svg-icon > .av-icon-char > svg:first-child {
    stroke:#4a4a4a;
    fill:#4a4a4a;
}
/* auf flexbox umarbeiten */
#sbb-footer .container .flex_column > .av_textblock_section > .avia_textblock {
    display:flex;
    flex-wrap:nowrap;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}
#sbb-footer .container .flex_column > .av_textblock_section > .avia_textblock a {
    transition: color .25s ease-in-out;
}


/*********
* Socket
*********/
#sbb-socket.avia-section-small .content {
    padding-top:30px;
    padding-bottom:30px;
}
#sbb-socket .widget {
    padding-top:0;
    padding-bottom:0;
}

#sbb-socket .avia_textblock p {
    text-transform: uppercase;
}

/* social media icons */
#top .footer_color #sbb-socket .social_bookmarks a,
#top .footer_color #sbb-socket .social_bookmarks a:focus {
    color:var(--enfold-socket-color-meta);
}
.footer_color #sbb-socket .social_bookmarks .avia-svg-icon a svg:first-child {
    fill:var(--enfold-socket-color-bg);
}
#top #wrap_all .footer_color #sbb-socket .social_bookmarks .avia-svg-icon a:focus svg:first-child,
#top #wrap_all .footer_color #sbb-socket .social_bookmarks .avia-svg-icon a:hover svg:first-child {
    fill:var(--enfold-socket-color-secondary);
}
#top #sbb-socket .widget ul.social_bookmarks {
    float:none;
    display:flex;
    flex-direction:row;
    justify-content: center;
    align-items: center;
    flex-wrap:wrap;
    height:auto;
}
#top #sbb-socket .widget ul.social_bookmarks > li {
    float:none;
    border:none;
    height:auto;
    width:auto;
}
@media only screen and (max-width: 989.9px) {
    #top #sbb-socket .widget ul.social_bookmarks > li {
        margin-left:20px;
    }
    #sbb-socket .avia_textblock p {
        text-align: center;
    }
}
@media only screen and (max-width: 479.9px) {
    #top #sbb-socket .widget ul.social_bookmarks > li:first-child {
        margin-left:0;
    }
    #top #sbb-socket .widget ul.social_bookmarks > li {
        margin-left:6px;
    }
}
#top #sbb-socket .widget ul.social_bookmarks > li > a {
    float:none;
    background:var(--enfold-socket-color-color);
    padding:0;
    border-radius:50%;
    width:calc(36px + 2 * .25em);
    height:calc(36px + 2 * .25em);
    line-height:calc(36px + 2 * .25em);
    display:flex;
    justify-content: center;
    align-items: center;
}
#top #sbb-socket .social_bookmarks li.avia-svg-icon img[is-svg-img="true"],
#top #sbb-socket .social_bookmarks li.avia-svg-icon svg:first-child {
    height:26px;
    max-width:19px;
    max-height:26px;
    margin-top:0;
}

/* footer menu */
#sbb-socket .menu-footer-container {
}
#sbb-socket #menu-footer,
#sbb-socket #menu-footer-englisch {
    width:auto;
    display:flex;
    justify-content:center;
}
#sbb-socket #menu-footer li,
#sbb-socket #menu-footer-englisch li {
    border:none;
    font-size:14px;
    text-transform:uppercase;
}
#sbb-socket #menu-footer li a,
#sbb-socket #menu-footer-englisch li a {
    color:var(--enfold-socket-color-color);
    padding-left:.75em;
    padding-right:.75em;
}
#sbb-socket #menu-footer li a:hover,
#sbb-socket #menu-footer-englisch li a:hover {
    background:none;
}
@media only screen and (min-width: 990px) {
    #sbb-socket #menu-footer,
    #sbb-socket #menu-footer-englisch {
        justify-content:right;
    }
}
@media only screen and (max-width: 989.9px) {
    .responsive #top #wrap_all #sbb-socket .flex_column {
        margin-bottom:10px;
    }
    .responsive #top #wrap_all #sbb-socket .flex_column:last-child {
        margin-bottom:0;
    }
}


/***************
* Header Typ 1
***************/
.html_header_transparency #top .sbb-header-type-1 .sbb-header-type-1 .slideshow_caption {
    left:0;
}
@media only screen and (max-width: 989px) {
    .html_header_transparency #top .sbb-header-type-1 .sbb-header-type-1 .slideshow_caption {
        padding-top:clamp(0px,6vw,88px);
    }
}
.sbb-header-type-1 .slideshow_caption .slideshow_inner_caption {
}
.sbb-header-type-1 .slideshow_caption .slideshow_inner_caption::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:url('/wp-content/uploads/2026/04/SBB-Dreiklang_rot_leuchtend.svg');
    background-repeat: no-repeat;
    background-position: 5% 7%;
    background-size:clamp(32%,44vw,46%) auto;
    opacity: 0;
    animation: sbbHeaderFadeInBg 1.5s ease .5s forwards;
    z-index: 0;
}
@keyframes sbbHeaderFadeInBg {
    from {
        opacity: 0;
        filter: blur(5px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}
.sbb-header-type-1 .slideshow_caption .slideshow_inner_caption .slideshow_align_caption {
    padding-left: clamp(70px,20vw,340px);
    padding-right:clamp(0px,9vw,200px);
    text-align: left;
}
.sbb-header-type-1 .slideshow_caption .slideshow_inner_caption .slideshow_align_caption .avia-caption-title {
    font-size:clamp(16px,4vw,54px);
    margin-bottom:.5em;
    text-transform: uppercase;
}
.sbb-header-type-1 .slideshow_caption .slideshow_inner_caption .slideshow_align_caption .avia-caption-content {
    font-size:clamp(14px,2vw,28px);
    text-transform: uppercase;
}
.sbb-header-type-1 .slideshow_caption .slideshow_inner_caption .slideshow_align_caption .avia-caption-content > p {
    margin:.5em 0;
}

#top .sbb-header-type-1 .slideshow_caption .avia-slideshow-button {
    border-radius: 0;
    border-width: 2px;
    font-size: clamp(11px,1.7vw,17px);
    font-weight: normal;
    padding: clamp(3px,1vw,15px) clamp(5px,1vw,16px);
    margin-top: 5px;
    min-width: auto;
}
@media only screen and (min-width: 990px) {
    .html_header_transparency #top .sbb-header-type-1 .sbb-header-type-1 .slideshow_caption {
        left:40px;
    }
    .sbb-header-type-1 .slideshow_caption .slideshow_inner_caption {
    }
    .sbb-header-type-1 .slideshow_caption .slideshow_inner_caption::before {
        background-position: 5% 28%;
        background-size:46% auto;
    }
    .sbb-header-type-1 .slideshow_caption .slideshow_inner_caption .slideshow_align_caption {
        padding-left: clamp(200px,22vw,340px);
        padding-right:200px;
    }
    .sbb-header-type-1 .slideshow_caption .slideshow_inner_caption .slideshow_align_caption .avia-caption-title {
        font-size:clamp(30px,4vw,54px);
    }
    .sbb-header-type-1 .slideshow_caption .slideshow_inner_caption .slideshow_align_caption .avia-caption-content {
        font-size:clamp(18px,2vw,28px);
    }

    #top .sbb-header-type-1 .slideshow_caption .avia-slideshow-button {
        padding:.5em 1em;
        font-size:1.1em;
        margin-top:20px;
    }
}
#top .sbb-header-type-1 .slideshow_caption .avia-slideshow-button:hover {
    opacity: 1;
    background:#fff;
    color:var(--enfold-main-color-primary);
}
/* m/w/d */
#top .sbb-header-type-1.sbb-header-type-jobs .slideshow_caption .avia-caption-title > span {
    font-size:.8em;
    text-transform:none;
    font-weight:normal;
}


/*********************************************
* Contact Form 7 Formulare wie Enfold stylen
*********************************************/
#top .sbb-cf7 p {
    margin-top: 8px;
    margin-bottom: 8px;
}
#top .sbb-cf7 p.cf7-margin-top {
    margin-top:16px;
}
#top .sbb-cf7 p > br {
    display:none;
}
#top .main_color .sbb-cf7 label {
    position: fixed;
    top: -10000px;
    left: -20000px;
    display: block;
    margin-bottom: 18px;
    font-weight: 700;
}

#top .main_color .sbb-cf7 input[type="text"],
#top .main_color .sbb-cf7 input[type="email"],
#top .main_color .sbb-cf7 input[type="tel"],
#top .main_color .sbb-cf7 input[type="file"],
#top .main_color .sbb-cf7 textarea,
#top .main_color .sbb-cf7 select {
    width: 100%;
    margin-bottom: 0;
    display: inline;
    min-width: 50px;
    padding: 13px;
    border-radius: 2px;
    color: #fff;
    border-color: #fff;
    border-width: 1px !important;
    background-color: transparent;
    outline:0;
}
#top .main_color .sbb-cf7 input[type="text"]::placeholder,
#top .main_color .sbb-cf7 input[type="email"]::placeholder,
#top .main_color .sbb-cf7 input[type="tel"]::placeholder,
#top .main_color .sbb-cf7 input[type="file"]::placeholder,
#top .main_color .sbb-cf7 textarea::placeholder,
#top .main_color .sbb-cf7 select::placeholder {
    color: #fff;
    opacity: .8;
}
#top .main_color .sbb-cf7 textarea {
    min-height: 60px;
    line-height:1.5em;
    resize: vertical;
}
#top .codedropz-upload-wrapper .codedropz-upload-inner * {
    font-size:var(--enfold-font-size-content-font);
    font-weight:normal;
    margin:.25em 0;
    color:#fff;
}

#top .main_color .sbb-cf7 input:focus,
#top .main_color .sbb-cf7 textarea:focus,
#top .main_color .sbb-cf7 select:focus {
    border-color:inherit;
    outline: none;
}

#top .main_color .sbb-cf7 input[type="text"].wpcf7-not-valid,
#top .main_color .sbb-cf7 input[type="email"].wpcf7-not-valid,
#top .main_color .sbb-cf7 input[type="tel"].wpcf7-not-valid,
#top .main_color .sbb-cf7 input[type="file"].wpcf7-not-valid,
#top .main_color .sbb-cf7 textarea.wpcf7-not-valid,
#top .main_color .sbb-cf7 select.wpcf7-not-valid {
    border-color:var(--enfold-main-color-primary);
}

#top .main_color .sbb-cf7 .cf7-button-center {
    text-align: center;
}
#top .main_color .sbb-cf7 input[type="submit"] {
    background: var(--enfold-main-color-primary);
    color: #fff;
    border:2px solid var(--enfold-main-color-primary);
    text-transform: uppercase;
    padding: 13px 1em;
    background-color: transparent;
}

#top .main_color .sbb-cf7 input[type="submit"]:hover {
    background-color: var(--enfold-main-color-secondary);
}
#top .wpcf7-spinner {
    display:none;
}

.sbb-cf7-row {
    display: block;
}

@media only screen and (min-width: 990px) {

    .sbb-cf7-row {
        display: flex;
        gap: 1%;
    }

    .sbb-cf7-col {
        flex: 1 1 0;
    }

    .sbb-cf7-col label {
        margin-bottom: 0;
    }

}

#top .wpcf7-response-output {
    margin-top:1em;
    background-color: var(--enfold-main-color-secondary);
    border-color:var(--enfold-main-color-primary);
}
#top .wpcf7-not-valid-tip {
    color:#fff;
    background:var(--enfold-main-color-primary);
    padding-left:.25em;
}
