Geometry of linear ill-posed problems in variable Hilbert scales