/* Dienstleistungsrechner v3.0 — Starke Selektoren gegen Theme-Konflikte */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&display=swap');

#dlr-wrap { font-family: 'DM Sans', sans-serif; color: #1a1a1a; max-width: 100%; }
#dlr-wrap * { box-sizing: border-box; }

/* ===== TABS ===== */
#dlr-wrap .dlr-tabs { display: flex; overflow-x: auto; background: #fff; border-bottom: 1px solid #ddd; scrollbar-width: none; flex-wrap: wrap; }
#dlr-wrap .dlr-tabs::-webkit-scrollbar { display: none; }
#dlr-wrap .dlr-tab { flex-shrink: 0; padding: 11px 16px; font-size: 13px; font-weight: 500; cursor: pointer; color: #888; border: none; background: none; border-bottom: 2px solid transparent; font-family: inherit; transition: all .15s; white-space: nowrap; }
#dlr-wrap .dlr-tab.active { color: #1a1a1a; border-bottom-color: #1a1a1a; }

/* ===== LAYOUT ===== */
#dlr-wrap .dlr-body { padding: 1.25rem; max-width: 680px; margin: 0 auto; }
#dlr-wrap .dlr-panel { display: none; }
#dlr-wrap .dlr-panel.active { display: block; }

/* ===== CARDS ===== */
#dlr-wrap .dlr-card { background: #fff; border: 1px solid #ddd; border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 12px; }
#dlr-wrap .dlr-step-lbl { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #aaa; margin-bottom: 8px; }
#dlr-wrap .dlr-card h3 { font-size: 15px; font-weight: 500; margin: 0 0 14px; color: #1a1a1a; }
#dlr-wrap .dlr-hint { font-size: 13px; color: #888; margin: -8px 0 12px; }

/* ===== CHIPS (Schritt 1) ===== */
#dlr-wrap .dlr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
#dlr-wrap .dlr-chip { border: 1px solid #ddd; border-radius: 999px; padding: 7px 16px; font-size: 13px; cursor: pointer; background: #fafafa; color: #444444 !important; font-family: inherit; transition: all .15s; }
#dlr-wrap .dlr-chip.active { background: #1a1a1a; color: #ffffff !important; border-color: #1a1a1a; }
#dlr-wrap .dlr-chip:hover:not(.active) { border-color: #999; }

/* ===== HÄUFIGKEIT (Schritt 2) ===== */
#dlr-wrap .dlr-opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#dlr-wrap .dlr-opt { border: 1px solid #ddd; border-radius: 10px; padding: 12px 14px; cursor: pointer; background: #fafafa; font-family: inherit; text-align: left; transition: all .15s; display: flex; flex-direction: column; gap: 3px; color: #1a1a1a !important; }
#dlr-wrap .dlr-opt.active { border-color: #1a1a1a; background: #f5f5f5; }
#dlr-wrap .dlr-opt:hover:not(.active) { border-color: #aaa; }
#dlr-wrap .dlr-opt-name { font-size: 13px !important; font-weight: 500 !important; color: #1a1a1a !important; }
#dlr-wrap .dlr-opt * { color: #1a1a1a !important; }
#dlr-wrap .dlr-opt.active .dlr-opt-name { color: #1a1a1a !important; }
#dlr-wrap .dlr-opt.active .dlr-opt-desc { color: #666666 !important; }
#dlr-wrap .dlr-opt-desc { font-size: 12px !important; color: #888888 !important; }
#dlr-wrap .dlr-badge { display: inline-block; background: #e8f5e9; color: #2e7d32 !important; font-size: 11px !important; padding: 1px 7px; border-radius: 999px; margin-left: 4px; }

/* ===== SCHIEBEREGLER (Schritt 3) ===== */
#dlr-wrap .dlr-sl-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
#dlr-wrap .dlr-sl-row:last-child { margin-bottom: 0; }
#dlr-wrap .dlr-sl-row label { font-size: 13px !important; color: #555555 !important; min-width: 120px; }
#dlr-wrap .dlr-sl-row input[type=range] { flex: 1; }
#dlr-wrap .dlr-sv { font-size: 14px !important; font-weight: 500 !important; color: #1a1a1a !important; min-width: 65px; text-align: right; }

/* ===== PLZ / ANFAHRT (Schritt 4) ===== */
#dlr-wrap .dlr-plz { width: 100%; padding: 10px 14px; font-size: 14px; font-family: inherit; border: 1px solid #ddd; border-radius: 10px; background: #fafafa; outline: none; transition: border-color .15s; color: #1a1a1a !important; }
#dlr-wrap .dlr-plz:focus { border-color: #1a1a1a; background: #fff; }
#dlr-wrap .dlr-plz.ok  { border-color: #2e7d32; background: #f8fff8; }
#dlr-wrap .dlr-plz.err { border-color: #c0392b; background: #fff8f8; }
#dlr-wrap .dlr-zone-info { display: none; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 14px; border-radius: 10px; font-size: 13px; }
#dlr-wrap .dlr-zone-info.show { display: flex; }
#dlr-wrap .dlr-zone-info.z-wien   { background: #e8f5e9; color: #1b5e20 !important; border: 1px solid #a5d6a7; }
#dlr-wrap .dlr-zone-info.z-umland { background: #fff8e1; color: #e65100 !important; border: 1px solid #ffcc80; }
#dlr-wrap .dlr-zone-info.z-weit   { background: #fce4ec; color: #880e4f !important; border: 1px solid #f48fb1; }
#dlr-wrap .dlr-zone-info.z-unk    { background: #f5f5f5; color: #666666 !important; border: 1px solid #ddd; }
#dlr-wrap .dlr-zdot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* ===== EXTRAS (Schritt 5) ===== */
#dlr-wrap .dlr-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#dlr-wrap .dlr-extra { border: 1px solid #ddd; border-radius: 10px; padding: 10px 14px; cursor: pointer; background: #fafafa; display: flex; align-items: center; gap: 10px; font-family: inherit; transition: all .15s; text-align: left; }
#dlr-wrap .dlr-extra.active { border-color: #1a1a1a; background: #f5f5f5; }
#dlr-wrap .dlr-extra:hover:not(.active) { border-color: #aaa; }
#dlr-wrap .dlr-ck { width: 16px; height: 16px; border: 1.5px solid #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; color: transparent; }
#dlr-wrap .dlr-extra.active .dlr-ck { background: #1a1a1a; border-color: #1a1a1a; color: #fff !important; }
#dlr-wrap .dlr-ex-name { font-size: 13px !important; font-weight: 500 !important; color: #1a1a1a !important; flex: 1; }
#dlr-wrap .dlr-ex-price { font-size: 12px !important; color: #888888 !important; white-space: nowrap; }

/* ===== ANGEBOT BOX ===== */
#dlr-wrap .dlr-angebot { background: #1a1a1a; color: #ffffff; border-radius: 12px; padding: 1.5rem; margin-top: 8px; }
#dlr-wrap .dlr-angebot h3 { font-size: 18px !important; font-weight: 500 !important; margin: 0 0 16px; color: #ffffff !important; }
#dlr-wrap .dlr-sec-lbl { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35) !important; padding: 8px 0 4px; margin-top: 4px; }
#dlr-wrap .dlr-ang-row { display: flex; justify-content: space-between; font-size: 13px !important; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.75) !important; gap: 8px; }
#dlr-wrap .dlr-ang-row.hi { color: #ffd54f !important; }
#dlr-wrap .dlr-ang-row:last-of-type { border-bottom: none; }
#dlr-wrap .dlr-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); }
#dlr-wrap .dlr-total-row span:first-child { font-size: 13px !important; color: rgba(255,255,255,.6) !important; }
#dlr-wrap .dlr-total-price { font-size: 30px !important; font-weight: 500 !important; color: #ffffff !important; }
#dlr-wrap .dlr-angebot-btns { display: flex; gap: 8px; margin-top: 14px; }
#dlr-wrap .dlr-anfragen-btn { flex: 1; background: #fff; color: #1a1a1a !important; border: none; border-radius: 8px; padding: 12px; font-size: 13px !important; font-weight: 500; cursor: pointer; font-family: inherit; }
#dlr-wrap .dlr-anfragen-btn:hover { background: #f0f0f0; }
#dlr-wrap .dlr-print-btn { background: transparent; color: rgba(255,255,255,.7) !important; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 12px 16px; font-size: 13px; cursor: pointer; font-family: inherit; }

/* ===== KONTAKTFORMULAR ===== */
#dlr-wrap .dlr-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 99999; align-items: center; justify-content: center; padding: 16px; }
#dlr-wrap .dlr-modal { background: #fff; border-radius: 16px; padding: 1.75rem; width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
#dlr-wrap .dlr-modal-close { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border: none; background: #f0f0f0; border-radius: 50%; cursor: pointer; font-size: 14px; color: #666 !important; display: flex; align-items: center; justify-content: center; }
#dlr-wrap .dlr-modal h3 { font-size: 20px !important; font-weight: 500 !important; margin: 0 0 4px; color: #1a1a1a !important; }
#dlr-wrap .dlr-modal-sub { font-size: 13px !important; color: #888888 !important; margin: 0 0 18px; }
#dlr-wrap .dlr-summary-box { background: #f7f7f7; border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; }
#dlr-wrap .dlr-sum-label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #aaaaaa !important; margin-bottom: 6px; }
#dlr-wrap .dlr-sum-price { font-size: 22px !important; font-weight: 500 !important; color: #1a1a1a !important; margin-bottom: 4px; }
#dlr-wrap .dlr-sum-detail { font-size: 12px !important; color: #888888 !important; line-height: 1.5; }
#dlr-wrap .dlr-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
#dlr-wrap .dlr-form-field { margin-bottom: 10px; }
#dlr-wrap .dlr-form-field label { display: block; font-size: 12px !important; font-weight: 500 !important; color: #555555 !important; margin-bottom: 5px; }
#dlr-wrap .dlr-form-field input,
#dlr-wrap .dlr-form-field textarea { width: 100%; padding: 10px 14px; font-size: 14px !important; font-family: inherit; border: 1px solid #ddd; border-radius: 10px; background: #fafafa; outline: none; transition: border-color .15s; color: #1a1a1a !important; }
#dlr-wrap .dlr-form-field input:focus,
#dlr-wrap .dlr-form-field textarea:focus { border-color: #1a1a1a; background: #fff; }
#dlr-wrap .dlr-form-field input.err,
#dlr-wrap .dlr-form-field textarea.err { border-color: #c0392b; background: #fff8f8; }
#dlr-wrap .dlr-form-field textarea { resize: vertical; min-height: 80px; }
#dlr-wrap .dlr-send-btn { width: 100%; background: #1a1a1a; color: #ffffff !important; border: none; border-radius: 10px; padding: 13px; font-size: 14px !important; font-weight: 500 !important; cursor: pointer; font-family: inherit; margin-top: 6px; }
#dlr-wrap .dlr-send-btn:hover { background: #333333; }

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    #dlr-wrap .dlr-opt-grid { grid-template-columns: 1fr; }
    #dlr-wrap .dlr-extras { grid-template-columns: 1fr; }
    #dlr-wrap .dlr-sl-row label { min-width: 90px; }
    #dlr-wrap .dlr-form-row { grid-template-columns: 1fr; }
}
@media print {
    #dlr-wrap .dlr-angebot-btns,
    #dlr-wrap .dlr-tabs { display: none; }
}