Each little “suburb town” has a train station which is usually directly connected to the city center
Edit: the suburbs here are usually a bit less dense though, with plenty of row houses and a some single family homes (close together). Still far more compact than the US though.
I do live in a particularly good country (Netherlands), which is definitely worth noting, but I think my experience in lots of traveling helps that I’ve never been limited in where I can go