To the engineers here: Ever heard of energy density?
Sarcasm? In that case, be careful, I really know my stuff about thermodynamics and efficiency chains. By the way, I'm originally a physicist, even though I don't work in that field.
With 50kg of gasoline/diesel I can drive 500 to 1000 km, [...]
Plus tank. Plus engine. Plus transmission. Or how do the 50kg of gasoline turn the wheels? An electric car doesn't have all that.
with 500 kg! battery maximum 400 km, [...]
The battery does not contain any measurable mass of fuel, but a potential difference with a weight of 0. So you are comparing incomparable things.
And now to energy density: That is irrelevant for a comparison. The only thing that matters are the efficiencies, because only (!) they show how good the conversion efficiency from chemical energy (fuel calorific value) or electrical potential (battery) into kinetic energy (car drive) is.
And as I wrote above, those are why my statement about oil power plants + electric cars is logically consistent.
Please note that an internal combustion engine has an engine map and that you only very rarely operate within the optimal range of this map. Real efficiencies are obtained through test drives and lie at about 16% for combustion engines. The 45% quoted by various sources and magazines is only the optimal area of the map, not a practically achievable value. So it's smoke and mirrors. And the 16% doesn't even include refining and transporting to the gas stations.
the electric car stands still for at least 30 minutes to charge...
No. Anyone who already drives a (still) expensive electric car today charges during the downtime at home. If you're not a frequent driver but belong to those who have an average daily mileage of 40 km, you almost never charge outside or simply haven't understood that you should naturally change your habits. The best place to "refuel" electricity is at home.