﻿       (.sf-option, .sf-number, .step-title, .step-desc): auf der echten
       Seite bereits vorhanden, hier nur nachgebildet, damit die Optik
       identisch ist. */
    .step-title { font-size: 24px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
    .step-desc { color: #777; margin-bottom: 22px; font-size: 14px;}
    .sf-option {
        border: 1px solid #e5e5e5; border-radius: 14px; padding: 16px 18px; margin-bottom: 0;
        cursor: pointer; transition: .2s; background: #fff; min-height: 64px;
        display: flex; align-items: center; justify-content: center; text-align: center;
    }
    .sf-option:hover { border-color: #0d6efd; }
    .sf-option.active { border: 2px solid #1d4ed8; background: #f5f9ff; }
    .sf-number {
        display: inline-flex; width: 26px; height: 26px; border-radius: 8px; align-items: center;
        justify-content: center; background: #f2f2f2; margin-right: 10px; font-size: 12px; font-weight: 600;
        flex-shrink: 0;
    }
    .sf-progress-bar { height: 4px; background: #ececec; border-radius: 10px; overflow: hidden; margin: 4px 0 26px; }
    .sf-progress-bar span { display: block; height: 100%; background: #1d4ed8; }

    /* ---- Kalkulator-spezifisch (nicht schon durch stepform.css/Bootstrap abgedeckt) ---- */
    .kk-options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }

    .kk-modal .modal-dialog { max-width: 620px; }
    .kk-modal .modal-content { border-radius: 18px; border: none; }
    .kk-modal .modal-body { padding: 2rem 2.25rem; }
    .kk-modal .modal-header { border-bottom: 1px solid #eee; }
    .kk-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
    .kk-brand-badge {
        height: 30px; width: auto; display: block;
    }
    .kk-progress-text { display: flex; justify-content: space-between; font-size: 12px; color: #999; margin-bottom: 4px; }
#kkNextBtn {

    border: unset !important;
}
.sf-option.active::before {
    content: "✓";
    border: none;
    background: #1456b8;
    color: #fff;
    width: auto;
    height: auto;
    font-size: 18px;
    left: -3px;
    position: relative;
}
.sf-option.active {
    background: #1456b8;
    color: #fff;
    border-radius: 100px;
    padding: 8px 16px;
}
    /* Kompakte Beschäftigtenstruktur-Zeile: immer 3 Felder nebeneinander,
       ohne Spinner-Pfeile, nur Zahlen-Eingabe (siehe Script-Bereich). */
    .kk-employment-row { display: flex; gap: 10px; }
    .kk-employment-row .kk-field { flex: 1 1 0; min-width: 0; }
    .kk-employment-row label { font-size: 12.5px; color: #555; margin-bottom: 4px; display: block; }
    .kk-employment-row input.form-control {
        padding: 8px 10px; font-size: 15px; text-align: center;
    }
    /* Spinner-Pfeile bei number-Inputs entfernen (Chrome/Safari + Firefox) */
    input.kk-numeric-input::-webkit-outer-spin-button,
    input.kk-numeric-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
    input.kk-numeric-input { -moz-appearance: textfield; appearance: textfield; }

    .kk-result-card { text-align: center; padding: 6px 0; }
    .kk-result-badge { font-size: 13px; padding: 6px 14px; margin-bottom: 14px; }
    .kk-result-price { font-size: 38px; font-weight: 800; color: #0d1727; margin-bottom: 6px; }
    .kk-result-note { color: #777; font-size: 14px; margin-bottom: 18px; }
    .kk-result-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 20px; }
    .kk-result-tags .badge { font-weight: 500; font-size: 13px; padding: 8px 12px; }
    /* Tags im Ergebnis sind klickbar und führen zurück zum jeweiligen Schritt. */
    .kk-tag { cursor: pointer; transition: .15s; }
    .kk-tag:hover { background: #eef3fc !important; border-color: #0d6efd !important; color: #0d3d80 !important; }
    .kk-disclaimer {
        display: flex; align-items: flex-start; gap: 8px; text-align: left; background: #f7f9fc;
        border-radius: 10px; padding: 12px 14px; font-size: 13px; color: #666; margin-bottom: 12px;
    }
    .kk-disclaimer.kk-disclaimer-standorte {
        background: #ffe8cc; color: #9a3412; border-left: 4px solid #fb923c;
    }
    .kk-disclaimer.kk-disclaimer-standorte i { color: #f97316; }
    .kk-result-actions .btn { display: flex; align-items: center; justify-content: center; gap: 8px; }

    .kk-success-wrap { text-align: center; padding: 10px 0; }
    .kk-success-icon { font-size: 46px; color: #198754; margin-bottom: 12px; }

    .kk-back-btn { color: #666; text-decoration: none; display: flex; align-items: center; gap: 6px; }
    .kk-back-btn:disabled { visibility: hidden; }

    .btn-green { background: #114b9a; border-color: #114b9a; color: #fff; }
    .btn-green:hover { background: #0d3d80; border-color: #0d3d80; color: #fff; }

    /* Fehler-Hinweis: erscheint, wenn "Weiter" ohne Eingabe/Auswahl angeklickt wird. */
    .kk-invalid { border-color: #dc3545 !important; box-shadow: 0 0 0 3px rgba(220, 53, 69, .25) !important; }
    .kk-options-grid.kk-invalid {
        border: 2px solid #dc3545; border-radius: 14px; padding: 10px;
        box-shadow: 0 0 0 3px rgba(220, 53, 69, .15) !important;
    }