/* Kunden-Center · Erben- und Empfangserklärung. Werte aus dem Token-Set --cc-* (customer-center.css). */
.heir-entry{border-top:1px solid var(--cc-line,#e6dcec);padding:16px 0}
.heir-entry summary{display:flex;align-items:center;gap:8px;margin-bottom:18px;padding:8px 0;color:var(--cc-plum-dark,#4e2555);font:600 15px/1.4 var(--cc-sans,"Segoe UI",Arial,sans-serif);cursor:pointer;list-style:none}
.heir-entry summary::-webkit-details-marker{display:none}
.heir-entry summary::before{content:"";width:16px;height:16px;flex:0 0 16px;background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e2555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center/16px no-repeat;transition:transform .15s}
.heir-entry[open]>summary::before{transform:rotate(90deg)}
.heir-entry fieldset{margin:20px 0;padding:16px 18px;border:1px solid var(--cc-line,#e6dcec);border-radius:12px;min-width:0}
.heir-check{display:flex;align-items:flex-start;gap:10px;margin:12px 0;line-height:1.5}
.heir-check input{width:18px!important;height:18px;min-width:18px;margin-top:3px;accent-color:var(--cc-plum,#643182)}
.heir-terms{margin:22px 0;padding:18px 20px;border-radius:12px;background:var(--cc-soft,#f6f1f9);color:var(--cc-text,#4a3d52);line-height:1.6}
.heir-terms h3{margin:0 0 10px}
.heir-terms p{margin:0 0 10px}
.heir-terms p:last-child{margin-bottom:0}
.heir-sign-label{display:block;margin:18px 0 8px;color:var(--cc-muted,#6f667a);font:600 13.5px/1.4 var(--cc-sans,"Segoe UI",Arial,sans-serif)}
.heir-signature{display:block;width:100%;height:auto;aspect-ratio:15/4;background:#fff;border:1px dashed var(--cc-line-strong,#d9c6e3);border-radius:12px;touch-action:none}
.heir-entry .button-row{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:14px}
.heir-entry .button{white-space:normal;max-width:100%}
.heir-message{min-height:1.5em;overflow-wrap:anywhere;color:var(--cc-plum-dark,#4e2555);font-weight:600}
.heir-submission{padding:16px 0;border-top:1px solid var(--cc-line,#e6dcec)}
.heir-submission p,.heir-check span{overflow-wrap:anywhere}
body[data-experience="portal"] .family-quick-nav:has([href="#family-heirs"]){grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:760px){body[data-experience="portal"] .family-quick-nav:has([href="#family-heirs"]){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.heir-entry .form-grid{grid-template-columns:1fr}.heir-signature{aspect-ratio:15/6;object-fit:fill}.heir-entry fieldset{padding:12px}.heir-entry .button-row{flex-direction:column}.heir-entry .button-row .button{width:100%}}
