/* nm_gewaehrleistung – Link und Dialog. Alles unter dem Präfix nmgw-, damit nichts mit dem Theme kollidiert. */
.nmgw-wrap{margin:.6rem 0 0;font-size:.9rem;line-height:1.4}
.nmgw-wrap--right{text-align:right}
.nmgw-wrap--center{text-align:center}
.nmgw-wrap--left{text-align:left}
/* !important, weil Themes Links in Kaufbereichen oft pauschal ohne Unterstreichung setzen */
.nmgw-wrap a.nmgw-link{color:inherit;text-decoration:underline!important;text-underline-offset:.15em;cursor:pointer}
.nmgw-wrap a.nmgw-link:hover,.nmgw-wrap a.nmgw-link:focus{text-decoration-thickness:2px}
.nmgw-wrap a.nmgw-link--button,.nmgw-wrap a.nmgw-link--badge{text-decoration:none!important}
.nmgw-link--button{display:inline-block;padding:.45em .9em;border:1px solid currentColor;border-radius:4px;text-decoration:none}
.nmgw-link--badge{display:inline-block;padding:.35em .75em;background:#003399;color:#fff!important;border-radius:999px;text-decoration:none;font-weight:600}
.nmgw-link--badge:hover,.nmgw-link--badge:focus{background:#002277}

.nmgw-open{overflow:hidden}
.nmgw-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:1rem}
.nmgw-modal[hidden]{display:none}
.nmgw-modal__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.55)}
.nmgw-modal__dialog{position:relative;background:#fff;color:#1b1b20;width:100%;max-width:860px;max-height:94vh;max-height:94dvh;display:flex;flex-direction:column;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,.35);opacity:0;transform:translateY(8px);transition:opacity .18s ease,transform .18s ease}
.nmgw-modal.is-open .nmgw-modal__dialog{opacity:1;transform:none}
.nmgw-modal__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem .75rem .75rem 1.2rem;border-bottom:1px solid #e5e5e5}
.nmgw-modal__title{margin:0;font-size:1.15rem;font-weight:700;line-height:1.3}
.nmgw-modal__close{appearance:none;-webkit-appearance:none;border:0;background:transparent;color:inherit;font-size:1.9rem;line-height:1;cursor:pointer;padding:0;min-width:44px;min-height:44px;border-radius:6px}
.nmgw-modal__close:hover,.nmgw-modal__close:focus{background:#f0f0f0;outline:none}
.nmgw-modal__close:focus-visible{outline:2px solid #003399;outline-offset:2px}
.nmgw-modal__body{overflow:auto;padding:1rem 1.2rem 1.3rem;-webkit-overflow-scrolling:touch}
.nmgw-modal__intro,.nmgw-page__intro{margin:0 0 .9rem;font-size:.92rem;color:#555}
.nmgw-modal__img,.nmgw-page__img{display:block;width:100%;max-width:700px;height:auto;margin:0 auto;box-shadow:0 1px 6px rgba(0,0,0,.12)}
.nmgw-modal__text,.nmgw-page__text{margin-top:1rem;font-size:.9rem}
.nmgw-modal__text summary,.nmgw-page__text summary{cursor:pointer;font-weight:600}
.nmgw-modal__text div,.nmgw-page__text div{white-space:pre-line;margin-top:.5rem;line-height:1.5}
.nmgw-modal__links,.nmgw-page__links{margin-top:1rem;display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;font-size:.9rem}
.nmgw-page{max-width:900px;margin:0 auto}
@media (prefers-reduced-motion:reduce){.nmgw-modal__dialog{transition:none}}
@media (max-width:575.98px){
  .nmgw-modal{padding:0;align-items:flex-end}
  .nmgw-modal__dialog{max-height:100vh;max-height:100dvh;border-radius:12px 12px 0 0}
}
@media print{.nmgw-modal__backdrop{display:none}.nmgw-modal__dialog{box-shadow:none;max-height:none}}
