EC 7174 then OS 406 at Barcelona
Berlin → Barcelona → Vienna
Timetable, Barcelona time
23:05EC 7174 from Berlin at the gate
20:30OS 406 to Vienna leaves the gate
21 h 25 apart on the timetable, overnight
OS 406 leaves 21 h 25 after EC 7174 arrives on the timetable: more than half a day, so not a connection we count.