Many U.S. cities are leading the way in cutting emissions of greenhouse gases, with mandates on more efficient buildings, renewable energy and expansion of mass transit. But often these efforts face hurdles in the form of state and federal laws that were not designed with climate action in mind.