Germany's center-right opposition won two state elections on Sunday at the halfway mark of Chancellor Olaf Scholz's unpopular national government, projections showed, and a far-right party that has been riding high in national polls celebrated gains.