/* ==========================================================================
   Peptida Apotheke — Theme Stylesheet
   Aesthetic: Clinical-Editorial. Restraint, density, scientific authority.
   --------------------------------------------------------------------------
   Sections
   1.  Design tokens (CSS custom properties)
   2.  Reset & base
   3.  Typography scale
   4.  Layout primitives (container, grid, stack)
   5.  Buttons & form controls
   6.  Header & primary navigation
   7.  Hero
   8.  Trust strip
   9.  Category grid
   10. Product cards
   11. Section blocks (split, science, FAQ teaser, CTA)
   12. Footer
   13. WooCommerce overrides
   14. Modals, banners, drawers
   15. Utilities & responsive
   ========================================================================== */

/* 1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette — restrained clinical with a single confident accent */
  --ink-900: #0b1220;        /* near-black for type */
  --ink-700: #1f2a3a;
  --ink-500: #4a5668;        /* secondary text */
  --ink-300: #8a96a8;        /* muted */
  --ink-200: #c9d1dc;        /* hairlines */
  --ink-100: #e6ebf2;        /* dividers */
  --paper:   #fbfcfd;        /* page background */
  --paper-2: #f3f5f8;        /* section alt */
  --white:   #ffffff;

  --accent:        #0f5d5e;  /* deep clinical teal — trust + lab */
  --accent-soft:   #d9ebe9;
  --accent-dark:   #094041;
  --signal:        #b65b13;  /* one warm accent for hover/highlight */
  --signal-soft:   #fce7d1;

  --warn-bg:       #fff8e1;
  --warn-border:   #f0c14b;
  --warn-ink:      #5a4407;

  /* Typography stacks */
  --font-display: "Oswald", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Type scale (modular, 1.25) */
  --fs-xs:   0.78rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3rem;
  --fs-4xl:  4rem;

  /* Spacing scale */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --s-10: 128px;

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;

  /* Borders & radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-pill: 999px;
  --hairline: 1px solid var(--ink-100);

  /* Shadows — subtle, paper-like */
  --shadow-1: 0 1px 2px rgba(11,18,32,.04), 0 2px 6px rgba(11,18,32,.04);
  --shadow-2: 0 4px 12px rgba(11,18,32,.06), 0 12px 28px rgba(11,18,32,.06);
  --shadow-3: 0 8px 24px rgba(11,18,32,.08), 0 24px 48px rgba(11,18,32,.08);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 140ms;
  --t-med:  220ms;
  --t-slow: 380ms;
}

/* 2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
a { color: var(--accent); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
hr { border: 0; border-top: var(--hairline); margin: var(--s-6) 0; }
::selection { background: var(--accent-soft); color: var(--ink-900); }

/* 3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: 0.005em;
  text-transform: none;
  margin: 0 0 var(--s-4);
}
h1 { font-size: clamp(2.25rem, 4vw + .5rem, 4rem); letter-spacing: 0; font-weight: 500; }
h2 { font-size: clamp(1.75rem, 2.4vw + .5rem, 2.5rem); font-weight: 500; }
h3 { font-size: var(--fs-xl); font-weight: 500; }
h4 { font-size: var(--fs-lg); font-weight: 500; }
h5 { font-size: var(--fs-md); font-weight: 500; }

p { margin: 0 0 var(--s-4); }
.lede { font-size: var(--fs-md); color: var(--ink-700); line-height: 1.55; max-width: 65ch; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
}

code, pre, .mono { font-family: var(--font-mono); font-size: 0.92em; }

/* 4. Layout primitives
   -------------------------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding: var(--s-9) 0; }
.section--tight { padding: var(--s-7) 0; }
.section--alt { background: var(--paper-2); }
.section--ink { background: var(--ink-900); color: var(--white); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.stack > * + * { margin-top: var(--s-4); }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-200), transparent);
  margin: var(--s-7) 0;
}

/* 5. Buttons & form controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: var(--fs-base);
  border: 1px solid transparent;
  transition: all var(--t-med) var(--ease);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--ink-200); }
.btn--ghost:hover { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }
.btn--small { padding: 10px 18px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="password"],
input[type="number"], textarea, select {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
  color: var(--ink-900);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}
label { display: block; font-size: var(--fs-sm); font-weight: 500; margin-bottom: var(--s-2); color: var(--ink-700); }

/* 6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 252, 253, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: var(--hairline);
}
.site-header__topbar {
  background: var(--ink-900);
  color: var(--ink-200);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}
.site-header__topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: var(--s-5);
}
.site-header__topbar a { color: var(--ink-200); }
.site-header__topbar a:hover { color: var(--white); }
.topbar-features { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.topbar-features li { list-style: none; }
.topbar-features li::before { content: "→ "; color: var(--accent-soft); margin-right: 4px; }

.site-header__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-6);
  padding: var(--s-4) 0;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--ink-900);
}
.site-brand__mark {
  width: 38px; height: 38px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-md);
}
.site-brand__name {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.site-brand__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-500);
}

.primary-nav { display: flex; justify-content: center; }
.primary-nav__list {
  display: flex;
  gap: var(--s-6);
  list-style: none;
  margin: 0; padding: 0;
}
.primary-nav__list a {
  color: var(--ink-700);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}
.primary-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.primary-nav__list a:hover { color: var(--ink-900); }
.primary-nav__list a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.icon-btn {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-700);
  position: relative;
  transition: all var(--t-fast) var(--ease);
}
.icon-btn:hover { background: var(--ink-100); color: var(--ink-900); }
.icon-btn__count {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-family: var(--font-mono);
}

.mobile-toggle { display: none; }

/* 7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: var(--s-9) 0 var(--s-8);
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 85% 10%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(40% 60% at 10% 90%, var(--signal-soft) 0%, transparent 60%),
    var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ink-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-100) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .35;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 var(--s-5);
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.hero__subtitle {
  font-size: var(--fs-md);
  color: var(--ink-500);
  max-width: 50ch;
  margin-bottom: var(--s-6);
}
.hero__cta { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero__meta {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: var(--hairline);
  display: flex;
  gap: var(--s-6);
  flex-wrap: wrap;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
}
.hero__meta-num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 500;
  color: var(--ink-900);
  line-height: 1;
}
.hero__meta-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  margin-top: 4px;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.hero__vial {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(160deg, var(--white) 0%, var(--paper-2) 100%);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  padding: var(--s-6) var(--s-6) calc(var(--s-6) + 36px);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  position: relative;
  overflow: hidden;
}
.hero__vial::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--signal));
}
.vial-spec { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vial-spec__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-500);
}
.vial-spec__value {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--ink-900);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.vial-spec--big .vial-spec__value { font-size: var(--fs-xl); font-weight: 500; line-height: 1.1; }

.hero__seal {
  position: absolute;
  bottom: var(--s-4);
  right: var(--s-4);
  background: var(--ink-900);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: var(--s-2);
  box-shadow: var(--shadow-2);
  white-space: nowrap;
}
.hero__seal::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  flex-shrink: 0;
}

/* 8. Trust strip
   -------------------------------------------------------------------------- */
.trust-strip {
  background: var(--ink-900);
  color: var(--ink-200);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--ink-700);
}
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-5);
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-sm);
}
.trust-item__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: var(--ink-700);
  display: grid; place-items: center;
  color: var(--accent-soft);
}
.trust-item__icon svg { width: 18px; height: 18px; }
.trust-item__text { color: var(--white); font-weight: 500; line-height: 1.3; }
.trust-item__sub { color: var(--ink-300); font-size: var(--fs-xs); }

/* 9. Category grid
   -------------------------------------------------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-100);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cat-card {
  display: block;
  padding: var(--s-6);
  background: var(--white);
  color: var(--ink-900);
  transition: background var(--t-med) var(--ease);
  position: relative;
}
.cat-card:hover {
  background: var(--paper-2);
  color: var(--ink-900);
}
.cat-card__num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-300);
  letter-spacing: 0.08em;
}
.cat-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  margin: var(--s-3) 0 var(--s-2);
  font-weight: 500;
}
.cat-card__list {
  list-style: none;
  margin: 0; padding: 0;
  font-size: var(--fs-sm);
  color: var(--ink-500);
}
.cat-card__list li { display: inline; }
.cat-card__list li::after { content: " · "; color: var(--ink-300); }
.cat-card__list li:last-child::after { content: ""; }
.cat-card__arrow {
  margin-top: var(--s-4);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--accent);
}
.cat-card__arrow::after {
  content: "→";
  transition: transform var(--t-med) var(--ease);
}
.cat-card:hover .cat-card__arrow::after { transform: translateX(4px); }

/* 10. Product cards
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.product-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--ink-200);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--paper-2) 0%, var(--white) 100%);
  display: grid; place-items: center;
  padding: var(--s-5);
  overflow: hidden;
}
.product-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, var(--accent-soft) 0%, transparent 40%);
  opacity: .6;
  pointer-events: none;
}

/* Real product image inside the card */
.product-card__media img,
.product-card__img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}
.product-card:hover .product-card__media img,
.product-card:hover .product-card__img {
  transform: scale(1.04);
}

/* Force WooCommerce default placeholder size to stay within media area */
.product-card__media .woocommerce-placeholder,
.product-card__media .wp-post-image {
  max-width: 80%;
  max-height: 90%;
}
.product-card__vial {
  position: relative;
  width: 60%;
  aspect-ratio: 1 / 1.4;
  background: linear-gradient(180deg, transparent 0%, transparent 20%, rgba(15,93,94,.12) 20%, rgba(15,93,94,.18) 100%);
  border: 1px solid var(--ink-200);
  border-radius: 6px 6px 12px 12px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18%;
}
.product-card__vial::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 30%; right: 30%;
  height: 10px;
  background: var(--ink-700);
  border-radius: 2px 2px 0 0;
}
.product-card__vial-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--ink-900);
  padding: 3px 8px;
  border-radius: 2px;
}
.product-card__badge {
  position: absolute;
  top: var(--s-3); left: var(--s-3);
  background: var(--ink-900);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  z-index: 2;
}
.product-card__body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card__cat {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink-900);
  margin: 0 0 var(--s-2);
}
.product-card__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-500);
  margin-bottom: var(--s-3);
  display: flex;
  gap: var(--s-3);
}
.product-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.product-card__meta span::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.product-card__footer {
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-card__price {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--ink-900);
}
.product-card__price-from {
  font-size: var(--fs-xs);
  color: var(--ink-500);
  font-family: var(--font-mono);
  margin-right: 4px;
}

/* 11. Section blocks
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.split--reversed { direction: rtl; }
.split--reversed > * { direction: ltr; }

.science-card {
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  position: relative;
  overflow: hidden;
}
.science-card::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -40px;
  width: 200px; height: 200px;
  border: 1px solid var(--accent-soft);
  border-radius: 50%;
  pointer-events: none;
}
.science-card::before {
  content: "";
  position: absolute;
  right: -80px; bottom: -80px;
  width: 280px; height: 280px;
  border: 1px solid var(--accent-soft);
  border-radius: 50%;
  pointer-events: none;
}
.spec-list {
  list-style: none;
  margin: 0; padding: 0;
}
.spec-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-bottom: var(--hairline);
  font-size: var(--fs-sm);
}
.spec-list li:last-child { border: 0; }
.spec-list dt {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--ink-500);
}
.spec-list dd { color: var(--ink-900); margin: 0; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  counter-reset: step;
}
.process-step { counter-increment: step; position: relative; padding-top: var(--s-6); }
.process-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--accent);
  letter-spacing: 0.08em;
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 500;
  margin: 0 0 var(--s-2);
}
.process-step p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  margin: 0;
}

.faq-teaser {
  border-top: var(--hairline);
}
.faq-teaser details {
  border-bottom: var(--hairline);
  padding: var(--s-5) 0;
}
.faq-teaser summary {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  color: var(--ink-900);
}
.faq-teaser summary::-webkit-details-marker { display: none; }
.faq-teaser summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: var(--fs-xl);
  transition: transform var(--t-med) var(--ease);
}
.faq-teaser details[open] summary::after { content: "−"; }
.faq-teaser details > div {
  padding-top: var(--s-4);
  color: var(--ink-500);
  max-width: 80ch;
}

.cta-band {
  background: var(--ink-900);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  position: relative;
  overflow: hidden;
}
.cta-band__grid {
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: var(--s-6);
  align-items: center;
}
.cta-band h2 { color: var(--white); margin: 0 0 var(--s-3); }
.cta-band p { color: var(--ink-200); margin: 0; max-width: 50ch; }
.cta-band .btn--primary { background: var(--white); color: var(--ink-900); }
.cta-band .btn--primary:hover { background: var(--accent-soft); color: var(--ink-900); }

.research-alert {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn-ink);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  line-height: 1.5;
}
.research-alert::before {
  content: "⚠";
  flex-shrink: 0;
  font-size: var(--fs-lg);
  line-height: 1;
}

/* 12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-200);
  padding: var(--s-9) 0 var(--s-5);
  margin-top: var(--s-9);
}
.site-footer a { color: var(--ink-200); }
.site-footer a:hover { color: var(--white); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s-7);
  margin-bottom: var(--s-8);
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-soft);
  margin: 0 0 var(--s-4);
  font-weight: 500;
}
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: var(--s-2); }
.site-footer__links a { font-size: var(--fs-sm); }
.site-footer__brand h3 {
  color: var(--white);
  font-family: var(--font-display);
  margin-bottom: var(--s-3);
}
.site-footer__about { font-size: var(--fs-sm); color: var(--ink-300); max-width: 32ch; line-height: 1.55; }
.newsletter-form { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.newsletter-form input {
  background: var(--ink-700);
  border-color: var(--ink-700);
  color: var(--white);
}
.newsletter-form input::placeholder { color: var(--ink-300); }

.site-footer__disclaimer {
  padding-top: var(--s-5);
  border-top: 1px solid var(--ink-700);
  font-size: var(--fs-xs);
  color: var(--ink-300);
  line-height: 1.5;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-4);
  margin-top: var(--s-4);
  border-top: 1px solid var(--ink-700);
  font-size: var(--fs-xs);
  color: var(--ink-300);
  flex-wrap: wrap;
  gap: var(--s-3);
}
.payment-icons {
  display: flex;
  gap: var(--s-2);
  align-items: center;
}
.payment-icon {
  background: var(--ink-700);
  color: var(--ink-200);
  padding: 4px 8px;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* 13. WooCommerce overrides
   -------------------------------------------------------------------------- */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-size: var(--fs-lg);
  font-weight: 500;
}
.woocommerce ul.products li.product .button,
.woocommerce a.button {
  background: var(--accent);
  color: var(--white);
  border-radius: var(--r-pill);
  padding: 10px 20px;
  font-weight: 500;
  font-size: var(--fs-sm);
  border: 0;
}
.woocommerce a.button:hover { background: var(--accent-dark); color: var(--white); }
.woocommerce div.product div.summary h1.product_title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: var(--s-4);
}
.woocommerce-message, .woocommerce-info {
  border-top-color: var(--accent) !important;
  background: var(--accent-soft);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--accent) !important; }
.woocommerce-error { border-top-color: var(--signal) !important; background: var(--signal-soft); }

/* 14. Modals, banners, drawers
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11,18,32,.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
}
.modal-backdrop.is-open { display: flex; animation: fadeIn var(--t-med) var(--ease); }
.modal {
  background: var(--white);
  border-radius: var(--r-lg);
  max-width: 480px;
  width: 100%;
  padding: var(--s-7);
  box-shadow: var(--shadow-3);
  animation: slideUp var(--t-slow) var(--ease);
}
.modal h2 { font-size: var(--fs-xl); margin: 0 0 var(--s-3); }
.modal__actions { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
.modal__actions .btn { flex: 1; }

.cookie-banner {
  position: fixed;
  bottom: var(--s-5);
  left: var(--s-5);
  right: var(--s-5);
  max-width: 580px;
  background: var(--ink-900);
  color: var(--white);
  padding: var(--s-5);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  z-index: 999;
  display: none;
  font-size: var(--fs-sm);
}
.cookie-banner.is-visible { display: block; animation: slideUp var(--t-slow) var(--ease); }
.cookie-banner h4 { margin: 0 0 var(--s-2); color: var(--white); font-size: var(--fs-md); }
.cookie-banner p { color: var(--ink-200); margin-bottom: var(--s-4); }
.cookie-banner__actions { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.cookie-banner__actions .btn--small { padding: 8px 14px; }
.cookie-banner__actions .btn--ghost { color: var(--ink-200); border-color: var(--ink-700); }
.cookie-banner__actions .btn--ghost:hover { background: var(--ink-700); color: var(--white); border-color: var(--ink-700); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* 15. Utilities & responsive
   -------------------------------------------------------------------------- */
.global-disclaimer {
  background: var(--ink-900);
  color: var(--ink-300);
  text-align: center;
  font-size: var(--fs-xs);
  padding: var(--s-2) var(--s-5);
  letter-spacing: 0.04em;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.text-center { text-align: center; }
.mb-5 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-6); }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive breakpoints */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; margin: 0 auto; }
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --s-9: 64px; --s-8: 48px; }
  .section { padding: var(--s-8) 0; }
  .primary-nav, .header-actions .icon-btn[aria-label="Suche"] { display: none; }
  .mobile-toggle {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: var(--r-pill);
    background: transparent;
    border: 1px solid var(--ink-200);
    color: var(--ink-900);
  }
  .site-header__main { grid-template-columns: auto 1fr auto; }
  .topbar-features { display: none; }
  .split, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
  .product-card__body { padding: var(--s-3); }
  .product-card__name { font-size: var(--fs-base); }
  .process-steps { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .cta-band__grid { grid-template-columns: 1fr; text-align: left; }
  .hero { padding: var(--s-8) 0 var(--s-7); }
  .hero__title { font-size: 2.5rem; }
  /* Mobile menu state */
  .primary-nav.is-open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--paper);
    z-index: 200;
    padding: var(--s-7) var(--s-5);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
  }
  .primary-nav.is-open .primary-nav__list {
    flex-direction: column;
    gap: var(--s-4);
    width: 100%;
  }
  .primary-nav.is-open .primary-nav__list a { font-size: var(--fs-xl); font-family: var(--font-display); }
}

/* Print */
@media print {
  .site-header, .site-footer, .cta-band, .cookie-banner, .modal-backdrop { display: none !important; }
}

/* ============================================================================
   Featured posts (homepage) — added in v8
   ============================================================================ */
.featured-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.featured-post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.featured-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--accent);
}
.featured-post-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-2);
}
.featured-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.featured-post-card:hover .featured-post-card__media img {
  transform: scale(1.04);
}
.featured-post-card__media--placeholder {
  background:
    radial-gradient(circle at 30% 40%, rgba(15,93,94,0.08), transparent 60%),
    linear-gradient(135deg, var(--paper-2), var(--white));
  position: relative;
}
.featured-post-card__media--placeholder::after {
  content: "";
  position: absolute;
  inset: 30% 40%;
  border: 2px solid var(--accent);
  border-radius: var(--r-sm);
  opacity: 0.35;
}
.featured-post-card__body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}
.featured-post-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  color: var(--ink-900);
}
.featured-post-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--ink-600);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.featured-post-card__cta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-top: var(--s-2);
}
@media (max-width: 1100px) {
  .featured-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .featured-posts-grid { grid-template-columns: 1fr; gap: var(--s-5); }
}


/* V20 shop fixes: homepage-style category cards on /peptide/ and clean product grid */
.shop-hero {
  margin-bottom: var(--s-8);
  max-width: 860px;
}
.shop-hero p {
  color: var(--ink-600);
  font-size: var(--fs-md);
  line-height: 1.7;
}
.shop-categories-block,
.shop-products-block {
  clear: both;
}
.cat-grid--shop .cat-card {
  min-height: auto;
  display: flex;
  flex-direction: column;
}
.cat-grid--shop .cat-card__title {
  min-height: 0;
}
.cat-grid--shop .cat-card__list {
  line-height: 1.65;
  margin-bottom: var(--s-3);
}
.cat-grid--shop .cat-card__arrow {
  margin-top: auto;
}
.products-grid--archive {
  grid-template-columns: repeat(4, 1fr);
}
.products-grid--archive .product-card {
  min-width: 0;
}
.products-grid--archive .product-card__name {
  min-height: 3.2em;
}
@media (max-width: 1100px) {
  .products-grid--archive { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
  .products-grid--archive { grid-template-columns: repeat(2, 1fr); }
  .cat-grid--shop { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .products-grid--archive { grid-template-columns: 1fr; }
}


/* v27 category-card consistency and readability */
.cat-grid--shop { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.cat-grid--shop .cat-card { min-height: 260px; display:flex; flex-direction:column; justify-content:space-between; }
.cat-grid--shop .cat-card__title { line-height:1.1; word-break: normal; hyphens:auto; }
.cat-grid--shop .cat-card__list { margin: var(--s-4) 0; padding-left: 1.1rem; }
.cat-grid--shop .cat-card__list li { margin-bottom: .35rem; line-height:1.35; }
.shop-categories-block { margin-bottom: var(--s-9); }
.products-grid--archive .product-card { height: 100%; }
@media (max-width: 960px) { .cat-grid--shop { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .cat-grid--shop { grid-template-columns: 1fr; } }
