> Though to some extent people got themselves into that situation of their own fault by constantly screaming about noise and nothing else
It's not like they don't have a point... a lot of former switchyards were converted to residential use in the early 90s and ever since then, but of course the rail tracks that these yards were laid adjacent to still kept operating, and freight trains make an awful lot of noise.
Silent-brake requirements (basically, composite brake pads instead of the old metal-on-metal pads) have eased the noise emissions quite a bit, but damages in the wheels ("flat spots") or in axles still cause persistent and annoying noise. Unfortunately, 99.999% of freight cars are still dumb as fuck and have no sensorics on-board to detect issues, so it takes a loooong time until such cars are taken out of service. Maybe with the adoption of the new automated couplers ("DAK") that are in research at the moment, this will change as all cars have to be retrofit with electricity and smart components anyway so it is cheap to install monitoring on wheels and axles, but that will take another few years.
Additionally, the tracks themselves can cause ungodly amounts of noise due to neglected maintenance. Where rails aren't (properly!) welded together, they cause a bump noise, switches need to be properly lubricated and the wheels need lubrication as well to prevent those horrible screeches... but DB hasn't had the money to properly take care of that for decades now.
> Whereas to my knowledge the Swiss still take a somewhat more balanced approach, and don't completely disregard the visual impact of noise protection barriers.
The Swiss have more silent rail in the first place. Lots of rail-side detectors to check for damages on passing rail cars (an absolute necessity due to the high amount of tunnels, you do not want a train de-railing due to an axle or wheel issue inside a tunnel and catching fire) and about 5-6x the amount per capita invested into their rail system every year.
On top of that, Germany has to deal with rail cars (and trucks) from across the entirety of Europe passing through it - basically all transport from the Dutch and German sea ports towards Eastern and South Eastern Europe goes through Germany, the Swiss have to deal with far less traffic than we do.