/*
|--------------------------------------------------------------------------
| Prices Plugin – Frontend
|--------------------------------------------------------------------------
|
| Datei:
| /plugins/prices/assets/prices.css
|
| Öffentliche Darstellung der Preisliste.
|
*/


/*
|--------------------------------------------------------------------------
| Hauptbereich
|--------------------------------------------------------------------------
*/

.prices-page {
    position: relative;
    padding: 46px 0 72px;
}


/*
|--------------------------------------------------------------------------
| Kopfbereich
|--------------------------------------------------------------------------
*/

.prices-head {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    padding: clamp(32px, 5vw, 56px);
    border: 1px solid rgba(20, 70, 120, 0.1);
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 92% 6%,
            rgba(107, 92, 255, 0.12),
            transparent 34%
        ),
        radial-gradient(
            circle at 4% 100%,
            rgba(0, 119, 255, 0.1),
            transparent 36%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.99),
            rgba(247, 251, 255, 0.95)
        );
    box-shadow:
        0 24px 70px rgba(20, 80, 140, 0.08);
}

.prices-head::after {
    content: "";
    position: absolute;
    top: -90px;
    right: -80px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(0, 119, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.prices-head-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.prices-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: var(--blue, #0077ff);
    font-size: 0.76rem;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.prices-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            var(--blue, #0077ff),
            var(--violet, #6b5cff)
        );
}

.prices-head h1 {
    max-width: 800px;
    margin: 0;
    color: var(--text, #0f1726);
    font-size: clamp(1.8rem, 3.4vw, 2.75rem);
    line-height: 1.13;
    font-weight: 850;
    letter-spacing: -0.028em;
}

.prices-footer h2,
.prices-contact h2 {
    margin-top: 0;
    color: var(--text, #0f1726);
}

.prices-intro {
    max-width: 850px;
    margin: 20px 0 0;
    color: var(--muted, #66788f);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.78;
}


/*
|--------------------------------------------------------------------------
| Kategorien
|--------------------------------------------------------------------------
*/

.prices-categories {
    display: flex;
    flex-direction: column;
    gap: 26px;
}


/*
|--------------------------------------------------------------------------
| Einzelne Kategorie
|--------------------------------------------------------------------------
*/

.prices-category {
    overflow: hidden;
    border: 1px solid rgba(20, 70, 120, 0.09);
    border-radius: 28px;
    background:
        rgba(255, 255, 255, 0.95);
    box-shadow:
        0 20px 55px rgba(20, 80, 140, 0.065);
}


/*
|--------------------------------------------------------------------------
| Kategorie Kopfbereich
|--------------------------------------------------------------------------
*/

.prices-category-head {
    padding: 28px 30px 24px;
    border-bottom: 1px solid rgba(20, 70, 120, 0.075);
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(0, 119, 255, 0.07),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            rgba(250, 253, 255, 0.98),
            rgba(247, 251, 255, 0.92)
        );
}

.prices-category-head h3 {
    margin: 0;
    color: var(--text, #0f1726);
    font-size: clamp(1.22rem, 2vw, 1.55rem);
    line-height: 1.3;
    font-weight: 820;
    letter-spacing: -0.015em;
}

.prices-category-description {
    max-width: 900px;
    margin: 9px 0 0;
    color: var(--muted, #66788f);
    font-size: 0.92rem;
    line-height: 1.65;
}


/*
|--------------------------------------------------------------------------
| Preiszeilen
|--------------------------------------------------------------------------
*/

.prices-list {
    display: flex;
    flex-direction: column;
}

.prices-row {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(180px, 250px);
    gap: 30px;
    align-items: center;
    padding: 23px 30px;
}

.prices-row + .prices-row {
    border-top: 1px solid rgba(20, 70, 120, 0.07);
}

.prices-row:hover {
    background:
        rgba(247, 251, 255, 0.6);
}


/*
|--------------------------------------------------------------------------
| Hervorgehobene Leistung
|--------------------------------------------------------------------------
*/

.prices-row.is-featured {
    background:
        linear-gradient(
            90deg,
            rgba(0, 119, 255, 0.055),
            rgba(107, 92, 255, 0.025)
        );
}

.prices-row.is-featured::before {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 0;
    width: 4px;
    border-radius:
        0 999px 999px 0;
    background:
        linear-gradient(
            180deg,
            var(--blue, #0077ff),
            var(--violet, #6b5cff)
        );
}


/*
|--------------------------------------------------------------------------
| Leistung
|--------------------------------------------------------------------------
*/

.prices-service {
    min-width: 0;
}

.prices-service-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.prices-service-title strong {
    color: var(--text, #0f1726);
    font-size: 0.98rem;
    line-height: 1.45;
    font-weight: 760;
}

.prices-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 9px;
    border: 1px solid rgba(107, 92, 255, 0.14);
    border-radius: 999px;
    background: rgba(107, 92, 255, 0.07);
    color: #5c50d5;
    font-size: 0.67rem;
    line-height: 1;
    font-weight: 800;
}

.prices-service-description {
    max-width: 850px;
    margin: 7px 0 0;
    color: var(--muted, #66788f);
    font-size: 0.87rem;
    line-height: 1.62;
}


/*
|--------------------------------------------------------------------------
| Preis
|--------------------------------------------------------------------------
*/

.prices-price {
    color: var(--text, #0f1726);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.4;
    font-weight: 850;
    text-align: right;
}


/*
|--------------------------------------------------------------------------
| Einzelhinweis
|--------------------------------------------------------------------------
*/

.prices-note {
    margin: 10px 0 0;
    color: #8290a3;
    font-size: 0.78rem;
    line-height: 1.55;
}


/*
|--------------------------------------------------------------------------
| Allgemeine Hinweise
|--------------------------------------------------------------------------
*/

.prices-footer {
    margin-top: 30px;
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid rgba(20, 70, 120, 0.09);
    border-radius: 25px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(247, 251, 255, 0.94)
        );
    box-shadow:
        0 18px 45px rgba(20, 80, 140, 0.055);
}

.prices-footer h3 {
    margin: 0 0 15px;
    color: var(--text, #0f1726);
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 820;
}

.prices-footer p {
    margin: 0;
    color: var(--muted, #66788f);
    font-size: 0.9rem;
    line-height: 1.72;
}

.prices-footer p + p {
    margin-top: 11px;
}


/*
|--------------------------------------------------------------------------
| Steuerhinweis
|--------------------------------------------------------------------------
*/

.prices-tax-note {
    position: relative;
    margin-top: 20px;
    padding: 17px 19px 17px 21px;
    border: 1px solid rgba(0, 119, 255, 0.11);
    border-radius: 15px;
    background:
        rgba(0, 119, 255, 0.045);
    color: var(--text, #0f1726);
    font-size: 0.84rem;
    line-height: 1.62;
    font-weight: 650;
}

.prices-tax-note::before {
    content: "";
    position: absolute;
    top: 11px;
    bottom: 11px;
    left: 0;
    width: 3px;
    border-radius:
        0 999px 999px 0;
    background: var(--blue, #0077ff);
}


/*
|--------------------------------------------------------------------------
| Kontaktbereich
|--------------------------------------------------------------------------
*/

.prices-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 28px;
    padding: clamp(27px, 4vw, 40px);
    border: 1px solid rgba(0, 119, 255, 0.11);
    border-radius: 26px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(107, 92, 255, 0.09),
            transparent 40%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.99),
            rgba(246, 250, 255, 0.96)
        );
}

.prices-contact-content {
    max-width: 760px;
}

.prices-contact h3 {
    margin: 0 0 9px;
    color: var(--text, #0f1726);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.3;
    font-weight: 820;
}

.prices-contact p {
    margin: 0;
    color: var(--muted, #66788f);
    font-size: 0.91rem;
    line-height: 1.67;
}

.prices-contact-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 9px;
}


/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.prices-contact .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    text-decoration: none;
    font-size: 0.87rem;
    line-height: 1.2;
    font-weight: 750;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.prices-contact .btn:hover {
    transform: translateY(-1px);
}

.prices-contact .btn-primary {
    border-color: var(--blue, #0077ff);
    background:
        linear-gradient(
            135deg,
            var(--blue, #0077ff),
            #278cff
        );
    color: #ffffff;
    box-shadow:
        0 10px 26px rgba(0, 119, 255, 0.18);
}

.prices-contact .btn-secondary {
    border-color: rgba(20, 70, 120, 0.12);
    background: #ffffff;
    color: var(--text, #0f1726);
}


/*
|--------------------------------------------------------------------------
| Powered-by
|--------------------------------------------------------------------------
*/

.prices-powered-by {
    margin-top: 18px;
    text-align: center;
}

.prices-powered-by a {
    color: var(--muted, #66788f);
    font-size: 0.75rem;
    line-height: 1.4;
    text-decoration: none;
}

.prices-powered-by a:hover {
    color: var(--blue, #0077ff);
}


/*
|--------------------------------------------------------------------------
| Responsive – bis 900px
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .prices-contact {
        align-items: flex-start;
        flex-direction: column;
    }

    .prices-contact-actions {
        width: 100%;
    }

    .prices-contact-actions .btn {
        flex: 1 1 0;
    }
}


/*
|--------------------------------------------------------------------------
| Responsive – bis 700px
|--------------------------------------------------------------------------
*/

@media (max-width: 700px) {

    .prices-page {
        padding:
            30px 0
            52px;
    }

    .prices-head {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .prices-category {
        border-radius: 22px;
    }

    .prices-category-head {
        padding: 23px 21px 20px;
    }

    .prices-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 21px;
    }

    .prices-price {
        text-align: left;
    }

    .prices-footer,
    .prices-contact {
        border-radius: 22px;
    }
}


/*
|--------------------------------------------------------------------------
| Responsive – bis 500px
|--------------------------------------------------------------------------
*/

@media (max-width: 500px) {

    .prices-categories {
        gap: 20px;
    }

    .prices-contact-actions {
        flex-direction: column;
    }

    .prices-contact-actions .btn {
        width: 100%;
    }

    .prices-row.is-featured::before {
        top: 13px;
        bottom: 13px;
    }
}


/*
|--------------------------------------------------------------------------
| Reduzierte Animation
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

    .prices-contact .btn {
        transition: none;
    }

    .prices-contact .btn:hover {
        transform: none;
    }
}