EC 7174 then FR 2507 at Barcelona
Berlin → Barcelona → Cologne
Timetable, Barcelona time
18:35EC 7174 from Berlin at the gate
08:30FR 2507 to Cologne leaves the gate
13 h 55 apart on the timetable, overnight
FR 2507 leaves 13 h 55 after EC 7174 arrives on the timetable: more than half a day, so not a connection we count.