Hidden treasures: Sterile neutrinos as dark matter with miraculous abundance, structure formation for different production mechanisms, and a solution to the σ8 problem