Bayer Leverkusen staged a dramatic comeback to overcome 1. FC Koln 3-2 in the DFB-Pokal quarter-finals, securing their place in the semi-finals with a last-gasp victory.