The German sportswear company said it enjoyed a better-than-expected third quarter thanks to both clothing and footwear divisions doing well.