An interesting solution that may have application to waste water treatment in locations with available land is detailed in an article from the University of Illinois College of Agricultural, Consumer and Environmental Sciences published in Science Daily. Researchers detail how using wood chips in flow channels can remove much runoff water nitrogen by converting it to nitrogen gas.
https://www.sciencedaily.com/releases/2021/04/210415170716.htm