Introduction

Agricultural intensification has led to a recent widespread decline in farmland biodiversity across many different taxa (Benton et al. 2003; Kleijn et al. 2011), but farmland still hosts many species that depend on appropriate agricultural management for their survival (Kleijn and Sutherland 2003; Opermmann et al. 2012). For instance, it is estimated that roughly 50 % of plant and animal species in Europe depend on agricultural habitats (Kristensen 2003). Biodiversity protection globally depends increasingly on maintaining biodiversity in human-dominated landscapes (Fahrig et al. 2011), and it has been argued that measures targeted to reduce inputs in high-intensity farms should be the most cost-effective policy option (Primdahl et al. 2003). Nevertheless, assessments of the ecological effectiveness of agri-environmental schemes granted in Europe (EC 2005) which aimed at increasing biodiversity on intensive farmland have given mixed results (Whittingham 2007; Kleijn et al. 2011). The same can be said of extensification measures such as organic farming (e.g. Bengtsson et al. 2005; Hole et al. 2005; Gabriel et al. 2013), set-aside (Kleijn and Baldi 2005) or the conversion of some production lands into ‘more-natural’—unmanaged or extensively managed—lands (Flohre et al. 2011). The reasons for these general failures seems to be complex and taxa-specific, including non-linear relationships between field-scale land-use intensity and diversity (Kleijn et al. 2008), landscape-scale effects on field-scale land-use changes (Concepción et al. 2008) and even regional-scale effects of land use history or regional species pools (e.g., Tscharntke et al. 2005, 2012).

Conserving what is left, rather than trying to recover what was lost, has been proposed as a more effective approach to biodiversity conservation in low-intensive farming areas that still retain significant amounts of semi-natural vegetation (Kleijn et al. 2011; Concepción et al. 2102, Opermmann et al. 2012). These criteria are mostly accomplished by extensive pasturelands, which consist of mixtures of grassland, scrub and/or woodland used for raising livestock (Paracchini et al. 2008). Indeed, these kinds of farmland dominate current lists and maps of European High Nature Value Farming Systems, which are low input farms managed extensively, that still conserve high biodiversity (Opermmann et al. 2012).

Habitat heterogeneity at multiple spatial scales has been revealed as key for biodiversity conservation in farmland (Benton et al. 2003; Concepción et al. 2008, 2012). At the farm scale, which is the main management unit for decision-making, heterogeneity can be either intrinsic to the main land uses (e.g. scattered trees over grasslands in silvopastoral systems) or be the result of the diversity of land uses and/or the existence of marginal habitats (i.e. unmanaged habitats that occupy a low proportion of farm surface, including hedges, woodlots, roadsides or boundary strips interspersed among the main fields). Both sources of heterogeneity are important in agroforestry systems which, as part of multifunctional working landscapes, have been shown to play a major role in conserving and even enhancing biodiversity from farms to landscapes in both tropical and temperate regions of the world (review in Jose 2012). In these systems, scattered trees generate fine-scale mosaics within plots (i.e., gradients of available resources availability from beneath the canopy to interstitial areas among trees; Moreno et al. 2013) causing positive effects on biodiversity disproportionate to tree cover (reviews in Manning et al. 2006; Marañón et al. 2009; Díaz et al. 2013). Scattered trees are still prominent features of many human-modified landscapes around the world (Gibbons et al., 2008). Indeed, 46 % of the world agricultural land (10.1 M km2) includes scattered trees or woodlots (Zomer et al. 2009), and 5.2 M km2 are home to different wooded silvopastoral systems in the Mediterranean, North and South America, Central Asia, South Africa and South Australia (Calama et al. 2010; Pulido, unpublished).

Oak dehesas and montados are agroforestry systems that cover over 4.5 million hectares in the Iberian Peninsula (Moreno and Pulido 2009). These systems maintain outstanding levels of biodiversity (Díaz et al. 1997 and Díaz et al. 2013), to the point of being considered as habitats to be protected under the European Habitats Directive, the cornerstone of Europe’s nature conservation policy that protects over 200 habitat types important for biodiversity (EEC 1992). This low input system typically combines within farms livestock rearing (ca. 03–0.6 Livestock Unit per ha), cereal cropping, cork and firewood harvesting and game production, and is the source of both high-quality food products and ecosystem services such as carbon sequestration, recreation, watershed maintenance or biodiversity conservation (Campos et al. 2013). High levels of plant, arthropod, earthworm and vertebrate diversity from plot to landscape scales, including several endangered species, have been attributed to intimate mixtures of forest and open habitat types at several spatial scales in oak dehesas and montados (as Díaz et al. 2013). This finding has been tested mainly for the local effects of scattered trees on plants, birds and invertebrates (e.g. Marañón 1986) and for the landscape-scale effects of the coexistence of dehesas with forest patches (e.g.; Carrete and Donázar 2005) in few case studies. Even fewer works have been done on the role of marginal habitats or landscape elements (but see Martín and López 2002). Biodiversity conservation is key for the long-term sustainability of dehesa systems, due to the economic and amenity value given by both landowners and the society to such diversity (Campos et al. 2013). Hence, explicit long-term strategies should be designed to promote management practices aimed at maintaining such biodiversity. Such measures must rely on large-scale studies analyzing the patterns of dehesa diversity and more knowledge on the processes underlying them is urgently needed.

In this work we analyze the relative importance of wood pastures (defined as herbaceous pastures with scattered trees), open pastures (without trees) and marginal habitats of dehesa farms for the species richness of four key taxonomic groups: vascular plants (primary producers), bees (pollinators), spiders (predators), and earthworms (decomposers). These groups were selected because their limited mobility allows attributing community composition mostly to local-scale effects of tree-based gradients and within-farm habitat heterogeneity. We surveyed species richness and abundance in the two main habitat types, open pastures and wood pastures (pastures with scattered trees), and in marginal habitats (linear features, water bodies, shrub patches). The effect of trees was assessed by comparing species richness of wood pastures with open pastures both at plot and habitat levels. We expected more species in wooded main habitats and an absence of certain species of open pastures due to the negative effects of woody vegetation on these species. The importance of marginal habitats was analyzed by computing the proportions of shared species among habitat types and, as marginal habitats are expected to increase species richness by supporting species not found in open and wood pastures (Díaz et al. 2013), by comparing the estimated species richness in landscapes with or without them.

Materials and methods

Study area

The study was conducted in a typically agricultural region of Central Western Spain (Tierras de Granadilla district; 235 km2 from latitude 40º7′ to 40º14′N and longitude 6º0′ to 6º21′W). According to Corine Land Cover (EEA 2010), the landscape in the district is dominated by oak dehesas (38.7 % of the land) and open pastures (18.5 %) devoted to livestock breeding, olive plantations (15.0 %), shrublands (12.5 %), dense forests (9.4 %), and herbaceous crops (3.1 %). Dehesas are mostly dominated by scattered Quercus ilex trees, with Quercus suber and Quercus pyrenaica in lower numbers.

Ten dehesa farms (485 ha on average, ranging from 150 to 835 ha) were randomly selected, and then each area-based habitat (at least 5 m wide and covering 400 m2) and linear feature (at least 0.5 m wide and 30 m long) was mapped according to a standardized protocol developed by the European EBONE and BioBio projects (Bunce et al. 2011). Habitats were defined on the basis of the dominant Raunkiaer life forms, edaphoclimatic conditions, and management. Vegetation can be formed by a single life-form class or more often by a complex mixture of life forms; hence a new habitat is mapped and separated from adjacent or surrounding habitats if a change of more than 30 % cover of a life form is recorded.

In total, we defined nine General Habitat Categories (GHC): six area-based habitats and three linear features. Area-based GHC were: (1) Wood pastures (typically 10–30 mature oak trees per ha; 30–60 cm of stem diameter and 6–8 m height, on average; <30 % of canopy cover); (2–4) Open pastures dominated either by annual species (vegetative period from October to May), by perennial species (dried in summer for 3–4 months), or by a mix of both; (5) Shrub encroached pastures (typically 40–80 % of shrub cover and 1.5–3 m height; mostly Cistus spp., Retama sphaerocarpa, Genista hirsuta and Cytisus spp., but also Thymus spp, and Lavandula sp with or without presence of a sparse tree layer); (6) Agricultural crops, either herbaceous (usually cereal) or woody (olive, vineyards and fruit trees). Linear features were: (7) Water (seasonal streams and artificial ponds); (8) Herbaceous lines and (9) Wood lines (either tree species, usually oaks, but also Fraxinus angustifolia and Salix atrocinerea and/or shrub species (Flueggea tinctoria, Rosa canina, Rubus ulmifolius, Crataegus monogyna, Arbutus unedo, Cistus spp. and Cytisus spp.). Table S1 (supplementary material) gives a complete list and details on plots and habitat sizes.

Sampling protocol

Within each farm, plots were randomly selected for monitoring biodiversity. The number of plots selected was roughly proportional to the area occupied by each GHC: Wood pastures (WoodPast; n = 41 plots), Annual plant open pastures (AnnPast; n = 11), Perennial plants open pastures (PerenPast; n = 15), Mix open pastures (MixPast; n = 16), Shrubs (n = 19), Agricultural crops (AgriCrop; n = 12), Woody lines (WoodLine; n = 11), Herbaceous lines (HerbLine; n = 10) and Water bodies (Water; n = 10). In each plot (n = 145) four taxa were monitored, attending to the four major ecological functions which are relevant for farming: vascular plants (primary production), wild bees and bumblebees (pollination), spiders (predation), earthworms (organic matter decomposition). These four biological groups are relatively easy to monitor, provide relevant information on general environmental conditions and are sensitive to management practices (Herzog et al. 2013).

Vegetation was recorded in subplots of 10 m × 10 m in area-based habitats, and of 10 m × 1 m in linear features in spring 2010. All species were carefully identified and recorded in situ. the whole subplot area. Cover was visually estimated for each species, using 5 % categories. Species with less than 5 % cover were given a nominal cover of 1 %. Bare ground includes leaf litter and rock. Total cover may be over 100 % if several layers are present (Dennis et al. 2012). Surveyed area was always randomly located by the center of the plot, and for water bodies (water courses and ponds) surveys were done along the perimeter.

Bees and bumblebees (hereafter ‘bees’) were sampled along a slow walked transect of 100 m × 2 m per plot (alternatively, two 50 m × 2 m transects) with a handheld net (solid wire hoops with diameter of 46 cm). Captured specimens were immediately transferred into a killing jar charged with ethyl acetate to minimize damages and facilitate taxonomic identification. Transects were repeated three times throughout the season (from early May to mid-July 2010).

Spiders were sampled in 5 circular subplots (0.357 m diameter) placed beforehand at random on the target vegetation within the plot. Spiders were caught using a motorized leaf blower (inverted to allow suction) and immediately separated in situ from the litter and dust and fixed in 70 % diluted alcohol to avoid any possible predation among collected individuals. Sampling was repeated three times throughout the season (from late April to late July 2010). For each date, 5 subplots were newly selected within the same plot.

Earthworms were sampled in three separated quadrats per plot (30 cm × 30 cm) combining the extraction with an expellant solution (diluted AITC solution [allyl isothiocyanate]; 0.1 g/l; 2 l per quadrat poured twice at 5 min intervals) for 30 min and the subsequent hand-sorting for 30 min more. Samples were taken from mid-March to late April of 2010. Earthworms were fixed with diluted alcohol and stored at 4 °C before identification. All individuals were identified to species, except for the genera Andrena (bees), Scytodes and Tegenaria (spiders), and Allium, Conyza, Pohlia and Riccia (plants). For more details on sampling protocols see Dennis et al. (2012).

Data analysis

To facilitate the statistical treatment of a high number of habitats differing in extension and number of sampled plots, habitats were first grouped in the 9 GHC aforementioned. Second, the three categories of open pastures (annual-plants, perennial-plants and mix) were grouped under a single group named Open pastures to be compared against Wood pastures. Finally, GHC were further grouped into two categories, Pastures (wood pastures and open pastures) and Marginal habitats (the remaining 5 GHCs that occupy small areas in the farms).

For each biological group, the sum of species observed over sub-sampling squares and/or dates gives the species richness at each plot. Mean species richness at plot level (Splot) was calculated as the average number of species over the plots of each GHC. Species richness at GHC level (Shabitat) was calculated as the sum of species observed over all sampled plots within the category. Splot represents the α diversity for each GHC (or group of GHC), while Shabitat represents the γ diversity for each GHC. Comparison of both values gives estimation on the spatial heterogeneity or β diversity within each GHC. Pooling species recorded in the whole of plots, regardless of the habitat type, gives γ diversity at dehesa landscape scale.

Values were standardized following the rarefaction (interpolation) and extrapolation (prediction) approaches proposed by Chao (2005) and Colwell et al. (2012) to make comparable values produced with different sampling efforts. EstimateS 9, and open source software (Colwell 2013), was used to compute two estimators of species richness, Coleman and Chao-2, from counts of individuals of each species in single samples or set of samples. Whereas Chao-2 follows the extrapolation approach to estimate the total species richness, including species not present in any sample, Coleman uses rarefaction to estimate the species richness for a sub-set of samples (the lowest number of samples among the units compared). We also used EstimateS 9 to compute the compositional similarity among plots (within each GHC) and among GHCs. We selected a widely used estimator of shared species (Sorensen index), as well as an estimator of the number of shared species that takes shared but unobserved species into account (Chao-Sorensen Estimator; Chao et al. 2005; see Supplementary Material).

Mean values of abundance (number of individuals per surface unit) and species richness at plot level (Splot index) were compared by mean of generalized linear mixed models (GLMMs), with farm as random factor, and GHC (and further GHC groups) as the unique fixed factor. Tree and shrub cover were included as covariates to better discern the role of trees and shrubs for the four taxonomic groups. Comparison of species richness at the habitat level (Shabitat) was based on the comparison of the species accumulation curves and associated confidence intervals (Colwell et al. 2012). As these authors noted non-overlap of 95 % confidence intervals can be used as a simple but conservative criterion of statistical significance (p < 0.05). Mean values of similarity among plots were compared by means of generalized linear models (GLMs) with GHC as the unique factor and Sorensen and Chao-Sorensen indexes as response variables.

Results

Overall species richness

The number of species recorded per plot (Splot) was 37.0 ± 2.5 for plants (in 100 m2), 3.1 ± 1.1 for bees (in 200 m2 transect × 3 times), 7.4 ± 1.2 for spiders (in 0.5 m2 × 3 times) and 2.5 ± 1.0 for earthworms (in 0.27 m2). Pooling the data from the 145 sampled plots (species richness at dehesa landscape scale), the total number of species found was 431 for plants, 60 for bees, 128 for spiders and 18 for earthworms. Considering that 91 species of plants, 39 of bees, 34 of spiders and 7 of earthworms were recorded in just one plot, and that the species accumulation curves did not reach the asymptote (Fig. 1 and Supplementary Fig. S1), the actual species richness for dehesas in the study area is probably above the values found. Accordingly, the estimated richness for the entire 10 dehesa farms (Chao2 mean ± S.D.) was 504 ± 20 species for plants, 140 ± 40 for bees, 161 ± 14 for spiders and 25 ± 7 for earthworms.

Fig. 1
figure 1

Species accumulation curves (±95 % C.I.) for the four biological groups where data of all measured plots are randomly accumulated (n = 145). Rarefaction is indicated by solid lines, extrapolation by dashed lines, and the reference samples (measured) by the transition from solid to dashed line

Species richness per habitat type

Among the nine GHC types, differences in the mean number of species per plot (Splot) were significant for plants and spiders, marginally significant for bees and non-significant for earthworms (Tables 1, 2). Plant Splot was higher for shrub plots (48.9 ± 3.1 Confidence Interval at 95 %) followed by the four types of pastures (from 39.3 ± 2.8 to 37.4 ± 3.0) and agricultural crops (36.1 ± 2.7). Spider richness was affected by shrub cover (p < 0.001; Table 1), and Splot was higher in shrub plots (9.2 ± 1.2), with similar values for marginal habitats and open pastures dominated by perennial species, and significant lower values for other open values and wood pastures (6.1 ± 1.0, Table 2). Spiders and earthworms were more abundant in pastures (included herbaceous lines) and near water bodies and less abundant in woody habitats (wood pastures, wood lines and shrub plots). Bees were more abundant in wood lines and open pastures dominated by annual species, and Splot was marginally higher in wood lines (5.0 ± 1.2) than in remaining habitats (from 2.0 ± 0.7 to 3.5 ± 1.1; Table 2). The estimated percentages of shared species (Chao-Sorensen index) among two different plots was usually below 60 %, with mean percentages of 57.1 % for plants, 52.8 % for bees, 43.8 % for spiders and 51.1 % for earthworms. There were significant differences among GHCs for both Sorensen and Chao-Sorensen indexes (Table 3).

Table 1 Results (F-Snedecor, and p values in brackets) of comparison of mean values of abundance and species richness measured at plot level for different habitats
Table 2 Mean values (±95 % Confidence Interval) of abundance and species richness (S) of four biological groups at nine GHCs
Table 3 Mean values (±95 % Confidence Interval) of Sorensen index (ratio of shared species (range 0–1) among plots within each GHC)

The overall richness recorded per GHC (Shabitat) was 5.2, 5.5, 6.5 and 3.2 times higher than Splot for plants, bees, spiders and earthworms respectively (Table 2). Moreover, Chao2 index values were 39 % for plants, 100 % for bees, 75 % for spiders and 34 % for earthworms higher than Shabitat, (Table 2). According to mean values and associated standard deviations of the Chao2 index, estimated plant richness was significantly higher in wood pastures and shrubs (380 ± 24 and 346 ± 24 species, respectively), and significantly lower in herbaceous lines (150 ± 24) and around water bodies (183 ± 18) (Table 2; see also Fig. 3a in the Supplementary Material). These differences were also confirmed by Coleman-rarefied richness (Table 2). For spiders, again wood pastures showed the highest Chao2 richness (129 ± 23 species), despite of their low Splot (6.1 ± 1.0). Richness was also high in shrubs and woody lines, especially as estimated by Coleman richness index. As for plants, herbaceous lines and around water bodies were significantly poorer than the rest of GHCs. Agricultural crops and wood lines showed higher richness of earthworms (Chao2 richness 23.8 ± 12.4 and 16.6 ± 5.1 species, respectively) than the remaining habitats. Uncertainty for the Chao2-estimated bee richness was high and differences among GHCs were less clear.

Wood pastures versus open pastures

Abundance and species richness of earthworms and spiders measured at plot level (Splot) was significantly higher in open pastures than in wood pastures (Tables 1, 2), which was confirmed by the significance of tree cover as covariate (species richness decreased with tree cover). Tree cover had also a negative effect on bee abundance. On the contrary, pooling plots estimated richness (Chao2) of plants and earthworms species were significantly higher in wood than in open pastures (Figs. 2, 3). Differences for plants, earthworms and spiders were also confirmed by Coleman-rarefied index (at n = 40) (Fig. 3).

Fig. 2
figure 2

Comparison of species accumulation curves (±95 % C.I.) for wood pastures and open pastures. Rarefaction is indicated by solid lines, extrapolation by dashed lines, and the reference samples (measured, n = 41 for wood pastures and n = 42 for open pastures) by the transition from solid to dashed line

Fig. 3
figure 3

Species richness (±95 % C.I.) measured and estimated by extrapolation (Chao2 index) and rarefaction (Coleman index; set at n = 40) for different groups of GHC

Main habitats versus marginal habitats

Regarding the comparison among all types of pastures and marginal habitats, differences for Splot were significant for plants, spiders and earthworms (Table 1). While for plant species measured richness was significantly higher in pastures than in marginal habitats, for earthworms the opposite was found. Results vary for estimated richness at the habitat level (Shabitat; Fig. 3). Marginal habitats were significantly richer than pastures for plants and earthworms (higher Chao2 and Coleman-rarefied indexes), and for bees and spiders (only with Coleman-rarefied index).

Shared species among habitats

Comparing the whole list of species recorded for each GHC type (all sampled plots pooled), the percentages of shared species was low (below 60 % for bees and spiders and 65 % for plants; Table 4). Only for earthworms the percentage of shared species was high (mostly above 65 %). Some specific combinations produced very low rates of shared species (<40 %). These were herbaceous lines with wood pastures and wood lines for plants; perennial pastures with water bodies and wood lines, and wood lines with herbaceous lines for bees; wood pastures and shrubs with herbaceous lines for spiders. Wood pastures, the most widespread GHC comprising 63 % of the dehesa area, only shared on average 56.5 % of their species with the rest of GHCs. Also linear features and water bodies shared only ca. 56 %, on average, of their species with the rest of GHCs (Table 4).

Table 4 Mean values (±95 % Confidence Interval) of Sorensen index resulted of the comparison of the whole list of species recorded in each GHC

As a consequence of the low percentage of shared species among GHCs, when different GHCs were pooled (from the most ubiquitous and extended habitats up to the most rare and restricted ones) new additional species were provided by each new GHC (Fig. 4). Wood pastures only harbored 58 % of the species recorded (four taxa averaged) or 67 % of the number of species estimated (Fig. 4). Open pasture harbored 66 species of plants, 21 of bees, 24 of spiders and 1 of earthworms, that were not present in wood pastures (Figs. 3, 4). Marginal habitats (shrubs, agricultural crops, water bodies and linear features, which all together occupy less than 10 % of the total area) provided a good number of exclusive species that were not found in the main fields (wood plus open pastures). These exclusive species amount up to 26.2 % of the plants, 65 % of the bees, 50 % of the spiders and 55.6 % of the earthworm species (Table 5).

Fig. 4
figure 4

Relative accumulation of species with different habitats types compared with the relative accumulation of surface occupied by those habitats: Wood pastures (WoodPast;), Annual-plant open pastures (AnnPast), Perennial-plants open pastures (PerenPast), Mix open pastures (MixPast), Shrubs, Agricultural crops (AgriCrop), Woody lines (WoodLine), Herbaceous lines (HerbLine) and Water bodies (Water). For this curves with absolute values see Fig. S4 in the Supplementary Material

Table 5 Numbers and percentage of species that were found just in a unique habitat type (GHC) for the four biological groups

Discussion

The Mediterranean Basin is a recognized biodiversity hotspot (Myers et al. 2000) due to a complex biogeographical history, its transitional nature from large dry-tropical to wet-temperate biomas, and a long history of multiple land uses (Blondel et al. 2010). Among these land uses, extensive silvopastoral systems such as Iberian dehesas and montados are also renowned as biodiversity-rich systems (Bugalho et al. 2011; Díaz et al. 2013). Our study confirmed this high biodiversity, with an estimated richness of 504 species of plants, 140 of bees, 161 of spiders and 25 of earthworms for the dehesas of the study area (4875 ha). High levels of biodiversity of vascular plants, butterflies, birds and other vertebrates have been also found by other authors, a fact that presumably results from the intimate mixtures of forest and open habitat types at several spatial scales (reviewed by Díaz et al. 2013). Our study reports for the first time the diversity of these four key taxonomic groups measured through a systematic survey. Our approach allows us to compare different habitat types as well as to examine the relative contribution of different habitats to the landscape-scale biodiversity.

The importance of wood pastures

Wood pastures, in both natural and cultural landscapes, are still common worldwide. For these systems, scattered trees have been identified as ‘keystone structures’ due to the disproportionate ecological values and ecosystem services, including biodiversity, they provide relative to the small area they occupy in landscapes (Mills et al. 1993; Manning et al. 2006). Trees are essential sources of food and shelter, and they generate multiple resource gradients in part associated to the differential use by livestock (Moreno et al. 2013). Fine-grained ecotones created by scattered trees (from beneath the canopy to the interstial open pastures) are key for high species and niche densities of wood pastures (Bergmeier et al. 2010). Indeed, they have a disproportionate value for different taxa, as reported by Fischer et al. (2010) for birds and bats in an Australian livestock grazing landscape. These authors found that, compared to treeless sites, bird richness doubled with the presence of one tree and when 3–5 trees were present, bat richness tripled and bat activity increased by a factor of 100. Bat species richness reaches a nearly asymptotic value at roughly 5 trees/ha, while bird species richness keeps increasing slightly even above 100 trees/ha. Other studies done in Iberian dehesas have reported that plant and bird species richness are similar or higher in open woodlands than in adjacent dense forest and/or shrublands (Diaz et al. 2013).

Here, we also found more species of vascular plants, bees, spiders and earthworms in wood pastures as a whole than in open pastures (differences not significant for bees). Differences were mostly confirmed when extrapolation and rarefaction approaches were used (Figs. 2, 3). Bermeier et al. (2010) reported similar results for vascular plants, birds, snails and beetles for other European wood pastures. An increase in invertebrate richness and abundance has been reported when moving from open grassland to agroforestry conditions for carabid beetles in Northern Ireland (Cuthbertson and McAdam 1996) and for spiders and staphylinid beetles in Scotland (Dennis et al. 1996). Burgess (1999) also reports on the benefits of silvoarable systems, relative to common monocultures, in terms of the number of birds and mammals. Gillet et al. (1999) determined a plant species richness optimum at 30 % of tree cover for Swiss Jura Mountains wood pastures.

Contrary to our expectations, at plot scale we did not find higher species richness in wood pastures than in adjacent open pastures for any of the four biological groups studied. Furthermore, abundance and species richness of spiders and earthworms were negatively affected by tree cover, and were significantly higher in open pasture plots than in wood pasture plots. However, the similarity among plots, either measured or estimated (Table 3), was higher in the open than in wood pastures for vascular plants, spiders and earthworms (not for bees). Thus, the higher overall species richness found here for wood pastures is explained by the higher spatial heterogeneity (β diversity) of wood pastures. Comparing species richness at plot and habitat levels, we found that heterogeneity (Shabitat − Splot) was higher for earthworms, followed by spiders, bees and plants. This is consistent with the sedentary behavior and high isolation of populations of soil-living animals (Costa et al. 2013). Azcárate et al. (2002) showed that the presence of many species in Mediterranean grasslands is determined by dispersal (production of numerous small seeds) rather than by competitive ability, which could explain the lower importance of spatial heterogeneity for plant species richness compared to other taxa here studied.

The exception found for bees could be tentatively explained by the relative increase of anemophilous grasses (pollen dispersed by wind) and the concomitant loss of legumes and forbs (mostly entomophilous with pollen dispersed by insects) in the neighborhood of trees (Marañon et al. 2009) caused by the positive effect of trees on soil nitrogen availability (Gallardo et al. 2000; Moreno and Obrador-Olán 2007). Both abundance and species richness of bees were higher in pastures dominated by annual plant species (rich in forbs and legumes) than in pastures dominated by perennial species (rich in grasses).

The conservation of the habitat mosaic

Biological diversity is unevenly distributed across space (Gaston 2000). Patterns of biodiversity varies across spatial scales and between taxonomic groups (Tews et al. 2004; Crawley and Harral 2001; Turtureanu et al. 2014). In our study, species richness and abundance differed significantly across defined habitat types, and the richest habitat depended on the biological group and scale. Plant richness was highest in wood pastures and shrubs, both at plot and landscape scales, reflecting the benefit of the fine-scale gradients created by woody plants for understory pasture (Marañon et al. 2009; Moreno et al. 2013), but also the high β-diversity (low Sorensen index) for most of the GHC studied. Although, high spatial heterogeneity is a common feature of many other European semi-natural dry grasslands (Turtureanu et al. 2014), in our study area open pastures showed a lower spatial heterogeneity (higher similarity among plots) than other GHCs.

Earthworm diversity did not differ among GHC at the plot scale, but were more abundant in open pastures and near water bodies than in woody habitats, a fact probably explained by the lower moisture content usually found underneath trees and shrubs in Iberian dehesas (Cubera and Moreno 2007a, b; Rolo et al. 2013). By contrast, at the landscape scale, earthworm diversity was higher in woody habitats and agricultural crops, reflecting the higher spatial heterogeneity of earthworm community in woody habitats compared to open pastures and wet areas, as reported for cold-humid mixed deciduous forest in Canada (Whalen 2004) and for sub-humid tropical gallery forests in Colombia (Jiménez et al. 2011). Earthworms were more diverse and abundant beneath tree/shrub canopies than in open areas in dry-warm rangelands of Israel, but abundance and diversity did not differ between shady and sunny microhabitats in cooler sites (Pavlíček et al. 1996). Maestre and Cortina (2002) found similar canopy effects of Stipa tenacissima tussocks in the rangelands of semiarid Southeastern Spain. Hence, it seems that the role of scattered trees or other plants would depend on soil-climate conditions, although more studies are needed to unravel the processes affecting the specific distribution of earthworms in dry wood pastures.

Spiders were also more abundant in herbaceous lines and open pastures. However, at plot scale the richest GHC were shrubs and pastures dominated by perennial species, with woody habitats showing again the lowest similarity among plots and the richest GHCs at landscape scale. Also Miyashita et al. (2012) reported that richness and abundances of major constituent spider species were highest in intermediate mixtures of forests and paddy fields, and that this effect derives from multi-scale landscape heterogeneity.

Bees were more abundant and diverse in annual pastures and wood lines when counted at plot scale. At a landscape scale the most diverse GHCs were again wood lines with wood pastures and shrubs. Although bees, especially domestic bees, were very abundant in annual pastures in early spring, in summer as pastures dried, bees become dependent on flowering shrubs (e.g. Rubus spp., Thymus spp., and Lavandula spp.) and honeydew-secreting oaks. While in early spring domestic bees are the most abundant, by late spring and summer the less abundant solitary bees became the dominants (data not shown). Our results reflect the importance of habitat mosaic and landscape heterogeneity for bees, as 39 of a total of 60 species were found only in one habitat type. Pollinators are considered as a crucial component in ecosystems and the importance of loss of diversity of this functional group, with negative ecological and economical effects, is widely documented (Potts et al. 2010 for a review).

Iberian dehesas have been created and maintained by a combination of different land uses commonly practiced within ranches (Moreno and Pulido 2009). This combination usually entails a rotational management scheme of crops, fallows, pastures and shrublands leading to a mosaic of habitats that favors the diversity of plant and animal species (Benton et al. 2003; Concepción et al. 2012). The complementary use of different dehesa habitats has been reported for different vertebrate species, such as red deer (Cervus elaphus L.), small and medium mammals (e.g. rabbits, hares) and birds (e.g. passerines, woodpigeon, cranes, vultures) (see Díaz et al. 2013 for a review). In the dehesas studied here, spatial heterogeneity is revealed by (i) the differences among neighbor farms (significant Farm factor in GLMMs; Table 1), (ii) the low species affinity among plots within GHCs (Table 3), and (iii) the low species affinity among GHCs (Table 4). The high proportion of species unique to GHCs type in this study reinforces the importance of the spatial heterogeneity of dehesa system for species richness of the four biological groups studied. The ‘habitat heterogeneity hypothesis’ assumes that structurally complex habitats increase species diversity as they provide more niches and diverse ways of exploiting environmental resources (Tews et al. 2004). In most habitats, plant communities determine the physical structure of the environment, and therefore, have a considerable influence on the distributions and interactions of animal species. In the dehesas studied, woody pastures and other woody habitats harbored the highest plant richness and this was associated to higher richness of the three animal groups studied at landscape scale.

Over the last decades most Mediterranean silvopastoral systems have been following two divergent trends: intensification of land use in some areas, and land abandonment and shrub encroaching in others (Pinto-Correia 2000; Papanastasis 2004). In both cases the diversity of land uses and associated habitats are notably reduced (Plieninger and Wilbrand 2001). Our results suggest that these trends could have important detrimental effects for regional biodiversity as the loss of certain habitats would result in the loss of species. Successive measures granted by the European Common Agricultural Policy (CAP) did not halt the progressive reduction of the spatial heterogeneity of most of the European pastoral woodlands and wooded pastures (Bergmeier et al. 2010). According to Concepción et al. (2012), landscape-scale management options should take priority over local agri-environmental measures for biodiversity conservation, and they should include the maintenance of a diversity of farming activities in extensive rangelands so as to guarantee the conservation of habitat diversity. Specifically, the mix of wood pastures with open pastures at different spatial scales seems essential for the conservation of dehesa biodiversity.

The disproportionate importance of marginal habitats

Besides the diversity of main (productive/managed) fields, dehesas commonly contain different landscape elements, such as hedges, woodlots, artificial ponds, roadsides or boundary strips interspersed among the main paddocks. Tews et al. (2004) denoted these distinct spatial elements, which provide resources and/or shelter for animal and plant species, as keystone structures (distinct spatial structures providing resources, shelter or ‘goods and services’ crucial for other species). The importance of these keystone structures for farm biodiversity has been highlighted in the last decade. In our study, although both wood pastures and open pastures accounted for a high number of species, the presence of some marginal habitats (unmanaged habitats that occupy a low proportion of farm surface), including linear features, played a very significant role in terms of species richness at the farm and landscape level. These keystone structures or ecological infrastructures (sensu Boller et al. 2004) occupied a very small area of the farms studied (<10 %) and harbored a high proportion of the species found (Fig. 3). The proportion of species that were found only in those keystone elements reached up to ca. 30 % for spider species, 40 % for bee species and 45 % for earthworm species (Fig. 3).

Marginal habitats are expected to increase species richness by supporting species not found in open and wood pastures (Díaz et al. 2103), although positive effects would be somewhat weaker than in intensive agricultural landscapes devoid of natural vegetation (Batáry et al. 2011). Tscharntke et al. (2005) stated that, in simple landscapes under more intensive agriculture, the conservation of marginal habitats is more important than in complex landscapes. However, we found that even in extensive, seminatural agroecosystems, such as Iberian dehesas, the presence of different habitats, and more notably the presence of marginal habitats, also play an important role for landscape biodiversity.

In many regions, keystone structures are being seriously affected by changes in farming practices. Concentrating conservation efforts on these non-productive elements interspaced in intensively used fields could stabilize species diversity in these ecosystems at a high level while having a minimum impact on agricultural land use (Berger et al. 2003; Tews et al. 2004). Our results support this principle and the recent European Common Agricultural Policy of promoting Ecological Focus Areas that aims to devote 7 % of the land within each farm to nature conservation (EU Regulation 1311/2013). Some of these marginal, habitats, such as small woodlots for livestock sheltering and shrub patches, can play a positive role on the management and persistence of extensive silvopastoral systems due to its significance for tree regeneration (Ramírez and Díaz 2008; Pulido et al. 2010; Díaz et al. 2013).

Extensive low-input farming, biodiversity and food production

The ecosystem services provided by biodiversity in relation to human activity is a central issue in conservation science (Winfree and Kremen 2009; Petz and van Oudenhoven 2012).The flow of these services depends on the management of the agricultural ecosystem and on the species that provide more positive effects for crop production (e.g., soil fertility, pollination) and those that reduce negative ones (e.g., crops pest) (Zhang et al. 2007). Farm types and farm landscapes valuable for biodiversity are more likely among extensive low-input farming systems with the presence of non-productive or marginal habitats that mimic natural habitats, as it is the case of the Iberian dehesas here studied. However, as world food demand is expected to more than double by 2050, the low productivity of extensive farming systems is a major threat to their existence. The continuous loss of bees in many regions, presumably caused by land intensification and the use of agrochemicals, is a good example (Potts et al. 2010). Decisions about how to meet the challenge of world food demand will have profound effects on wild species and habitats. Two competing solutions have been proposed: wildlife-friendly farming or land-sharing, which boosts densities of wild populations on farmland but may decrease agricultural yields, and land-sparing, which minimizes demand for farmland by increasing yield (Green et al. 2005). While ecological intensification, sensu Doré et al. (2011), of extensive low-productive farming could become a need to increase food production while maintaining ecological services of farms, according to our results the maintenance of a land use mosaic and diverse interspaced non-productive keystone-structures would probably be still needed to ensure biodiversity conservation.

Conclusions

While pastoral landscapes have been mostly deforested over the centuries (Bergmeier et al. 2010) the conservation of trees in a pasture matrix is still common in some Mediterranean silvopastoral systems such as in Iberian dehesas. Trees provide multiple woody and non-woody plant products, high-quality food, livestock and game products, recreational or cultural services through multiple activities conducted with a comparatively low environmental impact (Moreno and Pulido 2009). Trees also provide important ecosystem services such as carbon sequestration, soil fertilization and control against erosion, microclimate amelioration, and shelter for livestock. Here we have shown that trees also contribute positively to the diversity of four taxonomic groups within an agricultural landscape (see also Díaz et al. 2013 for a revision).

Although high biodiversity values found in Iberian dehesas can be partly explained by the existence of a habitat dominated by scattered trees, the intimate mix of tree and treeless pastures has also a significant role. While at landscape scale the diversity of the four biological groups studied was higher in wood pastures and other woody habitats, at plot scale they were more abundant and/or biodiverse at open pastures. The low proportion of shared species among habitats and among plots within each habitat type, and the high proportion of species found in unique plots or habitats indicated that every habitat contributes to farm biodiversity. Marginal land uses and linear features, which occupy a low proportion of the farm area, harbored a good number of species that were not found in the main field of dehesas studied. These results support policy measures implemented in many European countries for the maintenance of farm keystone structures and reveal that these measures should not be applied exclusively in more intensive farming systems. Nevertheless, more studies are still needed to clarify how important keystone structures are for biodiversity under different farming intensities, from intensive monocultures to extensive silvopastoral systems. More studies are also needed to unveil how the spatial distribution of those keystone structures affects the biodiversity of main fields and that of the whole farm and landscape.