Introduction

Wild bees are key pollinators within natural ecosystems and croplands (Kearns et al. 1998; Kratochwil 2003; Bommarco et al. 2012; Holzschuh et al. 2012). Because evidence is accumulating for ongoing wild bee decline (Biesmeijer et al. 2006; Potts et al. 2010; Bystriakova et al. 2018), widespread ecological and economic interest is being shown in preserving pollination services in agroecosystems (Chopra et al. 2015; Melathopoulos et al. 2015). The conservation of semi-natural habitats (Banaszak 1992; Albrecht et al. 2007) and the establishment of novel habitats such as flower strips (Scheper et al. 2013, 2015; Blaauw and Isaacs 2014) have been shown to be successful for the promotion of wild bee communities and consequently for their pollination services.

The abundance and richness of bee communities are predominantly driven by two factors: local habitat conditions and the quality of the surrounding landscape (Kennedy et al. 2013). The quality of local habitat conditions for bees depends upon the availability of distinctive floral resources (flower cover, plant species) and suitable nesting sites (Zurbuchen and Müller 2012). In agroecosystems, these conditions are strongly affected by periodic disturbance events, mostly by anthropogenic management measures such as mowing, fertilizing, grazing and pesticide use. Disturbances not only have direct effects on bees (Fluri and Frick 2002; Goulson 2013), but also alter plant communities, which in turn have strong effects on species richness and the abundance of bees (Gathmann et al. 1994; Steffan-Dewenter and Tscharntke 2001; Potts et al. 2003). The bee habitats of existing agricultural landscapes, such as field margins, woodland or flower plantings, strongly differ in their local habitat conditions. Consequently, it is important to account for local habitat conditions, especially when comparing among habitat types.

In addition to local habitat conditions, landscape composition plays an essential role in shaping local bee communities (Kennedy et al. 2013). Individual bee species need suitable food plants, nesting places and nest building resources, which are often not provided by a single biotope (Westrich 1989). Thus, bee communities strongly depend on structurally rich landscapes that offer a variety of resources (Bommarco et al. 2010). As a result, intensively managed agricultural landscapes, which offer a poor selection of floral resources, are dominated by relatively common, generalist bees (Wood et al. 2017; Ahrenfeldt et al. 2019; Grab et al. 2019).

Bees are highly mobile and are able to move between different habitats within achievable flight distances (Potts et al. 2005; Neumüller et al. 2018). If the landscape is diverse, wild bees can switch between complementary habitat types to avoid temporary declines of feeding sources (Mandelik et al. 2012; Tscharntke et al. 2012). Moreover, bee communities quickly recover from severe disturbance events if, a stable meta community is present in the surrounding area (Potts et al. 2005; Neumüller et al. 2018). Semi-natural habitats that host a high diversity of native flowering plants can act as an important buffer for disturbances and temporal fluctuations in floral resource availability (Mandelik et al. 2012; Tscharntke et al. 2012; Ogilvie and Forrest 2017). Accordingly, numerous studies have shown, that bee richness increases with a higher proportion of semi-natural habitats such as diverse grassland or hedges in a landscape (e.g. Le Féon et al. 2010; Kennedy et al. 2013; Hopfenmüller et al. 2014; Hass et al. 2018). However, commonly used term “semi-natural habitat” comprises a broad range of habitat types that can strongly differ with regard to local habitat conditions such as floral resource composition and availability.

For this large-scale study, we monitored wild bees in 20 regions across Germany and characterized the landscape context in the surroundings of the sampling plots. The sampling plots were established on three different habitat types: near-natural grassland, newly established flower plantings and residual habitats such as field margins and rarely used field paths. Subsequently, we examined how wild bee richness, abundance and composition in each of the three habitat types (near-natural grassland, flower plantings, residual habitats) was influenced by the composition of landcover types in the surrounding landscape. We also controlled for local habitat conditions by adding local floral availability into our models.

As manmade habitats, flower plantings may only provide suitable feeding resources to a subset of the regional bee community, depending on the floral resources available. Consequently, our first hypothesis was that bee communities on flower plantings would be more strongly moderated by local habitat characteristics than by the surrounding landscape structure.

Local habitat factors strongly affect the composition of wild bee communities (Westrich 2018). Hence, our second hypothesis was that bee communities on different habitat types may react differently to the surrounding landscape. Our third hypothesis was that landscape effects on wild bee communities may follow seasonal patterns, as resource availability in differing landscape elements shows complementary temporal distribution (Wray and Elle 2014; Mallinger et al. 2016).

Habitat edges can attract a distinct fauna that reflects different adjacent habitats, creating a zone of overlap that houses a greater overall species richness (Ewers and Didham 2006). But edge can also decrease faunal species richness and abundance if adjacent areas are subject to unfavourable human management (Kershner and Bollinger 1996; Fluri and Frick 2002; Battin 2004). Hence, our last hypothesis was that bees inhabiting habitat patches with a high edge-to surface ratio, such as field margins and paths (residual habitats) would be more affected by surrounding landscape composition and agricultural practices than communities in patches embedded in contiguous habitats such as near-natural grasslands.

To investigate these hypotheses, we analysed the response patterns for early, mid and late seasons of a year and tested whether the shape of a habitat type influenced the reaction of the inhabiting bee community to the surrounding landscape. This approach allowed us to demonstrate the effects of different sets of local and landscape factors on bee communities and to illustrate whether response patterns vary between local habitat types and seasons.

Material and methods

The present study is embedded in the BienABest project that aims to increase wild bee diversity and improve the ecosystem service of pollination in agricultural landscapes (www.bienabest.de). The project incorporates extensive wild bee monitoring on near-natural grassland, flower plantings and residual habitat elements, all of which have provided data concerning bee diversity and abundance for this study.

Study region

Data were collected on 180 plots within 20 landscapes composed of agricultural and semi-natural areas, distributed over seven federal states of Germany (Fig. 1). The selection of the areas was based mainly on the presence of near-natural grassland bodies embedded in an agricultural landscape matrix. The total extent of the study area was 708 km longitudinally and 507 km latitudinally, with altitude varying between 20 and 580 m above sea level.

Fig. 1
figure 1

Map of Germany showing the distribution of the 20 landscapes in which the study was performed. Each dot represents a landscape. Red areas represent a high topographical elevation; green areas represent a low topographical elevation (BKG 2013)

Data collection took place on three different habitat types: near-natural grassland, flower plantings and residual habitats. Sampling plots were established during the course of the BienABest project. Within each of the 20 landscapes, we established three 0.3-ha sampling plots per habitat type (for exemplary maps of research areas see Supplementary Material Fig. S1), resulting in a total of 180 sampling plots. The same 0.3-ha plots were sampled during each of the five sampling rounds. Near-natural grassland was characterized by a high diversity of native flowering plants and extensive management, either by being mowed once or twice a year or by being grazed by sheep, goats or donkeys. The quality and character of near-natural grassland plots were known from previous wild bee surveys by wild bee experts involved in this study. Flower plantings were established on tilled arable land, during either the autumn or spring prior to the field surveys, and were sown with seed mixtures consisting of between 25 and 36 species encompassing regionally native and naturalized plant species with a complementary phenology to provide floral resources throughout the season. With regard to plant selection, bee-plant interaction data recorded in the ‘Wildbienen Kataster Baden-Württemberg’ (https://www.wildbienen-kataster.de) was evaluated and the most attractive plant species for bees were included in our seed mixtures. In addition to the plants in the seed mixture, the spontaneous growth of non-sown wild herbs was observed for all flower plantings (see Supplementary Material Table S1 for a detailed list of recorded plant species). Near-natural grassland and residual habitats were irregularly mown or grazed. In contrast, flower plantings were not mown until the last field survey was performed. Residual habitats were chosen to represent potential bee habitat areas still present in agricultural areas such as field margins, rarely used field paths and small patches of ruderal areas. Because of their usually elongated shape, the mean edge to surface area ratio over all 60 residual habitat plots (0.222 ± 0.103) was more than double that of all 60 flower plantings (0.095 ± 0.029) and all 60 near-natural grassland plots (0.088 ± 0.023).

Bee surveys

Sampling of each plot was performed during five sampling events evenly distributed between April to September 2018, starting with the flowering of dandelion and continuing every 3 to 4 weeks depending on weather conditions. Sampling was performed in resource-dependent variable transect walks (Westphal et al. 2008; Schindler et al. 2013). Accordingly, collectors could freely move with respect to the distribution of relevant nesting and feeding resources for bees within the plots. On structure-rich plots, which covered a variety of habitat elements, small habitat patches were sampled for a maximum of 5 min. Sampling was performed by wild bee experts (see acknowledgements) to guarantee reliable species determination. To account for intra-day bee phenology, bees were collected during two subunits of 25 min, one before and one after 12:30, respectively, with a minimum of 120 min in between at each sampling event. All observed bee individuals were caught with an entomological net, except for those that could be determined at first sight and identified to species level in the field (following Colla and Packer 2008; Krauss et al. 2009; Kratschmer et al. 2018 and others). Sampling time was stopped if prolonged handling of the bees became necessary. Bee sampling was only conducted during sunny weather (cloud cover less than 30%), temperatures above 13 °C and low wind conditions. Any individuals that could not be identified to species level in the field were euthanized and subsequently identified by the wild bee taxonomist who had collected them.

Local plant availability

Before and during each bee survey, all flowering plant species encountered that might act as a potential feeding source for bees were recorded. Furthermore, total flower cover (of all species combined) was assessed on a scale of 1–4 for the entire plot, with 1 representing flower cover of less than 1 percent and with 4 representing flower cover of more than 40%. Voucher specimens of plants that could not be identified to species level on the spot were determined in the laboratory.

Landscape composition

The landscape composition was mapped in each of the 20 study areas. Habitat types were recorded in a 500-m radius around a centroid, which was calculated from the centroid positions of all of the nine sampling plots in each study area. This radius was chosen because landscape context has been shown to affect species richness and the abundance of bees at relatively small spatial scales within a radius of about 300 to 750 m (Steffan-Dewenter et al. 2002; Kohler et al. 2008; Zurbuchen and Müller 2012). Of the 180 sampling plots, 157 were situated inside the 500-m radius, whereas the remaining 23 plots were in close proximity (less than 350 m) to the mapped area. We did not evaluate landcover separately for each plot because high-resolution landscape mapping is extremely time-consuming. However, the position of plots within the respective radii did not bias our results (see Supplementary Material for details). Following Steffan-Dewenter et al. (2002), we defined seven individual habitat types that were used to classify mapped areas: settlement area (including sealed surfaces), arable land, intensively managed grassland (species-poor nutrient-rich grassland with high management intensity), extensively managed grassland (regularly managed grassland reflecting naturally given habitat conditions, e.g. calcareous grassland and extensively managed nutrient-rich grassland), ruderal areas (minimally managed but open areas that were not used for agricultural production, with a dominance of perennial tall forbs), woodland edges (1.5-m deep boundary around hedges and woodland area) and field margins (0.5-m boundary around agricultural land) (see Supplementary Material Table S5 for minimum, maximum and mean cover of all landscape variables). The two last mentioned categories were calculated by multiplying the edge length of woodland and agricultural land with the respective boundary width. The habitat type ruderal areas was the only one that consisted of multiple small patches distributed in the landscapes. Waterbodies were excluded from our analyses, as they were believed to have neither positive nor negative effects on the bees covered by our field surveys (Westrich 1989). We included woodland edges but not forest area in our models as forest edge has been predicted to have a stronger effect on bee communities than core areas of boreal forest (Mandelik et al. 2012; Rubene et al. 2015; Roberts et al. 2017; Wu et al. 2019) and this habitat type was less prone to collinearity with other landscape variables. The digitization of survey data and the geographical calculation of field and woodland edge length were performed with the QGIS 2.18.28 (Quantum GIS Development Team 2014) software based on a combination of orthographical images provided by the state of Baden-Wuerttemberg and Google satellite basemaps (accessed 10 February 2018). Boundaries of single habitat patches were defined by QGIS and adjusted during the field surveys.

Statistical analysis

Individual-based species accumulation curves were created to compare species richness and abundance between near-natural grassland, flower plantings and residual habitat elements. Thus, bee data were aggregated within each habitat type and accumulation curves were calculated by using the package iNEXT (Hsieh et al. 2016). This approach was applied as it has been shown not only to compare sheer species number, but also to incorporate compositional heterogeneity between sites (Crist and Veech 2006; Neumüller et al. 2018). Statistical significance between accumulation curves was determined after MacGregor-Fors and Payton (2013). In order to explore species turnover between and within study plots, composition data were standardized by calculating the proportion that each bee species contributed to the total number of sampled bee individuals on a sampling plot. To explore compositional heterogeneity between sites, we used the vegdist function (Oksanen 2007) to calculate the Bray–Curtis dissimilarity between individual sampling plots and the betadisper function (Oksanen 2007) to calculate the dispersion of each group. Subsequently the permutetest function (Oksanen 2007) with 10,000 permutations was used to compare dispersions between the three groups. To compare species composition between habitat types directly, we performed a pairwise permutational multivariate analysis of variance (PERMANOVA) using the pairwise.adonis function (Arbizu 2020). To explore species that contribute to the compositional dissimilarity between the three habitat categories, we additionally performed a pairwise simper analysis (Oksanen 2007).

To evaluate the response of bee communities in the various habitat types to landscape composition and local floral availability on the sampling plots, data were split up into three seasons: early (including sampling events one and two), mid (including sampling event three) and late (including sampling events four and five) season. We calculated two individual models for each of the three seasons, by using either bee species richness or bee abundance as the dependent variable. Species and individual numbers of the five sampling events were totalled within each of the 180 sites. We log-transformed numbers of individuals and square root-transformed species counts to normalize count data. Data from the vegetation surveys were pooled by taking the mean richness and cover of flowering plants per site. Hence, mid-points of flower-cover categories were averaged per site (for detailed methodology see Supplementary Material). All predictor variables were z-transformed by using the function scale implemented in the R base package. To test for a spatial dependence of our bee data derived from the distribution of our sampling regions, we followed Zuur et al. (2017) and fitted experimental variograms on the bee data as implemented in the package geoR (Ribeiro Jr and Diggle 2018). The variograms indicated spatial dependences, as was later confirmed by a reduction of AICc values in the regression models when a spatial correlation structure was added. Given the detected spatial dependency and the need for post-hoc slope comparisons, we extracted the centroid-coordinates of each sampling site and included them as a spatial correlation structure into multiple linear regression models by using generalized least squares (GLS) as implemented in the package nlme (Bates and Pinheiro 1998). By adding the spatial correlation structure to the models, we accounted for spatially dependent climatic differences between the 20 research regions (Zuur et al. 2010). To avoid collinearity, we calculated variance inflation factors (vif) as implemented in the package car (Fox and Weisberg 2011) and stepwise excluded the most collinear variables until no variable had a vif-value over 3 (Zuur et al. 2007, 2010). This threshold was reached after exclusion of the factors arable land and settlement area. Because of the strong negative correlation (Pearson correlation coefficients ≤ − 0.60) of arable land with near-natural grassland and settlement area with woodland edges (see Supplementary Material Fig. S2), the two landscape variables were nonetheless represented in our model.

After the basic model structure was determined, we employed full models containing mean flower cover and mean flower richness to represent local habitat conditions and the remaining five landscape variables as independent variables, while setting transformed numbers of bee species or individuals as the response variable. Furthermore, to test whether the three habitat types of near-natural grassland, flower plantings and residual habitat elements reacted differently to the local flower availability and landscape composition, we set all independent variables in an interaction with habitat type. Using the function emtrends implemented in the package emmeans (Lenth et al. 2019), we calculated coefficient estimates for each habitat type from the full models (for detailed methodology see https://cran.r-project.org/web/packages/emmeans/vignettes/interactions.html). As confidence intervals should not be used to perform slope comparisons (Lenth 2016), we performed a post-hoc test for a pairwise comparison of the estimate slopes of the three habitat types as implemented in the package emmeans (Lenth et al. 2019).

To evaluate whether effects for the individual habitats were also detected when bee data of the three habitat types were totalled, we created three global models for bee richness and abundance containing the totalled data of all three habitat types for each of the three seasons. Here, we applied the same fitting process as described for the previous models, except that the interaction with habitat type was omitted. To ensure a sufficient fit of our models, diagnostic residual plots were inspected for each of the regression models. In all models transformed data met the assumptions of the model. To test whether landscape complexity showed a continuous gradient over Germany, we inspected a contour plot that illustrated the way that landscape diversity is driven by the spatial position of the landscapes. No such spatial trend was detected.

Estimated values for species richness and abundance showed strikingly congruent patterns. Furthermore, slope differences detected for abundance were an exact subset of the slope differences detected for species richness. Therefore, we decided only to present regression results for the models including bee species richness (regression results for bee abundance are given in the Supplementary Material Fig. S3).

To investigate the influence of landscape composition on species turnover within the three habitat types, we calculated a PERMANOVA by using the function Adonis implemented in the vegan package (Oksanen 2007). Subsequently, we tested the standardized data matrix against the five landscape variables in an interaction with habitat type as independent variables. For this analysis, we also standardized composition data by calculating the proportion that each bee species contributed to the total number of sampled bee individuals on a sampling plot.

To test whether the shape of a habitat patch influenced the reaction of the inhabiting bee community to the surrounding landscape, we calculated the edge to surface area ratio of all residual habitat plots. Subsequently, we created a GLS models following the same modelling approach as for the previous models with species richness as the dependent variable, except that we set an interaction between all landscape variables and the edge to surface area ratio.

Results

Across all 180 sites, we recorded a total of 27,650 wild bees belonging to 324 species, representing about 57% of all known German bee species (Westrich 2018).

Bee species richness was similar between near-natural grasslands and residual habitats (strongly overlapping confidence intervals of species accumulation curves, Fig. 2). In contrast, the species accumulation curve of flower plantings indicated that species richness over all sites was significantly lower than on the other two habitat types. On flower plantings, we recorded 11,638 bees, followed by 10,663 bees on near-natural grassland and 6874 bees on residual habitat elements (Fig. 2). Compositional heterogeneity between sampling plots was highest in residual habitats, exceeding that in near-natural grassland and flower plantings (Fig. 3). Furthermore, near-natural grassland showed a higher compositional heterogeneity than flower plantings. Similar to the results concerning compositional heterogeneity, species composition differed between all three habitat types. Although explained variation was generally low (< 7%), differences between flower plantings and near-natural grassland and between flower plantings and residual habitats were about double that of near-natural grassland and residual habitats (Table 1). The simper analysis revealed, that compositional differences between habitat types were predominately caused by common generalist species such as Bombus lapidarius, Andrena flavipes and Laioglossum malachurum, that occurred on all three habitat types but fluctuated in abundance (for further information see Supplementary Material).

Fig. 2
figure 2

Individual-based randomized species accumulation curves comparing wild bee richness between the three habitat types. The shaded areas represent 95% confidence intervals

Fig. 3
figure 3

Comparison of compositional heterogeneity in the three habitat types. Boxes represent the median and 25th/75th percentile of the distances to the group centroid derived from betadisper. Whiskers extend to 1.5 times the interquartile range. Bars with asterisks indicate significant differences in compositional heterogeneity: *p < 0.05. **p < 0.01. ***p < 0.001

Table 1 Pairwise PERMANOVA comparing species composition between the three habitat types

In the local vegetation surveys, we recorded 449 different flowering plant species that were a potential feeding source for bees. The mean richness of flowering plants was highest on near-natural grassland (x̄ = 30.7, SD = 9.3 species) and was similar for flower plantings (x̄ = 25.1, SD = 5.4) and residual habitats (x̄ = 25.3, SD = 8.1).

Effects of local habitat conditions

The number of flowering plant species had an overall significant positive effect on bee species richness in the global models (containing data of all three habitat types) over all three sampling seasons (Fig. 4a–c). Comparisons between habitat types revealed that, in the late season, bee species richness in flower plantings was more strongly driven by flowering plant species richness than on near-natural grassland and residual habitat patches. Additionally, bee species richness increased with mean local flower cover over all the three seasons and no slope differences between the habitat types were detected. The shape of the residual habitat plots did not affect the way that the inhabiting bee community reacted to the surrounding landscape (Table 2).

Fig. 4
figure 4

Effects of local and landscape factors on wild bee species richness. Estimated slopes are predicted from the GLS regression models with a spatial dependency structure. Dots and bars show standardized effect sizes with 95% confidence intervals of the two local (flower species richness and cover) and five landscape parameters on wild bee richness during the early (a), mid (b) and late (c) seasons. Global models show effect sizes for a model combining data of all three habitat types, without consideration of habitat type in the modelling structure. Effects where confidence intervals do not overlap zero are marked with an asterisk to indicate significance. Bars beneath a pair of effects indicate significantly different (p < 0.05) effect sizes between two habitat types in the models that include habitat as an interaction term. All models with regard to single habitat types have 150 degrees of freedoms; all global models have 172 degrees of freedoms. The complete model output is given in the Supplementary Material (Table S3 & Table S4)

Table 2 Results of the GLS regression model that tested whether the edge to surface area ratio of a residual habitat plot influenced how the inhabiting bee community reacts to the surrounding landscape

Effects of landscape composition

The model results discussed in this paragraph are summarized in Fig. 4. The proportional cover of the surrounding ruderal areas positively affected bee species richness in the early and mid-season global models. Ruderal areas showed overall positive effect sizes in near-natural grassland, whereas flower plantings in the early season and residual areas in the late season showed estimates that were close to zero and that differed significantly from the positive effect sizes in near-natural grassland. The cover of extensively managed grassland also enhanced species richness in the early- and mid-season global models. In residual habitats, the positive effect of extensively managed grassland was significantly more pronounced than that of near-natural grassland (early- and late season) and flower plantings (late season). Additionally, in flower plantings the positive effect of surrounding extensively managed grassland was more strongly pronounced than in near-natural grassland during the early season. In the global models, the cover of woodland edges positively contributed to bee species richness only during the late season. Near-natural grassland was particularly unaffected by woodland edges in the surrounding landscape and showed significantly lower estimates than flower plantings (early season) and residual habitats (late season). The extent of field margins did not yield a significant response in any of the global models but produced significantly different effect sizes between habitat types. In the early season, residual habitats showed a significantly more negative response to field margins than near-natural grassland and flower plantings. In contrast, flower plantings showed significant and more positive response to field margins during the mid-season. The cover of intensively managed grassland showed a consistent negative effect on bee species richness over all seasons and habitat types. This negative effect was also apparent in the global models, although, in the late season, confidence intervals were inflated, leading to a similar but not significant estimate.

All landscape variables showed a highly significant effect on species composition (Table 3). Nevertheless, each landscape variable explained only a small proportion (< 6%) of the total variance in the dataset. Intensively managed grassland and ruderal areas showed a significant interaction with habitat type but the explained variation for each interaction was small (< 1.5%).

Table 3 Nonparametric PERMANOVA testing how landscape composition drives species turnover

Discussion

The composition of the surrounding agricultural landscape and the local flower availability moderated wild bee communities in near-natural grassland, newly established flower plantings and residual habitats (potential bee habitats still present in agricultural areas). Intensively managed grasslands often had a negative effect, whereas extensively managed areas such as woodland edges and ruderal areas showed a positive impact on species richness. However, the influence of the landscape elements on the different habitat types often varied and was most pronounced during the early and late sampling season. Bee richness in near-natural grassland showed a particularly positive response to ruderal areas. In flower plantings and residual habitats such as field margins bee richness showed a pronounced positive response to extensively managed grassland and woodland edges. In addition to the landscape, local floral resources played an important role in all three habitat types. Although community composition was primarily driven by other factors, landscape composition also played a role in shaping the studied bee communities.

Effects of local habitat conditions on bee richness

In accordance with numerous other studies (Steffan-Dewenter and Tscharntke 2001; Holzschuh et al. 2007), in our investigation the richness of flowering plant species within habitat types had a highly significant effect on bee species richness over all three habitat types in the early, mid and late sampling season. As hypothesized, the numbers of bee species were particularly strongly influenced by floral species richness in flower plantings. The flower plantings were recently established and a limited number of mainly annual plant species bloomed during the first year, when our study was performed. In particular, one plant species, Anthemis tinctoria, dominated most of the flower plantings later in the year, which certainly led to the particularly strong response of bee species richness to flowering plant species richness during the late season.

Local habitat conditions also influenced residual habitats that hosted a large number of bee species indicated by the calculated species accumulation curves. Residual habitats represented a openly defined habitat category, and some of them consisted of areas with ruderal vegetation while others were managed field margins. Differing disturbance (management) regimes result in distinct communities and therefore enhance beta diversity (Hawkins et al. 2015; Neumüller et al. 2018). Hence, the varying management regime in residual habitats certainly enhanced compositional heterogeneity and thereby increased the total number of bee species observed over all residual habitat plots.

In addition to flower richness, mean flower cover had a positive effect on wild bee species richness and abundance over all three habitat types in the early, mid- and late-sampling season. Sites with high flower cover are able to attract more bee species and individuals from the surrounding metacommunity (Westphal et al. 2003; Kratschmer et al. 2019). Taken together, our findings are in accordance with previously existing data and support the evidence that wild bee communities strongly depend on local floral resources. Hence, we advise the incorporation of flower cover and richness when modelling wild bee data. Furthermore, the phenology of individual plant species is crucial for ensuring constantly high flower cover in flower plantings throughout the season.

Although species composition differed between the three habitat categories, the proportion of explained variation in the whole dataset was rather low. Furthermore, differences were mostly driven by dissimilarities in abundances of common species. Beside the described differences, compositional effects were mainly explained by the region in which wild bee data was acquired. Wild bees built local communities with low alpha-diversity but show a high species turnover over a wide spatial extent (Rubene et al. 2015). In our large-scale study, this turnover was probably driven by different climatic conditions in our research areas. A study design in which sample plots are less spatially dispersed would certainly facilitate composition caparisons between habitat categories.

Effects of landscape composition on wild bee richness

Extensively managed grassland

In general, extensively managed grassland is of high quality for wild bees (Meyer et al. 2017) and has positive spill-over effect on bee communities in the surrounding landscape (Albrecht et al. 2007). However, the proportion of extensive grassland in our research areas did not affect bee richness on the surveyed near-natural grassland plots. These plots were embedded into large meadows, possibly making them relatively independent of management events in the surroundings. In contrast, a positive effect of extensive grassland was significantly more pronounced on residual habitats and flower plantings than on the near-natural grassland plots. In flower plantings, a positive effect of extensively managed grassland was only present during the early-season. This indicates that extensively managed grassland acts as an important source area for newly established flower plantings in the beginning of the season, but that the later importance of this landscape variable diminishes.

Arable land

The positive effect of extensive grassland can also be ascribed to the associated reduction of intensive arable farming (Kremen et al. 2002), as we have found that the proportion of extensively managed grassland is negatively correlated with those of arable land in the studied surroundings. In this context, an increased cover of tilled agricultural land has been shown to reduce bee richness and abundance by reducing floral resources on a landscape scale (Le Féon et al. 2010; Ahrenfeldt et al. 2019). Furthermore, pesticide seed-coating and spray drift on arable land can contaminate nearby non-target areas (Pimentel 1995; Brittain et al. 2010; Botías et al. 2016).

Ruderal areas

During field inspections and the mapping of the landscapes, we were able to record small patches of landscape elements, such as ruderal areas, that are spread within and between landscape elements. These patches had a significantly positive effect on species richness particularly in near-natural grassland but also in residual habitats. Ruderal areas in an advanced state of succession provide high flower densities of diverse herbs and thereby promote a different set of bee species compared with those of regularly-managed habitat types (Gathmann et al. 1994; Steffan-Dewenter and Tscharntke 2001). In addition to food sources, perennial plants represent vital nesting resources for many cavity nesting bees (Westrich 2018). Persistent and extensively managed sites are also beneficial for ground-nesting bees, as nesting sites can exist for many years. As a result, irregularly managed ruderal habitat patches might act as refuge habitats when extensive mowing or grazing leads to a decline of feeding and nesting sources on managed grassland (Mandelik et al. 2012). High-quality ruderal habitat patches might also represent stepping stones enabling bees to disperse through an otherwise unsuitable or even hostile landscape matrix (Kimura and Weiss 1964). Therefore, ruderal areas seem to be high-quality habitats that probably act as source habitat for the species pool of a landscape (Pulliam 1988). The promotion of patches with ruderal vegetation is therefore a promising approach for supporting bee communities in near-natural grasslands.

Woodland edges

In our study, woodland edges positively affected bee species richness on flower plantings during the early and late seasons, whereas residual habitats were positively affected during the late season only. In contrast, no clear trend was observed for near-natural grassland. As the flower plantings had been newly established on arable land, which had probably not been colonized before by many bee species, this habitat type strongly depended on source areas with a high bee diversity. Woody plants provide abundant feeding resources, at least for generalist bees (Mallinger et al. 2016; Hausmann et al. 2016). Furthermore, they provide resources for cavity nesting bees and nesting materials for those species that require plant parts to build their nests (Westrich 2018). On the other hand, woody landscape elements have been shown to function as barriers that obstruct the movement and dispersal of wild bees (Klaus et al. 2015) and can therefore negatively influence wild bee populations. This factor may have played a role in our study, as some of our research areas were interspersed with large woodland bodies or even encircled by forest. Protected meadow bodies are particularly affected by isolation (Piessens et al. 2005). Consequently, the positive effect of woodland edges on the habitat type near-natural grassland might have been mitigated by isolation effects.

Field margins

Field margins can have the opposite effect of woodland barriers, as they may act as corridors that can enhance species mobility in a landscape (Jauker et al. 2009). Nevertheless, field margins are often intensively managed and highly degraded. In accordance with the contrasting properties, the landscape variable field margins showed significant discrepancies in the effect sizes between habitat types, and global models did not detect any clear trend. Composition analysis revealed that field margins had the strongest effect on species composition. This suggests that field margins alter species composition either directly by spill-over to the surrounding landscape or indirectly by enhancing species mobility in a landscape. In this context it was shown, that corridors increase connectivity in fragmented agricultural landscapes (Steffan-Dewenter et al. 2002).

Intensively managed grassland.

Although not always statistically significant, intensively managed grassland showed a consistent negative effect at sites in all habitat types, and all three global models showed similar negative estimates. Intense grassland is characterized by frequent management activities and the associated decline of flowers which prevent mass occurrences of bees (Meyer et al. 2017). Moreover, bees can be crushed by cutting machines during mowing events (Fluri and Frick 2002; Humbert et al. 2010). These factors might have also reduced the bee abundance at the landscape level in our study. Intense management practices can also reduce wild bee diversity (Albrecht et al. 2007; Wastian et al. 2016) by excluding bees that are not adapted to frequent disturbances and the related vegetation (Steffan-Dewenter and Tscharntke 2001). In agreement with this idea, intensively managed grassland had the second highest influence on species composition. Different disturbance regimes result in distinct plant communities that in turn shape wild bee communities (Hawkins et al. 2015; Neumüller et al. 2018). In this context it has been shown, that intensively managed agricultural landscapes are dominated by generalist ground-nesting bee species (Ahrenfeldt et al. 2019). In concordance with this assumption, generalist ground-nesting species such as certain species of bumblebees, halictid bees and andrenid bees substantially contributed to the compositional dissimilarity between the three habitat types. Taken together with the positive effect that extensively managed grassland has on bee richness, a reduction of management intensity on grassland certainly will have a consistently positive effect on wild bee communities over a variety of habitat types.

Seasonal patterns of landscape effects

As hypothesized, some of the described landscape effects on wild bees followed seasonal patterns. Woodland edges positively affected bee species richness in the early- and late-season. In a recent study it was shown that blooming woody plants provide abundant feeding resources in spring (Mallinger et al. 2016). As a result, the abundance of early flying bees is positively correlated to the percentage of tree cover in a landscape (Banaszak-Cibicka and Żmihorski 2012). Above that, we found that woodland edges positively influenced bees also in the late-season. Compared with open sites, woodland edges provide a more stable climatic environment throughout the year, with lower temperature maxima in the summer (Morecroft et al. 1998). As a result, woodland edges may buffer unfavourable temperature peaks (Kühsel and Blüthgen 2015) during the heat of the late-season that can negatively influence daily activity patterns of bees and also food availability (Phillips et al. 2018).

Extensively managed grassland positively affected wild bee richness in the early- and mid-season, while there was no clear effect in the late-season. High temperatures and low precipitation during the late season probably reduced floral resources in the surrounding extensively managed grassland (Phillips et al. 2018) whereby the positive effect on wild bees became lost. Furthermore, extensively managed grassland was predominately managed during the late-season what additionally reduced floral resources during this time of the year.

Effect of habitat shape

Wild bee communities in near-natural grassland were only affected by two landscape elements, ruderal areas and intensively managed grassland. Otherwise, the response of near-natural grassland to the landscape elements was mostly neutral. In contrast, residual habitats and flower plantings showed a more profound response to a greater variety of landscape variables. Even though the edge to surface ratio did not explain the reaction of the residual habitats to landscape composition as hypothesized, flower plantings and residual habitats stood in a stronger relationship with the surrounding landscape than near-natural grassland plots. Near-natural grassland plots were mostly situated on the edge of a greater grassland body but the connection to the adjacent landscape was obviously diminished by the large proportion of near-natural grassland surrounding them. In this context, a relatively short distance of homogenous habitat has been shown to efficiently isolate bee communities from the surrounding landscape (Bailey et al. 2014). Although the sampled patches in this study were probably too small to detect a considerable effect of the edge to surface ratio, we concur that a large extent of homogenous habitat will isolate an embedded habitat patch from the surrounding landscape. This effect can potentially be beneficial when the neighbouring landscape matrix is hostile, but may also decelerate favourable spillover effects from the surrounding landscape matrix.

Conclusion

Bee communities in the three habitat types that we investigated responded positively to local flower availability. Above that, we showed that landscape features differently impact bee communities of different habitat types. Furthermore, landscape effects were particularly pronounced during early and late season. Consequently, effects of landscape variables on bee communities might be underestimated when not controlling for local habitat conditions and seasonality. We have found no evidence that the edge to surface area ratio of a habitat patch influences the response of wild bee communities to the landscape composition, although this result should be verified with a specified study design. For wild bee conservation, a reduction of the intensity of grassland management will be a promising approach to improve bee diversity in a broad range of habitat types. In addition, the promotion of ruderal areas or woodland edges represents an opportunity to support wild bee communities in specific habitat categories.