/* Grundlegendes Styling */
    

    li.listeheader {
        list-style: none;
    }

    a#wissen-link {
        text-decoration: none;
        color: white;
        font-size: 17px;
    }

    a:hover {
        color: black;
    }

    /* Header */
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
        width: 100%;
    }

    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 90px;
        padding: 0 2rem;
        transition: background-color 0.3s ease, color 0.3s ease;
        background: #381D92;
    }

    .navbar .logo a {
        font-size: 2rem;
        font-weight: bold;
        color: white;
    }

    .navbar .menu {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .navbar .links {
        display: flex;
        gap: 1.5rem;
        color: black;
        position: relative;
    }

    .navbar .links .submenu-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        z-index: 999;
        flex-wrap: nowrap;
        gap: 20px;
        justify-content: center;
    }

    .navbar .links .submenu-container.active {
        display: flex;
    }

    .submenu {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 30%;
        background: #f9f9f9;
        border-radius: 5px;
    }

    .submenu h4 {
        margin: 0 0 10px 0;
        font-size: 16px;
        padding: 5px;
        border-radius: 5px 5px 0 0;
        text-align: start;
    }

    .submenu li {
        padding: 8px 0;
        text-align: start;
    }

    .submenu li:last-child {
        border-bottom: none;
    }

    .submenu a {
        text-decoration: none;
        color: #333;
        font-size: 17px;
    font-weight: 500;
    }

    .submenu a:hover {
        color: #0073e6;
    }
    .action_btn {
        padding: 10px 20px;
        font-size: 17px;
        color: white;
        background-color: #4CAF50;
        border: none;
        border-radius: 5px;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .action_btn:hover {
        transform: scale(1.05);
    }

    .action_btn:active {
        transform: scale(0.95);
    } 

    .logo {
        font-size: 1.6rem;
        font-weight: bold;
        color: white;
     margin-left: -15px;

    }
    .mobilbutton {
            padding: 10px 20px;
        font-size: 17px;
        color: white;
        background-color: #4CAF50;
        border: none;
        border-radius: 5px;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
        }

    /* Mobile Styles */
    @media (max-width: 768px) {
        .navbar .links {
            display: none;
            flex-direction: column;
            position: absolute;
            top: 75px;
            right: 0;
            left: 0;
            background: white;
            padding: 1rem 0;
        }

        .navbar .links.active {
            display: flex;
        }

        .navbar .links > li > a#wissen-link {
            display: none;
        }

        .navbar .links .submenu-container {
            display: flex;
            flex-direction: column; /* Submenüs in einer Spalte */
            gap: 1rem;
            background: transparent;
            padding: 0;
            position: relative; /* Submenüs innerhalb des Containers ausrichten */
            width: 100%; /* Volle Breite nutzen */
            
        }

        .navbar .links .submenu {
            width: 100%; /* Submenüs füllen die Breite des Containers */
            background: #f9f9f9;
            border-radius: 5px;
            margin-right: 10px;
        }

        .menu-toggle {
            display: flex;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: white;
            transition: 0.3s ease;
        }
        a {
            font-size: 16px;
        }
        .action_btn {
            font-size: 16px;
        }
        .navbar .logo a {
            font-size: 1.6rem;
       
        }
      
      .submenu h4 {
        margin-left: 10px;
    }
        .submenu a {
        font-size: 16px;
          margin-left: 15px;
    }
    .submenu li {
        padding: 8px 0;
        text-align: start;
    }
    .action_btn {
        display: none;
    }
    }

    /* Desktop Styles */
    @media (min-width: 769px) {
        .navbar .links {
            display: flex;
            flex-direction: row;
            gap: 2rem;
            position: static;
            background: none;
        }

        .menu-toggle {
            display: none;
        }

        /* Submenu Container */
        .submenu-container {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: white;
            z-index: 999;
            flex-wrap: nowrap;
            gap: 20px;
        }

        .submenu-container.active {
            display: flex;
        }
    }