only the expansion of the ground floor is planned, which is also large enough at 230m2.
That is what I mean by naive planning: concluding from the sufficient size of the ground floor alone that the rest can be disregarded.
For residential use, I initially see the following measures as necessary: first, clarification of the residential use permit, especially if all remnants of farming activity on this area are abandoned. Second, achieving the currently required thermal insulation standard: structurally, I have some doubts about tearing out the floor and laying a new, insulated slab deeper down. I rather see the floor being leveled to an even surface, insulated on top of that, and the room height then ending up at 2.30 m. Third, the apartment must still be thermally separated from the attic (i.e., insulation on the ceiling of the upper floor). And now comes my favorite cookbook phrase: "before that we have" (namely: buried the supply and disposal lines—and non-covered inlets are required on exterior walls).
Overall, I see this actual "bungalow set in a stable" as not being any cheaper by a jot than rebuilding a comparable area from scratch.
And this, even though less living space would suffice for the family: most square meters here are not used for a loft feeling; rather, for the phenomenon that even on a large area many narrow corners can occur.
Honestly: rent out the stable under the photovoltaic system as a cool location for mobile discos and build a 160 sqm house for less money.