German energy shares surge over €22 billion deal