The flight's scheduled arrival time of 6:15 PM puts it well into darkness for much of the winter.
The issue isn't the visual approach. Lufthansa can do visual approaches at night. What they can't do is maintain visual separation from other aircraft at night. They mentioned this is exactly what isn't allowed for them. I think perhaps they could have been accommodated better at SFO, but the plane landed in Oakland and everyone survived so it worked out.