Need a page refresh everytime a variant changes to get the correct code to load

jQuery(function() {
    $('.product-form-input [name=Breite]').on('change', function(){
        setTimeout(function(){ 
          if($(this).val() != "{{ product.selected_or_first_available_variant.id }}"){
            location.reload();
          }
        }, 1);
    });
  });

Note: Code is not tested I just rewrite the existing solution a/to the screen-shot you shared.