In the event of death, the will is often the most important surviving document. In order for it to be valid, it must meet certain formal requirements. Normally, it must be written by hand, as well as dated and signed.
The rules of inheritance are actually all governed by the Swiss Civil Code (ZGB). If that were really the case, notaries and lawyers could devote themselves to other legal problems.
Before and after marriage, couples can enter into a marital agreement in which they can regulate the property regime. Individual assets can also become part of a marital agreement. The document must be executed as a public deed.