  :root {
    --ink: #3a3228;
    --mute: #7a6f62;
    --line: rgba(90, 70, 50, 0.18);
    --paper: rgba(255, 249, 240, 0.92);
    --paper-solid: #fff9f0;
    --sand: #f3ebe0;
    --teal: #3d7a7a;
    --teal-dark: #2a5c5c;
    --coral: #c45c4a;
    --rose: #b86b78;
    --prime: #a65d2e;
    --comfort: #3d7a7a;
    --essential: #8a7e72;
    --card: rgba(255, 252, 246, 0.94);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body { min-height: 100%; }
  body {
    font-family: "Manrope", system-ui, sans-serif;
    color: var(--ink);
    background: #d4c4b0;
  }

  /* ===== collage1.jpeg wallpaper ===== */
  .wallpaper {
    position: fixed; inset: 0; z-index: -2;
    background:
      linear-gradient(180deg, rgba(255,248,238,.42) 0%, rgba(236,224,208,.55) 45%, rgba(220,205,185,.62) 100%),
      url("collage1.jpeg") center / cover no-repeat fixed;
  }
  .wallpaper::after {
    content: "";
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.18), transparent 50%),
      radial-gradient(ellipse at 80% 70%, rgba(61,122,122,.08), transparent 45%);
    pointer-events: none;
  }

  /*
    Sticky + transparent top line.
    Content does NOT scroll under it: only .page-scroll scrolls, so the line stays clear
    without needing an opaque bar (collage shows through).
  */
  html, body {
    height: 100%;
    overflow: hidden;
  }
  body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }
  /* ===== Rotating hero band (German version) =============================
     Sits above .wallpaper, below page content. pointer-events:none so it can
     never swallow clicks — only the arrows/dots re-enable them. */
  .hero-band {
    position: absolute; top: 0; left: 0; right: 0;
    height: 430px; overflow: hidden; z-index: 0; pointer-events: none;
  }
  .hero-cycle { position: absolute; inset: 0; }
  /* Crossfade between rotating BGs (duration matches BUNKM_HERO_DEFAULTS.transitionMs) */
  .hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    z-index: 0;
    transform: scale(1.04);
    transition:
      opacity 1.2s ease-in-out,
      transform 1.2s ease-in-out;
    will-change: opacity, transform;
  }
  .hero-slide.on {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
  }
  /* readability wash so the headline survives any photo */
  .hero-band::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(38,32,24,.34) 0%, rgba(38,32,24,.14) 45%, rgba(247,242,232,.94) 100%);
  }
  .hero-arrow {
    position: absolute; top: 150px; z-index: 3; pointer-events: auto;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.75);
    background: rgba(30,26,20,.28); color: #fff;
    font-size: 24px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, transform .15s;
  }
  .hero-arrow:hover { background: rgba(30,26,20,.55); transform: scale(1.07); }
  .hero-arrow.prev { left: 24px; }
  .hero-arrow.next { right: 24px; }
  /* In normal flow inside .hero-copy — absolutely positioning these in the
     band put them behind the listing cards, i.e. invisible. */
  .hero-dots {
    display: flex; gap: 9px; justify-content: center;
    margin-top: 14px; pointer-events: auto;
  }
  .hero-dots button {
    width: 9px; height: 9px; border-radius: 50%; cursor: pointer;
    border: 1.5px solid rgba(255,255,255,.85); background: transparent; padding: 0;
    transition: background .2s, transform .2s;
  }
  .hero-dots button.on { background: #fff; transform: scale(1.25); }
  .hero-copy {
    position: relative; z-index: 2500;
    text-align: center; padding: 2px 24px 10px; max-width: 780px; margin: 0 auto;
  }

  /* The hero band is a dark photo, so the header type above it has to go
     light in this version — it is dark-on-dark otherwise. German build only. */
  .hero-type .slogan,
  .hero-type .slogan-center .brand,
  .hero-type .slogan-center .monthly,
  .hero-type .slogan-center .nights,
  .hero-type .slogan-center .mark {
    color: #fff;
    text-shadow: 0 1px 10px rgba(30,24,16,.6);
  }
  .hero-type .slogan-center .brand b { color: #ffb9a6; }
  .hero-type .slogan-center .pivot { color: #ff2e12; }  /* pivot M — fire-red on the dark hero band */
  .hero-type .slogan-center .monthly { border-bottom-color: #ffb9a6; }
  .hero-type .topnav a,
  .hero-type .topnav button {
    color: #fff;
    text-shadow: 0 1px 8px rgba(30,24,16,.55);
  }
  .hero-type .topnav a:hover,
  .hero-type .topnav button:hover { color: #ffe9e2; }

  @media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
  @media (max-width: 820px) {
    .hero-band { height: 380px; }
    .hero-arrow { width: 36px; height: 36px; font-size: 20px; top: 128px; }
    .hero-arrow.prev { left: 10px; } .hero-arrow.next { right: 10px; }

  }

  .hero-type {
    position: relative; /* stays at top of flex column; not covered by scroll */
    flex: 0 0 auto;
    z-index: 3000;
    /* one centered row: slogan + wordmark + nav as a single group */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.65rem 1.15rem;
    width: min(1550px, calc(100% - 56px));
    max-width: min(1550px, calc(100% - 56px));
    box-sizing: border-box;
    padding: 14px 20px 12px;
    margin: 0 auto;
    transform: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .page-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 0;
  }
  .shell {
    align-items: start;
  }
  .hero-type .line-text {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    max-width: 100%;
  }
  .slogan {
    margin: 0;
    min-width: 0;
    max-width: min(280px, 28vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 0;
    font-family: "Caveat", cursive;
    font-size: clamp(18.75px, 1.875vw, 25px); /* +25% top line */
    font-weight: 600;
    color: #3a3228;
    line-height: 1.2;
    pointer-events: none;
    text-shadow:
      0 1px 0 rgba(255,249,240,0.95),
      0 2px 10px rgba(255,248,238,0.85);
  }
  /* Wordmark stair — M is the vertical ruler:
     · text BEFORE M (BUNK): top = M top   → nothing higher than M
     · text AFTER  M:        bottom = M bottom → nothing lower than M
     Following text lives in the lower band of the M (step), not under it. */
  .slogan-center {
    grid-column: 2;
    justify-self: center;
    display: inline-flex;
    align-items: baseline;
    flex-shrink: 0;
    gap: 0.35em;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(18px, 2.3vw, 28px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #2a2420;
    white-space: nowrap;
    pointer-events: none;
    text-shadow:
      0 1px 0 rgba(255,249,240,0.98),
      0 2px 12px rgba(255,248,238,0.9);
  }
  .slogan-center .brand {
    color: #1f4f4f;
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 1.3em;
  }
  .slogan-center .brand b { color: #c45c4a; }
  .slogan-center .mark {
    color: #5c5348;
    font-size: 0.7em;
    font-weight: 600;
    user-select: none;
  }
  .slogan-center .monthly {
    color: #1f4f4f;
    font-weight: 700;
    padding: 0 1px;
  }
  .slogan-center .nights { color: #4a433a; font-weight: 700; }
  .slogan-center .wordmark { display: inline; }
  .slogan-center .wordmark .brand { font-size: 1em; }
  .slogan-center .pivot { color: #ff2e12; }

  /* fully transparent text/link nav — no chips, no fills */
  .topnav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    padding-left: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    font-size: 16.9px; /* +25% top line */
    font-weight: 700;
  }
  .topnav a,
  .topnav button {
    appearance: none;
    -webkit-appearance: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: 16.9px; /* +25% top line */
    font-weight: 800;
    color: #2a2420;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    text-shadow:
      0 1px 0 rgba(255,249,240,0.95),
      0 1px 8px rgba(255,248,238,0.85);
  }
  .topnav a:hover,
  .topnav button:hover {
    color: #1f4f4f;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .topnav .btn-chat {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
  }
  .topnav .btn-chat .chat-bubble-ico {
    font-size: 1.05em;
    line-height: 1;
  }
  .topnav .btn-register { color: #c45c4a; }
  .topnav .btn-register:hover { color: #a84838; }
  .topnav .btn-lang {
    font-weight: 800;
    letter-spacing: 0.02em;
  }
  /* Translate button text in fire-red (matches the wordmark M) */
  .topnav .btn-lang,
  .hero-type .topnav .btn-lang { color: #ff2e12; }
  .footer-lang-btn {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    font-weight: 700;
    color: inherit;
    cursor: pointer;
  }
  .footer-lang-btn:hover { text-decoration: underline; color: var(--coral); }
  .auth-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: transparent !important;
  }

  .auth-dialog {
    border: 0; border-radius: 20px; padding: 0;
    max-width: 420px; width: 92vw;
    background: var(--paper-solid);
    box-shadow: 0 30px 80px rgba(40, 32, 24, 0.4);
  }
  .auth-dialog::backdrop { background: rgba(40, 32, 24, 0.55); }
  .auth-dialog .auth-body { padding: 26px 28px 28px; position: relative; }
  .auth-dialog h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px; margin-bottom: 6px; color: var(--teal-dark);
  }
  .auth-dialog .auth-sub { color: var(--mute); font-size: 13.5px; margin-bottom: 18px; }
  .auth-dialog label {
    display: block; font-size: 11px; font-weight: 800;
    letter-spacing: .05em; text-transform: uppercase;
    color: var(--teal-dark); margin: 12px 0 6px;
  }
  .auth-dialog input {
    width: 100%; padding: 11px 12px; border: 1.5px solid var(--line);
    border-radius: 11px; font: inherit; background: #fff; box-sizing: border-box;
  }
  .auth-dialog .auth-submit {
    width: 100%; margin-top: 18px; border: 0; border-radius: 13px;
    padding: 13px; font: inherit; font-size: 15px; font-weight: 800;
    color: #fff; cursor: pointer;
    background: linear-gradient(145deg, #d46a58, var(--coral));
  }
  .auth-dialog .auth-switch {
    margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--mute);
  }
  .auth-dialog .auth-switch button {
    border: 0; background: none; color: var(--teal-dark);
    font: inherit; font-weight: 800; cursor: pointer; text-decoration: underline;
  }
  .auth-dialog .auth-note {
    margin-top: 12px; font-size: 12px; color: var(--mute); text-align: center;
  }
  .auth-dialog .xclose {
    position: absolute; top: 12px; right: 14px;
    background: rgba(255,249,240,.92); border: 0; width: 34px; height: 34px;
    border-radius: 50%; font-size: 17px; cursor: pointer; font-weight: 700;
  }
  .chat-dialog {
    border: 0; border-radius: 20px; padding: 0;
    max-width: 480px; width: 94vw; height: min(580px, 82vh);
    background: var(--paper-solid);
    box-shadow: 0 30px 80px rgba(40, 32, 24, 0.4);
  }
  .chat-dialog::backdrop { background: rgba(40, 32, 24, 0.55); }
  .chat-shell {
    display: flex; flex-direction: column; height: min(580px, 82vh);
    position: relative;
  }
  .chat-head {
    padding: 18px 48px 14px 20px;
    border-bottom: 1px solid var(--line);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 26px; font-weight: 700; color: var(--teal-dark);
  }
  .chat-log {
    flex: 1; overflow-y: auto; padding: 18px 18px;
    display: flex; flex-direction: column; gap: 12px;
    background: linear-gradient(180deg, #fffdf8, var(--sand));
  }
  .chat-bubble {
    max-width: 90%; padding: 12px 14px; border-radius: 14px;
    font-size: 16px; line-height: 1.45; font-weight: 600;
    white-space: pre-wrap;
  }
  .chat-bubble.bot {
    align-self: flex-start;
    background: #fff; border: 1px solid var(--line);
    color: var(--ink);
  }
  .chat-bubble.me {
    align-self: flex-end;
    background: var(--teal-dark); color: #fff;
  }
  .chat-start {
    flex: 1; min-height: 0; overflow-y: auto;
    padding: 8px 14px 12px;
    display: flex; flex-direction: column; gap: 4px;
    background: linear-gradient(180deg, #fffdf8, var(--sand));
  }
  .chat-start[hidden] { display: none !important; }
  .chat-start-label {
    font-size: 12px; font-weight: 800; letter-spacing: .04em;
    text-transform: uppercase; color: var(--mute);
    margin-bottom: 2px;
  }
  .chat-q-list {
    display: flex; flex-direction: column; gap: 3px;
  }
  .chat-q-list button {
    width: 100%; text-align: left;
    border: 1px solid var(--line); border-radius: 8px;
    padding: 6px 10px; font: inherit; font-size: 14px; font-weight: 700;
    line-height: 1.25; background: var(--paper-solid); color: var(--ink);
    cursor: pointer;
  }
  .chat-q-list button:hover { border-color: var(--teal); color: var(--teal-dark); }
  .chat-q-list button.chat-hot {
    color: var(--teal-dark); border-color: var(--teal);
    background: #e8f2f2; font-weight: 800;
  }
  .chat-compose {
    flex: 0 0 auto;
    padding: 12px 16px 14px;
    border-bottom: 1px solid var(--line); background: #fff;
  }
  .chat-compose[hidden] { display: none !important; }
  .chat-compose label {
    display: block;
    font-size: 13px; font-weight: 800; letter-spacing: .04em;
    text-transform: uppercase; color: var(--mute);
    margin-bottom: 8px;
  }
  .chat-compose select {
    width: 100%; font: inherit; font-size: 16px; font-weight: 600;
    line-height: 1.35; padding: 12px 14px;
    border: 1.5px solid var(--line); border-radius: 12px;
    background: var(--paper-solid); color: var(--ink);
  }
  .chat-compose select option.chat-hot {
    color: var(--teal-dark);
    font-weight: 800;
    background: #e8f2f2;
  }
  .chat-log[hidden] { display: none !important; }

  .herosearch {
    flex: 0 0 auto;
    position: relative;
    z-index: 2000;
    display: flex;
    justify-content: flex-start; /* left-hand search bar */
    align-items: center;
    width: min(1680px, calc(100% - 48px));
    max-width: min(1680px, calc(100% - 48px));
    margin: 0 auto;
    box-sizing: border-box;
    padding: 8px 0 12px;
    background: transparent;
  }
  .searchbar {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    /* hug fields only — no empty space after Search */
    width: max-content;
    max-width: 100%;
    margin: 0; /* flush left of content column */
    box-sizing: border-box;
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 6px 6px 6px 6px;
    gap: 0;
    overflow: hidden;
    box-shadow:
      0 1px 0 rgba(255,255,255,.7) inset,
      0 14px 40px rgba(58, 45, 30, 0.16);
  }
  .searchbar .sfield {
    display: flex; flex-direction: column; justify-content: center; gap: 2px;
    padding: 8px 10px; min-width: 0;
    background: transparent;
  }
  /* shorter Where; bar starts at same left content edge as shell */
  .searchbar .sfield.where {
    flex: 0 0 15.5rem;
    width: 15.5rem;
    min-width: 15.5rem;
    max-width: 15.5rem;
    padding-left: 18px;
    padding-right: 10px;
  }
  /* Move in/out: medium fixed width (readable, not huge) */
  .searchbar .sfield.date {
    flex: 0 0 8.75rem;
    width: 8.75rem;
    min-width: 8.75rem;
    max-width: 8.75rem;
    padding-left: 10px;
    padding-right: 10px;
  }
  .searchbar .sfield.dd {
    flex: 0 0 auto;
    width: max-content;
    max-width: max-content;
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
  }
  .searchbar .sfield.budget-field {
    flex: 0 0 9.5rem;
    width: 9.5rem;
    min-width: 9rem;
    max-width: 10.5rem;
    padding-left: 10px;
    padding-right: 10px;
  }
  .searchbar .sfield.budget-field .budget-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
  }
  .searchbar .sfield.budget-field output {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--teal-dark);
    white-space: nowrap;
  }
  .searchbar .sfield.budget-field input[type=range] {
    width: 100%;
    margin-top: 4px;
    accent-color: var(--teal);
    cursor: pointer;
    height: 1.1rem;
  }
  .searchbar .sfield label {
    font-size: 10.5px; font-weight: 800; letter-spacing: .06em;
    text-transform: uppercase; color: var(--teal-dark);
    white-space: nowrap;
  }
  .searchbar .sfield input[type="search"],
  .searchbar .sfield input[type="date"],
  .searchbar .sfield select {
    border: 0; background: transparent;
    font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink);
    padding: 0;
    cursor: pointer;
    box-sizing: border-box;
  }
  .searchbar .sfield.where input[type="search"] {
    width: 100%;
    min-width: 0;
    cursor: text;
  }
  .searchbar .sfield.date {
    min-height: 2.75rem;
    justify-content: center;
    position: relative;
  }
  .searchbar .sfield.date .date-btn {
    display: inline-flex;
    align-items: center;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    padding: 0.15rem 0;
    white-space: nowrap;
    width: 100%;
    text-align: left;
  }
  .searchbar .sfield.date .date-btn:hover { color: var(--teal-dark); }

  /* Large custom calendar popup (native OS picker cannot be resized) */
  .cal-pop {
    position: fixed;
    z-index: 4000;
    width: min(420px, calc(100vw - 24px));
    background: var(--paper-solid);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(40, 32, 24, 0.28);
    padding: 18px 18px 16px;
    font-family: "Manrope", system-ui, sans-serif;
    color: var(--ink);
  }
  .cal-pop[hidden] { display: none !important; }
  .cal-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; margin-bottom: 8px;
  }
  .cal-head button {
    width: 44px; height: 44px; border-radius: 12px;
    border: 1.5px solid var(--line); background: #fff;
    font-size: 22px; font-weight: 700; cursor: pointer; color: var(--ink);
    line-height: 1;
  }
  .cal-head button:hover { border-color: var(--teal); color: var(--teal-dark); }
  .cal-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 24px; font-weight: 700; text-align: center; flex: 1;
  }
  .cal-hint {
    text-align: center; font-size: 13px; font-weight: 600;
    color: var(--mute); margin-bottom: 12px;
  }
  .cal-dow {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 4px; margin-bottom: 6px;
    text-align: center; font-size: 12px; font-weight: 800;
    letter-spacing: .04em; color: var(--mute); text-transform: uppercase;
  }
  .cal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 6px;
  }
  .cal-grid button {
    height: 48px; border-radius: 12px;
    border: 0; background: transparent;
    font: inherit; font-size: 16px; font-weight: 700;
    color: var(--ink); cursor: pointer;
  }
  .cal-grid button:hover:not(:disabled) { background: var(--sand); }
  .cal-grid button.muted { color: #c4bbb0; font-weight: 600; }
  .cal-grid button.sel {
    background: var(--coral); color: #fff;
    box-shadow: 0 6px 14px rgba(196, 92, 74, 0.35);
  }
  .cal-grid button.snap {
    box-shadow: inset 0 0 0 2px var(--teal);
  }
  .cal-grid button:disabled { opacity: 0.35; cursor: default; }
  .cal-foot {
    margin-top: 12px; display: flex; justify-content: space-between; align-items: center;
    gap: 10px; font-size: 12.5px; color: var(--mute); font-weight: 600;
  }
  .cal-foot button {
    border: 0; background: var(--sand); border-radius: 10px;
    padding: 10px 14px; font: inherit; font-weight: 800; cursor: pointer; color: var(--ink);
  }
  .cal-backdrop {
    position: fixed; inset: 0; z-index: 3990;
    background: rgba(40, 32, 24, 0.28);
  }
  .cal-backdrop[hidden] { display: none !important; }
  .searchbar .sfield.dd select {
    width: auto;
    field-sizing: content;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a6f62'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    padding-right: 15.4px; /* was 14px → +10% */
    padding-left: 0.15em;
  }
  .searchbar .sfield input::placeholder { color: var(--mute); font-weight: 500; }
  .searchbar .sfield input:focus,
  .searchbar .sfield select:focus { outline: none; }
  .searchbar .sdiv {
    width: 1px; background: var(--line); margin: 10px 0; flex-shrink: 0;
  }
  .searchbar .go {
    flex-shrink: 0; align-self: center; border: 0; border-radius: 999px;
    padding: 14px 22px;
    margin-left: 4px; /* last item — no spacer after it */
    font: inherit; font-size: 14px; font-weight: 800;
    color: #fff; cursor: pointer;
    background: linear-gradient(145deg, #d46a58, var(--coral));
    box-shadow: 0 6px 16px rgba(196, 92, 74, 0.35);
  }
  .searchbar .go:hover { filter: brightness(1.04); }

  /* shell: left sidebar up + search/results on the right */
  .shell {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 22px;
    /* expand into empty side margins (match search bar width) */
    width: min(1680px, calc(100% - 48px));
    max-width: min(1680px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0 0 54px;
    align-items: start; /* required for sticky sidebar in grid */
    overflow: visible;
    align-items: start;
  }
  .maincol {
    min-width: 0;
  }
  .sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1500;
    align-self: start;
    margin-top: 0;
    background: rgba(255, 249, 240, 0.5); /* 50% transparent */
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 16px 20px;
    box-shadow:
      0 1px 0 rgba(255,255,255,.35) inset,
      0 12px 32px rgba(58, 45, 30, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    max-height: calc(100vh - 160px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sidebar h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }
  .side-block {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }
  .side-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
  .side-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 8px;
  }
  select {
    font: inherit;
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--paper-solid);
    font-weight: 600;
    color: var(--ink);
  }
  .budget {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
  }
  .budget .budget-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .budget input[type=range] { width: 100%; accent-color: var(--teal); }
  .budget output {
    color: var(--teal-dark);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
  }
  .chip {
    border: 1.5px solid var(--line);
    background: var(--paper-solid);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    color: var(--ink);
    transition: all .15s;
    text-align: left;
  }
  .chip:hover { border-color: var(--teal); }
  .chip.on { background: var(--teal); border-color: var(--teal); color: #fff; }
  .chip-row {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .side-block .side-label {
    margin-bottom: 10px;
  }
  /* checkbox multi-select dropdown for amenity add-ons */
  .filter-dd {
    margin-top: 8px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--paper-solid);
    overflow: hidden;
  }
  .filter-dd > summary {
    list-style: none;
    cursor: pointer;
    padding: 9px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--teal-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    user-select: none;
  }
  .filter-dd > summary::-webkit-details-marker { display: none; }
  .filter-dd > summary::after {
    content: "▾";
    font-size: 11px;
    color: var(--mute);
  }
  .filter-dd[open] > summary::after { content: "▴"; }
  .filter-dd-panel {
    border-top: 1px solid var(--line);
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
  }
  .filter-dd-panel label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    padding: 4px 2px;
  }
  .filter-dd-panel input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--teal);
    flex-shrink: 0;
  }
  .filter-dd .dd-badge {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: var(--teal);
    border-radius: 999px;
    min-width: 1.25rem;
    padding: 1px 6px;
    text-align: center;
  }
  .filter-dd .dd-badge:empty { display: none; }
  .count {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
  }

  .layout { min-width: 0; padding: 0; }
  .intro {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px 24px 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 28px rgba(58,45,30,.1);
  }
  .intro h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(30px, 4.4vw, 44px);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.12;
    margin-bottom: 10px;
  }
  .intro h1 .monthly {
    display: block;
    color: var(--coral);
    font-size: 1.05em;
    letter-spacing: -0.015em;
    margin-bottom: 4px;
    background: linear-gradient(180deg, transparent 58%, rgba(196, 92, 74, 0.22) 58%);
    width: fit-content;
  }
  .intro h1 .sub {
    display: block;
    font-size: 0.72em;
    font-weight: 600;
    color: var(--teal-dark);
  }
  .side-block.sort-block {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .side-block.sort-block .side-label {
    text-align: right;
  }
  .side-block.sort-block select {
    margin-left: auto;
    width: 100%;
  }
  .intro p { color: var(--mute); font-size: 14.5px; max-width: 62ch; line-height: 1.55; }
  .intro .hand {
    font-family: "Caveat", cursive; font-size: 22px; color: var(--rose); margin-top: 8px;
  }

  /* four equal offer previews across the wider results pane */
  .grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  @media (max-width: 1400px) {
    .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @media (max-width: 1100px) {
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 700px) {
    .grid { grid-template-columns: 1fr; }
  }
  .card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 4px 4px 16px 16px;
    overflow: visible; /* star can hang over corner into BG */
    cursor: pointer;
    position: relative;
    box-shadow:
      0 1px 0 rgba(255,255,255,.65) inset,
      0 10px 24px rgba(58, 45, 30, 0.14);
    transition: transform .16s, box-shadow .16s;
    transform: rotate(var(--tilt, 0deg));
  }
  .card:nth-child(3n) { --tilt: -0.4deg; }
  .card:nth-child(3n+1) { --tilt: 0.35deg; }
  .card:nth-child(3n+2) { --tilt: -0.15deg; }
  .card:hover, .card.hot {
    transform: translateY(-4px) rotate(0deg);
    box-shadow: 0 16px 36px rgba(42, 92, 92, 0.18);
    z-index: 3;
  }
  .card-superdeal { z-index: 2; }
  .card .hero {
    height: 168px; position: relative; background: #d9cfc0;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
  }
  .card .hero svg, .card .hero .ph { width: 100%; height: 100%; display: block; object-fit: cover; }
  .hero .ph, .dhero .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .tier {
    position: absolute; top: 10px; left: 10px;
    font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: #fff; padding: 4px 10px; border-radius: 999px;
  }
  .tier.Prime { background: var(--prime); }
  .tier.Comfort { background: var(--comfort); }
  .tier.Essential { background: var(--essential); }

  /* Superdeal: hangs over top-right corner into page BG */
  .deal-star {
    position: absolute;
    top: -14px;
    right: -14px;
    font-size: 33px; /* +50% from 22 */
    line-height: 1;
    color: #ffcc00; /* clear mid yellow */
    -webkit-text-stroke: 1px #d4a000;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, .4),
      0 0 8px rgba(255, 200, 0, .55);
    pointer-events: none;
    z-index: 4;
  }
  .card-superdeal {
    outline: 1.5px solid rgba(255, 210, 0, .55);
    box-shadow: 0 8px 22px rgba(200, 160, 0, 0.14);
    z-index: 2;
    overflow: visible;
  }
  .card-superdeal .hero {
    overflow: hidden;
    border-radius: 4px 4px 0 0;
  }
  /* Offer modal only — breakfast special + 48h storno (not on landing cards) */
  .deal-special {
    font-family: "Caveat", cursive;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a2030;
    background: #ffd84d; /* clear mid yellow — not cream, not neon */
    border: 1px solid #e6b800;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 12px 0 8px;
    line-height: 1.35;
  }
  .deal-special::before {
    content: "Superdeal! ";
    font-family: "Caveat", cursive;
    font-size: 1.05em;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #ff2a00;
    vertical-align: 0;
  }
  .deal-storno {
    font-family: Manrope, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #5c6675;
    line-height: 1.45;
    margin: 0 0 14px;
    padding: 0 2px;
    max-width: 52ch;
  }
  .deal-tag { color: #ff2a00; }

  .card .body { padding: 14px 15px 16px; background: linear-gradient(180deg, #fffdf8, #faf3e8); position: relative; overflow: hidden; }
  /* Test-Sticker: diagonal über den Angebotstext. Kennzeichnet die
     Demo-Inserate, solange keine echten Gastgeber-Objekte vorliegen. */
  .card .test-sticker {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-14deg);
    z-index: 4;
    pointer-events: none;
    white-space: nowrap;
    font-family: Manrope, system-ui, sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .12em;
    color: rgba(196, 34, 12, .72);
    border: 3px solid rgba(196, 34, 12, .62);
    border-radius: 6px;
    padding: 5px 14px;
    background: rgba(255, 255, 255, .3);
    text-transform: uppercase;
  }
  @media (max-width: 820px) { .card .test-sticker { font-size: 17px; padding: 4px 11px; } }
  .card h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; font-weight: 700; }
  .card .meta { font-size: 12.5px; color: var(--mute); margin: 3px 0 8px; }
  .card .ams { font-size: 12px; letter-spacing: 0; margin-bottom: 9px; color: var(--mute); font-weight: 600; line-height: 1.35; }
  .card .foot { display: flex; align-items: baseline; justify-content: space-between; }
  .price { font-size: 17px; font-weight: 800; color: var(--teal-dark); }
  .price small { font-size: 12px; color: var(--mute); font-weight: 600; }
  .rate { font-size: 12.5px; font-weight: 700; }

  /* ---- Results head ---- */
  .results-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-top: 0; margin-bottom: 14px; flex-wrap: wrap;
  }
  .results-head h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px; font-weight: 700; color: var(--teal-dark);
  }
  /* Always visible toggle — it must never hide itself, or the map becomes
     unrecoverable (fixed 2026-07-22). Label is set in setMapMode(). */
  .btn-close-map {
    border: 1.5px solid var(--line); background: #fff;
    border-radius: 999px; padding: 7px 14px;
    font: inherit; font-size: 13px; font-weight: 800; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
  }
  body.map-mode .btn-close-map { border-color: var(--coral); color: var(--coral); }
  .btn-close-map:hover { border-color: var(--coral); color: var(--coral); }

  /* Landing / list-only: full-width offers — no map stealing space */
  .results-split { display: block; }
  .map-pane { display: none; }
  .list-pane { min-width: 0; }

  /* Search-results map mode: half window list | half window map */
  body.map-mode .shell {
    max-width: none;
    width: 100%;
    padding: 0 16px 24px;
  }
  body.map-mode .results-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
    min-height: calc(100vh - 200px);
  }
  body.map-mode .list-pane {
    overflow-y: auto;
    max-height: calc(100vh - 200px);
    padding-right: 4px;
  }
  body.map-mode .map-pane {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 200px);
    position: sticky;
    top: 0;
    background: #e8e2d6;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(58,45,30,.12);
  }
  .map-pane-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; padding: 10px 12px;
    background: rgba(255,249,240,.95);
    border-bottom: 1px solid var(--line);
    z-index: 2; flex-shrink: 0;
  }
  .map-pane-bar #mapCaption {
    font-size: 13px; font-weight: 800; color: var(--teal-dark);
  }
  .map-pane-host { flex: 1; min-height: 0; position: relative; }
  .map-pane-host #map { width: 100%; height: 100%; min-height: 360px; }
  body.map-mode .grid { grid-template-columns: 1fr; }
  body.map-mode .card .hero { height: 140px; }

  .link-map {
    border: 0; background: none; padding: 0;
    font: inherit; font-size: inherit; font-weight: 800;
    color: var(--teal-dark); cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .link-map:hover { color: var(--coral); }
  /* Only show “Show on map” when map panel is open (search results) */
  .link-map { display: none; }
  body.map-mode .link-map { display: inline; }

  #map { width: 100%; height: 100%; }

  /* Offer detail: centered, draggable window; content left, map right */
  #modal {
    position: fixed;
    inset: unset;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    max-width: min(1100px, 96vw);
    width: min(1100px, 96vw);
    max-height: 90vh;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: var(--paper-solid);
    box-shadow: 0 30px 80px rgba(40, 32, 24, 0.45);
  }
  #modal[open] { display: block; }
  #modal .modal-drag {
    cursor: move;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 40px 10px 16px;
    background: rgba(255,249,240,0.96);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    font-weight: 800;
    color: var(--teal-dark);
  }
  #modal .xclose {
    position: absolute;
    top: 6px;
    right: 8px;
    z-index: 50;
    background: var(--coral, #c96a4a);
    color: #fff;
    border: 1.5px solid #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(31,41,55,.3);
    transition: transform .12s, filter .12s;
  }
  #modal .xclose:hover { transform: scale(1.06); filter: brightness(1.06); }
  #modal .xclose:focus-visible { outline: 3px solid var(--teal, #2f6f66); outline-offset: 2px; }
  #modal .modal-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    max-height: calc(90vh - 44px);
    min-height: 440px;
  }
  #modal .modal-main {
    overflow-y: auto;
    max-height: calc(90vh - 44px);
    min-width: 0;
  }
  #modal .dhero { height: 200px; }
  #modal .dmap-col {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-left: 1px solid var(--line);
    background: #e8e2d6;
  }
  #modal .dmap-wrap {
    flex: 1;
    height: auto;
    min-height: 280px;
    margin: 0;
    border: 0;
    border-radius: 0;
    position: relative;
  }
  #modal #dmap { width: 100%; height: 100%; min-height: 280px; }
  #modal .dmap-caption {
    position: absolute; top: 10px; left: 10px; z-index: 500;
    background: rgba(255,249,240,.94); border-radius: 999px;
    padding: 6px 12px; font-size: 12px; font-weight: 700;
    color: var(--teal-dark); max-width: 90%;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
  }
  @media (max-width: 820px) {
    #modal .modal-shell {
      grid-template-columns: 1fr;
      max-height: 92vh;
    }
    #modal .dmap-col {
      border-left: 0;
      border-top: 1px solid var(--line);
      min-height: 240px;
    }
    #modal .dmap-wrap { min-height: 240px; height: 240px; flex: none; }
  }
  .pin {
    background: #fff9f0; border: 2px solid var(--teal); color: var(--teal-dark);
    font-weight: 800; font-size: 12.5px; padding: 4px 9px; border-radius: 999px;
    white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.18);
    transform: translate(-50%, -100%); display: inline-block; cursor: pointer;
  }
  .pin.hot { background: var(--teal); color: #fff; z-index: 999; }
  .pin.pin-deal {
    background: linear-gradient(180deg, #ffe566, #f0c420);
    color: #3a2a00; border: 1px solid #d4a80a;
    font-weight: 800;
  }
  .pin.pin-deal.hot { background: #c99400; color: #fff; }
  .leaflet-popup-content { font-family: "Manrope", sans-serif; margin: 10px 12px; }
  .pop b { font-size: 14px; }
  .pop .p { color: var(--teal-dark); font-weight: 800; margin: 4px 0; }
  .pop button {
    background: var(--coral); color: #fff; border: 0; border-radius: 9px;
    padding: 6px 12px; font: inherit; font-weight: 700; cursor: pointer;
  }

  dialog {
    border: 0; border-radius: 20px; padding: 0;
    max-width: 780px; width: 92vw; max-height: 88vh; overflow: auto;
    background: var(--paper-solid);
    box-shadow: 0 30px 80px rgba(40, 32, 24, 0.4);
  }
  dialog::backdrop { background: rgba(40, 32, 24, 0.55); }
  .dhero { height: 240px; position: relative; background: #d9cfc0; }
  .dhero svg { width: 100%; height: 100%; display: block; }
  .dbody { padding: 22px 26px 28px; }
  .dbody h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; }
  .dmeta { color: var(--mute); font-size: 14px; margin: 4px 0 14px; }
  .amgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 8px; margin: 14px 0 18px; }
  .amgrid span {
    background: var(--sand); border: 1px solid var(--line);
    border-radius: 10px; padding: 8px 10px; font-size: 13px; font-weight: 600;
  }
  .booking {
    background: linear-gradient(180deg, #fffdf8, var(--sand));
    border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-top: 6px;
  }
  .booking h4 { margin-bottom: 12px; font-size: 15px; }
  .brow { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; }
  .brow.total { border-top: 1.5px solid var(--line); margin-top: 8px; padding-top: 10px; font-weight: 800; font-size: 15px; }
  .bform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
  .bform input, .bform select {
    padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 11px;
    font: inherit; background: #fff;
  }
  .cta {
    width: 100%; background: linear-gradient(145deg, #d46a58, var(--coral));
    color: #fff; border: 0; border-radius: 13px; padding: 14px;
    font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
  }
  .cta:hover { filter: brightness(.97); }
  .success { text-align: center; padding: 26px 10px 8px; display: none; }
  .success .big { font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); }
  .success .big.ok-mark { font-size: 14px; }
  .success h3 { margin: 8px 0 4px; }
  .success p { color: var(--mute); font-size: 14px; }
  .xclose {
    position: absolute; top: 12px; right: 14px; z-index: 2;
    background: rgba(255,249,240,.92); border: 0; width: 34px; height: 34px;
    border-radius: 50%; font-size: 17px; cursor: pointer; font-weight: 700;
  }

  footer.site-footer {
    margin-top: 28px;
    padding: 36px 28px 20px;
    color: var(--ink);
    font-size: 13.5px;
    border-top: 1px solid var(--line);
    background: rgba(255, 249, 240, 0.92);
    backdrop-filter: blur(6px);
  }
  .footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 40px;
    max-width: 1100px;
    margin: 0 auto 28px;
  }
  .footer-col h3 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--ink);
  }
  .footer-col a,
  .footer-col button {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: 0;
    margin: 0 0 10px;
    font: inherit;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
  }
  .footer-col a:hover,
  .footer-col button:hover { text-decoration: underline; color: var(--teal-dark); }
  .footer-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--ink);
  }
  .footer-bar-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 4px;
  }
  .footer-bar-left a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
  }
  .footer-bar-left a:hover { text-decoration: underline; color: var(--coral); }
  .footer-bar-left .dot { color: var(--mute); margin: 0 4px; user-select: none; }
  .footer-eu-btn {
    display: inline-flex; align-items: center;
    margin-left: 6px; padding: 5px 11px;
    border-radius: 999px; font-size: 11.5px; font-weight: 800;
    letter-spacing: .03em; text-transform: uppercase;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(145deg, #3d7a7a, #2a5c5c);
    box-shadow: 0 2px 8px rgba(42, 92, 92, 0.25);
  }
  .footer-eu-btn:hover {
    filter: brightness(1.06);
    color: #fff !important;
  }
  .footer-bar-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-weight: 700;
  }
  .footer-bar-right button,
  .footer-bar-right > a {
    background: none;
    border: 0;
    font: inherit;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    padding: 0;
    text-decoration: none;
  }
  .footer-bar-right button:hover,
  .footer-bar-right > a:hover { text-decoration: underline; }
  .footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .footer-social a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
  }
  .footer-social a:hover { color: var(--coral); }
  @media (max-width: 720px) {
    .footer-cols { grid-template-columns: 1fr; gap: 22px; }
    .footer-bar { flex-direction: column; align-items: flex-start; }
  }

  @media (max-width: 960px) {
    .shell {
      grid-template-columns: 1fr;
      padding: 14px 16px 40px;
      gap: 14px;
    }
    .sidebar {
      position: static;
      max-height: none;
      order: 2;
    }
    .maincol { order: 1; }
    body.map-mode .results-split {
      grid-template-columns: 1fr;
      min-height: 0;
    }
    body.map-mode .map-pane {
      position: relative; top: 0;
      min-height: 45vh; order: -1;
    }
    body.map-mode .list-pane { max-height: none; }
    .hero-type {
      width: calc(100% - 24px);
      max-width: none;
      justify-content: space-between;
      padding: 10px 12px;
      gap: 0.75rem;
    }
    .slogan { display: none; }
    .slogan-center { font-size: 16px; }
    .topnav { gap: 0.65rem; font-size: 15px; }
    .topnav a { display: none; }
    .topnav a, .topnav button { font-size: 15px; }
    .herosearch { padding: 14px 16px 4px; }
    .searchbar { border-radius: 22px; flex-direction: column; align-items: stretch; max-width: none; }
    .searchbar .sdiv { width: auto; height: 1px; margin: 0 16px; }
    .searchbar .sfield { padding: 10px 16px; }
    .searchbar .go { width: calc(100% - 8px); margin: 4px; border-radius: 14px; }
    .chip-row { flex-direction: row; flex-wrap: wrap; }
  }
