Awesome example.
Germans are allowed to write compound nouns in hyphens
Donau-Dampfschifffahrts-Gesellschafts-Kapitänsmützenknopf-Farbenfabrik-Eingangstor
It’s not considered prescriptively correct, but often nowadays people just write them with spaces (like in English), especially on phones, because hitting spacebar makes spellcheck/autocorrect kick in.