A3 981 then GQ 840 at Athens
Sofia → Athens → Vienna
Timetable, Athens time
12:55A3 981 from Sofia at the gate
08:30GQ 840 to Vienna leaves the gate
19 h 35 apart on the timetable, overnight
GQ 840 leaves 19 h 35 after A3 981 arrives on the timetable: more than half a day, so not a connection we count.