EW 2522 then KL 1520 at Barcelona
Stuttgart → Barcelona → Amsterdam
Timetable, Barcelona time
20:00EW 2522 from Stuttgart at the gate
19:55KL 1520 to Amsterdam leaves the gate
23 h 55 apart on the timetable, overnight
KL 1520 leaves 23 h 55 after EW 2522 arrives on the timetable: more than half a day, so not a connection we count.