I don't know about Pjanic losing motivation, he certainly lost his legs. After all, he agreed to take a pay cut only to play (in Turkey), and even now apparently made it easy to offload him. I think he primarily declined fast.
Was a wicked player back in the day.