If you can afford it, an EMTB (electric mountain bike) with a front/rear suspension is like a truck. Potholes, curbs, you feel nothing. Weather is no thing. Really underrated for commuting, but it can be used for trails, and actual mountains too. Like all bikes, they have good resale value, can last decades with basic upkeep. Many good manufacturers, but for a good one it's around $3000+. Otherwise, RadCity makes some very solid affordable e-bikes ones. Friend has one of these. It folds in half, can take it on a train, easily put it in the back of a car. Around $1600 I think. Excellent quality.
reply