FR 9481 then FR 689 at Vienna
Cologne → Vienna → Madrid
Timetable, Vienna time
22:10FR 9481 from Cologne at the gate
13:55FR 689 to Madrid leaves the gate
15 h 45 apart on the timetable, overnight
FR 689 leaves 15 h 45 after FR 9481 arrives on the timetable: more than half a day, so not a connection we count.