To clarify why Switzerland is different from the rest of Europe AND from the USA:
Switzerland is a neutral country which does not belong to NATO and has no other country to protect it.
They have traditionally safeguarded their country against invasion by requiring nearly every male aged 18 to perform national military service and then to remain in the military reserve until age 30. IIRC, service is optional for females.
All these armed forces keep their weapons at home BUT not the ammunition, which is stored centrally.
So, the Swiss army / militia keep empty guns at home, in case they are needed against external enemies.
These weapons are NOT intended for personal protection against their fellow citizens. Not available if they see a rowdy group of young men, or to protect against car theft, mugging, burglary or harsh words.
So, a totally different mindset and purpose.
To carry a loaded gun in public is generally not permitted except for on-duty military or security personnel (or farmers / hunters on their land).
This is in great contrast to the USA, where most people of all ages, with no military duties, may have access to loaded guns, as protection / menace wrt their fellow citizens.
In fact, the Swiss militia protecting their country against external armies is pretty close to the original idea in the US Constitution of an armed militia.