Germany’s economy contracted for the second consecutive year in 2024, shrinking by 0.2%, following a 0.3% decline in 2023.