“Mutterschutz” is why I was put on paid leave six weeks before the due date, and forbidden to return any less than eight weeks after birth - that’s paid at a rate close to previous net and if there is a cap, it’s higher than my nice (by German, not US tech hub, standards) IT salary. Paid out of federal taxes, administered by employers.
Recently companies started offering enhanced parental leave, usually 5-6 months of full pay, but it’s not even close to being the norm.
Especially if you're (I'm not) pro positive-discrimination: the 'time with newborn vs. work/pay/career progression' decision is awful for gender equality, surely? Traditionally it is indeed maternity leave, and if you don't even mandate a good amount of that then the 'better hires' are men (all of us, family size decisions aside), women who won't-have/have-had children, and women who value career more.
(^: I say 'leaning' more because of US/UK political spectrum differences than anything else; feel free to read 'pretty solidly Conservative' in a UK context.)
Is that supposed to sound like a lot? Not all commenters are from the US! Here in the UK, AIUI, it fairly recently shifted from 12mo maternity (paternity I think was employers' discretion entirely?) leave to 12mo split between parents as they see fit, and not necessarily concurrently or at birth, etc.