BERLIN—The German economy shrank by 0.7 percent in last year’s fourth quarter amid a resurgence in coronavirus infections and new restrictions, official figures showed Friday. The quarter-on-quarter decline reported by the Federal Statistical Office followed two quarters of solid gains that came despite persistent supply bottlenecks. Gross domestic product grew 2.8 percent over the whole of last year, the office said, rebounding from a plunge of 4.6 percent in 2020 when pandemic lockdowns were at their most severe. That figure was revised up slightly from the preliminary figure of 2.7 percent the office reported earlier this month. The government this week cut its growth forecast for this year to 3.6 percent, down from the 4.1 percent Germany’s previous government forecast in late October. Economy Minister Robert Habeck told parliament on Friday that it expects 2.3 percent growth in 2023. The first-quarter performance will be “inhibited, above all because of the …