refactor: Anlagen-Zahl + Max.-Höhe komplett aus UI entfernt
Deploy / verify (push) Successful in 1m5s
Deploy / deploy (push) Successful in 1m17s

Beide Felder waren nicht belastbar (Schätzungen bzw. nicht final
festgelegt). Entfernt aus:
- Windkarte-Hover-Tooltip
- WindAreaPanel (Kenndaten + Export-Info)
- StellingnahmeGenerator-Steckbrief + Disclaimer-Footnote

Übrig: Fläche, Investor, Status. Genaue Anlagenzahl wird erst im
Genehmigungsverfahren bestimmt — keine vorausgreifende Vermittlung.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Peter Meier
2026-06-09 08:39:35 +02:00
parent f90116a923
commit 4f0ec5ce21
3 changed files with 0 additions and 59 deletions
-26
View File
@@ -80,8 +80,6 @@
? [
`${area.gebiets_nr}${area.bezeichnung ? ` ${area.bezeichnung}` : ''}`,
area.flaeche_ha != null ? `${t(T.windkarte_label_flaeche)}: ${area.flaeche_ha.toFixed(1)} ha` : null,
area.anlagen_geplant != null ? `${t(T.windkarte_label_anlagen_geplant)}: ${area.anlagen_geplant}` : null,
area.hoehe_max_m != null ? `${t(T.windkarte_label_hoehe_max)}: ${area.hoehe_max_m} m` : null,
]
.filter(Boolean)
.join('\n')
@@ -125,37 +123,13 @@
<span class="font-semibold text-stein-800">{area.flaeche_ha.toFixed(1)} ha</span>
</div>
{/if}
{#if area.hoehe_max_m != null}
<div class="flex items-center justify-between px-3 py-1.5">
<span class="text-xs text-stein-500">{t(T.windkarte_label_hoehe_max)}</span>
<span class="font-semibold text-stein-800">{area.hoehe_max_m} m</span>
</div>
{/if}
{#if area.investor}
<div class="flex items-center justify-between px-3 py-1.5">
<span class="text-xs text-stein-500">{t(T.windkarte_label_investor)}</span>
<span class="font-semibold text-stein-800">{area.investor}</span>
</div>
{/if}
{#if area.anlagen_geplant != null}
<div
class="flex items-center justify-between px-3 py-1.5 opacity-60"
title="Obergrenzen-Schätzung (etwa 2 bis 3 Anlagen je 100 ha, 270-Meter-Klasse). Keine amtliche Festlegung — tatsächliche Anlagenzahl wird erst im Genehmigungsverfahren bestimmt."
>
<span class="flex items-center gap-1 text-xs italic text-stein-400">
{t(T.windkarte_label_anlagen_geplant)}
<Icon icon="mdi:information-outline" class="size-3 text-stein-400" />
</span>
<span class="font-medium text-stein-500">~{area.anlagen_geplant}<span class="ml-0.5 text-xs">*</span></span>
</div>
{/if}
</div>
{#if area.anlagen_geplant != null}
<p class="-mt-2 px-1 text-[10px] leading-snug text-stein-400">
<span class="font-semibold">* Anlagenzahl:</span>
Obergrenzen-Schätzung (etwa 2 bis 3 Anlagen je 100 ha, 270-Meter-Klasse). Keine amtliche Festlegung.
</p>
{/if}
<!-- Gemeinden -->
{#if area.gemeinden && area.gemeinden.length > 0}
-1
View File
@@ -290,7 +290,6 @@
: nrLabel;
const lines: string[] = [];
if (area.flaeche_ha != null) lines.push(`${t(T.windkarte_label_flaeche)}: ${area.flaeche_ha.toFixed(1)} ha`);
if (area.hoehe_max_m != null) lines.push(`${t(T.windkarte_label_hoehe_max)}: ${area.hoehe_max_m} m`);
if (area.gemeinden && area.gemeinden.length > 0) {
lines.push(`${t(T.windkarte_label_gemeinden)}: ${area.gemeinden.join(', ')}`);
}
@@ -826,28 +826,6 @@ ${outputText}
<dd class="mt-1 text-stein-600">{windArea.flaeche_ha.toLocaleString("de-DE")} ha</dd>
</div>
{/if}
{#if windArea.anlagen_geplant}
<div class="rounded-lg border border-wald-200 bg-white/70 p-3 shadow-sm">
<Icon icon="mdi:wind-turbine" class="mb-1 size-5 text-wald-600" aria-hidden="true" />
<dt class="flex items-center gap-1 whitespace-nowrap text-sm font-semibold text-wald-800 sm:text-base">
Anlagen geplant
<span
class="cursor-help text-stein-400 hover:text-stein-600"
title="Obergrenzen-Schätzung (etwa 2 bis 3 Anlagen je 100 ha, 270-Meter-Klasse). Keine amtliche Festlegung, tatsächliche Anlagenzahl wird erst im Genehmigungsverfahren bestimmt."
>
<Icon icon="mdi:information-outline" class="size-3.5" />
</span>
</dt>
<dd class="mt-1 text-stein-600">~{windArea.anlagen_geplant}<span class="ml-0.5 text-xs text-stein-400">*</span></dd>
</div>
{/if}
{#if windArea.hoehe_max_m}
<div class="rounded-lg border border-wald-200 bg-white/70 p-3 shadow-sm">
<Icon icon="mdi:arrow-expand-vertical" class="mb-1 size-5 text-wald-600" aria-hidden="true" />
<dt class="whitespace-nowrap text-sm font-semibold text-wald-800 sm:text-base">Max. Höhe</dt>
<dd class="mt-1 text-stein-600">{windArea.hoehe_max_m} m</dd>
</div>
{/if}
{#if windArea.investor}
<div class="rounded-lg border border-wald-200 bg-white/70 p-3 shadow-sm">
<Icon icon="mdi:domain" class="mb-1 size-5 text-wald-600" aria-hidden="true" />
@@ -863,16 +841,6 @@ ${outputText}
</div>
{/if}
</dl>
{#if windArea.anlagen_geplant}
<p class="mt-3 text-[11px] leading-snug text-stein-500">
<span class="font-semibold">* Hinweis zur Anlagenzahl:</span>
Obergrenzen-Schätzung (etwa 2 bis 3 Anlagen je 100 ha,
270-Meter-Klasse). Keine amtliche Festlegung. Aus dem
Prüfbogen ZU-14 stammen nur Flächengröße und Windhöffigkeit.
Die tatsächliche Anlagenzahl wird erst im Genehmigungsverfahren
bestimmt.
</p>
{/if}
{#if windArea.notizen}
<details class="mt-4 border-t border-wald-200 pt-3" open>
<summary class="flex cursor-pointer items-center gap-1 text-sm font-medium text-wald-700 list-none">