/* ===== CANVENA Blog Template v4 — CCM Elements + 7 Chart Types ===== */
/* Wird in JEDEN Blogartikel via <link> eingebunden */

/* ===== BENEFIT FRAME — ANFANG ===== */
.benefit-frame {
  background: linear-gradient(135deg, #F0F7FF 0%, #F8FAFC 100%);
  border: 1px solid #DBEAFE;
  border-left: 4px solid #C9A84C;
  border-radius: 0 12px 12px 0;
  padding: 28px 32px;
  margin: 0 0 36px;
}
.benefit-frame-label {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #C9A84C;
  margin-bottom: 14px;
  font-weight: 500;
}
.benefit-frame h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  color: #1E293B;
  margin-bottom: 14px;
  font-weight: 600;
}
.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.benefit-list li {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.6;
  padding: 6px 0 6px 28px;
  position: relative;
}
.benefit-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #C9A84C;
  font-weight: 700;
  font-size: 1rem;
}

/* ===== BENEFIT FRAME — ENDE (Recap) ===== */
.benefit-recap {
  background: linear-gradient(135deg, #F0FDF4 0%, #F8FAFC 100%);
  border: 1px solid #BBF7D0;
  border-left: 4px solid #22C55E;
  border-radius: 0 12px 12px 0;
  padding: 28px 32px;
  margin: 40px 0 12px;
}
.benefit-recap-label {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #16A34A;
  margin-bottom: 14px;
  font-weight: 500;
}
.benefit-recap h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  color: #1E293B;
  margin-bottom: 14px;
  font-weight: 600;
}
.benefit-recap-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.benefit-recap-list li {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.6;
  padding: 6px 0 6px 28px;
  position: relative;
}
.benefit-recap-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #22C55E;
  font-weight: 700;
}
.benefit-recap .next-step {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9rem;
  color: #1E293B;
  font-weight: 500;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #D1FAE5;
}
.benefit-recap .next-step strong { color: #C9A84C; }

/* ===== KEY TAKEAWAY ===== */
.takeaway {
  background: #FEFCE8;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}
.takeaway-label {
  font-size: 0.68rem;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #92400E;
  margin-bottom: 8px;
}
.takeaway p {
  color: #78350F !important;
  margin-bottom: 0 !important;
  font-family: 'Inter', -apple-system, sans-serif;
}

/* ===== CTA BOX ===== */
.cta-box {
  background: linear-gradient(135deg, #0f172a, #162035);
  border: 1px solid #C9A84C;
  border-radius: 14px;
  padding: 36px 40px;
  margin: 48px 0;
  display: flex;
  align-items: center;
  gap: 32px;
}
@media (max-width: 700px) { .cta-box { flex-direction: column; text-align: center; padding: 28px 24px; } }
.cta-photo {
  flex-shrink: 0;
  width: 110px; height: 110px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid #C9A84C;
  box-shadow: 0 4px 20px rgba(201,168,76,0.2);
}
.cta-content { flex: 1; }
.cta-content h3 {
  color: #C9A84C !important;
  margin-bottom: 8px !important;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
}
.cta-content p {
  color: #94a3b8 !important;
  margin-bottom: 16px !important;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 4.65em;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 700px) { .cta-actions { justify-content: center; } }
.cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #C9A84C; color: #0f172a; padding: 12px 28px; border-radius: 8px;
  text-decoration: none; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.3); }
.cta-btn svg { flex-shrink: 0; }
.cta-email {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: #C9A84C; padding: 12px 28px; border-radius: 8px;
  text-decoration: none; font-family: 'Inter', sans-serif; font-size: 0.9rem;
  border: 1px solid rgba(201,168,76,0.3); transition: all 0.2s;
}
.cta-email:hover { border-color: #C9A84C; background: rgba(201,168,76,0.05); }

/* ===== CHART CONTAINER (shared) ===== */
.v4-chart {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 32px;
  margin: 36px 0;
  overflow: hidden;
}
.v4-chart .chart-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  color: #1E293B;
  margin-bottom: 4px;
  font-weight: 600;
}
.v4-chart .chart-subtitle {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.78rem;
  color: #94A3B8;
  margin-bottom: 24px;
}
.v4-chart .chart-source {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.6rem;
  color: #CBD5E1;
  margin-top: 16px;
  text-align: right;
}

/* --- BAR CHART --- */
.v4-chart .bar-chart { display: flex; align-items: flex-end; gap: 16px; height: 200px; padding-top: 12px; }
.v4-chart .bar-group { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.v4-chart .bar {
  width: 100%; max-width: 56px; border-radius: 6px 6px 0 0;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.v4-chart .bar.gold { background: linear-gradient(180deg, #C9A84C, #A88B3A); }
.v4-chart .bar.dark { background: linear-gradient(180deg, #334155, #1E293B); }
.v4-chart .bar.muted { background: linear-gradient(180deg, #94A3B8, #64748B); }
.v4-chart .bar.accent { background: linear-gradient(180deg, #D4B85C, #C9A84C); }
.v4-chart .bar-value {
  position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 600; color: #1E293B;
  opacity: 0; transition: opacity 0.5s ease 1s; white-space: nowrap;
}
.v4-chart .bar-label {
  font-family: 'Inter', sans-serif; font-size: 0.68rem; color: #64748B;
  margin-top: 10px; text-align: center; line-height: 1.3;
}
.v4-chart.animated .bar { transform: scaleY(1); }
.v4-chart.animated .bar-value { opacity: 1; }

/* --- PROGRESS BARS --- */
.v4-chart .progress-chart { display: flex; flex-direction: column; gap: 18px; }
.v4-chart .progress-row { display: flex; align-items: center; gap: 14px; }
.v4-chart .progress-label { font-family: 'Inter', sans-serif; font-size: 0.82rem; color: #374151; min-width: 150px; flex-shrink: 0; }
.v4-chart .progress-track { flex: 1; height: 24px; background: #E2E8F0; border-radius: 6px; overflow: hidden; position: relative; }
.v4-chart .progress-fill { height: 100%; border-radius: 6px; width: 0%; transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; }
.v4-chart .progress-fill.gold { background: linear-gradient(90deg, #A88B3A, #C9A84C); }
.v4-chart .progress-fill.dark { background: linear-gradient(90deg, #1E293B, #334155); }
.v4-chart .progress-fill.muted { background: linear-gradient(90deg, #64748B, #94A3B8); }
.v4-chart .progress-fill-value { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; font-weight: 600; color: #fff; opacity: 0; transition: opacity 0.4s ease 1.2s; }
.v4-chart.animated .progress-fill-value { opacity: 1; }

/* --- POLARITY CHART --- */
.v4-chart .polarity-chart { display: flex; flex-direction: column; gap: 0; }
.v4-chart .polarity-row { display: grid; grid-template-columns: 160px 1fr 60px; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F1F5F9; }
.v4-chart .polarity-row:last-child { border-bottom: none; }
.v4-chart .polarity-label { font-family: 'Inter', sans-serif; font-size: 0.8rem; color: #374151; text-align: right; line-height: 1.3; }
.v4-chart .polarity-track { position: relative; height: 32px; background: linear-gradient(90deg, #FEF3C7 0%, #F8FAFC 50%, #DBEAFE 100%); border-radius: 6px; }
.v4-chart .polarity-grid { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; }
.v4-chart .polarity-grid-line { flex: 1; border-right: 1px dashed #E2E8F0; }
.v4-chart .polarity-grid-line:last-child { border-right: none; }
.v4-chart .polarity-dot { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #C9A84C; border: 2.5px solid #fff; box-shadow: 0 2px 8px rgba(201,168,76,0.4); transform: translate(-50%, -50%) scale(0); transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 2; }
.v4-chart .polarity-value { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 600; color: #1E293B; text-align: center; opacity: 0; transition: opacity 0.5s ease 0.8s; }
.v4-chart .polarity-scale { display: grid; grid-template-columns: 160px 1fr 60px; gap: 12px; padding-top: 8px; border-top: 1px solid #E2E8F0; }
.v4-chart .polarity-scale-labels { display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: #94A3B8; text-transform: uppercase; letter-spacing: 0.05em; }
.v4-chart.animated .polarity-dot { transform: translate(-50%, -50%) scale(1); }
.v4-chart.animated .polarity-value { opacity: 1; }

/* --- 2x2 MATRIX --- */
.v4-chart .matrix-chart { position: relative; width: 100%; aspect-ratio: 1.3; max-width: 480px; margin: 0 auto; }
.v4-chart .matrix-grid { position: absolute; top: 28px; left: 28px; right: 0; bottom: 28px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: #E2E8F0; border-radius: 8px; overflow: hidden; }
.v4-chart .matrix-quadrant { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 10px; text-align: center; gap: 6px; }
.v4-chart .matrix-quadrant.q1 { background: rgba(201,168,76,0.08); }
.v4-chart .matrix-quadrant.q2 { background: rgba(201,168,76,0.15); }
.v4-chart .matrix-quadrant.q3 { background: #F8FAFC; }
.v4-chart .matrix-quadrant.q4 { background: rgba(30,41,59,0.05); }
.v4-chart .matrix-quadrant-title { font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 600; color: #1E293B; }
.v4-chart .matrix-quadrant-desc { font-family: 'Inter', sans-serif; font-size: 0.68rem; color: #64748B; }
.v4-chart .matrix-bubble { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 700; color: #fff; transform: scale(0); transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.v4-chart .matrix-bubble.gold { background: #C9A84C; }
.v4-chart .matrix-bubble.dark { background: #1E293B; }
.v4-chart .matrix-bubble.muted { background: #94A3B8; }
.v4-chart .matrix-axis-y { position: absolute; top: 28px; bottom: 28px; left: 0; width: 28px; display: flex; align-items: center; justify-content: center; }
.v4-chart .matrix-axis-y span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: 'JetBrains Mono', monospace; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.1em; color: #94A3B8; }
.v4-chart .matrix-axis-x { position: absolute; bottom: 0; left: 28px; right: 0; height: 28px; display: flex; align-items: center; justify-content: center; }
.v4-chart .matrix-axis-x span { font-family: 'JetBrains Mono', monospace; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.1em; color: #94A3B8; }
.v4-chart.animated .matrix-bubble { transform: scale(1); }

/* --- CHEVRON CHART --- */
.v4-chart .chevron-chart { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding: 8px 0; }
.v4-chart .chevron-step { position: relative; flex: 1; min-width: 100px; padding: 20px 24px 20px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; clip-path: polygon(0% 0%, calc(100% - 18px) 0%, 100% 50%, calc(100% - 18px) 100%, 0% 100%, 18px 50%); opacity: 0; transform: translateX(-20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.v4-chart .chevron-step:first-child { clip-path: polygon(0% 0%, calc(100% - 18px) 0%, 100% 50%, calc(100% - 18px) 100%, 0% 100%, 0% 50%); padding-left: 20px; }
.v4-chart .chevron-step.gold { background: linear-gradient(135deg, #C9A84C, #D4B85C); }
.v4-chart .chevron-step.dark { background: linear-gradient(135deg, #1E293B, #334155); }
.v4-chart .chevron-step.muted { background: linear-gradient(135deg, #94A3B8, #CBD5E1); }
.v4-chart .chevron-number { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; font-weight: 700; }
.v4-chart .chevron-step.gold .chevron-number, .v4-chart .chevron-step.dark .chevron-number { color: rgba(255,255,255,0.7); }
.v4-chart .chevron-title { font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600; line-height: 1.25; }
.v4-chart .chevron-step.gold .chevron-title, .v4-chart .chevron-step.dark .chevron-title { color: #fff; }
.v4-chart .chevron-desc { font-family: 'Inter', sans-serif; font-size: 0.6rem; line-height: 1.3; }
.v4-chart .chevron-step.gold .chevron-desc, .v4-chart .chevron-step.dark .chevron-desc { color: rgba(255,255,255,0.75); }
@media (max-width: 700px) { .v4-chart .chevron-chart { flex-direction: column; } .v4-chart .chevron-step, .v4-chart .chevron-step:first-child { clip-path: none; padding: 14px 20px; border-radius: 8px; margin-bottom: 4px; } }
.v4-chart.animated .chevron-step { opacity: 1; transform: translateX(0); }

/* --- TIMELINE / GANTT --- */
.v4-chart .timeline-chart { display: flex; flex-direction: column; gap: 14px; }
.v4-chart .timeline-header { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid #E2E8F0; }
.v4-chart .timeline-header-label { font-family: 'JetBrains Mono', monospace; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.08em; color: #94A3B8; }
.v4-chart .timeline-months { display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 0.58rem; color: #94A3B8; }
.v4-chart .timeline-row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: center; }
.v4-chart .timeline-label { font-family: 'Inter', sans-serif; font-size: 0.78rem; color: #374151; font-weight: 500; }
.v4-chart .timeline-track { position: relative; height: 28px; background: #F1F5F9; border-radius: 6px; overflow: hidden; }
.v4-chart .timeline-bar { position: absolute; top: 3px; height: calc(100% - 6px); border-radius: 4px; width: 0%; transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; justify-content: center; }
.v4-chart .timeline-bar.gold { background: linear-gradient(90deg, #A88B3A, #C9A84C); }
.v4-chart .timeline-bar.dark { background: linear-gradient(90deg, #1E293B, #334155); }
.v4-chart .timeline-bar.muted { background: linear-gradient(90deg, #94A3B8, #CBD5E1); }
.v4-chart .timeline-bar.accent { background: linear-gradient(90deg, #D4B85C, #C9A84C); }
.v4-chart .timeline-bar-label { font-family: 'JetBrains Mono', monospace; font-size: 0.58rem; font-weight: 600; color: #fff; white-space: nowrap; opacity: 0; transition: opacity 0.4s ease 1s; }
.v4-chart.animated .timeline-bar { width: var(--bar-width); }
.v4-chart.animated .timeline-bar-label { opacity: 1; }
