Hi, my name is***** your mechanic automotive expert, and I will be happy to assist you today. In some cases, I may need more information to assist better. I apologize for any delay.
Dear customer, the slowness in the closing or opening of the roof is a clear symptom of failures or inconveniences at the electric motor level, your 986 S in the roof system has an electric motor, it is a motor very similar to the windshield wipers, it has two directions for opening and closing, over time it is normal for the motor, like any other electric motor, to lose its strength, so it must be replaced every certain period.
This electric motor can be bought fron second hand but it is not recommended.
This is the last step to take, first is good to check the wiring and perform maintenatenance on the motor if after this the problem persist, you will know that you the motor should be replaced soon.
My goal is to give you the best advice i can, I hope to be helpful, if you have any doubt or want to know anything else please do not hesitate to reply back.
Kind regards, Sebastian.