/* ============================================================
   MS MEMBERSHIP / ABO
============================================================ */


/* ============================================================
   ABO ROOT / TYPO FIREWALL
============================================================ */

.abo-root {
    max-width: 97ch;
    margin: 0 auto;
}

.abo-root p,
.abo-root div {
    max-width: none;
    margin: 0;
}

#site-content.abo-overview {
    padding-top: 8rem;
}


/* ============================================================
   ABO INTRO
============================================================ */

.abo-overview-intro {
    padding: 0 2rem;
}

.abo-overview-intro h2.abo-overview-lead {
    font-size: 1.95rem;
    line-height: 1.35;
    font-weight: 400;
    color: #777;
}


/* ============================================================
   ABO DATENSCHUTZ / META
============================================================ */

.abo-overview-meta {
    margin: 6rem auto 0;
    padding: 0 2rem;
    color: #ccc;
}

.abo-overview-meta h3 {
    margin-bottom: 1.6rem;
    font-size: 2.1rem;
    font-weight: 500;
    color: #fff;
}

.abo-overview-meta p {
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    line-height: 1.55;
}

.abo-overview-meta a {
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}

.abo-overview-meta a:hover {
    color: #fff;
    text-decoration-color: rgba(255,255,255,0.9);
}


/* ============================================================
   MEMBERSHIP LAYOUT
============================================================ */

#site-content.abo-selection {
    padding-top: 0;
}

.membership-wrapper {
    max-width: 1100px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    align-items: stretch;
}

.membership-panel {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.abo-overview .membership-panel {
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 2.2rem;
    padding: 3rem 2.6rem;
    background: rgba(255,255,255,0.02);
}


/* ============================================================
   CARDS
============================================================ */

.membership-card {
    display: grid;
    grid-template-rows:
        auto
        auto
        auto
        1fr
        auto
        auto
        auto;

    border: 3px solid rgba(255,255,255,0.35);
    border-radius: 2rem;
    padding: 2.6rem 2.4rem 0;
    background: transparent;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.membership-card:hover {
    border-color: #F3ACBD;
    background: rgba(243, 172, 189, 0.04);
}

.membership-card.is-current:hover {
    border-color: rgba(255,255,255,0.35);
    background: transparent;
}

.membership-card.is-recommended .membership-title {
    color: #fff;
}

.abo-overview .membership-panel > .membership-card {
    border: 0;
    border-radius: 0;
    padding: 2.2rem 0;
    background: transparent;
}

.abo-overview .membership-panel > .membership-card + .membership-card {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 3rem;
}


/* ============================================================
   ACCOUNT MEMBERSHIP PANEL
============================================================ */

#account-membership {
    margin-top: 3.5rem;
}

#account-membership .membership-panel {
    margin-bottom: 4rem;
}


/* ============================================================
   CARD CONTENT
============================================================ */

.membership-card .membership-title {
    margin: 0 0 1.4rem;
    font-size: 2.7rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.05em;
}

.membership-desc {
    padding-top: 1rem;
    font-size: 1.3rem;
    line-height: 1.55;
    color: #ddd;
}

.membership-card ul {
    list-style: none;
    padding-top: 1.5rem;
    margin: 0;
}

.membership-card li {
    position: relative;
    margin-bottom: 0.75rem;
    padding-left: 1.4rem;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #fff;
}

.membership-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #999;
}

.membership-divider {
    width: 60px;
    border-top: 1px solid rgba(255,255,255,0.25);
    margin: 2rem 0;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.membership-hint {
    padding-bottom: 10px;
    font-size: 1.3rem;
    color: #ccc;
}

.membership-period {
    margin-top: 0.3rem;
    font-size: 1.3rem;
    color: rgba(255,255,255,0.6);
}

.membership-price {
    font-size: 5.5rem;
    font-weight: 600;
    color: #fff;
}

.is-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}


/* ============================================================
   DETAIL LINK
============================================================ */

.membership-detail-link {
    display: block;
    max-width: 1100px;
    margin: 3.5rem auto 0;
    padding: 0 2rem;
    font-size: 1.3rem;
    color: #aaa;
    text-decoration: underline;
}

.membership-detail-link:hover {
    color: #fff;
}


/* ============================================================
   ABO HERO
============================================================ */

.abo-hero {
    background: #ffb27e;
    padding: 5rem 0;
}

.abo-hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 5rem;
}

.abo-hero-text {
    max-width: 80rem;
}

.abo-hero-score {
    display: flex;
    justify-content: flex-end;
}

.abo-hero-title {
    padding-bottom: 2rem;
    font-family: "Instrument Serif", serif;
    font-size: 7rem;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #fff;
}

.abo-hero-subtitle {
    margin-top: 1.8rem;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.45;
    color: #000;
}

.abo-score-circle {
    width: 220px;
    height: 220px;
    border: 8px solid #000;
    border-radius: 50%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.abo-score-number {
    font-size: 6.8rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
}

.abo-score-label {
    margin-top: 1rem;
    font-size: 1.2rem;
    letter-spacing: 0.22em;
    color: #000;
}

.abo-hero-kicker {
    margin: 0 0 2rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #000;
}


/* ============================================================
   FAQ
============================================================ */

.membership-faq {
    margin: 8rem auto 0;
}

.membership-faq-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.membership-faq-title {
    margin: 0 0 3.5rem;
    font-size: 3rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.02em;
}

.membership-faq-list {
    border-top: 1px solid rgba(255,255,255,0.4);
}

.membership-faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.membership-faq-item summary {
    list-style: none;
    cursor: none;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;

    padding: 2.2rem 0;

    font-size: 2rem;
    font-weight: 500;
    line-height: 1.35;
    color: #fff;

    transition: color 0.2s ease;
}

.membership-faq-item summary:hover {
    color: #F3ACBD;
}

.membership-faq-item summary::-webkit-details-marker {
    display: none;
}

.membership-faq-item summary::after {
    content: "+";
    flex-shrink: 0;

    font-size: 2.6rem;
    font-weight: 300;
    line-height: 1;
    color: rgba(255,255,255,0.6);

    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.membership-faq-item[open] summary::after {
    content: "–";
    color: #F3ACBD;
}

.membership-faq-answer {
    padding: 0 0 2.6rem;
    max-width: 72ch;
}

.membership-faq-answer p {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.7;
    color: #bdbdbd;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 768px) {

    .membership-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .abo-hero-title {
        font-size: 4rem;
        line-height: 1;
        letter-spacing: 0.02em;
        padding-bottom: 2rem;
    }

    .abo-score-circle {
        width: 170px;
        height: 170px;
        border-width: 6px;
    }

    .abo-score-number {
        font-size: 4.8rem;
    }

    .abo-score-label {
        margin-top: 1rem;
        font-size: 1.1rem;
    }

    .membership-faq {
        margin-top: 6rem;
    }

    .membership-faq-title {
        font-size: 2.4rem;
        margin-bottom: 2.5rem;
    }

    .membership-faq-item summary {
        font-size: 1.65rem;
        padding: 1.8rem 0;
    }

    .membership-faq-item summary::after {
        font-size: 2.2rem;
    }

    .membership-faq-answer p {
        font-size: 1.35rem;
    }
}

@media (max-width: 600px) {

    .abo-overview-intro h2.abo-overview-lead {
        font-size: 1.55rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {

    .abo-hero {
        padding: 4rem 0;
    }

    .abo-hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .abo-hero-title {
        font-size: 3.9rem;
        line-height: 1.2;
    }

    .abo-hero-subtitle {
        margin: 1.5rem auto 0;
        max-width: 38rem;
        font-size: 1.3rem;
        font-weight: 500;
    }

    .abo-hero-score {
        justify-content: center;
    }

    .abo-score-circle {
        width: 150px;
        height: 150px;
    }

    .abo-score-label {
        font-size: 0.9rem;
    }

    .abo-score-number {
        font-size: 4rem;
    }
}
