/* brief 03 — legal text pages on the paper surface */
.legal{max-width:72ch}

/* Non-home pages start below the fixed header; the hero pads itself by design. */
.pl-apartment #main, .pl-legal #main, .pl-e404 #main{ padding-top:var(--header-h); }

/* The apartment page's booking form rides the RIGHT RAIL on the paper surface
   (the dark `.bookband` is gone — the owner, 2026-12-05). The search components
   keep their default (light) colours; only the dark-theme button needs remapping. */
.pp__block--book .searchbar{ gap:8px; }
.pp__block--book #dbook{ margin-top:10px; }
.priceLines--request .book__lead{ font-size:.9375rem; }

.bookform{ color:var(--text); }
.bookform .searchbar__label{ color:var(--text-muted); }
.bookform .stepper output{ color:var(--text); }
.bookform .stepper button{ width:44px; height:44px; flex:none; }
.bookform .searchbar__hint{ color:var(--text-dim); }
/* the dark-theme button on the dark rail: the light-rail outline */
.pp__block--book .btn--outline-light{ border-color:var(--line); color:var(--text); }
.pp__block--book .btn--outline-light:hover{ border-color:var(--bronze); color:var(--bronze); }

/* ============ imprint: the English title with double line spacing, then the facts
   as a block (owner, 2026-12-05). No "Registered as …" boilerplate. ============ */
.imprint .imprint__title { margin: 0 0 2.5rem; font-size: 2rem; line-height: 1.15; letter-spacing: -.01em; }
/* NOT --text-dim: the paper background needs the full-strength text colour (a contrast
   check pins the imprint block ≥ 4.5:1). */
.imprint .imprint__block { display: flex; flex-direction: column; gap: .35rem; }
.imprint .imprint__block p { margin: 0; }
.footer-legal__title { display: block; font-weight: 600; font-style: normal; margin-bottom: 1.25rem; }
.footer-legal__block { display: flex; flex-direction: column; gap: 2px; }

/* The booking form rides the apartment page's RIGHT rail (the grid's "book" area) —
   the owner, 2026-12-05: it should float right, not sit in a band above the footer.
   Sticky so it stays in view while the detail copy scrolls. */
.pp__book { position: sticky; top: calc(var(--header-h) + var(--sp-4)); align-self: start; }
.pp__block--book { display: flex; flex-direction: column; gap: var(--sp-4); }
.pp__block--book .bookform { width: 100%; }
/* The apartment page's BODY is the dark --ink (#1F262B), so the rail's notices use
   the DARK-theme colours (measured: --danger-ink on the dark body is 2.19:1). */
.pp__block--book .notice--error-ink{ background:rgba(208,138,122,.10); border-color:rgba(208,138,122,.45); color:var(--danger); }
.pp__block--book .notice--warn-ink{ background:rgba(213,164,82,.16); border-color:rgba(213,164,82,.45); color:var(--gold); }
.pp__block--book .book__lead{ color:var(--text); }
.pp__block--book #dbook{ color:var(--text); }
.pp__block--book #dbook .book__stay span{ color:var(--text-dim); }
.pp__block--book #dbook .priceLines__row{ color:var(--text); }
.pp__block--book #dbook .priceLines__note{ color:var(--text-dim); }
.pp__block--book #dbook .hint{ color:var(--text-muted); }
/* `.book__stay b` defaults to the dark --text-ink; the rail sits on the dark body,
   so both parts of the stay line take the light colour. */
.pp__block--book #dbook .book__stay b{ color:var(--text); }

/* The rail is 400px: the HERO's 4-column search grid collapsed the date fields to
   width 0 there (measured: #d-arrive width 0, overflow clip — the "date box wasn't
   there"). Stack the rail's own layout: two dates side by side, guests / button /
   messages full width. */
.pp__block--book .bookform{ grid-template-columns:1fr 1fr; align-items:start; }
.pp__block--book .bookform .searchbar__field:nth-child(3),
.pp__block--book .bookform .searchbar__cta,
.pp__block--book .bookform .searchbar__msg,
.pp__block--book .bookform .searchbar__hint{ grid-column:1/-1; }
.pp__block--book .bookform .stepper{ justify-content:center; }
.pp__block--book .bookform .datefield input{ font-size:.9375rem; }
