.sofort-cost-hero::before {
    border-style: dashed;
}

.sofort-cost-hero .sofort-hero__copy h1 {
    font-size: clamp(2.5rem, 4.2vw, 4.2rem);
}

.cost-definition-grid,
.cost-metric-grid,
.cost-factor-grid,
.cost-stop-grid {
    display: grid;
    gap: 18px;
    margin: 30px 0;
}

.cost-definition-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cost-definition-grid article,
.cost-factor-grid article,
.cost-stop-grid article {
    min-width: 0;
    padding: clamp(24px, 3.5vw, 32px);
    border: 1px solid var(--site-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 59, 82, .07);
}

.cost-definition-grid article:nth-child(2) {
    border-color: #dce5bb;
    background: #f7f9eb;
}

.cost-definition-grid article:nth-child(3) {
    background:
        radial-gradient(circle at 100% 0%, rgba(2, 81, 112, .08), transparent 13rem),
        #fff;
}

.cost-definition-grid span,
.cost-factor-grid span {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--campaign-petrol);
    background: #eaf1f3;
    font-size: .74rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cost-definition-grid h3,
.cost-factor-grid h3,
.cost-stop-grid h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
}

.cost-definition-grid p,
.cost-factor-grid p,
.cost-stop-grid p {
    margin: 0;
}

.cost-comparison-section {
    overflow: hidden;
}

.cost-tool {
    margin: 32px 0 0;
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--campaign-shadow);
}

.cost-tool__controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: clamp(24px, 4vw, 38px);
    background:
        radial-gradient(circle at 100% 0%, rgba(158, 183, 28, .12), transparent 20rem),
        #f4f7f8;
}

.cost-tool__shared,
.cost-offer {
    min-width: 0;
    padding: 22px;
    border: 1px solid #d9e2e6;
    border-radius: 16px;
    background: #fff;
}

.cost-tool label {
    display: flex;
    margin-bottom: 14px;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    color: var(--campaign-ink);
    font-weight: 800;
}

.cost-tool output {
    color: var(--campaign-petrol);
    font-family: var(--site-heading-font);
    font-size: 1.12rem;
    font-weight: 850;
    white-space: nowrap;
}

.cost-tool input[type="range"] {
    width: 100%;
    accent-color: var(--campaign-green);
}

.cost-tool__shared > div {
    display: flex;
    margin-top: 7px;
    justify-content: space-between;
    color: var(--campaign-muted);
    font-size: .72rem;
}

.cost-offer > p {
    display: inline-flex;
    margin: 0 0 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    background: var(--campaign-petrol);
    font-size: .76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.cost-offer--b > p {
    color: var(--campaign-petrol-dark);
    background: #dceaa3;
}

.cost-tool__results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: clamp(24px, 4vw, 38px);
    color: #fff;
    background:
        radial-gradient(circle at 100% 0%, rgba(198, 211, 111, .17), transparent 18rem),
        var(--campaign-petrol-dark);
}

.cost-result {
    min-width: 0;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .07);
}

.cost-result > span,
.cost-result > strong,
.cost-result > small {
    display: block;
}

.cost-result > span {
    color: #dceaa3;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.cost-result > strong {
    margin-top: 8px;
    color: #fff;
    font-family: var(--site-heading-font);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.cost-result > small {
    margin-top: 6px;
    color: rgba(255, 255, 255, .72);
}

.cost-result dl {
    display: grid;
    gap: 9px;
    margin: 22px 0 0;
}

.cost-result dl div {
    display: flex;
    padding-top: 9px;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.cost-result dt,
.cost-result dd {
    color: #fff;
}

.cost-result dd {
    margin: 0;
    font-weight: 850;
}

.cost-tool__difference {
    grid-column: 1 / -1;
    padding: 24px 26px;
    border-radius: 18px;
    color: var(--campaign-ink);
    background: #f2f7d9;
}

.cost-tool__difference span,
.cost-tool__difference strong {
    display: block;
}

.cost-tool__difference span {
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cost-tool__difference strong {
    margin: 4px 0 7px;
    color: var(--campaign-green-dark);
    font-family: var(--site-heading-font);
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
}

.cost-tool__difference p {
    margin: 0;
}

.cost-tool__note {
    margin: 0;
    padding: 18px clamp(24px, 4vw, 38px);
    color: var(--campaign-muted);
    background: #fff;
    font-size: .8rem;
    line-height: 1.55;
}

.cost-metric-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cost-metric-grid article {
    min-width: 0;
    padding: 24px 20px;
    border: 1px solid var(--site-border);
    border-radius: 18px;
    background: #fff;
}

.cost-metric-grid strong {
    display: grid;
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--campaign-petrol);
    font-family: var(--site-heading-font);
}

.cost-metric-grid article:nth-child(even) strong {
    background: var(--campaign-green);
}

.cost-metric-grid h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
}

.cost-metric-grid p {
    margin: 0;
    font-size: .91rem;
}

.cost-rate-note {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 20px;
    padding: 24px;
    align-items: center;
    border: 1px solid #dce5bb;
    border-radius: 18px;
    background: #f7f9eb;
}

.cost-rate-note > div {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--campaign-green);
    font-family: var(--site-heading-font);
    font-size: 1.8rem;
    font-weight: 850;
}

.cost-rate-note p {
    margin: 0;
}

.cost-factor-grid,
.cost-stop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cost-factor-grid article:nth-child(2),
.cost-factor-grid article:nth-child(3) {
    background: #f4f7f8;
}

.cost-stop-grid article {
    border-color: #ecd6b5;
    background: #fffaf2;
}

.cost-stop-grid span {
    display: inline-flex;
    margin-bottom: 13px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #8a4610;
    background: #f5dfc7;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

@media (max-width: 1199.98px) {
    .cost-metric-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .cost-definition-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .sofort-cost-hero .sofort-hero__copy h1 {
        font-size: clamp(2.2rem, 10.5vw, 3.15rem);
    }

    .cost-tool__controls,
    .cost-tool__results,
    .cost-metric-grid,
    .cost-factor-grid,
    .cost-stop-grid {
        grid-template-columns: 1fr;
    }

    .cost-tool__difference {
        grid-column: auto;
    }

    .cost-tool__controls,
    .cost-tool__results {
        padding: 20px 16px;
    }

    .cost-tool__shared,
    .cost-offer,
    .cost-result {
        padding: 20px 18px;
    }

    .cost-tool label {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .cost-rate-note {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 14px;
        padding: 20px 18px;
    }

    .cost-rate-note > div {
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
    }
}
