The Phoenix Wright trilogy--the first three original GBA games/DS re-releases. They set up and develop so many arcs that pay off both within each game and across the entire trilogy. I would even go so far as to say that Phoenix Wright 3 is one of the best visual novel games of all time.
And the story is only one of many great things! The game art is gorgeous and the soundtrack is full of bangers that serve their purpose well to complement the story.
I will argue House in Fata Morgana is the best visual novel of all time.
But then I will argue the Great Ace Attorney Chronicles 2 cases 3-5 are the greatest (hoo wee what a ride). If you can get through the slow pace of the rest of it it's worth it.
Otherwise I'll agree the Phoenix Wright trilogy is the ultimate power fantasy of seeing people in high places actually getting convicted of their crimes.