Florian Kainz scored twice in the space of three second-half minutes as Cologne came from behind to cancel out an early Stevan Jovetic goal and beat Hertha Berlin 3-1 at the RheinEnergieStadion.