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