
.chapter-header{padding-top:25px;padding-bottom:40px;border-bottom:1px solid var(--line)}
.chapter-header .papa-breadcrumb{margin-bottom:42px}.chapter-page .chapter-header h1{max-width:950px;font-size:clamp(2.5rem,5.2vw,4.5rem);line-height:1.08;letter-spacing:-.04em}
.chapter-subtitle{max-width:780px;font-size:1.2rem;color:var(--muted);line-height:1.65;margin-block:24px}
.chapter-meta{font-size:.85rem;color:var(--muted);display:flex;gap:12px;flex-wrap:wrap}
.chapter-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:65px;padding-block:44px 75px;align-items:start}
.chapter-toc{position:sticky;top:120px;font-size:.85rem;border-top:2px solid #c6ad7b;padding-top:16px}
.chapter-toc summary{font-weight:800;cursor:pointer;padding-block:8px}.chapter-toc ol{padding-left:20px;margin:12px 0 24px}.chapter-toc li{padding:5px 0}.chapter-toc a{text-decoration:none;color:var(--muted)}.chapter-toc a:hover{text-decoration:underline;color:var(--green)}.chapter-toc>p{font-size:.75rem;color:var(--muted);border-top:1px solid var(--line);padding-top:16px}
.chapter-text{min-width:0;max-width:800px;font-family:Georgia,'Times New Roman',serif;font-size:1.15rem;line-height:1.85}
.chapter-text>p{margin-bottom:1.15em}.chapter-text>p:first-child{font-size:1.45rem;color:var(--green)}
.chapter-page .chapter-text h2{font-size:clamp(1.7rem,2.6vw,2.3rem);line-height:1.2;margin:55px 0 25px;scroll-margin-top:180px}
.chapter-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:34px 0 38px;font-family:ui-sans-serif,system-ui,sans-serif}
.chapter-gallery figure{margin:0;min-width:0}.chapter-gallery a{display:block;background:#eae5dc;border-radius:12px;overflow:hidden}.chapter-gallery img{display:block;width:100%;height:350px;object-fit:contain}.chapter-gallery figcaption{font-size:.77rem;line-height:1.5;color:var(--muted);padding:10px 2px 0}
.chapter-gallery figure:only-child{max-width:420px;width:100%;margin-inline:auto}.chapter-gallery-single{grid-template-columns:1fr}.chapter-gallery-single img{height:auto;max-height:530px}.chapter-gallery figure:nth-child(3){grid-column:1/-1;max-width:330px;justify-self:center}
.chapter-end{font-family:ui-sans-serif,system-ui,sans-serif;border-top:1px solid var(--line);margin-top:45px;padding-top:30px;font-size:1rem}.chapter-end .btn{font-size:.9rem}.chapter-top{display:block;font-size:.8rem;margin-top:20px;color:var(--muted)}
@media(max-width:1000px){.chapter-layout{grid-template-columns:200px minmax(0,1fr);gap:30px}.chapter-toc{top:170px}.chapter-gallery img{height:280px}}
@media(max-width:760px){.chapter-layout{grid-template-columns:1fr;gap:30px;padding-block:25px 50px}.chapter-toc{position:static}.chapter-toc ol{columns:2;column-gap:28px}.chapter-toc li{break-inside:avoid}.chapter-header .papa-breadcrumb{margin-bottom:30px}.chapter-text{font-size:1.08rem}.chapter-page .chapter-header h1{font-size:clamp(2.2rem,8vw,3.5rem)}.chapter-gallery img{height:340px}.chapter-subtitle{font-size:1.08rem}}
@media(max-width:480px){.chapter-toc ol{columns:1}.chapter-gallery{grid-template-columns:1fr;gap:22px}.chapter-gallery img{height:auto;max-height:520px}.chapter-gallery figure:nth-child(3){grid-column:auto;max-width:none}.chapter-header{padding-bottom:25px}}
@media print{.site-header,.site-footer,.chapter-toc,.chapter-end{display:none}.chapter-layout{display:block}.chapter-gallery{break-inside:avoid}.chapter-text{max-width:none}}

/* V84: kompakte Fotos der Erstausstattung und persönlicher Abschluss. */
.chapter-gallery-compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:720px;margin-inline:auto}
.chapter-gallery-compact img{height:215px;object-fit:contain}
.chapter-gallery-compact figure:nth-child(3){grid-column:auto;max-width:none;justify-self:stretch}
.chapter-gallery-compact.chapter-gallery-single{grid-template-columns:1fr;max-width:270px}
.chapter-gallery-compact.chapter-gallery-single img{height:auto;max-height:350px}
@media(max-width:540px){.chapter-gallery-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.chapter-gallery-compact img{height:190px}.chapter-gallery-compact figure:nth-child(3){grid-column:1/-1;max-width:230px;justify-self:center}.chapter-gallery-compact.chapter-gallery-single{grid-template-columns:1fr}}
