To be precise: The revocation is not subject to any formal requirements. It can also be declared orally. It is stated in the Building Code (355er, there are no formal requirements there).
If there are no formal requirements in the law, that does not mean that none can or have been agreed upon in the contract. Freedom of contract still applies, as long as regulations do not violate laws.
For the OP, by the way, § 356e Building Code is interesting. It shows that the revocation period only begins after instruction.