/* A soft shadow keeps the white hero lettering readable over lighter photo areas. */
body.homepage .heading-section > h1,
body.homepage .heading-section > h2 { text-shadow: 0 1px 3px rgb(0 8 50 / 28%); }

@media (min-width: 901px) {
  body.homepage .activity-section > .text-box { top: 85%; padding: 40px 48px; }
}

/* Let the original mobile sections size themselves to their text and photos. */
@media (max-width: 900px) {
  body.homepage .heading-section { display: flex; flex-direction: column; justify-content: center; padding: 140px 40px 72px; width: 100%; min-height: max(480px, 100svh); }
  body.homepage .heading-section > h1, body.homepage .heading-section > h2 { margin: 0; width: 100%; max-width: 100%; }
  body.homepage .heading-section > h2 { margin-top: 20px; line-height: 1.35; }
  body.homepage .houses-btn { top: 50dvh; }
  body.homepage .ferienhäuser-section { margin-bottom: 0; }
  body.homepage .tree-icon { margin-top: 48px; }
  body.homepage .ferienhäuser-section > h2 { padding: 0 24px; }
  body.homepage .slideshow-container { width: 100%; height: auto; max-height: none; margin: 120px 0 64px; }
  body.homepage .carousel-container { height: clamp(260px, 65vw, 440px); }
  body.homepage .slideshow-container > button { top: clamp(130px, 32.5vw, 220px); width: 44px; height: 44px; }
  body.homepage .slideshow-prev { left: 8px; }
  body.homepage .slideshow-next { right: 8px; }
  body.homepage .slideshow-container > .text-box,
  body.homepage .natur-section > .text-box,
  body.homepage .nordicspa-section > .text-box {
    position: relative; top: auto; bottom: auto; left: auto; transform: none;
    width: calc(100% - 32px); max-width: none; margin: 0 auto; padding: 28px 24px;
  }
  body.homepage .nordicspa-section {
    --spa-photo-height: clamp(280px, 70vw, 440px);
    height: auto; padding-top: var(--spa-photo-height); margin: 0 0 48px;
    background-position: center top; background-size: auto var(--spa-photo-height); border-bottom: 0;
  }
  body.homepage .nordicspa-section > img { top: 24px; }
  body.homepage .kunst-section, body.homepage .sauna-section, body.homepage .activity-section {
    display: flex; width: 100%; height: auto; padding: 24px 0; margin: 0; background-position: right top;
  }
  body.homepage .kunst-section > .text-area, body.homepage .sauna-section > .text-area,
  body.homepage .activity-section > .text-box { width: 100%; max-width: none; padding: 28px 24px; margin: 0; }
  body.homepage .kunst-section > .photo-area, body.homepage .sauna-section > .photo-area {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start;
    width: 100%; max-width: none; height: auto; margin: 24px 0; padding: 0 16px;
  }
  body.homepage .kunst-section > .photo-area > img, body.homepage .sauna-section > .photo-area > img {
    position: relative; top: auto; left: auto; transform: none; width: 100%; height: auto; max-height: none; margin: 0; grid-row: 1;
  }
  body.homepage .kunst-section .photo-area > .painting-1, body.homepage .sauna-section .photo-area > .kamine { grid-column: 1 / 4; }
  body.homepage .kunst-section .photo-area > .painting-2, body.homepage .sauna-section .photo-area > .sauna { grid-column: 3 / 6; }
  body.homepage .kunst-section .photo-area > .painting-2 { margin-top: 48px; }
  body.homepage .sauna-section .photo-area > .kamine { margin-top: 80px; }
  body.homepage .natur-section { width: 100%; padding: 24px 0; }
  body.homepage .natur-section .video { display: block; height: clamp(240px, 65vw, 400px); }
  body.homepage .natur-section > .text-box > h3 { word-spacing: normal; }
  body.homepage .activity-section > .photo { width: 100%; height: clamp(240px, 65vw, 400px); }
  body.homepage footer { margin-top: 48px !important; }
}
