/*
Peptid24.net — Whitelabel Brand Override
Überschreibt die Reta24-Design-Variablen für die Domain peptid24.net.
Nutzt dieselbe Struktur/Klassen wie das Reta24-Theme, nur andere Tokens.
*/

body.brand-peptid24 {
  /* Backgrounds — bewusst neutral/weiß statt blau getönt (Reta24 nutzt
     durchgehend blau getönte Hintergründe), Blau bleibt Akzentfarbe */
  --bg:        #FFFFFF;
  --surface:   #F7F9FB;
  --panel:     #E4ECF3;
  --hero-bg:   #F2F6F9;

  /* Brand colours — aus dem Peptid24-Logo abgeleitet (Navy + Azurblau) */
  --navy:      #0F2E6B; /* Logo-Navy */
  --cyan:      #1EA7D6; /* Logo-Azurblau — primary accent (etwas gedämpfter als das Neon-Cyan im Logo) */
  --cyan-dk:   #17839F;
  --cyan-lt:   #E4F4FA;
  --cyan-glow: rgba(30,167,214,.14);
  --green:     #C8793B; /* Amber Marker — Zweitakzent, unverändert (Kontrast zu Blau, Reta24 hat kein Amber) */
  --green-dk:  #A8622B;
  --green-lt:  #F3E4D3;

  /* Text — neutral, nicht blaustichig, für klaren Kontrast auf Weiß */
  --t1: #10131A;
  --t2: #4A5568;
  --t3: #8B94A3;

  /* Borders */
  --border:      rgba(15,46,107,.12);
  --border-h:    rgba(30,167,214,.4);
  --border-gray: rgba(16,19,26,.1);

  /* Shadows */
  --shadow-sm:     0 1px 4px rgba(16,19,26,.06);
  --shadow-md:     0 4px 18px rgba(16,19,26,.08);
  --shadow-lg:     0 10px 40px rgba(16,19,26,.1);
  --shadow-card:   0 2px 10px rgba(16,19,26,.07), 0 0 0 1px rgba(16,19,26,.05);
  --shadow-card-h: 0 6px 28px rgba(30,167,214,.2), 0 2px 8px rgba(16,19,26,.1), 0 0 0 1px rgba(30,167,214,.25);
  --shadow-btn:    0 4px 16px rgba(30,167,214,.3);
  --shadow-green:  0 4px 16px rgba(200,121,59,.28);

  /* Typography */
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Layout — etwas weniger rund, klarer/präziser */
  --r:    6px;
  --r-lg: 10px;
  --r-xl: 14px;
}

/* Alte, sitegweite Versand-Topbar ist durch den eigenen Ticker überflüssig */
body.brand-peptid24 .top-bar { display: none; }

/* Signature-Element: Skalen-Linie als Sektions-Trenner (Spritzen-Skala) */
body.brand-peptid24 .scale-divider {
  height: 1px;
  margin: 3rem 0;
  background-image: repeating-linear-gradient(90deg, var(--border-gray) 0 1px, transparent 1px 24px);
}

/* ══════════════ Eigene Peptid24-Startseite (Aufbau an kronen-peptide.com orientiert) ══════════════ */

/* Ankündigungs-Ticker — Text läuft von rechts kommend über den Bildschirm */
body.brand-peptid24 .p24-ticker { background: var(--navy); overflow: hidden; padding: 10px 0; }
body.brand-peptid24 .p24-ticker-track {
  display: flex; gap: 48px; white-space: nowrap; width: max-content;
  animation: p24-ticker-scroll 40s linear infinite;
}
body.brand-peptid24 .p24-ticker-item { font-size: .85rem; color: #fff; font-family: var(--font-body); }
@keyframes p24-ticker-scroll {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* Hero */
body.brand-peptid24 .p24-hero { padding: 64px 0 48px; background: var(--hero-bg); }
body.brand-peptid24 .p24-hero-inner { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
body.brand-peptid24 .p24-hero-left { flex: 0 1 480px; }
body.brand-peptid24 .p24-hero-right { flex: 0 1 260px; display: flex; justify-content: center; }
body.brand-peptid24 .p24-eyebrow {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cyan-dk); margin-bottom: 16px;
}
body.brand-peptid24 .p24-hero-title {
  font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08; font-weight: 700; color: var(--t1); margin: 0 0 20px;
}
body.brand-peptid24 .p24-accent { color: var(--cyan); }
body.brand-peptid24 .p24-hero-sub {
  font-size: 1.05rem; color: var(--t2); max-width: 520px; margin: 0 0 32px; line-height: 1.6;
}
body.brand-peptid24 .p24-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
body.brand-peptid24 .p24-hero-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 52px; }
body.brand-peptid24 .p24-hero-stat { display: flex; flex-direction: column; gap: 2px; }
body.brand-peptid24 .p24-hero-stat strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); }
body.brand-peptid24 .p24-hero-stat span { font-size: .78rem; color: var(--t3); }

/* Hero-Produktbild */
body.brand-peptid24 .p24-hero-vial-wrap { position: relative; display: flex; justify-content: center; }
body.brand-peptid24 .p24-hero-vial-glow {
  position: absolute; inset: 10% 15%; background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  filter: blur(20px); z-index: 0;
}
body.brand-peptid24 .p24-hero-vial-img { position: relative; z-index: 1; max-width: 300px; width: 100%; height: auto; }

/* Skalen-Linie Grafik (Signature-Element, weiterhin als Sektions-Trenner genutzt) */
body.brand-peptid24 .p24-scale-graphic { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; }
body.brand-peptid24 .p24-scale-tick { width: 80px; height: 2px; background: var(--border-gray); position: relative; }
body.brand-peptid24 .p24-scale-tick--major { width: 140px; background: var(--cyan); height: 3px; }
body.brand-peptid24 .p24-scale-num {
  position: absolute; left: 150px; top: -9px; font-family: var(--font-mono);
  font-size: .75rem; color: var(--t2); white-space: nowrap;
}

/* Trust-Bar — dunkle, freistehende Kontrast-Karte (bewusster Kontrastbruch) */
body.brand-peptid24 .p24-trust-bar-wrap { margin-top: -36px; position: relative; z-index: 2; }
body.brand-peptid24 .p24-trust-bar {
  background: var(--navy); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: 26px 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
body.brand-peptid24 .p24-trust-item { flex: 1 1 160px; display: flex; flex-direction: column; gap: 4px; text-align: center; }
body.brand-peptid24 .p24-trust-item strong { font-family: var(--font-head); font-size: 1.15rem; color: #fff; }
body.brand-peptid24 .p24-trust-item span { font-size: .8rem; color: rgba(255,255,255,.65); }
body.brand-peptid24 .p24-trust-div { width: 1px; height: 40px; background: rgba(255,255,255,.15); }
@media (max-width: 780px) { body.brand-peptid24 .p24-trust-div { display: none; } }

/* Produkt-Karussell */
body.brand-peptid24 .p24-section-head-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; text-align: left; }
body.brand-peptid24 .p24-carousel-wrap { position: relative; display: flex; align-items: center; gap: 12px; }
body.brand-peptid24 .p24-carousel {
  display: flex; gap: 20px; overflow-x: auto; padding: 4px 4px 8px; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
body.brand-peptid24 .p24-carousel::-webkit-scrollbar { display: none; height: 0; }
body.brand-peptid24 .p24-carousel-card { flex: 0 0 240px; scroll-snap-align: start; }
body.brand-peptid24 .p24-carousel-btn {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border-gray); color: var(--navy);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-card); transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
body.brand-peptid24 .p24-carousel-btn:hover { background: var(--cyan); color: #fff; transform: scale(1.06); }
body.brand-peptid24 .p24-carousel-btn svg { width: 20px; height: 20px; }
@media (max-width: 640px) { body.brand-peptid24 .p24-carousel-btn { width: 40px; height: 40px; } }

/* Kategorien-Grid */
body.brand-peptid24 .p24-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
body.brand-peptid24 .p24-cat-card {
  display: flex; flex-direction: column; gap: 6px; padding: 28px 24px;
  background: #fff; border: 1px solid var(--border-gray); border-radius: var(--r-lg);
  text-decoration: none; transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  box-shadow: var(--shadow-card);
}
body.brand-peptid24 .p24-cat-card:hover { transform: translateY(-4px); border-color: var(--border-h); box-shadow: var(--shadow-card-h); }
body.brand-peptid24 .p24-cat-icon-wrap {
  width: 52px; height: 52px; border-radius: 50%; background: var(--cyan-lt);
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
body.brand-peptid24 .p24-cat-icon { font-size: 1.4rem; }
body.brand-peptid24 .p24-cat-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--t1); }
body.brand-peptid24 .p24-cat-sub { font-size: .82rem; color: var(--t3); margin-bottom: 8px; }
body.brand-peptid24 .p24-cat-arrow { font-size: .82rem; color: var(--cyan-dk); font-weight: 600; }

/* Mission/USP-Grid */
body.brand-peptid24 .p24-mission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
body.brand-peptid24 .p24-mission-card {
  padding: 36px 28px; background: #fff; border: 1px solid var(--border-gray);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card); position: relative; overflow: hidden;
}
body.brand-peptid24 .p24-mission-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--cyan);
}
body.brand-peptid24 .p24-mission-card:nth-child(2n)::before { background: var(--green); }
body.brand-peptid24 .p24-mission-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--cyan-lt);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px;
}
body.brand-peptid24 .p24-mission-card:nth-child(2n) .p24-mission-icon { background: var(--green-lt); }
body.brand-peptid24 .p24-mission-card h3 { font-family: var(--font-head); font-size: 1.2rem; margin: 0 0 10px; color: var(--t1); }
body.brand-peptid24 .p24-mission-card p { color: var(--t2); line-height: 1.6; margin: 0; }

/* Produktbeschreibung — eigene "Datenblatt"-Optik, anders als Reta24s Stat-Badges */
body.brand-peptid24 .woocommerce-product-details__short-description { font-size: 1.05rem; color: var(--t2); line-height: 1.6; }
body.brand-peptid24 #tab-description h3 {
  font-family: var(--font-head); font-size: 1.15rem; margin: 28px 0 10px; color: var(--navy);
}
body.brand-peptid24 #tab-description h3:first-child { margin-top: 0; }
body.brand-peptid24 #tab-description p { color: var(--t2); line-height: 1.65; margin: 0 0 6px; }
body.brand-peptid24 .p24-spec-block {
  display: flex; flex-direction: column; margin-top: 24px;
  border: 1px solid var(--border-gray); border-radius: var(--r-lg); overflow: hidden;
}
body.brand-peptid24 .p24-spec-row { display: flex; justify-content: space-between; padding: 11px 18px; font-family: var(--font-mono); font-size: .85rem; }
body.brand-peptid24 .p24-spec-row:nth-child(odd) { background: var(--surface); }
body.brand-peptid24 .p24-spec-row span { color: var(--t3); }
body.brand-peptid24 .p24-spec-row strong { color: var(--t1); font-weight: 600; }
body.brand-peptid24 .p24-desc-note {
  margin-top: 16px; font-size: .82rem; color: var(--t3); font-style: italic;
}

@media (max-width: 640px) {
  body.brand-peptid24 .p24-hero-right { order: -1; }
  body.brand-peptid24 .p24-scale-graphic { flex-direction: row; flex-wrap: wrap; }
  body.brand-peptid24 .p24-trust-bar-wrap { margin-top: -20px; }
  body.brand-peptid24 .p24-trust-bar { padding: 20px; }
}
