/* Wohnideen – großzügige, kompakte Bilderwand. Nur diese Unterseite. */
#inspiration .wohnideen-collage { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 8px; align-items: center; width: min(1680px, calc(100vw - 48px)); max-width: none; margin: 20px calc((100% - min(1680px, calc(100vw - 48px))) / 2) 0; padding: 0; }
#inspiration .wohnideen-motiv { position: relative; display: block; min-width: 0; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 6px; overflow: hidden; box-shadow: none; background: transparent; line-height: 0; align-self: center; }
#inspiration .wohnideen-motiv:nth-child(9n+1) { grid-column: span 8; }
#inspiration .wohnideen-motiv:nth-child(9n+2) { grid-column: span 9; }
#inspiration .wohnideen-motiv:nth-child(9n+3) { grid-column: span 7; }
#inspiration .wohnideen-motiv:nth-child(9n+4) { grid-column: span 9; }
#inspiration .wohnideen-motiv:nth-child(9n+5) { grid-column: span 7; }
#inspiration .wohnideen-motiv:nth-child(9n+6) { grid-column: span 8; }
#inspiration .wohnideen-motiv:nth-child(9n+7) { grid-column: span 8; }
#inspiration .wohnideen-motiv:nth-child(9n+8) { grid-column: span 9; }
#inspiration .wohnideen-motiv:nth-child(9n+9) { grid-column: span 7; }
#inspiration .wohnideen-motiv > img:not(.wohnideen-marke) { display: block; width: 100%; height: auto; max-width: none; max-height: none; object-fit: contain; border-radius: 0; }
#inspiration .wohnideen-motiv > .wohnideen-marke, .room-image-wrap > .wohnideen-marke { position: absolute; right: 6px; bottom: 6px; width: 26px; height: auto; max-height: 12px; object-fit: contain; padding: 2px 3px; box-sizing: content-box; background: #fff; border-radius: 3px; box-shadow: 0 1px 4px #0002; pointer-events: none; }
#inspiration .wohnideen-motiv > .wohnideen-marke.joka, .room-image-wrap > .wohnideen-marke.joka { background: #23372e; }
#inspiration .wohnideen-motiv > .wohnideen-marke.kadeco, .room-image-wrap > .wohnideen-marke.kadeco { width: 34px; }
#inspiration .wohnideen-motiv[role=button] { cursor: zoom-in; }
#inspiration .wohnideen-motiv:focus-visible { outline: 3px solid #b88b38; outline-offset: 2px; }
.room-dialog { border: 0; border-radius: 12px; padding: 14px; background: #142820; color: white; width: min(1500px, 96vw); max-width: 96vw; max-height: 94vh; box-sizing: border-box; overflow: auto; }
.room-dialog::backdrop { background: #07130ee8; }
.room-controls { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.room-dialog button { background: #fff; color: #17372e; border: 0; border-radius: 7px; padding: 9px 12px; font: inherit; cursor: pointer; min-height: 40px; }
.room-dialog button:focus-visible { outline: 3px solid #d6b45e; outline-offset: 2px; }
.room-stage { display: flex; justify-content: center; }
.room-image-wrap { position: relative; line-height: 0; max-width: 100%; }
.room-image-wrap .room-image { display: block; max-width: 100%; width: auto; height: auto; max-height: 78vh; object-fit: contain; }
.room-image-wrap > .wohnideen-marke { width: 32px; max-height: 15px; }
.room-image-wrap > .wohnideen-marke.kadeco { width: 40px; }
@media (max-width: 900px) {
  #inspiration .wohnideen-collage { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; width: calc(100vw - 32px); margin-inline: calc((100% - (100vw - 32px)) / 2); }
  #inspiration .wohnideen-motiv:nth-child(n) { grid-column: span 6; }
  #inspiration .wohnideen-motiv:nth-child(9n) { grid-column: 3 / span 8; }
}
@media (max-width: 560px) {
  #inspiration .wohnideen-collage { grid-template-columns: 1fr; gap: 8px; width: calc(100vw - 24px); margin-inline: calc((100% - (100vw - 24px)) / 2); }
  #inspiration .wohnideen-motiv:nth-child(n) { grid-column: 1; }
  .room-dialog { padding: 8px; }
}
