EW 520 then FR 6267 at Barcelona
Cologne → Barcelona → Edinburgh
Timetable, Barcelona time
12:45EW 520 from Cologne at the gate
12:30FR 6267 to Edinburgh leaves the gate
23 h 45 apart on the timetable, overnight
FR 6267 leaves 23 h 45 after EW 520 arrives on the timetable: more than half a day, so not a connection we count.