Collisional processes of on-shell and off-shell heavy quarks in vacuum and in the Quark-Gluon-Plasma