FR 132 then OS 406 at Barcelona
Berlin → Barcelona → Vienna
Timetable, Barcelona time
22:35FR 132 from Berlin at the gate
20:30OS 406 to Vienna leaves the gate
21 h 55 apart on the timetable, overnight
OS 406 leaves 21 h 55 after FR 132 arrives on the timetable: more than half a day, so not a connection we count.