Thomas Mueller scored a hat trick as Germany routed 10-man Portugal 4-0 in their World Cup Group G opener on Monday.