Wash the pumpkin, grate dry, quarter, scrape out seeds and threads with a tablespoon. Cut 2 pumpkin quarters crosswise into slices. Cut the rest of the pumpkin into cubes (à approx. 1.5 x 1.5 cm).
Place pumpkin slices side by side on an oil-stained baking tray. Sprinkle with sugar and bake in a preheated oven (electric cooker: 200 °C/ circulating air: 175 °C/ gas: see manufacturer) for 10-12 minutes.
Remove and set aside.
In the meantime peel and chop the onion. Peel and finely chop the garlic. Wash and clean the chilli pepper and cut into fine rings. Pour beans into a sieve, rinse with cold water and drain well.
Wash the marjoram, shake dry and, except for something to garnish, pluck leaves from the stalks. Heat the oil in a large frying pan and crumble the mince coarsely. Fry while turning. Add the onion, garlic, chilli, marjoram and pumpkin cubes and continue to fry over a low to medium heat while turning for about 5 minutes.
Add the tomato paste. Season vigorously with salt, pepper and paprika.
Coarsely chop the tomatoes. Deglaze the chopped mixture with it. Bring to the boil and braise at low to medium heat for about 5 minutes. Stir in the beans. Season again with salt, pepper and paprika.
Meanwhile grate the mountain cheese finely. Drain the mozzarella, carefully squeeze it between kitchen paper and then cut it into thin slices. Put the chopped pumpkin mixture into an ovenproof dish and spread pumpkin slices on top.
Cover with mozzarella and sprinkle with cheese. Bake in a preheated oven (electric cooker: 200 °C/ convection oven: 175 °C/ gas: see manufacturer) for approx. 15 minutes. Take out of the oven, arrange and garnish with remaining marjoram.