.mp-details-button{display:inline-flex;align-items:center;gap:7px;margin:0 0 12px;padding:0;border:0;border-bottom:1px solid currentColor;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:800;cursor:pointer;--mp-detail-background:#fff;--mp-detail-color:#17232c;--mp-detail-accent:var(--mp-accent,#43D3B0);--mp-detail-radius:24px;--mp-detail-width:1040px}
.mp-details-button span{transition:transform .2s}
.mp-details-button:hover span{transform:translateX(4px)}
.mp-details-modal{position:fixed;z-index:999998;inset:0;display:grid;box-sizing:border-box;overflow-y:auto;padding:28px;place-items:center;background:rgba(8,14,20,.8);backdrop-filter:blur(8px)}
.mp-details-modal__frame{position:relative;box-sizing:border-box;width:min(var(--mp-detail-width,1040px),96vw);max-height:min(900px,92vh)}
.mp-details-modal__panel{position:relative;box-sizing:border-box;width:100%;max-height:min(900px,92vh);overflow:auto;border:1px solid rgba(255,255,255,.5);border-radius:var(--mp-detail-radius,24px);background:var(--mp-detail-background,#fff);color:var(--mp-detail-color,#17232c);box-shadow:0 32px 100px rgba(0,0,0,.38);-ms-overflow-style:none;overscroll-behavior:contain;scrollbar-width:none}
.mp-details-modal__panel::-webkit-scrollbar{display:none;width:0;height:0}
.mp-details-scrollbar{position:absolute;z-index:8;top:10%;right:7px;width:9px;height:80%;overflow:hidden;border-radius:999px;background:#e5ecef;box-shadow:inset 0 0 0 1px rgba(16,42,67,.08);cursor:pointer}
.mp-details-scrollbar[hidden]{display:none}
.mp-details-scrollbar>span{display:block;width:100%;min-height:54px;border-radius:999px;background:#81949e;box-shadow:0 2px 6px rgba(16,42,67,.18);transition:height .15s ease,transform .08s linear}
.mp-details-modal__close{position:sticky;z-index:5;top:16px;float:right;display:grid;width:44px;height:44px;margin:16px 16px -60px 20px;padding:0;place-items:center;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:#102A43;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.22);font-size:29px;line-height:1;cursor:pointer}
.mp-details-modal__close:hover{background:var(--mp-detail-accent,#43D3B0);color:#102A43}
.mp-details-content{padding:28px}
.mp-details-hero{display:grid;grid-template-columns:minmax(0,.82fr) minmax(320px,1.18fr);gap:30px;align-items:center}
.mp-details-hero.has-no-gallery{display:block}
.mp-details-hero.has-no-gallery .mp-details-intro{width:min(100%,920px);padding-right:0}
.mp-details-intro{padding:30px 20px 30px 0}
.mp-details-content__eyebrow{display:block;margin-bottom:9px;color:#60737f;font-size:11px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.mp-details-content h2{margin:0 0 16px;padding-right:35px;color:inherit;font-size:clamp(28px,4vw,46px);line-height:1.08}
.mp-details-lead{margin:16px 0 0;color:#536772;font-size:16px;line-height:1.65}
.mp-details-gallery{min-width:0;overflow:hidden;border-radius:18px;background:#eef3f4}
.mp-details-gallery__main{position:relative;display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.mp-details-gallery__main img{display:block;width:100%;height:clamp(250px,28vw,340px);object-fit:cover}
.mp-details-gallery__main>span{position:absolute;right:14px;bottom:14px;display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:rgba(16,42,67,.88);color:#fff;font-size:22px;box-shadow:0 8px 20px rgba(0,0,0,.25);backdrop-filter:blur(5px)}
.mp-details-gallery__thumbs{display:flex;gap:8px;overflow-x:auto;padding:10px;background:#fff;scrollbar-width:thin}
.mp-details-gallery__thumbs button{flex:0 0 64px;width:64px;height:52px;overflow:hidden;padding:0;border:2px solid transparent;border-radius:9px;background:#edf1f2;cursor:pointer}
.mp-details-gallery__thumbs button.is-active{border-color:var(--mp-detail-accent,#43D3B0)}
.mp-details-gallery__thumbs img{display:block;width:100%;height:100%;object-fit:cover}
.mp-details-section{margin-top:26px;padding-top:26px;border-top:1px solid #e2e9ec}
.mp-details-section>h3{margin:0 0 16px;color:inherit;font-size:20px;line-height:1.25}
.mp-details-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:10px;margin:0}
.mp-details-facts span{display:grid;align-content:start;gap:4px;min-height:76px;padding:14px;border:1px solid #dce7eb;border-radius:13px;background:#f4faf8}
.mp-details-facts small{color:#6c7e8c;font-size:11px;line-height:1.3}
.mp-details-facts strong{overflow-wrap:anywhere;color:#102A43;font-size:14px;line-height:1.4}
.mp-details-content__body{font-size:16px;line-height:1.75}
.mp-details-content__body>:first-child{margin-top:0}
.mp-details-content__body>:last-child{margin-bottom:0}
.mp-details-content__body h2,.mp-details-content__body h3,.mp-details-content__body h4{margin:1.4em 0 .55em;padding:0;line-height:1.25}
.mp-details-content__body img{max-width:100%;height:auto;border-radius:12px}
.mp-details-included{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;padding:0;list-style:none}
.mp-details-included li{display:flex;gap:9px;align-items:flex-start;padding:11px 12px;border-radius:11px;background:#f6f8f9;line-height:1.45}
.mp-details-included li>span{display:grid;flex:0 0 20px;width:20px;height:20px;place-items:center;border-radius:50%;background:var(--mp-detail-accent,#43D3B0);color:#102A43;font-size:11px;font-weight:900}
.mp-details-cta{position:sticky;z-index:3;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:30px -28px -28px;padding:18px 28px;border-top:1px solid #dbe5e8;background:rgba(255,255,255,.94);box-shadow:0 -12px 35px rgba(16,42,67,.08);backdrop-filter:blur(10px)}
.mp-details-cta>div{display:grid;gap:3px}
.mp-details-cta small{color:#657984;font-size:11px;font-weight:800;text-transform:uppercase}
.mp-details-cta strong{font-size:15px;line-height:1.35}
.mp-details-cta button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 18px;border:0;border-radius:12px;background:var(--mp-detail-accent,#43D3B0);color:#102A43;font:inherit;font-size:14px;font-weight:900;cursor:pointer}
.mp-details-cta button:hover span{transform:translateX(3px)}
.mp-details-cta button span{transition:transform .2s}
@media(max-width:760px){
  .mp-details-modal{height:100vh;height:100dvh;align-items:end;padding:max(5px,env(safe-area-inset-top)) max(5px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left))}
  .mp-details-modal__frame{width:100%;max-width:100%;max-height:calc(100vh - 10px);max-height:calc(100dvh - 10px)}
  .mp-details-modal__panel{max-height:calc(100vh - 10px);max-height:calc(100dvh - 10px);border-radius:20px 20px 14px 14px;scrollbar-width:thin}
  .mp-details-modal__panel::-webkit-scrollbar{display:block;width:5px}
  .mp-details-modal__panel::-webkit-scrollbar-track{margin:54px 0 18px;background:transparent}
  .mp-details-modal__panel::-webkit-scrollbar-thumb{border-radius:99px;background:#9aabb3}
  .mp-details-scrollbar{display:none}
  .mp-details-modal__panel:before{position:sticky;z-index:4;top:7px;display:block;width:42px;height:4px;margin:7px auto -11px;border-radius:9px;background:#cbd5da;content:""}
  .mp-details-modal__close{top:15px;width:42px;height:42px;margin:15px 14px -57px 12px}
  .mp-details-content{padding:18px 15px 22px}
  .mp-details-hero{grid-template-columns:1fr;gap:0}
  .mp-details-intro{padding:18px 2px 2px}
  .mp-details-content h2{margin-bottom:10px;padding-right:44px;font-size:clamp(25px,8vw,34px)}
  .mp-details-lead{margin-top:10px;font-size:14px;line-height:1.55}
  .mp-details-gallery{border-radius:14px}
  .mp-details-gallery__main img{height:clamp(180px,48vw,250px);min-height:0}
  .mp-details-gallery__main>span{right:10px;bottom:10px;width:38px;height:38px}
  .mp-details-gallery__thumbs{gap:7px;padding:8px;scroll-snap-type:x proximity}
  .mp-details-gallery__thumbs button{flex-basis:58px;width:58px;height:48px;scroll-snap-align:start}
  .mp-details-section{margin-top:21px;padding-top:21px}
  .mp-details-section>h3{margin-bottom:13px;font-size:18px}
  .mp-details-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mp-details-facts span{min-height:68px;padding:12px}
  .mp-details-included{grid-template-columns:1fr}
  .mp-details-content__body{font-size:15px;line-height:1.68}
  .mp-details-cta{display:grid;margin:25px -15px -22px;padding:14px 15px calc(14px + env(safe-area-inset-bottom))}
  .mp-details-cta button{width:100%}
}
@media(max-width:360px){
  .mp-details-facts{grid-template-columns:1fr}
  .mp-details-gallery__main img{height:175px}
}

/* Globale Vermivo-Darstellung auch im Detailfenster. */
.mp-details-button{--mp-detail-background:var(--mp-card-bg,#fff);--mp-detail-color:var(--mp-text,#334E68);--mp-detail-accent:var(--mp-accent,#43D3B0)}
.mp-details-content h2,.mp-details-section>h3,.mp-details-facts strong{color:var(--mp-heading,#102A43)}
.mp-details-lead,.mp-details-content__body{color:var(--mp-text,#334E68)}
.mp-details-facts span{border-color:var(--mp-card-border,#DCE5EA);border-radius:var(--mp-field-radius,8px);background:color-mix(in srgb,var(--mp-accent,#43D3B0) 6%,var(--mp-card-bg,#fff))}
.mp-details-cta{border-color:var(--mp-card-border,#DCE5EA);background:color-mix(in srgb,var(--mp-card-bg,#fff) 94%,transparent)}
.mp-details-cta button{border-radius:var(--mp-button-radius,10px);background:var(--mp-button-bg,var(--mp-accent,#43D3B0));color:var(--mp-button-text,#102A43)}
.mp-details-cta button:hover{background:var(--mp-button-hover-bg,#102A43);color:var(--mp-button-hover-text,#fff)}
