WARNING: This page is about a different car, the 2023 Porsche Panamera and 2022 Porsche Panamera. However, it is still accessible from the selected car via links, so may be relevant.
Unscrew screws -2-
and remove retaining strip under headlight -1-
.