Bremen s Niklas Stark, left, and Heidenheim s Jan-Niklas Beste, right, challenge for the ball during the German Bundesliga soccer match between 1. FC Heidenheim and Werder Bremen in Heidenheim, Germany, Sunday, Sept. 17, 2023. (Tom Weller/dpa via AP)
Bremen-born Dinkci, who joined Heidenheim on loan from Werder in July, scored either side of half-time as the Bundesliga newcomers prevailed in a six-goal thriller.
The club's first top-flight win came on a weekend when coach Frank Schmidt celebrated 16 years in the dugout, making him the longest-serving coach in German league history.
Tim Kleindienst gave Heidenheim an early lead from the penalty spot after Bremen's Anthony Jung threw an elbow at the ball while defending a free-kick.
The home side then doubled their advantage on the stroke of half-time through Bremen loanee Dinkci, who refused to celebrate after smashing the ball past former team mate Jiri Pavlenka in the Bremen goal.
The visitors looked down and out at half-time, but were given a route back into the game thanks to an Omar Traore handball minutes after the restart.
Marvin Duksch hit the resulting penalty straight at Heidenheim keeper Kevin Mueller before nodding the ball in on the rebound to make it 2-1.
Bremen missed another good chance to equalise through Romano Schmid before Mitchell Weiser finally pulled them level with a well-placed header on 64 minutes.
Dinkci restored the lead just four minutes later, slotting the ball into the bottom corner from the edge of the area after a cross from Jan-Niklas Beste.
Beste, who also spent a year at Bremen's reserves in 2018/19, rifled in a fourth a few minutes later to seal the win.
(For more sports news and updates, follow Ahram Online Sports on Twitter at @AO_Sports and on Facebook at AhramOnlineSports.)