Technology for removing micropollutants from wastewater