/* Subscription page (/abonneren). Every rule is scoped under .abo-page. */

.abo-page {
    --abo-bg: #f5f5f5;
    --abo-card: #ffffff;
    --abo-cream: #fcf8f0;
    --abo-ink: #000000;
    --abo-text: #1e1d1b;
    --abo-muted: #555555;
    --abo-line: #e4e4e4;
    --abo-display: 'Domaine Disp', Georgia, serif;
    --abo-serif: 'Domaine Text', Georgia, serif;
    --abo-sans: 'Futura PT', sans-serif;

    background: var(--abo-bg);
    color: var(--abo-ink);
    font-family: var(--abo-serif);
    font-weight: 300;
    padding-bottom: 96px;
}

.abo-page *,
.abo-page *::before,
.abo-page *::after {
    box-sizing: border-box;
}

.abo-page h1,
.abo-page h2,
.abo-page h3 {
    font-family: var(--abo-display);
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
    color: var(--abo-ink);
}

/* Self / gift switch: only the active variant is shown. */
.abo-page:not(.is-gift) [data-abo-gift],
.abo-page.is-gift [data-abo-self] {
    display: none !important;
}

/* ---------- Hero ---------- */
.abo-hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 20px 16px;
    text-align: center;
}

.abo-eyebrow {
    margin: 0 0 14px;
    font-family: var(--abo-sans);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--abo-muted);
}

.abo-hero h1 {
    margin: 0;
    font-size: 68px;
    line-height: 1;
}

.abo-lead {
    margin: 18px auto 0;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--abo-text);
}

.abo-toggle {
    margin: 36px auto 0;
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    background: var(--abo-card);
    border: 1px solid #dcdcdc;
    border-radius: 40px;
}

.abo-toggle button {
    height: 46px;
    padding: 0 26px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 30px;
    background: transparent;
    color: var(--abo-ink);
    font-family: var(--abo-serif);
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
}

.abo-toggle button[aria-pressed="true"] {
    background: var(--abo-ink);
    color: #ffffff;
}

.abo-toggle-note {
    margin: 14px 0 0;
    font-size: 14px;
    color: var(--abo-muted);
}

/* ---------- Page builder rows ---------- */
.abo-builder {
    margin: 8px auto 0;
}

.abo-builder > .row-item:last-child {
    margin-bottom: 0;
}

/* ---------- Plans ---------- */
/* Wide enough for three 425px cards in one row; two cards stay centered like the design. */
.abo-plans {
    max-width: 1340px;
    margin: 0 auto;
    padding: 24px 20px 0;
}

.abo-plans-grid {
    display: grid;
    /* Columns are capped so a lone card (e.g. gift mode) stays card-sized and centered. */
    grid-template-columns: repeat(auto-fit, minmax(300px, 425px));
    justify-content: center;
    gap: 10px;
    align-items: stretch;
}

.abo-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 44px 32px 36px;
    background: var(--abo-card);
    text-align: center;
}

.abo-plan.is-featured {
    background: var(--abo-cream);
}

.abo-plan-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 14px;
    background: var(--abo-ink);
    color: #ffffff;
    font-family: var(--abo-display);
    font-size: 17px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.abo-plan h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.1;
}

.abo-plan-sub {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--abo-muted);
}

.abo-price {
    margin: 30px 0 4px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    font-family: var(--abo-display);
}

.abo-price-currency {
    margin-top: 10px;
    font-size: 44px;
    line-height: 1;
}

.abo-price-amount {
    font-size: 96px;
    line-height: 0.9;
}

.abo-price-unit {
    margin: 0;
    font-size: 14px;
    color: var(--abo-muted);
}

.abo-saving {
    display: inline-block;
    margin: 12px 0 0;
    padding: 5px 12px;
    border: 1px solid var(--abo-ink);
    border-radius: 30px;
    font-family: var(--abo-sans);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Feature list comes from the CMS description (divs, paragraphs or list items). */
.abo-features {
    width: 100%;
    max-width: 300px;
    margin: 32px 0 34px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    line-height: 1.45;
}

.abo-features ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.abo-features > div,
.abo-features > p,
.abo-features li {
    position: relative;
    margin: 0 0 12px;
    padding-left: 28px;
}

.abo-features > div:last-child,
.abo-features > p:last-child,
.abo-features li:last-child {
    margin-bottom: 0;
}

.abo-features > div::before,
.abo-features > p::before,
.abo-features li::before {
    content: "\f00c";
    position: absolute;
    left: 0;
    top: 1px;
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: var(--abo-ink);
    -webkit-font-smoothing: antialiased;
}

.abo-plan-cta {
    margin-top: auto;
}

.abo-btn {
    display: inline-block;
    padding: 15px 34px;
    border: 0;
    border-radius: 30px;
    background: var(--abo-ink);
    color: #ffffff;
    font-family: var(--abo-serif);
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
    cursor: pointer;
}

.abo-btn:hover,
.abo-btn:focus {
    color: #ffffff;
    opacity: 0.85;
}

.abo-btn-light {
    background: #ffffff;
    color: var(--abo-ink);
    font-weight: normal;
}

.abo-btn-light:hover,
.abo-btn-light:focus {
    color: var(--abo-ink);
}

/* ---------- Gift teaser / how it works ---------- */
.abo-band {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 20px 0;
}

.abo-band-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 40px;
    background: var(--abo-ink);
    color: #ffffff;
}

.abo-band-text {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1 1 380px;
}

.abo-band-text svg {
    flex: none;
}

.abo-band h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.05;
    color: #ffffff;
}

.abo-band p {
    margin: 6px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: #d6d6d6;
}

.abo-steps {
    margin: 0;
    padding: 36px 40px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    background: var(--abo-cream);
    font-size: 15px;
    line-height: 1.45;
}

.abo-steps li {
    display: flex;
    gap: 14px;
}

.abo-step-no {
    flex: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--abo-ink);
    border-radius: 50%;
    font-family: var(--abo-display);
    font-size: 17px;
}

/* ---------- Generic section ---------- */
.abo-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 96px 20px 0;
}

.abo-section > h2 {
    margin: 0 0 36px;
    text-align: center;
    font-size: 52px;
    line-height: 1;
}

/* ---------- Why subscribe ---------- */
.abo-why {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.abo-why-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px 26px;
    background: var(--abo-card);
}

.abo-why-item h3 {
    margin: 0;
    font-size: 24px;
}

.abo-why-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--abo-text);
}

/* ---------- FAQ ---------- */
.abo-faq {
    max-width: 760px;
    margin: 0 auto;
}

.abo-faq details {
    background: var(--abo-card);
    margin-bottom: 6px;
}

.abo-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 17px;
    font-weight: normal;
    list-style: none;
    cursor: pointer;
}

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

.abo-faq summary::after {
    content: "+";
    flex: none;
    font-family: var(--abo-display);
    font-size: 26px;
    line-height: 1;
}

.abo-faq details[open] summary::after {
    content: "\2212";
}

.abo-faq-answer {
    padding: 0 24px 22px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--abo-text);
}

.abo-faq-answer > :last-child {
    margin-bottom: 0;
}

/* ---------- In-app notice ---------- */
.abo-app-notice {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 20px 0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: normal;
}

/* ---------- Responsive ---------- */
/* Below 1200px the site header (.ca-header) is position: fixed and 85px tall,
   so the page needs room for it (the old view got this from .page). */
@media (max-width: 1199.98px) {
    .abo-page {
        padding-top: 85px;
    }
}

@media (max-width: 767px) {
    .abo-hero {
        padding-top: 32px;
    }

    .abo-hero h1 {
        font-size: 48px;
    }

    .abo-toggle button {
        padding: 0 18px;
        font-size: 15px;
    }

    .abo-plans-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .abo-plan {
        padding: 40px 22px 32px;
    }

    .abo-price-amount {
        font-size: 80px;
    }

    .abo-band-inner,
    .abo-steps {
        padding: 28px 24px;
    }

    .abo-section {
        padding-top: 64px;
    }

    .abo-section > h2 {
        font-size: 38px;
    }
}

.abo-why-item svg {
    width: 30px;
    height: 30px;
    flex: none;
}
