GQ 840 then FR 802 at Vienna
Athens → Vienna → Valencia
Timetable, Vienna time
17:50GQ 840 from Athens at the gate
06:15FR 802 to Valencia leaves the gate
12 h 25 apart on the timetable, overnight
FR 802 leaves 12 h 25 after GQ 840 arrives on the timetable: more than half a day, so not a connection we count.