This is probably the best article for a beginner about impedance with respect to headphones.
I haven't managed to find an explanation of why the impedance of headphones is just a single, real number (like 250 Ohm). I thought impedance is a complex number, so it should have real (resistance) and imaginary (reactance) part. Maybe the imaginary part is just zero. All I know is that impedance varies with frequency.