As far as I understand Wohnriester, you receive 154 euros per person plus a fixed 300 euros per child. Alternatively, there is the option to claim up to 2100 euros as special expenses. Assuming a normal-earning family with one child (building at age 35), they get 608 euros per year in subsidies, so typically over a 25-year loan term, 15,200 euros. However, these do not have to be repaid, only taxed.
With the 2% interest, after 25 years, 19,900 euros have accumulated, which are then assumed to be further invested for 7 more years until retirement at 67, resulting in 22,800 euros. Taxes must then be paid on this amount at the individual's tax rate. Even those who would have to pay the top tax rate would only have to repay 47.48% of this sum, i.e. about 10,800 euros, with the average earner likely considerably less... and currently there is also a 30% discount on this amount if it is repaid in one lump sum.
That seems like a worthwhile deal to me at first glance, or am I overlooking something essential here (aside from possibly higher interest rates for the Riester loan, of course)?