Just search the forum.
.config/kwinrc auf false
[Windows]
AutoRaise=true
BorderlessMaximizedWindows=false
ElectricBorderMaximize=false
Placement=Maximizing
ShadeHover=true
und remove the “Global menu” widget.
disabling/stopping the global application menu service
kcmshell5 kcm_kded