/*Menu-Button*/

@media screen and (min-width: 992px) {
    .menu-button a {
        padding: 0.6em 1em 0.4em 1em;
        border: 2px solid black;
        transition: 0.3s;
        top: -0.4em;
    }
    
    .menu-button a:hover {
        text-decoration: none;
        color: white;
        background-color: black;
    }
    
    .menu-element-correction a:hover {
        text-decoration: none;
    }

}

.menu-element-correction:not(.menu-button) a span {
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.menu-element-correction:not(.menu-button):hover a span:not(.oxy-mega-dropdown_icon){
    border-bottom: 2px solid black;
}

.logo-element-correction:hover span {
    border-bottom: 2px solid black;
}

.logo-element-correction span {
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

/*Menü*/

.oxy-mega-dropdown_container li {
    margin-top: 6px;
    margin-bottom: 6px;
    display: inline-block;
    text-align: left;
}

.oxy-mega-dropdown_container li a {
    display: inline-block;
}

.oxy-mega-dropdown_container li a:hover {
    text-decoration: underline!important;
}

@media screen and (max-width: 992px) {
    
    .oxy-mega-dropdown_container .menu-sortiment-container {
        display: inline-block;
        columns: 2;
        -webkit-columns: 2;
        gap: 20px
    }
    
    .oxy-mega-dropdown_icon {
        padding: 5px 15px;
    }
    
    .oxy-mega-dropdown_link-text {
        border-bottom: 0!important;
    }
    
    .oxy-mega-dropdown_link a {
        text-decoration: none!important;
    }
    
    .oxy-mega-menu_mobile {
        box-shadow: 0 10px 20px rgb(0 0 0 / 20%);
    }
}


/*List Correction*/

.list-correction ul {
    list-style-type: "–  ";
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 1em;
    
}

.list-correction p:first-child {
    margin-top: 0;
}


/*Textseiten*/

.textseiten h2:not(:first-child) {
    margin-top: var(--space-xl);
}

.textseiten h3:not(:first-child) {
    margin-top: var(--space-m);
}

.textseiten h4:not(:first-child) {
    margin-top: var(--space-s);
}

.textseiten h5:not(:first-child) {
    margin-top: var(--space-s);
}

.textseiten h6:not(:first-child) {
    margin-top: var(--space-s);
}