Sfoglia il codice sorgente

Verbessere das Styling und die Struktur der Detailansichten

- Anpassung von Schriftarten,
- Hinzufügen von Icons zu Abschnittsüberschriften
- Optimierung der Tabellenansicht für Buchungsbelege und Dateien.
gc-server3 2 settimane fa
parent
commit
e0eed56703

+ 64 - 25
static/assets/css/details.css

@@ -9,6 +9,12 @@
   --gc-brand-ink: #182630;
   --gc-brand-mark: #b30808;
 }
+body {
+  --cui-body-font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
+  --cui-heading-font-family: var(--cui-body-font-family);
+  font-family: var(--cui-body-font-family);
+}
+.gc-app-header { font-family: var(--cui-body-font-family); font-size: 1rem; }
 .gc-app-header.header {
   position: sticky;
   top: 0;
@@ -40,6 +46,7 @@
   --text-light: #52616f;
   --border: #dce2e7;
   --cui-primary: #72889b;
+  font-size: .9375rem;
   width: 100%;
   padding: 0 0 2rem;
   gap: 1.25rem;
@@ -62,13 +69,13 @@ body:has(.gc-detail-page) { max-width: 1840px; }
   border-bottom: 1px solid var(--gc-brand-border);
 }
 .gc-context-heading { flex: 1 1 24rem; }
-.gc-context-heading h1 { margin: .25rem 0; font-size: clamp(1.05rem, 1.5vw, 1.5rem); line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
-.gc-context-heading p { margin: 0; font-size: .875rem; }
+.gc-context-heading h1 { margin: .25rem 0; font-size: clamp(1.2rem, 1.5vw, 1.625rem); line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
+.gc-context-heading p { margin: 0; font-size: .9375rem; }
 .gc-context-heading p span { color: #52616f; }
-.gc-detail-page .gc-back-link { padding: 0; font-size: .8rem; color: #3c5263; text-decoration: none; }
+.gc-detail-page .gc-back-link { padding: 0; font-size: .875rem; color: #3c5263; text-decoration: none; }
 .gc-context-metrics { display: flex; gap: .65rem; flex-wrap: wrap; }
 .gc-metric { display: flex; flex-direction: column; gap: .15rem; padding: .6rem .85rem; border-radius: 8px; }
-.gc-metric span { font-size: .75rem; }
+.gc-metric span { font-size: .875rem; }
 .gc-metric strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
 .gc-metric-balance { background: #c7dee7; }
 .gc-metric-level { background: #ffe97e; }
@@ -76,23 +83,23 @@ body:has(.gc-detail-page) { max-width: 1840px; }
 .gc-case-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 1.25rem; align-items: start; padding: 0 1.25rem; }
 .gc-case-data, .gc-case-conversation, .gc-case-actions { display: flex; flex-direction: column; gap: 1rem; }
 .gc-detail-card, .gc-detail-page .chat-container { background: #fff; border: 1px solid #dce2e7; border-radius: 10px; box-shadow: 0 2px 6px #18263004; }
-.gc-section-title { margin: 0; padding: .8rem 1rem; background: var(--gc-brand-section); border-radius: 9px 9px 0 0; font-size: .9rem; font-weight: 700; line-height: 1.5; }
+.gc-section-title { margin: 0; padding: .8rem 1rem; background: var(--gc-brand-section); border-radius: 9px 9px 0 0; font-size: 1rem; font-weight: 700; line-height: 1.5; }
 .gc-data-fields { margin: 0; padding: .4rem 1rem; }
-.gc-data-field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: .65rem; padding: .5rem 0; border-bottom: 1px solid #edf0f2; font-size: .825rem; line-height: 1.5; }
+.gc-data-field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: .65rem; padding: .5rem 0; border-bottom: 1px solid #edf0f2; font-size: .9375rem; line-height: 1.5; }
 .gc-data-field:last-child { border-bottom: 0; }
 .gc-data-field dt { color: #52616f; font-weight: 500; overflow-wrap: anywhere; }
 .gc-data-field dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
 .gc-data-field a { color: #354f63; }
 .gc-data-field.gc-field-money dd { font-variant-numeric: tabular-nums; }
-.gc-field-total dd, .gc-field-age dd { justify-self: start; padding: 0 .3rem; border-radius: 3px; }
+.gc-field-total dd, .gc-field-age dd { justify-self: start; align-self: start; padding: 0 .3rem; border-radius: 3px; }
 .gc-field-total dd { background: #d3d3d3; }
 .gc-field-age dd { background: #e98751; }
 .gc-data-more { border-top: 1px solid #edf0f2; }
-.gc-data-more summary { cursor: pointer; padding: .65rem 1rem; font-size: .8rem; font-weight: 600; color: #354f63; }
+.gc-data-more summary { cursor: pointer; padding: .65rem 1rem; font-size: .875rem; font-weight: 600; color: #354f63; }
 .gc-data-more[open] summary { background: #f4f6f8; }
 .gc-detail-page :is(a, button, input, select, summary, [tabindex]):focus-visible,
 .gc-app-header :is(a, button):focus-visible { outline: 3px solid #354f63; outline-offset: 3px; }
-.gc-detail-page .btn { white-space: normal !important; border-radius: 6px; font-size: .825rem; padding: .5rem .75rem; }
+.gc-detail-page .btn { white-space: normal !important; border-radius: 6px; font-size: .9375rem; padding: .5rem .75rem; }
 /* Dark text on the exact corporate action color meets text contrast requirements. */
 .gc-detail-page .btn-primary { --cui-btn-bg: #72889b; --cui-btn-border-color: #72889b; --cui-btn-color: #101b24; --cui-btn-hover-bg: #c3ccd4; --cui-btn-hover-color: #101b24; --cui-btn-hover-border-color: #72889b; --cui-btn-active-bg: #b1bcc7; --cui-btn-active-color: #101b24; }
 .gc-detail-page .btn-outline-secondary { --cui-btn-color: #354f63; --cui-btn-border-color: #b1bcc7; --cui-btn-hover-bg: #cdd4da; --cui-btn-hover-color: #182630; --cui-btn-hover-border-color: #72889b; }
@@ -101,13 +108,13 @@ body:has(.gc-detail-page) { max-width: 1840px; }
 .gc-workflow-form > .col-12 { padding: 0; }
 .gc-workflow-form .form-check { padding: .65rem .75rem .65rem 2.25rem; border-radius: 6px; background: #f4f6f8; }
 .gc-workflow-form .form-check-input:checked { background-color: #526b7e; border-color: #526b7e; }
-.gc-workflow-form .form-check-label { font-size: .875rem; }
+.gc-workflow-form .form-check-label { font-size: .9375rem; }
 .gc-workflow-form .card-body { padding: .85rem; background: #fafbfc; border-color: #dce2e7; box-shadow: none; }
 .gc-workflow-form .card-body .row, .gc-workflow-form .gc-follow-up .row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .85rem; }
-.gc-workflow-form .row > .col-form-label { flex: 0 0 100%; padding: 0; font-size: .8rem; color: #52616f; }
+.gc-workflow-form .row > .col-form-label { flex: 0 0 100%; padding: 0; font-size: .875rem; color: #52616f; }
 .gc-workflow-form .row > div { flex: 1 1 7rem; padding: 0; }
 .gc-workflow-form .card-body > .col-3 { width: auto; }
-.gc-workflow-form :is(.form-control, .form-select) { width: 100%; font-size: .825rem; min-height: 38px; border-color: #b1bcc7; }
+.gc-workflow-form :is(.form-control, .form-select) { width: 100%; font-size: .9375rem; min-height: 38px; border-color: #b1bcc7; }
 .gc-detail-page input[type="date"]::-webkit-datetime-edit-year-field,
 .gc-detail-page input[type="date"]::-webkit-datetime-edit-month-field,
 .gc-detail-page input[type="date"]::-webkit-datetime-edit-day-field,
@@ -116,35 +123,67 @@ body:has(.gc-detail-page) { max-width: 1840px; }
 .gc-workflow-form .gc-form-actions { display: flex; flex-wrap: wrap; gap: .5rem; border-top: 1px solid #dce2e7; padding-top: 1rem; }
 .gc-workflow-form .gc-follow-up { border-top: 1px solid #dce2e7; padding-top: 1rem; }
 .gc-detail-page .chat-container { height: clamp(32rem, calc(100dvh - var(--gc-header-height) - var(--gc-context-height) - 2rem), 58rem); }
-.gc-detail-page .chat-container .header { padding: .9rem 1rem; border-radius: 9px 9px 0 0; background: var(--gc-brand-section); box-shadow: none; flex: 0 0 auto; }
-.gc-detail-page .chat-container .header-left { align-items: flex-start; }
-.gc-detail-page .chat-container .header-left > .avatar { background: #72889b; color: #101b24; }
-.gc-detail-page .chat-container .course-title { font-size: .875rem; overflow-wrap: anywhere; }
-.gc-detail-page .chat-container .course-participants { color: #52616f; }
+.gc-detail-page .chat-container > .gc-section-title { flex: 0 0 auto; }
+.gc-detail-page .chat-container > .gc-section-description { flex: 0 0 auto; padding-bottom: .75rem; overflow-wrap: anywhere; }
 .gc-detail-page .chat-content { padding: 1rem; min-height: 0; gap: 1rem; }
 .gc-detail-page .chat-container .message { max-width: 92%; flex-shrink: 0; }
 .gc-detail-page .chat-container .message-header { flex-wrap: wrap; gap: .3rem .5rem; }
-.gc-detail-page .chat-container .message-bubble { padding: .65rem .85rem; border-radius: 10px; overflow-wrap: anywhere; }
+.gc-detail-page .chat-container .message-bubble {
+  padding: .65rem .85rem;
+  border-radius: 10px;
+  overflow-wrap: anywhere;
+  font-size: .9375rem;
+  line-height: 1.55;
+  color: #182630;
+  background: #f3f4f6;
+  background: color-mix(in srgb, var(--gc-role-accent, #72889b) 7%, #f3f4f6);
+  border-inline-start: 3px solid color-mix(in srgb, var(--gc-role-accent, #72889b) 45%, #dce2e7);
+}
+.gc-detail-page .chat-container .avatar { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 7px; }
+.gc-detail-page .chat-container .sender-name { font-size: .875rem; }
+.gc-detail-page .chat-container .timestamp, .gc-detail-page .comment-invoice { font-size: .8125rem; }
+.gc-detail-page .chat-container .message-input { font-size: .9375rem; }
+.gc-detail-page .chat-container .FIBU { --gc-role-accent: #dc3545; }
+.gc-detail-page .chat-container .GSL { --gc-role-accent: #6e131c; }
+.gc-detail-page .chat-container .GWL { --gc-role-accent: #fd7e14; }
+.gc-detail-page .chat-container .ZD { --gc-role-accent: #6f42c1; }
+.gc-detail-page .chat-container .ALV { --gc-role-accent: #0c408f; }
+.gc-detail-page .chat-container .NAGA { --gc-role-accent: #0d6efd; }
+.gc-detail-page .chat-container .Serviceleiter { --gc-role-accent: #198754; }
+.gc-detail-page .chat-container .SC { --gc-role-accent: #20c997; }
+.gc-detail-page .chat-container .TUZ { --gc-role-accent: #5b6067; }
 .gc-detail-page .chat-container .input-area { padding: .85rem 1rem; flex: 0 0 auto; }
 .gc-detail-page .chat-container .toolbar { margin: 0; }
 .gc-detail-page #comment-form { display: flex; align-items: center; gap: .5rem; }
 .gc-detail-page .chat-container .message-input { min-width: 0; width: 100%; height: 42px; padding: .6rem .75rem; }
 .gc-detail-page .chat-container .message-input:focus { border-color: #526b7e; box-shadow: 0 0 0 3px #72889b33; }
 .gc-detail-page .history-tabs { padding: .25rem .5rem 0; gap: 0; }
-.gc-detail-page .history-tab { font-size: .75rem; padding: .65rem .5rem; white-space: normal; }
+.gc-detail-page .history-tab { font-size: .875rem; padding: .65rem .5rem; white-space: normal; }
 .gc-detail-page .history-tab.active { color: #354f63; border-color: #526b7e; background: #edf2f5; }
 .gc-detail-page .gc-table-scroll { overflow-x: auto; max-width: 100%; }
-.gc-detail-page .table { margin: 0; font-size: .825rem; }
+.gc-detail-page .table { margin: 0; font-size: .9375rem; }
 .gc-detail-page .table :is(th, td) { padding: .6rem .8rem; vertical-align: top; }
-.gc-detail-page .table th { background: #eef1f4; font-size: .75rem; }
+.gc-detail-page .table th { background: #eef1f4; font-size: .875rem; }
 .gc-detail-page .table thead { position: static; }
 .gc-detail-page .table td { overflow-wrap: anywhere; }
 .gc-detail-page .table .text-end { white-space: nowrap; font-variant-numeric: tabular-nums; }
 .gc-case-bookings { margin: 0 1.25rem; }
-.gc-section-description { padding: .75rem 1rem 0; margin: 0; font-size: .85rem; color: #52616f; }
+.gc-section-description { padding: .75rem 1rem 0; margin: 0; font-size: .9375rem; color: #52616f; }
 .gc-detail-page #bookings-history > p { margin: .75rem 1rem; }
 .gc-detail-page [role="status"] { color: #52616f; }
-.gc-detail-page .beleg-M3 td { color: var(--gc-brand-mark); }
+/* Keep booking text black, including reminders; only the type badge is colored. */
+.gc-detail-page #bookings-history { padding: .75rem 1rem 1rem; }
+.gc-detail-page #bookings-history .history-tabs { padding-left: 0; padding-right: 0; margin-bottom: .75rem; }
+.gc-detail-page #bookings-history .table { --cui-table-color: #000; --cui-table-striped-color: #000; }
+.gc-detail-page #bookings-history .table td { color: #000; }
+.gc-document-badge { display: inline-flex; justify-content: center; width: 3.25rem; padding: .15rem .5rem; border: 1px solid transparent; border-radius: 5px; font-size: .8125rem; font-weight: 700; white-space: nowrap; color: #000; }
+.gc-document-badge--M1 { background: #ffe97e; border-color: #c8af45; }
+.gc-document-badge--M2 { background: #f7d8bf; border-color: #e98751; }
+.gc-document-badge--M3 { background: #f5dddd; border-color: #b30808; }
+.gc-detail-page .gc-files-table { --cui-table-bg: #fff; }
+.gc-detail-page .gc-files-table :is(th, td) { background: #fff; box-shadow: none; }
+.gc-section-title { display: flex; align-items: center; gap: .6rem; font-family: inherit; }
+.gc-section-title .icon { flex-shrink: 0; width: 1.125rem; height: 1.125rem; font-size: 1.125rem; vertical-align: -.1em; }
 @media (max-width: 1199.98px) {
   .gc-case-grid { grid-template-columns: minmax(0, 1fr); }
   .gc-detail-page .chat-container { height: 38rem; }
@@ -153,10 +192,10 @@ body:has(.gc-detail-page) { max-width: 1840px; }
   .gc-app-header .gc-header-inner { padding: .5rem .75rem; gap: .25rem .65rem; }
   .gc-header-brand { flex-basis: 140px; }
   .gc-app-header .gc-header-tools { width: 100%; margin-left: 0 !important; }
-  .gc-header-account { flex: 1; justify-content: flex-end; font-size: .75rem; }
+  .gc-header-account { flex: 1; justify-content: flex-end; font-size: .875rem; }
   .gc-case-context { padding: .65rem .75rem; gap: .5rem; }
   .gc-context-heading { flex-basis: 100%; }
-  .gc-context-heading h1 { font-size: 1rem; }
+  .gc-context-heading h1 { font-size: 1.125rem; }
   .gc-context-metrics { width: 100%; }
   .gc-metric { flex-direction: row; align-items: center; gap: .5rem; padding: .35rem .6rem; }
   .gc-metric strong { font-size: .95rem; }

+ 2 - 16
templates/base/chat_container.html

@@ -1,21 +1,7 @@
 <div class="chat-container" id="chat"
     hx-on::after-swap="const content = this.querySelector('#chatContent'); if (content) content.scrollTop = content.scrollHeight;">
-    <div class="header">
-        <div class="header-left">
-            <div class="avatar">
-                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none"
-                    stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
-                    <path
-                        d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z">
-                    </path>
-                </svg>
-            </div>
-            <div class="course-info">
-                <div class="course-title">{{ forderungen_details[0].Kunde_Text }} / {{ forderungen_details[0].Beleg_Nr }}</div>
-                <div class="course-participants">Kommentare zum Beleg</div>
-            </div>
-        </div>
-    </div>
+    <h2 class="gc-section-title" id="comments-title"><i class="icon cil-chat-bubble" aria-hidden="true"></i> Kommentare</h2>
+    <p class="gc-section-description">{{ forderungen_details[0].Kunde_Text }} / {{ forderungen_details[0].Beleg_Nr }}</p>
     {% include 'forderungen/details/details_kommentare.html' %}
     <div class="input-area">
         <div class="toolbar">

+ 4 - 4
templates/forderungen/details/details.html

@@ -21,7 +21,7 @@
     {% include 'base/chat_container.html' %}
     {% if files|length > 0 %}
     <section class="gc-detail-card" aria-labelledby="files-title">
-      <h2 class="gc-section-title" id="files-title">Dateien</h2>
+      <h2 class="gc-section-title" id="files-title"><i class="icon cil-folder-open" aria-hidden="true"></i> Dateien</h2>
       <div class="gc-table-scroll" tabindex="0" role="region" aria-label="Dateien">
         {% include 'forderungen/details/details_dateien.html' %}
       </div>
@@ -30,12 +30,12 @@
   </div>
   <aside class="gc-case-actions" aria-label="Zusätzliche Informationen">
     <section class="gc-detail-card" aria-labelledby="actions-title">
-      <h2 class="gc-section-title" id="actions-title">Bearbeitung</h2>
+      <h2 class="gc-section-title" id="actions-title"><i class="icon cil-settings" aria-hidden="true"></i> Bearbeitung</h2>
       {% include 'forderungen/details/details_formular.html' %}
     </section>
     {% if auftraege_positionen|length > 0 %}
     <section class="gc-detail-card" aria-labelledby="positions-title">
-      <h2 class="gc-section-title" id="positions-title">Auftragspositionen</h2>
+      <h2 class="gc-section-title" id="positions-title"><i class="icon cil-list" aria-hidden="true"></i> Auftragspositionen</h2>
       <div class="gc-table-scroll" tabindex="0" role="region" aria-label="Auftragspositionen">
         {% include 'forderungen/details/details_positionen.html' %}
       </div>
@@ -44,7 +44,7 @@
   </aside>
 </div>
 <section class="gc-detail-card gc-case-bookings" aria-labelledby="bookings-title">
-  <h2 class="gc-section-title" id="bookings-title">Buchungsbelege</h2>
+  <h2 class="gc-section-title" id="bookings-title"><i class="icon cil-calculator" aria-hidden="true"></i> Buchungsbelege</h2>
   <p class="gc-section-description">Debitorenkonto {{ row.Kunde_Nr }} · {{ row.Kunde_Name }}</p>
   {% include 'forderungen/details/details_buchungen.html' %}
 </section>

+ 1 - 1
templates/forderungen/details/details_buchungen.html

@@ -25,7 +25,7 @@
         {% for row in forderungen_buchungen %}
         <tr class="beleg-{{ row.Beleg_Art }}">
             <td>{{ row.Fahrzeug_Nr }}</td>
-            <td>{{ row.Beleg_Art }}</td>
+            <td>{% if row.Beleg_Art in ('M1', 'M2', 'M3') %}<span class="gc-document-badge gc-document-badge--{{ row.Beleg_Art }}">{{ row.Beleg_Art }}<span class="visually-hidden"> – Mahnung Stufe {{ row.Beleg_Art[1:] }}</span></span>{% else %}{{ row.Beleg_Art }}{% endif %}</td>
             <td>{{ row.Beleg_Nr }}</td>
             <td>{{ row.Beleg_Datum|date_format }}</td>
             <td>{{ row.Beleg_Beschreibung }}</td>

+ 1 - 1
templates/forderungen/details/details_dateien.html

@@ -1,4 +1,4 @@
-<table class="table table-striped table-bordered">
+<table class="table table-bordered gc-files-table">
     <thead>
         <tr>
             <th>Datum</th>

+ 7 - 7
templates/forderungen/details/details_uebersicht.html

@@ -1,6 +1,6 @@
 {% set row = forderungen_details[0] %}
 <section class="gc-detail-card" aria-labelledby="data-title-0">
-  <h2 class="gc-section-title" id="data-title-0">Grunddaten</h2>
+  <h2 class="gc-section-title" id="data-title-0"><i class="icon cil-info" aria-hidden="true"></i> Grunddaten</h2>
   <dl class="gc-data-fields">
     <div class="gc-data-field"><dt>Hauptbetrieb</dt><dd>{{row.Hauptbetrieb_Name }}</dd></div>
     <div class="gc-data-field"><dt>Standort</dt><dd>{{row.Standort_Name }}</dd></div>
@@ -15,7 +15,7 @@
   </details>
 </section>
 <section class="gc-detail-card" aria-labelledby="data-title-1">
-  <h2 class="gc-section-title" id="data-title-1">Beleg</h2>
+  <h2 class="gc-section-title" id="data-title-1"><i class="icon cil-print" aria-hidden="true"></i> Beleg</h2>
   <dl class="gc-data-fields">
     <div class="gc-data-field"><dt>Belegart</dt><dd>{{row.Rechnung_Gutschrift }}</dd></div>
     <div class="gc-data-field"><dt>Beleg-Nr</dt><dd>{{row.Beleg_Nr }}</dd></div>
@@ -31,7 +31,7 @@
   </details>
 </section>
 <section class="gc-detail-card" aria-labelledby="data-title-2">
-  <h2 class="gc-section-title" id="data-title-2">Forderung</h2>
+  <h2 class="gc-section-title" id="data-title-2"><i class="icon cil-money" aria-hidden="true"></i> Forderung</h2>
   <dl class="gc-data-fields">
     <div class="gc-data-field gc-field-money"><dt>offen</dt><dd>{{row.Beleg_offen|number_format }} &euro;</dd></div>
     <div class="gc-data-field gc-field-money gc-field-total"><dt>offen (Kunde gesamt)</dt><dd>{{row.Kunde_offen_gesamt|number_format }} &euro;</dd></div>
@@ -41,7 +41,7 @@
   </dl>
 </section>
 <section class="gc-detail-card" aria-labelledby="data-title-3">
-  <h2 class="gc-section-title" id="data-title-3">Kunde</h2>
+  <h2 class="gc-section-title" id="data-title-3"><i class="icon cil-user" aria-hidden="true"></i> Kunde</h2>
   <dl class="gc-data-fields">
     <div class="gc-data-field"><dt>Kunden-Nr</dt><dd>{{row.Kunde_Nr }}</dd></div>
     <div class="gc-data-field"><dt>Name</dt><dd>{{row.Kunde_Name }}</dd></div>
@@ -61,7 +61,7 @@
 </section>
 {% if row.Fahrzeug_Leasing == 'J' %}
 <section class="gc-detail-card" aria-labelledby="data-title-4">
-  <h2 class="gc-section-title" id="data-title-4">Leasing-Kunde</h2>
+  <h2 class="gc-section-title" id="data-title-4"><i class="icon cil-briefcase" aria-hidden="true"></i> Leasing-Kunde</h2>
   <dl class="gc-data-fields">
     <div class="gc-data-field"><dt>Name</dt><dd>{{row.Leasing_Kunde_Name }}</dd></div>
     <div class="gc-data-field"><dt>Telefon</dt><dd>{{row.Leasing_Kunde_Telefon }}</dd></div>
@@ -80,7 +80,7 @@
 {% endif %}
 {% if row.Versicherung == 'J' and row.Vers_Adresse_ID != '' %}
 <section class="gc-detail-card" aria-labelledby="data-title-5">
-  <h2 class="gc-section-title" id="data-title-5">Versicherung</h2>
+  <h2 class="gc-section-title" id="data-title-5"><i class="icon cil-shield-alt" aria-hidden="true"></i> Versicherung</h2>
   <dl class="gc-data-fields">
     <div class="gc-data-field"><dt>Name</dt><dd>{{row.Vers_Name }}</dd></div>
     <div class="gc-data-field"><dt>Telefon</dt><dd>{{row.Vers_Telefon }}</dd></div>
@@ -98,7 +98,7 @@
 </section>
 {% endif %}
 <section class="gc-detail-card" aria-labelledby="data-title-6">
-  <h2 class="gc-section-title" id="data-title-6">Fahrzeug</h2>
+  <h2 class="gc-section-title" id="data-title-6"><i class="icon cil-car-alt" aria-hidden="true"></i> Fahrzeug</h2>
   <dl class="gc-data-fields">
     <div class="gc-data-field"><dt>Kennzeichen</dt><dd>{{row.Fahrzeug_Kennzeichen }}</dd></div>
     <div class="gc-data-field"><dt>VIN</dt><dd>{{row.Fahrzeug_VIN }}</dd></div>