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

/* Startseiten-Stil: 3er-Grid, Overlay-Karten – gleiche Außenkante wie .dsmdb-search */
.dsmdb-listing{
  display:grid;
  grid-template-columns:repeat(var(--dsm-listing-cols, 3),minmax(0,1fr));
  gap:1.75rem;
  margin:0 auto;
  padding:1.5rem 0 0;
  width:100%;
  max-width:1100px;
  justify-content:center;
  box-sizing:border-box;
}
.dsmdb-cell{
  margin:0;
  padding:0;
  box-sizing:border-box;
  min-width:0;
}
.dsmdb-card{
  position:relative;
  padding:0;
  box-shadow:0 8px 28px rgba(21,25,34,.12);
  border-radius:4px;
  border:0;
  background:#111;
  overflow:hidden;
}
.dsmdb-card-link{
  position:absolute;
  inset:0;
  z-index:5;
  text-indent:-9999px;
}
.dsmdb-card-img{
  position:relative;
  display:block;
  width:100%;
  overflow:hidden;
  aspect-ratio:3/4;
  background:#111;
  line-height:0;
  text-decoration:none!important;
}
.dsmdb-card-img img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.dsmdb-card-desc{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  z-index:4;
  padding:56px 14px 14px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-height:140px;
  font-size:12px;
  color:#fff;
  line-height:1.3;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.55) 40%,rgba(0,0,0,.9) 100%);
  pointer-events:none;
}
.dsmdb-card-desc p{margin:0}
.dsmdb-card-name{
  font-size:1.15rem;
  font-weight:700;
  color:#e8c9a0;
  letter-spacing:.02em;
  text-shadow:0 1px 3px rgba(0,0,0,.75);
}
.dsmdb-loc{opacity:.95;font-size:.9rem;color:#f2f2f2;margin:2px 0 8px!important}
.dsmdb-card-facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:4px 6px;
  text-align:center;
  margin:4px 0 0;
}
.dsmdb-card-facts__lbl{
  display:block;font-size:9px;letter-spacing:.1em;color:#cfcfcf;font-weight:600;
}
.dsmdb-card-facts__val{
  display:block;font-size:13px;font-weight:700;color:#fff;margin-top:1px;
}
.dsmdb-card-svc,
.dsmdb-card-price{display:none!important}
.dsmdb-ph{display:flex;align-items:center;justify-content:center;height:100%;min-height:160px;color:#999;background:#222}
.dsmdb-wrap{max-width:1100px;margin:0 auto;padding:1.25rem 0 3rem;width:100%;box-sizing:border-box}
.eib-toolbar{display:none!important}
.eib-dir-title,.eib-intro{text-align:center;max-width:48rem;margin-left:auto;margin-right:auto}
.eib-intro{color:#666;margin-bottom:0.5rem;line-height:1.55}
.eib-home-seo{display:none!important}

@media(max-width:900px){
  .dsmdb-listing{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
}
@media(max-width:560px){
  .dsmdb-listing{grid-template-columns:1fr}
}

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

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

/* Fliegendes Widget – fixed unten rechts */
.dsmdb-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:99990;
  display:flex;
  flex-direction:column;
  gap:8px;
  width:118px;
  pointer-events:none;
}
.dsmdb-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;
}
.dsmdb-float__btn:hover{transform:translateY(-2px);filter:brightness(1.05)}
.dsmdb-float__lbl{line-height:1.1}
.dsmdb-float__btn--call{
  background:linear-gradient(180deg,#e0c07a,#cda154);
  color:#111!important;
}
.dsmdb-float__btn--tg{
  background:#2AABEE;
  color:#fff!important;
}
.dsmdb-float__btn--book{
  background:#1a1a1a;
  color:#f5e6c4!important;
  border:1px solid var(--dsm-gold);
}
.dsmdb-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 */
.dsmdb-gallery .ds-sedcard-detail__viewer{margin:0;max-width:none}
.dsmdb-gallery .ds-sedcard-detail__viewer-stage-wrap{max-width:100%}
.dsmdb-gallery .ds-sedcard-detail__viewer-stage{
  background:#111;
  border:1px solid var(--dsm-gold);
  border-radius:6px;
  aspect-ratio:auto;
  max-height:none;
}
.dsmdb-gallery .ds-sedcard-detail__viewer-main{
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
}

.dsmdb-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;
}
.dsmdb-panel--main{margin-top:0}
.dsmdb-panel--main h1{
  margin:0 0 6px;
  font-size:1.75rem;
  color:var(--dsm-gold);
  font-weight:700;
  line-height:1.2;
}
.dsmdb-tagline-hero{
  margin:0 0 12px;
  color:#777;
  font-size:13.5px;
  line-height:1.45;
  font-weight:500;
}
.dsmdb-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;
}
.dsmdb-price-from:hover{filter:brightness(1.03);color:#3d3118}
.dsmdb-panel h3{
  margin:0 0 10px;
  color:var(--dsm-gold);
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.dsmdb-fact-group{margin:14px 0 0}
.dsmdb-fact-group:first-child{margin-top:4px}
.dsmdb-fact-group__title{
  margin:0 0 4px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#b0893a;
}
.dsmdb-facts{
  margin:0;
  padding:0;
  border-top:1px solid #eee;
}
.dsmdb-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 */
.dsmdb-facts dt,
.dsmdb-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;
}
.dsmdb-facts dt{color:#888;font-weight:500}
.dsmdb-facts dd{color:#222;font-weight:600;text-align:right}

.dsmdb-list{list-style:none;margin:0;padding:0}
.dsmdb-list--cols{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 14px;
  column-gap:14px;
}
.dsmdb-list--cols li{break-inside:avoid}
@media (max-width:520px){
  .dsmdb-list--cols{grid-template-columns:1fr}
}
.dsmdb-list li{  position:relative;
  padding:7px 0 7px 14px;
  border-bottom:1px solid #f2f2f2;
  font-size:13.5px;
  color:#333;
  line-height:1.35;
}
.dsmdb-list li:last-child{border-bottom:0}
.dsmdb-list li::before{
  content:"";
  position:absolute;
  left:0;top:14px;
  width:5px;height:5px;
  border-radius:50%;
  background:var(--dsm-gold);
}
.dsmdb-list--priced li{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding-left:14px;
}
.dsmdb-list-label{flex:1;min-width:0}
.dsmdb-list-price{flex:0 0 auto;font-weight:700;color:#5c4a24;white-space:nowrap}
.dsmdb-panel--soft{background:#fafafa}
.dsmdb-tagline{margin:0;font-size:12.5px;color:#777;line-height:1.55}
.dsmdb-tags{display:flex;flex-wrap:wrap;gap:7px}
.dsmdb-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;
}
.dsmdb-list li{padding:6px 0 6px 14px;font-size:13px}

/* Preisbox – auffälliger Goldrand */
.dsmdb-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);
}
.dsmdb-panel--prices h3{margin-bottom:8px}
.dsmdb-prices{list-style:none;margin:0;padding:0}
.dsmdb-prices li{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:7px 0;
  border-bottom:1px solid #f0e6cf;
  font-size:13.5px;
}
.dsmdb-prices li:last-child{border-bottom:0}
.dsmdb-prices span{color:#666}
.dsmdb-prices strong{color:#222;font-weight:700}
#dsmdb-prices:target{
  outline:2px solid var(--dsm-gold);
  outline-offset:3px;
  scroll-margin-top:80px;
}

/* Kontakt / Buchung – Entwurf */
.dsmdb-actions{margin:12px 0 4px}
.dsmdb-actions--primary{margin:4px 0 14px;padding-bottom:12px;border-bottom:1px solid #eee}
.dsmdb-actions--repeat{margin:0 0 12px}
.dsmdb-actions__kicker{
  margin:0 0 8px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#b0893a;
}
.dsmdb-actions__grid{display:grid;grid-template-columns:1fr;gap:8px}
.dsmdb-actions__hint{margin:8px 0 0;font-size:11.5px;color:#999;line-height:1.4}
.dsmdb-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;
}
.dsmdb-btn:hover{filter:brightness(1.04);transform:translateY(-1px)}
.dsmdb-btn__lbl{font-size:11px;letter-spacing:.06em;text-transform:uppercase;opacity:.85;line-height:1.2}
.dsmdb-btn__val{font-size:14px;line-height:1.25;font-weight:800}
.dsmdb-btn--call{
  background:linear-gradient(180deg,#e0c07a,#cda154);
  color:#111!important;
  box-shadow:0 2px 0 #8a6a2e;
}
.dsmdb-btn--tg{
  background:#2AABEE;
  color:#fff!important;
  box-shadow:0 2px 0 #1a7aad;
}
.dsmdb-btn--tg .dsmdb-btn__lbl,.dsmdb-btn--tg .dsmdb-btn__val{color:#fff!important;opacity:1}
.dsmdb-btn--book{
  background:#1a1a1a;
  color:#f5e6c4!important;
  border:1px solid var(--dsm-gold);
}
.dsmdb-btn--book .dsmdb-btn__lbl{color:#cda154;opacity:1}
.dsmdb-btn--book .dsmdb-btn__val{color:#fff}

/* Anzahlung */
.dsmdb-panel--deposit{
  border:1px solid #e0c98a;
  background:linear-gradient(180deg,#fffdf8,#faf6ec);
}
.dsmdb-deposit-intro{margin:0 0 12px;font-size:12.5px;color:#666;line-height:1.45}
.dsmdb-deposit-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dsmdb-deposit-card{
  border:1px solid #e8d9b0;
  background:#fff;
  border-radius:6px;
  padding:10px 11px 12px;
}
.dsmdb-deposit-card__h{color:#8a6a2e;font-weight:700;font-size:12px;margin:0 0 8px;text-transform:uppercase;letter-spacing:.04em}
.dsmdb-deposit-line{margin:0 0 6px;font-size:12px;color:#666}
.dsmdb-deposit-line span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#999;margin-bottom:1px}
.dsmdb-deposit-line strong{color:#222;font-weight:700;word-break:break-word}
.dsmdb-deposit-wait{margin:0;font-size:12px;color:#777;line-height:1.4}
.dsmdb-deposit-ref{margin:8px 0 0;font-size:11px;color:#8a6a2e;line-height:1.35}
.dsmdb-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){
  .dsmdb-deposit-grid{grid-template-columns:1fr}
}

/* Langtext direkt unter der Bilder-Box (linke Spalte) */
.dsmdb-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;
}
.dsmdb-long > *:first-child{margin-top:0}
.dsmdb-long p{margin:0 0 1em}
.dsmdb-long h2,.dsmdb-long h3{
  color:var(--dsm-gold);
  margin:1.2em 0 .55em;
  font-size:1.15rem;
  letter-spacing:.02em;
}

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