FR 2508 then FR 3078 at Barcelona
Cologne → Barcelona → Lisbon
Timetable, Barcelona time
21:45FR 2508 from Cologne at the gate
18:00FR 3078 to Lisbon leaves the gate
20 h 15 apart on the timetable, overnight
FR 3078 leaves 20 h 15 after FR 2508 arrives on the timetable: more than half a day, so not a connection we count.