At VHF and above, communication is easiest when the stations have a clear line of sight. Without line of sight, a link is achieved only by reflection and diffraction off/around other objects in the environment, and this must be offset by higher transmit powers or antenna gain if there is insufficient margin in the link budget.
Estimating coverage in the absence of a clear line of sight requires some non-trivial modelling. I used to link to some tools using the Longley-Rice model, however I can no longer find any that are freely available.
However if you do have line of sight, then there are some simple calculations that can be done.
At long distances, Earth's curvature limits the line of sight distance. On flat terrain, the radio horizon describes the maximum distance for line-of-sight communication. It can be estimated by:
$$ \text{horizon in kilometers} = 4.12 \sqrt{\text{antenna height in meters}} $$
For example, an antenna mounted 2 meters high has a horizon of about 5.8 km. At 10 meters high, 13 km.
The horizons from each end add, so if one station has an antenna a 2 meters, and the other at 10, the maximum line of sight distance is approximately 18.8 km.
There is practically speaking no maximum height, so mount the antenna as high as you can.
Radio waves have a much longer wavelength than visible light and thus can't be focused to a tight beam like a laser pointer. Consequently, to minimize loss it's important not only to keep clear the direct line between the stations, but some area around that line as well. As a design rule of thumb, the area that "should be kept clear" is usually defined by the first Fresnel zone, which is the locus of points where a ray reflected off that point would arrive with a 180 degree phase delay compared to a direct ray. It's an ellipsoidal region between the antennas which is thickest in the middle, with a radius (in meters) of:
$$ 8.656 \sqrt{ \text{distance in km} \over \text{freq. in GHz}} $$
At 868 MHz and at your maximum range of 10 km, this gives the 1st Fresnel zone at its thickest point a radius of 29.3 meters, meaning you should hope to achieve a clear line of sight between the stations, and also clear the zone up to 29.3 meters around that line, especially in the middle.