German industry is being lapped in key sectors like solar panels, semiconductors and even cars — but the country's midsize businesses suggest the economy isn't losing its edge.