Germany defender Nico Schlotterbeck is ruled out of the rest of the World Cup with an ankle injury.