A3 821 then A3 790 at Athens
Berlin → Athens → Ljubljana
Timetable, Athens time
15:05A3 821 from Berlin at the gate
07:55A3 790 to Ljubljana leaves the gate
16 h 50 apart on the timetable, overnight
A3 790 leaves 16 h 50 after A3 821 arrives on the timetable: more than half a day, so not a connection we count.