Germany's economy will take a while to recover from one of its worst annual performances in a generation, even if it does start growing again in 2024.