With Germany 's coalitions in flux , trying out an alliance with the Christian Democratic Union could free the Greens from relying on their usual partnership with the center-left Social Democrats , the struggling party of ex-Chancellor Gerhard Schroeder , with whom they governed Germany for seven years .