You have to remove the front bumper to remove the headlamps. Here the instruction from the service manual:
FRONT COMBINATION LAMP
1. Remove the front bumper fascia.
a. Release the core support cover clips, then remove the core support cover.
b. Release the engine under cover clips, then remove engine under cover.
c. Remove the front fender protector side covers (RH/LH).
d. Remove both front fender protectors clips and screws from the front edge and partially remove, moving the protectors as necessary for access.
e. Remove the front bumper fascia clips and screws, then remove front bumper fascia.
2. Remove the front combination lamp bolts.
3. Remove the harness clips from the front combination lamp assembly.
4. Pull out the front combination lamp toward the front of vehicle.
5. Disconnect the harness connectors, then remove the front combination lamp.