Hi there,
While you continue to enjoy all your employee benefits during paid maternity leave, this does not apply to unpaid leave. Accident insurance coverage remains in place for 31 days from the time you stop earning a salary. You can take out interim accident insurance to bridge the gap until you start working again. If you are not married and your unpaid maternity leave lasts longer than 3 months out of the same calendar year, you will have to register as unemployed at the social security office until you begin working again. You may have to close gaps in your old-age insurance by making additional contributions after your maternity leave.
Best regards from Moneyguru