/* CSS Reset + Basics */
html, body {
    margin: 0;
    padding: 0;
    background: var(--neutral-10);
    box-sizing: border-box;
    min-height: 100%;
    scroll-behavior:smooth;
}

body {
    display: flex;
    flex-direction: column;

    div#content {
        flex-grow: 1;
    }
}

.editor-visual-editor__post-title-wrapper {
    background-color: #eeeeee;
    margin-top: 0 !important;
    padding-top: 4rem !important;
}

details summary {
    list-style: none;
    cursor: pointer;

    &::-webkit-details-marker,
    &::marker{
        display: none;
    }
}

.blame {
    background: orange;
    border: dashed 1px red;
}

/* Page header Layout */
header#haider-header .inner {
    display: flex;
    flex-direction: row;
    gap: var(--space-xs);
    align-items: center;
    justify-content: space-between;

    #logo {
        display: flex;
        justify-content: start;
        align-items: center;
        flex-shrink: 1;

        svg {
            width: 100%;
            height: auto;
            max-width: 100%;
        }

        a {

            @media screen and (max-width: 1023px){
                max-width: 140px;
            }

            &:focus {
                outline: none;
            }

            &:focus-visible {
                outline: dashed 1px var(--neutral-60);
                outline-offset: 2px;
                -moz-outline-radius: 4px;
                border-radius: 4px;
            }
        }
    }

    #menue-area {
        display: flex;
        flex-direction: column;
        gap: var(--space-xs);

        #menue-top {
            display: none;
            justify-content: end;

            @media screen and (min-width: 1024px){
                display: flex;
                flex-direction: row;
                gap: var(--space-xxs);
            }

            #secondary-menue {}

            #search-bar {}

            #language-switcher {}

        }
    }
}

#haider-header {
    position: fixed;
    top: 0;
    left: 0;
    padding-bottom: 12px;
    background: rgba(227, 227, 227, 0.95);

    @media screen and (min-width: 1024px){
        position: sticky;
    }
}

/* Page footer Layout */

footer#profactor-footer {
    &:before {
        content: '';
        position: relative;
        display: block;
        width: 100%;
        height: 5px;
        background: var(--dark-turkis-web);
        margin-top: 10px;
    }

    a{
        text-decoration: underline;
        cursor: pointer;

        &:hover {
            text-decoration: none;
            cursor: pointer;
        }
    }
}

footer#profactor-footer .inner {
    div.content-area-1 {
        display: flex;
        gap: 48px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;

        div span.h5 {
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
        }

        @media screen and (min-width: 1024px){
            flex-direction: column;
        }

    }

    div.content-area-2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        padding: 16px;
        gap: 16px;

        img {
            width: auto;
            height: auto;
            max-width: 125px;
            max-height: 50px;

            @media screen and (min-width: 1024px){
                max-width: 125px;
                max-height: 75px;
            }
        }
    }
}

/* typography primary navigation */
.primary-nav-text {
    font-size: 22.5px;
    line-height: 29.3px;
    font-family: var(--main-headline-font-family);
    font-style: normal;
    font-weight: 400;
    text-decoration: none;
    color: var(--black-ci);
    text-transform: uppercase;
}

/* Widget: Primary Navigation Menue */
#primary-menue {
    /*display: none;*/
    display: flex;
    gap: var(--space-xxs);
    position: relative;
    margin-right: 35px;

    @media screen and (min-width: 1024px){
        display: flex;
    }

    .widget-arrow-next {
        opacity: 0;
    }

    .arrow-icon {
        transition: all .20s ease-in-out;
        display: flex;
    }

    /* level 0 */
    div.menu-item {

        & > a {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            padding: 16px;
            justify-content: center;
            align-items: center;
            gap: 10px;
            border-radius: 4px;
        }

        & > a:hover,
        & > a:active,
        & > a:focus,
        & > a:focus-visible,
        & > a.is-active,
        & > a:focus-visible,
        &:focus-within > a {
            /* background-color: var(--dark-turkis-web);
            color: var(--neutral-10);
            outline: none;*/
            text-decoration: underline;
        }

        div.submenu {
            background:var(--neutral-10);
            border: solid 2px var(--dark-turkis-web);
            border-radius: 4px;
            position: absolute;
            top: 3.75em;
            left: 0;
            width: 100%;
            flex-direction: column;

            &[aria-hidden="true"]{
                display: none;
                visibility: hidden;
                pointer-events: none;
            }

            &:hover,
            &:active,
            &:focus,
            &:focus-visible,
            &.is-active {
                display: flex;
            }

            a {
                color: var(--neutral-90);
                font-family: var(--body-font-family);
                font-size: 22px;
                font-style: normal;
                font-weight: 400;
                line-height: 28.8px;
                text-decoration: none;
                border-radius: 4px;
                display: flex;
                padding: 16px 8px;
                justify-content: space-between;
                align-items: center;
                align-self: stretch;

                &:hover,
                &:active,
                &:focus,
                &:focus-visible,
                &.is-active {
                    background-color: var(--neutral-10);
                    outline: none;

                    .widget-arrow-next {
                        opacity: 1;
                    }
                }
            }
        }

        &:focus-within .submenu,
        &:hover .submenu {
            display: flex !important;
            visibility: visible !important;
            pointer-events: auto !important;
        }

        &:focus-within .arrow-icon,
        &:hover .arrow-icon {
            transform: rotate(180deg);
        }

        &:focus-within .submenu {
            aria-hidden: false;
        }
    }
}

/* Widget: Secondary Navigation Menue */
#secondary-menue {
    margin-right: 32px;

    a.secondary-nav-text {
        display: inline-block;
        text-decoration: none;
        padding: 4px 8px;

        /*display: flex;*/
        padding: 4px 8px;
        justify-content: center;
        align-items: center;
        border-radius: 4px;

        &:hover,
        &:focus,
        &:focus-visible,
        &:active {
            background: var(--dark-turkis-web, #1E7476);
            color: var(--neutral-10, #fff);
            outline: none;
        }
    }
}

/* Widget: Mobile Navigation Menue */
#mobile-menue {
    /*display: flex;*/
    display: none;

    .icon-close {display: none}
    .icon-burger {display: block}

    &[open] summary {
        .icon-close {display: block}
        .icon-burger {display: none}
    }

     & > nav{
         background: var(--neutral-10);
         position: absolute;
         top:184px;
         left: 0;
         right: 0;
         max-width: 100%;
         border-bottom: 4px solid var(--dark-turkis-web);
         display: flex;
         flex-direction: column;
         padding-top: 16px;
         padding-left: 16px;
         padding-right: 16px;
         padding-bottom: 16px;

         div.mobile-inner-toolbar {
             display: flex;
             flex-direction: row;
             margin-bottom: 16px;

             #search-bar,
             #search-bar form,
             #search-bar input {
                 display: flex;
                 max-width: 100%;
                 flex-grow: 1;
             }
         }

         a {
             /* display: block; */
         }

         #primary-menue {
             display: flex;
             flex-direction: column;
             position: relative;
             top: unset;
             left: unset;
             right: unset;
             bottom: unset;
             width: auto;
             margin-bottom: 16px;
         }

         #secondary-menue {
             display: flex;
             flex-direction: column;
             margin-right: auto;
         }

     }

    @media screen and (min-width: 1024px){
        display: none;
    }
}

/*@media screen and (min-width: 1024px){*/
    #primary-menue .menu-item:last-child a {
        color: #fff;
        position: relative;
        text-transform: lowercase;
        padding-right: 30px;
        font-size: 22px;
        transform: scale(0.8);

        @media screen and (min-width: 1024px){
            font-size: 22px;
            transform: scale(1.0);
        }

        &::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            z-index: -1;
            transform: skew(40deg);
            background: var(--dark-turkis-web);
            border-right: solid 10px rgba(217, 217, 217, 0.95);
            box-shadow: 20px 0px 0px var(--dark-turkis-web);
        }
    }
/*}*/

div.footer-area-1-line1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;

    @media screen and (min-width: 1024px){
        align-items: start;
    }

    &, a {
        color: #383E42;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 34px; /* 170% */
        text-decoration: none;
    }

    & > div {
        display: flex;
        flex-direction: row;
        gap: 12px;
    }

    @media screen and (min-width: 1024px) {
        flex-direction: row;
        gap: 48px;

        &, a {
            color: #383E42;
            font-size: 24px;
            font-style: normal;
            font-weight: 400;
            line-height: 34px; /* 170% */
            text-decoration: none;
        }
    }

}

.legal-line {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 50px;

    @media screen and (min-width: 1024px){
        gap: 24px;
    }

    &, a {
        color: #383E42;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 34px; /* 170% */
        text-decoration: none;

        @media screen and (min-width: 1024px){
            font-size: 16px;
        }
    }
}

/* social media links in Footer */

nav.socialmedia-links {
    display: none;
    /*
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: center;
    gap: 8px;

    @media screen and (min-width: 1024px){
        justify-content: flex-end;
    }

    a {
        display: flex;
        padding: 4px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 7px 0px;
        background: var(--dark-turkis-web);
        color: var(--neutral-10);
    }
    */
}


/* Widget: Footer Area 3 Navigation Menue */
#area3-menue {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;

    .menu-item {
        display: block;
        width: 100%;
        max-width: 50%;
        flex-grow: 1;
        box-sizing: content-box;

        @media screen and (min-width: 1024px) {
            width: unset;
            max-width: unset;
        }
    }

    .menu-item a {
        color: var(--neutral-10);
        text-decoration: underline;
        display: block;
    }
}



/* widget: Formularfeld */
.widget-input-field {
    display: flex;
    position: relative;

    input {
        display: flex;
        max-width: 208px;
        padding: 4px 8px;
        align-items: center;
        gap: 8px;
        border-radius: 4px;
        border: 1.5px solid var(--neutral-80);
        background: var(--neutral-10);
        padding-left: 35px;

        &:focus {
            outline: none;
        }

        &:focus-visible {
            outline: dashed 1px var(--neutral-60);
            outline-offset: 2px;
        }
    }
}

/* widget: Such-Formularfeld */
.widget-input-field-search {
    display: flex;
    position: relative;

    svg {
        position: absolute;
        left: 5px;
        top: 2.5px;
    }

    input {
        display: flex;
        max-width: 208px;
        padding: 4px 8px;
        align-items: center;
        gap: 8px;
        border-radius: 4px;
        border: 1.5px solid var(--neutral-80);
        background: var(--neutral-10);
        padding-left: 35px;

        &:focus {
            outline: none;
        }

        &:focus-visible {
            outline: dashed 1px var(--neutral-60);
            outline-offset: 2px;
        }
    }
}

/* widget arrow-next */
.widget-arrow-next {
    display: flex;
    box-sizing: border-box;
    /*padding: 10px 24px;*/
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 7px 0px;
    background: var(--dark-turkis-web, #1E7476);
    transition: opacity 0.15s ease-in-out;

    svg {
        width: 16px;
        height: 13px;
        flex-shrink: 0;
        fill: var(--neutral-10, #FFF);
    }
}

/* widget burger-icon */
.widget-burger-icon {
    display: flex;
    justify-content: center;
    align-content: center;
}

/* widget scroll Top button */
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;

    width: 50px;
    height: 50px;
    padding: 10px 24px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    border-radius: 7px 0;
    border: 2px solid var(--neutral-10, #FFF);
    background: var(--neutral-80, #616161);
    cursor: pointer !important;

    &:hover {
        background-color: var(--black-ci);
        cursor: pointer;
    }

    &:focus {
        outline: none;
    }

    &:focus-visible {
        outline: dashed 1px var(--neutral-60);
        outline-offset: 2px;
        -moz-outline-radius: 4px;
        border-radius: 4px;
    }

    svg {
        width: 26px;
        height: 20px;
        /*transform: rotate(-90deg);*/
        flex-shrink: 0;
        fill: var(--neutral-10, #FFF);
    }

    &.show {
        display: flex;
        opacity: 1;
    }
}


/* GUTENBERG Blocks */

/* breadcrumbs */
#profactor-breadcrumbs {
    color: var(--neutral-80);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: var(--space-xxs);
    margin-bottom: 32px;

    svg {
        line-height: 0;
        font-size: 0;
    }

    span[aria-current="page"] {
        text-decoration: underline;

        /* line clamp 1 line */
        white-space: normal;
        display: -webkit-box;
        max-width: 100%;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    a.breadcrumb-link {
        text-decoration: none;
        color: var(--neutral-80);

        &:hover {
            text-decoration: underline;
        }

        &:focus {
            outline: none;
            text-decoration: underline;
        }

        &:focus-visible {
            text-decoration: underline;
            outline: dashed 1px var(--neutral-60);
            outline-offset: 2px;
            -moz-outline-radius: 4px;
            border-radius: 4px;
        }
    }
}

/* intro */

.haider-intro {
    background: #27292B;
    padding-top: 80px;
    padding-bottom: 80px;
    margin-top: -80px;

    .inner {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 25px;

        @media screen and (min-width: 1024px){
            flex-direction: row;
            gap: 0;
        }
    }

    .image-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        aspect-ratio: 3 / 4;
        font-size: 0;

        @media screen and (min-width: 1024px){
            width: 50%;
            max-width: 100%;
        }

        img {
            object-fit: cover;
            width: 100%;
            height: 100%;
        }
    }

    .intro-content {
        /*padding: var(--space-l);*/
        max-width: 998px;
        width: 100%;
        z-index: 999;
        position: relative;
        color: #F9F9F9;

        @media screen and (min-width: 1024px){
            margin-top: -50px;
            padding: 0;
            width: 50%;
            margin-bottom: var(--space-l);
        }

        h1, p {
            color: #F9F9F9 !important;
        }

    }
}

/* Topics */

.profactor-topics {

    .topic-list {
        display: flex;
        flex-direction: column;
        gap: var(--space-xl);
        margin-top: var(--space-xl);

        .topic-list-item {
            width: 100%;
            overflow: hidden;
            display: flex;
            flex-direction: column;

            @media screen and (min-width: 1024px){
                flex-direction: row;

                &:nth-child(2n){
                    flex-direction: row-reverse;
                }
            }

            .image-container {
                /*width: 100%;
                max-width: 50%;*/
                min-width: 50%;
                overflow: hidden;
                aspect-ratio: 4 / 3;

                img {
                    object-fit: cover;
                    width: 100%;
                    height: 100%;
                }
            }

            .text-container {
                /*width: 100%;*/
                max-width: 100%;
                flex-grow: 1;
            }

            .btn-text {
                display: block;
                margin-top: 1em;
            }
        }
    }
}

/* for better editing experience in the backend */
body.wp-admin .profactor-topics .topic-list .topic-list-item {
    flex-direction: column !important;
}

div.profactor-topics2 .inner {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: var(--space-s);

    .h2 {
        width: 100%;
    }

    .topic2-image-area {
        display: block;
        /*width: 100%;*/
        max-width: 100%;
        overflow: hidden;
        aspect-ratio: 3 / 4;

        @media screen and (min-width: 1024px){
            /*width: 100%;*/
            max-width: calc(50% - var(--space-s));
        }

        img {
            object-fit: cover;
            width: 100%;
            height: 100%;
        }
    }

    .topic2-list {
        display: block;
        /*width: 100%;*/
        max-width: 100%;

        .topic2-item {
            display: flex;
            border-bottom: solid 1px var(--neutral-90);

            &:last-child {
                border-bottom: none;
            }
        }

        @media screen and (min-width: 1024px){
            /*width: 100%;*/
            max-width: 50%;
        }

        .text-container {
            /*border-bottom: solid 1px var(--neutral-90);*/
        }

    }
}


div.profactor-benefits .inner {

    h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .font-body {
        color: var(--neutral-10);
    }

    div.benefits-list-item {
        display: flex;
        flex-direction: row;
        gap: var(--space-s);
    }

    div.benefits-item {
        display: flex;
        flex-direction: column;
        gap: var(--space-s);
        overflow: hidden;

        &:nth-child(2n){
            flex-direction: column-reverse;
        }

        h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .font-body {
            color: var(--neutral-100);
        }

        .text-container {
            aspect-ratio: 4 / 3;
            box-sizing: border-box;
        }

        .image-container {
            width: 100%;
            max-width: 100%;
            overflow: hidden;
            aspect-ratio: 4 / 3;

            img {
                object-fit: cover;
                width: 100%;
                height: 100%;
            }
        }

    }
}

/* Filter global*/

form.wps-postlist-filter {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);

    @media screen and (min-width: 800px){
        flex-direction: row;
    }
}


/* Filter old*/

form#joblistfilter {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    /*margin-bottom: var(--space-xs);*/

    @media screen and (min-width: 800px){
        flex-direction: row;
    }
}

div#content article.n  > div.gtnbrg-contentarea {
    /*padding-bottom: var(--space-xl);*/

    & > p,
    & > .wp-block-heading,
    & > .wp-block-list{
        width: 100%;
        /*max-width: 1202px;*/
        max-width: 1280px;
        margin: auto;
        padding-left: var(--space-s);
        padding-right: var(--space-s);
        box-sizing: border-box;
        margin-bottom: 1rem;

        & + .profactor-benefits {
            margin-top: var(--space-xl);
        }
    }


    & > .wp-block-list{
        list-style-position: outside;
        padding-left: 2.5em;

        li {
            margin-bottom: 1rem;
        }

        li::marker  {
            color: black;   /* Bullet-Farbe */
            font-size: 1em; /* Größe anpassen */
        }
    }
}

.single-post-header-image {
    background: #B2B9C0;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;

    img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}

#contactPersonBox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-l);

    @media screen and (min-width: 1024px) {
        flex-direction: row;
    }

    .contactPersonImage {
        background: #B2B9C0;
        max-width: 100%;
        width: 387px;
        aspect-ratio: 16 / 9;
        overflow: hidden;

        img {
            object-fit: cover;
            width: 100%;
            height: 100%;
        }
    }

}



.mission-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;

    & > div {
        background: #fff;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: var(--space-m);
        width: calc(50% - 10px);/* 100%; */
        max-width: 50%;
    }

    .pos-0 {
        padding: 0;
    }

    .image-container {
        aspect-ratio: unset;
        height: 100%;
    }

    @media screen and (min-width: 1024px){

        & > div {
            width: calc(100% - 10px);/* 100%; */
            max-width: 100%;
        }

        .image-container {
            aspect-ratio: 16 / 5;
            height: inherit;
        }

        .pos-1,
        .pos-2 {
            width: calc(50% - 10px);/* 50%; */
            max-width: 50%;
        }

        .pos-3,
        .pos-4,
        .pos-5{
            width: calc(33.33% - 13.33px);/* 33.33% */
            max-width: 33.33%;
        }
    }
}


div.profactor-numbers {

    /* --p1: 40; Anteil in Prozent: 4 Mio von 10 Mio */
    --deg1: calc(var(--p1) * 3.6deg);
    --size: 200px;     /* Außendurchmesser */
    --hole: 70%;       /* Loch-Durchmesser in % von außen */
    --c1: #9E9E9E;     /* Segment 1 (4 Mio) */
    --c2: #1E7476;     /* Segment 2 (6 Mio) */
    --bg: #fff;        /* Hintergrundfarbe */

    .overview-text {
        width: 100%;
        text-align: center;
        margin-top: 73px;
        margin-bottom: 73px;
    }

    .factlist {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 125px;

        .fact-item {
            box-sizing: border-box;
            border: 1px solid var(--neutral-60, #9E9E9E);
            background: #FFF;
            padding: var(--space-s);
            display: flex;
            flex-direction: row;
            gap: 15px;
            align-items: start;
            width: calc(50% - ( 1 * 15px/2));
            max-width: 100%;

            @media screen and (min-width: 1024px){
                align-items: center;

                &:nth-child(1),
                &:nth-child(2) {
                    width: calc(50% - ( 1 * 15px/2));
                    max-width: 100%;
                }

                &:nth-child(3),
                &:nth-child(4),
                &:nth-child(5),
                &:nth-child(6){
                    width: calc(25% - ( 3 * 15px/4));
                    max-width: 50%;
                }

            }

            .fact-icon {
                background: var(--neutral-30, #EDEDED);
                aspect-ratio: 1 / 1;
                width: 100%;
                max-width: 64px;
                display: flex;
                justify-content: center;
                align-items: center;
            }
        }
    }

    .diagram {
        display:flex;
        flex-direction: column;
        justify-content:center;
        align-items:center;
        gap: 72px;

        @media screen and (min-width: 1024px){
            flex-direction: row;
        }

        .item {
            border-left: solid 8px #000;
            padding-left: 24px;
            padding-right: 24px;
            padding-top: 16px;
            padding-bottom: 16px;
        }

        .swatch {
            width: 20px;
            height: 100%;
        }

        .donut {
            position: relative;
            width: var(--size);
            height: var(--size);
            border-radius: 50%;
            background: conic-gradient(
                    from 35deg,
                        /* Erste Linie am Start (0°) */
                    #fff 0deg 0.50deg,
                    var(--c1) 0.50deg calc(var(--deg1) - 0.50deg),
                        /* Linie zwischen Segment 1 und 2 */
                    #fff calc(var(--deg1) - 0.50deg) calc(var(--deg1) + 0.50deg),
                    var(--c2) calc(var(--deg1) + 0.50deg) calc(360deg - 0.50deg),
                        /* Zweite Linie am Ende (360°) */
                    #fff calc(360deg - 0.50deg) 360deg
            );

            &::before {
                content:"";
                position:absolute;
                top:50%;
                left:50%;
                transform:translate(-50%,-50%);
                width: var(--hole);
                height: var(--hole);
                border-radius:50%;
                background: var(--bg);
            }
        }
    }
}

div.template-part-event .inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 48px;

    @media screen and (min-width: 1024px){
        flex-direction: row;
    }

    div.event-content {
        flex-grow: 1;
    }

    div.event-details {
        display: flex;
        flex-direction: column;
        gap: 20px;

        & > div {
            border-radius: 4px;
            border: 1.5px solid var(--neutral-60, #9E9E9E);
            padding: 32px;

            h2 {
                white-space: nowrap;
                display: flex;
                justify-content: start;
                align-items: center;
                gap: 16px;
            }
        }
    }

}


.storyCardContainer {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: start;
    margin-bottom: 32px;
    gap: 16px;

    & > div {
        max-width: 30%;
    }
}

.story-card {
    border-radius: 4px;
    background: var(--neutral-10, #FFF);
    padding: 16px;
    box-shadow: 0px 0px 0px 0 rgba(118, 118, 118, 0.10);
    transition: box-shadow ease-in-out 0.5s;

    &:hover,
    &:focus,
    &:focus-visible {
        box-shadow: 4px 4px 12px 0 rgba(118, 118, 118, 0.10);
    }

    .single-post-header-image {
        margin-bottom: 16px;
    }
}

.banner {
    position: fixed;
    left: 0;
    /* top: 113px; */
    top: 68px;
    background: var(--dark-turkis-web);
    width: 100%;
    height: 13px;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: margin ease-in-out 0.3s;

    @media screen and (min-width: 1024px){
        position: sticky;
        top: 144px;
    }
}

body:has(#mobile-menue[open]) .banner{
    margin-top: 0px;
}

body.home {
    background: #27292B;
}



body {
    padding-top: 100px;

    @media screen and (min-width: 1024px){
        padding-top: 0px;
    }

    &.home {
        padding-top: 0;
    }
}

/* changed */
header#haider-header,
div.banner{
    /*z-index: 99999999;*/
    z-index: 1000;
}

.haider-motorradwerkstatt-teaser {
    padding-top: 80px;
    padding-bottom: 80px;
    color: #fff;

    &.is-reversed .imagetext-content {
        @media screen and (min-width: 1024px) {
            flex-direction: row-reverse;
        }
    }

    .imagetext-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 75px;

        @media screen and (min-width: 1024px) {
            flex-direction: row;
        }

        .box-content {
            padding-top: 80px;
            padding-bottom: 80px;
            color: #fff !important;

            h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, p {
                color: #fff !important;
            }

            .subtext > p {
                font-size: 24px !important;
                font-weight: 700 !important;
            }

            a.btn-special {
                color: #fff;
                position: relative;
                text-transform: lowercase;
                font-size: 22px;
                z-index: 1;
                text-decoration: none;
                padding-top: 10px;
                padding-bottom: 10px;
                padding-left: 30px;
                padding-right: 35px;
                margin-top: 50px;

                &:hover {
                    text-decoration: underline;
                }

                &::after {
                    content: '';
                    position: absolute;
                    top: 0;
                    right: 0;
                    bottom: 0;
                    left: 0;
                    z-index: -1;
                    transform: skew(40deg);
                    background: var(--dark-turkis-web);
                    border-right: solid 10px rgba(39, 41, 43, 0.95);
                    box-shadow: 20px 0px 0px var(--dark-turkis-web);
                }
            }
        }
    }


    .image-container {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        aspect-ratio: 519 / 625;
        font-size: 0;
        height: 331px;

        @media screen and (min-width: 1024px){
            min-width: 400px;
            max-width: 519px;
        }

        img {
            object-fit: cover;
            width: 100%;
            height: 100%;
        }
    }

}


.haider-imagetext {
    padding-top: 80px;
    padding-bottom: 80px;

    &.is-reversed .imagetext-content {
        @media screen and (min-width: 1024px) {
            flex-direction: row-reverse;
        }
    }

    .imagetext-content {
        display: flex;
        flex-direction: column;
        gap: 24px;

        @media screen and (min-width: 1024px) {
            flex-direction: row;
        }

        .box-content {
            padding-top: 80px;
            padding-bottom: 80px;
        }

        .checkbox {
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            gap: 12px;
        }
    }

    .image-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        aspect-ratio: 519 / 625;
        font-size: 0;

        @media screen and (min-width: 1024px){
            min-width: 400px;
        }

        img {
            object-fit: cover;
            width: 100%;
            height: 100%;
        }
    }
}


div.haider-mission {
    position: relative;
    background: #27292B;
    color: #F9F9F9 !important;
    padding-top: 300px;
    background:
            linear-gradient(180deg, rgba(39, 41, 43, 0.00) 0%,
            rgba(39, 41, 43, 0.70) 15%,
            #27292B 40%),
            url('/wp-content/uploads/2025/12/Haider-unterm-Auto_zugeschnitten-V2-scaled.jpg') lightgray 50% / cover no-repeat;

    .outer {
        padding-top: 0px;

        .outer-upper {
            width: 100%;
            height: 80px;
            /* background: linear-gradient(180deg, rgba(39, 41, 43, 0.00) 0%, rgba(39, 41, 43, 0.70) 50.96%, #27292B 96.15%), url(<path-to-image>) lightgray 50% / cover no-repeat;*/
        }

        .outer-downer {
            /*background: #27292B;*/
            padding-bottom: 80px;

        }
    }

    h1, h2, h3, p {
        color: #F9F9F9 !important;
    }

    h2 {
        margin-bottom: 32px;
    }

    div.subtitle {
        color: #E3E3E3;
        text-align: center;
        font-family: Montserrat;
        font-size: 34px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin-bottom: 8px;
    }

    div.mission-intro-text {
        color: #E3E3E3;
        text-align: center;
        font-family: Montserrat;
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: 34px; /* 170% */
        margin-bottom: 40px;
    }

    div.teaser {
        display: flex;
        flex-direction: column;
        gap: 24px;

        @media screen and (min-width: 1024px){
            flex-direction: row;
        }

        & > div {
            border: 1.5px solid #383E42;
            background: rgba(56, 62, 66, 0.50);
            box-sizing: border-box;
            padding: 32px;

            @media screen and (min-width: 1024px){
                max-width:50%;
            }

            h3 {
                margin-bottom: 32px;
            }
        }
    }
}

.haider-mission {
    .haider-bars {
        position: absolute;
        top: -50px;
        right: 15px;
        z-index: 999;

        svg {
            width: 250px;
            height: auto;
        }
    }
}


/* packages */

.packages-block {
    padding-top: 50px;
    padding-bottom: 50px;

    .package-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 24px;
        margin-top: 50px;

        /* css snipped for mobile sliding */
        @media screen and (max-width: 1024px){
            flex-wrap: nowrap;
            overflow-x: auto;
            padding-top: 25px;
            justify-content: flex-start;

            .single-package-card {
                max-width: unset !important;
            }
        }

        .single-package-card {
            border: solid 8px #ECECE7;
            max-width: 100%;
            color: #ECECE7;
            min-height: 780px;

            @media screen and (min-width: 768px){
                max-width: 45%;
            }

            @media screen and (min-width: 1024px){
                max-width: 30%;
            }

            .single-package-card-title {
                position: relative;
                background-color: #ECECE7;
                color: var(--neutral-100);
                padding-top: 32px;
                padding-bottom: 24px;
                padding-left: 8px;
                padding-right: 8px;

                .h4.title {
                    color: inherit;
                    margin-bottom: 8px;
                }

                .subtitle {
                    font-size: 24px;
                    font-style: normal;
                    font-weight: 500;
                    line-height: 24px; /* 100% */
                }

                div.lable {
                    position: absolute;
                    right: 5px;
                    top: -25px;
                    border: solid 5px var(--neutral-100);
                    background-color: #9C2322;
                    display: flex;
                    padding: 4px 16px;
                    justify-content: center;
                    align-items: center;
                    gap: 10px;
                    font-family: 'Montserrat';
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 500;
                    line-height: 24px; /* 150% */
                }
            }

            .single-package-card-content {
                padding: 24px;

                div.price {
                    color: #ECECE7;
                    display: flex;
                    flex-direction: row;
                    align-items: end;
                    justify-content: center;
                    gap: 16px;

                    div.price-tag {
                        color: #ECECE7;
                        font-family: 'Orbitron';
                        font-size: 62px;
                        font-style: normal;
                        font-weight: 700;
                        line-height: 1em;
                    }
                }

                div.extras {
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    border-bottom: solid 2px #ECECE7;
                    padding-bottom: 24px;
                    margin-bottom: 24px;
                    margin-top: 16px;
                    font-size: 16px;

                    .info-container {
                        position: relative;

                        .info-box-content {
                            display: none;
                        }

                        button.info-icon {
                            cursor: pointer;
                            border: none !important;
                            background: none;
                            margin: 0;
                            padding: 0;

                            &:hover,
                            &:focus {
                                opacity: 0.5;
                            }

                            path {fill: #ECECE7}

                            &:hover + .info-box-content,
                            &:focus + .info-box-content {
                                display: block;
                                position: absolute;
                                top: 25px;
                                right: 0;
                                background-color: #ECECE7;
                                color: var(--neutral-100);
                                border: solid 1px var(--neutral-100);
                                padding: 8px;
                            }
                        }
                    }
                }

                div.services {
                    overflow: hidden;
                    display: flex;
                    flex-direction: row;
                    flex-wrap: nowrap;
                    min-width: 100%;

                    ul li {font-size: 16px;}

                    & > div {
                        min-width: 100%;
                        transition: margin-left ease-in-out 0.3s;
                    }

                    &.toggled > div.included-services {
                        margin-left: -100%;
                    }
                }

                div.toggle-between-services-container button {
                    color: #ECECE7;
                    border: none;
                    background: none;
                    width: 100%;
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    align-items: center;
                    font-family: 'Orbitron';
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 26px; /* 162.5% */
                    cursor: pointer;

                    &.toggled {
                        flex-direction: row-reverse;
                        justify-content: flex-end;
                    }

                    &:hover,
                    &:focus {
                        opacity: 0.5;
                    }

                    svg path {
                        fill: #ECECE7;
                    }
                }
            }

            &.style-highlight {
                border-color: #9C2322;
                background-color: #ECECE7;
                color: var(--neutral-100);

                .single-package-card-title {
                    background-color: #9C2322;
                    color: #ECECE7;
                }

                .single-package-card-content {

                    div.price {
                        color: #27292B;

                        div.price-tag {
                            color: #27292B;
                        }
                    }

                    div.extras {
                        border-color: #9C2322;

                        .info-container button.info-icon path {
                            fill: var(--neutral-100);
                        }
                    }

                    div.toggle-between-services-container button {
                        color: #27292B;

                        svg path {
                            fill: #27292B;
                        }
                    }
                }

            }
        }
    }
}

.toggle-between-services-container button svg {
    transition: transform 0.3s ease; /* Macht die Drehung geschmeidig */
    vertical-align: middle;
}

.toggle-between-services-container button.toggled svg {
    transform: rotate(180deg); /* Dreht den Pfeil nach links */
}