/* BeMed Leistungen: self-contained layout, 2026-11-10 */
body.kv7-body .bm-layout-section{box-sizing:border-box;display:block;position:relative;clear:both;width:100%;margin:0;padding:76px 24px;background:#fff;color:#142a61}
body.kv7-body .bm-layout-section *{box-sizing:border-box}
.bm-container{max-width:1190px;margin:0 auto;width:100%;min-width:0}
.bm-section-heading{max-width:790px;margin-bottom:32px}.bm-section-heading h2{font-size:clamp(28px,3.5vw,42px);line-height:1.15;letter-spacing:-.035em;margin:10px 0 15px;color:#142a61}.bm-section-heading p{font-size:16px;line-height:1.7;color:#526582;margin:0 0 12px}
.bm-eyebrow{font-size:11px;font-weight:850;letter-spacing:.14em;color:#ff5b26;text-transform:uppercase}.bm-intro{background:linear-gradient(180deg,#f5f8ff,#fff)}
.bm-system{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1.1fr) 42px minmax(0,1.3fr);align-items:stretch;gap:10px}
.bm-system-item{border-radius:19px;padding:25px 21px;min-width:0;border:1px solid #dce5f4;background:#fff;box-shadow:0 12px 32px rgba(18,42,90,.06)}
.bm-system-item span{display:block;font-size:11px;letter-spacing:.045em;text-transform:uppercase;font-weight:800;color:#678}.bm-system-item strong{display:block;font-size:24px;margin:15px 0 10px;line-height:1.2}.bm-system-item p{margin:0;font-size:13px;line-height:1.55;color:#516380}.bm-subsidy{background:#e6ebf2}.bm-premium{background:#09284f;color:#fff}.bm-premium span,.bm-premium p{color:#d2ddf3}.bm-supplements{display:grid;gap:9px}.bm-add{background:#f2f6ff;padding:13px 18px;border-left:4px solid #ff5b26}.bm-add strong{font-size:17px;margin:6px 0 3px}.bm-add p{font-size:12px}.bm-add span{font-size:10px}.bm-plus{display:grid;place-items:center;color:#ff5b26;font-size:34px;font-weight:900}.bm-caption{font-size:13px;color:#566988;margin:18px 0 23px}.bm-actions{display:flex;flex-wrap:wrap;gap:12px}.bm-button{display:inline-flex;justify-content:center;align-items:center;gap:5px;padding:14px 20px;border-radius:10px;background:#3158ed;color:#fff!important;font-size:14px;font-weight:800;text-decoration:none!important;white-space:normal}.bm-button:hover{background:#2242bf}.bm-secondary{background:#fff;color:#193b7c!important;border:1px solid #b7c9ed}.bm-secondary:hover{background:#ecf2ff}
body.kv7-body .bm-benefits{background:#f7f9fe}.bm-small-note{font-size:13px!important;color:#66758f!important}.bm-topicnav{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:26px}.bm-topicnav a{padding:11px 15px;border-radius:10px;background:#fff;color:#143468;font-size:13px;font-weight:750;border:1px solid #dbe5f7;text-decoration:none}.bm-topicnav a:hover{border-color:#3158ed;color:#3158ed}.bm-benefit-list{display:grid;gap:20px}.bm-benefit-group{scroll-margin-top:105px;display:grid;grid-template-columns:minmax(215px,.36fr) minmax(0,1fr);gap:28px;background:#fff;border:1px solid #dce5f4;border-radius:18px;padding:28px;box-shadow:0 10px 26px #112a5b0b}.bm-group-title h3{font-size:24px;line-height:1.2;letter-spacing:-.02em;margin:0 0 10px;color:#142a61}.bm-group-title p{font-size:14px;line-height:1.5;color:#60718b}.bm-detail-grid{display:grid;gap:8px;min-width:0}.bm-benefit-detail{border:1px solid #e3e9f4;border-radius:11px;background:#fbfcff;overflow:hidden;min-width:0}.bm-benefit-detail summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px;cursor:pointer;padding:15px 17px;color:#173a72;font-size:14px;font-weight:750}.bm-benefit-detail summary::-webkit-details-marker{display:none}.bm-detail-plus{color:#fa5b27;font-size:21px;line-height:1}.bm-benefit-detail[open] .bm-detail-plus{transform:rotate(45deg)}.bm-detail-desc{border-top:1px solid #e3e9f4;padding:13px 17px 17px;color:#526582;font-size:14px;line-height:1.65}.bm-midcta{border-radius:20px;background:#102a5c;color:#fff;padding:26px 31px;display:flex;justify-content:space-between;gap:30px;align-items:center;margin-top:30px}.bm-midcta strong{display:block;font-size:22px}.bm-midcta p{margin:6px 0 0;color:#d2ddf1}.bm-midcta .bm-button{flex-shrink:0}
body.kv7-body .bm-how{background:#fff}.bm-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.bm-flow>div{padding:24px;border:1px solid #dfe7f5;border-radius:17px;background:#f7f9ff;min-width:0}.bm-flow span{font-size:12px;font-weight:900;color:#ff5b26}.bm-flow h3{margin:12px 0 9px;font-size:19px;color:#142a61}.bm-flow p{margin:0;font-size:14px;color:#5a6b88;line-height:1.6}.bm-faq{background:#f7f9fe!important}.bm-faq-list{display:grid;gap:10px;max-width:920px}.bm-faq-list details{background:#fff;border:1px solid #dce5f4;border-radius:12px;padding:17px 20px}.bm-faq-list summary{cursor:pointer;font-size:15px;font-weight:800;color:#142a61}.bm-faq-list p{margin:13px 0 0;color:#566988;line-height:1.6}
body.kv7-body .bm-endcta{background:#10295b;color:#fff}.bm-endcta-inner{display:flex;justify-content:space-between;align-items:center;gap:35px}.bm-endcta h2{font-size:clamp(26px,3vw,36px);line-height:1.15;margin:11px 0;color:#fff}.bm-endcta p{color:#d5e1f6;max-width:700px;line-height:1.65;margin:0}.bm-endcta-actions{display:grid;gap:14px;justify-items:center;flex-shrink:0}.bm-button-light{background:#fff;color:#173976!important}.bm-phone{color:#fff!important;font-weight:800}
@media(max-width:980px){.bm-system{grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);gap:8px}.bm-system>.bm-plus:nth-of-type(4){display:none}.bm-supplements{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}.bm-benefit-group{grid-template-columns:1fr;gap:10px}.bm-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:660px){body.kv7-body .bm-layout-section{padding:53px 18px}.bm-system{grid-template-columns:1fr}.bm-system>.bm-plus{min-height:20px}.bm-supplements{grid-column:auto;grid-template-columns:1fr}.bm-system-item{padding:19px}.bm-benefit-group{padding:20px}.bm-topicnav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}.bm-topicnav a{white-space:nowrap}.bm-flow{grid-template-columns:1fr}.bm-midcta,.bm-endcta-inner{display:block}.bm-midcta .bm-button,.bm-endcta-actions{margin-top:18px}.bm-endcta-actions{justify-items:start}.bm-section-heading h2{font-size:30px}}

/* Accurate relationship: Premium E and Zweibett independently optional; Einbett is added to Zweibett. */
.bm-system{grid-template-columns:minmax(0,1fr) 42px minmax(0,1.1fr) 42px minmax(0,1.3fr)}
.bm-system>.bm-plus:nth-child(4){font-size:0;position:relative;overflow:visible}
.bm-system>.bm-plus:nth-child(4)::before,.bm-system>.bm-plus:nth-child(4)::after{content:'+';position:absolute;left:50%;transform:translateX(-50%);font-size:34px;font-weight:900;color:#ff5b26;line-height:1}
.bm-system>.bm-plus:nth-child(4)::before{top:15%}
.bm-system>.bm-plus:nth-child(4)::after{top:50%}
.bm-supplements{grid-template-rows:repeat(3,minmax(0,1fr));position:relative}
.bm-plus-einbett{display:flex;align-items:center;justify-content:center;position:absolute;top:calc(66.666% - 4px);left:50%;transform:translate(-50%,-50%);z-index:3;color:#ff5b26;background:#fff;font-size:30px;font-weight:900;width:37px;height:37px;line-height:1;border-radius:50%}
@media(max-width:980px){.bm-system>.bm-plus:nth-child(4){display:none}.bm-supplements{grid-template-rows:auto;grid-template-columns:repeat(2,minmax(0,1fr))}.bm-supplements .bm-add:first-child{grid-column:1/-1}.bm-plus-einbett{left:75%;top:calc(50% + 18px)}}
@media(max-width:660px){.bm-system>.bm-plus:nth-child(4){display:none}.bm-supplements{grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr));gap:16px}.bm-supplements .bm-add:first-child{grid-column:auto}.bm-plus-einbett{top:calc(66.666% - 3px);left:50%}.bm-system>.bm-plus{display:grid}}

/* Last correction: floating + belongs to Einbett card itself, not a fourth grid row. */
.bm-supplements>.bm-add:last-child{position:relative}
.bm-supplements>.bm-add:last-child>.bm-plus-einbett{position:absolute;top:-24px;left:50%;transform:translateX(-50%);z-index:5;display:flex;align-items:center;justify-content:center;color:#ff5b26;background:white;width:36px;height:36px;line-height:1;border-radius:50%;font-size:30px;font-weight:900}
@media(max-width:980px){.bm-supplements>.bm-add:last-child>.bm-plus-einbett{top:-23px;left:50%}}


/* Final mobile repair for the BeMed system graphic */
@media(max-width:660px){
  .bm-system{display:flex;flex-direction:column;align-items:stretch;gap:14px}
  .bm-system>.bm-plus{display:flex;align-items:center;justify-content:center;width:100%;min-height:auto;line-height:1}
  .bm-system>.bm-plus:nth-child(4){display:flex;position:static;font-size:34px;overflow:visible}
  .bm-system>.bm-plus:nth-child(4)::before,.bm-system>.bm-plus:nth-child(4)::after{content:none;display:none}
  .bm-supplements{display:flex;flex-direction:column;gap:16px;width:100%;min-width:0}
  .bm-system-item,.bm-supplements .bm-add{width:100%;max-width:none}
  .bm-supplements .bm-add{min-width:0}
  .bm-supplements>.bm-add:last-child>.bm-plus-einbett{top:-20px;left:50%;transform:translateX(-50%)}
  .bm-add strong{font-size:24px}
  .bm-add p{font-size:13px;line-height:1.5}
  .bm-add span{font-size:11px}
}
