Cook the pasta in boiling salted water for about 10 minutes. Clean and wash broccoli and cut into florets. Cook in boiling salted water for about 8 minutes, drain and collect the cooking water. Drain the pasta as well and rinse with cold water. Peel onion and garlic, dice finely and fry in hot oil. Cut blue cheese into cubes. Add the mascarpone to the onions and let it melt while stirring.
Add 100 ml broccoli cooking water and bring to the boil once. Season with salt and pepper. Cut the ham into strips. Mix pasta, broccoli, ham and sauce and heat up again. Roast pine nuts in a pan without fat. Sprinkle over the pasta dish. Grind black pepper over it