Heading north & east towards Barcelona, spare a day for Zaragoza, which deserves to be better known.
Some hidden gems between Alcalá and Zaragoza are Guadalajara (Palacio del Infantado and Contess Pantheon are the main sights) and Sigüenza (Cathedral, Castle, main square, old university and palaces are some of the sights in this small but full of history town). Soria and Medinaceli also deserve a visit, if time permits.
Most other onward destinations will involve transiting Madrid.