The long distance ICE trains actually have a restaurant on board, although they only serve pre-made food.
Czech trains on the other hand? They run actual restaurants with legit chefs on board [1][2].
[1] https://ostkoster.de/speisewagen-und-mitropa-in-ostdeutschla...
[2] https://www.tagesspiegel.de/gesellschaft/im-knodelexpress-ge...