Hi Daniel....welcome to the Forum
Always nice to see an old school Beemer
Is it the pedal physically not returning to rest or is the revs that are not returning to idle?
If its just the revs and not a physical problem with the pedal movement then it could be a vacuum leak which is holding the revs up