/* === Klon-Korrektur: cm4all-Layout im statischen Snapshot bändigen ===
   (cm4all-Widget-JS läuft im Klon nicht -> Bilder/Galerie/Widgets fixen) */

/* Bilder nie über den Container hinaus */
img { max-width: 100%; height: auto; }

/* Galerie wird normal per cm4all-JS eingeblendet (opacity 0 -> 1); das JS läuft
   im Klon nicht, daher Einblendung erzwingen, sonst bleibt die Galerie unsichtbar. */
.cm-widget_photoalbum,
.cm-w_pha-gallery { opacity: 1 !important; }

/* Foto-Galerie als kompaktes Raster statt riesig gestapelter Bilder */
.cm-w_pha-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.cm-w_pha-item,
.cm-w_pha-uro-item {
  width: auto !important;
  height: auto !important;
  float: none !important;
  position: static !important;
  margin: 0 !important;
}
.cm-w_pha-uro-item { overflow: hidden; border-radius: 6px; }
/* Bildunterschriften (Dateinamen wie "WhatsApp Image …") ausblenden */
.cm-w_pha-title { display: none !important; }
.cm-w_pha-uro-item img {
  width: 100% !important;
  height: 190px !important;
  object-fit: cover;
  display: block;
}

/* Leere/kaputte Widgets (z. B. DIRS21-Buchungsbox lädt nicht) ausblenden */
.cm-widget-loading-placeholder { display: none !important; }

/* Cookie-Hinweis-Container: im statischen Klon nicht benötigt (keine Tracker) */
.cm-cookie-container.cm-hidden { display: none !important; }

/* === Selbstgebaute Buchungsleiste (ersetzt DIRS21-Widget) === */
.fbk {
  background: #fffdf9;
  border: 1px solid #e9e0d0;
  border-radius: 14px;
  padding: 24px 26px;
  margin: 26px auto;
  max-width: 920px;
  box-shadow: 0 10px 30px rgba(140, 93, 63, .10);
  font-family: 'Raleway', -apple-system, "Segoe UI", system-ui, sans-serif;
  text-align: left;
}
.fbk__title {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem; font-weight: 700; line-height: 1.2;
  color: #8c5d3f; margin: 0 0 18px;
}
.fbk__title svg { flex: 0 0 auto; color: #b08763; }
.fbk__bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.fbk__f { display: flex; flex-direction: column; gap: 6px; flex: 1 1 160px; min-width: 140px; }
.fbk__f span { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #998472; }
.fbk__f input, .fbk__f select {
  font-family: inherit !important; font-size: 1rem !important; line-height: 1.3 !important;
  padding: 12px 13px !important; border: 1px solid #d9cdb9 !important; border-radius: 9px !important;
  background: #fff !important; color: #4a3a2c !important; width: 100% !important; box-sizing: border-box !important;
  height: auto !important; margin: 0 !important; min-height: 46px;
  appearance: none; -webkit-appearance: none; transition: border-color .15s, box-shadow .15s;
}
.fbk__f input:focus, .fbk__f select:focus {
  outline: none !important; border-color: #8c5d3f !important; box-shadow: 0 0 0 3px rgba(140, 93, 63, .14) !important;
}
.fbk__go {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  flex: 0 0 auto; font-family: inherit !important; font-size: 1rem !important; font-weight: 700 !important;
  padding: 12px 26px !important; min-height: 46px; width: auto !important;
  background: #8c5d3f !important; color: #fff !important; border: 0 !important; border-radius: 9px !important;
  text-shadow: none !important; cursor: pointer; white-space: nowrap; transition: background .15s, transform .05s;
}
.fbk__go:hover { background: #714829 !important; }
.fbk__go:active { transform: translateY(1px); }
.fbk__go svg { color: #fff; }
.fbk__hint { font-size: .8rem; color: #a2937f; margin: 14px 0 0; }
@media (max-width: 600px) {
  .fbk { padding: 20px; }
  .fbk__bar { flex-direction: column; align-items: stretch; }
  .fbk__go { width: 100%; }
}
