/* Startseite: Abstände zwischen Themen, innerhalb von Gruppen und an Kartenrändern. */
body.im-home-page {
  --im-section-space: clamp(48px, 6vw, 84px);
  --im-group-space: clamp(32px, 3.8vw, 54px);
  --im-card-space: clamp(18px, 2vw, 28px);
  --im-card-gap: clamp(12px, 1.55vw, 22px);
  --im-soft-surface: #f7f7f5;
  --im-card-line: #dededa;
}
body.im-home-page #main.im-home-shortened > .im-home-entry.im-home-entry--focused {
  padding-top: var(--im-section-space) !important;
}
body.im-home-page #main.im-home-shortened .im-home-entry--focused > .hero-grid {
  row-gap: var(--im-group-space);
}
body.im-home-page #main.im-home-shortened .im-home-sale-actions {
  gap: 14px;
  margin-top: 24px;
}
body.im-home-page #main.im-home-shortened #bewertung-starten {
  padding: clamp(22px, 3.5vw, 46px);
}
body.im-home-page #main.im-home-shortened #bewertung-starten .im-front-valuation__inner {
  gap: 24px clamp(26px, 4vw, 58px);
}
body.im-home-page #main.im-home-shortened #bewertung-starten .im-front-valuation__choices {
  gap: var(--im-card-gap);
}
body.im-home-page #main.im-home-shortened #bewertung-starten a.im-front-valuation__card {
  min-width: 0;
  padding: 17px 12px;
  border: 1px solid var(--im-card-line);
  border-radius: 5px;
  background: #fff;
}
body.im-home-page #main.im-home-shortened #bewertung-starten a.im-front-valuation__card:is(:hover, :focus-visible) {
  border-color: var(--im-refined-red);
}
body.im-home-page #main.im-home-shortened .hero-grid > .im-home-quick-actions {
  gap: var(--im-card-gap) !important;
}
body.im-home-page #main.im-home-shortened .hero-grid > .im-home-quick-actions > a {
  box-sizing: border-box;
  padding: 18px var(--im-card-space) !important;
  border: 1px solid var(--im-card-line) !important;
  border-radius: 5px;
}
body.im-home-page #main.im-home-shortened .im-home-entry--focused > .im-home-proof-band {
  margin-top: var(--im-section-space);
  padding-top: var(--im-group-space);
  row-gap: var(--im-group-space);
  border-top: 1px solid var(--im-card-line);
}
body.im-home-page #main.im-home-shortened .im-home-proof-stories {
  padding-top: var(--im-group-space);
}
body.im-home-page #main.im-home-shortened .im-home-review-section {
  margin-top: var(--im-group-space);
  padding-top: var(--im-group-space) !important;
}
body.im-home-page #main.im-home-shortened .im-home-entry--focused > :is(#immobilien-auswahl, .im-investor-acquisition, .im-premium-package, #provisionsvergleich, .im-home-team, #externe-fachpartner),
body.im-home-page #main.im-home-shortened > :is(#im-home-more, #im-home-faq),
body.im-home-page > #anfrage {
  padding-block: var(--im-section-space) !important;
}
body.im-home-page #main.im-home-shortened .im-home-entry--focused > :is(#provisionsvergleich, #externe-fachpartner) {
  background: var(--im-soft-surface) !important;
}
body.im-home-page #main.im-home-shortened #immobilien-auswahl .im-home-offer-row + .im-home-offer-row {
  margin-top: var(--im-group-space);
  padding-top: var(--im-group-space);
}
body.im-home-page #main.im-home-shortened #immobilien-auswahl .im-home-offer-content {
  padding: var(--im-card-space);
  gap: 12px;
}
body.im-home-page #main.im-home-shortened .im-premium-steps {
  margin-block: var(--im-group-space) 28px;
  gap: clamp(24px, 3vw, 42px);
}
body.im-home-page #main.im-home-shortened .im-provision-comparison__example {
  padding: var(--im-card-space);
  border: 1px solid var(--im-card-line);
  border-radius: 5px;
}
body.im-home-page #main.im-home-shortened :is(.im-home-team, #externe-fachpartner) .owner-card-grid {
  margin-top: var(--im-group-space);
  gap: var(--im-card-gap) !important;
}
body.im-home-page #main.im-home-shortened :is(.im-home-team, #externe-fachpartner) .owner-card-grid > a.owner-card {
  box-sizing: border-box;
  align-self: stretch;
  padding: var(--im-card-space) !important;
  border: 1px solid var(--im-card-line) !important;
  border-radius: 5px !important;
}
body.im-home-page #main.im-home-shortened .im-home-team-link {
  margin-top: 24px;
}
body.im-home-page #main.im-home-shortened #im-home-more > .container {
  max-width: 1180px !important;
}
body.im-home-page #main.im-home-shortened #im-home-more > .container > .im-home-deep-dive > summary,
body.im-home-page #main.im-home-shortened .im-home-faq-list > details > summary {
  padding: 20px var(--im-card-space);
}
body.im-home-page #main.im-home-shortened .im-home-faq-answer,
body.im-home-page #main.im-home-shortened #im-home-more .im-home-deep-dive__content {
  padding-inline: var(--im-card-space);
}
@media (max-width: 780px) {
  body.im-home-page {
    --im-refined-gutter: clamp(16px, 5.25vw, 26px);
  }
}
@media (max-width: 560px) {
  body.im-home-page #main.im-home-shortened #bewertung-starten .im-front-valuation__choices {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  body.im-home-page #main.im-home-shortened #bewertung-starten a.im-front-valuation__card {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 12px 15px;
    text-align: left;
  }
  body.im-home-page #main.im-home-shortened #bewertung-starten .im-front-valuation__icon {
    width: 30px;
    height: 30px;
    margin: 0;
  }
  body.im-home-page #main.im-home-shortened #bewertung-starten .im-front-valuation__label {
    justify-self: start;
    min-height: 0;
    margin: 0;
    text-align: left;
    font-size: 15px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  body.im-home-page #main.im-home-shortened #bewertung-starten .im-front-valuation__arrow {
    position: static;
    align-self: center;
    margin: 0;
    transform: none;
  }
}