FR 946 then FR 9480 at Vienna
Krakow → Vienna → Cologne
Timetable, Vienna time
13:20FR 946 from Krakow at the gate
07:55FR 9480 to Cologne leaves the gate
18 h 35 apart on the timetable, overnight
FR 9480 leaves 18 h 35 after FR 946 arrives on the timetable: more than half a day, so not a connection we count.