/* DWMD Invest Rechner - scoped plugin stylesheet. Basis: DWMD_Invest_Rechner_v2_11_9.html */

.dwmd-invest-rechner *{box-sizing:border-box;margin:0;padding:0}
.dwmd-invest-rechner{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#f5f7fa;color:#1a2332;font-size:14px;line-height:1.5}
.dwmd-invest-rechner .page{max-width:960px;margin:0 auto;padding:0 16px 40px}
.dwmd-invest-rechner .hdr{background:#fff;border-bottom:3px solid #1a7a8c;padding:14px 24px;display:flex;align-items:center;gap:20px;margin-bottom:24px;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.dwmd-invest-rechner .hdr img{height:48px;width:auto}

.dwmd-invest-rechner .hdr-logo-link{display:inline-flex;align-items:center;line-height:0;text-decoration:none!important;flex-shrink:0}
.dwmd-invest-rechner .hdr-logo-link:hover,.dwmd-invest-rechner .hdr-logo-link:focus{opacity:.88}
.dwmd-invest-rechner .hdr-home-link{display:inline-flex;align-items:center;text-decoration:none!important}
.dwmd-invest-rechner .hdr-home-link:hover,.dwmd-invest-rechner .hdr-home-link:focus{background:#dff1f5;color:#1a7a8c;text-decoration:none!important}
.dwmd-invest-rechner .hdr-brand{font-size:20px;font-weight:700;color:#1a7a8c}
.dwmd-invest-rechner .hdr-sub{font-size:12px;color:#6b7a8d;margin-top:1px}
.dwmd-invest-rechner .hdr-tag{font-size:11px;background:#e8f5f7;color:#1a7a8c;padding:3px 10px;border-radius:20px;white-space:nowrap;border:1px solid #b8dde3;margin-left:auto}
.dwmd-invest-rechner .card{background:#fff;border-radius:10px;border:1px solid #e2e8f0;padding:18px 20px;margin-bottom:16px}
.dwmd-invest-rechner .card-title{font-size:11px;font-weight:600;color:#6b7a8d;text-transform:uppercase;letter-spacing:.06em;margin-bottom:12px}
.dwmd-invest-rechner .mode-toggle{display:flex;border:1.5px solid #1a7a8c;border-radius:8px;overflow:hidden;margin-bottom:16px}
.dwmd-invest-rechner .mode-btn{flex:1;padding:12px 10px;border:none;cursor:pointer;font-size:13px;font-weight:600;touch-action:manipulation;-webkit-tap-highlight-color:rgba(26,122,140,.2);user-select:none;-webkit-user-select:none}
.dwmd-invest-rechner .mode-btn.act-etf{background:#1a7a8c;color:#fff}
.dwmd-invest-rechner .mode-btn.act-fonds{background:#b45309;color:#fff}
.dwmd-invest-rechner .mode-btn.inact{background:#fff;color:#6b7a8d}
.dwmd-invest-rechner .grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.dwmd-invest-rechner .grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dwmd-invest-rechner label{font-size:11px;color:#6b7a8d;display:block;margin-bottom:3px;font-weight:500}
.dwmd-invest-rechner input[type=number],.dwmd-invest-rechner input[type=text],.dwmd-invest-rechner input[type=tel],.dwmd-invest-rechner input[type=email],.dwmd-invest-rechner input[type=date],.dwmd-invest-rechner select{width:100%;padding:9px 10px;border:1.5px solid #d1d9e6;border-radius:6px;font-size:16px;color:#1a2332;background:#fff;outline:none;-webkit-appearance:none;appearance:none}
.dwmd-invest-rechner input:focus,.dwmd-invest-rechner select:focus{border-color:#1a7a8c}
.dwmd-invest-rechner .prod-etf{background:#eef6fb;border:1.5px solid #93c5e8;border-radius:8px;padding:12px 14px}
.dwmd-invest-rechner .prod-fonds{background:#fef3e2;border:1.5px solid #f5c57a;border-radius:8px;padding:12px 14px}
.dwmd-invest-rechner .prod-fp{background:#e8f7ef;border:1.5px solid #86d4aa;border-radius:8px;padding:12px 14px}
.dwmd-invest-rechner .prod-lbl{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}
.dwmd-invest-rechner .prod-info{font-size:11px;color:#6b7a8d;margin-top:5px}

.dwmd-invest-rechner #prodSel,.dwmd-invest-rechner #fpTarif{font-size:13px;padding:7px 10px;white-space:normal;overflow:hidden;text-overflow:ellipsis}
.dwmd-invest-rechner .banner{border-radius:10px;padding:14px 18px;margin-bottom:16px;display:flex;align-items:flex-start;gap:14px}
.dwmd-invest-rechner .bwin{background:#ecfdf5;border:1.5px solid #6ee7b7}
.dwmd-invest-rechner .betf{background:#eff6ff;border:1.5px solid #93c5fd}
.dwmd-invest-rechner .bfonds{background:#fffbeb;border:1.5px solid #fcd34d}
.dwmd-invest-rechner .bnone{background:#f8fafc;border:1.5px solid #e2e8f0}
.dwmd-invest-rechner .bicon{width:38px;height:38px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:20px}
.dwmd-invest-rechner .btitle{font-size:15px;font-weight:700;margin-bottom:3px}
.dwmd-invest-rechner .bsub{font-size:13px;margin-bottom:2px}
.dwmd-invest-rechner .bhint{font-size:11px;color:#6b7a8d}
.dwmd-invest-rechner .leg{display:flex;gap:12px;align-items:center;margin-bottom:8px;flex-wrap:wrap;font-size:12px;color:#6b7a8d}
.dwmd-invest-rechner .ldot{width:20px;height:3px;border-radius:2px;display:inline-block;vertical-align:middle;margin-right:3px}
.dwmd-invest-rechner .ldash{width:20px;height:0;display:inline-block;vertical-align:middle;margin-right:3px}
.dwmd-invest-rechner .cwrap{position:relative;width:100%;height:290px;margin-bottom:8px}
.dwmd-invest-rechner .ev-area{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:14px 16px;margin-bottom:12px;display:none}
.dwmd-invest-rechner .ev-btns{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.dwmd-invest-rechner .ev-btn{padding:10px 14px;border:1.5px solid #d1d9e6;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;background:#fff;color:#6b7a8d;touch-action:manipulation;min-height:44px;-webkit-tap-highlight-color:rgba(26,122,140,.2)}
.dwmd-invest-rechner .ev-btn.active{background:#1a7a8c;border-color:#1a7a8c;color:#fff}
.dwmd-invest-rechner .ev-hint{font-size:12px;color:#6b7a8d;background:#fff;border-radius:6px;padding:8px 12px;border-left:3px solid #1a7a8c;margin-top:8px;display:none}
.dwmd-invest-rechner .ev-row{display:flex;gap:8px;align-items:center;margin-top:8px;flex-wrap:wrap}
.dwmd-invest-rechner .ev-add{padding:12px 20px;background:#1a7a8c;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;touch-action:manipulation;min-height:46px}
.dwmd-invest-rechner .ev-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;min-height:4px}
.dwmd-invest-rechner .ev-tag{display:inline-flex;align-items:center;gap:6px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;padding:5px 10px;font-size:12px}
.dwmd-invest-rechner .ev-tag button{background:none;border:none;cursor:pointer;font-size:16px;color:#94a3b8;line-height:1;padding:2px;min-width:28px;min-height:28px;touch-action:manipulation}

.dwmd-invest-rechner .ev-icons{display:none;flex-wrap:wrap;gap:8px;margin-bottom:10px;padding:10px 12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}
.dwmd-invest-rechner .ev-icon-btn{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 10px;border:1.5px solid #e2e8f0;border-radius:8px;background:#fff;cursor:pointer;font-size:10px;color:#6b7a8d;min-width:56px;touch-action:manipulation;transition:border-color .15s,background .15s;-webkit-tap-highlight-color:rgba(26,122,140,.15)}
.dwmd-invest-rechner .ev-icon-btn span.ico{font-size:22px;line-height:1}
.dwmd-invest-rechner .ev-icon-btn:hover,.dwmd-invest-rechner .ev-icon-btn.selected{border-color:#1a7a8c;background:#e8f5f7;color:#1a7a8c}
.dwmd-invest-rechner .ev-icon-label{font-size:10px;color:#94a3b8;margin-bottom:4px;font-weight:600;text-transform:uppercase;letter-spacing:.4px}
.dwmd-invest-rechner .kpi{background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;padding:12px 14px}
.dwmd-invest-rechner .kl{font-size:11px;color:#6b7a8d;margin-bottom:3px;font-weight:500}
.dwmd-invest-rechner .kv{font-size:18px;font-weight:700;color:#1a2332}
.dwmd-invest-rechner .ks{font-size:11px;color:#6b7a8d;margin-top:3px}
.dwmd-invest-rechner .help-btn{display:inline-flex;align-items:center;gap:4px;padding:10px 14px;font-size:12px;border:1.5px solid #1a7a8c;border-radius:20px;color:#1a7a8c;background:#fff;cursor:pointer;font-weight:500;margin:4px;min-height:44px;touch-action:manipulation;-webkit-tap-highlight-color:rgba(26,122,140,.2)}
.dwmd-invest-rechner .help-panel{display:none;background:#f0f9fb;border:1.5px solid #93c8d4;border-radius:8px;padding:14px 16px;margin-top:10px;font-size:13px;line-height:1.7;color:#1a2332}
.dwmd-invest-rechner .help-panel h4{font-size:13px;font-weight:700;color:#1a7a8c;margin-bottom:8px}
.dwmd-invest-rechner .example{background:#fff;border-radius:6px;padding:10px 12px;border:1px solid #b8dde3;margin:8px 0;font-size:12px;line-height:1.8}
.dwmd-invest-rechner .example strong{color:#1a7a8c}
.dwmd-invest-rechner .help-row{display:flex;gap:4px;flex-wrap:wrap;margin:12px 0 4px}
.dwmd-invest-rechner .grid24{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}
.dwmd-invest-rechner .grid44{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.dwmd-invest-rechner .ev-close{float:right;background:none;border:none;font-size:22px;cursor:pointer;color:#94a3b8;line-height:1;padding:4px 8px;touch-action:manipulation;min-width:36px;min-height:36px}
.dwmd-invest-rechner .ev-year{font-size:13px;font-weight:600;margin-bottom:10px;color:#1a7a8c}
.dwmd-invest-rechner .sim-bar{background:#e8f5f7;border:1.5px solid #1a7a8c;border-radius:10px;padding:12px 16px;margin-bottom:16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.dwmd-invest-rechner .sim-btn{padding:9px 14px;border:1.5px solid #1a7a8c;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer;touch-action:manipulation;min-height:42px;transition:all .15s}
.dwmd-invest-rechner .sim-btn.sim-active{background:#1a7a8c;color:#fff}
.dwmd-invest-rechner .sim-btn:not(.sim-active){background:#fff;color:#1a7a8c}
.dwmd-invest-rechner .sim-inp{width:56px;padding:7px 8px;border:1.5px solid #1a7a8c;border-radius:6px;font-size:14px;color:#1a2332;background:#fff;outline:none}
.dwmd-invest-rechner .ytable-wrap{display:none;margin-bottom:16px}
.dwmd-invest-rechner .ytable-inner{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}
.dwmd-invest-rechner .ytable-hdr{background:#1a7a8c;color:#fff;padding:12px 16px;font-weight:600;font-size:13px}
.dwmd-invest-rechner .lead-section{background:linear-gradient(135deg,#1B3A6B 0%,#1a7a8c 100%);padding:24px 20px;border-radius:0 0 10px 10px}
.dwmd-invest-rechner .lead-title{font-size:17px;font-weight:700;color:#fff;margin-bottom:6px}
.dwmd-invest-rechner .lead-sub{font-size:13px;color:rgba(255,255,255,.8);margin-bottom:20px;line-height:1.6}
.dwmd-invest-rechner .lead-form-box{background:rgba(255,255,255,.1);border-radius:12px;padding:20px;border:1px solid rgba(255,255,255,.2)}
.dwmd-invest-rechner .lead-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
.dwmd-invest-rechner .lead-lbl{font-size:12px;color:rgba(255,255,255,.85);font-weight:500;display:block;margin-bottom:4px}
.dwmd-invest-rechner .lead-inp{width:100%;padding:12px;border:1.5px solid rgba(255,255,255,.3);border-radius:8px;font-size:16px;color:#1a2332;background:rgba(255,255,255,.95);outline:none;-webkit-appearance:none;touch-action:manipulation}
.dwmd-invest-rechner .lead-inp:focus{border-color:#fff;background:#fff}
.dwmd-invest-rechner .lead-dsgvo{display:flex;gap:10px;align-items:flex-start;margin-bottom:16px}
.dwmd-invest-rechner .lead-dsgvo input[type=checkbox]{width:22px;height:22px;flex-shrink:0;margin-top:2px;accent-color:#1a7a8c;touch-action:manipulation}
.dwmd-invest-rechner .lead-dsgvo span{font-size:11px;color:rgba(255,255,255,.75);line-height:1.5}
.dwmd-invest-rechner .lead-submit{width:100%;padding:16px;background:#fff;color:#1a7a8c;border:none;border-radius:8px;font-size:15px;font-weight:700;cursor:pointer;touch-action:manipulation;min-height:52px}
.dwmd-invest-rechner .lead-note{font-size:11px;color:rgba(255,255,255,.5);text-align:center;margin-top:10px}
.dwmd-invest-rechner .lead-success{display:none;background:rgba(255,255,255,.12);border-radius:10px;padding:24px;text-align:center;border:1px solid rgba(255,255,255,.25)}
.dwmd-invest-rechner .footer{margin-top:24px;padding-top:14px;border-top:1px solid #e2e8f0;font-size:11px;color:#94a3b8;line-height:1.7}
.dwmd-invest-rechner .copyright-notice{margin-top:18px;padding:14px 16px;border:1px solid #cbd5e1;border-left:4px solid #1a7a8c;border-radius:8px;background:#f8fafc;color:#334155;font-size:12px;line-height:1.65;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.dwmd-invest-rechner .copyright-notice .copyright-title{display:block;margin-bottom:5px;color:#0f3f4a;font-size:12.5px;font-weight:800;letter-spacing:.01em}
.dwmd-invest-rechner .copyright-notice span{display:block}
@media(max-width:600px){
  .dwmd-invest-rechner .grid3{grid-template-columns:1fr 1fr}
  .dwmd-invest-rechner .grid2{grid-template-columns:1fr}
  .dwmd-invest-rechner .grid24{grid-template-columns:1fr}
  .dwmd-invest-rechner .grid44{grid-template-columns:1fr 1fr}
  .dwmd-invest-rechner .hdr{padding:10px 12px;gap:10px}
  .dwmd-invest-rechner .hdr img{height:36px}
  .dwmd-invest-rechner .hdr-brand{font-size:16px}
  .dwmd-invest-rechner .hdr-tag{display:none}
  .dwmd-invest-rechner .ev-btn{font-size:12px;padding:10px;width:calc(50% - 4px)}
  .dwmd-invest-rechner .cwrap{height:220px}
  .dwmd-invest-rechner .lead-grid{grid-template-columns:1fr}
  .dwmd-invest-rechner .copyright-notice{padding:13px 14px;font-size:11.5px}
  .dwmd-invest-rechner .copyright-notice .copyright-title{font-size:12px}
  .dwmd-invest-rechner .sim-bar{gap:6px}
  
  .dwmd-invest-rechner #prodSel,.dwmd-invest-rechner #fpTarif{font-size:13px;padding:8px 10px}
  .dwmd-invest-rechner .prod-etf,.dwmd-invest-rechner .prod-fp{padding:10px 12px}
  
  .dwmd-invest-rechner .grid3[style*="grid-template-columns:1fr 1fr"]{grid-template-columns:1fr}
}

.dwmd-invest-rechner .kombi-section{background:#fff;border-radius:10px;border:1px solid #e2e8f0;padding:20px;margin-bottom:16px;margin-top:4px}
.dwmd-invest-rechner .kombi-title{font-size:13px;font-weight:700;color:#1B3A6B;margin-bottom:4px}
.dwmd-invest-rechner .kombi-sub{font-size:12px;color:#6b7a8d;margin-bottom:16px;line-height:1.5}
.dwmd-invest-rechner .slider-wrap{position:relative;margin:8px 0 20px}
.dwmd-invest-rechner .split-slider{width:100%;-webkit-appearance:none;appearance:none;height:8px;border-radius:4px;outline:none;cursor:pointer;background:linear-gradient(to right,#1464a5 var(--val,50%),#16a34a var(--val,50%))}
.dwmd-invest-rechner .split-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:28px;height:28px;border-radius:50%;background:#fff;border:3px solid #1a7a8c;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.dwmd-invest-rechner .split-slider::-moz-range-thumb{width:28px;height:28px;border-radius:50%;background:#fff;border:3px solid #1a7a8c;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.dwmd-invest-rechner .split-labels{display:flex;justify-content:space-between;font-size:11px;color:#6b7a8d;margin-top:4px}
.dwmd-invest-rechner .kombi-cards{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-top:12px}
.dwmd-invest-rechner .kombi-card{border-radius:8px;padding:12px 14px;text-align:center}
.dwmd-invest-rechner .kombi-card-etf{background:#eff6ff;border:1.5px solid #93c5fd}
.dwmd-invest-rechner .kombi-card-fp{background:#ecfdf5;border:1.5px solid #6ee7b7}
.dwmd-invest-rechner .kombi-card-sum{background:#f0f9fb;border:1.5px solid #1a7a8c}
.dwmd-invest-rechner .kombi-label{font-size:11px;color:#6b7a8d;font-weight:600;margin-bottom:4px}
.dwmd-invest-rechner .kombi-pct{font-size:22px;font-weight:700;margin-bottom:2px}
.dwmd-invest-rechner .kombi-betrag{font-size:12px;color:#6b7a8d;margin-bottom:6px}
.dwmd-invest-rechner .kombi-ausz{font-size:16px;font-weight:700;margin-bottom:2px}
.dwmd-invest-rechner .kombi-rendite{font-size:11px;color:#6b7a8d}
.dwmd-invest-rechner .kombi-empfehlung{margin-top:14px;background:#f8fafc;border-radius:8px;padding:12px 14px;border-left:4px solid #1a7a8c;font-size:13px;line-height:1.6;color:#1a2332}
.dwmd-invest-rechner .kombi-empfehlung strong{color:#1a7a8c}
@media(max-width:600px){.dwmd-invest-rechner .kombi-cards{grid-template-columns:1fr}}
@media print{.dwmd-invest-rechner .ev-area,.dwmd-invest-rechner .ev-btns,.dwmd-invest-rechner .ev-add,.dwmd-invest-rechner .help-btn,.dwmd-invest-rechner .help-panel,.dwmd-invest-rechner .mode-toggle,.dwmd-invest-rechner .hdr-tag,.dwmd-invest-rechner .lead-section,.dwmd-invest-rechner .sim-bar{display:none!important}.dwmd-invest-rechner{background:#fff}.dwmd-invest-rechner .card{border:1px solid #ccc}.dwmd-invest-rechner .copyright-notice{break-inside:avoid;page-break-inside:avoid;background:#fff!important;border-color:#94a3b8!important;color:#1f2937!important;box-shadow:none!important}}


.dwmd-invest-rechner .view-mode-bar{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,#1B3A6B 0%,#1a7a8c 100%);padding:10px 20px;border-radius:10px;margin-bottom:14px;gap:12px;flex-wrap:wrap}
.dwmd-invest-rechner .view-mode-bar .vm-label{font-size:12px;font-weight:700;color:rgba(255,255,255,.85);text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
.dwmd-invest-rechner .view-mode-toggle{display:flex;border:1.5px solid rgba(255,255,255,.35);border-radius:8px;overflow:hidden}
.dwmd-invest-rechner .vm-btn{padding:9px 18px;border:none;cursor:pointer;font-size:13px;font-weight:600;touch-action:manipulation;transition:all .15s;white-space:nowrap}
.dwmd-invest-rechner .vm-btn.vm-active{background:#fff;color:#1B3A6B}
.dwmd-invest-rechner .vm-btn.vm-inactive{background:transparent;color:rgba(255,255,255,.75)}
.dwmd-invest-rechner .vm-hint{font-size:11px;color:rgba(255,255,255,.65);flex:1;min-width:160px}


.dwmd-invest-rechner .expert-only{transition:opacity .2s}
.dwmd-invest-rechner.laien-mode .expert-only{display:none!important}
.dwmd-invest-rechner .laien-only-flex{display:none!important}
.dwmd-invest-rechner.laien-mode .laien-only-flex{display:flex!important}


.dwmd-invest-rechner #chartPopup{display:none;position:absolute;z-index:200;background:#fff;border:1.5px solid #1a7a8c;border-radius:10px;box-shadow:0 6px 24px rgba(0,0,0,.18);padding:12px 14px;min-width:230px;max-width:290px}
.dwmd-invest-rechner #chartPopup .cp-year{font-size:13px;font-weight:700;color:#1a7a8c;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center}
.dwmd-invest-rechner #chartPopup .cp-close{background:none;border:none;cursor:pointer;font-size:20px;color:#94a3b8;line-height:1;padding:0 4px;touch-action:manipulation}
.dwmd-invest-rechner #chartPopup .cp-btns{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}
.dwmd-invest-rechner #chartPopup .cp-btn{padding:9px 12px;border:1.5px solid #d1d9e6;border-radius:7px;font-size:13px;font-weight:500;cursor:pointer;background:#fff;color:#1a2332;text-align:left;touch-action:manipulation;transition:background .12s,border-color .12s}
.dwmd-invest-rechner #chartPopup .cp-btn:hover,.dwmd-invest-rechner #chartPopup .cp-btn.active{background:#e8f5f7;border-color:#1a7a8c;color:#1a7a8c}
.dwmd-invest-rechner #chartPopup .cp-input{display:none;margin-top:8px}
.dwmd-invest-rechner #chartPopup .cp-inp-row{display:flex;gap:8px;align-items:center}
.dwmd-invest-rechner #chartPopup .cp-val{flex:1;padding:9px 10px;border:1.5px solid #d1d9e6;border-radius:6px;font-size:15px;color:#1a2332;background:#fff;outline:none;-webkit-appearance:none}
.dwmd-invest-rechner #chartPopup .cp-val:focus{border-color:#1a7a8c}
.dwmd-invest-rechner #chartPopup .cp-add{padding:9px 14px;background:#1a7a8c;color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;touch-action:manipulation;min-height:40px;white-space:nowrap}
.dwmd-invest-rechner #chartPopup .cp-hint{font-size:11px;color:#6b7a8d;margin-top:7px;background:#f8fafc;border-left:3px solid #1a7a8c;padding:6px 10px;border-radius:4px;display:none;line-height:1.5}
.dwmd-invest-rechner #chartPopup select.cp-tfs{flex:1;padding:9px 8px;border:1.5px solid #d1d9e6;border-radius:6px;font-size:13px;display:none}

.dwmd-invest-rechner *{-webkit-tap-highlight-color:rgba(0,0,0,0)}
.dwmd-invest-rechner button{touch-action:manipulation}
.dwmd-invest-rechner .inp-eur{position:relative;display:flex;align-items:center}
.dwmd-invest-rechner .inp-eur input{flex:1;padding-right:28px!important}
.dwmd-invest-rechner .inp-eur::after{content:"\20AC";position:absolute;right:10px;color:#94a3b8;font-size:15px;pointer-events:none;font-weight:500}


/* Plugin-Basis */
.dwmd-invest-rechner{width:100%;max-width:100%;overflow-x:clip;}
.dwmd-invest-rechner .hdr{margin-top:0;}
.dwmd-invest-rechner .page,.dwmd-invest-rechner .card,.dwmd-invest-rechner .banner,.dwmd-invest-rechner .kombi-section{min-width:0;}
.dwmd-invest-rechner input,.dwmd-invest-rechner select,.dwmd-invest-rechner button{max-width:100%;}
.dwmd-invest-rechner .ytable-inner{overflow-x:auto;}

/* Number-Spinner wieder aktivieren: Chrome/Edge zeigen sonst keine Pfeile. */
.dwmd-invest-rechner input[type=number]{
  appearance:auto!important;
  -webkit-appearance:auto!important;
  -moz-appearance:auto!important;
}
.dwmd-invest-rechner input[type=number]::-webkit-outer-spin-button,
.dwmd-invest-rechner input[type=number]::-webkit-inner-spin-button{
  opacity:1!important;
  display:block!important;
  -webkit-appearance:inner-spin-button!important;
  margin:0;
}
.dwmd-invest-rechner .sim-inp{
  min-width:90px;
  width:110px;
}

/* Mobile UX Patch */
@media(max-width:900px){
  .dwmd-invest-rechner{background:transparent;font-size:14px;}
  .dwmd-invest-rechner .page{width:100%;max-width:100%;padding:0 10px 28px;}
  .dwmd-invest-rechner .hdr{margin-bottom:14px;padding:12px 14px;border-radius:0 0 10px 10px;gap:10px;}
  .dwmd-invest-rechner .hdr img{height:34px;}
  .dwmd-invest-rechner .hdr-brand{font-size:16px;line-height:1.2;}
  .dwmd-invest-rechner .hdr-sub{font-size:11px;}
  .dwmd-invest-rechner .view-mode-bar{padding:12px;align-items:stretch;}
  .dwmd-invest-rechner .view-mode-bar .vm-label,.dwmd-invest-rechner .vm-hint{width:100%;}
  .dwmd-invest-rechner .view-mode-toggle{width:100%;}
  .dwmd-invest-rechner .vm-btn{flex:1 1 50%;padding:10px 8px;font-size:12px;}
  .dwmd-invest-rechner .mode-toggle{display:grid;grid-template-columns:1fr;gap:0;border-radius:10px;}
  .dwmd-invest-rechner .mode-btn{width:100%;min-height:46px;padding:11px 12px;line-height:1.25;white-space:normal;}
  .dwmd-invest-rechner .card,.dwmd-invest-rechner .kombi-section{padding:14px!important;border-radius:12px;margin-bottom:14px;}
  .dwmd-invest-rechner .grid2,.dwmd-invest-rechner .grid3,.dwmd-invest-rechner .grid24,.dwmd-invest-rechner .grid44,.dwmd-invest-rechner .kombi-cards,.dwmd-invest-rechner #expertProdArea,.dwmd-invest-rechner #standardProdArea,.dwmd-invest-rechner .lead-grid{grid-template-columns:1fr!important;gap:10px!important;}
  .dwmd-invest-rechner .card > div[style*="grid-template-columns:1fr 1fr 1fr"],.dwmd-invest-rechner .card > div[style*="grid-template-columns:1fr 1fr 1fr 1fr"]{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  .dwmd-invest-rechner label,.dwmd-invest-rechner .lead-lbl{font-size:12px!important;line-height:1.25;}
  .dwmd-invest-rechner input[type=number],.dwmd-invest-rechner input[type=text],.dwmd-invest-rechner input[type=tel],.dwmd-invest-rechner input[type=email],.dwmd-invest-rechner input[type=date],.dwmd-invest-rechner select{min-height:46px;padding:10px 12px;font-size:16px;border-radius:10px;}
  .dwmd-invest-rechner .laien-only-flex,.dwmd-invest-rechner #aktBeitragBox2,.dwmd-invest-rechner #aktBeitragBox{align-items:flex-start!important;flex-wrap:wrap!important;}
  .dwmd-invest-rechner .card > div[style*="background:#e8f5f7"][style*="display:flex"]{flex-wrap:wrap!important;align-items:flex-start!important;gap:8px!important;padding:10px 12px!important;border-radius:10px!important;}
  .dwmd-invest-rechner .card > div[style*="background:#e8f5f7"][style*="display:flex"] label{flex:1 1 100%!important;white-space:normal!important;}
  .dwmd-invest-rechner .card > div[style*="background:#e8f5f7"][style*="display:flex"] .inp-eur{flex:1 1 180px!important;max-width:none!important;}
  .dwmd-invest-rechner #stdHintText,.dwmd-invest-rechner #stdModeHint,.dwmd-invest-rechner .prod-info,.dwmd-invest-rechner .bhint{line-height:1.45;}
  .dwmd-invest-rechner #laienRenditeBox,.dwmd-invest-rechner .prod-etf,.dwmd-invest-rechner .prod-fp{min-width:0;overflow:hidden;border-radius:12px!important;}
  .dwmd-invest-rechner #laienRenditeBox > div[style*="display:flex"]{width:100%;min-width:0;}
  .dwmd-invest-rechner #rndSlider{min-width:0;}
  .dwmd-invest-rechner .banner{padding:14px;gap:10px;border-radius:12px;}
  .dwmd-invest-rechner .bicon{width:34px;height:34px;font-size:18px;}
  .dwmd-invest-rechner .btitle{font-size:15px;line-height:1.25;}
  .dwmd-invest-rechner .bsub{font-size:13px;}
  .dwmd-invest-rechner .cwrap{height:240px;}
  .dwmd-invest-rechner .leg{gap:8px 12px;font-size:11px;}
  .dwmd-invest-rechner .sim-bar{padding:12px;align-items:flex-start;}
  .dwmd-invest-rechner .sim-btn{flex:1 1 100%;}
  .dwmd-invest-rechner .ev-btn{width:100%;}
  .dwmd-invest-rechner .lead-section{margin-left:-14px;margin-right:-14px;border-radius:0 0 12px 12px;padding:20px 14px;}
}
@media(max-width:480px){
  .dwmd-invest-rechner .page{padding-left:8px;padding-right:8px;}
  .dwmd-invest-rechner .card,.dwmd-invest-rechner .kombi-section{padding:12px!important;}
  .dwmd-invest-rechner .view-mode-toggle{display:grid;grid-template-columns:1fr;}
  .dwmd-invest-rechner .vm-btn{width:100%;}
  .dwmd-invest-rechner .cwrap{height:220px;}
  .dwmd-invest-rechner .banner{padding:12px;}
}


/* Patch 0.5.2: FAQ-Kontrast ohne Eingriff in Rechnerlogik */
.dwmd-invest-rechner .help-btn:active,
.dwmd-invest-rechner .help-btn:focus,
.dwmd-invest-rechner .help-btn.is-open {
  background:#1a7a8c!important;
  border-color:#1a7a8c!important;
  color:#fff!important;
}
.dwmd-invest-rechner .help-btn.is-open * {
  color:#fff!important;
}


/* Patch 0.6.1: Druckdarstellung, Slider-Füllung (mit print-color-adjust im @media print), WordPress-Isolation */
.dwmd-invest-rechner .split-slider{
  -webkit-print-color-adjust:exact;
  print-color-adjust:exact;
  color-adjust:exact;
}
.dwmd-invest-rechner canvas#mc{
  display:block;
  width:100%!important;
  max-width:100%;
}
.dwmd-invest-rechner #chartPopup{
  pointer-events:auto;
}
@media print{
  .dwmd-invest-rechner *{
    -webkit-print-color-adjust:exact!important;
    print-color-adjust:exact!important;
    color-adjust:exact!important;
  }
  .dwmd-invest-rechner .slider-wrap{position:relative}
  .dwmd-invest-rechner .slider-wrap::before{
    content:"";
    position:absolute;
    left:0;right:0;top:50%;
    transform:translateY(-50%);
    height:8px;
    border-radius:4px;
    background:linear-gradient(to right,#1464a5 var(--val,50%),#16a34a var(--val,50%));
    -webkit-print-color-adjust:exact!important;
    print-color-adjust:exact!important;
    color-adjust:exact!important;
    z-index:0;
  }
  .dwmd-invest-rechner .split-slider{position:relative;z-index:1;background:transparent!important}
  .dwmd-invest-rechner .split-slider::-webkit-slider-runnable-track{background:transparent}
  .dwmd-invest-rechner .split-slider::-moz-range-track{background:transparent}
}

/* Patch 0.6.2: Mobile Zahlenfeld-Stepper und stabilere PDF-/Druckdarstellung */
.dwmd-invest-rechner .dwmd-number-wrap{
  position:relative;
  display:flex;
  align-items:stretch;
  width:100%;
  min-width:0;
  flex:1 1 auto;
}
.dwmd-invest-rechner .dwmd-number-wrap > input[type=number]{
  width:100%;
  min-width:0;
}
.dwmd-invest-rechner .dwmd-number-controls{
  display:none;
  position:absolute;
  right:6px;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:38px;
  z-index:4;
  flex-direction:column;
  border:1px solid #cbd5e1;
  border-radius:8px;
  overflow:hidden;
  background:#f8fafc;
  box-shadow:0 1px 3px rgba(15,23,42,.08);
}
.dwmd-invest-rechner .dwmd-number-controls button{
  appearance:none;
  -webkit-appearance:none;
  flex:1 1 50%;
  width:100%;
  border:0;
  background:#f8fafc;
  color:#1a7a8c;
  font-size:9px;
  line-height:1;
  padding:0;
  cursor:pointer;
  touch-action:manipulation;
}
.dwmd-invest-rechner .dwmd-number-controls button:first-child{
  border-bottom:1px solid #e2e8f0;
}
.dwmd-invest-rechner .dwmd-number-controls button:active{
  background:#e8f5f7;
}
@media(max-width:900px){
  .dwmd-invest-rechner .dwmd-number-controls{display:flex;}
  .dwmd-invest-rechner .dwmd-number-wrap > input[type=number]{padding-right:46px!important;}
  .dwmd-invest-rechner .dwmd-number-wrap-eur > input[type=number]{padding-right:70px!important;}
  .dwmd-invest-rechner .dwmd-number-wrap-eur::after{right:40px;}
}
@media print{
  .dwmd-invest-rechner .dwmd-number-controls{display:none!important;}
  .dwmd-invest-rechner .kombi-cards{
    display:grid!important;
    grid-template-columns:repeat(3,1fr)!important;
    gap:10px!important;
  }
  .dwmd-invest-rechner .kombi-card{
    break-inside:avoid;
    page-break-inside:avoid;
    min-width:0!important;
  }
  .dwmd-invest-rechner .kombi-section{
    break-inside:avoid;
    page-break-inside:avoid;
  }
}


/* Patch 0.6.3: Druckfester Kombi-Slider für PDF-Ausgabe
   Der native range-slider wird im Druck durch echte DOM-Elemente ersetzt,
   damit Farbverlauf und Marker in Browser-PDFs zuverlässig sichtbar bleiben. */
.dwmd-invest-rechner .dwmd-print-slider-track,
.dwmd-invest-rechner .dwmd-print-slider-thumb{
  display:none;
}
@media print{
  .dwmd-invest-rechner .slider-wrap{
    position:relative!important;
    min-height:48px!important;
    padding-top:14px!important;
    padding-bottom:2px!important;
    overflow:visible!important;
  }
  .dwmd-invest-rechner .slider-wrap::before,
  .dwmd-invest-rechner .slider-wrap::after{
    display:none!important;
    content:none!important;
  }
  .dwmd-invest-rechner .split-slider{
    opacity:0!important;
    visibility:hidden!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:14px!important;
    height:28px!important;
    margin:0!important;
    pointer-events:none!important;
  }
  .dwmd-invest-rechner .dwmd-print-slider-track{
    display:block!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:28px!important;
    height:8px!important;
    border-radius:999px!important;
    background:linear-gradient(to right,#1464a5 var(--dwmd-print-val,50%),#16a34a var(--dwmd-print-val,50%))!important;
    -webkit-print-color-adjust:exact!important;
    print-color-adjust:exact!important;
    color-adjust:exact!important;
    z-index:1!important;
  }
  .dwmd-invest-rechner .dwmd-print-slider-thumb{
    display:block!important;
    position:absolute!important;
    left:var(--dwmd-print-val,50%)!important;
    top:20px!important;
    width:24px!important;
    height:24px!important;
    margin-left:-12px!important;
    border-radius:50%!important;
    background:#fff!important;
    border:3px solid #1a7a8c!important;
    box-shadow:0 1px 4px rgba(0,0,0,.22)!important;
    -webkit-print-color-adjust:exact!important;
    print-color-adjust:exact!important;
    color-adjust:exact!important;
    z-index:2!important;
  }
  .dwmd-invest-rechner .split-labels{
    position:relative!important;
    z-index:3!important;
    margin-top:28px!important;
  }
}

/* Patch 0.6.4: Ereignis-Felder ohne Zahlenwert sauber ausblenden */
.dwmd-invest-rechner .dwmd-number-wrap.is-hidden{display:none!important;}
.dwmd-invest-rechner #chartPopup select.cp-tfs{min-width:0;flex:1 1 auto;background:#fff;color:#1a2332;}
.dwmd-invest-rechner #chartPopup .cp-inp-row{align-items:stretch;}
.dwmd-invest-rechner .ev-tag.ev-tag-fw{border-color:#1a7a8c;background:#e8f5f7;color:#1a7a8c;font-weight:700;}

/* Expertenmodus-Paywall Demo/MVP (ab 0.8.0) */
.dwmd-invest-rechner .dwmd-expert-paywall{display:none;position:fixed;inset:0;z-index:999999;align-items:center;justify-content:center;padding:20px}
.dwmd-invest-rechner .dwmd-expert-paywall.is-open{display:flex}
.dwmd-invest-rechner .dwmd-expert-paywall__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(4px)}
.dwmd-invest-rechner .dwmd-expert-paywall__dialog{position:relative;width:min(560px,calc(100vw - 32px));background:#fff;border:1.5px solid #1a7a8c;border-radius:18px;box-shadow:0 24px 80px rgba(15,23,42,.34);padding:28px;color:#1a2332}
.dwmd-invest-rechner .dwmd-expert-paywall__close{position:absolute;top:14px;right:14px;border:none;background:#f1f5f9;color:#64748b;width:34px;height:34px;border-radius:999px;font-size:24px;line-height:1;cursor:pointer}
.dwmd-invest-rechner .dwmd-expert-paywall__eyebrow{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#1a7a8c;margin-bottom:8px}
.dwmd-invest-rechner .dwmd-expert-paywall h3{margin:0 38px 12px 0;font-size:26px;line-height:1.15;color:#1B3A6B}
.dwmd-invest-rechner .dwmd-expert-paywall__text{margin:0 0 16px 0;font-size:15px;line-height:1.65;color:#475569}
.dwmd-invest-rechner .dwmd-expert-paywall__price{display:inline-flex;align-items:center;gap:8px;background:#e8f5f7;color:#1a7a8c;border:1px solid rgba(26,122,140,.22);border-radius:999px;padding:8px 12px;font-size:13px;font-weight:800;margin-bottom:16px}
.dwmd-invest-rechner .dwmd-expert-paywall__features{display:grid;gap:8px;margin:0 0 20px 0}
.dwmd-invest-rechner .dwmd-expert-paywall__features span{display:flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;font-size:13px;color:#334155}
.dwmd-invest-rechner .dwmd-expert-paywall__features span::before{content:"✓";width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#1a7a8c;color:#fff;font-size:12px;font-weight:900;flex:0 0 auto}
.dwmd-invest-rechner .dwmd-expert-paywall__actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.dwmd-invest-rechner .dwmd-expert-paywall__primary,.dwmd-invest-rechner .dwmd-expert-paywall__demo{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:10px;border:none;padding:11px 16px;font-weight:800;cursor:pointer;font-size:14px}
.dwmd-invest-rechner .dwmd-expert-paywall__primary{background:#1a7a8c;color:#fff;box-shadow:0 10px 20px rgba(26,122,140,.18)}
.dwmd-invest-rechner .dwmd-expert-paywall__demo{background:#fff;color:#1a7a8c;border:1.5px solid #1a7a8c}
.dwmd-invest-rechner .dwmd-expert-paywall__note{font-size:11px;line-height:1.5;color:#64748b;background:#f8fafc;border-left:3px solid #94a3b8;border-radius:8px;padding:9px 11px}
@media(max-width:600px){.dwmd-invest-rechner .dwmd-expert-paywall{align-items:flex-end;padding:12px}.dwmd-invest-rechner .dwmd-expert-paywall__dialog{border-radius:18px 18px 12px 12px;padding:22px}.dwmd-invest-rechner .dwmd-expert-paywall h3{font-size:22px}.dwmd-invest-rechner .dwmd-expert-paywall__actions{display:grid}.dwmd-invest-rechner .dwmd-expert-paywall__primary,.dwmd-invest-rechner .dwmd-expert-paywall__demo{width:100%}}
@media print{.dwmd-invest-rechner .dwmd-expert-paywall{display:none!important}}

/* 0.9.0: Stripe-Checkout-Paywall */
.dwmd-expert-paywall__primary:disabled{
  opacity:.65;
  cursor:wait;
}

/* v1.0.0: Expertenzugang Status und abgesicherter Locked-State */
.dwmd-invest-rechner .dwmd-expert-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid rgba(26,122,140,.24);
  background:#e8f5f7;
  color:#1a7a8c;
  border-radius:999px;
  padding:5px 9px;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
}
.dwmd-invest-rechner .dwmd-expert-status[hidden]{display:none!important}
.dwmd-invest-rechner .dwmd-expert-status::before{content:"✓";font-weight:900}
.dwmd-invest-rechner.dwmd-expert-locked .expert-only{display:none!important}
.dwmd-invest-rechner .dwmd-expert-paywall__loginhint{font-size:12px;line-height:1.5;color:#475569;margin:-4px 0 12px 0}
.dwmd-invest-rechner .dwmd-expert-paywall__loginhint a{color:#1a7a8c;font-weight:800;text-decoration:none}
.dwmd-invest-rechner .dwmd-expert-paywall__loginhint a:hover{text-decoration:underline}
@media(max-width:760px){
  .dwmd-invest-rechner .dwmd-expert-status{width:100%;justify-content:center;white-space:normal;text-align:center}
}

/* v1.2.1: Elementor-Templatebereich im Paywall-Popup */
.dwmd-invest-rechner .dwmd-expert-paywall__custom-content{
  margin:0 0 18px 0;
}
.dwmd-invest-rechner .dwmd-expert-paywall__custom-content[hidden]{display:none!important}
.dwmd-invest-rechner .dwmd-expert-paywall__custom-content > *:first-child{margin-top:0}
.dwmd-invest-rechner .dwmd-expert-paywall__custom-content > *:last-child{margin-bottom:0}

/* v1.2.1: PDF-Vorschau vor Druck / PDF-Speichern */
.dwmd-invest-rechner .dwmd-pdf-preview{display:none;position:fixed;inset:0;z-index:1000000;align-items:center;justify-content:center;padding:18px;color:#1a2332}
.dwmd-invest-rechner .dwmd-pdf-preview.is-open{display:flex}
.dwmd-invest-rechner .dwmd-pdf-preview__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(4px)}
.dwmd-invest-rechner .dwmd-pdf-preview__dialog{position:relative;width:min(1040px,calc(100vw - 28px));max-height:calc(100vh - 28px);background:#f8fafc;border:1px solid #dbe7ea;border-radius:18px;box-shadow:0 24px 90px rgba(15,23,42,.38);display:grid;grid-template-rows:auto 1fr auto;overflow:hidden}
.dwmd-invest-rechner .dwmd-pdf-preview__bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;background:#fff;border-bottom:1px solid #e2e8f0}
.dwmd-invest-rechner .dwmd-pdf-preview__bar strong{display:block;color:#1B3A6B;font-size:18px;line-height:1.2}
.dwmd-invest-rechner .dwmd-pdf-preview__bar span{display:block;color:#64748b;font-size:13px;line-height:1.45;margin-top:3px}
.dwmd-invest-rechner .dwmd-pdf-preview__close{border:none;background:#eef4f6;color:#64748b;width:36px;height:36px;border-radius:999px;font-size:25px;line-height:1;cursor:pointer;flex:0 0 auto}
.dwmd-invest-rechner .dwmd-pdf-preview__body{overflow:auto;padding:20px;background:#e8eef2}
.dwmd-invest-rechner .dwmd-pdf-preview__body .dwmd-invest-rechner{max-width:900px;margin:0 auto;background:#fff!important;box-shadow:0 14px 34px rgba(15,23,42,.12);border-radius:12px;pointer-events:none}
.dwmd-invest-rechner .dwmd-pdf-preview__body .lead-section,
.dwmd-invest-rechner .dwmd-pdf-preview__body .mode-toggle,
.dwmd-invest-rechner .dwmd-pdf-preview__body .ev-area,
.dwmd-invest-rechner .dwmd-pdf-preview__body .ev-btns,
.dwmd-invest-rechner .dwmd-pdf-preview__body .ev-add,
.dwmd-invest-rechner .dwmd-pdf-preview__body .help-btn,
.dwmd-invest-rechner .dwmd-pdf-preview__body .help-panel,
.dwmd-invest-rechner .dwmd-pdf-preview__body .sim-bar,
.dwmd-invest-rechner .dwmd-pdf-preview__body #printBtn,
.dwmd-invest-rechner .dwmd-pdf-preview__body #printHint,
.dwmd-invest-rechner .dwmd-pdf-preview__body .dwmd-expert-paywall,
.dwmd-invest-rechner .dwmd-pdf-preview__body .dwmd-pdf-preview{display:none!important}
.dwmd-invest-rechner .dwmd-pdf-preview__actions{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px;background:#fff;border-top:1px solid #e2e8f0}
.dwmd-invest-rechner .dwmd-pdf-preview__print,.dwmd-invest-rechner .dwmd-pdf-preview__cancel{border-radius:10px;min-height:42px;padding:10px 15px;font-weight:800;cursor:pointer;border:1.5px solid #1a7a8c}
.dwmd-invest-rechner .dwmd-pdf-preview__print{background:#1a7a8c;color:#fff}
.dwmd-invest-rechner .dwmd-pdf-preview__cancel{background:#fff;color:#1a7a8c}
@media(max-width:760px){.dwmd-invest-rechner .dwmd-pdf-preview{padding:0}.dwmd-invest-rechner .dwmd-pdf-preview__dialog{width:100vw;height:100vh;max-height:100vh;border-radius:0}.dwmd-invest-rechner .dwmd-pdf-preview__actions{display:grid}.dwmd-invest-rechner .dwmd-pdf-preview__print,.dwmd-invest-rechner .dwmd-pdf-preview__cancel{width:100%}}
@media print{.dwmd-invest-rechner .dwmd-pdf-preview{display:none!important}}

/* v1.1.0: kundenfreundlicher Login-/Registrierungsflow im Paywall-Popup */
.dwmd-invest-rechner .dwmd-expert-paywall__auth{
  margin:0 0 16px 0;
  border:1px solid #e2e8f0;
  border-radius:14px;
  background:#f8fafc;
  padding:12px;
}
.dwmd-invest-rechner .dwmd-expert-paywall__auth[hidden]{display:none!important}
.dwmd-invest-rechner .dwmd-auth-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin-bottom:12px;
}
.dwmd-invest-rechner .dwmd-auth-tab{
  border:1px solid #d5dde8;
  background:#fff;
  color:#64748b;
  border-radius:10px;
  padding:10px 12px;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}
.dwmd-invest-rechner .dwmd-auth-tab.is-active{
  background:#1a7a8c;
  border-color:#1a7a8c;
  color:#fff;
}
.dwmd-invest-rechner .dwmd-auth-pane[hidden]{display:none!important}
.dwmd-invest-rechner .dwmd-auth-pane label{
  display:block;
  margin:0 0 10px 0;
  color:#334155;
  font-size:12px;
  font-weight:800;
}
.dwmd-invest-rechner .dwmd-auth-pane input{
  display:block;
  width:100%;
  margin-top:5px;
  border:1.5px solid #cbd5e1;
  border-radius:10px;
  padding:11px 12px;
  font-size:15px;
  background:#fff;
  color:#1a2332;
}
.dwmd-invest-rechner .dwmd-auth-submit{
  width:100%;
  min-height:44px;
  border:none;
  border-radius:10px;
  background:#1a7a8c;
  color:#fff;
  font-weight:900;
  cursor:pointer;
  padding:11px 14px;
  margin-top:2px;
}
.dwmd-invest-rechner .dwmd-auth-submit:disabled{opacity:.65;cursor:wait}
.dwmd-invest-rechner .dwmd-auth-small{
  margin:8px 0 0 0;
  color:#64748b;
  font-size:11px;
  line-height:1.5;
}
.dwmd-invest-rechner .dwmd-auth-small a{color:#1a7a8c;font-weight:800;text-decoration:none}
.dwmd-invest-rechner .dwmd-auth-small a:hover{text-decoration:underline}
.dwmd-invest-rechner .dwmd-expert-paywall__message{
  margin:0 0 12px 0;
  border-radius:10px;
  padding:10px 12px;
  font-size:12px;
  line-height:1.5;
  background:#f1f5f9;
  color:#334155;
  border:1px solid #dbe3ee;
}
.dwmd-invest-rechner .dwmd-expert-paywall__message[hidden]{display:none!important}
.dwmd-invest-rechner .dwmd-expert-paywall__message.is-error{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.dwmd-invest-rechner .dwmd-expert-paywall__message.is-success{background:#ecfdf5;border-color:#bbf7d0;color:#166534}
.dwmd-invest-rechner .dwmd-expert-paywall__message.is-info{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}

/* v1.2.0: passwortloser E-Mail-Code als Zielbild */
.dwmd-invest-rechner .dwmd-auth-tabs{grid-template-columns:repeat(3,1fr)}
.dwmd-invest-rechner .dwmd-magic-code-wrap{margin-top:10px}
.dwmd-invest-rechner .dwmd-magic-code-wrap[hidden]{display:none!important}
.dwmd-invest-rechner .dwmd-magic-code{
  letter-spacing:.28em;
  font-weight:900;
  text-align:center;
}
@media(max-width:520px){.dwmd-invest-rechner .dwmd-auth-tabs{grid-template-columns:1fr}.dwmd-invest-rechner .dwmd-auth-tab{width:100%}}

/* ============================================================
   DWMD Invest Kundenbereich (v1.3.0)
   ============================================================ */
.dwmd-invest-account{
  max-width:1120px;
  margin:32px auto;
  padding:0 20px 48px;
  font-family:inherit;
  color:#0f243d;
}
.dwmd-invest-account *{box-sizing:border-box;}
.dwmd-invest-account__hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:32px;
  border-radius:28px;
  background:linear-gradient(135deg,#06293a 0%,#0b7f8d 100%);
  color:#fff;
  box-shadow:0 22px 60px rgba(4,37,52,.18);
  margin-bottom:24px;
}
.dwmd-invest-account__eyebrow{
  font-size:13px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
  opacity:.86;
  margin-bottom:8px;
}
.dwmd-invest-account__hero h2{
  color:#fff;
  margin:0 0 8px;
  font-size:clamp(28px,4vw,46px);
  line-height:1.08;
}
.dwmd-invest-account__hero p{
  margin:0;
  max-width:680px;
  color:rgba(255,255,255,.84);
  font-size:17px;
  line-height:1.55;
}
.dwmd-invest-account__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.dwmd-invest-account__card{
  background:#fff;
  border:1px solid #dbe6f1;
  border-radius:22px;
  padding:24px;
  box-shadow:0 12px 36px rgba(13,49,76,.07);
}
.dwmd-invest-account__card.is-main,
.dwmd-invest-account__card.is-wide{
  grid-column:1/-1;
}
.dwmd-invest-account__card h3{
  margin:0 0 10px;
  color:#0f243d;
  font-size:22px;
  line-height:1.2;
}
.dwmd-invest-account__card p{
  margin:0 0 14px;
  color:#61718a;
  font-size:16px;
  line-height:1.6;
}
.dwmd-invest-account__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}
.dwmd-invest-account__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 20px;
  border-radius:999px;
  background:#0c8290;
  color:#fff !important;
  text-decoration:none !important;
  font-weight:800;
  border:1px solid rgba(12,130,144,.25);
  box-shadow:0 10px 24px rgba(12,130,144,.2);
}
.dwmd-invest-account__button:hover{filter:brightness(.96);}
.dwmd-invest-account__button.is-secondary{
  background:#fff;
  color:#0c8290 !important;
  box-shadow:none;
}
.dwmd-invest-account__button.is-light{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.34);
  color:#fff !important;
  box-shadow:none;
  white-space:nowrap;
}
.dwmd-invest-account__status{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  border-radius:18px;
  margin:14px 0 18px;
  border:1px solid #dbe6f1;
  background:#f7fafc;
}
.dwmd-invest-account__status span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
}
.dwmd-invest-account__status span:before{
  content:"";
  width:12px;
  height:12px;
  border-radius:50%;
  background:#9aabbf;
}
.dwmd-invest-account__status.is-active{
  background:#e8f8f1;
  border-color:#99dfbd;
}
.dwmd-invest-account__status.is-active span:before{background:#22a86d;}
.dwmd-invest-account__status.is-inactive{
  background:#fff7ed;
  border-color:#fed7aa;
}
.dwmd-invest-account__status.is-inactive span:before{background:#f59e0b;}
.dwmd-invest-account__status strong{
  color:#0f243d;
  text-align:right;
}
.dwmd-invest-account__data{
  display:grid;
  grid-template-columns:130px 1fr;
  gap:10px 14px;
  margin:14px 0 0;
}
.dwmd-invest-account__data dt{
  color:#8090a7;
  font-weight:800;
}
.dwmd-invest-account__data dd{
  margin:0;
  color:#0f243d;
  font-weight:700;
  overflow-wrap:anywhere;
}
.dwmd-invest-account__checklist{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  padding:0;
  margin:18px 0 0;
  list-style:none;
}
.dwmd-invest-account__checklist li{
  padding:14px 16px 14px 46px;
  border-radius:16px;
  border:1px solid #dbe6f1;
  background:#f8fbfe;
  position:relative;
  color:#45566f;
  font-weight:700;
}
.dwmd-invest-account__checklist li:before{
  content:"✓";
  position:absolute;
  left:16px;
  top:13px;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#0c8290;
  color:#fff;
  font-size:14px;
  font-weight:900;
}
@media(max-width:760px){
  .dwmd-invest-account{margin:18px auto;padding:0 14px 32px;}
  .dwmd-invest-account__hero{display:block;padding:24px;border-radius:24px;}
  .dwmd-invest-account__hero .dwmd-invest-account__button{margin-top:18px;width:100%;}
  .dwmd-invest-account__grid{grid-template-columns:1fr;}
  .dwmd-invest-account__checklist{grid-template-columns:1fr;}
  .dwmd-invest-account__data{grid-template-columns:1fr;gap:4px;}
  .dwmd-invest-account__status{display:block;}
  .dwmd-invest-account__status strong{display:block;text-align:left;margin-top:8px;}
  .dwmd-invest-account__actions .dwmd-invest-account__button{width:100%;}
}


/* ============================================================
   v1.6.5 – Frontend UI polish and theme/Elementor hardening
   ============================================================ */
html.dwmd-invest-modal-open,
body.dwmd-invest-modal-open{overflow:hidden!important;overscroll-behavior:none!important}

/* Plugin-owned controls must not inherit decorative pseudo icons from themes. */
.dwmd-invest-rechner :is(
  .dwmd-expert-paywall__close,
  .dwmd-pdf-preview__close,
  .cp-close,
  .ev-close,
  .dwmd-auth-tab,
  .dwmd-auth-submit,
  .dwmd-expert-paywall__primary,
  .dwmd-expert-paywall__demo,
  .dwmd-pdf-preview__print,
  .dwmd-pdf-preview__cancel,
  .mode-btn,
  .vm-btn,
  .sim-btn,
  .ev-btn,
  .ev-add,
  .cp-btn,
  .cp-add,
  .help-btn
)::before,
.dwmd-invest-rechner :is(
  .dwmd-expert-paywall__close,
  .dwmd-pdf-preview__close,
  .cp-close,
  .ev-close,
  .dwmd-auth-tab,
  .dwmd-auth-submit,
  .dwmd-expert-paywall__primary,
  .dwmd-expert-paywall__demo,
  .dwmd-pdf-preview__print,
  .dwmd-pdf-preview__cancel,
  .mode-btn,
  .vm-btn,
  .sim-btn,
  .ev-btn,
  .ev-add,
  .cp-btn,
  .cp-add,
  .help-btn
)::after{content:none!important;display:none!important}

.dwmd-invest-rechner :is(
  .dwmd-auth-tab,
  .dwmd-auth-submit,
  .dwmd-expert-paywall__primary,
  .dwmd-expert-paywall__demo,
  .dwmd-pdf-preview__print,
  .dwmd-pdf-preview__cancel,
  .mode-btn,
  .vm-btn,
  .sim-btn,
  .ev-btn,
  .ev-add,
  .cp-btn,
  .cp-add,
  .help-btn
){
  font-family:inherit!important;
  font-style:normal!important;
  text-transform:none!important;
  letter-spacing:normal!important;
  line-height:1.25!important;
  text-decoration:none!important;
  text-shadow:none!important;
  background-image:none!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  transform:none;
}

/* Robust, consistent close controls with inline SVG instead of a font glyph. */
.dwmd-invest-rechner :is(.dwmd-expert-paywall__close,.dwmd-pdf-preview__close,.cp-close,.ev-close){
  all:unset!important;
  box-sizing:border-box!important;
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  padding:0!important;
  border:1px solid #d7e3e8!important;
  border-radius:12px!important;
  background:#eef5f6!important;
  color:#0f6674!important;
  box-shadow:0 1px 3px rgba(15,35,55,.08)!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
}
.dwmd-invest-rechner .dwmd-expert-paywall__close{position:absolute!important;top:16px!important;right:16px!important;z-index:20!important}
.dwmd-invest-rechner .dwmd-pdf-preview__close{flex:0 0 auto!important}
.dwmd-invest-rechner :is(.cp-close,.ev-close){float:none!important;margin-left:auto!important}
.dwmd-invest-rechner .dwmd-close-icon{display:block!important;width:20px!important;height:20px!important;overflow:visible!important;pointer-events:none!important}
.dwmd-invest-rechner .dwmd-close-icon path{fill:none!important;stroke:currentColor!important;stroke-width:2.1!important;stroke-linecap:round!important}
.dwmd-invest-rechner :is(.dwmd-expert-paywall__close,.dwmd-pdf-preview__close,.cp-close,.ev-close):hover{
  background:#dfeff2!important;
  border-color:#9bc5cc!important;
  color:#0a5662!important;
}
.dwmd-invest-rechner :is(.dwmd-expert-paywall__close,.dwmd-pdf-preview__close,.cp-close,.ev-close):focus-visible{
  outline:3px solid rgba(26,122,140,.28)!important;
  outline-offset:3px!important;
}

/* Paywall dialog: better spacing, scrolling and protection from embedded content overflow. */
.dwmd-invest-rechner .dwmd-expert-paywall{padding:clamp(12px,3vw,28px)!important}
.dwmd-invest-rechner .dwmd-expert-paywall__dialog{
  width:min(680px,calc(100vw - 32px))!important;
  max-height:calc(100dvh - 32px)!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
  padding:clamp(22px,4vw,34px)!important;
  border-radius:22px!important;
  isolation:isolate!important;
}
.dwmd-invest-rechner .dwmd-expert-paywall__eyebrow{padding-right:58px!important}
.dwmd-invest-rechner .dwmd-expert-paywall h3{
  margin:0 58px 14px 0!important;
  font-size:clamp(24px,4vw,34px)!important;
  line-height:1.12!important;
  overflow-wrap:anywhere!important;
}
.dwmd-invest-rechner .dwmd-expert-paywall__custom-content,
.dwmd-invest-rechner .dwmd-expert-paywall__custom-content *{max-width:100%}
.dwmd-invest-rechner .dwmd-expert-paywall__custom-content img{height:auto!important}
.dwmd-invest-rechner .dwmd-expert-paywall__features{gap:10px!important}
.dwmd-invest-rechner .dwmd-expert-paywall__features span{min-height:52px!important;padding:12px 14px!important;border-radius:12px!important}
.dwmd-invest-rechner .dwmd-expert-paywall__auth{padding:14px!important;border-radius:16px!important}
.dwmd-invest-rechner .dwmd-auth-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
.dwmd-invest-rechner .dwmd-auth-tab{min-width:0!important;min-height:46px!important;padding:10px 8px!important;white-space:normal!important;overflow-wrap:anywhere!important;border-radius:11px!important}
.dwmd-invest-rechner .dwmd-auth-pane input{
  min-height:48px!important;
  line-height:1.3!important;
  box-shadow:none!important;
  transition:border-color .15s ease,box-shadow .15s ease!important;
}
.dwmd-invest-rechner .dwmd-auth-pane input:focus{
  border-color:#1a7a8c!important;
  box-shadow:0 0 0 3px rgba(26,122,140,.14)!important;
}
.dwmd-invest-rechner .dwmd-auth-submit,
.dwmd-invest-rechner .dwmd-expert-paywall__primary,
.dwmd-invest-rechner .dwmd-expert-paywall__demo{
  min-height:48px!important;
  border-radius:12px!important;
  transition:filter .15s ease,box-shadow .15s ease,border-color .15s ease!important;
}
.dwmd-invest-rechner :is(.dwmd-auth-submit,.dwmd-expert-paywall__primary):hover{filter:brightness(.95)!important}
.dwmd-invest-rechner :is(.dwmd-auth-submit,.dwmd-expert-paywall__primary,.dwmd-expert-paywall__demo,.dwmd-auth-tab):focus-visible{
  outline:3px solid rgba(26,122,140,.25)!important;
  outline-offset:2px!important;
}
.dwmd-invest-rechner .dwmd-expert-paywall__note{border-radius:10px!important;padding:11px 13px!important}

/* PDF preview and smaller event dialogs follow the same visual system. */
.dwmd-invest-rechner .dwmd-pdf-preview__bar{min-width:0!important}
.dwmd-invest-rechner .dwmd-pdf-preview__bar>div{min-width:0!important}
.dwmd-invest-rechner .dwmd-pdf-preview__bar strong,
.dwmd-invest-rechner .dwmd-pdf-preview__bar span{overflow-wrap:anywhere!important}
.dwmd-invest-rechner #chartPopup{max-width:min(340px,calc(100vw - 32px))!important;border-radius:14px!important}
.dwmd-invest-rechner #chartPopup .cp-year,
.dwmd-invest-rechner .ev-year{display:flex!important;align-items:center!important;gap:10px!important}
.dwmd-invest-rechner #chartPopup .cp-btn,
.dwmd-invest-rechner .ev-btn{border-radius:9px!important}
.dwmd-invest-rechner :is(.card,.banner,.kombi-section,.ev-area,#chartPopup){overflow-wrap:anywhere}

@media(max-width:760px){
  .dwmd-invest-rechner .dwmd-expert-paywall{align-items:flex-end!important;padding:0!important}
  .dwmd-invest-rechner .dwmd-expert-paywall__dialog{
    width:100%!important;
    max-height:calc(100dvh - 10px)!important;
    border-radius:22px 22px 0 0!important;
    padding:22px 18px calc(22px + env(safe-area-inset-bottom))!important;
  }
  .dwmd-invest-rechner .dwmd-expert-paywall__close{top:12px!important;right:12px!important}
  .dwmd-invest-rechner .dwmd-expert-paywall__eyebrow{padding-right:50px!important}
  .dwmd-invest-rechner .dwmd-expert-paywall h3{margin-right:50px!important;font-size:26px!important}
  .dwmd-invest-rechner .dwmd-expert-paywall__features span{min-height:48px!important}
  .dwmd-invest-rechner .dwmd-auth-tabs{grid-template-columns:1fr!important}
  .dwmd-invest-rechner .dwmd-expert-paywall__actions{display:grid!important;grid-template-columns:1fr!important}
  .dwmd-invest-rechner .dwmd-expert-paywall__primary,
  .dwmd-invest-rechner .dwmd-expert-paywall__demo{width:100%!important}
  .dwmd-invest-rechner .dwmd-pdf-preview__bar{padding:14px!important;gap:12px!important}
}

@media(prefers-reduced-motion:reduce){
  .dwmd-invest-rechner *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* Patch 1.6.6: Robustes Mobile-Layout für Kern-, Experten- und Freibetragsfelder. */
.dwmd-invest-rechner .dwmd-core-fields-grid,
.dwmd-invest-rechner .dwmd-expert-tax-grid{
  min-width:0;
}
.dwmd-invest-rechner .dwmd-core-fields-grid > div,
.dwmd-invest-rechner .dwmd-expert-tax-grid > div{
  min-width:0;
}
.dwmd-invest-rechner .dwmd-spb-row{
  display:grid!important;
  grid-template-columns:minmax(230px,auto) minmax(140px,160px) minmax(210px,1fr);
  align-items:center!important;
  gap:10px 14px!important;
}
.dwmd-invest-rechner .dwmd-spb-label{
  min-width:0;
  margin:0!important;
  white-space:normal!important;
  line-height:1.35!important;
}
.dwmd-invest-rechner .dwmd-spb-input{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
}
.dwmd-invest-rechner .dwmd-spb-hint{
  min-width:0;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:auto;
  line-height:1.45!important;
}
.dwmd-invest-rechner .dwmd-onetime-row{
  min-width:0;
}
.dwmd-invest-rechner .dwmd-onetime-row > *{
  min-width:0;
}

@media(max-width:900px){
  .dwmd-invest-rechner .dwmd-core-fields-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .dwmd-invest-rechner .dwmd-core-fields-grid > div:last-child{
    grid-column:1 / -1;
  }
  .dwmd-invest-rechner .dwmd-expert-tax-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .dwmd-invest-rechner .dwmd-spb-row{
    grid-template-columns:1fr!important;
    align-items:stretch!important;
    padding:12px!important;
    gap:8px!important;
  }
  .dwmd-invest-rechner .dwmd-spb-label,
  .dwmd-invest-rechner .dwmd-spb-hint{
    width:100%!important;
  }
  .dwmd-invest-rechner .dwmd-spb-input{
    width:100%!important;
    max-width:none!important;
  }
  .dwmd-invest-rechner .dwmd-onetime-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:stretch!important;
    gap:8px!important;
    padding:12px!important;
  }
  .dwmd-invest-rechner .dwmd-onetime-row label{
    width:100%!important;
    white-space:normal!important;
  }
  .dwmd-invest-rechner .dwmd-onetime-row .inp-eur{
    width:100%!important;
    max-width:none!important;
  }

  /* Auf Mobilgeräten nur die eigenen, größeren Stepper anzeigen. */
  .dwmd-invest-rechner input[type=number]{
    appearance:textfield!important;
    -webkit-appearance:none!important;
    -moz-appearance:textfield!important;
  }
  .dwmd-invest-rechner input[type=number]::-webkit-outer-spin-button,
  .dwmd-invest-rechner input[type=number]::-webkit-inner-spin-button{
    -webkit-appearance:none!important;
    display:none!important;
    margin:0!important;
  }
}

@media(max-width:430px){
  .dwmd-invest-rechner .dwmd-core-fields-grid,
  .dwmd-invest-rechner .dwmd-expert-tax-grid{
    grid-template-columns:1fr!important;
  }
  .dwmd-invest-rechner .dwmd-core-fields-grid > div:last-child{
    grid-column:auto;
  }
  .dwmd-invest-rechner .dwmd-spb-row{
    padding:11px!important;
  }
}

