:root{
  --dsm-gold:#cda154;
  --dsm-ink:#1a1a1a;
  --dsm-muted:#666;
  --dsm-cream:#fff6d1;
}
body.dsm-front{margin:0;background:#fff;color:var(--dsm-ink);font-family:Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.dsmf-wrap{max-width:1240px;margin:0 auto;padding:28px 22px 60px}
.dsmf-hero{text-align:center;margin:0 0 8px}
.dsmf-kicker{color:var(--dsm-gold);font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:12px;margin:0 0 6px}
.dsmf-hero h1{margin:0 0 8px;font-size:1.8rem}
.dsmf-sub{color:var(--dsm-muted);margin:0 0 12px;font-size:.95rem}

/* Startseiten-Stil: 5er-Grid, Overlay-Karten */
.dsmf-listing{
  display:flex;
  flex-wrap:wrap;
  margin:0 -22px;
  padding:32px 0 0;
}
.dsmf-cell{
  flex:0 0 20%;
  margin-bottom:30px;
  padding:0 22px;
  box-sizing:border-box;
}
.dsmf-card{
  position:relative;
  padding:11px;
  box-shadow:0 0 6px 1px rgba(82,82,82,.16);
  border-radius:5px;
  border:1px solid #e8e8e8;
  background:#fff;
  overflow:hidden;
}
.dsmf-card-link{
  position:absolute;
  inset:0;
  z-index:5;
  text-indent:-9999px;
}
.dsmf-card-img{
  display:block;
  width:100%;
  overflow:hidden;
  aspect-ratio:450/640;
  background:#111;
  line-height:0;
}
.dsmf-card-img img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.dsmf-card-desc{
  position:absolute;
  bottom:11px;
  left:11px;
  right:11px;
  z-index:4;
  padding:48px 18px 11px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-height:120px;
  font-size:12px;
  color:var(--dsm-cream);
  line-height:18px;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.55) 45%,rgba(0,0,0,.82) 100%);
  pointer-events:none;
}
.dsmf-card-desc p{margin:0}
.dsmf-card-desc b{
  font-size:18px;
  font-weight:700;
  color:#fff;
}
.dsmf-card-desc .dsmf-age{
  font-size:12px;
  font-weight:500;
  color:var(--dsm-gold);
}
.dsmf-card-desc .dsmf-price{
  margin-top:2px;
  color:var(--dsm-cream);
  font-size:12px;
}
.dsmf-ph{display:flex;align-items:center;justify-content:center;height:100%;min-height:160px;color:#999;background:#222}

@media(max-width:1100px){
  .dsmf-listing{margin:0;padding-top:20px}
  .dsmf-cell{flex:0 0 33.33%;padding:0 15px;margin-bottom:24px}
}
@media(max-width:760px){
  .dsmf-cell{flex:0 0 50%;padding:0 10px;margin-bottom:18px}
  .dsmf-card{padding:8px}
  .dsmf-card-desc{bottom:8px;left:8px;right:8px;padding:36px 12px 8px;min-height:96px;font-size:10px}
  .dsmf-card-desc b{font-size:14px}
}

/* Detail – 2 Spalten: links Galerie + Langtext darunter, rechts Infos */
.dsmf-back{margin:0 0 16px}
.dsmf-back a{color:var(--dsm-gold);font-weight:600;text-decoration:none}
.dsmf-detail{position:relative}

.dsmf-detail-layout{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(280px,380px);
  gap:22px;
  align-items:start;
}
.dsmf-col-media{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.dsmf-rail{
  width:100%;
  max-width:none;
  margin:0;
  /* bewusst nicht sticky / kein eigener Overflow – beide Spalten scrollen gemeinsam */
}

/* Fliegendes Widget – fixed unten rechts */
.dsmf-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:99990;
  display:flex;
  flex-direction:column;
  gap:8px;
  width:118px;
  pointer-events:none;
}
.dsmf-float__btn{
  pointer-events:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 12px;
  border-radius:999px;
  font-size:12.5px;
  font-weight:800;
  text-decoration:none!important;
  box-shadow:0 8px 24px rgba(0,0,0,.22);
  transition:transform .15s ease, filter .15s ease;
}
.dsmf-float__btn:hover{transform:translateY(-2px);filter:brightness(1.05)}
.dsmf-float__lbl{line-height:1.1}
.dsmf-float__btn--call{
  background:linear-gradient(180deg,#e0c07a,#cda154);
  color:#111!important;
}
.dsmf-float__btn--tg{
  background:#2AABEE;
  color:#fff!important;
}
.dsmf-float__btn--book{
  background:#1a1a1a;
  color:#f5e6c4!important;
  border:1px solid var(--dsm-gold);
}
.dsmf-gallery{
  width:100%;
  box-sizing:border-box;
  background:#fff;
  border:1px solid #e8e8e8;
  border-radius:8px;
  padding:12px;
  box-shadow:0 1px 4px rgba(0,0,0,.04);
  margin:0;
}
/* Club59-Viewer in DSM-Galerie */
.dsmf-gallery .ds-sedcard-detail__viewer{margin:0;max-width:none}
.dsmf-gallery .ds-sedcard-detail__viewer-stage-wrap{max-width:100%}
.dsmf-gallery .ds-sedcard-detail__viewer-stage{
  background:#111;
  border:1px solid var(--dsm-gold);
  border-radius:6px;
  aspect-ratio:auto;
  max-height:none;
}
.dsmf-gallery .ds-sedcard-detail__viewer-main{
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
}

.dsmf-panel{
  background:#fff;
  border:1px solid #e8e8e8;
  border-radius:8px;
  padding:16px 18px;
  box-shadow:0 1px 4px rgba(0,0,0,.04);
  margin:0 0 14px;
  color:#222;
}
.dsmf-panel--main{margin-top:0}
.dsmf-panel--main h1{
  margin:0 0 6px;
  font-size:1.75rem;
  color:var(--dsm-gold);
  font-weight:700;
  line-height:1.2;
}
.dsmf-tagline-hero{
  margin:0 0 12px;
  color:#777;
  font-size:13.5px;
  line-height:1.45;
  font-weight:500;
}
.dsmf-price-from{
  display:inline-block;
  margin:0 0 12px;
  padding:8px 12px;
  background:linear-gradient(180deg,#f7edd4,#f0e0b8);
  border:1px solid #e0c98a;
  border-radius:6px;
  color:#5c4a24;
  font-weight:700;
  font-size:14px;
  text-decoration:none;
}
.dsmf-price-from:hover{filter:brightness(1.03);color:#3d3118}
.dsmf-panel h3{
  margin:0 0 10px;
  color:var(--dsm-gold);
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.dsmf-fact-group{margin:14px 0 0}
.dsmf-fact-group:first-child{margin-top:4px}
.dsmf-fact-group__title{
  margin:0 0 4px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#b0893a;
}
.dsmf-facts{
  margin:0;
  padding:0;
  border-top:1px solid #eee;
}
.dsmf-facts > div{
  display:grid;
  grid-template-columns:36% 1fr;
  gap:8px 12px;
  padding:7px 0;
  border-bottom:1px solid #f0f0f0;
  font-size:13px;
  align-items:start;
  min-height:0;
}
/* Theme setzt teils line-height:0 auf dd → Überlagerung langer Werte */
.dsmf-facts dt,
.dsmf-facts dd{
  margin:0;
  padding:0;
  height:auto !important;
  max-height:none !important;
  line-height:1.45 !important;
  white-space:normal !important;
  overflow:visible !important;
  float:none !important;
  position:static !important;
  writing-mode:horizontal-tb !important;
  word-break:normal;
  overflow-wrap:anywhere;
}
.dsmf-facts dt{color:#888;font-weight:500}
.dsmf-facts dd{color:#222;font-weight:600;text-align:right}

.dsmf-list{list-style:none;margin:0;padding:0}
.dsmf-list--cols{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 14px;
  column-gap:14px;
}
.dsmf-list--cols li{break-inside:avoid}
@media (max-width:520px){
  .dsmf-list--cols{grid-template-columns:1fr}
}
.dsmf-list li{  position:relative;
  padding:7px 0 7px 14px;
  border-bottom:1px solid #f2f2f2;
  font-size:13.5px;
  color:#333;
  line-height:1.35;
}
.dsmf-list li:last-child{border-bottom:0}
.dsmf-list li::before{
  content:"";
  position:absolute;
  left:0;top:14px;
  width:5px;height:5px;
  border-radius:50%;
  background:var(--dsm-gold);
}
.dsmf-list--priced li{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding-left:14px;
}
.dsmf-list-label{flex:1;min-width:0}
.dsmf-list-price{flex:0 0 auto;font-weight:700;color:#5c4a24;white-space:nowrap}
.dsmf-panel--soft{background:#fafafa}
.dsmf-tagline{margin:0;font-size:12.5px;color:#777;line-height:1.55}
.dsmf-tags{display:flex;flex-wrap:wrap;gap:7px}
.dsmf-tag{
  display:inline-block;
  padding:4px 9px;
  border-radius:999px;
  border:1px solid #e6d7b0;
  background:linear-gradient(180deg,#fffdf8,#f7f0e0);
  color:#5c4a24;
  font-size:11.5px;
  font-weight:600;
  line-height:1.3;
}
.dsmf-list li{padding:6px 0 6px 14px;font-size:13px}

/* Preisbox – auffälliger Goldrand */
.dsmf-panel--prices{
  border:2px solid var(--dsm-gold);
  box-shadow:0 0 0 1px rgba(205,161,84,.25), 0 2px 10px rgba(205,161,84,.12);
  background:linear-gradient(180deg,#fffef9,#fff);
}
.dsmf-panel--prices h3{margin-bottom:8px}
.dsmf-prices{list-style:none;margin:0;padding:0}
.dsmf-prices li{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:7px 0;
  border-bottom:1px solid #f0e6cf;
  font-size:13.5px;
}
.dsmf-prices li:last-child{border-bottom:0}
.dsmf-prices span{color:#666}
.dsmf-prices strong{color:#222;font-weight:700}
#dsmf-prices:target{
  outline:2px solid var(--dsm-gold);
  outline-offset:3px;
  scroll-margin-top:80px;
}

/* Kontakt / Buchung – Entwurf */
.dsmf-actions{margin:12px 0 4px}
.dsmf-actions--primary{margin:4px 0 14px;padding-bottom:12px;border-bottom:1px solid #eee}
.dsmf-actions--repeat{margin:0 0 12px}
.dsmf-actions__kicker{
  margin:0 0 8px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#b0893a;
}
.dsmf-actions__grid{display:grid;grid-template-columns:1fr;gap:8px}
.dsmf-actions__hint{margin:8px 0 0;font-size:11.5px;color:#999;line-height:1.4}
.dsmf-btn{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  text-align:center;
  text-decoration:none!important;
  border-radius:8px;
  padding:11px 12px;
  font-weight:800;
  min-height:52px;
  box-sizing:border-box;
  transition:filter .15s ease, transform .15s ease;
}
.dsmf-btn:hover{filter:brightness(1.04);transform:translateY(-1px)}
.dsmf-btn__lbl{font-size:11px;letter-spacing:.06em;text-transform:uppercase;opacity:.85;line-height:1.2}
.dsmf-btn__val{font-size:14px;line-height:1.25;font-weight:800}
.dsmf-btn--call{
  background:linear-gradient(180deg,#e0c07a,#cda154);
  color:#111!important;
  box-shadow:0 2px 0 #8a6a2e;
}
.dsmf-btn--tg{
  background:#2AABEE;
  color:#fff!important;
  box-shadow:0 2px 0 #1a7aad;
}
.dsmf-btn--tg .dsmf-btn__lbl,.dsmf-btn--tg .dsmf-btn__val{color:#fff!important;opacity:1}
.dsmf-btn--book{
  background:#1a1a1a;
  color:#f5e6c4!important;
  border:1px solid var(--dsm-gold);
}
.dsmf-btn--book .dsmf-btn__lbl{color:#cda154;opacity:1}
.dsmf-btn--book .dsmf-btn__val{color:#fff}

/* Anzahlung */
.dsmf-panel--deposit{
  border:1px solid #e0c98a;
  background:linear-gradient(180deg,#fffdf8,#faf6ec);
}
.dsmf-deposit-intro{margin:0 0 12px;font-size:12.5px;color:#666;line-height:1.45}
.dsmf-deposit-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dsmf-deposit-card{
  border:1px solid #e8d9b0;
  background:#fff;
  border-radius:6px;
  padding:10px 11px 12px;
}
.dsmf-deposit-card__h{color:#8a6a2e;font-weight:700;font-size:12px;margin:0 0 8px;text-transform:uppercase;letter-spacing:.04em}
.dsmf-deposit-line{margin:0 0 6px;font-size:12px;color:#666}
.dsmf-deposit-line span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#999;margin-bottom:1px}
.dsmf-deposit-line strong{color:#222;font-weight:700;word-break:break-word}
.dsmf-deposit-wait{margin:0;font-size:12px;color:#777;line-height:1.4}
.dsmf-deposit-ref{margin:8px 0 0;font-size:11px;color:#8a6a2e;line-height:1.35}
.dsmf-deposit-btn{
  display:inline-block;margin-top:6px;padding:8px 10px;border-radius:4px;
  background:#ffc439;color:#111!important;font-weight:800;font-size:12px;text-decoration:none!important;
}
@media (max-width:520px){
  .dsmf-deposit-grid{grid-template-columns:1fr}
}

/* Langtext direkt unter der Bilder-Box (linke Spalte) */
.dsmf-long{
  display:block;
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  line-height:1.75;
  font-size:16px;
  color:#333;
  background:transparent;
  border:0;
  box-shadow:none;
}
.dsmf-long > *:first-child{margin-top:0}
.dsmf-long p{margin:0 0 1em}
.dsmf-long h2,.dsmf-long h3{
  color:var(--dsm-gold);
  margin:1.2em 0 .55em;
  font-size:1.15rem;
  letter-spacing:.02em;
}

@media(max-width:900px){
  .dsmf-detail-layout{grid-template-columns:1fr}
  .dsmf-rail{order:-1}
  .dsmf-gallery-main img{object-fit:contain}
  .dsmf-float{
    right:12px;
    bottom:calc(12px + env(safe-area-inset-bottom,0px));
    width:104px;
    gap:7px;
  }
  .dsmf-float__btn{min-height:40px;font-size:12px;padding:9px 10px}
}
