I bough a product specifically for mold, I think I got it at one of the home improvement type stores (Obi, Jumbo, Coop Bau + Hobby, something like that).
It is Mellerud brand "Schimmel Entferner" and the picture on the front actually shows a windowsill with mold growing around it. We used it last year for the bedroom windows which have a wooden frame, so far the mold hasn't come back.
(Photo found here)
Looking for photos of the product, it seems the bottles purchased in Germany (predictably and understandably) only have German on them, the one I got looks like this pic, with French and Italian as well.