/* =============================================================================
   KOTOVA BOOKS · pricing.css — page styles for kotova.io/books/pricing
   -----------------------------------------------------------------------------
   Load AFTER /styles.css and /books/books.css. Classes are prefixed pr- (or
   refine a bk- component inside a pr- scope); colours, radii and fonts come
   from the site tokens and the books.css --bk-* tokens. Nothing here styles
   bare elements or :root.

   Sections
     1. Hero: headline + price-book / billing controls
     2. Plan cards: aligned rows (4-up), phone plan picker, "All plans" list
     3. Trust tiles
     4. Top-ups: three options + the worked example
     5. Comparison table: groups, summary rows, phone single-plan view
     6. FAQ: journal example, counts lists, prepayment tiles, contact card;
        the "Coming soon" pill of the US price book
   Breakpoints follow books.css: 1100 (plans 2-up), 1024 (site), 640 (phone).
   ========================================================================== */


/* The site hyphenates all body copy (styles.css: hyphens:auto on p, li, span,
   td …). Cards, tables and short labels on this page read better with whole
   words; long words still wrap (overflow-wrap stays on). */
.pr-page :is(p, li, h2, h3, span, a, b, small, td, th) {
    -webkit-hyphens: manual;
    hyphens: manual;
}

/* German running text keeps hyphenation: long compounds
   ("Verfahrensdokumentation") would otherwise leave ragged lines in the
   narrow tiles and table cells. Headings, labels and figures stay whole. */
.pr-page:lang(de) :is(p, li, .bk-table-sub, .bk-cmp-note, .pr-all-q) {
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 10 4 4;      /* never "Ih-ren": only long words */
}

/* =============================================================================
   1. HERO
   ========================================================================== */

.pr-hero {
    padding-top: calc(var(--bk-offset) + 56px);
    padding-bottom: 44px;
}

.pr-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--spacing-xl) var(--spacing-3xl);
    align-items: end;
}

.pr-hero-copy {
    min-width: 0;
}

.pr-eyebrow .pr-sep {
    color: var(--color-text-muted);
}

.pr-h1 {
    font-size: clamp(2.05rem, 3.5vw, 2.9rem);
    max-width: 26ch;
}

.pr-h1 + .pr-lead {
    margin-top: var(--spacing-lg);
}

.pr-lead {
    max-width: 64ch;
}

.pr-coins {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: var(--spacing-lg);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

/* Controls card: price book + billing, with the billing-country hint. */
.pr-ctl {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 18px 20px;
    border-radius: var(--radius-xl);
    background: var(--gradient-card);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-lg);
}

/* Label above its segmented control (keeps the card narrow next to the
   headline). */
.pr-ctl-row {
    display: grid;
    justify-items: start;
    gap: 8px;
    min-width: 0;
}

/* The hint wraps inside the width the two controls set (it must not widen
   the card): zero intrinsic width, stretched to the card. */
.pr-ctl-hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 0;
    min-width: 100%;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--color-text-secondary);
}

.pr-ctl-hint .bk-ico {
    width: 15px;
    height: 15px;
    margin-top: 1px;
    color: var(--color-text-muted);
}

@media (max-width: 1100px) {
    .pr-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--spacing-xl);
    }

    .pr-ctl {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        gap: 14px var(--spacing-xl);
        justify-self: start;
        max-width: 100%;
    }

    .pr-ctl-hint {
        flex: 1 1 100%;
        width: auto;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .pr-hero {
        padding-top: calc(var(--bk-offset) + 40px);
        padding-bottom: 32px;
    }
}

@media (max-width: 640px) {
    .pr-ctl {
        display: grid;
        justify-self: stretch;
        gap: 12px;
        padding: 14px;
    }

    .pr-ctl-row {
        justify-items: stretch;
        gap: 6px;
    }

    .pr-ctl .bk-seg {
        display: flex;
        width: 100%;
    }

    .pr-ctl .bk-seg-btn {
        flex: 1 1 0;
        padding: 0 6px;
        min-height: 42px;
    }
}


/* =============================================================================
   2. PLAN CARDS
   ========================================================================== */

.pr-plans-sec {
    position: relative;
    padding: 16px 0 var(--spacing-2xl);
}

.pr-note {
    margin-bottom: var(--spacing-xl);
}

.pr-note .bk-ico {
    width: 18px;
    height: 18px;
}

/* Plans v4: three plans. Three up from 901px (books.css's 2-up would leave
   Business alone in a row), one column, centred, from 641px down. */
.pr-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .pr-plans {
        grid-template-columns: minmax(0, 1fr);
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Three up: the cards share their row tracks (subgrid), so names, prices,
   buttons, meters, add-ons and feature lists line up across all three. */
@media (min-width: 1101px) {
    .pr-plans {
        row-gap: 0;
    }

    .pr-plans > .bk-plan {
        display: grid;
        grid-row: span 7;
        grid-template-rows: subgrid;
        row-gap: var(--spacing-md);
        align-content: start;
    }

    .pr-plans .bk-plan-feat {
        margin-top: 0;
        align-self: start;
    }

    /* Scale the price so "ab CHF 466.65 / Monat" stays on one line down to
       1101px (2.1rem from ~1430px up). */
    .pr-plans .bk-plan-amt {
        font-size: clamp(1.6rem, 2.35vw, 2.1rem);
    }

    /* The meters block shares its row across the cards (subgrid); each hint
       takes the lines it needs. */
}

.pr-topup {
    min-width: 0;
}

/* The gold button has no border, the outline ones have 1px: equalise so
   cards side by side keep their rows level (2-up layout). */
.pr-plans .btn-primary {
    border: 1px solid transparent;
}

.pr-plans .bk-plan-alt [data-bk-amount] {
    font-variant-numeric: tabular-nums;
}

/* Phone plan picker (pricing.js removes [hidden]); one card at a time. */
.pr-pick {
    display: none;
}

@media (max-width: 640px) {
    .pr-pick:not([hidden]) {
        display: flex;
        width: 100%;
        margin: 0 0 var(--spacing-lg);
    }

    .pr-pick .bk-seg-btn {
        flex: 1 1 0;
        min-height: 42px;
        padding: 0 6px;
    }

    .pr-plans[data-plan="basic"] > [data-pr-card]:not([data-pr-card="basic"]),
    .pr-plans[data-plan="pro"] > [data-pr-card]:not([data-pr-card="pro"]),
    .pr-plans[data-plan="business"] > [data-pr-card]:not([data-pr-card="business"]) {
        display: none;
    }

    /* Selected card: a little room above for the "Popular" badge. */
    .pr-plans[data-plan] {
        padding-top: 4px;
    }

    /* Meters as a three-up row, as in the app's phone layout. */
    .pr-plans .bk-meters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
    }

    .pr-plans .bk-meter {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 3px;
        align-content: start;
    }

    .pr-plans .bk-meter-ico {
        grid-row: auto;
        margin-bottom: 4px;
    }

    .pr-plans .bk-meter-hint {
        display: none;
    }

    .pr-plans .bk-topup-row {
        padding: 8px 0;
        font-size: 0.9rem;
    }
}

/* "All plans" list (phones, with JS): every plan's meters and price; a tap
   switches the card above. */
.pr-all {
    display: none;
}

@media (max-width: 640px) {
    .pr-all:not([hidden]) {
        display: block;
        margin-top: var(--spacing-xl);
        border: 1px solid var(--color-border-light);
        border-radius: var(--radius-xl);
        background: var(--color-background-card);
        overflow: hidden;
    }
}

.pr-all-h {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--spacing-md);
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-light);
}

.pr-all-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.pr-all-hint {
    font-size: 0.78rem;
    color: var(--color-text-secondary);   /* AA on the dark cards; muted (#5A6478) is for decoration only */
}

.pr-all-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 16px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 66px;
    padding: 12px 16px;
    border: 0;
    border-bottom: 1px solid var(--color-border-light);
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.pr-all-row:last-child {
    border-bottom: 0;
}

.pr-all-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.pr-all-row[aria-pressed="true"] {
    background: var(--bk-gold-tint);
    box-shadow: inset 3px 0 0 var(--color-secondary);
}

.pr-all-row:focus-visible {
    outline: 2px solid rgba(197, 165, 114, 0.6);
    outline-offset: -2px;
}

.pr-all-main {
    display: block;
    min-width: 0;
}

.pr-all-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.pr-all-sel {
    display: none;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: var(--bk-gold-tint-2);
    color: var(--color-secondary);
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.4;
}

.pr-all-row[aria-pressed="true"] .pr-all-sel {
    display: inline-flex;
}

.pr-all-q {
    display: block;
    margin-top: 3px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.pr-nw {
    white-space: nowrap;
}

.pr-all-price {
    display: block;
    text-align: right;
}

.pr-all-price b {
    display: block;
    font-family: var(--bk-figures);
    font-variant-numeric: tabular-nums;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
}

.pr-all-price small {
    display: block;
    margin-top: 1px;
    font-size: 0.72rem;
    color: var(--color-text-secondary);   /* AA on the dark cards; muted (#5A6478) is for decoration only */
    white-space: nowrap;
}

.pr-all-row > .bk-ico {
    width: 16px;
    height: 16px;
    color: var(--color-text-muted);
}

.pr-fine {
    margin-top: var(--spacing-xl);
}


/* =============================================================================
   3. TRUST TILES — one card, four cells divided by 1px gaps
   ========================================================================== */

.pr-trust-sec {
    padding-top: 0;
}

.pr-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    background: var(--color-border-light);
    overflow: hidden;
}

.pr-ti {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding: 20px;
    background: var(--color-background-card);
}

/* Shared icon tile (trust, top-up options, contact card). The hue comes from
   a books.css module class on the parent (.bk-m-ledger …), gold otherwise. */
.pr-ti-i,
.pr-opt-i,
.pr-ask-i {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--bk-mc, var(--color-secondary)) 15%, transparent);
    color: var(--bk-mc, var(--color-secondary));
}

.pr-ti-i .bk-ico,
.pr-opt-i .bk-ico,
.pr-ask-i .bk-ico {
    width: 20px;
    height: 20px;
}

.pr-ti-t {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-primary);
}

.pr-ti-x {
    margin-top: 5px;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--color-text-secondary);
}

@media (max-width: 1024px) {
    .pr-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .pr-trust {
        grid-template-columns: minmax(0, 1fr);
    }

    .pr-ti {
        padding: 16px;
    }
}


/* =============================================================================
   4. TOP-UPS
   ========================================================================== */

.pr-more {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: var(--spacing-lg);
    align-items: stretch;
}

.pr-opts {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    background: var(--gradient-card);
    overflow: hidden;
}

.pr-opt {
    flex: 1;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) minmax(0, 236px);
    gap: 6px 18px;
    align-items: center;
    padding: 20px 22px;
    border-bottom: 1px solid var(--color-border-light);
}

.pr-opt:last-child {
    border-bottom: 0;
}

.pr-opt-b {
    min-width: 0;
}

.pr-opt-t {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-primary);
}

.pr-opt-x {
    margin-top: 4px;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--color-text-secondary);
}

.pr-ex {
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid var(--color-border-light);
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.pr-ex b {
    font-family: var(--bk-figures);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .pr-more {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: start;
    }

    .pr-opt {
        grid-template-columns: 40px minmax(0, 1fr);
        align-items: start;
    }

    .pr-ex {
        grid-column: 2;
        margin-top: 6px;
    }
}

@media (max-width: 860px) {
    .pr-more {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .pr-opt {
        gap: 4px 12px;
        padding: 16px;
    }
}


/* =============================================================================
   5. COMPARISON TABLE (refines books.css .bk-cmp)
   ========================================================================== */

/* Every group is its own <tbody>: a separator between groups, none under the
   table. books.css (section 12) now does the same for every .bk-table; kept
   here so this table does not depend on it. */
.pr-cmp > tbody > tr:last-child > td {
    border-bottom: 1px solid var(--color-border-light);
}

.pr-cmp > tbody:last-child > tr:last-child > td {
    border-bottom: 0;
}

/* "Expand all / Collapse all" label follows its state. */
.pr-expand[aria-expanded="true"] .pr-if-closed,
.pr-expand[aria-expanded="false"] .pr-if-open {
    display: none;
}

/* Group title: icon (or toggle chevron) + name + feature count. */
.pr-grp-t {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pr-grp-t > .bk-ico {
    width: 16px;
    height: 16px;
    color: var(--color-secondary);
}

.pr-cmp .bk-cmp-toggle b {
    white-space: nowrap;
}

/* Hue dot on the first line when a feature name wraps. */
.pr-cmp .bk-cmp-feat {
    align-items: flex-start;
}

.pr-cmp .bk-cmp-feat > .bk-dot {
    margin-top: 0.42em;
}

.pr-count {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    font-family: var(--bk-figures);
    font-variant-numeric: tabular-nums;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--bk-ink-2);
}

.pr-grp-t .bk-muted,
.pr-grp-c > .bk-muted {
    font-size: 0.82rem;
}

.pr-grp-c > .bk-muted {
    margin-left: 10px;
}

.pr-grp-c > .bk-table-sub,
.pr-grp-t + .bk-table-sub {
    margin-top: 4px;
}

/* Collapsible groups: the summary shows only while the group is closed. */
.pr-grp[data-open="true"] .pr-when-closed,
.pr-grp:not([data-open="true"]) .pr-when-open {
    display: none;
}

.pr-same {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.55;
}

.pr-same .bk-yes {
    flex: none;
    margin-top: 1px;
}

.pr-cmp .bk-cmp-same {
    color: var(--color-text-secondary);
}

.pr-sup {
    display: block;
    font-weight: 600;
    color: var(--color-text-primary);
}

.pr-cmp td .bk-cmp-note {
    line-height: 1.4;
}

/* Phones with JS: one plan column at a time (picker above the table, shared
   with the plan cards). Rows become two-column grids: feature | value. */
@media (max-width: 640px) {
    .pr-pick--cmp:not([hidden]) {
        margin-bottom: var(--spacing-md);
    }

    .pr-cmp[data-plan] {
        display: block;
        min-width: 0;
    }

    .pr-cmp[data-plan] > colgroup {
        display: none;
    }

    .pr-cmp[data-plan] > thead,
    .pr-cmp[data-plan] > tbody {
        display: block;
    }

    .pr-cmp[data-plan] tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: var(--spacing-md);
        border-bottom: 1px solid var(--color-border-light);
    }

    .pr-cmp[data-plan] > tbody:last-child > tr:last-child {
        border-bottom: 0;
    }

    .pr-cmp[data-plan] th,
    .pr-cmp[data-plan] td {
        display: block;
        position: static;
        padding: 12px 14px;
        border-bottom: 0;
        background: none;
        box-shadow: none;
    }

    /* Rows carry the separators here, not the cells. */
    .pr-cmp[data-plan] > tbody > tr > td,
    .pr-cmp[data-plan] > thead > tr > th {
        border-bottom: 0;
    }

    .pr-cmp[data-plan] tr > :first-child {
        padding-right: 0;
    }

    .pr-cmp[data-plan] [data-pr-col] {
        padding-left: 0;
        text-align: right;
    }

    .pr-cmp[data-plan] thead tr {
        background: rgba(255, 255, 255, 0.02);
        border-bottom-color: var(--bk-line-strong);
    }

    .pr-cmp[data-plan] .bk-cmp-group {
        background: rgba(255, 255, 255, 0.035);
    }

    .pr-cmp[data-plan] .pr-span-all,
    .pr-cmp[data-plan] .pr-grp-c,
    .pr-cmp[data-plan] .pr-span-plans {
        grid-column: 1 / -1;
        padding-right: 14px;
    }

    .pr-cmp[data-plan] .pr-span-plans {
        padding-top: 0;
        text-align: left;
    }

    .pr-cmp[data-plan] .pr-grp[data-open="true"] .pr-span-plans {
        display: none;
    }

    /* AI & automation: the plan's answer is text, so it goes on its
       own line under the full-width title ("✗ + rules only"). */
    .pr-cmp[data-plan] .pr-sumvals > [data-pr-col] {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 8px;
        padding: 0 14px 12px;
        text-align: left;
    }

    .pr-cmp[data-plan] .pr-sumvals .bk-cmp-note,
    .pr-cmp[data-plan] .pr-sumvals .pr-sup {
        display: inline;
        margin: 0;
    }

    .pr-cmp[data-plan] .pr-sumvals .bk-cmp-note {
        font-size: 0.85rem;
    }

    .pr-cmp[data-plan="basic"] [data-pr-col]:not([data-pr-col="basic"]),
    .pr-cmp[data-plan="pro"] [data-pr-col]:not([data-pr-col="pro"]),
    .pr-cmp[data-plan="business"] [data-pr-col]:not([data-pr-col="business"]) {
        display: none;
    }

    .pr-cmp[data-plan] .bk-cmp-val {
        font-size: 0.95rem;
    }
}


/* =============================================================================
   6. FAQ
   ========================================================================== */

/* Owner, 03.11.2026 (docs/mockups/pricing.html): from 641px every answer
   is open, in 3 columns (2 up to 1100px), each question a card and the
   contact card the last cell; on phones the accordion with the first answer
   open. pricing.js drops the single-open name and keeps the answers open
   from 641px (section 6b below). */
.pr-faq-grid {
    display: block;
}

.pr-faq {
    max-width: none;
    margin: 0;
}

.pr-faq .bk-faq-a > * + * {
    margin-top: var(--spacing-md);
}

/* Journal example (Soll / Haben) */
.pr-jrnl-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    background: var(--color-background-card);
    -webkit-overflow-scrolling: touch;
}

.pr-jrnl {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    line-height: 1.45;
}

.pr-jrnl th {
    padding: 9px 12px;
    text-align: left;
    font-family: var(--bk-label);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--bk-line-strong);
    white-space: nowrap;
}

.pr-jrnl td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--bk-ink-2);
}

.pr-jrnl .pr-num {
    text-align: right;
    font-family: var(--bk-figures);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pr-jrnl tbody tr:last-child td {
    border-bottom: 0;
}

.pr-jrnl tfoot td {
    border-bottom: 0;
    border-top: 1.5px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    color: var(--color-text-primary);
}

.pr-acc {
    margin-right: 8px;
    font-family: var(--bk-figures);
    font-variant-numeric: tabular-nums;
    font-size: 0.78rem;
    color: var(--color-text-secondary);   /* AA on the dark cards; muted (#5A6478) is for decoration only */
}

.pr-bal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-success);
    white-space: nowrap;
}

.pr-bal .bk-ico {
    width: 15px;
    height: 15px;
}

.pr-cap {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--color-text-secondary);   /* AA on the dark cards; muted (#5A6478) is for decoration only */
}

/* Counts / doesn't count */
.pr-kl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pr-kl-c {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
}

.pr-kl-h {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 0.82rem;
    font-weight: 600;
}

.pr-kl-h .bk-ico {
    width: 15px;
    height: 15px;
}

.pr-kl-yes .pr-kl-h {
    color: var(--bk-info);
}

.pr-kl-no .pr-kl-h {
    color: var(--color-text-secondary);
}

.pr-kl ul {
    margin: 0;
    padding-left: 18px;
    font-size: 0.85rem;
    line-height: 1.55;
}

/* Crypto prepayment tiles */
.pr-pp {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pr-pp-c {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
}

.pr-pp-c.is-on {
    border-color: var(--bk-gold-line);
    background: var(--bk-gold-tint);
    box-shadow: inset 0 0 0 1px var(--bk-gold-line);
}

.pr-pp-c > span {
    display: block;
    font-size: 0.75rem;
    line-height: 1.4;
}

.pr-pp-c b {
    display: block;
    margin: 3px 0 2px;
    font-family: var(--bk-figures);
    font-variant-numeric: tabular-nums;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
}

.pr-pp-off {
    font-weight: 600;
    color: var(--color-success);
}

.pr-pp-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--color-text-secondary);   /* AA on the dark cards; muted (#5A6478) is for decoration only */
}

/* Contact card, the last cell of the questions */
.pr-ask {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px;
    border: 1px dashed rgba(197, 165, 114, 0.4);
    border-radius: var(--radius-xl);
    background: linear-gradient(160deg, rgba(197, 165, 114, 0.08) 0%, rgba(21, 28, 44, 0.6) 60%);
}

.pr-ask-t {
    margin-top: 4px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-primary);
}

.pr-ask-x {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.pr-ask .btn {
    margin-top: 6px;
}

/* "Ask a question" and "Book a demo" side by side, wrapping when narrow. */
.pr-ask-acts {
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
}

/* "Coming soon" pill (claims of the US price book that are not available
   yet; pricing.html's header comment): books.css's muted badge
   (.bk-badge--muted) at the size of a table note. Used in the plan cards,
   trust tiles, comparison table and FAQ. */
.pr-soon {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-secondary);
    font-family: var(--bk-label);
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Comparison table from 641px: at tablet widths a plan column is
   narrower than the pill plus the cell padding, and text-align no
   longer centres it; the cells that hold one keep less padding. */
@media (min-width: 641px) {
    .pr-cmp td[data-pr-col]:has(> .pr-soon) {
        padding-left: 4px;
        padding-right: 4px;
    }
}

/* =============================================================================
   6b. FAQ in columns (641px and up): every answer open, one card each
   ========================================================================== */
@media (min-width: 641px) {
    .pr-faq {
        columns: 3;
        column-gap: var(--spacing-lg);
    }

    .pr-faq > .bk-faq-item,
    .pr-faq > .bk-faq-item:first-child,
    .pr-faq > .pr-ask {
        break-inside: avoid;
        margin: 0 0 var(--spacing-lg);
        padding: 20px 22px;
        border: 1px solid var(--color-border-light);
        border-radius: var(--radius-xl);
        background: var(--color-background-card);
    }

    .pr-faq > .pr-ask {
        border-style: dashed;
        border-color: rgba(197, 165, 114, 0.4);
        background: linear-gradient(160deg, rgba(197, 165, 114, 0.08) 0%, rgba(21, 28, 44, 0.6) 60%);
    }

    /* The question is a heading here, not a toggle (pricing.js keeps it open). */
    .pr-faq .bk-faq-q {
        align-items: baseline;
        gap: 10px;
        padding: 0;
        cursor: default;
    }

    .pr-faq .bk-faq-q:hover {
        color: var(--color-text-primary);
    }

    .pr-faq .bk-faq-n {
        min-width: 0;
        font-size: 1.05rem;
        font-weight: 400;
        color: var(--color-secondary);
    }

    .pr-faq .bk-faq-t {
        font-family: var(--font-display);
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.35;
    }

    .pr-faq .bk-faq-icon {
        display: none;
    }

    .pr-faq .bk-faq-a {
        padding: 10px 0 0;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .pr-faq .bk-faq-a > * + * {
        margin-top: 10px;
    }

    .pr-faq .pr-jrnl th,
    .pr-faq .pr-jrnl td {
        padding-left: 8px;
        padding-right: 8px;
    }

    .pr-faq .pr-jrnl th:first-child,
    .pr-faq .pr-jrnl td:first-child {
        padding-left: 10px;
    }

    .pr-faq .pr-pp-c {
        padding: 8px;
    }

    .pr-faq .pr-pp-c b {
        font-size: 0.85rem;
    }

    .pr-faq .pr-kl-c {
        padding: 10px 12px;
    }

    .pr-faq .bk-faq-item::details-content {
        transition: none;
    }
}

@media (min-width: 641px) and (max-width: 1100px) {
    .pr-faq {
        columns: 2;
    }
}

/* Narrow FAQ cards (the first widths of the 2- and 3-column bands, about
   641-790 and 1101-1170px): the German count words ("E-Mail-Eingang",
   "Exchange-Daten", nowrap) no longer fit two count cards side by side, and
   the journal's "Ausgeglichen" footer pushes "Haben" out of view. Each
   answer is a size container; the count cards stack and the journal
   tightens in three steps. Measured (DE, the wider language): cards stay
   side by side only from 151px each; the journal needs 265px at 0.78rem,
   249px at 0.75rem and 235px without the check icon. */
.pr-faq .bk-faq-a {
    container: pr-faq-a / inline-size;
}

/* Journal cells wrap at spaces only: styles.css sets word-break:break-word
   on every td and span, which lets a narrow column split "Geschäftskonto"
   mid-word. The account number stays whole and may stand on its own line. */
.pr-faq .pr-jrnl td,
.pr-faq .pr-jrnl td span {
    word-break: normal;
}

.pr-faq .pr-jrnl .pr-acc {
    display: inline-block;
    white-space: nowrap;
}

@container pr-faq-a (max-width: 312px) {
    .pr-kl {
        grid-template-columns: minmax(0, 1fr);
    }
}

@container pr-faq-a (max-width: 300px) {
    .pr-faq .pr-jrnl {
        font-size: 0.78rem;
    }

    .pr-faq .pr-jrnl th,
    .pr-faq .pr-jrnl td {
        padding-left: 6px;
        padding-right: 6px;
    }

    .pr-faq .pr-jrnl th:first-child,
    .pr-faq .pr-jrnl td:first-child {
        padding-left: 8px;
    }
}

@container pr-faq-a (max-width: 270px) {
    .pr-faq .pr-jrnl {
        font-size: 0.75rem;
    }

    .pr-faq .pr-jrnl .pr-num {
        padding-left: 4px;
        padding-right: 4px;
    }

    .pr-faq .pr-jrnl .pr-acc {
        margin-right: 5px;
    }
}

@container pr-faq-a (max-width: 252px) {
    .pr-faq .pr-jrnl .pr-bal .bk-ico {
        display: none;
    }
}

@media (max-width: 640px) {
    .pr-kl {
        grid-template-columns: minmax(0, 1fr);
    }

    .pr-ask {
        margin-top: var(--spacing-xl);
        padding: 20px;
    }

    .pr-ask .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .pr-pp {
        grid-template-columns: minmax(0, 1fr);
    }

    .pr-pp-c {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
    }

    .pr-pp-c b {
        margin: 0 0 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pr-all-row {
        transition: none;
    }
}


/* =============================================================================
   Plans v4 additions (18.11.2026)
   ========================================================================== */

/* Add-ons without the worked example: the three options take the row. */
.pr-more--solo {
    grid-template-columns: minmax(0, 1fr);
}

/* A feature mark linked to the catalogue (books.js data-bk-feature): the
   markup carries all three marks, data-bk-on picks one. */
.pr-feat > * {
    display: none;
}

.pr-feat[data-bk-on="yes"] > .bk-yes,
.pr-feat[data-bk-on="no"] > .bk-no,
.pr-feat[data-bk-on="soon"] > .pr-soon {
    display: inline-block;
}

.pr-free {
    color: var(--color-success, #00D4AA);
    font-weight: 600;
}

.bk-topup-row b.pr-free {
    font-family: inherit;
}

.bk-cmp-note + .bk-cmp-note,
td > .bk-cmp-val + .bk-cmp-note {
    display: block;
}

/* Calculator section: the head and the card share the container. */
.pr-calc-sec .bk-calc {
    margin-top: var(--spacing-lg);
}
