Just calculate for yourself what 2 cars cost that each drive 22,000 km annually (220 working days * 50km * 2) just to get to work. Even if I cautiously estimate 20 cents/km, that's 4,400 EUR per vehicle, so 8,800 EUR together. On top of that come the kilometers you drive your children to leisure activities because the bus only runs every 2 hours outside of rush hour. And you get in the car all the time otherwise too; even the 5 km to the supermarket are rarely done by bike, even if you firmly intend to do so now. Most of the time, you simply lack the time for that and often also the motivation...
By the way, you can forget about the figure of 3,200 EUR/m² found here for now. That applies to high-end finishes and move-in-ready houses where everything, absolutely everything, is done by craftsmen... up to assembling the furniture and the first window cleaning before moving in.
If you do some of it yourself and are satisfied with "standard," so no fireplace, no KNX, laminate instead of parquet (laid yourself), no painter who charges 25,000 EUR to paste fleece and paint the walls, no double garage, just parking spaces... you can manage with 2,500-2,700 EUR/m².
And besides the costs of commuting... I commuted 100 km daily over the A2 and A39 for years. I was paid for it, since I was in field service. But I often asked myself why I even went home instead of going to a hotel when I sat in traffic starting around 5 pm, sometimes already beginning at the lay-by before the motorway entrance. There were quite a few days when I left at 7 am and got home at 7 pm. If I imagine the hours on the motorway were my private pleasure...
Better to live in a "simple standard" house in or near the city... than in a high-end villa somewhere in the sticks. Also consider that you will get old someday. My grandmother had to have someone drive her to the doctor constantly in the end because she couldn’t do it anymore.