Complex sentence: They were close friends until Herbst's forced emigration but tried to stay in contact which was hard due to Gestapo and WWII.
Split into simpler sentences: They were close friends until Herbst's forced emigration. Furthermore they tried to stay in contact which was hard due to Gestapo and WWII.