Germany qualified for the World Cup in style on Thursday when superb early strikes from Sebastian Rudy and Sandro Wagner set it on the way to a 3-1 win in Northern Ireland that maintained its perfect record in Group C.