<!-- Deckblatt / Cover Page für Berichte -->
<div class="cover-page">
  <div class="cover-logo">
    {% if logo_base64 %}
    <img src="{{ logo_base64 }}" alt="Logo" class="cover-logo-img">
    {% endif %}
  </div>
  <div class="cover-title">
    <h1>{{ corporate_settings.stiftung_name }}</h1>
    <h2>{{ bericht_titel }}</h2>
    {% if bericht_untertitel %}
    <p class="cover-subtitle">{{ bericht_untertitel }}</p>
    {% endif %}
  </div>
  <div class="cover-meta">
    <p><strong>Berichtszeitraum:</strong> {{ berichtszeitraum }}</p>
    <p><strong>Erstellt am:</strong> {% now "d.m.Y" %}</p>
    {% if cover_freitext %}
    <p>{{ cover_freitext }}</p>
    {% endif %}
  </div>
  <div class="cover-footer">
    {% if corporate_settings.address_line1 %}
    <p>{{ corporate_settings.address_line1 }}</p>
    {% endif %}
    {% if corporate_settings.address_line2 %}
    <p>{{ corporate_settings.address_line2 }}</p>
    {% endif %}
    {% if corporate_settings.phone or corporate_settings.email %}
    <p>
      {% if corporate_settings.phone %}Tel.: {{ corporate_settings.phone }}{% endif %}
      {% if corporate_settings.phone and corporate_settings.email %} &middot; {% endif %}
      {% if corporate_settings.email %}{{ corporate_settings.email }}{% endif %}
    </p>
    {% endif %}
    <p class="cover-confidential">Vertraulich</p>
  </div>
</div>
<div style="page-break-after: always;"></div>
