/**
 * Preisseite – Feinschliff: stärkerer Seitenkopf, lesbare Karten & Funktions-Tabelle, FAQ.
 * Wird NACH dem Inline-<style> der Seite geladen; „html body“ erhöht die Spezifität gezielt.
 */

/* ---------- Seitenkopf ---------- */
html body .sub-hero {
    text-align: center;
    margin: 1.4rem auto 2rem;
    max-width: 780px;
}
html body .sub-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(130, 150, 255, 0.3);
    background: rgba(88, 101, 242, 0.12);
    color: #c3ccff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
html body .sub-hero__title {
    margin: 0 0 0.8rem;
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #c9d1ff 55%, #8b98ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
html body .sub-hero__lead {
    margin: 0 auto;
    max-width: 600px;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.65;
    color: rgba(235, 237, 245, 0.72);
}
html body .sub-hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.4rem;
    margin: 1.3rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
    color: rgba(235, 237, 245, 0.82);
}
html body .sub-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
html body .sub-hero__trust i { color: #57f287; }
html body .sub-current-rank-mount { margin-top: 1.3rem; }

/* ---------- Stufen-Karten ---------- */
html body .sub-tier-card {
    padding: 1.3rem 1.25rem 1.2rem;
    border-radius: 18px;
    font-size: 14px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
html body .sub-tier-card:hover { transform: translateY(-2px); }
html body .sub-tier-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1rem;
}
html body .sub-tier-card__name {
    font-size: 1.3rem;
    letter-spacing: -0.01em;
}
html body .sub-tier-card__price {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0.15rem 0 0.4rem;
}
html body .sub-tier-card__perks {
    gap: 0.35rem;
}
html body .sub-tier-card__perks li {
    font-size: 0.9rem;
    line-height: 1.45;
}
html body .sub-tier-card--premium {
    border-color: rgba(255, 196, 70, 0.45) !important;
    box-shadow: 0 16px 40px rgba(255, 170, 40, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
html body .sub-tier-card__badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.55rem;
}

/* ---------- Server-Slot-Pakete ---------- */
html body .sub-slot-pack {
    border-radius: 16px;
    padding: 1.1rem 1.1rem 1rem;
}
html body .sub-slot-pack__name { font-size: 1.1rem; }
html body .sub-slot-pack__price { font-size: 1.15rem; font-weight: 800; }
html body .sub-slot-pack__meta { font-size: 0.86rem; }
html body .sub-panel__title { font-size: 1.15rem; }

/* ---------- Funktions-Tabelle („Das schaltet ein Server-Slot frei“) ---------- */
html body .sub-feat-matrix__cat {
    font-size: 0.95rem;
    letter-spacing: -0.005em;
}
html body .sub-feat-matrix__hint {
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(235, 237, 245, 0.6);
}
html body .sub-feat-matrix__group {
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
}
html body .sub-feat-matrix__grid { gap: 0.45rem; }
html body .sub-chip {
    min-height: 38px;
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
}
html body .sub-chip__name {
    font-size: 0.86rem;
    line-height: 1.3;
}
html body .sub-chip__val-lbl,
html body .sub-chip__l { font-size: 0.72rem; }
html body .sub-feat-matrix__tier-title { font-size: 1rem; }
html body .sub-feat-matrix__legend-inline { font-size: 0.8rem; }

/* ---------- FAQ ---------- */
html body .sub-faq {
    max-width: 860px;
    margin: 3.5rem auto 1rem;
}
html body .sub-faq__head {
    text-align: center;
    margin-bottom: 1.6rem;
}
html body .sub-faq__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}
html body .sub-faq__lead {
    margin: 0;
    color: rgba(235, 237, 245, 0.66);
}
html body .sub-faq__list {
    display: grid;
    gap: 0.7rem;
}
html body .sub-faq details {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(22, 24, 38, 0.62);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
html body .sub-faq details[open] {
    border-color: rgba(130, 150, 255, 0.35);
    background: rgba(28, 32, 56, 0.7);
}
html body .sub-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.25rem;
    cursor: pointer;
    list-style: none;
    font-size: 1rem;
    font-weight: 700;
    color: #f2f3f5;
}
html body .sub-faq summary::-webkit-details-marker { display: none; }
html body .sub-faq summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: rgba(195, 204, 255, 0.8);
    transition: transform 0.25s ease;
}
html body .sub-faq details[open] summary::after { transform: rotate(180deg); }
html body .sub-faq__answer {
    padding: 0 1.25rem 1.15rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(235, 237, 245, 0.75);
}
html body .sub-faq__answer a { color: #a5b4ff; }

@media (max-width: 640px) {
    html body .sub-hero { margin-top: 0.6rem; }
    html body .sub-hero__trust { flex-direction: column; align-items: center; gap: 0.45rem; }
    html body .sub-tier-card__price { font-size: 1.35rem; }
    html body .sub-faq { margin-top: 2.5rem; }
}

/* ---------- Lesbarkeit: kleine Beschriftungen auf mindestens ~11 px ---------- */
html body .sub-current-rank__label,
html body .sub-picker__label,
html body .sub-stat__label,
html body .sub-tier-connector__badge,
html body .sub-pill-cart-current,
html body .sub-pill-cart-btn,
html body .sub-abo-badge,
html body .sub-cart-sidebar__badge {
    font-size: 0.7rem;
}
html body .sub-chip__val-lbl { font-size: 0.68rem; }
html body .sub-slot-pack__save,
html body .sub-server-addon__sub { font-size: 0.74rem; }html body .sub-chip__val-lbl { font-size: 0.68rem !important; }
html body .sub-inventory__rank-label,
html body .sub-cart__section-title { font-size: 0.7rem; }/* Paket-Name nie umbrechen; Spar-Abzeichen rutscht bei wenig Platz in die nächste Zeile */
html body .sub-slot-pack__head { flex-wrap: wrap; row-gap: 4px; }
html body .sub-slot-pack__name { white-space: nowrap; }/* Warenkorb-Knopf über dem Hilfe-Chat (beide unten rechts) – sonst verdeckt der Chat den Warenkorb */
html body .sub-cart-fab { bottom: calc(1.25rem + 64px + env(safe-area-inset-bottom, 0px)); }

/* Leeres Mengen-Abzeichen am Warenkorb-Knopf nicht anzeigen */
html body .sub-cart-fab__badge[hidden] { display: none !important; }

/* Mehrzeilige Panel-Überschriften kompakter */
html body .sub-panel__title { line-height: 1.3; }

/* Handy: Warenkorb unten links statt über dem Hilfe-Chat; Plan-Kopf untereinander, Abo/Lifetime in voller Breite */
@media (max-width: 960px) {
    html body .sub-cart-fab {
        right: auto;
        left: 1.25rem;
        bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    }
}
@media (max-width: 560px) {
    html body .sub-combined-plan__head {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.7rem !important;
    }
    html body .sub-combined-plan__head > * { width: 100% !important; max-width: none !important; }
    html body .sub-combined-plan__head .sub-plan-billing__toggle { width: 100% !important; }
    html body .sub-combined-plan__head .sub-plan-billing__btn { flex: 1 1 0 !important; min-width: 0 !important; }
}

/* Website-Assistent: Kontingent je Tarif */
.sub-assistant-limits { max-width: 1080px; margin: 28px auto 8px; padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(88, 101, 242, 0.3); background: radial-gradient(120% 140% at 0% 0%, rgba(88, 101, 242, 0.14), transparent 55%), rgba(16, 18, 30, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #e6e8f2; box-sizing: border-box; }
.sub-assistant-limits[hidden] { display: none; }
.sub-assistant-limits__head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.sub-assistant-limits__head > i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; color: #c9cdfb; background: rgba(88, 101, 242, 0.2); border: 1px solid rgba(88, 101, 242, 0.4); flex-shrink: 0; }
.sub-assistant-limits__head h3 { margin: 0; font-size: 1.05rem; color: #fff; }
.sub-assistant-limits__head p { margin: 3px 0 0; font-size: 0.88rem; color: #b7bbd6; }
.sub-assistant-limits__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sub-assistant-limits__plan { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.08); }
.sub-assistant-limits__plan strong { font-size: 1.05rem; color: #fff; }
.sub-assistant-limits__plan span:not(.sub-assistant-limits__tag) { font-size: 0.85rem; color: #b7bbd6; }
.sub-assistant-limits__plan.is-premium { border-color: rgba(250, 166, 26, 0.4); background: rgba(250, 166, 26, 0.07); }
.sub-assistant-limits__tag { justify-self: start; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #e3e5e8; }
.sub-assistant-limits__plan.is-premium .sub-assistant-limits__tag { background: rgba(250, 166, 26, 0.2); color: #f0b232; }
.sub-assistant-limits__note { margin: 12px 0 0; font-size: 0.8rem; color: #8f94b5; line-height: 1.45; }
@media (max-width: 560px) {
    .sub-assistant-limits { margin: 20px 12px 8px; padding: 14px; }
    .sub-assistant-limits__grid { grid-template-columns: 1fr; }
}
/* Warenkorb-Knopf mit etwas mehr Abstand über dem Assistent-Knopf (inkl. Leuchtring) */
html body .sub-cart-fab { bottom: calc(1.25rem + 76px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 960px) {
    html body .sub-cart-fab { bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Funktionsvergleich: Stufen vs. Zusatzpakete ---------- */
html body .sub-pills__sep {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 0 0.2rem 0 0.85rem;
    margin-left: 0.35rem;
    border-left: 1px dashed rgba(251, 191, 36, 0.35);
    min-height: 44px;
}
html body .sub-pills__sep-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fcd34d;
}
html body .sub-pills__sep-label i { margin-right: 4px; }
html body .sub-pills__sep small {
    font-size: 0.68rem;
    color: rgba(226, 232, 240, 0.6);
}
html body .sub-picker__block--server .sub-pill-wrap--upgrade:has([data-pick-server="upgrade2"]) .sub-pill {
    border-color: rgba(192, 132, 252, 0.4);
    background: rgba(168, 85, 247, 0.1);
}
html body .sub-picker__block--server .sub-pill-wrap--upgrade:has([data-pick-server="upgrade2"]) .sub-pill--active {
    border-color: rgba(192, 132, 252, 0.8);
    background: rgba(168, 85, 247, 0.2);
    box-shadow: 0 0 0 1px rgba(192, 132, 252, 0.3);
}
html body .sub-feat-matrix__addon-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0.2rem 0 0.6rem;
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.08);
    color: #fde68a;
    font-size: 0.8rem;
    line-height: 1.4;
}
html body .sub-feat-matrix__addon-note i { margin-top: 2px; }
@media (max-width: 640px) {
    html body .sub-pills__sep {
        flex-basis: 100%;
        border-left: 0;
        border-top: 1px dashed rgba(251, 191, 36, 0.35);
        margin: 0.2rem 0 0;
        padding: 0.45rem 0 0;
        min-height: 0;
    }
}
