/* Audience service pages: content-first extensions to the existing IMLU system. */
.t7-page{--t7-quiet:#ede8de}
html[data-theme=dark] .t7-page{--t7-quiet:#222e25}
.t7-page :is(section,nav)[id]{scroll-margin-top:100px}
.t7-hero{padding-bottom:100px}
.t7-hero .aud-hero-grid{align-items:start}
.t7-hero .aud-hero-aside{margin-top:15px}
.t7-hero-intro{max-width:760px}
.t7-hero-intro p{margin:0 0 17px;color:#e1e6dc;font-size:clamp(15px,1.35vw,19px);line-height:1.7}
.t7-hero-intro p:last-child{margin-bottom:0}
.t7-hero .aud-hero-actions{margin-top:34px}
.t7-legal .t7-hero-context,.t7-investor .t7-hero-context{max-width:760px;margin-top:32px;color:#d6ded3;font-size:15px;line-height:1.7}
.t7-legal .t7-hero-context p,.t7-investor .t7-hero-context p{margin:0 0 15px}
.t7-contents{padding:23px 0;border-block:1px solid var(--aud-line);background:var(--aud-surface)}
.t7-contents .aud-shell{display:flex;gap:25px;align-items:start}
.t7-contents strong{min-width:110px;padding-top:6px;color:var(--aud-accent);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.t7-contents .aud-shell>div{display:flex;flex-wrap:wrap;gap:4px 17px}
.t7-contents a{padding:5px 0;color:var(--aud-text);font-size:12px;font-weight:650;text-decoration:underline;text-decoration-color:#ae8b59;text-underline-offset:4px}
.t7-section{padding:88px 0;border-bottom:1px solid var(--aud-line)}
.t7-section:nth-of-type(even){background:var(--t7-quiet)}
.t7-section-grid{display:grid;grid-template-columns:minmax(210px,.68fr) minmax(0,1.32fr);gap:clamp(35px,6vw,100px)}
.t7-section-heading h2{max-width:430px;margin:0;font-size:clamp(31px,3.2vw,48px);line-height:1.13;letter-spacing:-.052em;overflow-wrap:anywhere}
.t7-prose{min-width:0;max-width:790px;color:var(--aud-muted);font-size:15px;line-height:1.78}
.t7-prose>:first-child{margin-top:0}.t7-prose>:last-child{margin-bottom:0}
.t7-prose p{margin:0 0 20px}.t7-prose h3{margin:35px 0 10px;color:var(--aud-text);font:700 clamp(21px,2vw,29px)/1.2 'DM Sans',Arial,sans-serif;letter-spacing:-.035em}
.t7-prose h3:first-child{margin-top:0}
.t7-prose :is(ul,ol){padding-left:1.4em;margin:0 0 25px}.t7-prose li{margin-bottom:11px;padding-left:3px}.t7-prose strong{color:var(--aud-text)}
.t7-prose a,.t7-contact-lead a,.t7-sources a{color:var(--aud-accent);text-decoration:underline;text-underline-offset:4px}
.t7-prose :is(a,summary):focus-visible,.t7-contact :is(input,select,textarea,button,summary):focus-visible{outline:3px solid #be965b;outline-offset:3px}
.t7-table-wrap{max-width:100%;overflow-x:auto;margin:26px 0 27px;border-block:1px solid var(--aud-line)}
.t7-scroll-hint{display:none}
.t7-table-wrap:focus-visible{outline:3px solid #be965b;outline-offset:2px}
.t7-table-wrap table{border-collapse:collapse;width:100%;min-width:525px;font-size:13px;line-height:1.5;font-variant-numeric:tabular-nums}
.t7-table-wrap caption{padding:14px 4px 10px;color:var(--aud-text);font-size:12px;font-weight:800;text-align:left}
.t7-table-wrap :is(th,td){padding:11px 8px;border-top:1px solid var(--aud-line);vertical-align:top}
.t7-table-wrap th{text-align:left;font-weight:650;color:var(--aud-text)}
.t7-table-wrap td{text-align:right;white-space:nowrap;color:var(--aud-text);font-weight:700}
.t7-table-wrap thead th:not(:first-child){text-align:right}
.t7-table-wrap thead th{font-size:11px;line-height:1.4;color:var(--aud-muted)}
.t7-section-calc{background:#e6dece!important}
html[data-theme=dark] .t7-section-calc{background:#263227!important}
.t7-section-calc .t7-section-grid{display:block}.t7-section-calc .t7-section-heading h2{max-width:900px;margin-bottom:35px}
.t7-section-calc .t7-prose{max-width:1100px}
.t7-calc{display:grid;grid-template-columns:1fr 1fr;column-gap:50px}
.t7-calc>*{grid-column:1/-1}.t7-calc>.t7-table-wrap:first-of-type{grid-column:1}.t7-calc>.t7-table-wrap:first-of-type+h3{grid-column:1/-1}
.t7-calc-intro{max-width:830px;color:var(--aud-text);font-size:17px!important;line-height:1.65}
.t7-calc .t7-table-wrap{background:var(--aud-surface);padding:0 17px;margin:18px 0 30px}
.t7-calc h3{margin:35px 0 0!important}
.t7-downside{margin:34px 0;padding:21px 25px;border-left:3px solid #ad775e;background:var(--aud-surface);color:var(--aud-text)}
.t7-exclusions{margin-top:25px;padding-top:20px;border-top:1px solid var(--aud-line);font-size:13px;line-height:1.75}
.t7-faq-list{border-top:1px solid var(--aud-line)}.t7-faq-list details{border-bottom:1px solid var(--aud-line)}
.t7-faq-list summary{padding:18px 0;color:var(--aud-text);cursor:pointer;font-size:17px;font-weight:750;line-height:1.45}
.t7-faq-list details>div{padding:0 0 20px}.t7-faq-list details>div>*:last-child{margin-bottom:0}
.t7-sources{padding-block:53px}.t7-sources h2{margin:0 0 9px;font-size:23px}.t7-sources p{max-width:760px;color:var(--aud-muted);line-height:1.7}.t7-sources ul{margin:14px 0 0;padding-left:1.2em;line-height:1.7}
.t7-contact{padding:95px 0;background:#223128;color:#f6f3eb}
.t7-contact-grid{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:clamp(35px,6vw,95px);align-items:start}
.t7-contact h2{margin:0 0 18px;font-size:clamp(35px,3.7vw,54px);line-height:1.1;letter-spacing:-.05em}
.t7-investor .t7-contact h2{font-size:clamp(31px,3vw,46px)}
.t7-contact-lead p{color:#d6ded3;line-height:1.7;font-size:15px}.t7-contact-lead p:first-child{margin-top:0}
.t7-contact-person{margin-top:28px;color:#e3c48f;font-size:12px;font-weight:700}
.t7-contact .aud-form{background:#f8f6f0;color:#233028}.t7-contact .aud-form :is(label,summary){color:#233028}.t7-contact .aud-form input,.t7-contact .aud-form select,.t7-contact .aud-form textarea{background:#fff;color:#1f2a23;border-color:#b1b4a9}
.t7-contact .aud-form :is(input,select,textarea){max-width:100%}.t7-contact .aud-form .aud-form-note{color:#4e5a50}
.t7-contact .aud-form .aud-form-note a{color:#654721;text-decoration:underline}
.t7-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.t7-field-row>*{min-width:0}
.t7-form-details{margin:21px 0 25px;padding:14px 0;border-block:1px solid #cacbbe;color:#3d4a40}
.t7-form-details summary{font-size:14px;font-weight:800;cursor:pointer}.t7-form-details>p,.t7-form-hint{font-size:12px;line-height:1.6;color:#536053}
.t7-form-details[open] summary{margin-bottom:16px}
.t7-form input[type=file]{font-size:12px}.t7-form .photo-selection{color:#39483c;font-size:12px}
.t7-form .form-feedback:empty{display:none}.t7-form .form-feedback:not(:empty){padding:14px 17px;background:#e9eee4;color:#294231;margin:0 0 23px}
@media(max-width:980px){.t7-section-grid{grid-template-columns:minmax(0,1fr)}.t7-prose{max-width:850px}.t7-section-heading h2{max-width:750px}.t7-contact-grid{grid-template-columns:1fr}}
@media(max-width:700px){.t7-hero{padding-bottom:62px}.t7-contents .aud-shell{display:block}.t7-contents strong{display:block;margin-bottom:8px}.t7-section{padding:59px 0}.t7-calc{display:block}.t7-contact{padding:66px 0}.t7-field-row{grid-template-columns:1fr}.t7-table-wrap table{min-width:490px}.t7-scroll-hint{display:block;width:100%;padding:9px 4px 2px;color:var(--aud-muted);font-size:11px;font-weight:650}}
@media(max-width:390px){.t7-hero h1{font-size:clamp(36px,10.1vw,42px)}.t7-contents .aud-shell>div{gap:2px 13px}.t7-table-wrap table{font-size:12px}.t7-calc .t7-table-wrap{padding:0 11px}.t7-contact .aud-form{padding:21px 17px}}
@media(max-width:390px){.t7-legal .t7-hero h1{font-size:33px;line-height:1.1;letter-spacing:-.055em}.t7-legal .t7-hero .aud-hero-actions{margin-top:22px}.t7-legal .t7-hero-context{font-size:14px}}
@media(max-width:390px){.t7-investor .t7-hero h1{font-size:32px;line-height:1.1;letter-spacing:-.055em}.t7-investor .t7-hero .aud-hero-actions{margin-top:22px}.t7-investor .t7-hero-context{font-size:14px}}
@media(max-width:700px){
  .t7-extra-fee-table{overflow:visible}
  .t7-extra-fee-table .t7-scroll-hint,.t7-extra-fee-table thead{display:none}
  .t7-extra-fee-table table{min-width:0;width:100%}
  .t7-extra-fee-table tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;padding:13px 4px;border-top:1px solid var(--aud-line)}
  .t7-extra-fee-table tbody tr>*{border:0;padding:0}
  .t7-extra-fee-table tbody tr th{grid-column:1/-1}
  .t7-extra-fee-table tbody tr td:first-of-type{text-align:left}
  .t7-extra-fee-table tbody tr td:first-of-type::before{content:"Stunden: ";font-weight:400}
  .t7-extra-fee-table tbody tr td:last-of-type::before{content:"Honorar: CHF ";font-weight:400}
}
@media(max-width:700px){
  .t7-partner-fees{overflow:visible}
  .t7-partner-fees .t7-scroll-hint,.t7-partner-fees thead{display:none}
  .t7-partner-fees table{min-width:0;width:100%}
  .t7-partner-fees tbody tr{display:grid;gap:5px;padding:14px 4px;border-top:1px solid var(--aud-line)}
  .t7-partner-fees tbody tr>*{border:0;padding:0}
  .t7-partner-fees tbody tr th{margin-bottom:4px}
  .t7-partner-fees tbody tr td{display:flex;justify-content:space-between;gap:8px;white-space:normal;text-align:right}
  .t7-partner-fees tbody tr td::before{color:var(--aud-muted);font-weight:450;text-align:left}
  .t7-partner-fees tbody tr td:nth-of-type(1)::before{content:"Ist-Zustand"}
  .t7-partner-fees tbody tr td:nth-of-type(2)::before{content:"Nach Aufwertung"}
  .t7-partner-fees tbody tr td:nth-of-type(3)::before{content:"Differenz"}
}
@media(max-width:700px){
  .t7-broker-roles{overflow:visible}
  .t7-broker-roles .t7-scroll-hint,.t7-broker-roles thead{display:none}
  .t7-broker-roles table{min-width:0;width:100%}
  .t7-broker-roles tbody tr{display:block;padding:12px 4px;border-top:1px solid var(--aud-line)}
  .t7-broker-roles tbody tr>*{display:block;border:0;padding:0;text-align:left;white-space:normal}
  .t7-broker-roles tbody tr td{margin-top:4px;font-weight:450;line-height:1.55}
}
/* Nachlassberatung: keep the role matrix and narrow calculations legible on phones. */
@media(max-width:700px){
  .t7-legal-roles,.t7-legal-summary,.t7-legal-advice{overflow:visible}
  .t7-legal-roles .t7-scroll-hint,.t7-legal-summary .t7-scroll-hint,.t7-legal-advice .t7-scroll-hint,
  .t7-legal-roles thead,.t7-legal-summary thead,.t7-legal-advice thead{display:none}
  .t7-legal-roles table,.t7-legal-summary table,.t7-legal-advice table{min-width:0;width:100%}
  .t7-legal-roles tbody tr,.t7-legal-summary tbody tr,.t7-legal-advice tbody tr{display:grid;gap:5px;padding:12px 4px;border-top:1px solid var(--aud-line)}
  .t7-legal-roles tbody tr>*,.t7-legal-summary tbody tr>*,.t7-legal-advice tbody tr>*{display:block;border:0;padding:0;text-align:left;white-space:normal}
  .t7-legal-roles tbody tr td{font-weight:450;line-height:1.55}
  .t7-legal-summary tbody tr td,.t7-legal-advice tbody tr td{font-variant-numeric:tabular-nums;font-weight:750}
  .t7-legal-advice tbody tr{grid-template-columns:1fr auto;gap:4px 12px}
  .t7-legal-advice tbody tr th{grid-column:1/-1}
  .t7-legal-advice tbody tr td:nth-of-type(1)::before{content:'Stunden: ';font-weight:400}
  .t7-legal-advice tbody tr td:nth-of-type(2)::before{content:'CHF ';font-weight:400}
}
/* Investor comparison: preserve the three options with visible labels at narrow widths. */
@media(max-width:700px){
  .t7-investor-summary,.t7-investor-options,.t7-investor-roles{overflow:visible}
  .t7-investor-summary .t7-scroll-hint,.t7-investor-options .t7-scroll-hint,.t7-investor-roles .t7-scroll-hint,
  .t7-investor-summary thead,.t7-investor-options thead,.t7-investor-roles thead{display:none}
  .t7-investor-summary table,.t7-investor-options table,.t7-investor-roles table{min-width:0;width:100%}
  .t7-investor-summary tbody tr,.t7-investor-options tbody tr,.t7-investor-roles tbody tr{display:grid;gap:5px;padding:12px 4px;border-top:1px solid var(--aud-line)}
  .t7-investor-summary tbody tr>*,.t7-investor-options tbody tr>*,.t7-investor-roles tbody tr>*{display:block;border:0;padding:0;text-align:left;white-space:normal}
  .t7-investor-summary tbody tr td,.t7-investor-options tbody tr td{font-variant-numeric:tabular-nums;font-weight:750}
  .t7-investor-roles tbody tr td{font-weight:450;line-height:1.55}
  .t7-investor-options tbody tr td{display:flex;justify-content:space-between;gap:10px}
  .t7-investor-options tbody tr td::before{color:var(--aud-muted);font-weight:450;text-align:left}
  .t7-investor-options tbody tr td:nth-of-type(1)::before{content:'Vorab für Arbeiten CHF'}
  .t7-investor-options tbody tr td:nth-of-type(2)::before{content:'Nach Verkauf CHF'}
}

/* Clearing/moving: keep the owner figures visible without sideways scrolling. */
.t7-clearing .aud-hero-actions .aud-link{display:inline-flex;align-items:center;min-height:44px;line-height:1.45}
@media(max-width:700px){
  .t7-clearing-summary{overflow:visible}
  .t7-clearing-summary .t7-scroll-hint,.t7-clearing-summary thead{display:none}
  .t7-clearing-summary table{min-width:0;width:100%}
  .t7-clearing-summary tbody tr{display:grid;gap:4px;padding:12px 4px;border-top:1px solid var(--aud-line)}
  .t7-clearing-summary tbody tr>*{display:block;border:0;padding:0;text-align:left;white-space:normal}
  .t7-clearing-summary tbody tr td{font-variant-numeric:tabular-nums;font-weight:750}
  .t7-clearing-summary tbody tr td::before{content:'CHF ';font-weight:450}
}

/* Inheritance: keep the total owner-side figures separate from heir shares. */
.t7-inheritance .aud-hero-actions .aud-link{display:inline-flex;align-items:center;min-height:44px;line-height:1.45}
@media(max-width:390px){.t7-inheritance .t7-hero h1{font-size:32px;line-height:1.1;letter-spacing:-.055em}}
@media(max-width:700px){
  .t7-inheritance-summary,.t7-inheritance-compare{overflow:visible}
  .t7-inheritance-summary .t7-scroll-hint,.t7-inheritance-compare .t7-scroll-hint,
  .t7-inheritance-summary thead,.t7-inheritance-compare thead{display:none}
  .t7-inheritance-summary table,.t7-inheritance-compare table{min-width:0;width:100%}
  .t7-inheritance-summary tbody tr,.t7-inheritance-compare tbody tr{display:grid;gap:4px;padding:12px 4px;border-top:1px solid var(--aud-line)}
  .t7-inheritance-summary tbody tr>*,.t7-inheritance-compare tbody tr>*{display:block;border:0;padding:0;text-align:left;white-space:normal}
  .t7-inheritance-summary tbody tr td,.t7-inheritance-compare tbody tr td{font-variant-numeric:tabular-nums;font-weight:750}
  .t7-inheritance-summary tbody tr td::before{content:'CHF ';font-weight:450}
  .t7-inheritance-compare tbody tr td:nth-of-type(1)::before{content:'Verkaufshonorar · CHF ';font-weight:450}
  .t7-inheritance-compare tbody tr:last-child td:nth-of-type(1)::before{content:'Verkaufshonorar · ';font-weight:450}
  .t7-inheritance-compare tbody tr td:nth-of-type(2)::before{content:'Erlös Eigentümerseite · CHF ';font-weight:450}
}

/* Care-home move: distinguish property proceeds from personal care finances. */
.t7-care .aud-hero-actions .aud-link{display:inline-flex;align-items:center;min-height:44px;line-height:1.45}
@media(max-width:390px){.t7-care .t7-hero h1{font-size:32px;line-height:1.1;letter-spacing:-.055em}}
@media(max-width:700px){
  .t7-care-summary,.t7-care-compare{overflow:visible}
  .t7-care-summary .t7-scroll-hint,.t7-care-compare .t7-scroll-hint,
  .t7-care-summary thead,.t7-care-compare thead{display:none}
  .t7-care-summary table,.t7-care-compare table{min-width:0;width:100%}
  .t7-care-summary tbody tr,.t7-care-compare tbody tr{display:grid;gap:4px;padding:12px 4px;border-top:1px solid var(--aud-line)}
  .t7-care-summary tbody tr>*,.t7-care-compare tbody tr>*{display:block;border:0;padding:0;text-align:left;white-space:normal}
  .t7-care-summary tbody tr td,.t7-care-compare tbody tr td{font-variant-numeric:tabular-nums;font-weight:750}
  .t7-care-summary tbody tr td::before{content:'CHF ';font-weight:450}
  .t7-care-compare tbody tr td:nth-of-type(1)::before{content:'Verkaufshonorar · CHF ';font-weight:450}
  .t7-care-compare tbody tr:last-child td:nth-of-type(1)::before{content:'Verkaufshonorar · ';font-weight:450}
  .t7-care-compare tbody tr td:nth-of-type(2)::before{content:'Erlös Eigentümerseite · CHF ';font-weight:450}
}

/* Separation: totals refer to the whole owner side, not personal shares. */
.t7-separation .aud-hero-actions .aud-link{display:inline-flex;align-items:center;min-height:44px;line-height:1.45}
@media(max-width:390px){.t7-separation .t7-hero h1{font-size:32px;line-height:1.1;letter-spacing:-.055em}}

/* Independent editorial photos for the three private-owner situations. */
.t7-editorial-photo{max-width:900px;margin:36px auto 58px}
.t7-editorial-photo picture,.t7-editorial-photo img{display:block;width:100%}
.t7-editorial-photo img{height:auto;aspect-ratio:3/2;object-fit:cover;background:#d8d5cc}
.t7-editorial-photo figcaption{margin-top:12px;color:var(--aud-muted);font-size:11px;line-height:1.5}
@media(max-width:700px){
  .t7-editorial-photo{margin:22px auto 40px}
  .t7-editorial-photo img{aspect-ratio:4/3}
}
@media(max-width:700px){
  .t7-separation-summary,.t7-separation-compare{overflow:visible}
  .t7-separation-summary .t7-scroll-hint,.t7-separation-compare .t7-scroll-hint,
  .t7-separation-summary thead,.t7-separation-compare thead{display:none}
  .t7-separation-summary table,.t7-separation-compare table{min-width:0;width:100%}
  .t7-separation-summary tbody tr,.t7-separation-compare tbody tr{display:grid;gap:4px;padding:12px 4px;border-top:1px solid var(--aud-line)}
  .t7-separation-summary tbody tr>*,.t7-separation-compare tbody tr>*{display:block;border:0;padding:0;text-align:left;white-space:normal}
  .t7-separation-summary tbody tr td,.t7-separation-compare tbody tr td{font-variant-numeric:tabular-nums;font-weight:750}
  .t7-separation-summary tbody tr td::before{content:'CHF ';font-weight:450}
  .t7-separation-compare tbody tr td:nth-of-type(1)::before{content:'Verkaufshonorar · CHF ';font-weight:450}
  .t7-separation-compare tbody tr:last-child td:nth-of-type(1)::before{content:'Verkaufshonorar · ';font-weight:450}
  .t7-separation-compare tbody tr td:nth-of-type(2)::before{content:'Erlös Eigentümerseite · CHF ';font-weight:450}
}
