Insects lead two lives, one as a larva and another as an adult. The habitat in which they thrive is always (well, I think this is true) very different and it certainly is in longhorn beetles. They live their larval stage in dead wood eating their way through dead timbers and helping to break them down in to humus and so the beetles are rarely seen in this stage unless you go specifically looking for them. As adults they become pollen feeders and can be found on a variety of flowers, quite often umbellifers, and so are far more visible.
The attractive four-banded longhorn (Leptura quadrifasciata) is quoted as being relatively common but the adult beetle lives for only a short time and so they are seen far less often than their numerical status would suggest they should. It is one of a small number of similar species but it is most likely to be confused with the spotted longhorn. The arrangement of the golden patches on the wing cases (elytra) tell it apart from the similar species. The four-banded longhorn has an affinity to birch trees and will often be found on flowers near birch trees.