The spouse route needs both: three years of lawful residence in Germany and a marriage or registered partnership of at least two years.