.mk-nav ul ul {
    display: none;
}

.mk-nav ul li:hover > ul {
    display: block;
    width: fit-content;
}

.mk-nav ul {
    font-size: 14px;
    list-style: none;
    position: relative;
    display: inline-table;
}

.ul-container {
    background: rgba(200, 255, 255, 1);
    padding-right: 4px;
    border-radius: 32px;
}

.mk-nav ul:after {
    content: "";
    clear: both;
    display: block;
}

.mk-nav ul li {
    float: left;
    width: fit-content;
}

    .mk-nav ul li:hover {
        background: rgba(200, 2250, 255, 0.4);
    }

        .mk-nav ul li:hover a {
            color: #fff;
        }

    .mk-nav ul li a {
        font-size: 12px;
        display: block;
        padding: 4px;
        color: white;
        text-decoration: none;
    }

.mk-nav ul ul {
    font-size: 12px;
    background: rgba(200, 255, 255, 0.2);
    backdrop-filter: blur(17px);
    border-radius: 32px;
    padding: 0;
    position: absolute;
    top: 100%;
}

    .mk-nav ul ul li {
        font-size: 12px;
        float: none;
        position: relative;
        width: fit-content;
    }

        .mk-nav ul ul li a {
            font-size: 12px;
            padding: 4px;
            color: #fff;
        }

            .mk-nav ul ul li a:hover {
                background: #6376c673;
            }

    .mk-nav ul ul ul {
        position: absolute;
        right: 100%;
        top: 0;
        width: 100px;
    }



.ho-container {
    position: relative;
}

.ho-abs-con {
    position: absolute;
    top: -36px;
    right: -350px;
    display: none;
}

.ho-abs-con-nav {
    position: absolute;
    top: 50px;
    right: -250px;
    display: none;
}

.ho-container:hover {
    border-radius: 8px;
    border: 1px white solid;
}

    .ho-container:hover .ho-abs-con {
        display: block;
       
    }

    .ho-container:hover .ho-abs-con-nav {
        display: block;
    }

    .ho-container:hover .card-container {
        border: 1px white solid;
    }

.card-container {
    position: relative;
    width: 300px;
    margin: 2rem;
    border-radius: 8px;
}

.card-dropdown {
    position: relative;
    z-index: 1;
}

.card-header {
    padding: 12px 16px;
    background-color: transparent;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
}

/*.card-menu {
    border-radius: 8px;
    border: 1px white solid;
    border-top: none;
    width: 100%;
    background-color: transparent;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    z-index: 10;
    display: flex;
    flex-direction: column;
}*/

.card-menu .static {
    border: 1px solid white;
    border-top: none;
    border-radius: 0 0 8px 8px;
    width: 100%;
    background-color: transparent;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 10; /* optional, kann ggf. entfernt werden */
    /* Entfernt: position, top, left */
}

.card-menu .overlay {
    border-radius: 8px;
    border: 1px white solid;
    border-top: none;
    width: 100%;
    background-color: transparent;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
}



.card-menu button {
    padding: 10px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.card-menu button:hover {
    background-color: #f0f0f0;
}

details > summary:first-of-type { list-style-type: revert; }
