Growth reached 2.2 percent, the federal statistics office said on Thursday. That missed a Reuters poll forecast of 2.4 percent but was still the highest since 2011 with consumer spending, boosted by ultra-low borrowing costs, record high employment and rising wages, providing the biggest impetus.

Company investments and exports, the traditional driver of Europe's largest economy, also contributed as demand for 'made in Germany' goods picked up globally and in a euro zone experiencing its broadest recovery in a decade.

With the Ifo institute last month forecasting even faster growth of 2.6 percent for this year, part of the economic spotlight is falling on political leaders as, after months spent failing to form a coalition, they debate how best to build on that momentum.

"Now it is about making sure that the economic shine continues into the future," said Thomas Gitzel of VP Bank. "Investments are needed. The next government has a big burden. It is time to take action instead of resting on laurels."

Conservative Chancellor Angela Merkel hopes to form a coalition with the Social Democrats (SPD) but she said on Thursday - the final day of exploratory talks that could lead to formal negotiations - that there were still hurdles to clear.

Despite growth in 11 of the 12 years she has been in power, she has faced accusations of complacency over the economy, and economists and business lobby groups have called for an overhaul of Germany's burdensome tax system, which some argue has inhibited private sector investments.

Merkel's CSU/CDU alliance favours cutting taxes to boost the upswing - which it has the fiscal leeway to do - but some economists recommend raising them or leaving them at least unchanged to avoid the risk of a bubble.

The SPD has suggested raising taxes on high earners to fund higher welfare spending and investments in education as well as in better daycare facilities for children.

ENOUGH STIMULUS ALREADY?

Ifo's Timo Wollmershaeuser argued that the European Central Bank's expansionary policies were providing enough impetus for the German economy already, meaning the next government should defer any plans to cut taxes.

"If the economy continues to perform so well, it would be wise to postpone the planned tax cuts and implement them only gradually, ideally not until 2019 when the ECB is likely to turn off its money tap," Wollmershaeuser said.

But Merkel's alliance, which lost votes to the far-right in a national election in September, is eager to show households that they too are left with more money in their pockets and not just the government, which has run a surplus since 2014.

Separate statistics office data on Thursday showed the public sector as a whole posted a record surplus of 38.4 billion euros in 2017, making clear just how much wiggle room the government has to trim the tax burden and increase spending.

Merkel has rejected criticism of her handling of the economy, pointing to significant public investments increases in infrastructure and on refugees.

"Above all we need less bureaucracy, more flexibility for companies and more investments in infrastructure and education," said Martin Wansleben, managing director of the DIHK Chambers of Industry and Commerce.

"Tax relief for companies - and absolutely no way tax increases - are part of a good economic package."

A breakdown of Thursday's GDP data showed capital investments were the second-largest growth driver, contributing 0.6 percentage points. Exports contributed 0.2 percentage points.

German inflation also picked up in 2017, hitting a five-year high.

That will feed into a heated debate among ECB rate-setters, who must decide how and when to unwind their asset purchase programme as price pressures across the euro zone gradually increase.

(editing by John Stonestreet)

By Joseph Nasr and Michael Nienaber