You asked

Which gh5 lens covers both group portraits and tight headshots?

No single GH5 lens does both perfectly, but the Panasonic Leica DG 12-35mm f/2.8 comes closest. It frames like 24-70mm on full frame, so it's wide enough for groups and gets close to a tight headshot at its long end. Its f/2.8 maximum keeps backgrounds reasonably soft and helps indoors. It gives up the reach that the guide's tight headshots call for, so faces will be a little closer to the camera than ideal.

For headshots, the guide points to a longer lens with room between you and your subject. On this camera that means the Panasonic Lumix G X 35-100mm f/2.8 II, which frames like 70-200mm on full frame. It's the better tool for flattering close portraits and strong background blur outdoors, but it's too tight for most groups. The guide also suggests a 35mm f/1.8 or f/1.4 for group and environmental shots, but that lens is not on this camera's list here, so the 12-35mm is the practical wide choice.

A sensible pairing is the 12-35mm for groups and the 35-100mm for headshots. If you can only carry one lens, choose the 12-35mm and step back from your subject for headshots.

Light also matters more than either lens: a window or open shade will improve a portrait more than any gear change.

Written by Claude from this site's pages.

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.