Cut the pumpkin into quarters, remove the seeds and cut the skin off generously. Cut the pumpkin first into columns, then into cubes. Spread pumpkin on the fat pan of the oven. Sprinkle with 2 tablespoons of oil and season with sea salt. Cook in the preheated oven (electric cooker: 200 °C/ gas: level 3) for about 20 minutes.
Peel and finely dice the onion. Heat 1 tablespoon of oil and sauté onion. Add rice, glaze briefly and deglaze with white wine and half the stock. Simmer for 16-18 minutes, stirring occasionally. Add the rest of the stock little by little. Pluck rosemary needles, add to risotto and cook. Grate about 2 tablespoons of the Parmesan and stir into the risotto. Slice the rest of the Parmesan cheese into shavings. Fold the pumpkin into the risotto.
Pluck rosemary needles, add to risotto and cook. Grate about 2 tablespoons of the Parmesan and stir into the risotto. Slice the rest of the Parmesan cheese into shavings. Fold the pumpkin into the risotto. Season with salt and pepper. Sprinkle the risotto with Parmesan shavings