/* CannaPreis /copy/ — Design System */

/* === WP THEME COMPAT VARS (used in REST-API rendered WP content) === */
:root {
  --zen-font: 'Inter', sans-serif;
  --zen-text: #111827;
  --zen-text-muted: #6b7280;
  --zen-text-light: #9ca3af;
  --zen-border: #e5e7eb;
  --zen-border-dark: #d1d5db;
  --zen-bg: #fff;
  --zen-bg-light: #f9fafb;
  --zen-surface: #fff;
  --zen-primary: #10c956;
  --zen-success: #10b981;
  --zen-cta: #10c956;
  --zen-gap: 16px;
  --zen-radius-sm: 8px;
  --zen-max-width: 820px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.cp-body { margin: 0; font-family: 'Inter', sans-serif; background: #fff; color: #111827; overflow-x: clip !important; }

/* === HEADER === */
.cp-header {
  position: sticky; top: 0; z-index: 200;
  background: #fff; border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.cp-header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 20px; height: 64px;
  display: flex; align-items: center; gap: 20px;
}
.cp-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0; cursor: pointer;
}
.cp-logo:hover img { opacity: .88; }
.cp-logo img { height: 25px; width: auto; display: block; }
.cp-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.cp-nav-link {
  text-decoration: none; color: #4b5563; font-size: 14px; font-weight: 500;
  padding: 6px 8px; border-radius: 8px; transition: all .18s; white-space: nowrap;
}
.cp-nav-link:hover { background: #ecfdf3; color: #059669; }
.cp-nav-bestellen, .cp-acc-bestellen { color:#10c956 !important; font-weight:800 !important; }
.cp-nav-bestellen:hover { background:#ecfdf3 !important; color:#0ea54a !important; }
.cp-nav-link.active { background: #ecfdf3; color: #059669; font-weight: 600; }
.cp-nav-zen { color: #10c956 !important; font-weight: 600; }

/* === NAV DROPDOWN (Markt → Apotheken / Hersteller / Städte) === */
.cp-nav-group { position: relative; }
.cp-nav-subnav {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: #fff; border: 1px solid #e5e7eb;
  border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.13);
  padding: 6px; min-width: 168px; z-index: 1000; /* Leaflet-Karten-Panes gehen bis 700 (Popups) -- muss darueber liegen */
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  pointer-events: none;
}
.cp-nav-group:hover .cp-nav-subnav,
.cp-nav-group:focus-within .cp-nav-subnav {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.cp-nav-sub-link {
  display: block; padding: 8px 12px; border-radius: 7px;
  font-size: 13.5px; font-weight: 500; color: #374151;
  text-decoration: none; white-space: nowrap;
}
.cp-nav-sub-link:hover { background: #ecfdf3; color: #059669; }
.cp-nav-sub-divider { height: 1px; background: #f3f4f6; margin: 4px 6px; }
.cp-nav-sub-overview { font-size: 12.5px; color: #9ca3af !important; }
.cp-nav-sub-overview:hover { color: #6b7280 !important; background: #f9fafb !important; }

.cp-hamburger {
  display: none; flex-direction: column; justify-content: space-around;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 10px;
}
.cp-hamburger span { display: block; width: 100%; height: 2px; background: #4b5563; border-radius: 2px; transition: all .2s; }

@media (max-width: 1240px) {
  .cp-hamburger { display: flex; margin-left: auto; }
  .cp-nav { display: none !important; }
}

/* =============================================
   MOBILE MENU DRAWER
   ============================================= */
.cp-menu-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 500;
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.cp-menu-overlay.open { display: block; }

.cp-menu-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw); background: #fff; z-index: 600;
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s cubic-bezier(.32,.72,0,1), visibility 0s linear .3s;
  display: flex; flex-direction: column; overflow: hidden;
}
.cp-menu-drawer.open {
  transform: translateX(0); visibility: visible;
  transition: transform .3s cubic-bezier(.32,.72,0,1), visibility 0s linear 0s;
}

/* Head */
.cp-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid #f3f4f6; flex-shrink: 0;
}
.cp-menu-logo { display: flex; align-items: center; text-decoration: none; }
.cp-menu-logo img { height: 30px; width: auto; }
.cp-menu-close {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e5e7eb;
  background: #f9fafb; cursor: pointer; display: flex; align-items: center;
  justify-content: center; color: #4b5563; transition: all .2s; flex-shrink: 0;
}
.cp-menu-close:hover { background: #f3f4f6; color: #111827; }

/* Search */
.cp-menu-search {
  display: flex; align-items: center; gap: 10px;
  margin: 16px 20px; padding: 12px 16px;
  background: #f3f4f6; border-radius: 50px;
}
.cp-menu-search input {
  border: none; background: transparent; outline: none;
  font-size: 14px; font-family: inherit; color: #111827; flex: 1; min-width: 0;
}
.cp-menu-search input::placeholder { color: #9ca3af; }

/* Body */
.cp-menu-body { flex: 1; overflow-y: auto; padding: 4px 0 8px; }
.cp-menu-section-label {
  font-size: 11px; font-weight: 700; color: #9ca3af; letter-spacing: .1em;
  padding: 12px 20px 8px;
}

/* Menu Items */
.cp-menu-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px; text-decoration: none; color: inherit;
  transition: background .15s; border-bottom: 1px solid #f9fafb;
}
.cp-menu-item:hover { background: #f9fafb; }
.cp-menu-item:active { background: #f3f4f6; }
.cp-menu-icon {
  width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cp-menu-item-text { flex: 1; min-width: 0; }
.cp-menu-item-title { display: block; font-size: 16px; font-weight: 600; color: #111827; line-height: 1.3; }
.cp-menu-item-sub   { display: block; font-size: 12px; color: #9ca3af; margin-top: 1px; }
.cp-menu-chevron { flex-shrink: 0; }

/* Footer CTAs */
.cp-menu-footer {
  padding: 16px 20px; border-top: 1px solid #f3f4f6;
  display: flex; flex-direction: column; gap: 10px; flex-shrink: 0;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.cp-menu-cta-outline {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 10px; border: 1.5px solid #e5e7eb;
  text-decoration: none; font-size: 15px; font-weight: 600; color: #374151;
  background: #fff; transition: all .2s;
}
.cp-menu-cta-outline:hover { border-color: #10c956; color: #059669; }
.cp-menu-cta-primary {
  display: block; text-align: center;
  padding: 14px 20px; border-radius: 10px;
  background: #10c956; color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 700; transition: background .2s;
}
.cp-menu-cta-primary:hover { background: #0daa48; }

/* === MAIN === */
.cp-main { min-height: 70vh; }
.cp-container { max-width: 1200px; margin: 0 auto; padding: 32px 20px; }

/* === HERO === */
.cp-home-hero {
  background: linear-gradient(160deg, #0a1628 0%, #0f2318 50%, #0a1628 100%);
  padding: 184px 20px 173px;
  position: relative; overflow: hidden;
}
.cp-hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
}
.cp-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(10,22,40,.5) 0%, rgba(15,35,24,.42) 50%, rgba(10,22,40,.5) 100%);
}
.cp-hero-content .cp-hero-h1, .cp-hero-content .cp-hero-sub {
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.cp-hero-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; text-align: center; }
.cp-hero-h1 {
  font-size: clamp(24px, 3.8vw, 42px); font-weight: 900;
  color: #fff; margin: 0 0 16px; line-height: 1.18; letter-spacing: -.025em;
}
.cp-hero-h1-mobile { display: none; }
@media (max-width: 640px) {
  .cp-hero-h1-desktop { display: none; }
  .cp-hero-h1-mobile { display: block; }
}
.cp-hero-sub { font-size: clamp(14px, 1.8vw, 17px); color: rgba(255,255,255,.92); margin: 0 0 32px; line-height: 1.6; }
.cp-search-bar {
  max-width: 640px; margin: 0 auto; display: flex; gap: 0;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.cp-search-bar input {
  flex: 1; min-width: 0; border: none; padding: 16px 20px; font-size: 14px;
  font-family: inherit; outline: none; color: #111827;
}
.cp-search-bar button {
  background: #10c956; color: #fff; border: none; padding: 16px 22px;
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: background .2s; white-space: nowrap; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.cp-search-bar button svg { width: 16px; height: 16px; flex-shrink: 0; }
.cp-search-bar button:hover { background: #059669; }
.cp-search-bar .cp-search-ai-btn { background: #111; }
.cp-search-bar .cp-search-ai-btn:hover { background: #000; }
.cp-hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.cp-hero-cta-link {
  display: inline-block; padding: 9px 18px; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.4); border-radius: 8px;
  color: #fff; font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .18s;
}
.cp-hero-cta-link:hover { background: rgba(255,255,255,.25); }

/* === TICKER === */
.cp-ticker {
  background: #f8f9fa; border-bottom: 1px solid #e5e7eb;
}
.cp-ticker-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; overflow-x: auto; scrollbar-width: none;
}
.cp-ticker-inner::-webkit-scrollbar { display: none; }
.cp-ticker-item {
  flex: 1 0 auto; padding: 12px 24px;
  border-right: 1px solid #e5e7eb;
  display: flex; flex-direction: column; gap: 2px;
  align-items: center; min-width: 120px;
}
.cp-ticker-item:last-child { border-right: none; }
.cp-ticker-label { font-size: 10px; font-weight: 700; color: #9ca3af; letter-spacing: .08em; }
.cp-ticker-val { font-size: 15px; font-weight: 800; color: #111827; }
.cp-ticker-green { color: #059669; }

/* === USP FEATURE BAR === */
.cp-usp-bar {
  background: #fff; border-bottom: 1px solid #e5e7eb;
  padding: 14px 20px;
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 28px; max-width: 1200px; margin: 0 auto;
}
.cp-usp-item { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #374151; white-space: nowrap; }
.cp-usp-item svg { flex-shrink: 0; }

/* === WIE ES FUNKTIONIERT === */
.cp-how-it-works {
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 16px;
  padding: 32px 28px; margin-bottom: 40px;
}
.cp-hiw-title {
  font-size: 17px; font-weight: 800; color: #111827;
  text-align: center; margin-bottom: 28px;
}
.cp-hiw-steps {
  display: flex; align-items: flex-start; justify-content: center; gap: 0;
  flex-wrap: wrap;
}
.cp-hiw-step {
  flex: 1; min-width: 160px; max-width: 220px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 16px;
}
.cp-hiw-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: #10c956; color: #fff;
  font-size: 14px; font-weight: 900; display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; flex-shrink: 0;
}
.cp-hiw-icon { margin-bottom: 10px; }
.cp-hiw-label { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 6px; }
.cp-hiw-sub { font-size: 13px; color: #6b7280; line-height: 1.55; }
.cp-hiw-arrow {
  display: flex; align-items: center; padding-top: 40px; flex-shrink: 0;
}
@media (max-width: 640px) {
  .cp-hiw-arrow { display: none; }
  .cp-hiw-step { min-width: 100%; max-width: 100%; flex-direction: row; text-align: left; gap: 14px; padding: 12px 0; }
  .cp-hiw-icon { display: none; }
  .cp-hiw-num { flex-shrink: 0; }
  .cp-hiw-label { font-size: 14px; margin-bottom: 2px; }
}

/* === FEATURES GRID === */
.cp-features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px;
}
@media (max-width: 900px) { .cp-features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .cp-features-grid { grid-template-columns: 1fr; } }
.cp-feat-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 16px 18px; text-decoration: none; color: inherit;
  transition: border-color .18s, box-shadow .18s; cursor: pointer;
}
.cp-feat-card:hover { border-color: #10c956; box-shadow: 0 3px 16px rgba(16,201,86,.1); }
.cp-feat-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cp-feat-body { flex: 1; min-width: 0; }
.cp-feat-title { font-size: 14px; font-weight: 700; color: #111827; margin-bottom: 4px; }
.cp-feat-desc { font-size: 12.5px; color: #6b7280; line-height: 1.5; }
.cp-feat-arrow { font-size: 16px; color: #d1d5db; flex-shrink: 0; padding-top: 2px; }
.cp-feat-card:hover .cp-feat-arrow { color: #10c956; }

/* === MOBILE MENU ACCORDION === */
.cp-acc {
  border-bottom: 1px solid #f3f4f6;
  margin: 0;
}
.cp-acc summary.cp-acc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px;
  font-size: 15px; font-weight: 600; color: #111827;
  cursor: pointer; list-style: none; user-select: none;
}
.cp-acc summary.cp-acc-head::-webkit-details-marker { display: none; }
.cp-acc summary.cp-acc-head::after {
  content: '';
  display: block; width: 16px; height: 16px; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat; background-position: center;
  transition: transform .2s ease;
}
.cp-acc[open] summary.cp-acc-head::after { transform: rotate(-180deg); }
.cp-acc[open] summary.cp-acc-head { color: #10c956; }
.cp-acc-body {
  background: #f9fafb; padding: 4px 0 8px;
  border-top: 1px solid #f3f4f6;
}
.cp-acc-body a {
  display: block; padding: 10px 28px;
  font-size: 14px; font-weight: 500; color: #374151;
  text-decoration: none; transition: color .15s, background .15s;
}
.cp-acc-body a:hover { color: #10c956; background: #ecfdf3; }
.cp-acc-divider {
  height: 1px; background: #e5e7eb; margin: 6px 20px;
}
.cp-acc-direct {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px;
  font-size: 15px; font-weight: 600; color: #111827;
  text-decoration: none; border-bottom: 1px solid #f3f4f6;
  transition: color .15s;
}
.cp-acc-direct:hover { color: #10c956; }
.cp-acc-rezept {
  display: block; margin: 16px 20px 8px;
  padding: 14px 20px; border-radius: 10px;
  background: #10c956; color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 700; text-align: center;
  transition: background .2s;
}
.cp-acc-rezept:hover { background: #0daa48; }

/* === HERSTELLER PRODUKTTYP TABS === */
.cp-mfr-tab {
  padding: 5px 13px; border-radius: 20px; font-size: 12.5px; font-weight: 600;
  background: #f3f4f6; color: #4b5563; border: 1px solid #e5e7eb;
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.cp-mfr-tab:hover { background: #e5e7eb; color: #111827; }
.cp-mfr-tab.active { background: #111827; color: #fff; border-color: #111827; }

/* === BREADCRUMB === */
.cp-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: #9ca3af; margin-bottom: 20px; flex-wrap: wrap;
}
.cp-breadcrumb a { color: #6b7280; text-decoration: none; }
.cp-breadcrumb a:hover { color: #10c956; }
.cp-breadcrumb span { color: #d1d5db; }

/* === SECTION TITLE === */
.cp-section-title {
  font-size: 20px; font-weight: 800; color: #111827;
  margin: 0 0 20px; padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
}
.cp-section-title span { color: #10c956; }

/* === PRODUCT GRID === */
.cp-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px; margin-bottom: 16px;
}
.cp-product-card {
  border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden;
  background: #fff; transition: all .22s; display: flex; flex-direction: column;
}
.cp-product-card:hover { border-color: #10c956; box-shadow: 0 4px 20px rgba(16,201,86,.13); transform: translateY(-2px); }
.cp-product-card a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.cp-card-img { width: 100%; height: 140px; object-fit: cover; display: block; transition: transform .3s; }
.cp-product-card:hover .cp-card-img { transform: scale(1.04); }
.cp-card-body { padding: 14px; flex-grow: 1; }
.cp-card-title { font-size: 14px; font-weight: 700; margin: 0 0 4px; color: #111827; line-height: 1.3; }
.cp-card-sub { font-size: 12px; color: #6b7280; margin: 0; }
.cp-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-top: 1px solid #f3f4f6; background: #f9fafb;
}
.cp-card-price { font-size: 15px; font-weight: 800; color: #059669; }
.cp-card-link {
  font-size: 12px; font-weight: 600; color: #4b5563;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 6px;
  padding: 4px 10px; transition: all .2s;
}
.cp-product-card:hover .cp-card-link { background: #10c956; color: #fff; border-color: #10c956; }

/* === MORE LINK === */
.cp-more-link {
  color: #059669; font-weight: 700; text-decoration: none; font-size: 14px;
  padding: 8px 20px; border: 2px solid #10c956; border-radius: 8px;
  display: inline-block; transition: all .2s;
}
.cp-more-link:hover { background: #10c956; color: #fff; }

/* === SKELETON LOADER === */
.cp-skeleton {
  background: linear-gradient(90deg,#f3f4f6 25%,#e9ecef 50%,#f3f4f6 75%);
  background-size: 200% 100%;
  animation: cp-shimmer 1.4s infinite;
  display: inline-block;
}
@keyframes cp-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.cp-skeleton-row { pointer-events: none; }

/* === ANALYTICS GRID (Marktanalyse-Abschnitt Homepage) === */
.cp-markt-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: stretch; margin-bottom: 40px;
}
@media (max-width: 900px) { .cp-markt-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cp-markt-grid { grid-template-columns: 1fr; } }
.cp-markt-right { display: contents; }
.cp-analytics-box {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 20px;
}
.cp-analytics-title { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 2px; }
.cp-analytics-sub { font-size: 12px; color: #9ca3af; margin-bottom: 16px; }

/* Hersteller Bars */
.cp-hersteller-bars { display: flex; flex-direction: column; gap: 8px; }
.cp-hbar { display: flex; align-items: center; gap: 8px; }
.cp-hbar-label {
  width: 80px; font-size: 12px; font-weight: 600; color: #374151;
  text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex-shrink: 0;
}
.cp-hbar-label:hover { color: #10c956; }
.cp-hbar-wrap { flex: 1; height: 12px; background: #f3f4f6; border-radius: 6px; overflow: hidden; }
.cp-hbar-fill { height: 100%; background: linear-gradient(90deg, #10c956, #34d375); border-radius: 6px; transition: width .6s ease; }
.cp-hbar-val { font-size: 11px; font-weight: 700; color: #6b7280; width: 28px; text-align: right; flex-shrink: 0; }

/* Genetics Bars */
.cp-genetics-bars { display: flex; flex-direction: column; gap: 12px; }
.cp-gen-bar { display: flex; align-items: center; gap: 10px; }
.cp-gen-label { width: 50px; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.cp-gen-label.sativa { color: #10c956; }
.cp-gen-label.indica { color: #059669; }
.cp-gen-label.hybrid { color: #34d375; }
.cp-gen-track { flex: 1; height: 14px; background: #f3f4f6; border-radius: 7px; overflow: hidden; }
.cp-gen-fill { height: 100%; border-radius: 7px; transition: width .6s ease; }
.cp-gen-fill.sativa { background: #10c956; }
.cp-gen-fill.indica { background: #059669; }
.cp-gen-fill.hybrid { background: #34d375; }
.cp-gen-pct { font-size: 12px; font-weight: 700; color: #6b7280; width: 34px; text-align: right; flex-shrink: 0; }

/* === CTA BANNER === */
.cp-cta-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(135deg, #ecfdf3, #d1fae5); border: 1px solid #a7f3d0;
  border-radius: 12px; padding: 20px 24px; margin: 40px 0 0;
}
.cp-cta-text { font-size: 15px; color: #065f46; line-height: 1.5; }
.cp-cta-text strong { display: block; font-size: 17px; font-weight: 800; color: #064e3b; margin-bottom: 2px; }
.cp-cta-btn {
  background: #10c956; color: #fff; text-decoration: none;
  padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 700;
  white-space: nowrap; transition: background .2s; flex-shrink: 0;
}
.cp-cta-btn:hover { background: #0daa48; }
@media (max-width: 600px) { .cp-cta-banner { flex-direction: column; text-align: center; } }

/* === STATS ROW === */
.cp-stats-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.cp-stat-box {
  flex: 1; min-width: 140px;
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 16px 20px; text-align: center;
}
.cp-stat-box .v { font-size: 24px; font-weight: 800; color: #111827; }
.cp-stat-box .l { font-size: 11px; color: #9ca3af; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }

/* === HERO PRODUCT === */
.cp-product-hero {
  background: linear-gradient(135deg, #f9fafb 0%, #ecfdf3 100%);
  border: 1px solid #e5e7eb; border-radius: 16px;
  padding: 32px; margin-bottom: 32px; overflow: hidden;
}
.cp-product-hero-img {
  width: calc(100% + 64px); height: 260px; object-fit: cover; display: block;
  margin: -32px -32px 24px; border-radius: 0;
}
.cp-product-hero h1 { font-size: 28px; font-weight: 800; margin: 0 0 6px; color: #111827; }
.cp-product-hero .cp-handelsname { font-size: 15px; color: #6b7280; margin: 0 0 16px; }
.cp-hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.cp-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid transparent;
}
.cp-badge-green  { background: #ecfdf3; color: #059669; border-color: #a7f3d0; }
.cp-badge-blue   { background: #ecfdf3; color: #059669; border-color: #a7f3d0; }
.cp-badge-amber  { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }
.cp-badge-purple { background: #d1fae5; color: #047857; border-color: #6ee7b7; }
.cp-badge-gray   { background: #f9fafb; color: #4b5563; border-color: #e5e7eb; }
.cp-price-summary { display: flex; gap: 24px; flex-wrap: wrap; }
.cp-price-stat { text-align: center; }
.cp-price-stat .val { font-size: 22px; font-weight: 800; color: #059669; }
.cp-price-stat .lbl { font-size: 11px; color: #9ca3af; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }

/* === PRICE TABLE === */
.cp-price-table-wrap { overflow-x: auto; margin-bottom: 32px; }
.cp-price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cp-price-table th {
  background: #f9fafb; padding: 10px 14px; text-align: left;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: #6b7280; border-bottom: 2px solid #e5e7eb; white-space: nowrap;
}
.cp-price-table td { padding: 12px 14px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.cp-price-table tr:hover td { background: #f9fafb; }
.cp-price-table .cp-rank { font-weight: 700; color: #9ca3af; font-size: 12px; }
.cp-price-table .cp-apo-name { font-weight: 600; color: #111827; }
.cp-price-table .cp-apo-city { font-size: 12px; color: #9ca3af; }
.cp-price-table .cp-apo-price { font-weight: 800; color: #059669; font-size: 16px; }
.cp-price-table .cp-apo-age { font-size: 11px; color: #9ca3af; }
.cp-price-table a { text-decoration: none; color: inherit; }
.cp-price-table a:hover .cp-apo-name { color: #10c956; }
.cp-price-best td { background: #ecfdf3 !important; }

/* === RATGEBER === */
.cp-ratgeber-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cp-ratgeber-grid { grid-template-columns: repeat(2, 1fr); } }
.cp-ratgeber-card {
  border: 1px solid #e5e7eb; border-radius: 12px; padding: 0;
  background: #fff; transition: all .2s; text-decoration: none; color: inherit; display: block;
  overflow: hidden;
}
.cp-ratgeber-card:hover { border-color: #10c956; box-shadow: 0 4px 16px rgba(16,201,86,.1); transform: translateY(-2px); }
.cp-ratgeber-card-img { width: 100%; height: 150px; object-fit: cover; display: block; }
.cp-ratgeber-card-body { padding: 16px 18px 18px; }
.cp-ratgeber-card .cat { font-size: 10px; font-weight: 700; text-transform: uppercase; color: #10c956; letter-spacing: .07em; margin-bottom: 8px; }
.cp-ratgeber-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: #111827; line-height: 1.4; }
.cp-ratgeber-card p { font-size: 13px; color: #6b7280; margin: 0; line-height: 1.5; }

/* === FRESHNESS === */
.cp-fresh { color: #059669; font-weight: 600; }
.cp-warn  { color: #d97706; font-weight: 600; }

/* === NOTICE === */
.cp-notice {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px;
  padding: 12px 16px; font-size: 13px; color: #92400e; margin-bottom: 20px;
}

/* === PAGINATION === */
.cp-pagination { display: flex; gap: 6px; justify-content: center; margin: 32px 0; flex-wrap: wrap; }
.cp-page-link {
  min-width: 38px; height: 38px; padding: 0 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #e5e7eb; border-radius: 8px; text-decoration: none;
  color: #4b5563; font-size: 14px; font-weight: 600; background: #fff; transition: all .2s;
}
.cp-page-link:hover { border-color: #10c956; color: #10c956; }
.cp-page-link.active { background: #10c956; color: #fff; border-color: #10c956; pointer-events: none; }

/* === KPI GRID === */
.cp-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0 20px; }
.cp-kpi-widget { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 20px 20px 16px; position: relative; overflow: hidden; }
.cp-kpi-widget::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px; background: #10c956; }
.cp-kpi-label { font-size: 12px; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.cp-kpi-big { font-size: 26px; font-weight: 800; color: #111827; line-height: 1.1; margin-bottom: 6px; }
.cp-kpi-sub { font-size: 11px; color: #9ca3af; }

/* === QUICK PILLS === */
.cp-pill-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 28px; }
.cp-pill { padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; background: #f3f4f6; color: #4b5563; border: 1px solid #e5e7eb; transition: all .15s; white-space: nowrap; }
.cp-pill:hover { background: #ecfdf3; color: #059669; border-color: #a7f3d0; }

/* === BÖRSEN-DASHBOARD === */
.cp-bm { color: #111827; margin-bottom: 36px; }
.cp-bm-grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; margin-bottom: 20px; }
.cp-bm-chart-area { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; min-width: 0; }
.cp-bm-tabs { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.cp-bm-tab { padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; border: 1px solid #e5e7eb; background: transparent; color: #6b7280; cursor: pointer; transition: all .15s; font-family: inherit; }
.cp-bm-tab:hover { border-color: #059669; color: #059669; }
.cp-bm-tab.active { background: #059669; color: #fff; border-color: #059669; }
.cp-bm-index-price { font-size: 30px; font-weight: 800; line-height: 1.1; margin-bottom: 2px; }
.cp-bm-index-change { font-size: 14px; font-weight: 600; margin-left: 8px; }
.cp-bm-index-meta { font-size: 12px; color: #9ca3af; margin-bottom: 14px; }
.cp-bm-periods { display: flex; gap: 4px; margin-bottom: 14px; flex-wrap: wrap; }
.cp-bm-period { padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; border: 1px solid #e5e7eb; background: transparent; color: #6b7280; cursor: pointer; transition: all .15s; font-family: inherit; }
.cp-bm-period:hover { border-color: #059669; color: #059669; }
.cp-bm-period.active { background: #059669; color: #fff; border-color: #059669; }
.cp-bm-chart-wrap { position: relative; height: 280px; }
.cp-bm-chart-wrap canvas { width: 100% !important; height: 100% !important; }
.cp-bm-loading { display: flex; align-items: center; justify-content: center; height: 280px; color: #9ca3af; font-size: 13px; }
.cp-bm-spinner { width: 18px; height: 18px; border: 2px solid #e5e7eb; border-top-color: #059669; border-radius: 50%; animation: cp-spin .6s linear infinite; margin-right: 8px; }
@keyframes cp-spin { to { transform: rotate(360deg); } }
.cp-bm-sidebar { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; align-self: start; }
.cp-bm-sidebar-title { font-size: 14px; font-weight: 700; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid #111827; }
.cp-bm-market-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid #f3f4f6; cursor: pointer; transition: background .1s; }
.cp-bm-market-row:last-child { border-bottom: none; }
.cp-bm-market-row:hover { background: #f9fafb; margin: 0 -20px; padding: 9px 20px; }
.cp-bm-market-label { font-size: 13px; font-weight: 500; }
.cp-bm-market-vals { display: flex; gap: 10px; align-items: center; }
.cp-bm-market-price { font-size: 13px; font-weight: 700; }
.cp-bm-market-chg { font-size: 11px; font-weight: 600; color: #9ca3af; }
.cp-bm-ticker { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; background: #f8f9fa; border: 1px solid #e5e7eb; border-radius: 8px; margin: 0 0 20px; }
.cp-bm-ticker::-webkit-scrollbar { display: none; }
.cp-bm-ticker-item { flex: 1 0 auto; padding: 10px 18px; border-right: 1px solid #e5e7eb; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.cp-bm-ticker-item:last-child { border-right: none; }
.cp-bm-ticker-label { font-size: 12px; font-weight: 600; color: #6b7280; }
.cp-bm-ticker-price { font-size: 14px; font-weight: 700; }
.cp-bm-bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.cp-bm-bottom-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px; min-width: 0; overflow: hidden; }
.cp-bm-card-title { font-size: 13px; font-weight: 700; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid #111827; }
.cp-bm-card-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; font-size: 12px; border-bottom: 1px solid #f9fafb; }
.cp-bm-card-row:last-child { border-bottom: none; }
.cp-bm-card-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; padding-right: 6px; }
.cp-bm-card-name a { color: inherit; text-decoration: none; }
.cp-bm-card-name a:hover { color: #059669; }
.cp-bm-card-price { font-weight: 700; white-space: nowrap; margin-right: 4px; }
.cp-bm-card-chg { font-size: 11px; font-weight: 600; color: #9ca3af; white-space: nowrap; }
.cp-bm-footer { text-align: center; padding: 12px 0 0; font-size: 11px; color: #9ca3af; border-top: 1px solid #e5e7eb; }
.cp-bm-up { color: #dc2626; } .cp-bm-down { color: #059669; } .cp-bm-neutral { color: #9ca3af; }

/* === STÄDTE PREISINDEX === */
.cp-bst-panel { overflow-x: auto; margin-bottom: 32px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.cp-bst-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.cp-bst-tbl th { background: #f9fafb; padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; border-bottom: 2px solid #e5e7eb; white-space: nowrap; }
.cp-bst-tbl th.r { text-align: right; }
.cp-bst-tbl td { padding: 10px 14px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.cp-bst-tbl tr:last-child td { border-bottom: none; }
.cp-bst-tbl tr:hover td { background: #f9fafb; }
.cp-bst-rank { font-weight: 700; color: #9ca3af; font-size: 12px; text-align: center; }
.cp-bst-city a { font-weight: 600; color: #111827; text-decoration: none; }
.cp-bst-city a:hover { color: #10c956; }
.cp-bst-num { text-align: right; font-weight: 600; color: #374151; }
.cp-bst-bar-cell { width: 120px; }
.cp-bst-bar-wrap { background: #f3f4f6; border-radius: 4px; height: 8px; overflow: hidden; }
.cp-bst-bar-fill { height: 100%; background: linear-gradient(90deg, #10c956, #059669); border-radius: 4px; }

/* === FOOTER === (Styles in Block ~1803) */

/* === MAP TEASER (Homepage) === */
.cp-map-teaser {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0; border-radius: 14px;
  padding: 20px 24px; margin: 32px 0; text-decoration: none; color: inherit;
  transition: box-shadow .2s;
}
.cp-map-teaser:hover { box-shadow: 0 4px 20px rgba(5,150,105,.12); }
.cp-map-teaser-left { display: flex; align-items: flex-start; gap: 14px; flex: 1; min-width: 220px; }
.cp-map-teaser-title { font-size: 15px; font-weight: 800; color: #047857; margin-bottom: 3px; }
.cp-map-teaser-sub   { font-size: 13px; color: #059669; line-height: 1.4; }
.cp-map-teaser-tabs  { display: flex; gap: 6px; flex-wrap: wrap; }
.cp-map-teaser-tabs span {
  padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700;
  background: rgba(5,150,105,.1); color: #047857; white-space: nowrap;
}
.cp-map-teaser-cta {
  padding: 10px 20px; background: #059669; color: #fff;
  border-radius: 9px; font-size: 14px; font-weight: 700; white-space: nowrap;
}

/* === PREISVERLAUF CHART === */
.cp-chart-wrap {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 20px; margin-bottom: 24px;
}

/* === REZEPT CTA BANNER (Preis-Seiten) === */
.cp-rezept-banner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  background: linear-gradient(135deg, #ecfdf3, #d1fae5);
  border: 1px solid #a7f3d0; border-radius: 12px;
  padding: 18px 24px; margin: 24px 0;
}
.cp-rezept-banner-text { display: flex; flex-direction: column; gap: 3px; }
.cp-rezept-banner-text strong { font-size: 15px; color: #065f46; }
.cp-rezept-banner-text span  { font-size: 13px; color: #047857; }
.cp-rezept-banner-btn {
  display: inline-block; padding: 11px 22px; background: #10c956; color: #fff;
  border-radius: 9px; font-size: 14px; font-weight: 700; text-decoration: none;
  white-space: nowrap; transition: background .18s;
}
.cp-rezept-banner-btn:hover { background: #0daa48; }

/* === SHARE ROW (Preis-Seiten) === */
.cp-share-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 16px 0; font-size: 13px; color: #9ca3af;
}
.cp-share-btn {
  display: inline-block; padding: 7px 14px; border: 1px solid #e5e7eb;
  border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer;
  background: #fff; color: #374151; text-decoration: none; transition: all .18s;
}
.cp-share-btn:hover { border-color: #10c956; color: #10c956; }
.cp-share-wa { background: #25d366; border-color: #25d366; color: #fff; }
.cp-share-wa:hover { background: #1db954; border-color: #1db954; color: #fff; }

/* === POST CONTENT === */
.cp-post-content h2, .cp-article-content h2, .article h2 { font-size: 22px; font-weight: 800; color: #111827; margin: 36px 0 14px; padding-bottom: 10px; border-bottom: 2px solid #e5e7eb; }
.cp-post-content h3, .cp-article-content h3, .article h3 { font-size: 17px; font-weight: 700; color: #111827; margin: 26px 0 10px; }
.cp-post-content h4, .cp-article-content h4, .article h4 { font-size: 15px; font-weight: 700; color: #111827; margin: 20px 0 8px; }
.cp-post-content p, .cp-article-content p, .article p  { margin: 0 0 16px; line-height: 1.75; color: #374151; }
.cp-post-content ul, .cp-post-content ol, .cp-article-content ul, .cp-article-content ol, .article ul, .article ol { padding-left: 22px; margin: 0 0 18px; }
.cp-post-content li, .cp-article-content li, .article li { margin-bottom: 8px; line-height: 1.65; color: #374151; }
.cp-post-content li::marker, .cp-article-content li::marker, .article li::marker { color: #10c956; }
.cp-post-content strong, .cp-article-content strong, .article strong { color: #111827; font-weight: 700; }
.cp-post-content a, .article a  { color: #10c956; text-decoration: none; }
.cp-post-content a:hover, .article a:hover { text-decoration: underline; }
.cp-article-content a { color: #111827; text-decoration: underline; text-decoration-color: #d1d5db; text-underline-offset: 2px; }
.cp-article-content a:hover { color: #10c956; text-decoration-color: #10c956; }
.cp-post-content blockquote, .cp-article-content blockquote, .article blockquote { border-left: 4px solid #10c956; padding: 12px 20px; margin: 20px 0; background: #f9fafb; border-radius: 0 8px 8px 0; font-style: italic; color: #374151; }
.cp-post-content img, .cp-article-content img, .article img { max-width: 100%; height: auto; border-radius: 8px; }
.cp-post-content table, .cp-article-content table, .article table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.cp-post-content table th, .cp-article-content table th, .article table th { background: #f9fafb; padding: 10px 12px; text-align: left; font-size: 13px; border-bottom: 2px solid #e5e7eb; }
.cp-post-content table td, .cp-article-content table td, .article table td { padding: 10px 12px; border-bottom: 1px solid #f3f4f6; font-size: 14px; }
.info-box { padding: 16px 20px; margin: 20px 0; border-radius: 0 10px 10px 0; }
.info-box h3, .info-box h4 { margin: 0 0 8px; font-size: 15px; font-weight: 800; color: #059669; }
.info-box p { margin: 0; line-height: 1.7; color: #374151; }

/* =============================================
   RESPONSIVE — MOBILE FIRST
   ============================================= */
@media (max-width: 640px) {
  /* Container */
  .cp-container { padding: 20px 16px; }

  /* Header */
  .cp-header-inner { height: 56px; padding: 0 16px; }
  .cp-logo img { height: 21px; }

  /* Hero */
  .cp-home-hero { padding: 102px 16px 97px; }
  .cp-hero-h1 { font-size: 24px; letter-spacing: -.01em; }
  .cp-hero-sub { font-size: 14px; margin-bottom: 24px; }
  .cp-search-bar input { padding: 13px 12px; font-size: 12px; }
  .cp-search-bar button { padding: 13px 16px; font-size: 13px; }
  .cp-search-bar button .btn-label { display: none; }

  /* Ticker */
  .cp-ticker-item { padding: 10px 14px; min-width: 90px; }
  .cp-ticker-label { font-size: 9px; }
  .cp-ticker-val { font-size: 13px; }

  /* Section title */
  .cp-section-title { font-size: 17px; }

  /* KPI grid — 2x2 on mobile */
  .cp-kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cp-kpi-big { font-size: 20px; }

  /* Börsen-Dashboard mobile */
  .cp-bm-grid { grid-template-columns: 1fr; }
  .cp-bm-bottom { grid-template-columns: 1fr; }
  .cp-bm-chart-wrap { height: 220px; }
  .cp-bm-loading { height: 220px; }
  .cp-bm-index-price { font-size: 22px; }
  .cp-bst-bar-cell { display: none; }

  /* Product grid — 2 cols on mobile */
  .cp-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cp-card-title { font-size: 13px; }
  .cp-card-price { font-size: 13px; }
  .cp-card-link { font-size: 11px; padding: 3px 8px; }

  /* Product hero */
  .cp-product-hero { padding: 20px; }
  .cp-product-hero-img { width: calc(100% + 40px); margin: -20px -20px 20px; height: 200px; }
  .cp-product-hero h1 { font-size: 20px; }
  .cp-price-summary { gap: 8px; }
  .cp-price-stat { flex: 1; min-width: calc(50% - 6px); }
  .cp-price-stat .val { font-size: 18px; }

  /* Stats row */
  .cp-stats-row { gap: 8px; }
  .cp-stat-box { padding: 12px 14px; min-width: 100px; }
  .cp-stat-box .v { font-size: 18px; }

  /* Analytics — !important nötig da 768px-Block später im CSS steht */
  .cp-analytics-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .cp-analytics-box { padding: 16px; }
  .cp-hbar-label { width: 56px; font-size: 11px; }

  /* iOS Zoom-Prevention: alle Inputs/Selects mind. 16px -- ausser den kompakten KI-Suchfeldern,
     die bewusst kleiner sind (siehe Feedback "Text zu gross im Vergleich"); die bekommen den
     16px-Schutz stattdessen nur bei :focus, wo Safari den Zoom tatsaechlich auslesen wuerde. */
  input:not(.cp-hask-input):not(#cp-search-input), select, textarea { font-size: 16px !important; }
  .cp-hask-input:focus, #cp-search-input:focus { font-size: 16px !important; }

  /* Search Bar */
  .cp-search-bar button { font-size: 15px; }

  /* Hero CTA Row */
  .cp-hero-cta-row { flex-direction: column; gap: 10px; }
  .cp-hero-cta-link { text-align: center; }

  /* OHLC Chart größer auf Mobile */
  .cp-ohlc-chart-wrap { height: 240px; }

  /* KPI Labels lesbarer */
  .cp-anl-value { font-size: 18px; }
  .cp-anl-label { font-size: 10px; }

  /* Price table */
  .cp-price-table { font-size: 13px; }
  .cp-price-table th, .cp-price-table td { padding: 10px 10px; }
  .cp-price-table .cp-apo-price { font-size: 14px; }

  /* CTA banner */
  .cp-cta-banner { flex-direction: column; text-align: center; padding: 18px 16px; }

  /* More link */
  .cp-more-link { font-size: 13px; padding: 7px 16px; }

  /* Footer */
  .cp-footer { padding: 36px 16px 24px; }
  .cp-footer-usp-headline { font-size: 13px; }
  .cp-footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cp-footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cp-footer-nav { gap: 12px; }
  .cp-footer-nav a { font-size: 13px; }

  /* Pagination */
  .cp-page-link { min-width: 34px; height: 34px; font-size: 13px; }

  /* Karte */
  #cp-map { height: 300px !important; }
}

@media (max-width: 480px) {
  /* Footer: 1 Spalte auf kleinen Phones */
  .cp-footer-cols { grid-template-columns: 1fr; gap: 20px; }

  /* Ratgeber: 1 Spalte auf kleinen Phones */
  .cp-ratgeber-grid { grid-template-columns: 1fr; }

  /* USP-Bar: kleinerer Abstand + Font */
  .cp-usp-bar { gap: 4px 16px; font-size: 12px; }

  /* THC-Klassen-Row: 2 Spalten statt 3 auf sehr kleinen Phones */
  .cp-bs-thc-row { grid-template-columns: repeat(2, 1fr) !important; }

  /* Analytics KPI: 2x2 bleibt */
  .cp-screener-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
}

@media (max-width: 380px) {
  /* Ultra-small Phones: Produktkarten 1 Spalte */
  .cp-product-grid { grid-template-columns: 1fr !important; }

  /* Hero kleiner */
  .cp-hero-h1 { font-size: 21px; }
  .cp-kpi-big { font-size: 18px; }

  /* Analytics KPI: 1 Spalte */
  .cp-analytics-grid { grid-template-columns: 1fr !important; }
}

/* === SEKTOREN & GENETIK (cp-bs) === */
.cp-bs-wrap { margin-bottom: 36px; }
.cp-bs-genetics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 16px;
}
.cp-bs-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 22px 20px; display: flex; flex-direction: column; gap: 5px;
  transition: all .2s;
}
.cp-bs-card:hover { border-color: #10c956; box-shadow: 0 4px 20px rgba(16,201,86,.13); transform: translateY(-2px); }
.cp-bs-card-icon { font-size: 28px; line-height: 1; margin-bottom: 4px; }
.cp-bs-card-name { font-size: 17px; font-weight: 800; color: #111827; }
.cp-bs-card-avg { font-size: 26px; font-weight: 800; line-height: 1.1; }
.cp-bs-card-meta { font-size: 12px; color: #9ca3af; font-weight: 500; }
.cp-bs-card-min { font-size: 12px; color: #6b7280; }
.cp-bs-card-link { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; color: #059669; text-decoration: none; }
.cp-bs-card-link:hover { text-decoration: underline; }

.cp-bs-thc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cp-bs-thc-card {
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 18px 16px; display: flex; flex-direction: column; gap: 4px;
}
.cp-bs-thc-icon { font-size: 22px; line-height: 1; }
.cp-bs-thc-label { font-size: 14px; font-weight: 800; color: #111827; }
.cp-bs-thc-sub { font-size: 11px; color: #9ca3af; }
.cp-bs-thc-avg { font-size: 20px; font-weight: 800; margin-top: 4px; }
.cp-bs-thc-cnt { font-size: 11px; color: #6b7280; }
.cp-bs-thc-cheap { font-size: 11px; color: #6b7280; margin-top: 2px; }
.cp-bs-thc-cheap strong { color: #059669; }

/* === HERSTELLER TABLE (cp-htbl) === */
.cp-htbl-wrap { overflow-x: auto; margin-bottom: 32px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.cp-htbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.cp-htbl th { background: #f9fafb; padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; border-bottom: 2px solid #e5e7eb; white-space: nowrap; }
.cp-htbl th.r { text-align: right; }
.cp-htbl td { padding: 10px 14px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.cp-htbl tr:last-child td { border-bottom: none; }
.cp-htbl tr:hover td { background: #f9fafb; }
.cp-htbl-rank { font-weight: 700; color: #9ca3af; font-size: 13px; width: 36px; text-align: center; }
.cp-htbl-name { min-width: 160px; }
.cp-htbl-name a { font-weight: 700; color: #111827; text-decoration: none; display: block; margin-bottom: 5px; }
.cp-htbl-name a:hover { color: #10c956; }
.cp-htbl-bar-wrap { height: 5px; background: #f3f4f6; border-radius: 3px; overflow: hidden; }
.cp-htbl-bar-fill { height: 100%; background: linear-gradient(90deg, #10c956, #34d375); border-radius: 3px; }
.cp-htbl-num { text-align: right; font-weight: 700; color: #374151; }

@media (max-width: 640px) {
  .cp-bs-genetics { grid-template-columns: 1fr; gap: 10px; }
  .cp-bs-thc-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cp-bs-card-avg { font-size: 20px; }
  .cp-bs-thc-avg { font-size: 16px; }
  .cp-bs-thc-card { padding: 12px 10px; }
}

/* ── Analytics Grid ───────────────────────────────────────────────────────── */
.cp-analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 768px) {
  .cp-analytics-grid { grid-template-columns: repeat(2, 1fr); }
}
.cp-anl-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
}
.cp-anl-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cp-anl-value {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 3px;
  line-height: 1.1;
}
.cp-anl-sub { font-size: 11px; color: #9ca3af; }
.cp-anl-green  { color: #059669; }
.cp-anl-amber  { color: #34d375; }
.cp-anl-red    { color: #dc2626; }
.cp-anl-blue   { color: #047857; }
.cp-anl-purple { color: #10c956; }

/* ── Charts Row ──────────────────────────────────────────────────────────── */
.cp-charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .cp-charts-row { grid-template-columns: 1fr; }
}
.cp-chart-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 20px;
}
.cp-chart-title {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
#cp-price-chart,
#cp-apo-price-chart { max-height: 200px; }

/* ── City Analytics ──────────────────────────────────────────────────────── */
.cp-city-analytics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 640px) {
  .cp-city-analytics { grid-template-columns: 1fr; }
}
.cp-city-anl-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 20px;
}

/* ── Deals Strip ─────────────────────────────────────────────────────────── */
.cp-deals-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
@media (max-width: 900px) {
  .cp-deals-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .cp-deals-strip {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cp-deals-strip::-webkit-scrollbar { display: none; }
}
.cp-deal-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  min-width: 140px;
}
.cp-deal-card:hover {
  border-color: #10c956;
  box-shadow: 0 2px 12px rgba(16,201,86,.12);
}
.cp-deal-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #10c956;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 0 10px 0 7px;
  letter-spacing: .03em;
}
.cp-deal-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 7px;
  margin-bottom: 8px;
}
.cp-deal-name {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cp-deal-sub {
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 6px;
}
.cp-deal-price {
  font-size: 15px;
  font-weight: 800;
  color: #10c956;
}

/* ── Top-3-Grid auf Apo/Hersteller-Seiten ──────────────────────────────── */
@media (max-width: 640px) {
  .cp-top3-grid { grid-template-columns: 1fr !important; }
}

/* ── Mobile: Markt-Tabellen (7 Spalten) — #, Name, ab Preis/g behalten ───── */
@media (max-width: 640px) {
  .cp-price-table-wrap:not(.cp-apo-price-wrap) .cp-price-table th:nth-child(3),
  .cp-price-table-wrap:not(.cp-apo-price-wrap) .cp-price-table td:nth-child(3),
  .cp-price-table-wrap:not(.cp-apo-price-wrap) .cp-price-table th:nth-child(4),
  .cp-price-table-wrap:not(.cp-apo-price-wrap) .cp-price-table td:nth-child(4),
  .cp-price-table-wrap:not(.cp-apo-price-wrap) .cp-price-table th:nth-child(6),
  .cp-price-table-wrap:not(.cp-apo-price-wrap) .cp-price-table td:nth-child(6),
  .cp-price-table-wrap:not(.cp-apo-price-wrap) .cp-price-table th:nth-child(7),
  .cp-price-table-wrap:not(.cp-apo-price-wrap) .cp-price-table td:nth-child(7) { display: none; }
  /* Preis-Seite (5 Spalten): #, Preisindex, Stand ausblenden — Apotheke + Preis/g behalten */
  .cp-apo-price-wrap .cp-price-table th:nth-child(1),
  .cp-apo-price-wrap .cp-price-table td:nth-child(1),
  .cp-apo-price-wrap .cp-price-table th:nth-child(4),
  .cp-apo-price-wrap .cp-price-table td:nth-child(4),
  .cp-apo-price-wrap .cp-price-table th:nth-child(5),
  .cp-apo-price-wrap .cp-price-table td:nth-child(5) { display: none; }
}
/* Veraltete Preise: rote Alters-Anzeige + gedimmte Zeile */
.cp-stale { color: #ef4444 !important; font-weight: 600; }
.cp-price-table tr:has(.cp-stale) td { opacity: 0.65; }
.cp-price-table tr:has(.cp-stale) .cp-stale { opacity: 1; }

/* ── Preise: Markt-Analyse Collapsible auf Mobile ─────────────────────────── */
.cp-charts-toggle-btn { display: none; }
@media (max-width: 640px) {
  .cp-charts-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    margin-bottom: 10px;
    box-sizing: border-box;
  }
  .cp-charts-toggle-btn .cp-chevron { transition: transform .2s; }
  .cp-charts-toggle-btn.open .cp-chevron { transform: rotate(180deg); }
  #cp-charts-row { display: none; }
  #cp-charts-row.cp-charts-open { display: grid !important; }
}

/* ── Screener / Markt KPI Grid (4-col → 2-col → 1-col) ───────────────────── */
.cp-screener-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .cp-screener-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cp-screener-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ── Markt Sub-Nav scroll auf Mobile ─────────────────────────────────────── */
@media (max-width: 640px) {
  .cp-screener-kpis .cp-anl-value { font-size: 18px; }
}

/* ── OHLC Preisverlauf-Karte ──────────────────────────────────────────────── */
.cp-ohlc-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px 22px 16px;
  margin-bottom: 28px;
}
.cp-ohlc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.cp-ohlc-title {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.cp-ohlc-sub {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}
.cp-ohlc-trend-badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}
.cp-ohlc-trend-badge.green { background: #ecfdf3; color: #059669; }
.cp-ohlc-trend-badge.red   { background: #fef2f2; color: #dc2626; }

/* Zeit-Tabs */
.cp-ohlc-tabs {
  display: flex;
  gap: 4px;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 3px;
}
.cp-tab {
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cp-tab:hover { color: #111827; }
.cp-tab.cp-tab-active {
  background: #fff;
  color: #10c956;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

/* Ticker */
.cp-ohlc-ticker {
  display: flex;
  gap: 0;
  border: 1px solid #f3f4f6;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
.cp-ticker-item {
  flex: 1;
  padding: 10px 12px;
  border-right: 1px solid #f3f4f6;
  min-width: 0;
}
.cp-ticker-lbl {
  display: block;
  font-size: 10px;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cp-ticker-val {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}
.cp-ticker-val.green { color: #059669; }
.cp-ticker-val.red   { color: #dc2626; }

.cp-ohlc-chart-wrap {
  position: relative;
  height: 200px;
  margin-bottom: 12px;
}
.cp-ohlc-chart-wrap canvas { width: 100% !important; height: 100% !important; }

/* Legende */
.cp-ohlc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: #6b7280;
  padding-top: 8px;
  border-top: 1px solid #f3f4f6;
}
.cp-ohlc-legend span { display: flex; align-items: center; gap: 5px; }
.cp-ohlc-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cp-ohlc-ticker { flex-wrap: wrap; }
  .cp-ticker-item { flex: 0 0 33.33%; border-bottom: 1px solid #f3f4f6; }
  .cp-ticker-item:nth-child(3) { border-right: none; }
  .cp-ticker-item:nth-child(4),
  .cp-ticker-item:nth-child(5) { border-bottom: none; }
  .cp-ohlc-chart-wrap { height: 180px; }
  .cp-ohlc-legend { gap: 8px; }
}

/* Sparklines */
.cp-spark-wrap { display: flex; justify-content: flex-end; align-items: center; }

/* === MOBILE: Scroll-Strip für Filter-Chips / Nav-Tabs ============= */
.cp-scroll-chips { display: flex; flex-wrap: wrap; }
@media (max-width: 640px) {
  .cp-scroll-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, #000 88%, transparent 100%);
  }
  .cp-scroll-chips::-webkit-scrollbar { display: none; }
  .cp-scroll-chips > * { flex-shrink: 0; }
}

/* === MOBILE: Markt-Layout Grid-Fixes ============================== */
@media (max-width: 640px) {
  #cp-markt-analytics { grid-template-columns: 1fr !important; }
  .cp-gen-sectors-grid { grid-template-columns: 1fr !important; }
}

/* ================================================================
   MOBILE IMPROVEMENTS v2 — 80% der Nutzer sind auf dem Handy
   ================================================================ */

/* --- Filter-Form (preise.php) --- */
.cp-filter-form { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .cp-filter-form { flex-direction: column; gap: 10px; }
  .cp-filter-form input,
  .cp-filter-form select { width: 100%; min-width: 0 !important; font-size: 16px; padding: 12px 14px; box-sizing: border-box; }
  .cp-filter-form button,
  .cp-filter-form a.cp-reset { width: 100%; text-align: center; padding: 12px; }
}

/* --- Sort-Buttons (preise.php) --- */
@media (max-width: 640px) {
  .cp-sort-row { flex-wrap: wrap; }
  .cp-sort-btn { flex: 1 0 auto; text-align: center; font-size: 12px; padding: 8px 10px; }
}

/* --- Preis-Seite (preis.php) mobile fixes --- */
@media (max-width: 640px) {
  /* KPI-Row: 2x2 */
  .cp-preis-kpis { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }

  /* Sorteninfo-Block */
  .cp-sorteninfo { padding: 14px 16px; }
  .cp-sorteninfo p { font-size: 14px; }

  /* OHLC Tabs: scrollbar */
  .cp-ohlc-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .cp-ohlc-tabs::-webkit-scrollbar { display: none; }
  .cp-ohlc-tabs .cp-tab { flex-shrink: 0; font-size: 13px; padding: 6px 14px; }

  /* OHLC Ticker: 3 pro Zeile */
  .cp-ohlc-ticker { display: grid; grid-template-columns: repeat(3, 1fr); }
  .cp-ticker-item { border-right: 1px solid #f3f4f6; border-bottom: 1px solid #f3f4f6; }
  .cp-ticker-item:nth-child(3n) { border-right: none; }

  /* Preisalarm CTA */
  .cp-alert-box { padding: 12px 14px; }
  #cp-alert-btn { width: 100%; margin-top: 8px; padding: 12px; font-size: 15px; }

  /* Apotheken-Tabelle: touch-freundlich */
  .cp-price-table td, .cp-price-table th { padding: 12px 10px; }
  .cp-price-table { font-size: 13px; }
}

/* --- Deals-Strip horizontal scroll --- */
@media (max-width: 640px) {
  .cp-deals-strip { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-bottom: 4px; }
  .cp-deals-strip::-webkit-scrollbar { display: none; }
  .cp-deal-card { min-width: 150px; flex-shrink: 0; }
}

/* --- Allgemeine Touch-Targets: Buttons/Links min 44px --- */
@media (max-width: 900px) {
  .cp-more-link,
  .cp-btn,
  .cp-hero-cta-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .cp-page-link { min-width: 40px; min-height: 40px; }
  /* Body-Padding für Fixed Bottom-Nav */
  body.cp-body.has-cmp-bar { padding-bottom: 68px; }
  /* Menu-Close: auf 40px (iOS-HIG: ≥44px empfohlen, 40px Minimum) */
  .cp-menu-close { width: 40px; height: 40px; }
  /* Share-Buttons: Touch-taugliche Größe */
  .cp-share-btn { padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; }
}

/* --- OHLC Chart: mehr Platz auf Mobile --- */
@media (max-width: 640px) {
  .cp-ohlc-card { padding: 16px 14px 12px; }
  .cp-ohlc-chart-wrap { height: 240px !important; }
  .cp-ohlc-legend { font-size: 10px; gap: 8px; }
}

/* --- Markt-Seite Tabellen --- */
@media (max-width: 640px) {
  .cp-top3-grid { grid-template-columns: 1fr !important; gap: 10px; }
  .cp-markt-kpi-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
}

/* --- Genetik-Cards (bs-card) auf Mobile --- */
@media (max-width: 640px) {
  .cp-bs-card { padding: 16px 14px; }
  .cp-bs-card-avg { font-size: 22px; }
  .cp-bs-card-name { font-size: 15px; }
}

/* === MOBILE IMPROVEMENTS v3 — Map, Grids, Scroll === */

/* Karte: Map-Höhe — wird in karte.php inline via vh gesetzt */

/* Ratings-Grid (Apotheke-Seite: Sortiment / Preisniveau / Aktualität) */
.cp-ratings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
@media (max-width: 640px) {
  .cp-ratings-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 380px) {
  .cp-ratings-grid { grid-template-columns: 1fr; }
}

/* Gen-Sektoren (Markt-Seite: Sativa / Indica / Hybrid) */
@media (max-width: 640px) {
  .cp-gen-sectors-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
}

/* Markt-Segmente (Markt-Seite: Schnellzugriff-Kacheln) */
.cp-markt-segments {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}
@media (max-width: 640px) {
  .cp-markt-segments { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .cp-markt-segments { grid-template-columns: 1fr; }
}

/* Related Articles (Ratgeber-Seite: Weitere Ratgeber) */
.cp-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
@media (max-width: 640px) {
  .cp-related-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 380px) {
  .cp-related-grid { grid-template-columns: 1fr; }
}

/* Live-Marktanalyse (Markt-Seite: Genetik + Hersteller) */
@media (max-width: 640px) {
  #cp-markt-analytics { grid-template-columns: 1fr !important; }
}

/* === PHASE 2: E-E-A-T AUTOREN-BOX === */
.cp-author-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 20px; margin: 40px 0 32px;
}
.cp-author-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #10c956, #059669);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: #fff; letter-spacing: -.5px;
}
.cp-author-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.cp-author-name { font-weight: 700; font-size: 15px; color: #111827; }
.cp-author-badge {
  font-size: 11px; font-weight: 600; color: #059669;
  background: #ecfdf3; border-radius: 4px; padding: 2px 8px;
}
.cp-author-role { font-size: 12px; color: #9ca3af; margin-bottom: 8px; }
.cp-author-desc { font-size: 13px; color: #4b5563; margin: 0 0 10px; line-height: 1.6; }
.cp-author-sources { font-size: 12px; color: #9ca3af; }
.cp-author-sources a { color: #6b7280; text-decoration: underline; text-underline-offset: 2px; }
.cp-author-sources a:hover { color: #10c956; }
@media (max-width: 480px) {
  .cp-author-box { flex-direction: column; }
  .cp-author-avatar { width: 40px; height: 40px; font-size: 13px; }
}

/* === PHASE 3: UGC BEWERTUNGEN === */
.cp-rev-summary {
  display: flex; align-items: center; gap: 16px;
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 16px 20px; margin-bottom: 16px;
}
.cp-rev-score { font-size: 44px; font-weight: 800; color: #111827; line-height: 1; }
.cp-rev-stars { display: flex; gap: 2px; margin-bottom: 4px; }
.cp-star { color: #d1d5db; font-size: 18px; }
.cp-star.filled, .cp-star.half { color: #f59e0b; }
.cp-rev-item { padding: 14px 0; border-bottom: 1px solid #f3f4f6; }
.cp-rev-item-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.cp-rev-item-stars { display: flex; gap: 1px; }
.cp-rev-item-stars .cp-star { font-size: 13px; }
.cp-rev-author { font-size: 13px; font-weight: 600; color: #111827; }
.cp-rev-date { font-size: 12px; color: #9ca3af; margin-left: auto; }
.cp-rev-text { font-size: 14px; color: #4b5563; line-height: 1.6; }
.cp-rev-form-wrap {
  margin-top: 24px; background: #f9fafb; border: 1px solid #e5e7eb;
  border-radius: 12px; padding: 20px;
}
.cp-rev-form-title { font-size: 15px; font-weight: 700; margin: 0 0 16px; color: #111827; }
.cp-rev-stars-input { display: flex; align-items: center; gap: 4px; margin-bottom: 14px; flex-wrap: wrap; }
.cp-rev-star-btn {
  background: none; border: none; cursor: pointer;
  font-size: 30px; color: #d1d5db; padding: 0; line-height: 1;
  transition: color .12s, transform .1s;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
}
.cp-rev-star-btn:hover { color: #fbbf24; transform: scale(1.18); }
.cp-rev-star-btn.active { color: #f59e0b; }
.cp-rev-textarea {
  width: 100%; border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 10px 12px; font-family: inherit; font-size: 14px;
  resize: vertical; margin-bottom: 10px; min-height: 80px;
  outline: none; color: #111827; background: #fff;
}
.cp-rev-textarea:focus { border-color: #10c956; box-shadow: 0 0 0 2px rgba(16,201,86,.12); }
.cp-rev-input {
  flex: 1; min-width: 140px; border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 9px 12px; font-family: inherit; font-size: 14px;
  outline: none; color: #111827; background: #fff;
}
.cp-rev-input:focus { border-color: #10c956; box-shadow: 0 0 0 2px rgba(16,201,86,.12); }
.cp-rev-submit {
  background: #10c956; color: #fff; border: none; border-radius: 8px;
  padding: 10px 20px; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.cp-rev-submit:hover { background: #0daa48; }
@media (max-width: 480px) {
  .cp-rev-input { min-width: 0; width: 100%; }
  .cp-rev-submit { width: 100%; }
}

/* === PHASE C: COMMUNITY Q&A === */
.cp-qa-item { padding: 14px 0; border-bottom: 1px solid #f3f4f6; }
.cp-qa-q {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 14px; font-weight: 600; color: #111827; margin-bottom: 8px; flex-wrap: wrap;
}
.cp-qa-meta { font-size: 11px; font-weight: 400; color: #9ca3af; margin-left: auto; align-self: center; white-space: nowrap; }
.cp-qa-a {
  display: flex; gap: 8px; align-items: flex-start;
  background: #f9fafb; border-radius: 8px; padding: 10px 12px;
  font-size: 13px; color: #4b5563; line-height: 1.6; margin-left: 24px;
}
.cp-qa-pending {
  font-size: 12px; color: #9ca3af; font-style: italic;
  margin-left: 24px; padding: 6px 0;
}

/* KPI Delta Colors */
.cp-kpi-delta { font-size: 12px; margin-top: 4px; font-weight: 600; }
.cp-kpi-delta.green { color: #059669; }
.cp-kpi-delta.red   { color: #ef4444; }

/* === COMPARE BUTTON === */
.cp-cmp-btn {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 36px; height: 36px; min-width: 36px; min-height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.9); border: 1px solid #e5e7eb;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s; color: #6b7280;
}
.cp-cmp-btn:hover { background: #fff; border-color: #10c956; color: #10c956; }
.cp-cmp-btn.cp-cmp-active { background: #10c956; border-color: #10c956; color: #fff; }


/* padding-Trick für 44px Touch-Area ohne visuellen Shift */
.cp-cmp-btn::before {
  content: ''; position: absolute;
  top: -4px; right: -4px; bottom: -4px; left: -4px;
}

/* === TELE EMPTY STATE === */
.tele-empty {
  grid-column: 1 / -1; padding: 32px 20px; text-align: center;
  color: #9ca3af; font-size: 14px; background: #f9fafb;
  border-radius: 10px; border: 1px dashed #e5e7eb;
}

/* === SAFE AREA INSETS (iPhone notch/home indicator) === */
#cp-cmp-bar {
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
}
body.cp-body.has-cmp-bar {
  padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
}

/* === NAV TOUCH-TOGGLE === */
.cp-nav-group.open .cp-nav-subnav {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}

/* === KPI GRID 768px BREAKPOINT === */
@media (max-width: 768px) {
  .cp-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* === RATGEBER GRID 640px BREAKPOINT === */
@media (max-width: 640px) {
  .cp-ratgeber-grid { grid-template-columns: 1fr; }
}


/* === TOUCH ACTIVE STATES (kein sticky hover auf Mobile) === */
@media (hover: none) {
  .cp-product-card:hover { transform: none; box-shadow: none; border-color: #e5e7eb; }
  .cp-feat-card:hover { border-color: #e5e7eb; box-shadow: none; }
}
.cp-product-card:active { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(16,201,86,.15); border-color: #10c956; }
.cp-feat-card:active, .cp-bs-card:active { transform: translateY(-1px); }

/* === FOOTER STRUCTURE === */
.cp-footer { background:#0f172a; color:#94a3b8; padding:0; margin-top:60px; }
.cp-footer-inner { max-width:1200px; margin:0 auto; padding:0 20px; }
.cp-footer-usp { border-bottom:1px solid #1e293b; padding:20px 0; display:flex; align-items:center; flex-wrap:wrap; gap:16px; justify-content:space-between; }
.cp-footer-usp-headline { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:#e2e8f0; }
.cp-footer-usp-badges { display:flex; flex-wrap:wrap; gap:8px; }
.cp-footer-usp-badges span { font-size:12px; color:#94a3b8; background:#1e293b; padding:4px 12px; border-radius:20px; font-weight:500; }
.cp-footer-main-cols { display:grid; grid-template-columns:220px 1fr 1fr 1fr; gap:40px; padding:48px 0 40px; border-bottom:1px solid #1e293b; }
.cp-footer-col-title { font-size:13px; font-weight:700; color:#f1f5f9; text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px; }
.cp-footer-link-col a, .cp-footer-link-col a:visited { display:block; font-size:13px; color:#cbd5e1; text-decoration:none; margin-bottom:9px; transition:color .15s; }
.cp-footer-link-col a:hover { color:#10c956; }
.cp-footer-accordion { padding:8px 0; border-bottom:1px solid #1e293b; }
.cp-fac { border-bottom:1px solid #1e293b; }
.cp-fac:last-child { border-bottom:none; }
.cp-fac-head { display:flex; align-items:center; justify-content:space-between; padding:16px 0; font-size:14px; font-weight:700; color:#f1f5f9; cursor:pointer; list-style:none; user-select:none; }
.cp-fac-head::-webkit-details-marker { display:none; }
.cp-fac-head:hover { color:#10c956; }
.cp-fac-chevron { color:#94a3b8; flex-shrink:0; transition:transform .2s; }
details[open] .cp-fac-chevron { transform:rotate(180deg); }
.cp-fac-body { padding:4px 0 20px; font-size:13px; line-height:2; color:#94a3b8; }
.cp-fac-body a, .cp-fac-body a:visited { color:#cbd5e1; text-decoration:none; display:inline; transition:color .15s; }
.cp-fac-body a:hover { color:#10c956; text-decoration:underline; }
.cp-footer-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; padding:24px 0 20px; gap:16px; }
.cp-footer-brand-bar { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.cp-footer-by { font-size:12px; color:#94a3b8; }
.cp-footer-by a { color:#cbd5e1; text-decoration:none; }
.cp-footer-by a:hover { color:#10c956; }
.cp-footer-nav { display:flex; gap:20px; flex-wrap:wrap; }
.cp-footer-nav a { font-size:12px; color:#94a3b8; text-decoration:none; }
.cp-footer-nav a:hover { color:#10c956; }
.cp-footer-disclaimer { font-size:11px; color:#64748b; line-height:1.7; border-top:1px solid #1e293b; padding:16px 0 24px; margin:0; }
.cp-footer-disclaimer a { color:#94a3b8; text-decoration:none; }
.cp-footer-disclaimer a:hover { color:#cbd5e1; }
@media (max-width:900px) {
  .cp-footer-main-cols { grid-template-columns:1fr; gap:24px; padding:32px 0 28px; }
}
@media (max-width:640px) {
  .cp-footer-main-cols { grid-template-columns:1fr; gap:20px; }
  .cp-footer-bottom { flex-direction:column; align-items:center; text-align:center; }
  .cp-footer-usp { flex-direction:column; align-items:center; text-align:center; }
  .cp-footer-usp-headline { justify-content:center; text-align:center; }
  .cp-footer-usp-badges { justify-content:center; }
  .cp-footer-brand-col, .cp-footer-link-col { text-align:center; width:100%; }
  .cp-footer-brand-col p { margin-left:auto; margin-right:auto; }
  .cp-footer-brand-col a { margin-left:auto; margin-right:auto; }
  .cp-footer-link-col a { display:block; text-align:center; }
  .cp-footer-brand-bar { justify-content:center; width:100%; }
  .cp-footer-nav { justify-content:center; width:100%; }
  .cp-footer-disclaimer { text-align:center; }
}

/* === MOBILE BOTTOM NAV === */
#cp-bot-nav {
  display:none; position:fixed; bottom:0; left:0; right:0; z-index:9988;
  background:#fff; border-top:1px solid #e8e8e8; height:58px; align-items:stretch;
  box-shadow:0 -2px 12px rgba(0,0,0,.08); padding-bottom:env(safe-area-inset-bottom,0);
}
@media (max-width:900px) { #cp-bot-nav { display:flex; } .cp-footer { padding-bottom:58px; } }
.cp-bn-item { flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; text-decoration:none; font-size:.56em; font-weight:600; padding:6px 1px; white-space:nowrap; }

/* === POPUP ANIMATION === */
@keyframes cpCzIn { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
@media (max-width:900px) { #cp-cz-popup { right:12px!important; bottom:68px!important; width:calc(100vw - 24px)!important; max-width:300px!important; } }
