In certain molecules, the so-called photoacids, a proton can be released locally by excitation with light. There is a sudden change in the pH value in the solution—a kind of fast switch that is important for many chemical and biological processes. Until now, …