/* Freiwillige Mandantenfragebögen */
.fb-hero{background:var(--brass-soft);padding:2.2rem 0 1.6rem;border-bottom:1px solid var(--line)}
.fb-hero h1{font-size:var(--text-xl);margin:.2rem 0 1rem}
.fb-optional{background:#fff;border-left:4px solid var(--green);padding:1rem 1.2rem;max-width:860px;line-height:1.55}
.fb-quick{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.8rem}
.fb-body{padding:2rem 0 3rem}
.fb-grid{display:grid;grid-template-columns:290px 1fr;gap:2rem;align-items:start}
.fb-side{position:sticky;top:90px;display:grid;gap:1rem}
.fb-card{border:1px solid var(--line);padding:1rem;background:#fff;font-size:var(--text-sm)}
.fb-card p{margin:.2rem 0}
.fb-frist{border-color:#ecd78a;background:#fff8e1}
.fb-ul{margin:.3rem 0 .5rem 1.1rem;padding:0}
.fb-ul li{margin:.2rem 0}
.fb-who{display:flex;gap:.8rem;align-items:center}
.fb-who img{width:72px;height:72px;object-fit:cover;object-position:50% 20%;border-radius:50%;flex:none}
.fb-letter-text{background:#fff;border:1px solid var(--line);padding:1.3rem 1.5rem;line-height:1.65;margin-bottom:1rem}
.fb-warn{background:#fdecec;border:1px solid #e8b3b3;padding:.7rem 1rem;font-size:var(--text-sm)}
.fb-prog{position:sticky;top:64px;height:4px;background:var(--line);margin:1rem 0;z-index:5}
.fb-prog span{display:block;height:100%;width:0;background:var(--green);transition:width .3s}
.fb-sec{border:1px solid var(--line);padding:1.2rem 1.4rem;margin:0 0 1.2rem;background:#fff}
.fb-sec h2{font-size:var(--text-lg);display:flex;gap:.7rem;align-items:center;margin:0 0 .8rem}
.fb-sec h2 span{display:inline-grid;place-items:center;width:30px;height:30px;background:var(--ink);color:#fff;font-size:.9rem;flex:none}
.fb-f{margin:0 0 1rem;border:0;padding:0;min-width:0}
.fb-f label,.fb-f legend{display:block;font-weight:600;margin-bottom:.3rem;padding:0}
.fb-f input[type=text],.fb-f input[type=date],.fb-f textarea{width:100%;box-sizing:border-box;border:1px solid #cfcfcf;padding:.65rem .75rem;font:inherit;background:#fff}
.fb-f input:focus,.fb-f textarea:focus{outline:2px solid var(--green);outline-offset:1px}
.fb-h{display:block;color:var(--muted);font-size:var(--text-xs);margin:0 0 .4rem;font-weight:400}
.fb-opts{display:flex;flex-wrap:wrap;gap:.4rem}
.fb-opt{display:inline-flex!important;align-items:center;gap:.45rem;border:1px solid #cfcfcf;padding:.45rem .7rem;font-weight:400!important;cursor:pointer;margin:0!important}
.fb-opt:has(input:checked){border-color:var(--green);background:#eef6f2}
.fb-send .check{margin:.6rem 0;font-size:var(--text-sm)}
.fb-btns{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}
.fb-done{background:#eef6f2;border:1px solid var(--green);padding:1rem;margin-top:1rem}
.fb-mandat{margin-top:1rem}
.fb-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}
.fb-tile{display:grid;gap:.4rem;border:1px solid var(--line);padding:1.2rem;text-decoration:none;color:var(--text);background:#fff}
.fb-tile:hover{border-color:var(--green)}
.fb-tile strong{font-size:var(--text-lg);color:var(--ink)}
.fb-tile em{font-style:normal;color:var(--green);font-weight:600;font-size:var(--text-sm)}
.fb-letter{display:none}
.fb-band{background:var(--brass-soft);border-top:1px solid var(--line);padding:1.6rem 0}
.fb-band .wrap{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between}
.fb-band p{margin:0;max-width:720px}
@media (max-width:860px){.fb-grid{grid-template-columns:1fr}.fb-side{position:static;order:2}.fb-sec{padding:1rem}}
@media print{
  .topbar,header.top,footer.foot,.lp-sticky,.fb-hero,.fb-side,.fb-btns,.fb-mandat,.fb-prog,.fb-warn,dialog,.cc-banner,#fbErr,.fb-send .check{display:none!important}
  .fb-letter{display:flex!important;gap:1rem;align-items:center;border-bottom:2px solid #000;padding-bottom:.5rem;margin-bottom:1rem;font-size:9pt}
  body{font-size:10.5pt}.fb-grid{display:block}.fb-body{padding:0}
  .fb-sec,.fb-letter-text{border:0;padding:0;margin-bottom:.8rem;break-inside:auto}
  .fb-f{break-inside:avoid}
  .fb-f textarea{min-height:5em;border:1px solid #999}
  .fb-opt{border:0;padding:.1rem .4rem .1rem 0}
}
.fb-letter-text p{margin:0 0 .8rem}
@media (max-width:860px){body.fb-page .crc-launch{display:none}}
