A holistic approach to groundwater protection and ecosystem services in karst terrains