* Bayern stretch unbeaten run to 35 games
* Mandzukic scores twice in Bayern's 3-2 win
* Dortmund ease past Schalke in derby (Updates with quotes, more results)
By Karolos Grohmann
BERLIN, Oct 26 (Reuters) - Mario Mandzukic scored twice as nervous Bayern Munich struggled past Hertha Berlin 3-2 on Saturday to stay top of the Bundesliga with second placed Borussia Dortmund claiming a 3-1 victory against Schalke 04.
Substitute Mandzukic, who had come on for injured Arjen Robben in the 26th minute, headed in three minutes later to cancel out a quick Hertha lead through Adrian Ramos.
Bayern, who had 35 efforts on goal in their 4-0 Champions League win over Viktoria Plzen on Wednesday, needed almost 20 minutes to get their first shot on target with keeper Thomas Kraft punching Toni Kroos' powerful drive wide.
Aggressive Hertha came close to a second goal with Anis Ben-Hatira's sensational 30 metre chip over keeper Manuel Neuer that bounced off the bar but Mandzukic levelled the score with a well-timed header at the far post and go joint top on the scorers' list with seven goals.
The Croat added another goal in the 51st and fellow substitute Mario Goetze headed in three minutes later.
Ben-Hatira set up a nervous second half, cutting the deficit in the 58th but Hertha, the first team in the league to score twice against Bayern this season, were unable to find an equaliser.
"This was one of the best teams we have played against this season," Bayern coach Pep Guardiola told reporters. "We did not have a good game and we will have time to recover next week for our next match.
"The players need this time because they have had many games in the past two months and are a bit tired. You could see it today."
The victory still stretched Bayern's unbeaten league run to 35 games, one short of the record held by Hamburg SV, and last season's treble winners lead the standings with 26 points.
Winger Franck Ribery also became the first Bundesliga player to have played 39 consecutive games without defeat.
Dortmund, who eased past rivals Schalke in a fiery Ruhr valley derby after the kickoff was briefly delayed due to flares lit in the stands, are a point behind along with Bayer Leverkusen, 2-1 winners over Augsburg.
Dortmund, whose visiting fans lit flares in the stands prompting the referee to delay the start, silenced the 60,000 crowd with a lightning quick five-move break completed by Pierre-Emerick Aubameyang in the 14th minute.
Schalke's Kevin-Prince Boateng missed the biggest chance to level when his penalty was saved by keeper Roman Weidenfeller.
A sublime left-footed drive from Nuri Sahin six minutes after the restart gave Dortmund a two-goal lead before Max Meyer pulled one back for the hosts but Jakub Blaszczykowski completed the win in the 74th minute leaving Schalke in sixth on 14 points.
VfL Wolfsburg leapfrogged into fifth spot with a dominant 3-0 win over toothless Werder Bremen, with Croatian forwards Ivica Olic and Ivan Perisic notching a goal each.
Hanover 96 slumped to a 4-1 defeat against Hoffenheim and had two players sent off including striker Mame Diouf, who set a Bundesliga record for the fastest dismissal for two bookings after being shown two yellow cards in the opening 12 minutes.
Mainz 05 moved up to 10th after grabbing their first win in seven games with Japan's Shinji Okazaki scoring both goals in their 2-0 victory over promoted Eintracht Braunschweig, who remain in bottom place on four points. (Reporting by Karolos Grohmann; Editing by Rex Gowar and Alison Wildey)