So when it happened, I tried to turn on the light (that worked fine before) and it lit up only to go off shortly after. subsequent tries were met with failure. So I changed the bulb for a new one.
No luck. What is especially weird, is that after leaving the light off for a short while, it will do it again: being on for a moment and turning off. If one tries to Turn it on after such a "burst", the time it is on gets even shorter and weaker until it can't be noticed that it is on.
It's an LED light bulb and the apartments electrical system is kinda old.
This is my last attempt before calling an electrician.