/* ============================================================
   Direktvergleich — spezifische Styles (auf style.css aufbauend)
   ============================================================ */

.vgl-main { max-width: 1080px; margin: 32px auto; padding: 0 20px; }
.vgl-intro { text-align:center; color: var(--text-muted); font-size: 0.95rem; margin: 0 0 24px; }
.vgl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 760px) { .vgl-grid { grid-template-columns: 1fr; } }

/* Each column */
.vgl-col {
  background: #0f172a55;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
}

/* Bar chart area (shared baseline at 50%) */
.vgl-chart { position: relative; height: 220px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; }
.vgl-chart-inner { position: relative; width: 70%; height: 100%; }
.vgl-baseline { position: absolute; left: -10%; right: -10%; top: 50%; border-top: 2px dashed #4b5563; }
.vgl-bar { position: absolute; left: 10%; right: 10%; border-radius: 6px 6px 0 0; transition: height 0.4s ease; }
.vgl-bar.up   { bottom: 50%; background: linear-gradient(180deg, #10b981 0%, #047857 100%); border-radius: 6px 6px 0 0; }
.vgl-bar.down { top: 50%;    background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%); border-radius: 0 0 6px 6px; }
.vgl-amount { position: absolute; left: 0; right: 0; text-align: center; font-size: 1.45rem; font-weight: 800; color: var(--text); }
.vgl-amount.above { top: 4px; }
.vgl-amount.below { bottom: 4px; }
.vgl-zero { position: absolute; top: 50%; transform: translateY(-50%); left: 10px; font-size: 0.7rem; color: #6b7280; letter-spacing: 0.05em; }

/* Content */
.vgl-title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 6px 0 4px; line-height: 1.35; }
.vgl-block { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: #6b7280; margin-bottom: 12px; }
.vgl-desc { font-size: 0.93rem; color: var(--text-muted); line-height: 1.6; }
.vgl-source { margin-top: 14px; font-size: 0.82rem; }
.vgl-source a { color: #3498db; text-decoration: none; }
.vgl-source a:hover { text-decoration: underline; }

/* Error case */
.vgl-error { background: #1c2128; border: 1px solid #7f1d1d; border-radius: 10px; padding: 24px; color: #fca5a5; text-align: center; }

/* Share-Sektion oberhalb der Bottom-Strip: nutzt bestehende .share-section-Styles aus style.css */
.vgl-share-card {
  margin: 32px auto 0;
  max-width: 720px;
  background: #111827;
  border-radius: 12px;
  border: 1px solid #1f2937;
  overflow: hidden;
}
.vgl-share-card .share-section { border-top: none; padding-top: 0; }
.vgl-share-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 16px 20px 0;
}

/* Bottom strip + CTA */
.vgl-strip { margin: 40px 0 16px; border-top: 1px solid #1f2937; padding-top: 28px; text-align: center; }
.vgl-strip-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; max-width: 720px; margin: 0 auto 22px; }
.vgl-cta { display: inline-block; padding: 14px 28px; background: #2563eb; color: #fff; font-size: 1.05rem; font-weight: 700; text-decoration: none; border-radius: 10px; transition: background .15s; }
.vgl-cta:hover { background: #1d4ed8; }
