> People changed behavior drastically.
That's a massive overstatement. I live in Geneva, one of the worst hit cantons (they say around 10% infection rate). Way too many people for a long time simply didn't care, the list of personal anecdotes is way too long to post here.
We all were seeing what is happening few kms south from our border, and government did nothing for almost 2 weeks. It was seriously ridiculous, all restaurants and concerts packed, when 50km south Italian hospitals were already flooded and news was everywhere. There was vote on top level of government which ended up in favor of keeping business opened, because money. People rarely using face masks, even during hardest hits not even half of supermarket shoppers wore masks, on streets barely anybody. Most of the supermarket staff didn't use any mask either.
Generally German-speaking parts were much less affected, I've heard many personal stories from friends that were verbally attacked and mocked on streets and shops for wearing masks (locals mockingly start coughing behind them in shop and rest of the staff having a blast). I know of several people that were fired back in march/april because they came to work in simple face masks due to them being immune-deficient, and management decided to fire them on spot for 'spreading panick', no discussion (if you are blue collar foreigner here, sometimes locals treat you like disposable piece of shit and don't even try to hide it).
Once laws were changed people started behaving a bit more sane, but far from ideal - many people on streets and parks completely ignoring 2 meter rule (even 1 meter). I saw an old guy sitting on bench in the park, coughing like hell, no mask, while on phone having laughs how other people avoided him, even police patrol which didn't even bother to talk to him.
How well this country fares now, despite all of this gives me hope that it ain't that bad with covid. Swiss didn't 'beat' it due to great behavior they showed, in contrary. My home country was much more prudent and restriction were quick and followed by almost eveyrbody, and they ended up with 5% of the Swiss infection rate, despite being of similar size. Of course it could be that it was still stellar behavior en Suisse compared to what common Italians or Spaniards showed, this I can't compare.