/* Human comparison page styles (front matter default `css: compare-page`): the Manor quote from the homepage, then the comparison page sections. */
/* Homepage sections ported from the concepts' "Produkt" page: the Manor quote, Made in Europe, the closing call to action. */

/* Manor: quote left, figures right, aligned on their lower edge */
/* Half a section more room above and below than the plain-section rhythm gives */
.sec.hp-story,.sec:not(.band):not(.full-dark)+.sec.hp-story:not(.band){padding-top:calc(var(--sec)*.5);padding-bottom:calc(var(--sec)*1.5)}
.hp-story-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:clamp(28px,5vw,72px);align-items:end}
.hp-quote{margin:0;display:grid;gap:24px;justify-items:start}
.hp-quote img{height:24px;width:auto}
.hp-quote blockquote{margin:0;font-family:var(--serif);font-size:clamp(24px,2.6vw,34px);line-height:1.3;letter-spacing:-.01em;text-wrap:pretty}
.hp-quote figcaption{display:flex;align-items:center;gap:14px;font-size:14.5px;color:var(--ink-2)}
.hp-quote figcaption b{display:block;color:var(--ink);font-weight:550}
.hp-quote .av{width:44px;height:44px;border-radius:50%;background:var(--tint-a);border:1px solid var(--line-2);display:grid;place-items:center;font-weight:600;font-size:14px;color:var(--ink)}
.hp-kpis{display:grid;border-top:1px solid var(--ink)}
.hp-kpis p{padding:18px 0;border-bottom:1px solid var(--line)}
.hp-kpis b{display:block;font-family:var(--serif);font-size:40px;font-weight:400;letter-spacing:-.02em;line-height:1.1}
.hp-kpis span{color:var(--ink-2);font-size:14.5px}
.hp-kpis .link{margin-top:22px;justify-self:start}
@media (max-width:900px){.hp-story-grid{grid-template-columns:1fr}}

/* Made in Europe: the dark panel, four facts in a ruled row */
.hp-eu{padding:clamp(36px,6vw,80px) clamp(22px,5vw,72px)}
.hp-eu h2{max-width:18ch}
.hp-eu .lead{margin-top:22px;max-width:56ch}
.hp-eu-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:52px;border-top:1px solid var(--dark-line)}
.hp-eu-grid>div{padding:22px 22px 0 0}
.hp-eu-grid>div+div{padding-left:22px;border-left:1px solid var(--dark-line)}
.hp-eu-grid small{display:block;font-size:13px;color:var(--accent)}
.hp-eu-grid b{display:block;margin-top:8px;font-weight:550;color:var(--on-dark)}
.hp-eu-grid p{margin-top:6px;font-size:14px;line-height:1.5}
.hp-eu-links{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:40px}
@media (max-width:900px){
  .hp-eu-grid{grid-template-columns:1fr 1fr}
  .hp-eu-grid>div:nth-child(3){padding-left:0;border-left:0}
  .hp-eu-grid>div:nth-child(n+3){border-top:1px solid var(--dark-line);margin-top:22px}
}
@media (max-width:520px){
  .hp-eu-grid{grid-template-columns:1fr}
  .hp-eu-grid>div,.hp-eu-grid>div+div{padding:20px 0;border-left:0;margin-top:0}
  .hp-eu-grid>div+div{border-top:1px solid var(--dark-line)}
}

/* Closing call to action */


/* Human comparison pages (_layouts/comparison.html, front matter default css: compare-page) */
.cmp-hero h1{max-width:22ch;hyphens:auto;overflow-wrap:break-word}
.cmp-hero .lead{max-width:64ch}
.cmp-flag{padding:8px 14px;border-radius:var(--r-sm);border:1px dashed var(--line-2);background:var(--surface);font-size:var(--t-small);font-weight:550}
.cmp-flag-demo{border-color:#B7791F;background:#FDF3D8;color:#6B4510}
.cmp h2,.cmp h3{hyphens:auto;overflow-wrap:break-word}

/* Lifecycle notice: a quiet card with a dark rule, heading left, text right */
.cmp-life{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:16px 40px;padding:clamp(20px,2.6vw,32px);border-radius:0 var(--r-lg) var(--r-lg) 0;border-left:2px solid var(--dark);background:var(--surface)}
.cmp-life-tx{display:grid;gap:12px;max-width:68ch}
.cmp-life-tx strong{font-weight:600}
.cmp-life-src{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.cmp-life-src a{color:var(--ink-2);text-decoration-thickness:1px;text-underline-offset:3px}
.cmp-life-src a:hover{color:var(--ink)}
@media (max-width:860px){.cmp-life{grid-template-columns:1fr}}

/* Focus points: text left, the two fact lines right, captures below; a rule between points */
.sec.cmp-focus{padding-block:clamp(44px,5.5vw,72px)}
.sec.cmp-focus+.sec.cmp-focus{padding-top:0}
.cmp-focus+.cmp-focus .wrap{position:relative;padding-top:clamp(44px,5.5vw,72px)}
.cmp-focus+.cmp-focus .wrap::before{content:"";position:absolute;top:0;left:max(24px,env(safe-area-inset-left,0px));right:max(24px,env(safe-area-inset-right,0px));height:1px;background:var(--line)}
@media (max-width:640px){.cmp-focus+.cmp-focus .wrap::before{left:16px;right:16px}}
.cmp-life-sec+.cmp-focus{padding-top:clamp(20px,3vw,40px)}
.cmp-focus-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:24px clamp(28px,5vw,72px);align-items:start}
.cmp-focus-tx{display:grid;gap:16px;max-width:64ch}
.cmp-focus-tx h2{margin-bottom:6px}
.cmp-facts{margin:0;display:grid;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);overflow:hidden}
.cmp-facts>div{display:grid;gap:4px;padding:16px 18px}
.cmp-facts>div+div{border-top:1px solid var(--line)}
.cmp-facts dt{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--ink-2);line-height:1.3}
.cmp-facts .us dt::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 1px color-mix(in srgb,var(--ink) 25%,transparent)}
.cmp-facts dd{margin:0;font-size:15px;line-height:1.45}
.cmp-v{font-weight:550;color:var(--ink)}
.cmp-q{color:var(--ink-2)}
.cmp-shots{display:grid;gap:16px;margin-top:clamp(28px,3.5vw,44px);align-items:start;max-width:880px}
.cmp-shots.two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}
.cmp-shots:empty{display:none}
.cmp-shot{margin:0;display:grid;gap:10px}
.cmp-shot img{display:block;width:100%;height:auto;border-radius:var(--r-md);border:1px solid var(--line);background:var(--surface)}
@media (min-width:641px){.cmp-shot img{width:auto;max-width:100%}} /* small vendor captures stay at their own size instead of upscaling blurry */
.cmp-shot figcaption{font-size:13px;line-height:1.5;color:var(--ink-3)}
.cmp-shot figcaption a{color:var(--ink-2);text-decoration-thickness:1px;text-underline-offset:3px}
.cmp-shot-gap{padding:20px;border:1px dashed var(--line-2);border-radius:var(--r-md);color:var(--ink-2)}
@media (max-width:900px){.cmp-focus-grid{grid-template-columns:1fr}}
@media (max-width:640px){.cmp-shots.two{grid-template-columns:1fr}}

/* Proof: the Manor quote on the band */
.cmp-proof-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:28px 56px;align-items:start}
.cmp-proof .sec-tt{justify-items:start;gap:22px}
.cmp-proof h2{max-width:30ch;color:var(--ink-2)}
@media (max-width:860px){.cmp-proof-grid{grid-template-columns:1fr}}

/* Where each product fits better */
.cmp-fit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.cmp-fit-c{display:grid;gap:16px;justify-items:start;padding:clamp(22px,2.6vw,32px);border:1px solid var(--line);border-radius:var(--r-lg)}
.cmp-fit-c.us{background:var(--surface)}
.cmp-fit-p{color:var(--ink-2)}
.cmp-fit-c ul,.cmp-chal-list{list-style:none;margin:0;padding:0;display:grid}
.cmp-fit-c li,.cmp-chal-list li{display:grid;gap:4px;padding:14px 0;border-top:1px solid var(--line)}
.cmp-fit-c h3,.cmp-chal-list h3{font-size:16px;line-height:1.35}
.cmp-fit-c li p,.cmp-chal-list li p{font-size:15px;line-height:1.55;color:var(--ink-2)}
.cmp-fit-c .btn{margin-top:4px}
.cmp-chal .wrap{display:grid;gap:20px}
.cmp-chal-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}
@media (max-width:860px){.cmp-fit,.cmp-chal-list{grid-template-columns:1fr}}

/* Summary: one table in the homepage Vergleich look (onAI column dark), scrolling sideways when narrow */
.cmp-tbl{overflow-x:auto;overscroll-behavior-x:contain;margin-inline:-10px;padding-bottom:6px}
.cmp-tbl:focus-visible{outline-offset:2px}
.cmp-tbl table{width:100%;min-width:680px;border-collapse:separate;border-spacing:10px 0;font-size:15px;line-height:1.45}
.cmp-tbl th,.cmp-tbl td{text-align:left;vertical-align:top;padding:14px 22px;border-top:1px solid var(--line)}
.cmp-tbl tbody th{width:24%;padding-left:0;font-size:13.5px;font-weight:550;color:var(--ink-2)}
.cmp-tbl td{background:var(--surface);border-left:1px solid var(--line);border-right:1px solid var(--line)}
.cmp-tbl thead th{border-top:0;padding-top:26px;padding-bottom:16px;font-family:var(--serif);font-size:21px;font-weight:400;letter-spacing:-.02em;line-height:1.2;color:var(--ink)}
.cmp-tbl thead th:not(:first-child){background:var(--surface);border:1px solid var(--line);border-bottom:0;border-radius:var(--r-md) var(--r-md) 0 0}
.cmp-tbl tbody tr:last-child td{border-bottom:1px solid var(--line);border-radius:0 0 var(--r-md) var(--r-md);padding-bottom:24px}
.cmp-tbl thead th.us,.cmp-tbl tbody td.us{background:var(--dark);color:var(--on-dark);border-left-color:var(--dark);border-right-color:var(--dark)}
.cmp-tbl thead th.us{font-size:26px;border-top-color:var(--dark)}
.cmp-tbl tbody td.us{border-top-color:var(--dark-line)}
.cmp-tbl tbody tr:last-child td.us{border-bottom-color:var(--dark)}
.cmp-tbl .us .cmp-v{color:var(--on-dark)}
.cmp-tbl .us .cmp-q{color:var(--on-dark-2)}
.cmp-sum .sec-hd{margin-bottom:clamp(28px,3.5vw,44px)}
.cmp-sum .sc-note{margin-top:18px;font-size:13px;line-height:1.5;color:var(--ink-3);max-width:90ch}

/* How this page was made: small print */
.cmp-method .wrap{display:grid;gap:10px}
.cmp-method h2{font-family:var(--sans);font-size:15px;font-weight:600;letter-spacing:-.01em;line-height:1.35}
.cmp-method-tx{display:grid;gap:8px;max-width:80ch}
@media (max-width:640px){
  .cmp-tbl table{min-width:0;font-size:14px}
  .cmp-tbl thead th:first-child,.cmp-tbl tbody th{position:sticky;left:0;z-index:1;background:var(--bg);width:96px;min-width:96px;padding-right:10px;font-size:12.5px;box-shadow:10px 0 0 var(--bg)}
  .cmp-tbl td,.cmp-tbl thead th:not(:first-child){min-width:230px;padding-inline:18px}
  .cmp-tbl thead th{font-size:19px}.cmp-tbl thead th.us{font-size:22px}
}

