Mass generation in Landau-gauge Yang-Mills theory