A multi-wavelength study of a double intermediate-mass protostar - from large-scale structure to collimated jets