You're partly wrong.
It was Italy that voted against nuclear in 1986. 2 reactors where working at that time and had to be shut down. In 2011 there was another referendum to reenter the nuclear powe production, but italians confirmed they'd like to remain nuclearless.
East Germany (not todays Germany) shut down in 1990 its last nuclear power plant due to security concerns, and no new reactors were planned or build afterwards.
In 2000 Germany (now united) decided to gradually reduce the use of nuclear power, and thus in 2003 the first power plant went offline. Others followed in subsequent years. In 2010 they decided to slow down the decommissionment and let the reactors live a few more years. In 2011, after the Fukushima tragedy, Germany decided to shut the reactors as soon as possible. 8 reactors were then shut down immediately, and the rest will be shut down in steps till 2022.