FR 3036 then EW 523 at Barcelona
Krakow → Barcelona → Cologne
Timetable, Barcelona time
23:40FR 3036 from Krakow at the gate
20:25EW 523 to Cologne leaves the gate
20 h 45 apart on the timetable, overnight
EW 523 leaves 20 h 45 after FR 3036 arrives on the timetable: more than half a day, so not a connection we count.