/* =====================================================================
   Notice Board (brett) — Blacksmith & Witches.
   House standard (Nov 29, 2026 palette ruling): white #FFFFFF ground,
   blue #005BBB, blue-dark #004794, yellow #FFD500, ink #111827,
   muted #4B5563, border #E5E7EB — the clean Google-style look of the
   house search page. Green/teal are out. Serif display headlines
   (Spectral; Inter for UI/body), eBay-pattern header (utility bar,
   brand + search row, section row), card grid with floating badges,
   3-step "how it works". No flags — city and language markers are
   plain text / own names. Card media is a plain house-blue block
   carrying the section name — notices carry no photos.
   ===================================================================== */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #eef4fb;
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --brand: #005bbb;
  --brand-dark: #004794;
  --brand-band: #004794;
  --brand-deep: #111827;
  --brand-tint: #eef4fb;
  --accent: #ffd500;
  --accent-dark: #e6bf00;
  --radius: 16px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.05), 0 10px 30px rgba(17, 24, 39, 0.07);
  --shadow-lift: 0 2px 4px rgba(17, 24, 39, 0.06), 0 18px 44px rgba(17, 24, 39, 0.14);
  --font-serif: 'Spectral', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* --- Header: eBay pattern -------------------------------------------
   Slim dark-blue utility bar, then the main row (brand with the tiny
   sunflower, big search, actions), then the section row. ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 12px rgba(17, 24, 39, 0.05);
}
.utility-bar {
  background: var(--brand-dark);
  color: #fff;
  font-size: 0.82rem;
}
.utility-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}
.utility-inner a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.utility-inner a:hover { text-decoration: underline; }
.utility-spacer { flex: 1; }
.header-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex: none;
}
.bw-sunflower { flex: none; display: block; }
.brand-text { display: grid; line-height: 1.15; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.header-search {
  flex: 1 1 280px;
  display: flex;
  gap: 8px;
}
.header-search input {
  flex: 1;
  border-radius: 999px;
  padding: 11px 18px;
}
.header-search button { border-radius: 999px; padding: 11px 22px; }
.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.auth-status { font-size: 0.92rem; color: var(--muted); }
.auth-status button { margin-left: 8px; padding: 6px 12px; font-size: 0.88rem; }
.post-free-btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.post-free-btn:hover { background: var(--brand-dark); }
.header-sections {
  border-top: 1px solid var(--line);
}
.sections-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.section-link {
  padding: 7px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.section-link:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-tint); }
.section-link.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.section-link.active:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

/* --- City bar: the ten doors as pills ------------------------------- */
.city-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 10px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.city-bar-label { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.city-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.city-nav a {
  padding: 6px 15px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}
.city-nav a:hover { background: var(--brand-tint); color: var(--brand-dark); }
.city-nav a.active { background: var(--brand); color: #fff; }

/* --- Layout & cards -------------------------------------------------- */
.container {
  max-width: 1180px;
  margin: 24px auto 48px;
  padding: 0 20px;
  display: grid;
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--brand-dark);
}
.panel-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }

/* --- Hero ------------------------------------------------------------- */
.city-hero {
  background: linear-gradient(120deg, #ffffff, #eef4fb);
  border-color: #e5e7eb;
  padding: 26px 30px 30px;
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand);
  margin-bottom: 8px;
}
.hero-line1 {
  margin: 0 0 2px;
  font-family: var(--font-serif);
  font-variant: small-caps;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  letter-spacing: 0.06em;
  color: var(--brand);
}
.hero-line2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.1vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--brand-dark);
}
.hero-cityline {
  margin: 12px 0 2px;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
}
.city-hero .muted { margin: 0; font-size: 1rem; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1px;
  font-size: 0.86rem;
  color: var(--muted);
}
.trust-icon {
  width: 27px;
  height: 27px;
  color: var(--brand);
  margin-bottom: 5px;
}
.trust-item strong { color: var(--brand-dark); font-size: 0.95rem; }
.hero-band {
  margin: 24px -30px -30px;
  padding: 13px 30px 24px;
  background: var(--brand-band);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 18px;
}
.hero-band-name {
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.05em;
}
.hero-band-by { font-size: 0.92rem; color: #eef4fb; }

/* --- Search strip: floating pill bar over the hero's foot ------------ */
.search-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px 14px;
  box-shadow: var(--shadow-lift);
  margin: -36px 18px 0;
  position: relative;
  z-index: 2;
}
.search-strip .filters { margin-bottom: 0; align-items: center; }
.search-strip .filters select,
.search-strip .filters input[type="number"] { flex: 1 1 150px; border-radius: 12px; }
.search-strip .filters button {
  flex: 0 0 auto;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 0.98rem;
}

/* --- Category rail ---------------------------------------------------- */
.category-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.rail-link {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.rail-link:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-tint); }
.rail-link.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.rail-cities { display: contents; }
.rail-cities a { color: var(--muted); }

/* --- Results: card grid ------------------------------------------------ */
.results-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.results-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  color: var(--brand-dark);
}
.results-count { font-size: 0.9rem; color: var(--muted); }

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.listings-grid > p { grid-column: 1 / -1; margin: 0; }

.property-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
/* Notices carry no photos: the media block is a plain house-blue
   panel carrying the section name. */
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-media-word {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-align: center;
  padding: 0 16px;
}
.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}
.pill-badge {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.pill-offer { background: rgba(255, 255, 255, 0.94); color: var(--brand-dark); }
.pill-seeking { background: rgba(0, 91, 187, 0.92); color: #fff; }
.pill-tag { background: rgba(17, 24, 39, 0.78); color: #fff; }
.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-district {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-title { margin: 4px 0 8px; font-size: 1.12rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.card-desc {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.spec-pill {
  background: var(--brand-tint);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b5563;
}
.card-meta { margin: 0 0 4px; font-size: 0.82rem; color: var(--muted); }
.card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price-block strong {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--brand-dark);
}
.price-block span { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.price { font-family: var(--font-serif); font-weight: 700; font-size: 1.45rem; color: var(--brand-dark); }
.price small { font-size: 0.82rem; font-weight: 600; color: var(--muted); }

/* Honest empty state — a section or city with no notices says so. */
.empty-state {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px dashed #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
}
.empty-state h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--brand-dark);
}
.empty-state p { margin: 0 0 6px; color: var(--muted); }
.empty-state .post-free-btn { margin-top: 12px; }

/* --- How it works: 3 steps on a soft tint band ------------------------ */
.how-it-works {
  background: var(--brand-tint);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 28px;
}
.section-head { margin-bottom: 18px; }
.section-head .hero-eyebrow { margin-bottom: 4px; }
.section-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  color: var(--brand-dark);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.step-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--brand-dark);
}
.step-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.step-num {
  display: inline-block;
  font-weight: 800;
  color: var(--brand-dark);
  background: var(--brand-tint);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* --- Poster CTA banner: the deep blue band ----------------------------- */
.poster-banner {
  background: linear-gradient(120deg, var(--brand-band), var(--brand-deep));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-lift);
}
.poster-banner h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.poster-banner p { margin: 0; color: #eef4fb; max-width: 620px; }
.poster-banner .hero-eyebrow { color: var(--accent); }
.banner-actions { flex: none; }
.banner-btn {
  display: inline-block;
  background: #ffffff;
  color: var(--brand-dark);
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.banner-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }

/* --- Forms & controls ------------------------------------------------ */
.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tab {
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}
.tab:hover { border-color: var(--brand); color: var(--brand-dark); }
.tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.form-grid { display: grid; gap: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }

input, select, textarea, button {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 91, 187, 0.18);
}
button {
  background: var(--brand);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s ease;
}
button:hover { background: var(--brand-dark); }
button.rail-link {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
button.rail-link:hover { background: var(--brand-tint); color: var(--brand-dark); }
.checkbox-inline { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; }
.checkbox-inline input { padding: 0; }

.hidden { display: none !important; }
.muted { color: var(--muted); font-size: 0.92rem; margin-top: -6px; }
.msg { min-height: 20px; font-size: 0.9rem; margin: 8px 0 0; color: var(--brand-dark); }
.notice {
  margin-top: 10px;
  padding: 12px 14px;
  background: #fef9c3;
  border: 1px solid #fde047;
  border-radius: 10px;
}

/* --- Listing contact (free for every signed-in user) ------------------ */
.card-contact { margin-top: 12px; }
.contact-toggle {
  background: var(--surface);
  color: var(--brand-dark);
  border: 1px solid var(--brand);
  padding: 9px 16px;
  font-size: 0.9rem;
  border-radius: 10px;
  white-space: nowrap;
}
.contact-toggle:hover { background: var(--brand-tint); color: var(--brand-dark); }
.contact-box {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}
.contact-box textarea { width: 100%; }
.contact-box .post-free-btn { margin-top: 0; justify-self: start; }
.enquiry-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.enquiry-item:last-child { border-bottom: none; }
.enquiry-item p { margin: 6px 0 0; color: #4b5563; }

/* --- The registration gate ---------------------------------------------
   The combined door in the WG-Gesucht pattern: one quiet column —
   serif welcome, email alone on step 1, two large account-type
   cards on step 2, name + password with an eye on step 3, terms as
   small print. Public wording says "Account", never "Back Office". */
.gate-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-dark);
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.gate-sub { color: var(--muted); font-size: 0.95rem; margin: 0 0 16px; }
.gate-alt {
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  justify-content: center;
  text-align: center;
}
.gate-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.gate-link:hover { background: none; color: var(--brand-dark); }
.gate-cards { display: grid; gap: 12px; margin-bottom: 16px; }
@media (min-width: 640px) {
  .gate-cards { grid-template-columns: 1fr 1fr; }
}
.gate-card {
  display: grid;
  gap: 6px;
  text-align: left;
  align-content: start;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  font-weight: 400;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.gate-card strong {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--brand-dark);
}
.gate-card span { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.gate-card:hover { background: var(--surface); border-color: var(--brand); }
.gate-card.selected {
  border-color: var(--brand);
  background: var(--brand-tint);
  box-shadow: 0 0 0 3px rgba(0, 91, 187, 0.16);
}
.gate-nav { display: flex; gap: 10px; }
.gate-nav > button:last-child { flex: 1; }
.gate-back {
  background: var(--surface);
  color: var(--brand-dark);
  border: 1px solid var(--line);
}
.gate-back:hover { background: var(--brand-tint); color: var(--brand-dark); }
.gate-nav button:disabled { opacity: 0.45; cursor: not-allowed; }
.gate-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-alt);
}
.gate-email-locked { font-weight: 600; overflow-wrap: anywhere; }
.gate-pw-wrap { position: relative; display: grid; }
.gate-pw-wrap input { padding-right: 48px; }
.gate-eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  background: none;
  border: none;
  padding: 8px;
  color: var(--muted);
  cursor: pointer;
}
.gate-eye:hover { background: none; color: var(--brand-dark); }
.gate-terms { font-size: 0.8rem; color: var(--muted); margin: 0; line-height: 1.45; }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 32px;
  display: grid;
  gap: 12px;
}
.footer-brand {
  margin: 0;
  background: var(--brand-band);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 12px;
}
.footer-brand strong { font-weight: 700; }
.footer-operated { font-size: 0.95rem; font-weight: 500; color: #eef4fb; }
.footer-brand a { color: #fff; text-decoration: none; }
.footer-line a { color: var(--brand); text-decoration: none; }
.footer-brand a:hover, .footer-line a:hover { text-decoration: underline; }
.footer-cities { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-cities a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
}
.footer-cities a:hover { color: var(--brand); text-decoration: underline; }
.footer-line { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* --- Language gear (house pattern) --------------------------------------
   ONE gear; the panel lists all thirty languages by their own names
   and scrolls. No flags. Mounted by brett-i18n.js into #bwLangMount. */
.bw-lang-mount { position: relative; display: inline-flex; flex: none; align-items: center; }
.bw-lang-switch { position: relative; display: inline-flex; }
.bw-lang-gear-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand-dark);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
}
.utility-bar .bw-lang-gear-btn { border-color: rgba(255, 255, 255, 0.35); }
.bw-lang-gear-btn:hover { background: var(--brand-tint); color: var(--brand-dark); }
.bw-lang-gear-btn svg { width: 20px; height: 20px; flex: none; }
.bw-lang-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  min-width: 190px;
  max-height: min(70vh, 480px);
  overflow-y: auto;
  display: none;
  gap: 2px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lift);
}
.bw-lang-panel.bw-open { display: grid; }
.bw-lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.bw-lang-option:hover { background: var(--brand-tint); color: var(--brand-dark); }
.bw-lang-option.bw-active { color: var(--brand-dark); font-weight: 700; }
.bw-lang-check { color: var(--brand); font-weight: 700; }

/* --- Small screens ------------------------------------------------------- */
@media (max-width: 720px) {
  .trust-strip { grid-template-columns: 1fr; }
  .search-strip { margin: -24px 6px 0; }
  .header-search { order: 3; flex-basis: 100%; }
  .city-hero { padding: 20px; }
  .hero-band { margin: 20px -20px -20px; padding: 12px 20px 20px; }
  .poster-banner { padding: 26px; }
}
