Germany edged out Austria with a Michael Ballack freekick on Monday in their Euro 2008 Group B meeting to propel the three-times champions into a quarter-final meeting with Portugal. Ballack scored four minutes after the break to secure a 1-0 win that brought runners-up spot behind Croatia.