/* V4: central editorial profile, inherits existing theme and reader text sizes. */
.kp-v4-author,.kp-v4-about-hero,.kp-v4-about-body{box-sizing:border-box;min-width:0;max-width:100%;}
.kp-v4-author{display:flex;align-items:flex-start;gap:1.25rem;margin:clamp(1rem,3vw,2rem) auto;padding:clamp(1rem,2.5vw,1.5rem);border:1px solid var(--line,#c8d7cf);border-radius:14px;background:var(--paper,#fff);color:var(--ink,#1c2922);font:inherit;line-height:1.6;}
.kp-v4-author>div:last-child{min-width:0;flex:1;}
.kp-v4-author p{margin:.3em 0 .75em;overflow-wrap:anywhere;}
.kp-v4-author>div:last-child>p:first-child{margin-top:0;}
.kp-v4-author>div:last-child>p:last-child{margin-bottom:0;}
.kp-v4-author-links{display:flex;flex-wrap:wrap;gap:.25rem 1rem;}
.kp-v4-author-label{font-size:.82em;text-transform:uppercase;letter-spacing:.055em;color:var(--muted,#54685b);font-weight:700;}
.kp-v4-author-name{font-size:1.18em;font-weight:750;}
.kp-v4-author-role{font-size:.93em;color:var(--muted,#54685b);}
.kp-v4-author a,.kp-v4-about a{color:var(--accent,#147e56);text-decoration:underline;text-underline-offset:.13em;}
.kp-v4-author-photo{flex:0 0 112px;width:112px;}
.kp-v4-author-image{display:block;max-width:100%;height:auto;aspect-ratio:1 / 1;object-fit:cover;border-radius:12px;}
.kp-v4-about{max-width:920px;margin-inline:auto;padding:1rem 0 2.5rem;color:var(--ink,#1c2922);font:inherit;line-height:1.7;}
.kp-v4-about-hero{display:flex;align-items:center;gap:clamp(1rem,4vw,2rem);padding:clamp(1rem,4vw,2rem);border:1px solid var(--line,#c8d7cf);border-radius:16px;background:var(--paper,#fff);}
.kp-v4-about-hero>div:last-child{min-width:0;flex:1 1 320px;}
.kp-v4-about-photo{flex:0 0 min(240px,35%);min-width:0;}
.kp-v4-about-photo img{width:100%;aspect-ratio:3 / 4;object-fit:cover;}
.kp-v4-about h1{font-size:clamp(1.55em,3.8vw,2.15em);line-height:1.25;margin:.2em 0 .65em;}
.kp-v4-about-body{padding:clamp(.25rem,2.5vw,1.5rem);}
.kp-v4-about-body h2{font-size:1.32em;margin:1.5em 0 .45em;}
@media(max-width:540px){.kp-v4-author{gap:.75rem;flex-direction:column;align-items:stretch;flex-wrap:nowrap;}.kp-v4-author-photo{flex:0 0 auto;width:86px;align-self:flex-start;}.kp-v4-author>div:last-child{flex:0 1 auto;width:100%;}.kp-v4-author-links{flex-direction:column;align-items:flex-start;}.kp-v4-about-hero{flex-direction:column;align-items:stretch;}.kp-v4-about-photo{flex-basis:auto;width:min(220px,70vw);}.kp-v4-author-name{font-size:1.1em;}}
@media(prefers-reduced-motion:reduce){.kp-v4-author *, .kp-v4-about *{transition:none!important;}}

/* Server-rendered initial Pilot results and contextual navigation. */
.kp-ssr-intro{margin:.5rem 0 1rem;line-height:1.55;}
.kp-ssr-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;}
.kp-ssr-table{width:100%;min-width:500px;border-collapse:collapse;font:inherit;color:inherit;}
.kp-ssr-table th,.kp-ssr-table td{text-align:left;padding:.75rem;border-bottom:1px solid var(--line,#b7ccc0);vertical-align:top;}
.kp-ssr-table caption{caption-side:top;text-align:left;font-weight:700;margin-bottom:.5rem;}
.kp-v4-related{max-width:100%;padding:.6rem 1rem;margin:1rem 0;border-inline-start:3px solid var(--line,#b7ccc0);font-size:.93em;line-height:1.6;}
.kp-v4-related a{text-decoration:underline;text-underline-offset:.14em;color:var(--accent,#147e56);}
@media(max-width:600px){.kp-ssr-table{font-size:.88em;}.kp-ssr-table th,.kp-ssr-table td{padding:.5rem;}}

/* Distinct supplied media assets: 3:4 profile portrait and 1:1 editorial avatar. */
.kp-v4-about-photo .kp-v4-author-image--profile{aspect-ratio:3 / 4;object-fit:cover;border-radius:12px;}
.kp-v4-author-photo .kp-v4-author-image--box{aspect-ratio:1 / 1;object-fit:cover;}

/* Redaktion und Methodik: bounded reading layout, 2026-11-21. */
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) main{max-width:960px;margin-inline:auto;padding:clamp(20px,4vw,48px) clamp(18px,4vw,32px) 48px;box-sizing:border-box;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) main>section{width:100%;max-width:none;margin:0;padding:0;box-sizing:border-box;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) main>.page-hero{padding:clamp(24px,4vw,40px) clamp(24px,4vw,48px);border-bottom:1px solid var(--line);margin-bottom:32px;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .page-hero h1{font-size:calc(clamp(2rem,4vw,3.25rem) * var(--kp-text-scale, 1));line-height:1.12;max-width:20ch;margin:.35em 0;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) main :is(p,li){line-height:1.75;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) main h2{font-size:calc(clamp(1.5rem,2.5vw,2rem) * var(--kp-text-scale, 1));line-height:1.3;margin:1.5em 0 .7em;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) main h3{font-size:calc(1.2rem * var(--kp-text-scale, 1));line-height:1.4;margin:1.7em 0 .65em;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-method-page ul{padding-left:1.3em;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-method-page li+li{margin-top:.8em;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-method-page .kp-table{min-width:0;width:100%;table-layout:fixed;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-method-page :is(th,td){padding:12px 10px;overflow-wrap:anywhere;white-space:normal;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-method-page caption{text-align:left;font-weight:700;padding:12px 0;}
.kp-v4-author{max-width:900px;}
.kp-v4-about{padding-inline:clamp(18px,3vw,28px);box-sizing:border-box;}
.kp-v4-vita{list-style:none;padding:0;display:grid;gap:1rem;}
.kp-v4-vita li{border-left:3px solid var(--accent);padding:.3rem 0 .3rem 1.25rem;}
.kp-v4-vita h3{font-size:1.1em;line-height:1.4;margin:0 0 .4rem;}
.kp-v4-vita p{margin:0;}
@media(max-width:540px){body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-method-page :is(th,td){padding:9px 5px;font-size:calc(.78rem * var(--kp-text-scale, 1));}body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-method-page th{hyphens:auto;}.kp-v4-about-hero>div:last-child{flex-basis:auto;}.kp-v4-about-photo{align-self:center;}}

/* Keep score columns aligned on phones instead of the product-card layout. */
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-method-page .kp-table-wrap{overflow-x:auto;max-width:100%;overscroll-behavior-inline:contain;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-method-page .kp-table{display:table;min-width:620px;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-method-page .kp-table thead{display:table-header-group;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-method-page .kp-table tbody{display:table-row-group;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-method-page .kp-table tr{display:table-row;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-method-page .kp-table :is(th,td){display:table-cell;font-size:calc(.95rem * var(--kp-text-scale, 1));padding:12px 10px;}
body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-method-page .kp-table td::before{display:none;}
body.kp-landing:has(.kp-v4-about) main>.breadcrumbs{max-width:920px;box-sizing:border-box;margin:20px auto 0;padding-inline:clamp(18px,3vw,28px);}
.kp-v4-about h1{letter-spacing:-.025em;}
@media(max-width:540px){body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-table-wrap::before{content:"Tabelle seitlich verschieben →";display:block;padding:.65rem;font-size:calc(.85rem * var(--kp-text-scale, 1));color:var(--muted);}}

body.kp-landing:has(:where(main > .page-hero) + .kp-method-page) .kp-method-page .kp-table thead{position:static;width:auto;height:auto;overflow:visible;clip-path:none;}

/* Compact author box uses the same manual Aa factor as the page. */
.kp-author-compact .kp-v4-author-label{font-size:calc(.78rem * var(--kp-text-scale, 1));}
.kp-author-compact .kp-v4-author-name{font-size:calc(1rem * var(--kp-text-scale, 1));}
.kp-author-compact .kp-v4-author-role{font-size:calc(.84rem * var(--kp-text-scale, 1));}
.kp-author-compact-body{font-size:calc(.9rem * var(--kp-text-scale, 1));}
