OS 240 then OS 471 at Vienna
Berlin → Vienna → Gran Canaria
Timetable, Vienna time
08:15OS 240 from Berlin at the gate
07:25OS 471 to Gran Canaria leaves the gate
23 h 10 apart on the timetable, overnight
OS 471 leaves 23 h 10 after OS 240 arrives on the timetable: more than half a day, so not a connection we count.