line break after two words in menu

Good morning,
I can need your help. I try to find a solution to break the menu-text after the first two words. I tried this code:

.main-menu .nav.menu > li {
display: inline-block; }
.main-menu .nav.menu > li > a::before {
content: attr(data-first-two-words) "\A";
white-space: pre; }
.main-menu .nav.menu > li span { display: none; }

Here you can find the page:
http://s1011404101.online.de

It should look like that: https://prnt.sc/1ZepCKYJv9DW

Thanks a lot and best regards.

Replies are visible only to logged in members with an active subscription.