LL 5029 then FR 2507 at Barcelona
Berlin → Barcelona → Cologne
Timetable, Barcelona time
13:10LL 5029 from Berlin at the gate
06:20FR 2507 to Cologne leaves the gate
17 h 10 apart on the timetable, overnight
FR 2507 leaves 17 h 10 after LL 5029 arrives on the timetable: more than half a day, so not a connection we count.