Lightning and overvoltage protection