Despite suffering a significant setback in the recent federal election, Germany's Greens have helped push through a major spending package to boost infrastructure, defense and climate protection.