/* =====================================
   WRAPPER
===================================== */

.cst-tabs {
    display: grid;
    grid-template-columns: 550px 1fr;
    gap: 60px;
    align-items: start;
}

/* =====================================
   LEFT NAVIGATION
===================================== */

.cst-tabs-nav {
    box-sizing: border-box;
    color: #E5332A;
    column-gap: 10px;
    display: flex;
    flex-basis: 325px;
    flex-direction: column;
    flex-shrink: 0;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: flex-start;
    line-height: 20px;
    overflow-x: visible;
    row-gap: 2px;
    scrollbar-width: none;
    text-align: start;
   
}

.cst-tab-btn {
    position: relative;
    font-family: "Gill Sans Nova", sans-serif;
    text-align: left;
    padding: 10px 15px;
    border-radius: 0;
    font-weight: 700;
    font-size: 18px;
    text-transform:uppercase;
    border: none;
    cursor: pointer;
    background: #3B256D;
    color: #fff;
    transition: all 0.25s ease;
    white-space: normal;
    /* erlaubt Zeilenumbruch */

    text-align: left;
}

.cst-tab-panel {
    height: 100%;
}

.mobile-icon {
    display: none;
}

/* Hover */
.cst-tab-btn:hover {
    background: #E5332A;
    color: #ffffff;
}

/* Active */
.cst-tab-btn.active {
    background: #E5332A;
    color: #ffffff;
}

/* Orange Arrow Indicator */
.cst-tab-btn.active::after {
    content: "";
    position: absolute;
    right: -45px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: url('https://www.wirtschaftsbund.st/wp-content/uploads/2025/05/red-circle-arrow.svg') no-repeat center center;
    background-size: 80%;
}

.cst-tab-btn:hover::after,
.cst-tab-btn.active::after {
    opacity: 1;
}

/* =====================================
   CONTENT AREA
===================================== */
.cst-tabs-content {
    height: 100%;
}

.cst-tab-panel {
    display: none;
}

.columns-1.active {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    height: 100%;

}

.columns-2.active {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    height: 100%;

}

.columns-3.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    height: 100%;

}

/* =====================================
   CARD STYLE
===================================== */

.cst-col {
    background: #fff;
    /* padding: 20px; */
    border-radius: 0px;
    min-height: 400px;
    position: relative;
}
.cst-col li{
    font-family:"Gill Sans Nova";
    margin-left:-20px;
}


/* =====================================
   TYPO
===================================== */

.cst-col h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    font-family: "Gill Sans Nova", sans-serif;

}

.cst-col h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    font-family: "Gill Sans Nova", sans-serif;

}

.cst-col p {
    line-height: 30px;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    font-family: "Gill Sans Nova", sans-serif;


}


/* =====================================
   TABLET
===================================== */
@media (min-width: 768px) and (max-width:1024px) {
    .cst-col {
        background: #F2F2F2;
        padding: 14px;
        border-radius: 0px;
        min-height: 400px;
        position: relative;
        width: 100%;
    }

    .cst-tabs-nav {
        max-width: 250px;
        padding: 5px;
        font-size: 18px;
        line-height: 20px;
    }

    .cst-col p {
        line-height: 20px;
        color: #000;
        font-size: 16px;
        font-weight: 500;
        font-family: "Gill Sans Nova", sans-serif;

    }

    .cst-tabs-content {
        margin-left: -90px;
    }

    .cst-tab-btn {
        line-height: 22px;
        padding: 12px 15px;
    }

    .cst-col h3 {
        font-size: 18px;
        font-weight: 800;
        margin-bottom: 20px;
        color: #000;
        font-family: "Gill Sans Nova", sans-serif;

    }


}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 767px) {
    .cst-tabs-nav {
        max-height: 580px;
        height: 100%;
        width: 100%;
        max-width: 410px;
    }

    .cst-tabs {
        grid-template-columns: 1fr;
    }

    .cst-tab-panel.active {
        grid-template-columns: 1fr;
    }

    .cst-tab-btn.active::after {
        display: none;
    }

    .mobile-icon {
        display: flex;
    }

    .mobile-icon img {
        transform: rotate(90deg);
        width: 40px;
        margin-left: auto;
        margin-right: auto;
    }

    .cst-tabs {
        gap: 20px;
    }

    .cst-col {
        background: #F2F2F2;
        padding: 12px;
        border-radius: 0px;
        position: relative;
        max-height: 250px;
        height: 100%;
        margin-bottom: 12px;
    }
}


.cst-accordion-content {
    display: none;
    margin-bottom: 10px;
}

.cst-accordion-content.active {
    display: block;
    max-width: 390px;
}

.cst-accordion-btn.active {
    font-weight: bold;
}

.cst-accordion-item {
    max-width: 410px;

}

.cst-accordion-btn {
    width: 100%;
    position: relative;
    font-family: "Gill Sans Nova", sans-serif;
    text-align: left;
    padding: 15px 35px;
    border-radius: 0;
    font-weight: 700;
    font-size: 20px;
    border: none;
    cursor: pointer;
    background: #e9ebf0;
    color: #27347b;
    transition: all 0.25s ease;
    white-space: normal;
    text-align: left;
    margin-bottom: 8px;
}

.cst-accordion-btn:hover {
    background-color: #E5332A;
    color: white;
}

.cst-accordion-btn:focus {
    background-color: #E5332A;
    color: white;
}

.cst-accordion-btn:active {
    background-color: #E5332A;
    color: white;
}