How to loop through custom taxonomies and sub taxonomies and display posts?

You can use tax_query for this purpose.

$the_query = new WP_Query( array(
'post_type' => 'offices',
'tax_query' => array(
    array (
        'taxonomy' => 'europe',
        'field' => 'slug',
        'terms' => 'germany',
    )
),

) );

You can also use more then one term in this query.

tech