GQ 841 then A3 702 at Athens
Vienna → Athens → Madrid
Timetable, Athens time
21:55GQ 841 from Vienna at the gate
14:35A3 702 to Madrid leaves the gate
16 h 40 apart on the timetable, overnight
A3 702 leaves 16 h 40 after GQ 841 arrives on the timetable: more than half a day, so not a connection we count.