Filip Kostic scored one and assisted two as in-form Eintracht Frankfurt moved back into the top four with a polished 3-1 win away to Hoffenheim.