A method for detecting an electromagnetic signal in the wavelength range of 780 nm to 10 μm, comprising the steps of: a) providing an optoelectronic component (1, 1a, 1b, 1c, 1d, 1e, 1f) that is arranged on a substrate, and has i. two mirror surfaces which are spaced apart from and opposing one another and which form an optical micro activity, ii. a photoactive layer arranged between the mirror surfaces and comprising at least one compound 1 and one compound 2, wherein the energy difference between the HOMO energy of the compound 1 and the LUMO energy of the compound 2 lies below 1.6 eV, wherein the optical path length between the mirror surfaces corresponds in the range of 25 to 75% to the wavelength of the signal to be detected, and wherein the energy equivalent of the wavelength range of the electromagnetic signal to be detected lies in range of - the energy difference defined by the HOMO energy of the compound 1 and the LUMO energy of the compound 2, and - the energy difference defined by the HOMO energy and the LUMO energy of the compound 1, wherein the photoactive layer is aligned, within the optical micro activity in the spatial intensity maximum of the wavelength of the electromagnetic signal to be detected, between the mirror surfaces; b) irradiating the optoelectronic component (1, 1a, 1b, 1c, 1d, 1e, 1f) with an electromagnetic signal in the wavelength range of 78 nm to 10 μm; c) amplifying the electromagnetic signal to be detected within the optical micro activity, wherein, induced by the wavelength of the signal to be detected, a direct interchromophoric charge transfer from the compound 1 to the compound 2 takes place; d) converting the electromagnetic signals into an electrical signal. a) providing an optoelectronic component (1, 1a, 1b, 1c, 1d, 1e, 1f) that is arranged on a substrate, and has i. two mirror surfaces which are spaced apart from and opposing one another and which form an optical micro activity, ii. a photoactive layer arranged between the mirror surfaces and comprising at least one compound 1 and one compound 2, wherein the energy difference between the HOMO energy of the compound 1 and the LUMO energy of the compound 2 lies below 1.6 eV, wherein the optical path length between the mirror surfaces corresponds in the range of 25 to 75% to the wavelength of the signal to be detected, and wherein the energy equivalent of the wavelength range of the electromagnetic signal to be detected lies in range of - the energy difference defined by the HOMO energy of the compound 1 and the LUMO energy of the compound 2, and - the energy difference defined by the HOMO energy and the LUMO energy of the compound 1, wherein the photoactive layer is aligned, within the optical micro activity in the spatial intensity maximum of the wavelength of the electromagnetic signal to be detected, between the mirror surfaces; i. two mirror surfaces which are spaced apart from and opposing one another and which form an optical micro activity, ii. a photoactive layer arranged between the mirror surfaces and comprising at least one compound 1 and one compound 2, - the energy difference defined by the HOMO energy of the compound 1 and the LUMO energy of the compound 2, and - the energy difference defined by the HOMO energy and the LUMO energy of the compound 1, b) irradiating the optoelectronic component (1, 1a, 1b, 1c, 1d, 1e, 1f) with an electromagnetic signal in the wavelength range of 78 nm to 10 μm; c) amplifying the electromagnetic signal to be detected within the optical micro activity, wherein, induced by the wavelength of the signal to be detected, a direct interchromophoric charge transfer from the compound 1 to the compound 2 takes place; d) converting the electromagnetic signals into an electrical signal.