{#if block.title || block.subtitle}
{#if block.title}
{block.title}
{/if} {#if block.subtitle}
{block.subtitle}
{/if}
{/if}
{#if resetMap}
{ resetMap?.(); handleSelect(null); }} class="pointer-events-auto absolute top-2.5 right-2.5 z-[500] rounded-md bg-white/90 p-1.5 shadow-md text-stein-500 hover:text-stein-800 hover:bg-white transition-colors" aria-label={t(T.windkarte_reset_aria)} title={t(T.windkarte_reset_aria)} >
{/if} {#if browser && MapComponent && mapReady} {#await MapComponent then Map}
{ resetMap = ctrl.reset; }} /> {/await} {:else}
{t(T.windkarte_loading)}
{/if}
handleSelect(null)} />
{t(T.windkarte_legend_rechtskraeftig)}
{t(T.windkarte_legend_entwurf_2)}
{t(T.windkarte_legend_entwurf_2_voraussichtlich)}
{t(T.windkarte_legend_distances)}
{#each [{ color: "#e35651", label: "200 m" }, { color: "#b08a52", label: "600 m" }, { color: "#436e85", label: "1 km" }] as ring}
{ring.label}
{/each}