German business morale surprised with its first rise in seven months in November.
Exports outside the euro zone and the prospect of strong Christmas sales offered hope Europe's largest economy can regain some momentum.
The Munich-based Ifo think tank said its business climate index, based on a monthly survey of some 7,000 firms, rose to 101.4 from 100.0 in October.
This far surpassed even the highest estimates.
Germany proved largely immune to the first two years of the European debt crisis but recent data has suggested its resilience is wearing thin, with growth slowing to 0.2% in the third quarter.
Yet while economists expect the economy to contract in the fourth quarter, they had already expected the first quarter to be better and the Ifo numbers added to hopes that it could stave off the recession plaguing euro zone members further south.
Analysts pointed to reduced fears of a euro-zone break-up as well as positive signals from Asia and the US, where Germany's strength in high-added value exports like cars, electronics and machinery make it well-placed to take advantage of any economic improvement.
The survey showed that fFirms were more upbeat about their business outlook, with an Ifo sub-index rising to 108.1 from a revised 107.2 in October. They were also less pessimistic about current business, with the current conditions index up to 95.2 from 93.2.
That came as a surprise after data this month showed the private sector shrinking, unemployment up, industrial orders and output down and exports falling at their fastest pace since late last year.
Ifo economist Klaus Wohlrabe said exporters' outlook had improved but firms were still delaying investment due to the uncertainty caused by the unresolved euro zone crisis.
"Export expectations rose strongly and are back in the positive area now. The orders situation and demand are stabilising. Exports to the United States and Asia seem to be going well," he said. "The uncertainty (on investment) is still present. There has been no turnaround yet,'' he added.
Seasonally-adjusted GDP data showed gross capital investment made no contribution to growth while investment in plant and equipment fell by 2%. German chipmaker Infineon has already said it will cut planned investments.
Europe has been unable to contain the euro zone crisis with no agreement yet on how to get Greece's debt down to sustainable levels. And France, Germany's single largest trading partner, lost a second AAA credit rating on Monday on concerns over its fiscal outlook and deteriorating economy.