You lose the experience, and you're not going to be first in line for a promotion when you come back after 6 months. Unless you want to go full Harrison Bergeron and mandate that the employer isn't allowed to reward Alice for the work she did while Bob was on paternity leave.
edit: here's a table with more details https://en.wikipedia.org/wiki/Parental_leave#Europe_.28inc._...