FR 8385 then EW 523 at Barcelona
Budapest → Barcelona → Cologne
Timetable, Barcelona time
22:40FR 8385 from Budapest at the gate
20:25EW 523 to Cologne leaves the gate
21 h 45 apart on the timetable, overnight
EW 523 leaves 21 h 45 after FR 8385 arrives on the timetable: more than half a day, so not a connection we count.