/* Public homepage (MS-SP17-008, 2026-09-30). Hero and region reuse the broker-page
   styles via .broker-route; the enquiry form mirrors the .broker-application rules
   of revision.css for .contact-form, so script.js leaves this form alone. */
.contact-form { min-width: 0; }
.contact-form fieldset { padding: 0; margin: 0 0 28px; border: 0; min-width: 0; }
.contact-form legend { padding: 0; margin-bottom: 12px; font-size: .875rem; }
.contact-form .phone-row label { font-size: .875rem; }
.contact-form select, .contact-form input, .contact-form textarea { max-width: 100%; min-width: 0; box-sizing: border-box; }
.contact-form select { min-height: 48px; }
.contact-form textarea { display: block; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: max(16px, 1rem); line-height: 1.5; resize: vertical; }
.contact-form textarea:focus { border-color: var(--ink); }
.contact-form .field label[for="message"] { display: block; margin-bottom: 8px; }

.role-options { display: flex; flex-wrap: wrap; gap: 12px; }
.role-options label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); cursor: pointer; }
.role-options label:has(input:checked) { border-color: var(--ink); background: rgba(52, 58, 51, .06); }
.role-options input { width: 20px; height: 20px; margin: 0; accent-color: #343A33; }
.role-options label:has(input:focus-visible) { outline: 2px solid var(--earth); outline-offset: 4px; }

.contact-form.sent .field,
.contact-form.sent fieldset,
.contact-form.sent button[type=submit],
.contact-form.sent .consent-field { display: none; }

.broker-next, .buyer-next { margin-top: 28px; border-top: 1px solid #343a3333; padding-top: 24px; }
.broker-next[hidden], .buyer-next[hidden] { display: none; }
.broker-next p, .buyer-next p { margin: 0 0 16px; }

@media (max-width: 700px) {
  .contact-form { margin-top: 40px; }
  .role-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .role-options label { justify-content: center; gap: 8px; padding: 0 8px; font-size: .9375rem; }
}

/* Homepage v1 (MS-SP17-006 U5, 2026-10-12): hero, offer blocks, property cards, about,
   interest field. Token colours only. U5b (owner feedback 2026-10-13): film behind
   the hero, since U5c the drone film of the land (script.js starts it in view, reduced motion keeps the poster), dark overlay of at
   least 65 % so ivory text keeps AA contrast even over white footage, card images. */
.home-hero { position: relative; overflow: hidden; min-height: min(100svh, 900px); display: flex; align-items: flex-end; background: var(--ink); color: var(--ivory); padding: 180px 64px 120px; }
.home-hero-media { position: absolute; inset: 0; z-index: 0; --toggle-x: 82%; --toggle-y: 30%; }
.home-hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.home-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22,30,24,.88) 0%, rgba(22,30,24,.72) 55%, rgba(22,30,24,.65) 100%); pointer-events: none; }
.home-hero-copy { position: relative; z-index: 2; max-width: 960px; }
.home-hero .eyebrow { margin-bottom: 32px; }
.home-hero h1 { font-size: clamp(2.8rem, 5.6vw, 6rem); text-wrap: balance; }
.home-hero-sub { margin-top: 32px; font-size: 1.0625rem; max-width: 52ch; }
.home-hero .hero-link { margin-top: 48px; }

.home-offer h2, .home-current h2, .home-about h2 { margin: 24px 0 64px; }
.home-offer, .home-current { padding-bottom: 96px; }
.home-current, .home-about { border-top: 1px solid var(--line); padding-top: 96px; }
.home-about { padding-bottom: 96px; }
.home-about h2 { margin-top: 0; margin-bottom: 32px; }
.home-about p { font-size: 1.125rem; }
.home-grid { display: grid; gap: 32px; }
.home-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-card { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--ink); }
.home-card h3 { font-family: var(--display); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; }
.home-card p { font-size: 0.9375rem; }
.home-card-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 24px; padding: 8px 0; border-bottom: 1px solid currentColor; font-size: 0.9375rem; }
.home-property { border-top: 0; padding-top: 0; }
.home-property-media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.home-property-media picture, .home-property-media img { display: block; width: 100%; height: 100%; }
.home-property-media img { object-fit: cover; }
.home-property-tag { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; background: rgba(22,30,24,.78); color: var(--ivory); font-size: .75rem; letter-spacing: .08em; }

/* U5c (owner feedback 2026-10-13): the "What you receive" list reuses .access-benefits from
   revision.css (tick, divider, spacing as on the broker page); only the heading is styled here. */
.home-receive-title { margin-top: 40px; font-size: 1.125rem; }
.home-property-label { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
/* Kontrast 4,84:1 auf --ivory (Lighthouse color-contrast, MS-SP01-004 C12); --earth erreicht nur 4,29:1. */
.home-badge { padding: 2px 10px; border: 1px solid var(--earth); color: #776739; letter-spacing: 0.12em; }

.interest-options label { flex: 1 1 calc(50% - 12px); }

@media (max-width: 900px) {
  .home-grid--3, .home-grid--2 { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 700px) {
  .home-hero { padding: 140px 24px 72px; min-height: 0; }
  .home-hero-media { --toggle-x: 50%; --toggle-y: 25%; }
  .home-offer, .home-current, .home-about { padding-block: 56px; }
  .home-offer h2, .home-current h2 { margin-bottom: 40px; }
  .interest-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .interest-options label { flex: none; }
}
