/* Allgemeine Stile */
.sticky-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #b7b7b7;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.rib-navbar-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.rib-logo-custom img {
    width: 150px;
    height: auto;
}

.rib-nav-links-custom {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rib-nav-links-custom li {
    margin: 0 10px;
}

.rib-nav-links-custom li a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #0067b1;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 3px;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rib-nav-links-custom li a:hover {
    background-color: var(--leadership-green);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #0067b1;
    border-radius: 3px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Anpassungen */
@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .rib-nav-links-custom {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: #fff;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }

    .rib-nav-links-custom.active {
        display: flex;
    }

    .rib-nav-links-custom li {
        margin: 10px 0 0px 5px;
        width: 100%;
    }

    .rib-nav-links-custom li a {
        width: 90%;
        text-align: center;
        padding: 8px 15px; /* Kleinere Buttons */
        font-size: 14px; /* Kleinere Schriftgröße */
    }

    .rib-logo-custom {
        text-align: center;
        margin-bottom: 10px;
    }

    .hamburger-menu span {
        width: 25px; /* Kleinere Hamburger-Linien */
        height: 2px;
    }
}

/* Tablet Anpassungen */
@media screen and (max-width: 1024px) {
    .rib-logo-custom img {
        width: 130px;
    }

    .rib-nav-links-custom li a {
        font-size: 14px;
        padding: 8px 15px;
    }
}
