UPDATE 10-Auf wiedersehen Angela as three-way coalition signs governing pact

* Three parties reach a coalition deal in Germany

* Olaf Scholz set to become Germany's chancellor

* Angela Merkel did not seek a new term as chancellor (Adds details of social policies, economist quote)

By Andreas Rinke and Sarah Marsh

BERLIN, Nov 24 (Reuters) - Social Democrat Olaf Scholz announced a deal to form a new governing coalition in Germany on Wednesday that aims to modernise Europe's largest economy, accelerate the green transition and bring the curtain down on the Angela Merkel era.

The alliance, the first at federal level between the ideologically disparate Greens, the libertarian Free Democrats (FDP) and Scholz's centre-left SPD, ends 16 years of Merkel-led conservative governments.

The three parties enjoy a majority in the lower house of parliament and hope the government will be sworn in early next month after they ratify the 177-page coalition pact.

Named after the parties' respective colours, the traffic light https://www.reuters.com/world/europe/jamaica-traffic-lights-or-kiwis-germanys-coalition-conundrum-2021-09-02alliance will usher in a new era of relations with Europe, and plans to speed up digitalisation of the continent's biggest economy while maintaining fiscal discipline.

At a news conference in Berlin, flanked by the FDP and Greens leaders, Scholz recalled that when the first traffic light was erected at the city's Potsdamer Platz in 1924, many questioned whether it could work.

"Today, the traffic light is indispensable when it comes to regulating things clearly and providing the right orientation and ensuring that everyone moves forward safely and smoothly, " he said.

"My ambition as chancellor is that this traffic light alliance will play a similarly groundbreaking role for Germany."

Merkel leaves big shoes to fill. She has navigated Germany and Europe through multiple crises and been a champion of liberal democracy in the face of rising authoritarianism worldwide.

Her critics say she has managed rather than solved problems and leaves her successor tough decisions on many fronts.

PACKED AGENDA

The incoming government faces immediate challenges, with Europe grappling with the fallout from Brexit, a crisis on the European Union's border with Belarus and surging COVID-19 cases.

Scholz, 63, an experienced politician who was finance minister in the outgoing "grand coalition" of the SPD and conservatives, said that fighting the COVID-19 pandemic would be his top priority.

But his coalition also has ambitious medium- and long-term plans, including a faster expansion https://www.reuters.com/markets/commodities/german-coalition-commits-faster-decarbonisation-2021-11-24 of renewables, an accelerated exit from polluting coal and a hike in the minimum wage, according to its pact.