Germany is an export driven economy that successfully competes against Asian economies... and still manages to see good pay and better work environments than our own. Secondly, they do import workers. Mainly Turks under the gastarbeiter program.
What they don’t have is excessive corporate taxation. They don’t double-tax corporate earnings made overseas. And while environmental regulations are very strict, the rest of the regulations are more business friendly.
Germany paid a lot of guest workers to leave; they don’t assimilate into the culture and aren’t granted citizenship. At this point they’re required to allow workers from other Euro countries; I doubt they import more Turks on top of that.
Many of the ethnic issues in Europe today are caused by friction with the children & grandchildren of the original guestworkers; many of the French Muslim youths are born in France. I think the European countries are more protective of their own workforce than any illegals as we have here.