/* Ergänzungen zu Bootstrap */
.kachel { transition: box-shadow .15s; }
.kachel:hover { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .1); }
.kachel .symbol { font-size: 1.6rem; line-height: 1; }
.auswahl-optionen > div { display: inline-block; margin-right: 1.25rem; }
.auswahl-optionen label { font-weight: normal; }
.auswahl-optionen input { margin-right: .35rem; }
.feld-bedingt { border-left: 3px solid var(--bs-border-color); padding-left: .6rem; }
.automatisch dt { font-weight: normal; color: var(--bs-secondary-color); font-size: .85rem; }
.automatisch dd { margin-bottom: .45rem; }
.sticky-seite { position: sticky; top: 1rem; }
.pdf-rahmen { width: 100%; height: 80vh; border: 1px solid var(--bs-border-color); background: #fff; }
.unterschrift-bild { max-height: 90px; background: #fff; border: 1px dashed var(--bs-border-color); padding: .25rem; }

/* Einstieg in die Protokollerfassung */
.protokoll-start { max-width: 1050px; margin: 12px auto 24px; color: #172b45; }
.protokoll-start-kopf { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 30px; }
.protokoll-start-kopf h1 { font-size: 1.75rem; line-height: 1.35; font-weight: 650; margin: 0; }
.protokoll-nebenaktion { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid #cbd5e1; border-radius: 8px; background: #f1f4f8; color: #243d5a; font-size: .84rem; font-weight: 600; line-height: 1.5; text-decoration: none; transition: background .15s, border-color .15s; }
.protokoll-nebenaktion:hover { background: #fff6ce; border-color: #c6a000; color: #172b45; }
.protokoll-nebenaktion:focus-visible { outline: 3px solid #c6a000; outline-offset: 3px; }
.protokoll-start-raster { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: #fff; border: 1px solid #dfe5ed; border-radius: 10px; overflow: hidden; }
.protokoll-start-karte { padding: 32px; }
.protokoll-start h2 { font-size: 1rem; font-weight: 650; margin-bottom: 22px; }
.protokoll-start-karte .form-label { font-size: .9rem; font-weight: 600; margin-bottom: 10px; }
.protokoll-start-karte form > .mb-3 { margin-bottom: 24px !important; }
.protokoll-start-karte .form-select, .protokoll-start-karte .form-control { border-radius: 6px; padding: 10px 12px; border-color: #dce3ec; }
.protokoll-start-karte .form-select:focus, .protokoll-start-karte .form-control:focus { border-color: #c6a000; box-shadow: 0 0 0 3px #ffce0025; }
.protokoll-start-aktionen { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #edf0f4; padding-top: 20px; margin-top: 24px; }
.protokoll-start-seitenleiste { padding: 28px; border-left: 1px solid #edf0f4; }
.protokoll-start-seitenleiste > p { margin: 0; font-size: .82rem; line-height: 1.7; color: #68788d; }
.protokoll-start-seitenleiste #messstelle-info:not(:empty) { margin-top: 20px; }
@media (max-width: 767px) {
  .protokoll-start-raster { grid-template-columns: 1fr; }
  .protokoll-start-karte, .protokoll-start-seitenleiste { padding: 22px; }
  .protokoll-start-seitenleiste { border-left: 0; border-top: 1px solid #edf0f4; }
  .protokoll-start-aktionen { flex-wrap: wrap; }
}

/* Eingabemaske der Messprotokolle */
.protokoll-eingabe { max-width: 1200px; margin: 12px auto 24px; color: #172b45; }
.protokoll-eingabe-metadaten { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 12px; font-size: .85rem; color: #68788d; }
.protokoll-status { display: inline-block; border: 1px solid #dce3ec; border-radius: 6px; padding: 4px 10px; background: #edf1f5; color: #415875; font-size: .74rem; font-weight: 600; }
.protokoll-eingabe .card { border: 1px solid #dfe5ed; border-radius: 10px; overflow: hidden; box-shadow: none; }
.protokoll-eingabe .card-header { padding: 18px 24px; background: #f7f9fb; border-bottom: 1px solid #e7ecf2; }
.protokoll-eingabe .card-header h2 { margin: 0; font-size: 1rem; line-height: 1.4; font-weight: 650; color: #172b45; }
.protokoll-eingabe .card-body { padding: 24px; }
.protokoll-eingabe-abschnitt .row { --bs-gutter-y: 1.75rem; --bs-gutter-x: 1.5rem; }
.protokoll-eingabe .form-label { font-size: .86rem; font-weight: 600; line-height: 1.6; margin-bottom: 10px !important; }
.protokoll-eingabe .form-control, .protokoll-eingabe .form-select { min-height: 44px; border-color: #dce3ec; border-radius: 6px; padding: 10px 12px; color: #172b45; }
.protokoll-eingabe .form-control:focus, .protokoll-eingabe .form-select:focus { border-color: #c6a000; box-shadow: 0 0 0 3px #ffce0025; }
.protokoll-eingabe .input-group-text { background: #f3f6f9; border-color: #dce3ec; color: #68788d; font-size: .82rem; }
.protokoll-eingabe .input-group > .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.protokoll-eingabe .form-text { margin-top: 8px; font-size: .77rem; line-height: 1.65; color: #718096; }
.protokoll-eingabe .auswahl-optionen { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 2px; }
.protokoll-eingabe .auswahl-optionen .form-check { margin: 0; padding-top: 5px; padding-bottom: 5px; }
.protokoll-eingabe .form-check-label { font-size: .85rem; line-height: 1.6; cursor: pointer; }
.protokoll-eingabe .form-check-input { cursor: pointer; border-color: #aebdce; }
.protokoll-eingabe .form-check-input:checked { background-color: #243d5a; border-color: #243d5a; }
.protokoll-eingabe .form-check-input:focus { border-color: #c6a000; box-shadow: 0 0 0 3px #ffce0025; }
.protokoll-eingabe .feld-bedingt { border-left-color: #e4eaf0; }
.protokoll-eingabe .invalid-feedback { font-size: .8rem; margin-top: 8px; }
.protokoll-eingabe .form-control.is-invalid { border-color: #dc3545; }
.protokoll-eingabe-aktionen .stamm-btn, .protokoll-eingabe-aktionen .protokoll-nebenaktion { width: 100%; font-size: .85rem; white-space: normal; }
.protokoll-stammdaten-titel { font-size: .83rem; font-weight: 650; margin: 0 0 12px; color: #243d5a; }
.protokoll-stammdaten-werte { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #edf0f4; overflow-wrap: anywhere; }
.protokoll-eingabe .automatisch dt { font-size: .74rem; color: #718096; margin-bottom: 3px; }
.protokoll-eingabe .automatisch dd { font-size: .84rem; color: #243d5a; margin-bottom: 12px; }
@media (max-width: 767px) {
  .protokoll-eingabe .card-body { padding: 20px; }
  .protokoll-eingabe .card-header { padding: 16px 20px; }
}

.protokoll-skizze { margin: 0 0 28px; padding: 14px; border: 1px solid #dfe5ed; border-radius: 8px; background: #fafbfd; }
.protokoll-skizze svg { display: block; width: 100%; height: auto; }
.protokoll-skizze text { font-family: inherit; font-size: 13px; fill: #52667e; }
.skizze-strasse { fill: #edf1f5; }
.skizze-fahrbahnrand { stroke: #718096; stroke-width: 2; fill: none; }
.skizze-mittellinie { stroke: #bdc8d5; stroke-width: 1.5; stroke-dasharray: 9 9; }
.skizze-kameralinie { stroke: #bdc8d5; stroke-width: 1; stroke-dasharray: 4 5; }
.skizze-masslinien path { stroke: #8290a1; stroke-width: 1.3; fill: none; }
.skizze-richtung path { stroke: #8290a1; stroke-width: 2.5; fill: none; }
.skizze-richtung.ist-gewaehlt path { stroke: #172b45; stroke-width: 4; }
.skizze-richtung.ist-gewaehlt text { fill: #172b45; font-weight: 650; }
.skizze-punkt circle { fill: #fff; stroke: #9caec2; stroke-width: 1.5; }
.skizze-punkt text { fill: #243d5a; font-size: 15px; font-weight: 650; }
.skizze-punkt.ist-gewaehlt circle { fill: #ffce00; stroke: #aa8900; stroke-width: 2; }
.skizze-sensor { fill: #ffce00; stroke: #172b45; stroke-width: 2; }
.protokoll-skizze .skizze-sensorname { fill: #172b45; font-weight: 650; }
.protokoll-skizze figcaption { padding: 0 8px 4px; color: #68788d; font-size: .77rem; line-height: 1.7; }

/* PDF-Vorschau und Freigabe */
.protokoll-vorschau .protokoll-pdf-kopf { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.protokoll-pdf-kopf .protokoll-nebenaktion { padding: 7px 12px; font-size: .77rem; }
.protokoll-vorschau .pdf-rahmen { display: block; height: 80vh; min-height: 480px; border: 0; background: #edf1f5; }
.protokoll-vorschau-hinweise .card-header { background: #fff8dd; }
.protokoll-vorschau-hinweise .list-group-item { padding: 14px 24px; border-color: #edf0f4; line-height: 1.7; color: #6d5719; }
.protokoll-vorschau .card-body > p { line-height: 1.75; color: #52667e; }
.protokoll-status-freigegeben { background: #eaf4ed; border-color: #cce2d3; color: #2b6240; }
.protokoll-unterschrift { margin: 22px 0; padding: 16px; border: 1px solid #e1e6ed; border-radius: 8px; background: #fafbfd; }
.protokoll-unterschrift > span { display: block; margin-bottom: 12px; color: #68788d; font-size: .75rem; }
.protokoll-unterschrift .unterschrift-bild { display: block; max-width: 100%; max-height: 90px; border: 0; padding: 0; background: transparent; }
.protokoll-freigabe-bestaetigung { border-top: 1px solid #edf0f4; padding-top: 20px; margin-top: 24px; margin-bottom: 24px; }
.protokoll-vorschau .stamm-btn { font-size: .85rem; line-height: 1.6; }
.protokoll-vorschau .stamm-btn:disabled { background: #e9edf2; border-color: #dce3ec; color: #8995a5; cursor: not-allowed; }
.protokoll-vorschau .text-danger, .protokoll-vorschau .badge { overflow-wrap: anywhere; white-space: normal; }
@media (max-width: 767px) {
  .protokoll-vorschau .pdf-rahmen { height: 65vh; min-height: 360px; }
}

/* Anmeldung: eigene Gestaltung, bestehende Arbeitsmasken bleiben unabhängig. */
.portal-seite { min-height: 100vh; display: flex; flex-direction: column; }
.portal-seite > main { flex: 1; }
.portal-marke { display: flex; align-items: center; gap: 22px; margin-right: 28px; padding: 8px 0; }
.portal-kundenlogo { display: block; width: 180px; height: 60px; object-fit: contain; }
.portal-produktname { border-left: 1px solid #dfe5ed; padding-left: 22px; font-size: .95rem; font-weight: 600; color: #172b45; }
.portal-footer { border-top: 1px solid #e1e6ed; background: #fff; color: #718096; padding: 16px 0; }
.portal-footer-inhalt { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .74rem; }
.portal-hersteller { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.portal-herstellerzeile { display: flex; flex-direction: column; align-items: center; gap: 0; }
.portal-herstellermail { font-size: .7rem; line-height: 1.5; color: #929daa; }
.portal-herstellerlogo { display: block; width: 220px; height: 44px; object-fit: cover; object-position: center; }
@media (max-width: 991px) {
  .portal-marke { gap: 12px; margin-right: 16px; }
  .portal-kundenlogo { width: 132px; height: 44px; }
  .portal-produktname { display: none; }
}
@media (max-width: 575px) {
  .portal-footer-inhalt { flex-direction: column; align-items: flex-start; }
}
.anmeldung { max-width: 1040px; margin: 7vh auto 2rem; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid #e1e6ed; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 65px #172b4510; color: #172b45; }
.anmeldung-info { position: relative; padding: 52px 44px 34px; display: flex; flex-direction: column; background: #f7f8fa; border-right: 1px solid #e8ebf0; }
.anmeldung-marke { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 19px; background: #ffce00; color: #172b45; margin-bottom: 36px; }
.anmeldung-marke svg { width: 36px; height: 36px; }
.anmeldung .anmeldung-kicker { font-size: .73rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #68788d; margin-bottom: 16px; }
.anmeldung h1 { font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.16; font-weight: 750; letter-spacing: -.045em; margin-bottom: 22px; }
.anmeldung-beschreibung { color: #617086; line-height: 1.8; font-size: .96rem; max-width: 340px; }
.anmeldung-schritte { display: flex; flex-wrap: wrap; gap: 20px; padding: 26px 0 40px; font-size: .78rem; color: #475a70; }
.anmeldung-schritte b { display: block; color: #172b45; font-size: .7rem; margin-bottom: 8px; }
.anmeldung-hinweis { margin: auto 0 0; padding-top: 28px; font-size: .73rem; line-height: 1.7; color: #728095; max-width: 270px; }
.anmeldung-formular { padding: 58px 48px 42px; }
.anmeldung h2 { font-size: 1.65rem; font-weight: 700; letter-spacing: -.035em; margin-bottom: 10px; }
.anmeldung-einleitung { font-size: .88rem; color: #68788d; line-height: 1.7; margin-bottom: 32px; }
.anmeldung-formular label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 9px; }
.anmeldung-formular input:not([type=hidden]) { width: 100%; border: 1px solid #d6dee8; border-radius: 9px; background: #fff; padding: 12px 14px; font-size: .95rem; color: #172b45; transition: border-color .15s, box-shadow .15s; }
.anmeldung-formular input:focus { outline: none; border-color: #9c7c00; box-shadow: 0 0 0 3px #ffce0029; }
.anmeldung-passwort { text-align: right; margin: 0 0 25px; }
.anmeldung-passwort a { color: #4d627c; font-size: .79rem; text-underline-offset: 3px; }
.anmeldung-button { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; border-radius: 9px; padding: 13px 17px; background: #ffce00; color: #172b45; font-weight: 700; font-size: .9rem; transition: background .15s; }
.anmeldung-button:hover { background: #edbe00; }
.anmeldung-button:focus-visible { outline: 3px solid #172b45; outline-offset: 3px; }
.anmeldung-button span { font-size: 1.25rem; line-height: 1; }
.anmeldung-zugang { border-top: 1px solid #e8ebf0; margin-top: 32px; padding-top: 23px; font-size: .78rem; color: #6b7b90; line-height: 1.7; }
.anmeldung-zugang strong { color: #4d627c; font-weight: 600; }
.anmeldung-zugang p { margin: 5px 0 0; }
.passwort-zurueck { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: #4d627c; font-size: .82rem; text-underline-offset: 4px; }
.passwort-abbrechen { border: 0; background: none; padding: 0; text-decoration: underline; }
.passwort-zurueck:hover { color: #172b45; }
.passwort-status { display: grid; place-items: center; width: 52px; height: 52px; background: #fff7d6; color: #866b00; border-radius: 16px; margin: 0 0 24px; }
.passwort-status svg { width: 28px; height: 28px; }
.passwort-status-erfolg { background: #eaf5ee; color: #28734a; }
.passwort-infobox { padding: 16px 18px; background: #f7f8fa; border: 1px solid #e8ebf0; border-radius: 10px; font-size: .84rem; color: #617086; line-height: 1.8; }
.passwort-seite .form-text { font-size: .76rem; line-height: 1.7; color: #68788d; }
.passwort-seite .form-text ul { padding-left: 18px; margin: 8px 0 0; }
.stamm-kopf { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 20px 0 30px; }
.stamm-kopf h1 { color: #172b45; font-size: 2rem; font-weight: 700; letter-spacing: -.035em; }
.stamm-kicker { color: #718096; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.stamm-zaehler { color: #52667e; padding: 9px 15px; border: 1px solid #e1e6ed; background: #fff; border-radius: 24px; font-size: .78rem; white-space: nowrap; }
.stamm-karte { display: block; padding: 30px; background: #fff; border: 1px solid #e1e6ed; border-radius: 16px; color: #172b45; box-shadow: 0 6px 20px #172b4505; }
.stamm-karte h2 { font-size: 1.12rem; font-weight: 650; margin-bottom: 12px; }
.stamm-suche { padding: 14px 16px; }
.stamm-suche:focus { border-color: #9c7c00; box-shadow: 0 0 0 3px #ffce0029; }
.stamm-btn { background: #ffce00; color: #172b45; border: 1px solid #ffce00; border-radius: 8px; font-weight: 650; padding: 11px 20px; }
.stamm-btn:hover { background: #edbe00; border-color: #edbe00; color: #172b45; }
.stamm-btn:focus-visible { outline: 3px solid #172b45; outline-offset: 3px; }
.stamm-option { height: 100%; display: flex; align-items: flex-start; gap: 20px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.stamm-option:hover { border-color: #c6d0dd; box-shadow: 0 8px 25px #172b450c; }
.stamm-option p { color: #68788d; font-size: .88rem; line-height: 1.7; }
.stamm-symbol { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff7d6; color: #806600; font-size: 1.5rem; }
.stamm-link, .stamm-zurueck { color: #4d627c; font-size: .84rem; text-underline-offset: 4px; }
.stamm-zurueck { display: inline-block; margin-top: 10px; }
.stamm-uid { font-variant-numeric: tabular-nums; color: #172b45; font-weight: 650; white-space: nowrap; }
.stamm-trefferzeile { display: flex; align-items: center; gap: 18px; padding: 15px 8px; text-decoration: none; color: #52667e; border-bottom: 1px solid #edf0f4; }
.stamm-trefferzeile:hover { background: #f7f8fa; }
.stamm-treffertext { flex: 1; min-width: 0; }
.stamm-treffertext strong { display: block; font-size: .88rem; font-weight: 550; color: #172b45; }
.stamm-treffertext small { display: block; margin-top: 4px; color: #68788d; }
.stamm-detail { display: grid; grid-template-columns: 240px 1fr; margin-top: 24px; font-size: .9rem; }
.stamm-detail dt, .stamm-detail dd { padding: 12px 0; margin: 0; border-bottom: 1px solid #edf0f4; overflow-wrap: anywhere; }
.stamm-detail dt { font-weight: 500; color: #68788d; }
.stamm-zusatz { border-top: 1px solid #e1e6ed; margin-top: 18px; padding-top: 22px; }
.stamm-dropzone { text-align: center; padding: 32px; border: 2px dashed #d5deea; border-radius: 12px; background: #fafbfc; }
.stamm-dropzone .mb-3 { max-width: 520px; margin: 0 auto; text-align: left; }
.stamm-dropzone-aktiv { border-color: #9c7c00; background: #fff9e2; }
.stamm-statistik { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stamm-statistik > div { background: #fff; border: 1px solid #e1e6ed; border-radius: 12px; padding: 20px; }
.stamm-statistik strong { display: block; color: #172b45; font-size: 1.8rem; }
.stamm-statistik span { color: #68788d; font-size: .8rem; }
.stamm-aenderung { padding-top: 24px; margin-top: 24px; border-top: 1px solid #e1e6ed; }
.stamm-aenderung-kopf { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.stamm-aenderung-kopf > div:last-child { min-width: 240px; }
.stamm-vergleich { font-size: .84rem; margin: 16px 0 0; }
.stamm-vergleich thead th { color: #68788d; font-weight: 500; background: #f7f8fa; }
.stamm-vergleich td, .stamm-vergleich th { padding: 12px; overflow-wrap: anywhere; }
.stamm-vergleich td.stamm-neuer-wert { background: #fff9e5; }
.stamm-meldungen { max-height: 320px; overflow: auto; padding-left: 20px; font-size: .82rem; }
.stamm-meldungen li { margin-bottom: 10px; }
.stamm-gemeinde { display: grid; grid-template-columns: 55px 1fr; gap: 15px; border-top: 1px solid #e1e6ed; padding: 16px 0; font-size: .87rem; }
.stamm-import-abschluss { background: #fff; border: 1px solid #e1e6ed; border-radius: 14px; padding: 24px; }
.benutzer-tabelle { font-size: .86rem; vertical-align: middle; }
.benutzer-tabelle th { font-size: .75rem; color: #68788d; font-weight: 500; background: #f7f8fa; padding: 13px 12px; }
.benutzer-tabelle td { padding: 18px 12px; border-color: #edf0f4; }
.benutzer-tabelle td strong { color: #172b45; font-weight: 600; }
.benutzer-rolle { display: inline-block; padding: 4px 9px; margin: 3px 4px 3px 0; border: 1px solid #e1e6ed; border-radius: 6px; background: #f7f8fa; color: #52667e; font-size: .73rem; }
.benutzer-status { display: inline-block; border-radius: 20px; padding: 5px 10px; background: #eaf5ee; color: #28734a; font-size: .74rem; }
.benutzer-status-inaktiv { background: #f0f2f5; color: #718096; }
.benutzer-rollen > div { margin: 14px 0; }
.benutzer-rollen label { display: flex; align-items: center; gap: 10px; font-size: .87rem; font-weight: 500; }
.benutzer-rollen input { width: 17px; height: 17px; accent-color: #172b45; }
.benutzer-rollenhilfe { border-top: 1px solid #e1e6ed; margin: 24px 0 0; padding-top: 22px; font-size: .78rem; }
.benutzer-rollenhilfe dt { color: #52667e; font-weight: 600; margin-bottom: 5px; }
.benutzer-rollenhilfe dd { color: #718096; line-height: 1.7; margin-bottom: 18px; }
.benutzer-rollenhilfe dd:last-child { margin-bottom: 0; }
.benutzer-passwort .form-text { font-size: .75rem; line-height: 1.7; color: #68788d; }
.benutzer-passwort .form-text ul { padding-left: 17px; }
.sicherheit-navigation { display: flex; flex-wrap: wrap; gap: 7px; padding: 6px; margin: 0 0 28px; border: 1px solid #e1e6ed; background: #fff; border-radius: 12px; width: fit-content; }
.sicherheit-navigation a { color: #617086; font-size: .85rem; font-weight: 550; text-decoration: none; padding: 10px 17px; border-radius: 8px; }
.sicherheit-navigation a:hover { color: #172b45; background: #f7f8fa; }
.sicherheit-navigation a.aktiv { background: #fff5c2; color: #172b45; }
.sicherheitsbereich { color: #172b45; }
.sicherheitsbereich .stamm-karte h2 { line-height: 1.5; }
.sicherheit-kompakt { max-width: 760px; }
.sicherheitsformular input:not([type=hidden]):not([type=checkbox]), .sicherheitsformular textarea { display: block; width: 100%; padding: 12px 14px; background: #fff; border: 1px solid #d6dee8; border-radius: 9px; color: #172b45; }
.sicherheitsformular input:focus, .sicherheitsformular textarea:focus { outline: none; border-color: #9c7c00; box-shadow: 0 0 0 3px #ffce0029; }
.sicherheitsformular label { font-size: .85rem; font-weight: 550; }
.sicherheitsformular .form-text { color: #68788d; font-size: .77rem; line-height: 1.7; }
.sicherheitsformular .form-text ul { padding-left: 18px; margin: 8px 0 0; }
.sicherheitsformular > h1 { font-size: 1.35rem; font-weight: 650; margin-bottom: 20px; }
.sicherheit-unterschrift { border: 1px dashed #d6dee8; border-radius: 10px; min-height: 125px; display: grid; place-items: center; padding: 18px; background: #fafbfc; }
.sicherheit-unterschrift img { max-width: 100%; border: 0; padding: 0; background: transparent; }
.sicherheit-schritte { color: #617086; font-size: .86rem; line-height: 1.8; padding-left: 20px; margin: 18px 0 0; }
.sicherheit-schritte li { padding-left: 6px; margin-bottom: 14px; }
.sicherheit-qr { display: grid; place-items: center; background: #fff; border: 1px solid #e1e6ed; border-radius: 12px; padding: 20px; width: fit-content; margin: 24px auto; }
.sicherheit-qr img { max-width: 100%; height: auto; }
.sicherheit-geheimnis, .sicherheit-codes { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.sicherheit-codes { padding: 18px; background: #fafbfc; font-size: .95rem; line-height: 1.9; resize: vertical; letter-spacing: .06em; }
.sicherheit-email { color: #172b45; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .stamm-kopf, .stamm-aenderung-kopf { flex-direction: column; align-items: flex-start; }
  .stamm-karte { padding: 22px; }
  .stamm-statistik { grid-template-columns: repeat(2, 1fr); }
  .stamm-detail { grid-template-columns: 1fr; }
  .stamm-detail dt { padding-bottom: 2px; border: 0; }
  .stamm-detail dd { padding-top: 0; }
  .stamm-trefferzeile { flex-wrap: wrap; gap: 10px; }
  .stamm-dropzone { padding: 20px; }
}
@media (max-width: 767px) {
  .anmeldung { grid-template-columns: 1fr; margin-top: 1rem; border-radius: 18px; }
  .anmeldung-info { padding: 28px; border-right: 0; border-bottom: 1px solid #e8ebf0; }
  .anmeldung-marke { width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; }
  .anmeldung h1 { font-size: 2rem; }
  .anmeldung-schritte, .anmeldung-hinweis { display: none; }
  .anmeldung-beschreibung { margin-bottom: 0; }
  .anmeldung-formular { padding: 32px 28px; }
}
