How can I, as a layperson, tell where the building boundary is or whether boundary construction next to the neighbor is allowed?
Your development plan contains no building boundaries and building lines. From this it follows initially that the statutory boundary distance - in most state building codes 3 m - forms your effective building window. And there is an "o" for "open construction" in it - this means that you must observe this boundary distance on all sides. However, garages are usually allowed to abut the boundaries: single garages without extensions practically almost always, only in individual cases is it "more complicated".
Your plot thus practically provides a building field in the form of a roughly 11.20m x 16.30m rectangle. Your example floor space of a square 10.11m, translated into the same area of a rectangle, would have about 8.40m x 12.20m roughly the same aspect ratio as this building window. Simply put, a "square" here only results in garden on the east and west sides and otherwise just a fence and plaster path, whereas a "rectangle" also allows a significant south garden.
My favorite is also a rectangle with at least a knee wall from 2m.
The popular delusion among laypeople that a knee wall must be built up as high as possible to the eaves line is practically a royal road to a spatial impression that is neither fish nor fowl in terms of an "attic". It is often forgotten that this height line is practically also a dividing line for windows: on the eaves side, only roof windows above, only facade windows below, or as a third option dormers everywhere you want to avoid this decision. I consider sensible knee walls to lie around 120 (+/- 30) cm above finished floor level.
I was rather looking for one where the advantages for certain orientations might be explained more precisely. So why which room should ideally be placed in which cardinal direction
The sun rises in the east, it follows its course in the south, it will set in the west, in the north it is never visible. Starting from a day shift worker: morning sun for bedrooms and bathroom, southwest provides pupils with daylight for their homework, and a maximum northwest is still good for sunbathing during dinner. Rooms with small windows (utility room, guest WC) and the pantry are happy to face north.