Not sure how you had the idea any of this was about the US? In one of the mentioned examples (Germany) the constitution says that the government has to protect also the rights of the future generations. If any government breaks the constitution (also in the US afaik) constitutional/supreme courts can decide to take on a case brought forward by people affected by this.
I am not an US citizen but your constitution is valid in all of the US isn't it? And if a government breaks one of your constitutional rights you can sue the government in a court of law? Same principle.