Try the seat reset first, then if not you have either a motor on its way out or a failing microswitch:
Unlock the car
Open the door and then immediately flick the seat base switch fore and aft, for and aft (twice)
put the seat back forward
The seat should cycle twice fully forward and fully back then beep (if not you did not flick the seat base switch quickly enough of opening the door)
Put the seat recline back and reset the seat and memory
Repeat for the other front seat.
Basically the seat travel memory gets lost over time and needs resetting.
If your seat motor is gone, search on here as the Porsche one fits and is about £30 instead of the Maserati stupid price which I think includes the entire seat base (ill leave you to make up your own guess price)