A conservative alliance made up of the CDU and CSU is set to lead Germany again, but the new coalition government will have to confront pressing challenges.