/* Fachmodule, Kundenformular und Ticketsystem */
.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.5rem}.page-header p,.card-header p{margin:.35rem 0 0;color:var(--muted)}.info-card{border-left:4px solid var(--primary)}.cell-wrap{display:block;min-width:260px;max-width:560px;white-space:normal}.table-inline-form{display:flex;align-items:center;gap:.5rem;min-width:260px}.table-inline-form select{min-width:140px}.customer-create-form{width:100%}.form-section{width:100%}.customer-form-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1rem}.customer-form-grid .col-3{grid-column:span 3}.customer-form-grid .col-4{grid-column:span 4}.customer-form-grid .col-5{grid-column:span 5}.customer-form-grid .col-6{grid-column:span 6}.customer-form-grid .col-8{grid-column:span 8}.customer-form-grid .col-12{grid-column:1/-1}.sticky-form-actions{position:sticky;bottom:1rem;z-index:10;display:flex;gap:.75rem;justify-content:flex-end;padding:1rem;background:color-mix(in srgb,var(--paper) 94%,transparent);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 30px rgba(15,23,42,.12);backdrop-filter:blur(10px)}.ticket-toolbar{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1rem}.ticket-filter{display:flex;gap:.6rem;align-items:end;flex-wrap:wrap}.ticket-filter label{margin:0}.ticket-filter input{min-width:260px}.ticket-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.5rem}.ticket-summary-value{font-size:1rem;line-height:1.35}.ticket-manage-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:1rem;align-items:end}.ticket-manage-form label{margin:0}.ticket-thread{display:grid;gap:1rem}.ticket-message{padding:1rem;border:1px solid var(--line);border-radius:12px;background:var(--soft)}.ticket-message header{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.ticket-message time{color:var(--muted);font-size:.85rem}.ticket-message__body{white-space:normal;overflow-wrap:anywhere}.ticket-files{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.8rem}.ticket-file{display:inline-flex;align-items:center;gap:.35rem;padding:.5rem .7rem;border:1px solid var(--line);border-radius:9px;background:var(--paper)}.ticket-file small{color:var(--muted)}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.form-disclosure>summary{cursor:pointer;font-weight:750;padding:.2rem 0}.form-disclosure[open]>summary{margin-bottom:1.2rem}.badge--info{color:var(--info)}
html.dark .sticky-form-actions{background:color-mix(in srgb,var(--paper) 94%,transparent);box-shadow:0 12px 30px rgba(0,0,0,.28)}html.dark .ticket-message{background:var(--soft)}
@media(max-width:980px){.ticket-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ticket-manage-form{grid-template-columns:1fr 1fr}.ticket-manage-form .btn{grid-column:1/-1}.customer-form-grid .col-3,.customer-form-grid .col-4,.customer-form-grid .col-5,.customer-form-grid .col-6,.customer-form-grid .col-8{grid-column:span 6}}
@media(max-width:680px){.page-header,.ticket-toolbar{flex-direction:column;align-items:stretch}.ticket-filter{display:grid;grid-template-columns:1fr}.ticket-filter input{min-width:0;width:100%}.ticket-summary-grid,.ticket-manage-form{grid-template-columns:1fr}.customer-form-grid{grid-template-columns:1fr}.customer-form-grid .col-3,.customer-form-grid .col-4,.customer-form-grid .col-5,.customer-form-grid .col-6,.customer-form-grid .col-8,.customer-form-grid .col-12{grid-column:1}.sticky-form-actions{position:static;flex-direction:column}.sticky-form-actions .btn{width:100%}.table-inline-form{min-width:220px}.ticket-message header{flex-direction:column;gap:.25rem}}
