Just skip Rakitic altogether.
If you dump Berna and Can 30m each, we're fucking winners. Hell, even go for 20m each - that should help with buying someone capable. Rakitic is already 32yo, not much gas left in the tank.
Also, getting rid of Khedira and Matuidi would free up so much in wages...