/* Responsive Anpassungen */
@media (max-width: 768px) {
    .navbar {
        background-color: #1e2b4a;
        display: flex;
        padding: 0 0;
        align-items: center;
        justify-content: space-between;

        position: normal;
        top: auto;
        left: auto;
        width: 100%;
        margin: 0 0;

        backdrop-filter: unset;
        background: #1e2b4a;
        border-radius: 0px;
    }

    .navbar-menu {
        padding: 1rem 0;
        width: 100%;
    }

    .navbar img {
        margin-left: 2rem;
    }

    .nav-links {
        display: none;
    }

    /* Navigation Button for mobile design */
    .nav-button {
        display: flex;
        visibility: visible;
        justify-content: center;
        align-items: center;
        width: 60px;
        height: 60px;
        background-color: transparent;
        border: 2px solid transparent;
        border-radius: 10%;
        cursor: pointer;
        transition: transform 0.2s ease, background-color 0.3s ease;
        padding: 0;
    }

    .nav-button:hover {
        background-color: rgba(255, 255, 255, 0.1);
        /* leichtes Hover-Feedback */
        transform: scale(1.05);
    }

    .nav-button svg {
        width: 100%;
        height: 100%;
        filter: brightness(0) invert(1);
        /* macht das SVG weiß, falls es schwarz ist */
        object-fit: contain;
        display: block;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 1rem;
        font-size: 20px;
        font-family: 'KabelITCBQ-Book', sans-serif;
        list-style: none;
    }

    .nav-list ul {
        background: rgb(240, 244, 248);
    }

    .nav-list li {
        text-decoration: none;
        color: white;
        font-weight: normal;
        border-bottom: 1px solid #eee;
    }

    .nav-list li a {
        text-decoration: none;
        color: white;
        font-weight: normal;

        display: block;
        padding: 10px 15px;
    }

    .nav-list li a:hover {
        transform: scale(1.05);
        color: orange;
    }

    .dropdown {
        align-content: flex-end;
        width: 100%;
    }

    #inner-nav-dropdown {
        display: grid;
        grid-template-columns: auto 360px;
        background: #3f4a65;
        opacity: 0.5;
    }

    .header h1 {
        font-size: 2rem;
    }

    .header h2,
    .header h3 {
        font-size: 1.2rem;
    }


    .fix-above-overlay {
        position: fixed;
        z-index: 9999;
        top: 0;
    }

    /* Show mobile elements and hide desktop elements. */

    .mobile-text {
        display: block;
    }

    .desktop-text {
        display: none;
    }

    .desktop-text.open {
        display: block;
        margin: 10%;

        font-size: clamp(10px, 15px, 20px);
    }

    .mobile-button {
        display: inline-block;
    }

    .desktop-button {
        display: none;
    }

    /* Über Uns Section */
    .orange-box {
        background: rgba(9, 32, 65, 0.81);
        /* Farbe */
        border-radius: 10px;
        /* abgerundete Ecken */
        backdrop-filter: blur(15px);
        /* optional für Glas-Effekt */
        padding: 10vh 10vw;
        color: white;
        /* Farbe */
        position: relative;
        max-width: 60%;
        /* maximale Breite */
        top: 220%;
        /* Abstand zwischen Element und Umfeld */
        left: 20%;
        /* Abstand zwischen Element und Umfeld */

        margin-top: -20%;
        font-size: 15px;
    }

    .orange-box h2 {
        font-family: 'KabelITCBQ-Book', sans-serif;
        font-weight: lighter;
        font-size: 30px;
    }

    .orange-box.open h2 {
        margin: 10%;
    }

    .orange-box p {
        font-family: 'Inter', sans-serif;
        font-weight: lighter;
        font-size: 15px;
    }

    .orange-box.open {
        position: fixed;
        width: 90vw;
        height: 90vh;
        max-width: 100%;
        top: 5%;
        left: 5%;

        margin-top: 0;
        z-index: 9999;

        overflow-y: auto;
    }

    /* Über uns Button - Mehr Anzeigen */
    .expand-button {
        width: 100%;
        height: 4rem;

        background: rgba(9, 32, 65, 0.81);
        border-radius: 8px;
        border: none;
    }

    .expand-button.open {
        width: 200px;
        float: right;
    }

    .expand-button:hover {
        transform: scale(1.05);
    }

    .inner-expand-wrapper {
        display: flex;
        justify-content: space-between;

        color: rgb(255, 255, 255);
        padding: 10px 15px;



        cursor: pointer;
    }

    .inner-expand-wrapper p {
        font-family: 'KabelITCBQ-Book', sans-serif;
        font-weight: bold;
        font-size: 15px;
    }

    .expand-icon {
        color: white;
        vertical-align: middle;
        transition: transform 0.3s ease;
        stroke: white;
        width: 40px;
    }

    .expand-icon.open {
        transform: rotate(180deg);
    }

    /* Info Slides */
    .carousel-slide {
        font-size: 1rem;
    }

    /* Flip-card section */
    .flip-card:hover .flip-card-inner {
        transform: none;
    }
    .flip-card:hover .flip-card-inner.flipped {
        transform: rotateY(180deg);
    }
    .flip-card-inner.flipped {
        transform: rotateY(180deg);
    }
}
    
    