World is moving into phase of confrontation, German president warns