<section class="location-section">
    <div class="location-content">
        {{ content | safe }}

        {% if address %}
            <p class="location-address">{{ address }}</p>
        {% endif %}
    </div>

    {% if address %}
        <div class="location-placeholder">
            <strong>Externe Karte</strong>
            <p>Die Karte wird aus Datenschutzgruenden nicht automatisch geladen.</p>
            <button
                class="external-load-button"
                type="button"
                data-map-address="{{ address | e }}"
                data-embed-class="location-map"
                data-embed-title="Karte"
                {% if external_content_enabled %}data-auto-load="true"{% endif %}
            >
                Karte laden
            </button>
        </div>
    {% endif %}
</section>
