No problem Michael 😉
I think your white space is optional here.
<?php $customclasses = $bgcolor . get_field('justering'); ?>
It will output: class1 class2
But if you don’t add space in your concatenation operator:
<?php $customclasses = $bgcolor.get_field('justering'); ?>
It will output: class1class2