/* ClearPeptides Relaunch – Stufe 1: Grundwerte, Kopfzeile, Footer.
   Alles hängt an .cpk, damit nichts auf den Rest der Seite durchschlägt.
   .cpk.cpk-shell hebt die Regeln über die des Themes (Astra) und von Elementor. */

.cpk{
  --cpk-brand:#5B9BD5;   /* Markenblau: Bänder, Buttons, Messkurve */
  --cpk-bg:#ECEFF2;      /* Studiograu */
  --cpk-paper:#FFFFFF;   /* Etikettweiß */
  --cpk-ink:#15222E;     /* Drucktinte */
  --cpk-muted:#55677A;
  --cpk-line:#CBD4DC;    /* Alu */
  --cpk-link:#1F5C94;
  --cpk-ok:#1F6E4A;
  --cpk-warn:#8A4B12;
  --cpk-hh:64px;--cpk-pad:24px;
  color:var(--cpk-ink);
  font:400 17px/1.5 Barlow,system-ui,-apple-system,"Segoe UI",sans-serif;
  -webkit-text-size-adjust:100%;
  text-align:left;letter-spacing:normal;text-transform:none;
}
.cpk *,.cpk *::before,.cpk *::after{box-sizing:border-box}
.cpk [hidden]{display:none!important}
.cpk :focus-visible{outline:2px solid var(--cpk-link);outline-offset:2px}

/* Rücksetzen gegen Theme-Regeln */
.cpk.cpk-shell h1,.cpk.cpk-shell h2,.cpk.cpk-shell h3,.cpk.cpk-shell p,.cpk.cpk-shell ul,.cpk.cpk-shell ol{margin:0;padding:0}
.cpk.cpk-shell h1,.cpk.cpk-shell h2,.cpk.cpk-shell h3{font:inherit;color:inherit;text-transform:none;letter-spacing:normal}
.cpk.cpk-shell select{font:inherit;color:inherit;margin:0;box-shadow:none;max-width:100%}
.cpk.cpk-shell label{font:inherit;color:inherit;margin:0}
.cpk.cpk-shell del,.cpk.cpk-shell ins{background:none;color:inherit}
.cpk.cpk-shell ins{text-decoration:none}
.cpk.cpk-shell ul,.cpk.cpk-shell ol{list-style:none}
.cpk.cpk-shell a,.cpk.cpk-shell a:where(:hover,:focus,:visited){color:inherit;text-decoration:none;box-shadow:none}
.cpk.cpk-shell button,.cpk.cpk-shell input{
  font:inherit;color:inherit;letter-spacing:normal;text-transform:none;line-height:inherit;
  margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;width:auto;min-height:0;
}
.cpk.cpk-shell button:where(:hover,:focus){background:none;color:inherit;border:0}
.cpk.cpk-shell svg{display:block}

.cpk .cpk-wrap{max-width:1200px;margin:0 auto;padding:0 var(--cpk-pad)}
.cpk .cpk-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cpk .cpk-num{font-variant-numeric:tabular-nums}

/* ---------- Kopfzeile: oberes Etikettband ---------- */
.cpk.cpk-header{position:sticky;top:0;z-index:99995;background:var(--cpk-paper);border-top:5px solid var(--cpk-brand);border-bottom:1px solid var(--cpk-line)}
.admin-bar .cpk.cpk-header{top:32px}
@media (max-width:782px){.admin-bar .cpk.cpk-header{top:46px}}
@media (max-width:600px){.admin-bar .cpk.cpk-header{top:0}}
.cpk.cpk-shell .cpk-bar{display:flex;align-items:center;height:calc(var(--cpk-hh) - 6px);gap:4px}
.cpk.cpk-shell .cpk-logo{font:700 26px/1 "Barlow Condensed",Barlow,sans-serif;letter-spacing:.01em;margin-right:28px;color:var(--cpk-ink)}
.cpk.cpk-shell .cpk-logo span{color:var(--cpk-link)}
.cpk.cpk-shell .cpk-nav{display:flex;gap:4px;margin-right:auto}
.cpk.cpk-shell .cpk-nav a{padding:10px 12px;font-weight:500}
.cpk.cpk-shell .cpk-nav a:hover{color:var(--cpk-link)}
.cpk.cpk-shell .cpk-nav a[aria-current=page]{box-shadow:inset 0 -2px 0 var(--cpk-brand)}
.cpk.cpk-shell .cpk-tool{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border-radius:6px;font-weight:500;cursor:pointer}
.cpk.cpk-shell .cpk-tool:hover{color:var(--cpk-link)}
.cpk.cpk-shell .cpk-tool[aria-current=page]{color:var(--cpk-link)}
.cpk.cpk-shell .cpk-tool svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.cpk.cpk-shell .cpk-cart-count{min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--cpk-brand);color:var(--cpk-ink);font-size:13px;font-weight:600;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.cpk.cpk-shell .cpk-menu-btn{display:none}
.cpk.cpk-shell .cpk-panel{position:absolute;left:0;right:0;top:100%;background:var(--cpk-paper);border-bottom:1px solid var(--cpk-line);box-shadow:0 18px 30px -18px rgba(21,34,46,.35)}
.cpk.cpk-shell .cpk-panel .cpk-wrap{padding-top:16px;padding-bottom:18px}
.cpk.cpk-shell .cpk-menu a{display:flex;align-items:center;min-height:52px;border-top:1px solid var(--cpk-line);font:600 24px "Barlow Condensed",Barlow,sans-serif}
.cpk.cpk-shell .cpk-menu a:first-child{border-top:0}
.cpk.cpk-shell .cpk-menu a[aria-current=page]{color:var(--cpk-link)}
/* „Mein Konto“ im Menü: aufklappbar, Unterpunkte wie im Konto */
.cpk.cpk-shell #cpk-menu{max-height:calc(100vh - var(--cpk-hh));max-height:calc(100dvh - var(--cpk-hh));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.cpk.cpk-shell .cpk-menu-sub{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:0;text-align:left;font:600 24px "Barlow Condensed",Barlow,sans-serif;color:var(--cpk-ink);cursor:pointer}
.cpk.cpk-shell .cpk-menu-sub svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.cpk.cpk-shell .cpk-menu-sub[aria-expanded=true] svg{transform:rotate(180deg)}
.cpk.cpk-shell .cpk-menu-sub:focus-visible{outline:3px solid var(--cpk-brand);outline-offset:2px;border-radius:4px}
.cpk.cpk-shell .cpk-menu-subs{margin:0 0 12px;padding-left:14px;border-left:3px solid var(--cpk-brand)}
.cpk.cpk-shell .cpk-menu-subs[hidden]{display:none}
.cpk.cpk-shell .cpk-menu .cpk-menu-subs a{min-height:46px;border-top:0;font:500 18px/1.2 Barlow,system-ui,sans-serif}
.cpk.cpk-shell .cpk-menu .cpk-menu-subs a[aria-current=page]{font-weight:600}
.cpk.cpk-shell .cpk-menu .cpk-menu-subs a.cpk-menu-out{color:var(--cpk-muted)}
@media (prefers-reduced-motion:reduce){.cpk.cpk-shell .cpk-menu-sub svg{transition:none}}

/* Suche */
.cpk.cpk-shell .cpk-search{position:relative;display:block;margin:0}
.cpk.cpk-shell .cpk-search>svg{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:20px;height:20px;fill:none;stroke:var(--cpk-muted);stroke-width:2;stroke-linecap:round;pointer-events:none}
.cpk.cpk-shell .cpk-search input[type=search]{width:100%;height:54px;padding:0 16px 0 46px;border:1.5px solid var(--cpk-ink);border-radius:6px;background:var(--cpk-paper);font-size:17px;font-weight:500;-webkit-appearance:none;appearance:none}
.cpk.cpk-shell .cpk-search input::placeholder{color:var(--cpk-muted);opacity:1}
.cpk.cpk-shell .cpk-search input[type=search]:focus{outline:3px solid var(--cpk-brand);outline-offset:0;border-color:var(--cpk-brand)}
.cpk.cpk-shell .cpk-suggest{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:5;background:var(--cpk-paper);border:1px solid var(--cpk-line);border-radius:6px;overflow:hidden;box-shadow:0 14px 34px rgba(21,34,46,.22)}
.cpk.cpk-shell .cpk-suggest a{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:46px;padding:0 16px;border-top:1px solid var(--cpk-line);font-weight:500}
.cpk.cpk-shell .cpk-suggest a:first-child{border-top:0}
.cpk.cpk-shell .cpk-suggest a:hover,.cpk.cpk-shell .cpk-suggest a.is-active{background:var(--cpk-bg)}
.cpk.cpk-shell .cpk-suggest small{color:var(--cpk-muted);font-size:14px;white-space:nowrap}
.cpk.cpk-shell .cpk-suggest .cpk-suggest-none{padding:12px 16px;color:var(--cpk-muted)}

/* ---------- Footer: unteres Etikettband ---------- */
.cpk.cpk-footer{background:var(--cpk-paper);border-top:1px solid var(--cpk-line);border-bottom:14px solid var(--cpk-brand);padding:36px 0 40px;font-size:15px;color:var(--cpk-muted)}
.cpk.cpk-shell .cpk-footer-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 32px;margin-bottom:20px;color:var(--cpk-ink)}
.cpk.cpk-footer nav{display:flex;flex-wrap:wrap;gap:4px 22px}
.cpk.cpk-footer nav a{font-weight:500;padding:8px 0}
.cpk.cpk-footer nav a:hover{color:var(--cpk-link)}
.cpk.cpk-footer p{max-width:60em}
.cpk.cpk-footer p+p{margin-top:6px}

/* Der Footer des Themes wird nicht gebraucht */
body .site-footer#colophon{display:none}

@media (max-width:900px){
  .cpk{--cpk-hh:58px;--cpk-pad:16px}
  .cpk.cpk-shell .cpk-nav,.cpk.cpk-shell .cpk-tool-label{display:none}
  .cpk.cpk-shell .cpk-logo{margin-right:auto;font-size:23px}
  .cpk.cpk-shell .cpk-tool{padding:0 8px;gap:5px}
  .cpk.cpk-shell .cpk-menu-btn{display:inline-flex;box-shadow:inset 0 0 0 1.5px var(--cpk-ink);padding:0 10px;margin-left:6px;min-height:40px}
  .cpk.cpk-shell .cpk-footer-top .cpk-logo{margin-right:0}
}

/* Platz für die Warenkorb-Leiste am Handy */
@media (max-width:900px){body.cpk-has-cartbar .cpk.cpk-footer{padding-bottom:96px}}

/* ---------- Bausteine (aus cssrc/components.src.css erzeugt) ---------- */
.cpk.cpk-shell .cpk-muted{color:var(--cpk-muted)}
.cpk.cpk-shell .cpk-textlink{color:var(--cpk-link);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;cursor:pointer}
.cpk.cpk-shell .cpk-textlink:hover{text-decoration:underline;text-decoration-thickness:2px;color:var(--cpk-link)}
.cpk.cpk-shell .cpk-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border:0;border-radius:6px;font-weight:600;font-size:16px;line-height:1.2;cursor:pointer;white-space:nowrap;text-align:center}
.cpk.cpk-shell .cpk-btn-primary,.cpk.cpk-shell .cpk-btn-primary:focus,.cpk.cpk-shell .cpk-btn-primary:visited{background:var(--cpk-brand);color:var(--cpk-ink)}
.cpk.cpk-shell .cpk-btn-primary:hover{background:#74ADE0;color:var(--cpk-ink)}
.cpk.cpk-shell .cpk-btn-quiet,.cpk.cpk-shell .cpk-btn-quiet:focus,.cpk.cpk-shell .cpk-btn-quiet:visited{background:transparent;color:var(--cpk-ink);box-shadow:inset 0 0 0 1.5px var(--cpk-ink)}
.cpk.cpk-shell .cpk-btn-quiet:hover{background:transparent;color:var(--cpk-link);box-shadow:inset 0 0 0 1.5px var(--cpk-link)}
.cpk.cpk-shell .cpk-btn-small{min-height:44px;padding:0 16px;font-size:15px}
.cpk.cpk-shell .cpk-btn.is-done,.cpk.cpk-shell .cpk-btn.is-done:hover,.cpk.cpk-shell .cpk-btn.is-done:focus{background:transparent;color:var(--cpk-ok);box-shadow:inset 0 0 0 1.5px var(--cpk-ok)}
.cpk.cpk-shell .cpk-btn.is-busy{opacity:.6;pointer-events:none}
.cpk.cpk-shell .cpk-chip,.cpk.cpk-shell .cpk-chip:focus,.cpk.cpk-shell .cpk-chip:visited{display:inline-flex;align-items:center;min-height:40px;padding:0 13px;border:0;border-radius:6px;background:var(--cpk-paper);color:var(--cpk-ink);box-shadow:inset 0 0 0 1px var(--cpk-line);font-weight:500;font-size:15px;cursor:pointer;white-space:nowrap}
.cpk.cpk-shell .cpk-chip:hover{background:var(--cpk-paper);color:var(--cpk-ink);box-shadow:inset 0 0 0 1.5px var(--cpk-ink)}
.cpk.cpk-shell .cpk-chip[aria-pressed=true],.cpk.cpk-shell .cpk-chip[aria-current=true],.cpk.cpk-shell .cpk-chip[aria-pressed=true]:hover,.cpk.cpk-shell .cpk-chip[aria-current=true]:hover,.cpk.cpk-shell .cpk-chip[aria-pressed=true]:focus,.cpk.cpk-shell .cpk-chip[aria-current=true]:focus{background:var(--cpk-ink);color:#fff;box-shadow:none}
.cpk.cpk-shell .cpk-h2{font:600 clamp(30px,3.4vw,44px)/1.04 "Barlow Condensed",Barlow,sans-serif;color:var(--cpk-ink);font-size:clamp(30px,3.4vw,44px)!important}
.cpk.cpk-shell .cpk-h3{font:600 23px/1.15 "Barlow Condensed",Barlow,sans-serif;color:var(--cpk-ink);font-size:23px!important}
.cpk.cpk-shell .cpk-lede{color:var(--cpk-muted);max-width:34em;margin-top:10px}
.cpk.cpk-shell .cpk-small{font-size:15px}
.cpk.cpk-shell .cpk-sec{padding:64px 0}
.cpk.cpk-shell .cpk-white{background:var(--cpk-paper);border-top:1px solid var(--cpk-line);border-bottom:1px solid var(--cpk-line)}
.cpk.cpk-shell .cpk-anchor{scroll-margin-top:calc(var(--cpk-hh) + 16px)}
.cpk.cpk-shell .cpk-two{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:56px;align-items:start}
.cpk.cpk-shell .cpk-two-text{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr)}
.cpk.cpk-shell .cpk-sec-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px 24px;flex-wrap:wrap;margin-bottom:22px}
.cpk.cpk-shell .cpk-plist{border-top:1.5px solid var(--cpk-ink)}
.cpk.cpk-shell .cpk-faq details{border-bottom:1px solid var(--cpk-line)}
.cpk.cpk-shell .cpk-faq details:first-child{border-top:1.5px solid var(--cpk-ink)}
.cpk.cpk-shell .cpk-faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:60px;font:600 23px/1.15 "Barlow Condensed",Barlow,sans-serif}
.cpk.cpk-shell .cpk-faq summary::-webkit-details-marker{display:none}
.cpk.cpk-shell .cpk-faq summary::after{content:"";flex:none;width:12px;height:12px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translate(-3px,-3px)}
.cpk.cpk-shell .cpk-faq details[open] summary::after{transform:rotate(-135deg) translate(-3px,-3px)}
.cpk.cpk-shell .cpk-faq details p{padding:0 0 18px;max-width:38em;color:var(--cpk-muted)}
@media (max-width:900px){.cpk.cpk-shell .cpk-sec{padding:44px 0}
.cpk.cpk-shell .cpk-two,.cpk.cpk-shell .cpk-two-text{grid-template-columns:minmax(0,1fr);gap:32px}
}
