How are you building? Turnkey with a general contractor who also does the basement and earthworks, or with individual contracts or assigning the basement + earthworks yourself? With turnkey, you have relatively few options during the construction phase, since the complete service is only to be provided at handover. Withholdings due to defects are accordingly difficult. You can only document the defects, point them out again, and refuse to accept the defective parts at handover or have them noted as defective in the acceptance protocol. If you have assigned the relevant work yourself, it is easier for you, since the service must already be provided without defects now. Then go to a lawyer and clarify how you can withhold money legally.