/* Automatisch erzeugt aus kostenkalkulator.html (bauen.py). Nicht von Hand ändern. */
:where(.kfg-wrap) *, :where(.kfg-wrap) *::before, :where(.kfg-wrap) *::after { box-sizing: border-box; margin: 0; padding: 0; }
.kfg-wrap {
      --surface:      #FFFFFF;
      --surface-2:    #F3F5F8;
      --border:       rgba(28,36,75,0.11);
      --border-md:    rgba(28,36,75,0.20);
      --border-input: rgba(28,36,75,0.22);
      --text:         #1C244B;
      --text-2:       #324A6D;
      --text-3:       #7d8ba4;
      --accent:       #1C244B;
      --accent-light: #E8F1F8;
      --accent-text:  #1C244B;
      --gold:         #7d6228;
      --gold-light:   #F6EEDB;
      --error-bg:     #fcebeb;
      --error-text:   #a32d2d;
      --radius:       10px;
      --radius-lg:    16px;
    }
.kfg-wrap, .kfg-wrap *:not(i):not(.fa):not([class*="icon"]) {
      font-family: 'Montserrat', sans-serif !important;
    }
.kfg-wrap { color: var(--text); font-weight: 300; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
#contact-overlay.kfg-wrap { padding: 1rem !important; }
.kfg-wrap { width: 100%; padding: 0; }
.kfg-wrap .kfg-header { display: none; }
.kfg-wrap .kfg-header .eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: #A18036; margin-bottom: 8px; }
.kfg-wrap .kfg-header h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(20px, 4vw, 30px); font-weight: 500; letter-spacing: -0.01em; color: var(--text); line-height: 1.3; margin-bottom: 8px; }
.kfg-wrap .kfg-header p { font-size: 14px; color: var(--text-2); line-height: 1.75; max-width: 600px; margin: 0 auto; }
.kfg-wrap .kfg-card { width: 100%; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 1.5rem 1.75rem 1.5rem; box-shadow: 0 18px 50px rgba(28,36,75,0.10); }
.kfg-wrap .progress-bar { display: flex; align-items: center; margin-bottom: 2rem; overflow: hidden; }
.kfg-wrap .prog-step { display: flex; align-items: center; gap: 5px; flex: 1; min-width: 0; }
.kfg-wrap .prog-circle { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border-md); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 500; color: var(--text-3); background: var(--surface); flex-shrink: 0; transition: all 0.25s; }
.kfg-wrap .prog-circle.active { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.kfg-wrap .prog-circle.done { border-color: var(--accent); background: var(--accent); color: #fff; }
.kfg-wrap .prog-label { font-size: 10px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s; }
.kfg-wrap .prog-label.active { color: var(--accent); font-weight: 500; }
.kfg-wrap .prog-label.done { color: var(--text-2); }
.kfg-wrap .prog-line { flex: 1; height: 1px; background: var(--border); margin: 0 4px; transition: background 0.3s; min-width: 6px; }
.kfg-wrap .prog-line.done { background: var(--accent); }
.kfg-wrap .step { display: none; }
.kfg-wrap .step.active { display: block; animation: fadeUp 0.3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.kfg-wrap .step-label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #A18036; margin-bottom: 5px; }
.kfg-wrap .step-title { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 300; letter-spacing: -0.01em; color: var(--text); margin-bottom: 1.5rem; line-height: 1.4; }
.kfg-wrap .option-grid { display: grid; gap: 10px; margin-bottom: 1.75rem; }
.kfg-wrap .grid-3 { grid-template-columns: repeat(3, 1fr); }
.kfg-wrap .grid-2 { grid-template-columns: repeat(2, 1fr); }
.kfg-wrap .grid-auto { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.kfg-wrap .grid-list { grid-template-columns: 1fr 1fr; }
.kfg-wrap .option-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; user-select: none; transition: border-color 0.18s, background 0.18s, transform 0.15s; position: relative; }
.kfg-wrap .option-card:hover { border-color: var(--border-md); background: var(--surface-2); transform: translateY(-1px); }
.kfg-wrap .option-card.selected { border: 1.5px solid var(--accent); background: var(--accent-light); }
.kfg-wrap .option-card.selected::after { content: '✓'; position: absolute; top: 10px; right: 12px; font-size: 12px; color: var(--accent); font-weight: 600; }
.kfg-wrap .option-card.paket { padding: 1.3rem 1.2rem 1.2rem; display: flex; flex-direction: column; }
.kfg-wrap .paket .card-icon { font-size: 26px; margin-bottom: 9px; }
.kfg-wrap .paket .card-name { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 400; color: var(--text); margin-bottom: 6px; line-height: 1.3; }
.kfg-wrap .paket .card-desc { font-size: 11.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 10px; }
.kfg-wrap .paket .card-includes { list-style: none; margin-bottom: 12px; }
.kfg-wrap .paket .card-includes li { font-size: 11px; color: var(--text-2); padding: 3px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 5px; }
.kfg-wrap .paket .card-includes li:last-child { border-bottom: none; }
.kfg-wrap .paket .card-includes li::before { content: '·'; color: var(--accent); font-size: 18px; line-height: 0; margin-top: 1px; flex-shrink: 0; }
.kfg-wrap .paket .card-price { font-size: 15px; font-weight: 500; color: var(--accent); margin-top: auto; padding-top: 9px; border-top: 1px solid var(--border); }
.kfg-wrap .paket .card-price span { font-size: 11px; font-weight: 400; color: var(--text-3); display: block; margin-top: 2px; }
.kfg-wrap .option-card.standard { padding: 1rem 1rem 0.9rem; }
.kfg-wrap .standard .option-icon { font-size: 20px; margin-bottom: 6px; display: block; }
.kfg-wrap .standard .option-name { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 3px; }
.kfg-wrap .standard .option-desc { font-size: 11px; color: var(--text-2); line-height: 1.5; margin-bottom: 7px; }
.kfg-wrap .standard .option-price { font-size: 13px; font-weight: 500; color: var(--accent); }
.kfg-wrap .option-card.list { padding: 0.85rem 1.1rem; display: flex; align-items: center; gap: 12px; }
.kfg-wrap .list .list-icon { font-size: 20px; flex-shrink: 0; }
.kfg-wrap .kfg-ico { width: 1em; height: 1em; fill: none; stroke: #A18036; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.125em; }
.kfg-wrap .list .list-body { flex: 1; min-width: 0; }
.kfg-wrap .list .list-name { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.kfg-wrap .list .list-desc { font-size: 11px; color: var(--text-2); line-height: 1.4; }
.kfg-wrap .list .list-price { font-size: 13px; font-weight: 500; color: var(--accent); flex-shrink: 0; white-space: nowrap; }
.kfg-wrap .option-card.check { padding: 0.85rem 1.1rem; display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.kfg-wrap .check-box { width: 18px; height: 18px; border: 1.5px solid var(--border-md); border-radius: 4px; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.kfg-wrap .option-card.check.selected .check-box { background: var(--accent); border-color: var(--accent); }
.kfg-wrap .option-card.check.selected .check-box::after { content: '✓'; font-size: 11px; color: #fff; font-weight: 600; }
.kfg-wrap .option-card.check.selected::after { display: none; }
.kfg-wrap .check-body { flex: 1; }
.kfg-wrap .check-name { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.kfg-wrap .check-desc { font-size: 11px; color: var(--text-2); line-height: 1.4; }
.kfg-wrap .check-price { font-size: 13px; font-weight: 500; color: var(--accent); flex-shrink: 0; white-space: nowrap; margin-top: 1px; }
.kfg-wrap .section-heading { font-size: 12px; font-weight: 500; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.08em; margin: 1.25rem 0 0.6rem; }
.kfg-wrap .section-heading:first-of-type { margin-top: 0; }
.kfg-wrap .radio-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1rem; }
.kfg-wrap #trauerort-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kfg-wrap .radio-item { display: flex; align-items: flex-start; gap: 10px; padding: 0.8rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.kfg-wrap .radio-item:hover { border-color: var(--border-md); background: var(--surface-2); }
.kfg-wrap .radio-item.selected { border: 1.5px solid var(--accent); background: var(--accent-light); }
.kfg-wrap .radio-dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--border-md); flex-shrink: 0; margin-top: 2px; transition: all 0.15s; display: flex; align-items: center; justify-content: center; }
.kfg-wrap .radio-item.selected .radio-dot { border-color: var(--accent); background: var(--accent); }
.kfg-wrap .radio-item.selected .radio-dot::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.kfg-wrap .radio-text { font-size: 13px; color: var(--text); line-height: 1.4; }
.kfg-wrap .radio-text small { display: block; font-size: 11px; color: var(--text-2); margin-top: 2px; }
.kfg-wrap .kfg-input { width: 100%; padding: 10px 12px; font-size: 13px; font-family: 'Montserrat', sans-serif; color: var(--text); border: 1px solid var(--border-md); border-radius: var(--radius); background: var(--surface); margin-top: 8px; transition: border-color 0.15s; }
.kfg-wrap .kfg-input:focus { outline: none; border-color: var(--accent); }
.kfg-wrap .kfg-textarea { width: 100%; padding: 10px 12px; font-size: 13px; font-family: 'Montserrat', sans-serif; color: var(--text); border: 1px solid var(--border-md); border-radius: var(--radius); background: var(--surface); min-height: 90px; resize: vertical; margin-top: 4px; transition: border-color 0.15s; }
.kfg-wrap .kfg-textarea:focus { outline: none; border-color: var(--accent); }
.kfg-wrap .input-label { font-size: 12px; color: var(--text-2); margin-bottom: 4px; display: block; }
.kfg-wrap .input-wrap { margin-bottom: 1rem; }
.kfg-wrap .conditional { display: none; margin-top: 8px; padding: 12px; background: var(--surface-2); border-radius: var(--radius); border: 1px solid var(--border); }
.kfg-wrap .conditional.visible { display: block; }
.kfg-wrap .btn-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 0.25rem; }
.kfg-wrap .btn-next { background: var(--accent); color: #fff; border: none; border-radius: var(--radius); padding: 11px 28px; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: 500; cursor: pointer; transition: opacity 0.15s, transform 0.12s; }
.kfg-wrap .btn-next:hover { opacity: 0.88; transform: translateY(-1px); }
.kfg-wrap .btn-next:active { transform: scale(0.98); }
.kfg-wrap .btn-next:disabled { opacity: 0.3; cursor: default; transform: none; }
.kfg-wrap .btn-back { background: transparent; color: var(--text-2); border: 1px solid var(--border-md); border-radius: var(--radius); padding: 11px 20px; font-size: 14px; font-family: 'Montserrat', sans-serif; cursor: pointer; transition: background 0.15s; }
.kfg-wrap .btn-back:hover { background: var(--surface-2); }
.kfg-wrap .btn-skip { background: transparent; color: var(--text-3); border: none; font-size: 13px; font-family: 'Montserrat', sans-serif; cursor: pointer; padding: 11px 8px; }
.kfg-wrap .btn-skip:hover { color: var(--text-2); }
.kfg-wrap .btn-pdf { background: var(--gold-light); color: var(--gold); border: 1px solid rgba(161,128,54,0.25); border-radius: var(--radius); padding: 11px 18px; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: 500; cursor: pointer; transition: opacity 0.15s; margin-left: auto; }
.kfg-wrap .btn-pdf:hover { opacity: 0.8; }
.kfg-wrap .btn-vertrag { background: var(--surface); color: var(--gold); border: 1px solid rgba(161,128,54,0.45); border-radius: var(--radius); padding: 11px 18px; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: 500; cursor: pointer; transition: opacity 0.15s; }
.kfg-wrap .btn-vertrag:hover { opacity: 0.8; }
.kfg-wrap .btn-mail { background: var(--accent-light); color: var(--accent-text); border: 1px solid rgba(28,36,75,0.22); border-radius: var(--radius); padding: 11px 18px; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: 500; cursor: pointer; transition: opacity 0.15s; }
.kfg-wrap .btn-mail:hover { opacity: 0.8; }
.kfg-wrap .btn-next, .kfg-wrap .btn-back, .kfg-wrap .btn-pdf, .kfg-wrap .btn-vertrag, .kfg-wrap .btn-mail { min-height: 44px; }
.kfg-wrap .paket .card-desc, .kfg-wrap .paket .card-includes li, .kfg-wrap .standard .option-desc, .kfg-wrap .list .list-desc, .kfg-wrap .check-desc, .kfg-wrap .radio-text small, .kfg-wrap .notice, .kfg-wrap .input-label, .kfg-wrap .modal-error, .kfg-wrap .kfg-text-klein { font-size: 13px; line-height: 1.55; }
.kfg-wrap .paket .card-price span { font-size: 12px; }
.kfg-wrap .paket .card-includes li { align-items: baseline; }
.kfg-wrap .paket .card-includes li::before { line-height: 1; margin-top: 0; }
@media (max-width: 640px) {
.kfg-wrap .paket .card-desc, .kfg-wrap .paket .card-includes li, .kfg-wrap .standard .option-desc, .kfg-wrap .list .list-desc, .kfg-wrap .check-desc, .kfg-wrap .radio-text small, .kfg-wrap .notice, .kfg-wrap .input-label, .kfg-wrap .modal-error, .kfg-wrap .kfg-text-klein { font-size: 15px; }
.kfg-wrap .paket .card-name, .kfg-wrap .standard .option-name, .kfg-wrap .list .list-name, .kfg-wrap .check-name { font-size: 16px; }
.kfg-wrap .paket .card-price span { font-size: 13px; }
}
.kfg-wrap .summary-card { background: var(--surface-2); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; }
.kfg-wrap .summary-section { margin-bottom: 1rem; }
.kfg-wrap .summary-section-title { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 6px; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
.kfg-wrap .summary-row { display: flex; justify-content: space-between; align-items: baseline; padding: 5px 0; font-size: 13px; }
.kfg-wrap .summary-row .lbl { color: var(--text-2); }
.kfg-wrap .summary-row .val { font-weight: 500; color: var(--text); text-align: right; max-width: 60%; }
.kfg-wrap .total-block { border-top: 1.5px solid var(--border-md); margin-top: 10px; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.kfg-wrap .total-label { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 300; color: var(--text); }
.kfg-wrap .total-val { font-family: 'Montserrat', sans-serif; font-size: 26px; font-weight: 300; letter-spacing: -0.02em; color: var(--accent); }
.kfg-wrap .notice { font-size: 12px; color: var(--text-3); line-height: 1.65; margin-bottom: 1.5rem; padding: 10px 14px; border-left: 3px solid var(--border-md); background: var(--surface-2); border-radius: 0 var(--radius) var(--radius) 0; }
.kfg-wrap .modal-close-btn { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-3); line-height: 1; }
.kfg-wrap .modal-input { width: 100%; padding: 10px 12px; font-size: 13px; font-family: 'Montserrat', sans-serif; color: var(--text); border: 1px solid var(--border-input); border-radius: var(--radius); background: #fff; outline: none; transition: border-color 0.15s; }
.kfg-wrap .modal-input:focus { border-color: var(--accent); }
.kfg-wrap .modal-error { display: none; font-size: 12px; color: var(--error-text); background: var(--error-bg); padding: 8px 12px; border-radius: 8px; margin-bottom: 12px; }
@media (max-width: 700px) {
.kfg-wrap .grid-3 { grid-template-columns: 1fr; }
.kfg-wrap .grid-2 { grid-template-columns: 1fr; }
.kfg-wrap .grid-list { grid-template-columns: 1fr; }
.kfg-wrap #trauerort-group { grid-template-columns: 1fr; }
.kfg-wrap .grid-auto { grid-template-columns: 1fr 1fr; }
.kfg-wrap .kfg-card { padding: 1.1rem 1rem; border-radius: 10px; }
.kfg-wrap .btn-pdf, .kfg-wrap .btn-vertrag, .kfg-wrap .btn-mail { margin-left: 0; }
}
@media (max-width: 480px) {
.kfg-wrap { padding: 1rem 0 2rem; }
.kfg-wrap .kfg-header { padding: 0 0.75rem; }
.kfg-wrap .kfg-card { border-radius: 0; border-left: none; border-right: none; padding: 1rem 0.85rem; }
.kfg-wrap .prog-label { font-size: 9px; }
.kfg-wrap .grid-auto { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
.kfg-wrap .prog-label { display: none; }
.kfg-wrap .grid-auto { grid-template-columns: 1fr; }
}
