Rising prices have dampened demand from households and businesses in Europe’s largest economy.