FR 501 then FR 182 at Vienna
Palma de Mallorca → Vienna → Sofia
Timetable, Vienna time
17:25FR 501 from Palma de Mallorca at the gate
11:40FR 182 to Sofia leaves the gate
18 h 15 apart on the timetable, overnight
FR 182 leaves 18 h 15 after FR 501 arrives on the timetable: more than half a day, so not a connection we count.