Germany's legal doctrine on that is complicated. In theory it's completely illegal, but doesn't lead to prosecution when obeying some limits (you need to get counseled, only in the first 12 weeks etc.).
But if abortion were truly a violation of law (not to speak of the Basic Law) it would necessarily open the perpetrator to acts of self-defense (or self-defense of others, not sure about the English phrase).
But our Constitution Court specifically ruled that "other-defense" is not applicable, even when the abortion violates the 12 week limit.
It's just as political here as over there in America. And the legislative and courts are also muddling through.
Side note: on the very same day Roe v. Wade was overturned the German parliament legalized advertising for/informing about abortions (depending on who you ask).