SC Freiburg maintained their unbeaten start to the Bundesliga season with a dramatic 2-1 victory over Schalke 04, scoring a late winner despite playing more than 25 minutes with 10 men.