Climate-smart production of coffee