I find it funny when people always act like Germans are all about efficiency when this was the country where philosophical romanticism was all the rage.
Star Trek is effectively a what the more radical illuministic proponents of the enlightenment would consider utopia. It isn't communist, which is basically a romanticist idea that all distinctions that makes people unique are inequalities to be abolished. It is still blank slatist like communists, but it follows a more enlightenment liberal idea that reason is absolute and arational knowledge sources are no better than irrationalities, and that once we reach a stage of total reason, innovations have removed the scarcities leading to what the writers would consider "irrational behavior" and the governmental apparatus would have to inherently reshape itself with this new paradigm regarding the acquisition of resources.
From my perspective it's a hopelessly utopian postmillenialist embodiment of the hubris of enlightenment thought and liberalism unmoored from the Scholasticism and theology that originally bounded it to a more humble telos. If Globohomo is utilitarian-sourced managerialist rules based societies, then Star Trek is Globohomo. However in some internationalist Marxist sense that either orthodox Marxists (Marxism-Leninism, Trotskyism, Maoism) neomarxists (Frankfurt school, critical theory, socjus) espouse, it's not really that.