Deadly floods left this German town in tatters. Now it's trying to climate-proof itself