The symptons are:
Side lights work fine. Sometimes when I turn the headlights on, all the lights turn off (dash backlight as well). Then if you turn the headlights off, side lights turn on again and dash lights up again.
Both dipped and main beam are affected, but flashing main beam still works.
It can happen when driving over bumps, possible loose connection?
What I've checked:
Taken out the switch panel, sprayed some contact cleaner on each switch, replaced. Could the headlight switch still be a problem?
Checked fuses in the front - all OK (as the lights work half the time, it can't be the fuses right?)
Checked relays next to fusebox. Pulled them out and switched them around (tested one with the horn, then put that one in the headlight place). Is it possible that relays can work intermittently or can they be ruled out.
Does anyone have any suggestions? Hoping it's not a massive wiring fault, and it's getting darker each day...