This is part of the basic knowledge, but maybe not everyone knows it. So that CSS adjustments are only applied to parent elements, we work here with the >.
#mainmenue > ul:hover { /* style */ }