Similar Items: Template-fitting meets deep learning: redshift estimation using physics-guided neural networks