/**
 * @file preise.css
 * @filepath public/css/pages/preise.css
 * @description Page-scoped styles for public/preise.html: market transformation flow, slim guided-quote intro with voucher teaser, gated quote configurator, post-form savings result, and the end-of-walkthrough voucher reward.
 * @updated 2026-05-30
 *
 * <file_documentation>
 *   <purpose>
 *     Keeps the market transformation flow, guided quote intro, locked term selector,
 *     selected-plan summary, add-on controls, post-form savings result, and the merged
 *     voucher reward out of inline HTML/JS styling while respecting the page cascade.
 *   </purpose>
 *   <dependencies>
 *     <dependency>public/preise.html</dependency>
 *     <dependency>COEUS theme variables when available</dependency>
 *   </dependencies>
 *   <exports>
 *     <class>market-flow</class>
 *     <class>market-journey</class>
 *     <class>market-beat</class>
 *     <class>quote-flow-intro</class>
 *     <class>voucher-badge</class>
 *     <class>term-options</class>
 *     <class>selected-plan-summary</class>
 *     <class>quote-result</class>
 *     <class>voucher-reward</class>
 *   </exports>
 * </file_documentation>
 */

body[data-page="preise"] {
    --preise-price-bg: rgba(255, 255, 255, 0.025);
    --preise-price-bg-strong: rgba(255, 77, 0, 0.06);
    --preise-price-border: var(--border-light, rgba(255, 255, 255, 0.12));
    --preise-price-border-strong: var(--accent, #ff4d00);
    --preise-price-text: var(--text-main, #ffffff);
    --preise-price-muted: var(--text-muted, #a0a0a0);
    --preise-price-soft: rgba(255, 255, 255, 0.055);
}

body[data-page="preise"] #configurator {
    scroll-margin-top: 7em;
}

:root[data-theme="light"] body[data-page="preise"],
:root[data-theme="lightmodern"] body[data-page="preise"],
body[data-page="preise"][data-theme="light"],
body[data-page="preise"][data-theme="lightmodern"] {
    --preise-price-bg: rgba(44, 62, 80, 0.045);
    --preise-price-bg-strong: rgba(255, 149, 0, 0.12);
    --preise-price-border: rgba(44, 62, 80, 0.18);
    --preise-price-text: var(--text-primary, #2c3e50);
    --preise-price-muted: var(--text-secondary, rgba(44, 62, 80, 0.72));
    --preise-price-soft: rgba(44, 62, 80, 0.065);
}

/* ── Market flow: from fragmentation to order ─────────────────────────── */
body[data-page="preise"] .market-flow {
    margin-top: 1em;
}

body[data-page="preise"] .market-flow-head {
    max-width: 48em;
    margin-bottom: 3.5em;
}

body[data-page="preise"] .market-flow-lead {
    color: var(--preise-price-text);
    font-family: var(--font-brand);
    font-size: clamp(1.45em, 2.6vw, 2.15em);
    line-height: 1.32;
    letter-spacing: -0.01em;
    margin-top: 0.7em;
}

body[data-page="preise"] .market-journey {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75em;
    align-items: stretch;
}

body[data-page="preise"] .market-beat {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.25em 1.75em 2em;
    border: 1px solid var(--preise-price-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
    transition: border-color 0.4s var(--easing), transform 0.4s var(--easing), box-shadow 0.4s var(--easing);
}

body[data-page="preise"] .market-beat:hover {
    transform: translateY(-0.3em);
}

/* connector between beats (desktop only) */
body[data-page="preise"] .market-beat + .market-beat::before {
    content: '';
    position: absolute;
    left: -1.75em;
    top: 50%;
    width: 1.75em;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent));
    opacity: 0.55;
}

body[data-page="preise"] .market-beat + .market-beat::after {
    content: '';
    position: absolute;
    left: -0.55em;
    top: 50%;
    width: 0.45em;
    height: 0.45em;
    border-top: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
    transform: translateY(-50%) rotate(45deg);
    opacity: 0.8;
}

body[data-page="preise"] .market-beat-num {
    position: absolute;
    top: 0.05em;
    right: 0.2em;
    font-family: var(--font-brand);
    font-size: 5.5em;
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    user-select: none;
}

body[data-page="preise"] .market-beat-visual {
    position: relative;
    z-index: 1;
    height: 4.5em;
    margin-bottom: 1.5em;
    display: flex;
    align-items: center;
}

body[data-page="preise"] .market-beat h3 {
    position: relative;
    z-index: 1;
    color: var(--preise-price-text);
    font-family: var(--font-brand);
    font-size: 1.6em;
    margin: 0 0 0.5em;
}

body[data-page="preise"] .market-beat p {
    position: relative;
    z-index: 1;
    color: var(--preise-price-muted);
    font-size: 0.95em;
    line-height: 1.6;
}

/* Beat 1 — scattered fragments */
body[data-page="preise"] .market-visual-scatter i {
    position: absolute;
    width: 0.7em;
    height: 0.7em;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.04);
}
body[data-page="preise"] .market-visual-scatter i:nth-child(1) { left: 0;     top: 0.7em; transform: rotate(-8deg); }
body[data-page="preise"] .market-visual-scatter i:nth-child(2) { left: 2.4em; top: 1.9em; transform: rotate(6deg); }
body[data-page="preise"] .market-visual-scatter i:nth-child(3) { left: 1.1em; top: 2.7em; transform: rotate(12deg); }
body[data-page="preise"] .market-visual-scatter i:nth-child(4) { left: 3.6em; top: 0.2em; transform: rotate(-14deg); }
body[data-page="preise"] .market-visual-scatter i:nth-child(5) { left: 5em;   top: 2em;   transform: rotate(9deg); }
body[data-page="preise"] .market-visual-scatter i:nth-child(6) { left: 4.6em; top: 3.1em; transform: rotate(-5deg); }
body[data-page="preise"] .market-visual-scatter i:nth-child(7) { left: 6.4em; top: 0.8em; transform: rotate(15deg); }

/* Beat 2 — unified core (the turning point) */
body[data-page="preise"] .market-core-ring,
body[data-page="preise"] .market-core-dot { position: absolute; }
body[data-page="preise"] .market-core-ring {
    width: 3.4em;
    height: 3.4em;
    left: 0.2em;
    border-radius: 50%;
    border: 1px solid rgba(255, 77, 0, 0.35);
    box-shadow: 0 0 22px rgba(255, 77, 0, 0.2);
    animation: market-pulse 4s ease-in-out infinite;
}
body[data-page="preise"] .market-core-dot {
    width: 1.5em;
    height: 1.5em;
    left: 1.15em;
    top: 1.5em;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 70%);
    box-shadow: 0 0 14px rgba(255, 77, 0, 0.45);
}
@keyframes market-pulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50%      { transform: scale(1.1); opacity: 1; }
}

/* Beat 3 — outcome seal (the payoff) */
body[data-page="preise"] .market-visual-check svg {
    width: 2.9em;
    height: 2.9em;
    padding: 0.6em;
    color: #fff;
    background: radial-gradient(circle at 35% 28%, #ff9a5c, var(--accent) 72%);
    border-radius: 50%;
    box-shadow: 0 0 26px rgba(255, 77, 0, 0.6);
}

/* ── Emphasis crescendo: problem (cool) → COEUS (warming) → Ergebnis (hero) ── */
body[data-page="preise"] .market-beat-problem .market-visual-scatter i {
    opacity: 0.7;
}

body[data-page="preise"] .market-beat-coeus {
    border-color: rgba(255, 77, 0, 0.32);
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(255, 77, 0, 0.07), transparent 70%),
        linear-gradient(180deg, rgba(255, 77, 0, 0.025), rgba(255, 255, 255, 0));
    box-shadow: 0 18px 40px -34px rgba(255, 77, 0, 0.35);
}
body[data-page="preise"] .market-beat-coeus .market-beat-num { color: rgba(255, 77, 0, 0.12); }

body[data-page="preise"] .market-beat-result {
    border-color: var(--preise-price-border-strong);
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(255, 77, 0, 0.15), transparent 70%),
        linear-gradient(180deg, rgba(255, 77, 0, 0.06), rgba(255, 255, 255, 0));
    box-shadow: 0 30px 64px -28px rgba(255, 77, 0, 0.6);
}
body[data-page="preise"] .market-beat-result .market-beat-num { color: rgba(255, 77, 0, 0.22); }
body[data-page="preise"] .market-beat-result h3 { color: #fff; }

/* ── Guided quote intro (slim) + voucher teaser ───────────────────────── */
body[data-page="preise"] .quote-flow-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2.5em;
    align-items: center;
    margin-bottom: 3.5em;
    padding: 2em;
    border: 1px solid var(--preise-price-border);
    background: var(--preise-price-bg);
    max-width: none;
}

body[data-page="preise"] .quote-flow-intro h3 {
    color: var(--preise-price-text);
    font-size: clamp(1.6em, 3vw, 2.1em);
    margin: 0.3em 0 0.45em;
}

body[data-page="preise"] .quote-flow-intro p,
body[data-page="preise"] .pricing-extra-card p {
    color: var(--preise-price-muted);
    line-height: 1.65;
}

body[data-page="preise"] .quote-flow-intro-copy p {
    max-width: 46em;
}

body[data-page="preise"] .voucher-badge {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.6em 2em;
    border: 1px dashed var(--accent);
    background: var(--preise-price-bg-strong);
    border-radius: 4px;
}

body[data-page="preise"] .voucher-badge-amount {
    font-family: var(--font-brand);
    font-size: 2.5em;
    line-height: 1;
    color: var(--accent);
}

body[data-page="preise"] .voucher-badge-label {
    margin-top: 0.5em;
    font-size: 0.7em;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--preise-price-muted);
}

/* ── Walkthrough polish ───────────────────────────────────────────────── */
body[data-page="preise"] .step-title {
    font-family: var(--font-brand);
    font-size: clamp(1.4em, 2.4vw, 1.9em);
    color: var(--preise-price-text);
    margin-bottom: 1.25em;
}

body[data-page="preise"] .config-progress-step {
    font-weight: 600;
    transition: all 0.35s var(--easing);
}

body[data-page="preise"] .config-progress-step.active {
    box-shadow: inset 0 -2px 0 var(--accent);
}

/* ── Voucher reward (end of walkthrough) ──────────────────────────────── */
body[data-page="preise"] .voucher-reward {
    grid-column: 1 / -1;
    margin-top: 1.5em;
    text-align: center;
    padding: 2.75em 2em;
    border: 1px solid var(--preise-price-border-strong);
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(255, 77, 0, 0.13), transparent 70%),
        var(--preise-price-bg-strong);
}

body[data-page="preise"] .voucher-reward-kicker {
    color: var(--accent);
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.6em;
}

body[data-page="preise"] .voucher-reward-amount {
    font-family: var(--font-brand);
    font-size: 3.4em;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 0.45em;
}

body[data-page="preise"] .voucher-reward-lead {
    color: var(--preise-price-muted);
    line-height: 1.6;
    max-width: 34em;
    margin: 0 auto 1.5em;
}

body[data-page="preise"] .closing-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    margin-top: 0.5em;
}

body[data-page="preise"] .closing-cta .btn {
    min-width: 14em;
}

body[data-page="preise"] .closing-confirm {
    max-width: 34em;
    margin: 0.5em auto 0;
    padding: 1em 1.25em;
    border: 1px solid var(--preise-price-border-strong);
    background: rgba(255, 77, 0, 0.08);
    color: var(--preise-price-text);
    font-size: 0.95em;
    line-height: 1.55;
}

body[data-page="preise"] .voucher-reward-confirm {
    color: var(--preise-price-muted);
    font-size: 0.88em;
    line-height: 1.5;
    margin-top: 1.25em;
}

/* ── Savings breakdown: where the hours come from ─────────────────────── */
body[data-page="preise"] .savings-breakdown {
    margin-top: 1.5em;
    padding: 2em 2.25em;
    border: 1px solid var(--preise-price-border);
    background: var(--preise-price-bg);
}

body[data-page="preise"] .savings-breakdown-kicker {
    color: var(--accent);
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.6em;
}

body[data-page="preise"] .savings-breakdown-intro {
    color: var(--preise-price-muted);
    line-height: 1.6;
    max-width: 52em;
    margin-bottom: 1.75em;
}

body[data-page="preise"] .sb-row {
    display: grid;
    grid-template-columns: 1.7fr 1.1fr 0.8fr;
    gap: 1em;
    align-items: baseline;
    padding: 0.8em 0;
    border-top: 1px solid var(--preise-price-border);
}

body[data-page="preise"] .sb-head {
    border-top: 0;
    padding-top: 0;
    color: var(--preise-price-muted);
    font-size: 0.74em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

body[data-page="preise"] .sb-task {
    color: var(--preise-price-text);
}

body[data-page="preise"] .sb-today {
    color: var(--preise-price-muted);
}

body[data-page="preise"] .sb-coeus {
    color: var(--accent);
    font-weight: 600;
    text-align: right;
}

body[data-page="preise"] .sb-total {
    margin-top: 0.25em;
    border-top: 1px solid var(--preise-price-border-strong);
    font-weight: 700;
}

body[data-page="preise"] .sb-total span {
    color: var(--preise-price-text);
}

body[data-page="preise"] .sb-total .sb-coeus {
    color: var(--accent);
}

@media (max-width: 48em) {
    body[data-page="preise"] .savings-breakdown {
        padding: 1.5em 1.25em;
    }
    body[data-page="preise"] .sb-row {
        grid-template-columns: 1fr auto;
        column-gap: 1em;
        row-gap: 0.2em;
    }
    body[data-page="preise"] .sb-task {
        grid-column: 1 / -1;
        font-weight: 600;
    }
    body[data-page="preise"] .sb-head {
        display: none;
    }
}

body[data-page="preise"] .pricing-table-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5em;
}

body[data-page="preise"] .pricing-table-card,
body[data-page="preise"] .pricing-extra-card,
body[data-page="preise"] .selected-plan-summary {
    border: 1px solid var(--preise-price-border);
    background: rgba(0, 0, 0, 0.18);
}

body[data-page="preise"] .pricing-table-head {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    padding: 1.1em 1.25em;
    border-bottom: 1px solid var(--preise-price-border);
}

body[data-page="preise"] .pricing-table-head span,
body[data-page="preise"] .pricing-extra-card h4,
body[data-page="preise"] .addon-section-title {
    color: var(--preise-price-text);
    font-weight: 600;
}

body[data-page="preise"] .pricing-table-head small {
    color: var(--preise-price-muted);
    text-align: right;
}

body[data-page="preise"] .pricing-table-wrap {
    overflow-x: auto;
}

body[data-page="preise"] .pricing-table {
    width: 100%;
    min-width: 44em;
    border-collapse: collapse;
}

body[data-page="preise"] .pricing-table th,
body[data-page="preise"] .pricing-table td {
    padding: 1em 1.25em;
    border-bottom: 1px solid var(--preise-price-border);
    text-align: left;
    vertical-align: top;
}

body[data-page="preise"] .pricing-table th {
    color: var(--preise-price-muted);
    font-size: 0.76em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

body[data-page="preise"] .pricing-table td {
    color: var(--preise-price-text);
    font-size: 0.94em;
}

body[data-page="preise"] .pricing-table tbody tr:last-child td {
    border-bottom: 0;
}

body[data-page="preise"] .pricing-extra-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 1.5em;
    margin-top: 1.5em;
}

body[data-page="preise"] .pricing-extra-card {
    padding: 1.25em;
}

body[data-page="preise"] .pricing-extra-card h4 {
    margin-bottom: 1em;
}

body[data-page="preise"] .pricing-extra-card dl {
    margin: 0;
}

body[data-page="preise"] .pricing-extra-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    padding: 0.75em 0;
    border-bottom: 1px solid var(--preise-price-border);
}

body[data-page="preise"] .pricing-extra-card dl div:last-child {
    border-bottom: 0;
}

body[data-page="preise"] .pricing-extra-card dt {
    color: var(--preise-price-text);
}

body[data-page="preise"] .pricing-extra-card dd {
    margin: 0;
    color: var(--accent, #ff4d00);
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

body[data-page="preise"] .term-container {
    margin-top: 2em;
}

body[data-page="preise"] .term-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1em;
    margin-bottom: 1.5em;
}

body[data-page="preise"] .term-option {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    min-height: 9em;
    padding: 1.25em;
    border: 1px solid var(--preise-price-border);
    background: var(--preise-price-bg);
    color: var(--preise-price-text);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.25s var(--easing), background 0.25s var(--easing), transform 0.25s var(--easing);
}

body[data-page="preise"] .term-option:hover,
body[data-page="preise"] .term-option.selected {
    border-color: var(--preise-price-border-strong);
    background: var(--preise-price-bg-strong);
}

body[data-page="preise"] .term-option:hover {
    transform: translateY(-0.08em);
}

body[data-page="preise"] .term-option-label {
    font-weight: 700;
}

body[data-page="preise"] .term-option-price {
    color: var(--preise-price-muted);
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body[data-page="preise"] .term-option-commit {
    color: var(--preise-price-text);
    font-size: 0.85em;
    line-height: 1.45;
}

body[data-page="preise"] .term-option-effective {
    color: var(--preise-price-muted);
    font-size: 0.8em;
    line-height: 1.45;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Commitment explainer + Discovery Month (try-first) callout ────────── */
body[data-page="preise"] .term-explainer {
    color: var(--preise-price-muted);
    font-size: 0.92em;
    line-height: 1.6;
    max-width: 52em;
    margin: -0.5em 0 1.5em;
}

body[data-page="preise"] .discovery-callout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25em 2em;
    margin-bottom: 1.25em;
    padding: 1.5em 1.75em;
    border: 1px dashed var(--accent);
    background: var(--preise-price-bg-strong);
    border-radius: 4px;
}

body[data-page="preise"] .discovery-callout-body {
    flex: 1 1 24em;
}

body[data-page="preise"] .discovery-callout-eyebrow {
    display: block;
    color: var(--accent);
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.4em;
}

body[data-page="preise"] .discovery-callout-title {
    color: var(--preise-price-text);
    font-family: var(--font-brand);
    font-size: 1.4em;
    margin-bottom: 0.4em;
}

body[data-page="preise"] .discovery-callout-text {
    color: var(--preise-price-muted);
    font-size: 0.92em;
    line-height: 1.55;
    max-width: 40em;
}

body[data-page="preise"] .discovery-callout-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    flex-shrink: 0;
    cursor: pointer;
    color: var(--preise-price-text);
    font-size: 0.92em;
    font-weight: 600;
}

body[data-page="preise"] .selected-plan-summary {
    padding: 1.25em;
    margin-top: 1.25em;
}

body[data-page="preise"] .selected-plan-summary.compact {
    margin: 0 0 1.5em;
}

body[data-page="preise"] .summary-heading {
    color: var(--preise-price-text);
    font-weight: 700;
    margin-bottom: 0.25em;
}

body[data-page="preise"] .summary-meta {
    color: var(--preise-price-muted);
    margin-bottom: 1em;
}

body[data-page="preise"] .summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1em;
}

body[data-page="preise"] .summary-metric {
    padding: 0.85em;
    background: var(--preise-price-soft);
    border: 1px solid var(--preise-price-border);
}

body[data-page="preise"] .summary-metric span {
    display: block;
    color: var(--preise-price-muted);
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.45em;
}

body[data-page="preise"] .summary-metric strong {
    display: block;
    color: var(--preise-price-text);
    font-size: 0.95em;
    line-height: 1.35;
}

body[data-page="preise"] .pricing-start-nav {
    align-items: center;
}

body[data-page="preise"] .addon-section-title {
    margin-top: 2em;
    padding-top: 1.5em;
    border-top: 1px solid var(--preise-price-border);
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

body[data-page="preise"] .addon-checkbox {
    width: 1.35em;
    height: 1.35em;
    accent-color: var(--accent, #ff4d00);
}

body[data-page="preise"] .confirmation-desc-spaced {
    margin-top: 1.5em;
}

body[data-page="preise"] .form-helper {
    color: var(--preise-price-muted);
    font-size: 0.85em;
    line-height: 1.5;
    margin-top: 0.55em;
}

body[data-page="preise"] .quote-result {
    max-width: 72em;
    margin: 0 auto;
}

body[data-page="preise"] .quote-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5em;
    margin-top: 2.5em;
    text-align: left;
}

body[data-page="preise"] .quote-result-card {
    border: 1px solid var(--preise-price-border);
    background: var(--preise-price-bg);
    padding: 1.5em;
}

body[data-page="preise"] .quote-result-card-accent {
    border-color: var(--preise-price-border-strong);
    background: var(--preise-price-bg-strong);
}

body[data-page="preise"] .quote-result-kicker {
    color: var(--accent, #ff4d00);
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.8em;
}

body[data-page="preise"] .quote-result-title {
    color: var(--preise-price-text);
    font-size: 1.3em;
    margin-bottom: 0.6em;
}

body[data-page="preise"] .quote-result-value {
    color: var(--preise-price-text);
    font-family: var(--font-brand);
    font-size: 2.4em;
    line-height: 1.05;
    margin-bottom: 0.4em;
}

/* Ihr Preis: the amount you pay — larger and in the accent (orange) */
body[data-page="preise"] .quote-result-card:not(.quote-result-card-accent) .quote-result-value {
    color: var(--accent, #ff4d00);
    font-size: 3em;
}

/* Ihre Ersparnis: the amount you save — green to signal the gain */
body[data-page="preise"] .quote-result-card-accent .quote-result-value {
    color: var(--accent-success, #34C759);
}

body[data-page="preise"] .quote-result-help {
    color: var(--preise-price-muted);
    font-size: 0.92em;
    line-height: 1.5;
    margin-bottom: 1.25em;
    max-width: 30em;
}

body[data-page="preise"] .quote-result-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    padding: 0.85em 0;
    border-top: 1px solid var(--preise-price-border);
}

body[data-page="preise"] .quote-result-line-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    color: var(--preise-price-muted);
}

body[data-page="preise"] .quote-result-line strong {
    color: var(--preise-price-text);
    text-align: right;
    white-space: nowrap;
}

/* ── Info tooltip (explains each line) ─────────────────────────────────── */
body[data-page="preise"] .info-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3em;
    height: 1.3em;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--preise-price-border);
    color: var(--preise-price-muted);
    font-family: var(--font-ui);
    font-size: 0.78em;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    cursor: help;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

body[data-page="preise"] .info-tip:hover,
body[data-page="preise"] .info-tip:focus-visible {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(255, 77, 0, 0.08);
    outline: none;
}

body[data-page="preise"] .info-tip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 0.55em);
    left: 50%;
    transform: translateX(-50%) translateY(0.3em);
    width: max-content;
    max-width: 15em;
    padding: 0.7em 0.85em;
    background: #0b0b0b;
    border: 1px solid var(--accent);
    border-radius: 4px;
    color: var(--preise-price-text);
    font-family: var(--font-ui);
    font-size: 0.82em;
    font-style: normal;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    text-align: left;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--easing), transform 0.2s var(--easing);
    z-index: 50;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

body[data-page="preise"] .info-tip:hover::after,
body[data-page="preise"] .info-tip:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 64em) {
    body[data-page="preise"] .market-journey {
        grid-template-columns: 1fr;
        gap: 1.25em;
    }

    /* hide horizontal connectors when stacked */
    body[data-page="preise"] .market-beat + .market-beat::before,
    body[data-page="preise"] .market-beat + .market-beat::after {
        display: none;
    }

    body[data-page="preise"] .quote-flow-intro {
        grid-template-columns: 1fr;
        gap: 1.75em;
    }

    body[data-page="preise"] .voucher-badge {
        justify-self: start;
    }

    body[data-page="preise"] .pricing-extra-grid,
    body[data-page="preise"] .term-options,
    body[data-page="preise"] .summary-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="preise"] .pricing-table-head,
    body[data-page="preise"] .pricing-extra-card dl div {
        flex-direction: column;
    }

    body[data-page="preise"] .pricing-table-head small,
    body[data-page="preise"] .pricing-extra-card dd {
        text-align: left;
    }
}

@media (max-width: 48em) {
    body[data-page="preise"] .market-beat {
        padding: 1.75em 1.4em;
    }

    body[data-page="preise"] .market-beat-num {
        font-size: 4.5em;
    }

    body[data-page="preise"] .quote-flow-intro {
        padding: 1.5em;
    }

    body[data-page="preise"] .quote-flow-intro h3 {
        font-size: 1.6em;
    }

    body[data-page="preise"] .voucher-reward-amount {
        font-size: 2.6em;
    }

    body[data-page="preise"] .term-option {
        min-height: auto;
    }

    body[data-page="preise"] .quote-result-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="preise"] .quote-result-value {
        font-size: 1.8em;
    }

    body[data-page="preise"] .quote-result-card:not(.quote-result-card-accent) .quote-result-value {
        font-size: 2.2em;
    }

    body[data-page="preise"] .quote-result-line {
        flex-direction: column;
        gap: 0.35em;
    }

    body[data-page="preise"] .quote-result-line strong {
        text-align: left;
    }
}

/* ============================================================
   FAQ (tabbed + accordion + deep drawer) + Im Vergleich table
   Standalone dark page — uses page-local vars only.
   ============================================================ */

.faq-section { padding: 5rem 0; border-top: 1px solid var(--border-light); }

/* --- Audience group heading (Für Eigentümer / Für Dienstleister) --- */
.faq-group {
    font-family: var(--font-brand); color: var(--accent); font-size: 1.9rem;
    margin: 3.5rem 0 1.25rem; padding-top: 2rem; border-top: 1px solid var(--border-light);
}
.faq-cat {
    font-family: var(--font-brand); color: #fff; font-size: 1.5rem;
    margin: 2.5rem 0 1rem; padding-bottom: 0.4rem;
}
.faq-cat:first-child { margin-top: 0.5rem; }

/* --- Accordion item --- */
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    color: #fff; font-family: inherit; font-weight: 500; font-size: 1rem;
    padding: 1.1rem 2rem 1.1rem 0; position: relative;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-question:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-question::after {
    content: ""; flex: 0 0 auto; width: 0.6rem; height: 0.6rem;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform 0.3s ease;
}
.faq-question.is-open::after { transform: rotate(-135deg); }

.faq-answer {
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    color: #b0b0b0; line-height: 1.65; font-size: 0.95rem;
}
.faq-answer.is-open { max-height: 48em; opacity: 1; padding-bottom: 1.3rem; }
/* The one answer that holds the AI deep-dive must grow to fit the nested drawer
   (analogy + tech list + founder block) so its content is never clipped on mobile. */
.faq-answer:has(.faq-deep.is-open) { max-height: 360em; }
.faq-answer > p { margin: 0 0 0.8rem; }

/* --- Deep drawer ("Warum / Wie") --- */
.faq-deep-toggle {
    background: none; border: 1px solid var(--border-light); cursor: pointer;
    color: var(--accent); font-family: inherit; font-size: 0.85rem; font-weight: 500;
    padding: 0.4rem 0.9rem; border-radius: 999px; margin: 0.4rem 0 0.2rem;
    transition: background 0.2s, border-color 0.2s;
}
.faq-deep-toggle:hover { background: rgba(255,77,0,0.08); border-color: var(--accent); }
.faq-deep-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.faq-deep, .compare-drawer {
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.45s ease, opacity 0.45s ease;
}
.faq-deep.is-open, .compare-drawer.is-open { max-height: 200em; opacity: 1; }
.faq-deep { border-left: 2px solid var(--border-light); padding-left: 1.2rem; margin-top: 0.6rem; }
.faq-deep.is-open { padding-top: 0.4rem; padding-bottom: 0.6rem; }

.deep-kicker { color: #fff; font-weight: 500; }
.deep-list { margin: 0.4rem 0 0.8rem; padding-left: 1.1rem; }
.deep-list li { margin-bottom: 0.5rem; line-height: 1.6; }
.deep-founder { border-top: 1px solid var(--border-light); padding-top: 0.8rem; margin-top: 0.8rem; }
.deep-founder a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
.deep-founder a:hover { border-bottom-color: var(--accent); }

/* --- Im Vergleich --- */
.compare-section { padding: 5rem 0; border-top: 1px solid var(--border-light); }
.compare-lead { color: var(--text-muted); max-width: 46em; margin: 0.5rem 0 2.5rem; line-height: 1.6; }
.compare-table { border-top: 1px solid var(--border-light); }
.compare-head, .compare-row-main {
    display: grid; grid-template-columns: 1.1fr 1.4fr 1.4fr 1.5rem; gap: 1.5rem;
    align-items: center;
}
.compare-head {
    padding: 1rem 0; border-bottom: 1px solid var(--border-light);
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted);
}
.compare-head .compare-coeus { color: var(--accent); font-weight: 600; }
.compare-row { border-bottom: 1px solid var(--border-light); }
.compare-row-main {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    color: inherit; font-family: inherit; padding: 1.1rem 0;
}
.compare-row-main:hover { background: rgba(255,255,255,0.02); }
.compare-row-main:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.compare-cell { font-size: 0.95rem; line-height: 1.45; }
.compare-attr { color: #fff; font-weight: 500; }
.compare-coeus { color: #e8e8e8; }
.compare-other { color: var(--text-muted); }
.compare-chevron { width: 1.1rem; height: 1.1rem; color: var(--text-muted); transition: transform 0.3s ease; justify-self: end; }
.compare-row-main[aria-expanded="true"] .compare-chevron { transform: rotate(180deg); color: var(--accent); }
.compare-drawer > p, .compare-drawer .deep-kicker { margin: 0 0 0.8rem; }
.compare-drawer.is-open { padding: 0.2rem 0 1.3rem; }
.compare-drawer { color: #b0b0b0; line-height: 1.65; font-size: 0.95rem; }
.compare-footnote { color: #777; font-size: 0.75rem; margin-top: 1.5rem; }

/* --- Responsive: table → stacked cards (matches page's 1024px breakpoint) --- */
@media (max-width: 1024px) {
    .compare-head { display: none; }
    .compare-row-main {
        grid-template-columns: 1fr 1.5rem;
        grid-template-areas: "attr chev" "coeus chev" "other chev";
        gap: 0.35rem 1rem; padding: 1.2rem 0;
    }
    .compare-attr { grid-area: attr; font-size: 1.05rem; }
    .compare-coeus { grid-area: coeus; }
    .compare-coeus::before { content: "COEUS: "; color: var(--accent); font-weight: 600; }
    .compare-other { grid-area: other; }
    .compare-other::before { content: "Andere: "; color: var(--text-muted); }
    .compare-chevron { grid-area: chev; align-self: start; margin-top: 0.2rem; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    .faq-answer, .faq-deep, .compare-drawer, .faq-question::after, .compare-chevron { transition: none; }
}
