/* MR.INCOME V44: freie Bildschirmhoehe vergroessert den Einstieg statt den Leerraum. */
.home-first-screen { display: contents; }
@media (min-width: 1200px) {
  body.visual-home .site-main { padding-top: 20px; }
  body.visual-home .home-first-screen {
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 3svh, 24px);
    min-height: calc(100svh - 20px);
    padding-bottom: 24px;
    box-sizing: border-box;
  }
  body.visual-home .visual-hero--home {
    flex: 1 0 auto;
    padding: clamp(24px, 4svh, 40px) 32px;
    margin-bottom: 0;
    gap: 20px;
    grid-template-columns: minmax(0, 1.9fr) minmax(160px, .65fr);
  }
  body.visual-home .visual-hero--home h1 {
    font-size: clamp(40px, 3vw, 50px);
    line-height: 1.06;
    margin: 12px 0 14px;
  }
  body.visual-home .visual-hero--home .eyebrow { font-size: 11px; }
  body.visual-home .visual-hero--home p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 12px;
    max-width: 740px;
  }
  body.visual-home .visual-hero--home .actions { margin-top: 14px; gap: 10px; }
  body.visual-home .visual-hero--home .visual-hero-art { gap: 10px; }
  body.visual-home .visual-hero--home .visual-hero-art img {
    max-width: clamp(180px, 29svh, 250px);
  }
  body.visual-home .visual-hero--home .visual-hero-caption { font-size: 9px; }
  body.visual-home #bereiche { flex: 0 0 auto; margin-bottom: 0; }
  body.visual-home #bereiche .entry-grid { gap: 14px; }
  body.visual-home #bereiche .entry-card { padding: 0 16px 14px; gap: 10px; }
  body.visual-home #bereiche .entry-media {
    height: clamp(110px, 17svh, 136px);
    margin: 0 -16px 2px;
  }
  body.visual-home #bereiche .entry-number { font-size: 10px; }
  body.visual-home #bereiche .entry-card h2 { font-size: 21px; line-height: 1.2; }
  body.visual-home #bereiche .entry-card p { font-size: 13px; line-height: 1.5; }
  html body.visual-home .visual-hero--home .actions > a,
  html body.visual-home #bereiche .mr-card-button {
    min-height: 40px !important;
    padding: 9px 13px !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
  }
}

/* Erst bei sehr niedrigen Fenstern kompakter werden; dann keinen Leerraum reservieren. */
@media (min-width: 1200px) and (max-height: 640px) {
  body.visual-home .site-main { padding-top: 14px; }
  body.visual-home .home-first-screen { gap: 18px; min-height: 0; padding-bottom: 24px; }
  body.visual-home .visual-hero--home { padding: 22px 24px; margin-bottom: 0; }
  body.visual-home .visual-hero--home h1 { font-size: 38px; margin: 8px 0 10px; }
  body.visual-home .visual-hero--home p { font-size: 14px; line-height: 1.45; margin-bottom: 10px; }
  body.visual-home .visual-hero--home .actions { margin-top: 12px; }
  body.visual-home .visual-hero--home .visual-hero-art img { max-width: 174px; }
  body.visual-home #bereiche .entry-card { gap: 8px; padding-bottom: 12px; }
  body.visual-home #bereiche .entry-media { height: 104px; }
  body.visual-home #bereiche .entry-card h2 { font-size: 19px; }
  body.visual-home #bereiche .entry-card p { font-size: 12px; line-height: 1.45; }
}
