Lots of countries have some level of exit tax on unrealised capital gains, but the devil is in the details. A painful part in the German case is that they have a fixed company valuation method that might make it untenable to leave the country.
It's one thing to tax people on assets they actually have or that are easily realisable like ETFs, as they then pay a portion of money they have ready access to. It's quite a different thing to invent a value for something and tax on that. The company ownership in question might not be realisable at anything close to that amount, especially for a startup, if you don't leave before making a profit
So don't do startups in Germany. The exit tax is just one of many reasons for that, the whole German system is bureocratic and inflexible compared to nearby countries.
The EU forces every member state to implement an exit tax to trap entrepreneurs in a disadvantageous situation (Anti-Tax Avoidance Directive).
Some countries such as Sweden implements this only minimally - making capital gains of Swedish companies you hold realised within 10 years of moving abroad are taxed, so just don’t sell in 10 years but take out credit with those assets as collateral.
Of course outside the EU, such as Switzerland and the UK, these governments are not bound by EU rules and don’t impose exit taxes.
Which is why so many European millionaires are doing their best to live in these countries
The reframing of anti tax avoidance to be a "trap", a "disadvantageous situation" is egregious.
Like maybe just pay your dues? Contribute back to the society that enabled you to become rich in the first place instead of parasitically extracting value?
Who are you to decide what is reasonable and what is unreasonable over the democratically elected lawmakers? This is a deeply anti-democratic attitude.
Democracy in most EU countries is messed up. People don't get to vote on stuff. There are usually 2-3 major parties that campaign on this or other hot issue. There is nothing that can be done about most issues even if vast majority of citizens support them.
Parliamentary indirect democracy is an illusion. It's just a capture by the political class. Will of the people has very little to do with what is done. I would love to live in actual democracy where we get to vote on stuff and popular policies are implemented while unpopular get struck down. It's even worse than American system where at least you can vote for your representative who has some independence. Here they are just a party official and if they don't vote along the party lines the party will run someone else next time around. Their loyalty is not to the electorate.