Philipp Lahm's last-minute winner sent Germany into the Euro 2008 final and sank a desperately unlucky Turkey.
Lahm stole in on Thomas Hitzlsperger's pass to beat Rustu Recber and give the Germans victory after a thriller in which Turkey were the better side.
Miroslav Klose headed Germany in front after 79 minutes, but Semih Senturk levelled before Lahm's late strike.
Germany barely deserved the victory, but once again they have reached a major final despite being unconvincing, where they will face either Russia or Spain in Vienna on Sunday.
Germany coach Joachim Low said afterwards: "We have caught the winning mood and can claim the title now.
"It was unbelievable. It was crazy, incredible drama with all these goals in the final minutes."
He added: "Efficiency, this is what we had today."
Goal-hero Lahm added: "It was always going to be a fight.
"We didn't perform as well as we wanted but we are through.
"There are always ups and downs in games, but this was extreme here because of the late goals. But we are happy to reach the final."