/*
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; }
/* Nutzer mag den minimalen Logo-Überlapp in den Ticker — Nav-Höhe bewusst
   unverändert (Standard --hh) gelassen, kein Vergrößern mehr. */

/* Nav + Ticker bleiben beim Scrollen sichtbar — gestapelte sticky-Elemente,
   Ticker rueckt exakt um die Nav-Hoehe nach unten. */
body.brand-peptid24 #main-nav { top: 0; z-index: 899; }
body.brand-peptid24 .p24-ticker { position: sticky; top: var(--hh); z-index: 898; }


/* 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 15s 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(0); }
  to   { transform: translateX(-50%); }
}

/* 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; overflow-y: hidden; 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; } }

/* Abstand zwischen Kategorien-Sektion und der folgenden USP-Sektion war zu groß (2x 96px) */
body.brand-peptid24 #p24-kategorien { padding-bottom: 40px; }
body.brand-peptid24 #p24-kategorien + .section-alt { padding-top: 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;
}

/* Kategorie-Beschreibung (Hybrid-Hub-Seiten Retatrutid/Tirzepatid/Semaglutid):
   .p24-spec-block hier ausserhalb von #tab-description, braucht daher
   eigene Ueberschriften-/FAQ-Optik statt direkt an die Box zu kleben. */
body.brand-peptid24 .term-description h3 {
  font-family: var(--font-head); font-size: 1.15rem; margin: 32px 0 16px; color: var(--navy);
}
body.brand-peptid24 .p24-cat-faq-item {
  border-top: 1px solid var(--border-gray); padding: 16px 0;
}
body.brand-peptid24 .p24-cat-faq-item:first-of-type { border-top: none; padding-top: 0; }
body.brand-peptid24 .p24-cat-faq-item strong {
  display: block; font-family: var(--font-head); font-size: .98rem; color: var(--t1); margin-bottom: 6px;
}
body.brand-peptid24 .p24-cat-faq-item p {
  margin: 0; font-size: .92rem; line-height: 1.65; color: var(--t2);
}

/* "Was ist X"-Wirkstoffseiten: Vergleich als Kartenraster statt Tabelle */
body.brand-peptid24 .p24-compare-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 32px;
}
body.brand-peptid24 .p24-compare-card {
  background: #fff; border: 1px solid var(--border-gray); border-radius: var(--r-lg);
  padding: 20px 18px; box-shadow: var(--shadow-card); position: relative; overflow: hidden;
}
body.brand-peptid24 .p24-compare-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--border-gray);
}
body.brand-peptid24 .p24-compare-card--active::before { background: var(--cyan); }
body.brand-peptid24 .p24-compare-card--active { border-color: var(--border-h); box-shadow: var(--shadow-card-h); }
body.brand-peptid24 .p24-compare-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--t1); margin-bottom: 10px; }
body.brand-peptid24 .p24-compare-row { display: flex; justify-content: space-between; font-size: .82rem; padding: 6px 0; border-top: 1px solid var(--border-gray); }
body.brand-peptid24 .p24-compare-row:first-of-type { border-top: none; }
body.brand-peptid24 .p24-compare-row span { color: var(--t3); }
body.brand-peptid24 .p24-compare-row strong { color: var(--t1); font-weight: 600; }

/* Wirkmechanismus-Karten (Icon + Text) auf den Wirkstoffseiten */
body.brand-peptid24 .p24-mech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; margin: 20px 0 28px; }
body.brand-peptid24 .p24-mech-card { background: var(--surface); border: 1px solid var(--border-gray); border-radius: var(--r-lg); padding: 18px; }
body.brand-peptid24 .p24-mech-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--cyan-lt); display:flex; align-items:center; justify-content:center; font-size:1.1rem; margin-bottom:10px; }
body.brand-peptid24 .p24-mech-card:nth-child(2n) .p24-mech-icon { background: var(--green-lt); }
body.brand-peptid24 .p24-mech-card h4 { font-family: var(--font-head); font-size: .98rem; margin: 0 0 6px; color: var(--navy); }
body.brand-peptid24 .p24-mech-card p { font-size: .88rem; color: var(--t2); line-height: 1.55; margin:0; }

/* Studien-Callout auf den Wirkstoffseiten */
body.brand-peptid24 .p24-study-box { background: var(--navy); border-radius: var(--r-lg); padding: 22px 24px; color:#fff; margin: 20px 0 28px; line-height: 1.6; }
body.brand-peptid24 .p24-study-box strong { color: var(--cyan-lt); }
body.brand-peptid24 .p24-study-figure { font-family: var(--font-head); font-size: 2.2rem; font-weight:700; color:#fff; display:block; margin-bottom: 4px; }

@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; }
  body.brand-peptid24 .p24-compare-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Kontaktformular (Contact Form 7) — Redesign 13.07.2026
   ============================================ */
.wpcf7-form { max-width: 640px; }
.wpcf7-form p { margin: 0 0 20px; }
.p24-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
@media (max-width: 640px) {
  .p24-form-grid { grid-template-columns: 1fr; }
}
.wpcf7-form label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--t1);
  margin-bottom: 8px;
}
.wpcf7-form .p24-required { color: var(--cyan); }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--t1);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 13px 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.wpcf7-form textarea { min-height: 140px; resize: vertical; }
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-glow);
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder { color: var(--t3); }

.p24-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.wpcf7-form input[type="submit"] {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dk) 100%);
  border: none;
  border-radius: var(--r);
  padding: 14px 32px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wpcf7-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--cyan-glow);
}
.wpcf7-form input[type="submit"]:disabled { opacity: .6; cursor: default; transform: none; }

.p24-response-hint {
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--t3);
}

.wpcf7-form .wpcf7-not-valid-tip {
  display: block;
  font-family: var(--font-body);
  font-size: .8rem;
  color: #d64545;
  margin-top: 6px;
}
.wpcf7-form .wpcf7-not-valid { border-color: #d64545 !important; }

.wpcf7-response-output {
  font-family: var(--font-body);
  font-size: .9rem;
  border-radius: var(--r) !important;
  padding: 14px 18px !important;
  margin: 20px 0 0 !important;
}
.wpcf7-form.sent .wpcf7-response-output {
  border-color: #1a9c6b !important;
  color: #0f6b49;
  background: #e7f7f0;
}
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output {
  border-color: #d64545 !important;
  color: #a52f2f;
  background: #fbeaea;
}

/* ============================================
   Leerzustand Bewertungen (kein Reuse von .fchip —
   das ist für dunklen Footer-Hintergrund gedacht,
   hier heller Hintergrund noetig). 14.07.2026
   ============================================ */
.p24-no-reviews { margin: 12px 0 20px; }
.p24-no-reviews-text {
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--t2);
  margin-bottom: 14px;
  line-height: 1.5;
}
.p24-review-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.p24-review-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--cyan-lt);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 6px 13px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
}
