Domestic water and heating water are always separate. The buffer tank must be significantly larger, at least 1500 liters or, if you have space, even double that. Solar provides enough for the domestic water in summer; 4-6 m² are sufficient, and nothing in winter. 25 kW + 2x5 kW also seems very much to me. I would take 2 normal wood stoves, they are significantly cheaper. If you can program a controller yourself, you can try to combine it with the gas heating. If not, I would take the best controller in the world, your right hand, and operate it manually.