Surge protection for photovoltaic systems, for space-saving PCB installation