FR 2512 then FR 774 at Barcelona
Cologne → Barcelona → Torino
Timetable, Barcelona time
08:30FR 2512 from Cologne at the gate
07:50FR 774 to Torino leaves the gate
23 h 20 apart on the timetable, overnight
FR 774 leaves 23 h 20 after FR 2512 arrives on the timetable: more than half a day, so not a connection we count.