"child of" bone constraind with ik?
So i eventually figured it out myself.

I duplicated my hand bones and called them IK_Hand_L/R.
the original hands follow those IK bones and the IK bone of the left hand is set as a child of the gun bone using bone constraints, which i can toggle on and off anytime i want.