/**
 * C4mulo5 – Preis-Pakete Section
 *
 * Grid aus Paket-Karten. Spaltenanzahl per Wrapper-Klasse:
 *   c4m5-pp-cols-2  →  2 Spalten
 *   c4m5-pp-cols-3  →  3 Spalten (Default)
 *   c4m5-pp-cols-4  →  4 Spalten
 * Auf Mobil werden daraus 1 oder 2 Spalten (responsive).
 *
 * Highlight-Karte (data-highlight="1") bekommt dicken goldenen Rahmen
 * und ein "Beliebt"-Badge.
 */

/* ═══ ::before/::after Reset ═══════════════════════════════════ */
.c4mulo5-price-packages .c4m5-pp-grid::before,
.c4mulo5-price-packages .c4m5-pp-grid::after,
.c4mulo5-price-packages .c4m5-pp-card::before,
.c4mulo5-price-packages .c4m5-pp-card::after,
.c4mulo5-price-packages .c4m5-pp-card-inner::before,
.c4mulo5-price-packages .c4m5-pp-card-inner::after {
    display: none !important;
    content: none !important;
}

/* ═══ GRID ══════════════════════════════════════════════════════ */
.c4mulo5-price-packages .c4m5-pp-grid {
    display: grid;
    gap: 24px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.c4mulo5-price-packages.c4m5-pp-cols-2 .c4m5-pp-grid { grid-template-columns: repeat(2, 1fr); }
.c4mulo5-price-packages.c4m5-pp-cols-3 .c4m5-pp-grid { grid-template-columns: repeat(3, 1fr); }
.c4mulo5-price-packages.c4m5-pp-cols-4 .c4m5-pp-grid { grid-template-columns: repeat(4, 1fr); }

/* ═══ KARTE ══════════════════════════════════════════════════════ */
.c4mulo5-price-packages .c4m5-pp-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.c4mulo5-price-packages .c4m5-pp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: #c8a84b;
}

/* Highlight-Karte */
.c4mulo5-price-packages .c4m5-pp-card[data-highlight="1"] {
    border-color: #c8a84b;
    border-width: 2px;
    box-shadow: 0 6px 20px rgba(200, 168, 75, 0.18);
}

.c4mulo5-price-packages .c4m5-pp-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px 24px;
    text-align: center;
}

/* "Beliebt" Badge */
.c4mulo5-price-packages .c4m5-pp-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #c8a84b;
    color: #1d2327;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 999px;
}

/* Titel */
.c4mulo5-price-packages .c4m5-pp-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1d2327;
    line-height: 1.3;
}

/* Inhalt */
.c4mulo5-price-packages .c4m5-pp-content {
    margin: 0 0 16px;
    color: #50575e;
    font-size: 0.9rem;
    line-height: 1.5;
    min-height: 2.8em; /* damit Karten gleich hoch aussehen */
}

/* Preis */
.c4mulo5-price-packages .c4m5-pp-price {
    margin: 12px 0 4px;
    font-size: 1.9rem;
    font-weight: 800;
    color: #c8a84b;
    line-height: 1.1;
}
.c4mulo5-price-packages .c4m5-pp-price--text {
    font-size: 1.2rem;
    color: #50575e;
    font-style: italic;
    font-weight: 600;
}

/* Sub-Text */
.c4mulo5-price-packages .c4m5-pp-subtext {
    margin: 0 0 20px;
    font-size: 0.75rem;
    color: #8c8f94;
    letter-spacing: 0.02em;
    min-height: 1.1em;
}

/* CTA-Button (dunkelgelb, rund – wie bei Body-Zones) */
.c4mulo5-price-packages .c4m5-pp-cta,
.c4mulo5-price-packages .c4m5-pp-cta:link,
.c4mulo5-price-packages .c4m5-pp-cta:visited {
    display: inline-block;
    margin-top: auto;
    padding: 10px 22px;
    background: #c8a84b !important;
    color: #1d2327 !important;
    border: 2px solid #c8a84b !important;
    border-radius: 999px !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    text-transform: none;
    box-shadow: 0 2px 8px rgba(200, 168, 75, 0.3);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.c4mulo5-price-packages .c4m5-pp-cta:hover,
.c4mulo5-price-packages .c4m5-pp-cta:focus {
    background: #b89640 !important;
    border-color: #b89640 !important;
    color: #1d2327 !important;
    transform: translateY(-1px);
    outline: none;
}

/* Fußnote unter dem Grid */
.c4mulo5-price-packages .c4m5-pp-footnote {
    max-width: 900px;
    margin: 24px auto 0;
    padding: 14px 18px;
    background: #f6f4ea;
    border-left: 3px solid #c8a84b;
    border-radius: 4px;
    font-size: 0.78rem;
    color: #50575e;
    line-height: 1.5;
    text-align: center;
}

/* ═══ RESPONSIVE ══════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .c4mulo5-price-packages.c4m5-pp-cols-3 .c4m5-pp-grid,
    .c4mulo5-price-packages.c4m5-pp-cols-4 .c4m5-pp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .c4mulo5-price-packages .c4m5-pp-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .c4mulo5-price-packages .c4m5-pp-card-inner {
        padding: 22px 20px;
    }
    .c4mulo5-price-packages .c4m5-pp-price {
        font-size: 1.6rem;
    }
    .c4mulo5-price-packages .c4m5-pp-content {
        min-height: 0;
    }
}
