Nils Petersen tied Germany coach Joachim Löw as Freiburg's all-time record goalscorer in an end-to-end contest with top-six rivals Schalke.