Rail traffic is restored in northern Germany