
/* IMMOROSSI — focused homepage refinements, 23 November 2026 */
:root { --im-accent-visibility: #258347; }
#main.im-home-shortened #immobilien-auswahl .im-home-row-all {
  display: flex !important;
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 15px auto 0 !important;
  justify-content: center;
  text-align: center;
  color: #111 !important;
}
#main.im-home-shortened #immobilien-auswahl .im-home-row-header {
  flex-wrap: wrap;
}
#main.im-home-shortened #immobilien-auswahl .im-home-row-controls,
#main.im-home-shortened .im-home-references__controls,
#main.im-home-shortened .im-home-reviews__controls {
  justify-content: center !important;
  gap: 15px !important;
}
#main.im-home-shortened #immobilien-auswahl .im-home-row-arrow,
#main.im-home-shortened .im-home-references__arrow,
#main.im-home-shortened .im-home-reviews__arrow {
  background: #fff !important;
  color: #111 !important;
  border: 2px solid #111 !important;
  opacity: 1;
  box-shadow: none;
}
#main.im-home-shortened #immobilien-auswahl .im-home-row-arrow:hover:not(:disabled),
#main.im-home-shortened .im-home-references__arrow:hover:not(:disabled),
#main.im-home-shortened .im-home-reviews__arrow:hover:not(:disabled) {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}
#main.im-home-shortened #immobilien-auswahl .im-home-row-arrow:disabled,
#main.im-home-shortened .im-home-references__arrow:disabled,
#main.im-home-shortened .im-home-reviews__arrow:disabled {
  opacity: .5 !important;
}
#main.im-home-shortened .im-home-reviews__counter,
#main.im-home-shortened .im-home-references__counter {
  color: #151515 !important;
  font-weight: 700;
  text-align: center;
}
#main.im-home-shortened .im-home-reviews__controls::after,
#main.im-home-shortened .im-home-references__controls::after {
  content: "";
  height: 3px;
  width: 58px;
  background: var(--im-accent-visibility);
  border-radius: 5px;
  align-self: center;
  order: 9;
}
#main.im-home-shortened #immobilien-auswahl .im-home-row-controls::after {
  content: "";
  display: block;
  height: 3px;
  width: 42px;
  background: var(--im-accent-visibility);
  border-radius: 5px;
}
#main.im-home-shortened #im-home-more > .container > .im-home-deep-dive {
  background: #fff !important;
  border-color: #222 !important;
}
#main.im-home-shortened #im-home-more > .container > .im-home-deep-dive > summary {
  background: #fff !important;
  color: #111 !important;
}
#main.im-home-shortened #im-home-more > .container > .im-home-deep-dive > summary:hover {
  background: #f1f1f1 !important;
}
#main.im-home-shortened #im-home-more > .container > .im-home-deep-dive :is(strong, small, .im-home-deep-dive__plus) {
  color: #111 !important;
}
#main.im-home-shortened #im-home-more > .container > .im-home-deep-dive :is(a, button) {
  accent-color: #111;
}
@media (min-width: 900px) {
  #main.im-home-shortened #im-home-more > .container {
    max-width: 1260px !important;
  }
  #main.im-home-shortened #im-home-more > .container > .im-home-deep-dive {
    width: 100%;
  }
  #main.im-home-shortened .im-home-entry .hero-visual img {
    object-fit: contain !important;
    object-position: center !important;
  }
  #main.im-home-shortened .im-home-entry .hero-visual {
    background: #f5f5f3;
  }
}
@media (max-width: 640px) {
  #main.im-home-shortened #immobilien-auswahl .im-home-row-controls {
    justify-content: center !important;
    width: 100%;
    margin-left: 0 !important;
  }
  #main.im-home-shortened #immobilien-auswahl .im-home-row-all {
    margin-inline: auto !important;
  }
}


/* Unified reference imagery and easy swipe navigation */
#main.im-home-shortened .im-home-references__viewport,
#main.im-home-shortened .im-home-reviews__viewport {
  touch-action: pan-x pan-y;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
#main.im-home-shortened .im-home-references__viewport:active,
#main.im-home-shortened .im-home-reviews__viewport:active {
  cursor: grabbing;
}
#main.im-home-shortened .im-home-references__viewport > .im-home-case {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
}
#main.im-home-shortened .im-home-references__viewport .im-home-case-visual {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f3f3;
}
#main.im-home-shortened .im-home-references__viewport .im-home-case-visual img {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  height: 100% !important;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center !important;
}
#main.im-home-shortened .im-home-references__viewport .im-home-case-visual img[hidden] {
  display: none !important;
}
#main.im-home-shortened .im-home-references__viewport .im-home-case-visual--poster img {
  object-fit: contain !important;
}
#main.im-home-shortened .im-home-references__swipe,
#main.im-home-shortened .im-home-reviews__swipe {
  display: block !important;
  text-align: center;
  color: #333 !important;
  font-size: 13px;
  margin-top: 12px;
}
#main.im-home-shortened .im-home-references__all,
#main.im-home-shortened .im-home-reviews > a:last-child {
  color: #111 !important;
}
@media (max-width: 640px) {
  #main.im-home-shortened .im-home-references__viewport .im-home-case-visual {
    aspect-ratio: 4 / 3;
  }
}


/* IMMOROSSI black finishing pass */
#main.im-home-shortened .im-premium-step-number {
  color: #111 !important;
  font-size: clamp(21px, 2.5vw, 29px) !important;
  font-weight: 800 !important;
  letter-spacing: -.04em;
  line-height: 1.2 !important;
}
#main.im-home-shortened .im-premium-steps > li {
  align-items: flex-start;
}
#main.im-home-shortened .im-premium-package-link,
#main.im-home-shortened .im-premium-seeker-link,
#main.im-home-shortened .im-home-references__all,
#main.im-home-shortened .im-home-review-all-link {
  color: #111 !important;
}
#main.im-home-shortened #immobilien-auswahl .im-home-offer-track {
  overflow-x: auto !important;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  touch-action: pan-x pan-y;
}
#main.im-home-shortened #immobilien-auswahl .im-home-offer-card {
  scroll-snap-align: start;
}
#main.im-home-shortened #immobilien-auswahl .im-home-row-arrow {
  color: #111 !important;
  background: #fff !important;
  border-color: #111 !important;
}
#main.im-home-shortened #immobilien-auswahl .im-home-row-arrow:hover:not(:disabled) {
  color: #fff !important;
  background: #111 !important;
}
#main.im-home-shortened .im-home-reviews__expand,
#main.im-home-shortened .im-home-reviews > a:last-child {
  color: #111 !important;
}


/* Real progression through the underlying slide collection. */
#main.im-home-shortened .im-home-reviews__controls,
#main.im-home-shortened .im-home-references__controls,
#main.im-home-shortened #immobilien-auswahl .im-home-row-controls {
  --im-progress: 0%;
}
#main.im-home-shortened .im-home-reviews__controls::after,
#main.im-home-shortened .im-home-references__controls::after,
#main.im-home-shortened #immobilien-auswahl .im-home-row-controls::after {
  display: block !important;
  content: "" !important;
  flex: 0 0 96px !important;
  width: 96px !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: linear-gradient(to right, #27834b 0, #27834b var(--im-progress), #d5d8d5 var(--im-progress), #d5d8d5 100%) !important;
  align-self: center !important;
}
/* Full, non-truncated Google reviews, without a redundant expand button. */
#main.im-home-shortened .im-home-reviews .im-home-reviews__quote,
#main.im-home-shortened .im-home-review-section .im-home-reviews__quote {
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  white-space: pre-wrap !important;
}
#main.im-home-shortened .im-home-reviews .im-home-reviews__expand {
  display: none !important;
}
#main.im-home-shortened .im-home-reviews__slide {
  height: auto !important;
}


/* Fixed review navigation — independent of review text length */
#main.im-home-shortened .im-home-review-section .im-home-reviews__controls {
  order: 0;
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  min-height: 56px;
  margin: 8px 0 20px !important;
  padding: 0 0 16px;
  border-bottom: 1px solid #e5e5e5;
}
#main.im-home-shortened .im-home-review-section .im-home-reviews__viewport {
  order: 1;
}
#main.im-home-shortened .im-home-review-section .im-home-reviews__swipe {
  text-align: center;
}
@media (max-width: 640px) {
  #main.im-home-shortened .im-home-review-section .im-home-reviews__controls {
    gap: 10px !important;
    margin: 6px 0 16px !important;
  }
}


/* Reference card uniform image presentation 2026-11-23 */
#main.im-home-shortened .im-home-references__viewport > .im-home-case {
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  min-height:560px !important;
  padding:24px !important;
  overflow:hidden !important;
  border:1px solid #dedede !important;
  border-radius:12px !important;
  background:#fff !important;
}
#main.im-home-shortened .im-home-references__viewport .im-home-case-visual {
  display:block !important;
  position:relative !important;
  flex:0 0 auto !important;
  margin:-24px -24px 20px !important;
  padding:0 !important;
  width:calc(100% + 48px) !important;
  max-width:none !important;
  height:320px !important;
  min-height:320px !important;
  aspect-ratio:auto !important;
  border-radius:11px 11px 0 0 !important;
  background:#f7f7f7 !important;
  overflow:hidden !important;
}
#main.im-home-shortened .im-home-references__viewport .im-home-case-visual > img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:none !important;
  max-width:none !important;
  margin:0 !important;
  object-fit:cover !important;
  object-position:center !important;
}
#main.im-home-shortened .im-home-references__viewport .im-home-case-visual--poster > img,
#main.im-home-shortened .im-home-references__viewport .im-home-references__original > img {
  object-fit:contain !important;
  background:#fff !important;
}
#main.im-home-shortened .im-home-references__viewport .im-home-case h4 {
  min-height:2.7em;
  line-height:1.35;
}
#main.im-home-shortened .im-home-references__viewport .im-home-case .im-home-case-status {
  margin-top:auto !important;
}
#main.im-home-shortened .im-home-references__viewport .im-home-case-visual img[hidden] {display:none !important;}
@media(max-width:640px){
 #main.im-home-shortened .im-home-references__viewport > .im-home-case {min-height:500px !important;}
 #main.im-home-shortened .im-home-references__viewport .im-home-case-visual {height:260px !important;min-height:260px !important;}
}


/* All carousel arrows softly squared per latest design */
#main.im-home-shortened #immobilien-auswahl .im-home-row-controls .im-home-row-arrow,
#main.im-home-shortened .im-home-references__controls .im-home-references__arrow,
#main.im-home-shortened .im-home-reviews__controls .im-home-reviews__arrow{
 appearance:none;
 display:inline-grid !important;
 place-items:center !important;
 border-radius:9px !important;
 border:2px solid #141414 !important;
 width:46px !important;
 height:46px !important;
 min-width:46px !important;
 min-height:46px !important;
 flex:0 0 46px !important;
 padding:0 !important;
 color:#141414 !important;
 background:#fff !important;
}
#main.im-home-shortened #immobilien-auswahl .im-home-row-controls .im-home-row-arrow:hover:not(:disabled),
#main.im-home-shortened .im-home-references__controls .im-home-references__arrow:hover:not(:disabled),
#main.im-home-shortened .im-home-reviews__controls .im-home-reviews__arrow:hover:not(:disabled){
 color:#fff !important;
 background:#141414 !important;
}
