Waste water cleaning plants were built, so human excrement wasn't dumped to the sea anymore. At some point district heating replaced coal and wood burned in houses. Double and triple glazing arrived. The metro started operating in the eighties, replacing a lot of buses. Lead gasoline was banned in the nineties as well. Cars got electronic ignition, fuel injection and catalytic converters. Diesel engines started having tightening regulations every few years. Waste water treatment was upgraded to even remove nitrogen. New bicycle highways were made, the metro is being extended, tram lines are being built, and just a few weeks ago many diesel bus lines were replaced by Chinese electric ones.
Some things have gotten better, some things have gotten worse. But not everything has gotten worse.