/* ============================================
   PRICING.CSS — Lizenz-Pläne (msistudio)
   Blue-Glassmorphism — auf base.css aufbauend
   ============================================ */

/* ── PRICING HEADER ── */
.pricing-header {
    text-align: center;
    margin-bottom: 44px;
    animation: priceFadeDown 0.5s ease both;
}

.pricing-header .eyebrow {
    margin: 0 auto 24px;
}

.pricing-header h1 {
    margin: 0 0 14px;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.pricing-sub {
    max-width: 640px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.pricing-note {
    margin-top: 16px;
    font-size: 0.92rem;
    color: #8dbbff;
}

/* ── PRICING GRID ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 56px;
}

/* ── PRICING CARD ── */
.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--panel-strong);
    border: 1px solid rgba(140, 170, 230, 0.12);
    border-radius: 20px;
    padding: 28px 22px 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    animation: priceFadeUp 0.5s ease both;
}

.pricing-card:nth-child(1) { animation-delay: 0.05s; }
.pricing-card:nth-child(2) { animation-delay: 0.12s; }
.pricing-card:nth-child(3) { animation-delay: 0.19s; }
.pricing-card:nth-child(4) { animation-delay: 0.26s; }

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(94, 162, 255, 0.32);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.30), 0 0 0 1px rgba(94, 162, 255, 0.10);
}

/* Featured Tier (Standard / Beliebt) */
.pricing-card.featured {
    border-color: rgba(94, 162, 255, 0.35);
    background: linear-gradient(180deg, rgba(20, 32, 58, 0.85), rgba(12, 18, 30, 0.88));
    box-shadow: 0 16px 38px rgba(61, 141, 255, 0.18), 0 12px 30px rgba(0, 0, 0, 0.28);
}

.pricing-card.featured::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5ea2ff, transparent);
    opacity: 0.85;
}

.pricing-card.featured:hover {
    border-color: rgba(94, 162, 255, 0.55);
    box-shadow: 0 24px 50px rgba(61, 141, 255, 0.28), 0 0 0 1px rgba(94, 162, 255, 0.20);
}

/* Business Tier (Enterprise) */
.pricing-card.business {
    border-color: rgba(143, 180, 255, 0.20);
    background: linear-gradient(180deg, rgba(14, 24, 44, 0.78), rgba(10, 14, 24, 0.88));
}

.pricing-card.business:hover {
    border-color: rgba(143, 180, 255, 0.40);
}

/* ── BADGE (Beliebt / Business) ── */
.pricing-badge {
    position: absolute;
    top: 0;
    right: 22px;
    padding: 4px 12px;
    border-radius: 0 0 8px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8dbbff;
    background: rgba(94, 162, 255, 0.14);
    border: 1px solid rgba(94, 162, 255, 0.30);
    border-top: none;
}

.pricing-badge.popular {
    color: #ffffff;
    background: linear-gradient(180deg, #66acff 0%, #458df5 100%);
    border-color: rgba(94, 162, 255, 0.50);
    box-shadow: 0 4px 14px rgba(61, 141, 255, 0.30);
}

/* ── CARD HEADER ── */
.pricing-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 4px 0 22px;
}

.pricing-icon-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    background: rgba(94, 162, 255, 0.10);
    border: 1.5px solid rgba(94, 162, 255, 0.28);
    box-shadow: 0 0 16px rgba(94, 162, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pricing-card.featured .pricing-icon-ring {
    background: rgba(94, 162, 255, 0.18);
    border-color: rgba(94, 162, 255, 0.50);
    box-shadow: 0 0 22px rgba(94, 162, 255, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pricing-tier-name {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #eef4ff;
    line-height: 1;
}

/* ── FEATURE LIST ── */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.45;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-feat-icon {
    flex-shrink: 0;
    width: 18px;
    margin-top: 1px;
    text-align: center;
    font-size: 0.92rem;
    color: #8dbbff;
}

.pricing-feat-highlight {
    font-weight: 700;
    color: #8dbbff;
    border-bottom: none !important;
    padding-bottom: 4px !important;
}

.pricing-feat-highlight strong {
    color: #ffffff;
}

/* ── TAGLINE ── */
.pricing-tagline {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 500;
    font-style: italic;
    padding: 10px 8px;
    border-radius: 10px;
    line-height: 1.5;
    color: var(--muted);
    background: rgba(94, 162, 255, 0.06);
    border: 1px solid rgba(94, 162, 255, 0.10);
}

.pricing-card.featured .pricing-tagline {
    color: #b8d2f5;
    background: rgba(94, 162, 255, 0.10);
    border-color: rgba(94, 162, 255, 0.20);
}

.pricing-tagline strong {
    color: #eef4ff;
    font-style: normal;
}

/* ── PRICING FOOTER (CTA) ── */
.pricing-footer {
    text-align: center;
    margin-top: 8px;
    padding: 32px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-footer-note {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0 0 18px;
}

.pricing-footer-note strong {
    color: #8dbbff;
    font-weight: 700;
}

.pricing-footer-note a {
    color: var(--blue);
    text-decoration: none;
}

.pricing-footer-note a:hover { text-decoration: underline; }

/* Modal/Form-Komponenten leben in base.css — pricing.css nutzt sie unverändert */

/* ── ANIMATIONS ── */
@keyframes priceFadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes priceFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card { padding: 24px 20px 22px; }
}

/* Kennzeichnung fuer angekuendigte, noch nicht ausgelieferte Funktionen.
   Steht bewusst gedaempft neben dem Funktionsnamen statt in eigener Zeile —
   die Funktion gehoert zum Plan, ist aber noch nicht da. */
.pricing-feat-planned {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .7;
    vertical-align: middle;
    white-space: nowrap;
}

.pricing-features li:has(.pricing-feat-planned) {
    opacity: .72;
}
/* Zwei gleichwertige Wege am Fuss der Preisseite: herunterladen ODER Lizenz anfragen.
   Vorher gab es nur den Download — wer zahlen wollte, fand auf der Seite keinen
   naechsten Schritt. */
.pricing-footer-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.pricing-buy-note {
    margin: 18px auto 0;
    max-width: 620px;
    font-size: .86rem;
    line-height: 1.6;
    opacity: .72;
    text-align: center;
}