/* Basis-Wrapper – orientiert sich am hellen Stil deiner Seite */
.hw-pricing-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 20px 70px;
    color: #111827;
}

/* ---------- HERO ---------- */

.hw-hero-pricing {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 28px;
    padding: 26px 26px 24px;
    border-radius: 28px;
    background:
        radial-gradient(900px 380px at 0% 0%, rgba(59, 130, 246, 0.12), transparent 60%),
        radial-gradient(900px 380px at 100% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
        #f3f4f6;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
    align-items: center;
}

.hw-hero-pricing-left .hw-kicker {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 900;
    color: #6b7280;
    margin-bottom: 6px;
}

.hw-hero-pricing-left h1 {
    margin: 0 0 10px;
    font-size: 30px;
    letter-spacing: .08em;
    color: #111827;
}

.hw-hero-pricing-left .hw-sub {
    margin: 0 0 16px;
    max-width: 520px;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

/* kleine Hero-Tags */

.hwp-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hwp-hero-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.12);
    color: #111827;
}

/* rechte Hero-Karte */

.hwp-hero-card {
    border-radius: 22px;
    padding: 18px 18px 16px;
    background:
        radial-gradient(600px 320px at 0% 0%, rgba(56, 189, 248, 0.18), transparent 65%),
        #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #111827;
}

.hwp-hero-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.hwp-hero-chip {
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 10px;
    background: rgba(37, 99, 235, 0.10);
    border: 1px solid rgba(37, 99, 235, 0.65);
    color: #1d4ed8;
}

.hwp-hero-label {
    font-weight: 600;
    color: #374151;
}

.hwp-hero-main-big {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 4px;
    color: #111827;
}

.hwp-hero-main p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #4b5563;
}

.hwp-hero-footer {
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #4b5563;
}

/* ---------- GRID-BEREICH ---------- */

.hwp-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 26px;
}

/* Spalten */

.hwp-column-header {
    margin-bottom: 14px;
}

.hwp-column-header h2 {
    margin: 0 0 4px;
    font-size: 20px;
    color: #111827;
}

.hwp-column-header p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.hwp-column-header-small {
    margin-top: 26px;
}

/* ---------- Tarife (links) ---------- */

.hwp-tariff-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.hwp-tariff-card {
    padding: 16px 16px 14px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.10);
    box-shadow: 0 16px 40px rgba(15,23,42,0.10);
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
    color: #111827;
}

.hwp-tariff-card.is-highlight {
    border-color: rgba(37,99,235,0.55);
    box-shadow: 0 20px 55px rgba(37,99,235,0.30);
    background:
        radial-gradient(520px 260px at 0% 0%, rgba(56, 189, 248, 0.16), transparent 65%),
        #ffffff;
}

.hwp-tariff-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.hwp-tag {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(17,24,39,0.06);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #111827;
}

.hwp-tariff-card.is-highlight .hwp-tag {
    background: rgba(37,99,235,0.12);
    color: #1d4ed8;
}

.hwp-note {
    font-size: 11px;
    color: #6b7280;
}

.hwp-tariff-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #111827;
}

.hwp-tariff-sub {
    margin: 0;
    font-size: 13px;
    color: #4b5563;
}

.hwp-tariff-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.hwp-tariff-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 70%;
    font-size: 12px;
    color: #4b5563;
}

.hwp-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #0ea5e9;
}

.hwp-price {
    text-align: right;
}

.hwp-price-value {
    font-size: 20px;
    font-weight: 900;
    color: #111827;
}

.hwp-price-suffix {
    display: block;
    font-size: 11px;
    color: #6b7280;
}

/* ---------- Extras ---------- */

.hwp-extras-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.hwp-extra-card {
    border-radius: 16px;
    padding: 12px 14px 11px;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.10);
    box-shadow: 0 14px 34px rgba(15,23,42,0.10);
    font-size: 13px;
    color: #111827;
}

.hwp-extra-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.hwp-extra-top h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.hwp-extra-price {
    font-weight: 800;
    font-size: 13px;
    color: #1d4ed8;
}

.hwp-extra-card p {
    margin: 0;
    color: #4b5563;
}

/* ---------- Rechte Spalte / Infos ---------- */

.hwp-info-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.hwp-info-card {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.10);
    box-shadow: 0 14px 36px rgba(15,23,42,0.12);
    color: #111827;
}

.hwp-info-icon {
    min-width: 34px;
    min-height: 34px;
    border-radius: 999px;
    background: rgba(37,99,235,0.10);
    border: 1px solid rgba(37,99,235,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    color: #1d4ed8;
}

.hwp-info-body h3 {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.hwp-info-body p {
    margin: 0;
    font-size: 13px;
    color: #4b5563;
}

/* CTA-Box */

.hwp-cta-box {
    padding: 14px 16px 13px;
    border-radius: 20px;
    background:
        radial-gradient(480px 260px at 0% 0%, rgba(37,99,235,0.32), transparent 65%),
        #020617;
    color: #f9fafb;
    box-shadow: 0 22px 60px rgba(15,23,42,0.65);
}

.hwp-cta-box h3 {
    margin: 0 0 4px;
}

.hwp-cta-box p {
    margin: 0 0 10px;
    font-size: 13px;
}

.hwp-cta-note {
    margin: 6px 0 0;
    font-size: 11px;
    opacity: 0.85;
}

/* CTA-Buttons */
.hwp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 6px 0 4px;
}

.hwp-cta-box .hw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.hwp-cta-box .hwp-btn-offer {
    background: transparent;
    border: 1px solid rgba(249,250,251,0.8);
    color: #e5e7eb;
    font-weight: 600;
}

/* Erfolgsmeldung */
.hwp-alert-success {
    max-width: 1120px;
    margin: 0 auto 18px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-size: 13px;
}

/* Modal Grundlayout */
.hwp-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.hwp-modal.is-open {
    display: flex;
}

.hwp-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.55);
}

.hwp-modal-dialog {
    position: relative;
    background: #ffffff;
    color: #111827;
    border-radius: 20px;
    padding: 20px 22px 18px;
    max-width: 540px;
    width: 100%;
    box-shadow: 0 24px 70px rgba(15,23,42,0.35);
    z-index: 1;

    max-height: calc(100vh - 40px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.hwp-modal-dialog h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
}

.hwp-modal-intro {
    margin: 0 0 10px;
    font-size: 13px;
    color: #4b5563;
}

.hwp-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #9ca3af;
}

.hwp-modal-close:hover {
    color: #4b5563;
}

/* Formular-Felder im Modal */
.hwp-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px 12px;
    margin-top: 8px;
}

.hwp-field-full {
    grid-column: 1 / -1;
}

.hwp-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #374151;
}

.hwp-field input,
.hwp-field textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 7px 9px;
    font-size: 13px;
    color: #111827;
    background: #f9fafb;
}

.hwp-field input:focus,
.hwp-field textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
    background: #ffffff;
}

.hwp-modal-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.hwp-modal-submit {
    min-width: 150px;
}

.hwp-modal-cancel {
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 13px;
    cursor: pointer;
}

body.hwp-modal-open {
    overflow: hidden;
}

/* Checkbox-Label schön darstellen */
.hwp-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    margin-top: 6px;
    line-height: 1.45;
    cursor: pointer;
}

.hwp-consent-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid #9ca3af;
    background: #ffffff;
    cursor: pointer;
}

.hwp-consent-label input[type="checkbox"]:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}

.hwp-consent-label input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

/* Responsive */
@media (max-width: 980px) {
    .hw-hero-pricing {
        grid-template-columns: minmax(0, 1fr);
    }
    .hwp-grid {
        grid-template-columns: minmax(0,1fr);
    }
}

@media (max-width: 768px) {
    .hw-pricing-wrap {
        padding: 24px 14px 50px;
    }

    .hw-hero-pricing {
        padding: 18px 16px 16px;
    }

    .hwp-tariff-grid,
    .hwp-extras-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hwp-hero-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .hwp-modal-dialog {
        margin: 12px 12px;
        padding: 18px 16px 16px;
        max-height: calc(100vh - 24px);
    }

    .hwp-modal-grid {
        grid-template-columns: minmax(0,1fr);
    }
}
