Phosphates in the karst environment