/* ================================================
   CHI BASEL - Mobile auf Handy und Tablet hoch/breit
   Breakpoint: max 1024px
   ================================================ */

/* Desktop-Header ausblenden */
@media (max-width: 1024px) {
    #chi-scroll-header {
        display: none !important;
    }
}



/* Oberste Spalte mit Logos nebeneinander halten */
@media (max-width: 1024px) {
    #chi-mobile-header .et_pb_row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
    
    #chi-mobile-header .et_pb_column {
        width: auto !important;
    }
}



/* Hamburger Button */
.chi-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto; /* schiebt ihn nach rechts */
}

.chi-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Erste Linie k端rzer */
.chi-hamburger span:first-child {
    width: 70%;
    margin-left: auto;
}





/* ================================================
   CHI BASEL — Mobile Menu Panel
   ================================================ */

/* Panel grundstruktur — standardmässig geschlossen */
.chi-mobile-menu {
    position: fixed;
    top: 150px;
    left: 0;
    width: 100%;
    height: calc(100vh - 150px);
    background-color: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 9998;
    padding: 24px 20px;
    box-sizing: border-box;
    transform: translateY(-110%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    opacity: 0;
}

.chi-mobile-menu.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}




/* Suchfeld */
.chi-menu-search {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #002949;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.chi-menu-search input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #002949;
    background: transparent;
    letter-spacing: 0.05em;
}

.chi-menu-search input::placeholder {
    color: #002949;
    opacity: 0.5;
}

.chi-search-icon {
    font-size: 18px;
    color: #002949;
}

/* Navigation Liste */
.chi-menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.chi-menu-nav .chi-menu-item {
    padding: 10px 0;
    cursor: pointer;
}

.chi-menu-nav .chi-menu-item span {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #002949;
    letter-spacing: 0.03em;
}

/* Globus Footer */
.chi-menu-footer {
    margin-top: 16px;
    padding-top: 12px;
}

.chi-globe {
    font-size: 24px;
    color: #002949;
    cursor: pointer;
}



/* Panel nur auf Mobile/Tablet öffnen */
.chi-mobile-menu {
    display: none;
}

@media (max-width: 1024px) {
    .chi-mobile-menu {
        display: block;
    }
}



/* ================================================
   Accordion Submenu
   ================================================ */

.chi-menu-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #002949;
    padding: 4px 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.chi-menu-item.is-active .chi-menu-label {
    color: #e6332a;
}

.chi-submenu {
    display: none;
    padding-top: 14px;
    padding-bottom: 10px;
}

.chi-menu-item.is-active .chi-submenu {
    display: block;
}

.chi-submenu-group {
    margin-bottom: 12px;
}

.chi-submenu-group h4 {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 900;
    color: #002949;
    margin: 0 0 4px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #002949;
    letter-spacing: 0.05em;
}

.chi-submenu-group a {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #002949;
    text-decoration: none;
    padding: 6px 0;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.chi-submenu-group a:hover {
    color: #e6332a;
}




