/* 2.36.0 – Zahlenleiste, FAQ ruhiger (gleicher Grund wie Laborzertifikate), Berichte füllen die Karte */

/* ---------- Zahlenleiste unter „Alles für deine Forschung“ (2.36.2: Stil wie 2.36.0, schmaler) ---------- */
:is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats{
 position:relative;isolation:isolate;overflow:hidden;
 display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
 max-width:1040px;margin:clamp(18px,2.4vw,28px) auto 0!important;padding:clamp(20px,2.2vw,28px) clamp(8px,1.2vw,16px)!important;list-style:none!important;
 border-radius:22px;border:1px solid rgba(177,107,255,.28);
 background:
  radial-gradient(70% 140% at 100% 100%,rgba(116,31,231,.55),transparent 60%),
  radial-gradient(50% 120% at 0% 0%,rgba(60,20,110,.45),transparent 65%),
  linear-gradient(120deg,#0c0a10 0%,#16101f 45%,#24123d 100%);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 24px 50px -28px rgba(40,10,80,.7);
}
:is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background-image:linear-gradient(rgba(177,107,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(177,107,255,.07) 1px,transparent 1px);background-size:44px 44px;
 -webkit-mask-image:radial-gradient(80% 120% at 50% 50%,#000,transparent);mask-image:radial-gradient(80% 120% at 50% 50%,#000,transparent)}
:is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats li{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;margin:0!important;padding:4px 10px!important;list-style:none!important;text-align:center;min-width:0}
:is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats li:before{content:none!important}
:is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats li+li:after{content:"";position:absolute;left:0;top:14%;bottom:14%;width:1px;background:linear-gradient(180deg,transparent,rgba(255,255,255,.16),transparent)}
:is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats b{display:block;font-size:clamp(26px,2.7vw,40px);font-weight:800;line-height:1;letter-spacing:-.04em;white-space:nowrap;
 color:#efe6ff;background:linear-gradient(180deg,#ffffff 20%,#cfb2ff 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
:is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats span{display:block;font-size:13.5px;line-height:1.35;color:#bdb3cc;text-wrap:balance}
:is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats svg{display:inline-block;vertical-align:-3px;margin-right:6px;width:16px;height:16px;fill:none;stroke:#c9a6ff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1000px){:is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats span{font-size:12px}}
@media(max-width:700px){
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats{grid-template-columns:repeat(2,minmax(0,1fr));padding:4px 6px!important;border-radius:18px;margin-top:12px!important}
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats li{padding:12px 6px!important;gap:6px}
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats li:after{display:none}
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats li:nth-child(n+3){border-top:1px solid rgba(255,255,255,.08)}
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats li:nth-child(even){border-left:1px solid rgba(255,255,255,.08)}
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats li:last-child{grid-column:1 / -1;border-left:0}
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats b{font-size:clamp(22px,6.4vw,27px)}
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats span{font-size:11.5px}
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats svg{width:13px;height:13px;margin-right:4px;vertical-align:-2px}
}

/* ---------- FAQ: gleicher Grund wie die Laborzertifikate, ruhige Karten ---------- */
/* Gleiches Raster wie die restliche Seite, Position per JS fortgesetzt → keine Kante */
section.pwfq.pwh-faq,section.pwh-coa{
 --pwgrid-c:var(--pwh-c,56px);--pwgrid-l:calc(var(--pwgrid-c) / 50);
 background-color:#fbf6ff!important;
 background-image:linear-gradient(rgba(112,74,145,.08) var(--pwgrid-l),transparent var(--pwgrid-l)),linear-gradient(90deg,rgba(112,74,145,.08) var(--pwgrid-l),transparent var(--pwgrid-l))!important;
 background-size:var(--pwgrid-c) var(--pwgrid-c)!important;
 background-position:var(--pwgrid-x,calc((100vw - 18 * var(--pwgrid-c)) / 2)) var(--pwgrid-y,0px)!important;
 border-top:0!important;border-bottom:0!important;box-shadow:none!important;
}
section.pwfq.pwh-faq .fq-wrap{padding-bottom:clamp(24px,3vw,40px)}
section.pwfq.pwh-faq h2 em{background:none!important;-webkit-text-fill-color:currentColor!important;color:#741fe7!important}
section.pwfq.pwh-faq details{background:#fff!important;border:1px solid #e4dcec!important;box-shadow:0 8px 20px -18px rgba(30,14,50,.35)!important}
section.pwfq.pwh-faq summary::after{background:linear-gradient(currentColor,currentColor) center/12px 1.6px no-repeat,linear-gradient(currentColor,currentColor) center/1.6px 12px no-repeat,#fff!important;border:1.5px solid #141117;color:#141117;box-sizing:border-box}
section.pwfq.pwh-faq details[open]{border:1.5px solid #141117!important;box-shadow:0 18px 40px -26px rgba(30,14,50,.5)!important}
section.pwfq.pwh-faq details[open] summary{color:#141117!important}
section.pwfq.pwh-faq details[open] summary::after{background-color:#141117!important;color:#fff!important;border-color:#141117}
@media(hover:hover) and (pointer:fine){
 section.pwfq.pwh-faq details:not([open]):hover{border-color:#141117!important;transform:none!important}
 section.pwfq.pwh-faq details:not([open]):hover summary{color:#141117!important}
 section.pwfq.pwh-faq details:not([open]):hover summary::after{background-color:#f4f1f7!important;transform:none!important}
}
/* Übergang zu den Laborzertifikaten ohne Kante */
section.pwh-coa .pwh-coa__wrap{padding-top:clamp(28px,3.5vw,56px)}

/* ---------- Laborberichte füllen die Karte ---------- */
.pwh-coa .pwh-coa__paper{padding:0!important;background:#fff!important}
.pwh-coa .pwh-coa__paper img{border-radius:0!important;box-shadow:none!important}
.pwh-coa .pwh-coa__paper:after{background:linear-gradient(180deg,rgba(255,255,255,0),#fff)!important;height:40px}
:is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats span{display:block!important;text-wrap:balance}
:is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats svg{display:inline-block;vertical-align:-3px;margin-right:6px}
@media(max-width:700px){
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats li{padding:14px 6px!important}
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats span{font-size:12px}
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats svg{margin-right:4px;vertical-align:-2px}
}

/* 2.36.2 – FAQ höher, Laborzertifikate unten kompakter, Raster läuft in „Warum Pepswerk?“ weiter */
section.pwfq.pwh-faq .fq-wrap{padding-top:clamp(28px,3.4vw,52px)!important}
section.pwh-coa .pwh-coa__wrap{padding-bottom:clamp(28px,3vw,48px)}
section.pwh-coa{margin-bottom:0!important}
section.pwh-coa + .pwv,section.pwh-coa ~ .pwv{margin-top:0!important}
@media(max-width:640px){section.pwh-coa .pwh-coa__wrap{padding-bottom:28px}}

/* 2.36.3 – Zahlenleiste flacher, Laborzertifikate höher */
:is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats{padding:14px clamp(8px,1.2vw,16px)!important}
:is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats li{gap:5px;padding:2px 8px!important}
:is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats b{font-size:clamp(24px,2.3vw,34px)}
:is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats span{font-size:12.5px}
@media(max-width:700px){
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats{padding:2px 4px!important;border-radius:16px}
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats li{padding:8px 4px!important;gap:3px}
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats b{font-size:20px}
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats span{font-size:11px;white-space:nowrap}
 :is(.pwh.pwh-home-v2171,.pwh-coa) .pwc-stats svg{width:12px;height:12px}
}
section.pwh-coa .pwh-coa__wrap{padding-top:clamp(12px,1.8vw,28px)!important}
@media(max-width:640px){section.pwh-coa .pwh-coa__wrap{padding-top:8px!important}}

/* 2.36.4 – mg mittig neben dem Namen, „Deine Frage ist noch offen?“ und Laborzertifikate höher */
.pwh-coa .pwh-coa__name{display:flex;align-items:center;gap:8px;min-width:0}
.pwh-coa .pwh-coa__name small{flex:none;line-height:1;position:relative;top:1px}
section.pwfq.pwh-faq .fq-bottom{margin-top:14px!important;margin-bottom:0!important}
section.pwfq.pwh-faq .fq-wrap{padding-bottom:8px!important;row-gap:10px!important}
section.pwh-coa .pwh-coa__wrap{padding-top:16px!important}
@media(max-width:640px){
 section.pwfq.pwh-faq .fq-bottom{margin-top:10px!important}
 section.pwfq.pwh-faq .fq-wrap{padding-bottom:4px!important}
 section.pwh-coa .pwh-coa__wrap{padding-top:14px!important}
}
