/* ============================================================
   performance-plaene.css — Performance Pläne
   ============================================================ */

/* ── Plan cards ── */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.plan-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-card.featured-green {
  border-color: rgba(0,255,136,.4);
  background: linear-gradient(160deg, rgba(0,255,136,.04), var(--dark3));
}

.plan-card.featured-teal {
  border-color: rgba(0,229,196,.35);
  background: linear-gradient(160deg, rgba(0,229,196,.04), var(--dark3));
}

.plan-badge {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-h);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 0 0 0 10px;
}

.plan-badge-green { background: var(--green); color: #000; }
.plan-badge-teal  { background: var(--teal);  color: #000; }

.plan-visual {
  background: var(--dark2);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border);
  gap: 8px;
}

.plan-visual-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-b);
  font-size: 9px;
  font-weight: 600;
  color: var(--grey);
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
}

.plan-visual-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,.8);
  padding: 10px 14px;
}

.vc-tag {
  font-family: var(--font-b);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.vc-title {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 900;
  color: var(--white);
}

.plan-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-name {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.plan-tagline {
  font-size: 12px;
  color: var(--grey);
  line-height: 1.6;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price-amount {
  font-family: var(--font-h);
  font-size: 30px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
}

.price-note {
  font-size: 11px;
  color: var(--grey);
}

.price-bonus {
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid;
}

.price-bonus-green {
  background: rgba(0,255,136,.08);
  border-color: rgba(0,255,136,.25);
  color: var(--green);
}

.price-bonus-teal {
  background: rgba(0,229,196,.08);
  border-color: rgba(0,229,196,.25);
  color: var(--teal);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-feature {
  font-size: 12px;
  color: var(--grey-light);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.plan-feature::before {
  content: '✓';
  font-weight: 700;
  flex-shrink: 0;
}

.plan-feature.green::before  { color: var(--green); }
.plan-feature.teal::before   { color: var(--teal); }
.plan-feature.amber::before  { color: var(--amber); }

.plan-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Vergleich table ── */
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.cr-head {
  padding: 12px 16px;
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey);
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
}

.cr-cell {
  padding: 10px 16px;
  font-size: 11px;
  color: var(--grey-light);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cr-label {
  font-family: var(--font-b);
  font-weight: 600;
  color: var(--grey);
  background: var(--dark2);
}

.col-green { background: rgba(0,255,136,.03); }
.col-teal  { background: rgba(0,229,196,.03); }

.cr-check-g { color: var(--green); font-weight: 700; }
.cr-check-t { color: var(--teal);  font-weight: 700; }
.cr-x       { color: var(--grey);  font-weight: 400; }

/* ── Audience cards ── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.audience-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.audience-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.audience-card h4 {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.audience-card p {
  font-size: 12px;
  color: var(--grey);
  line-height: 1.6;
}

/* ── CTA wrap ── */
.cta-wrap {
  text-align: center;
  padding: 20px 0;
}

.cta-wrap h2 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.cta-wrap p {
  font-size: 14px;
  color: var(--grey);
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

/* ── Responsive ── */
@media (max-width: 990px) {
  .plans-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .compare-row { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 600px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* ── Page-specific overrides for global base.css rules (desktop only) ── */
@media (min-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr 300px;
    gap: 56px;
  }

  .hero-text h2 {
    font-size: 48px;
    letter-spacing: -1.5px;
  }
}

.sec-title h2 {
  font-size: 30px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.stat-value {
  font-size: 26px;
  letter-spacing: 0;
}

.stat-card {
  padding: 18px 20px;
  border-radius: 10px;
}

.faq-q {
  font-size: 14px;
}

.faq-item {
  background: var(--dark3);
}

/* ── Modals ── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .2s;
}

.modal-backdrop.open {
  display: flex;
  animation: backdropIn .2s forwards;
}

@keyframes backdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
  animation: modalIn .22s cubic-bezier(.34,1.26,.64,1) forwards;
  box-shadow: 0 32px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.05);
}

.modal::-webkit-scrollbar { width: 4px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--grey);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 10;
  transition: background .15s, color .15s;
  line-height: 1;
}

.modal-close:hover { background: rgba(255,255,255,.12); color: var(--white); }

.modal-img-hero {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.modal-img-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
}

.modal-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-b);
  margin-bottom: 6px;
  display: block;
}

.modal-title {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.6px;
  margin-bottom: 4px;
  line-height: 1.15;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--grey);
  margin-top: 4px;
  line-height: 1.55;
}

.modal-body {
  padding: 24px 28px 8px;
}

.modal-section-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-b);
  margin-bottom: 12px;
  display: block;
}

.modal-example {
  background: var(--dark3);
  border-radius: 10px;
  padding: 16px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.modal-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}

.modal-feature {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 13px;
  color: var(--grey-light);
  line-height: 1.5;
}

.modal-feature::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.modal-feature.green::before { background: var(--green); }
.modal-feature.teal::before  { background: var(--teal); }

/* Phase blocks */
.modal-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.modal-phase {
  background: var(--dark2);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: center;
}

.mp-num {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  font-family: var(--font-b);
  margin-bottom: 2px;
}

.mp-label {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 900;
  color: var(--white);
}

.mp-weeks { font-size: 10px; color: var(--grey); margin-top: 2px; }
.mp-focus { font-size: 10px; color: var(--grey-light); margin-top: 5px; line-height: 1.4; }

/* Drill cards */
.drill-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.drill-card {
  background: var(--dark2);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 10px 12px;
}

.dc-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
  font-family: var(--font-b);
  margin-bottom: 3px;
}

.drill-card h5 {
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}

.drill-card p { font-size: 11px; color: var(--grey); line-height: 1.4; }

/* Modal footer */
.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-footer-note {
  font-size: 11px;
  color: #4a4a4a;
  text-align: center;
  font-family: var(--font-b);
}

.modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.modal-divider span {
  font-size: 10px;
  color: #4a4a4a;
  font-family: var(--font-b);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .modal-backdrop { padding: 0; align-items: flex-end; }
  .modal {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
  }
  .modal-header, .modal-body, .modal-footer { padding-left: 20px; padding-right: 20px; }
  .modal-phases { grid-template-columns: 1fr; }
  .drill-cards  { grid-template-columns: 1fr; }
}
