I dont know of any laws making working with contractors hard, so long as you are not apparently using them to avoid tax. Maternity and paternity are not usually a problem, obviously if your company is small anything can be a problem.
source: I spoke to a German Tax accountant that specializes in startup consultation