:root {
  --rer-ink: #1d1d1f;
  --rer-ink-2: #6e6e73;
  --rer-ink-3: #86868b;
  --rer-line: #d2d2d7;
  --rer-hairline: rgba(0, 0, 0, 0.08);
  --rer-canvas: #faf6ef;
  --rer-mist: #f4efe6;
  --rer-gold: #8f6a2c;
  --rer-gold-deep: #7d5d25;
  --rer-gold-light: #e3c88f;
  --rer-gold-tint: #faf5ea;
  --rer-gold-rgb: 143, 106, 44;
  --rer-gold-sheen: linear-gradient(135deg, #f6e7c6 0%, #e2c68f 28%, #c9a45c 52%, #ecd8ab 76%, #d2b06c 100%);
  --rer-gold-text: linear-gradient(100deg, #7d5d25 0%, #a17b37 50%, #7d5d25 100%);
  --rer-gold-text-light: linear-gradient(100deg, #f3e0b5 0%, #d4b06a 50%, #f3e0b5 100%);
  --rer-radius-lg: 28px;
  --rer-radius: 20px;
  --rer-radius-sm: 12px;
  --rer-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --bs-body-font-family: var(--rer-font);
  --bs-body-color: var(--rer-ink);
  --bs-body-bg: var(--rer-canvas);
  --bs-secondary-color: var(--rer-ink-2);
  --bs-border-color: var(--rer-line);
  --bs-link-color: var(--rer-gold);
  --bs-link-color-rgb: var(--rer-gold-rgb);
  --bs-link-hover-color: var(--rer-gold-deep);
  --bs-link-hover-color-rgb: 125, 93, 37;
  --bs-focus-ring-color: rgba(var(--rer-gold-rgb), 0.3);
  --bs-code-color: var(--rer-ink-2);
  --bs-form-valid-color: var(--rer-ink);
  --bs-form-valid-border-color: var(--rer-line);
  --bs-primary: var(--rer-ink);
  --bs-primary-rgb: 29, 29, 31;
}

body {
  font-family: var(--rer-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em;
  font-size: 17px;
  line-height: 1.47;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--rer-ink);
}

.text-secondary { color: var(--rer-ink-2) !important; }

a { text-underline-offset: 0.18em; }

/* ---------- Typography helpers ---------- */

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rer-gold);
  background: var(--rer-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  color: var(--rer-gold);
  background-image:
    linear-gradient(105deg, transparent 42%, rgba(236, 214, 164, 0.55) 49%, transparent 56%),
    linear-gradient(110deg, #6f5220 0%, #8f6a2c 25%, #c4a05a 45%, #b8924f 52%, #8f6a2c 70%, #6f5220 100%);
  background-size: 260% 100%, 180% 100%;
  background-position: 30% 0, 20% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gold-water 11s ease-in-out infinite;
}

/* Irregular stops so the two highlights drift at different speeds, like light on water. */
@keyframes gold-water {
  0%   { background-position: 30% 0, 20% 0; }
  22%  { background-position: 62% 0, 48% 0; }
  41%  { background-position: 44% 0, 70% 0; }
  63%  { background-position: 78% 0, 42% 0; }
  82%  { background-position: 50% 0, 60% 0; }
  100% { background-position: 30% 0, 20% 0; }
}

.tile-dark .eyebrow { background: var(--rer-gold-text-light); -webkit-background-clip: text; background-clip: text; }

a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--rer-gold);
  outline-offset: 3px;
  box-shadow: none;
}

.headline {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.headline-md {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.subhead {
  font-size: clamp(1.1875rem, 2vw, 1.5rem);
  line-height: 1.35;
  color: var(--rer-ink-2);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  letter-spacing: -0.028em;
  font-weight: 700;
  line-height: 1.1;
}

.section-title .muted { color: var(--rer-ink-3); }

.link-chevron {
  color: var(--rer-gold);
  text-decoration: none;
  font-weight: 400;
}

.link-chevron::after {
  content: "\203A";
  display: inline-block;
  margin-left: 0.3em;
  font-size: 1.15em;
  line-height: 1;
  transition: transform 0.2s ease;
}

.link-chevron:hover { text-decoration: underline; }
.link-chevron:hover::after { transform: translateX(3px); }

/* ---------- Buttons ---------- */

.btn {
  border-radius: 980px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.6rem 1.35rem;
}

.btn-lg { padding: 0.85rem 1.75rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.4rem 0.95rem; font-size: 0.875rem; }

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--rer-ink);
  --bs-btn-border-color: var(--rer-ink);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #000;
  --bs-btn-hover-border-color: #000;
  --bs-btn-active-bg: #000;
  --bs-btn-active-border-color: #000;
  --bs-btn-focus-shadow-rgb: 29, 29, 31;
}

.btn-outline-primary {
  --bs-btn-color: var(--rer-ink);
  --bs-btn-border-color: var(--rer-ink);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--rer-ink);
  --bs-btn-hover-border-color: var(--rer-ink);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--rer-ink);
  --bs-btn-active-border-color: var(--rer-ink);
}

.btn-accent {
  --bs-btn-color: var(--rer-ink);
  --bs-btn-hover-color: var(--rer-ink);
  --bs-btn-active-color: var(--rer-ink);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-border-color: transparent;
  background: var(--rer-gold-sheen);
  background-size: 200% 200%;
  background-position: 0% 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 6px 18px rgba(var(--rer-gold-rgb), 0.28);
  transition: background-position 0.6s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background: var(--rer-gold-sheen);
  background-size: 200% 200%;
  background-position: 100% 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 26px rgba(var(--rer-gold-rgb), 0.35);
}

.btn-quiet {
  --bs-btn-color: var(--rer-ink);
  --bs-btn-bg: var(--rer-mist);
  --bs-btn-border-color: var(--rer-mist);
  --bs-btn-hover-color: var(--rer-ink);
  --bs-btn-hover-bg: #e8e8ed;
  --bs-btn-hover-border-color: #e8e8ed;
}

.btn-whatsapp {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--rer-ink);
  --bs-btn-border-color: var(--rer-ink);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #000;
  --bs-btn-hover-border-color: #000;
}

.btn-whatsapp i { color: var(--rer-gold-light); }

/* ---------- Header ---------- */

.lang-switch {
  display: inline-flex;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: var(--rer-mist);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang-switch a,
.lang-switch span {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: var(--rer-ink-2);
  text-decoration: none;
}

.lang-switch a:hover { color: var(--rer-ink); }

.lang-switch .active {
  background: #fff;
  color: var(--rer-gold);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.draft-bar {
  background: var(--rer-mist);
  color: var(--rer-ink-2);
  font-size: 0.75rem;
  letter-spacing: 0;
}

.draft-bar a { color: var(--rer-gold); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--rer-hairline);
}

.site-nav [hidden] { display: none !important; }

.nav-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  overflow: hidden;
  white-space: nowrap;
}

.nav-row > * { flex: none; }

.site-nav .navbar-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 0;
  padding: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--rer-ink);
  text-decoration: none;
}

.site-nav .brand-mark {
  width: 2.5rem;
  height: 2rem;
  margin-right: 0.35rem;
}

.nav-main {
  display: flex;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.site-nav .nav-link {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--rer-ink);
  opacity: 0.8;
  white-space: nowrap;
  text-decoration: none;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active { opacity: 1; }

.site-nav .nav-link.active { font-weight: 600; }

.site-nav .btn { white-space: nowrap; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.nav-main:not([hidden]) + .nav-actions { margin-left: 0; }

.nav-more {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.6rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--rer-ink);
}

.nav-more:hover { background: var(--rer-mist); }

.nav-more span {
  display: block;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-more[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-more[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-more[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-overflow {
  border-top: 1px solid var(--rer-hairline);
  padding: 0.75rem 0 1.25rem;
}

.nav-overflow .nav-link {
  padding: 0.7rem 0;
  font-size: 1.0625rem;
  border-bottom: 1px solid var(--rer-hairline);
}

.nav-overflow-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.nav-overflow-actions:not(:has(> :not([hidden]))) { display: none; }

/* ---------- Sections ---------- */

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-sm { padding: clamp(3rem, 6vw, 5rem) 0; }
.bg-mist { background: var(--rer-mist); }

.hero {
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(3.5rem, 7vw, 6rem);
  text-align: center;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(214, 181, 110, 0.18), transparent 70%),
    var(--rer-canvas);
}

.hero .subhead { max-width: 44rem; margin: 1.25rem auto 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.25rem;
}

.page-hero {
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.page-hero .subhead { max-width: 40rem; margin: 1rem auto 0; }

/* ---------- Search pill ---------- */

.search-pill {
  max-width: 52rem;
  margin: 3rem auto 0;
  background: #fff;
  border-radius: 980px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 18px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--rer-hairline);
  padding: 0.5rem;
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
  text-align: left;
}

.search-pill .field {
  flex: 1 1 0;
  padding: 0.45rem 1.25rem;
  border-radius: 980px;
  min-width: 0;
}

.search-pill .field + .field { border-left: 1px solid var(--rer-hairline); }

.search-pill label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rer-ink-3);
  margin-bottom: 0.1rem;
}

.search-pill select,
.search-pill input {
  border: 0;
  padding: 0;
  width: 100%;
  font-size: 0.9375rem;
  background: transparent;
  color: var(--rer-ink);
  outline: none;
  appearance: none;
}

.search-pill .btn { padding: 0 1.6rem; white-space: nowrap; }

@media (max-width: 767.98px) {
  .search-pill { flex-direction: column; border-radius: var(--rer-radius); }
  .search-pill .field + .field { border-left: 0; border-top: 1px solid var(--rer-hairline); }
  .search-pill .btn { padding: 0.8rem; }
}

/* ---------- Photo placeholders ---------- */

.photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 2rem;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(160deg, #cfc6b8 0%, #a89c8a 55%, #7f7465 100%);
}

.photo i { font-weight: 200; opacity: 0.9; }

.photo.type-apartment { background: radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,.35), transparent 55%), linear-gradient(160deg, #d6d1ca 0%, #aaa39a 55%, #7c756d 100%); }
.photo.type-house { background: radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,.35), transparent 55%), linear-gradient(160deg, #d3cbbd 0%, #a89d8b 55%, #7e7462 100%); }
.photo.type-land { background: radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,.35), transparent 55%), linear-gradient(160deg, #e3d6ba 0%, #c2ad86 55%, #96825e 100%); }
.photo.type-commercial { background: radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,.35), transparent 55%), linear-gradient(160deg, #cfccc8 0%, #a19d97 55%, #75716b 100%); }
.photo.type-investment { background: radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,.35), transparent 55%), linear-gradient(160deg, #e6d3ad 0%, #c3a36b 55%, #93733c 100%); }

.photo .photo-label {
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Property cards ---------- */

.property-card {
  display: block;
  color: var(--rer-ink);
  text-decoration: none;
  border-radius: var(--rer-radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.property-card:hover {
  color: var(--rer-ink);
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.1);
}

.property-card .photo { border-radius: var(--rer-radius); }
.property-card:hover .photo { border-radius: var(--rer-radius) var(--rer-radius) 0 0; }

.property-card .meta { padding: 1.1rem 0.35rem 0.4rem; }
.property-card:hover .meta { padding-left: 1.1rem; padding-right: 1.1rem; }

.property-card .tagline {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rer-ink-3);
  font-weight: 600;
}

.property-card .tagline .exclusive { color: var(--rer-gold); }

.property-card h3 {
  font-size: 1.1875rem;
  margin: 0.35rem 0 0.25rem;
  letter-spacing: -0.02em;
}

.property-card .facts {
  font-size: 0.875rem;
  color: var(--rer-ink-2);
}

.property-card .price {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: 0.6rem;
}

/* ---------- Tiles ---------- */

.tile {
  background: var(--rer-mist);
  border-radius: var(--rer-radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  height: 100%;
}

.tile-white { background: #fff; }

.tile-dark {
  background: var(--rer-ink);
  color: #f5f5f7;
}

.tile-dark h2, .tile-dark h3 { color: #fff; }
.tile-dark .text-secondary { color: #a1a1a6 !important; }
.tile-dark .link-chevron { color: var(--rer-gold-light); }

.tile .tile-icon {
  font-size: 1.75rem;
  color: var(--rer-gold);
  margin-bottom: 1rem;
  display: inline-block;
}

.type-tile {
  display: block;
  text-decoration: none;
  color: var(--rer-ink);
  background: var(--rer-mist);
  border-radius: var(--rer-radius);
  padding: 1.75rem 1rem;
  text-align: center;
  transition: background 0.2s ease, transform 0.3s ease;
  height: 100%;
}

.type-tile.on-mist { background: #fff; }
.type-tile.on-mist:hover { background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); }

.type-tile:hover { background: #ececf0; color: var(--rer-ink); transform: translateY(-2px); }
.type-tile i { font-size: 1.75rem; display: block; margin-bottom: 0.6rem; color: var(--rer-gold); }
.type-tile span { font-size: 0.9375rem; font-weight: 500; }

/* ---------- Steps ---------- */

.step {
  border-top: 1px solid var(--rer-line);
  padding-top: 1.25rem;
}

.step .step-no {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rer-gold);
  letter-spacing: 0.04em;
}

.step h3 { font-size: 1.1875rem; margin: 0.4rem 0 0.35rem; }
.step p { font-size: 0.9375rem; color: var(--rer-ink-2); margin: 0; }

/* ---------- Forms ---------- */

.form-surface {
  background: var(--rer-mist);
  border-radius: var(--rer-radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rer-ink-2);
  margin-bottom: 0.35rem;
}

.form-control,
.form-select {
  border-radius: var(--rer-radius-sm);
  border: 1px solid var(--rer-line);
  padding: 0.7rem 0.95rem;
  font-size: 1rem;
  background-color: #fff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--rer-gold);
  box-shadow: 0 0 0 4px rgba(var(--rer-gold-rgb), 0.15);
}

.form-check-input:checked {
  background-color: var(--rer-ink);
  border-color: var(--rer-ink);
}

.form-check-input:focus {
  border-color: var(--rer-gold);
  box-shadow: 0 0 0 4px rgba(var(--rer-gold-rgb), 0.15);
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
  background-image: none;
  padding-right: 1rem;
}

.form-switch .form-check-input:focus:not(:checked) {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%238f6a2c'/%3e%3c/svg%3e");
}

.filter-bar {
  background: var(--rer-mist);
  border-radius: var(--rer-radius);
  padding: 1.25rem;
}

/* ---------- Detail ---------- */

.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.6rem;
  border-radius: var(--rer-radius-lg);
  overflow: hidden;
}

.detail-gallery .photo { aspect-ratio: auto; height: 100%; min-height: 12rem; }
.detail-gallery .photo:first-child { grid-row: span 2; min-height: 26rem; font-size: 3rem; }

@media (max-width: 767.98px) {
  .detail-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .detail-gallery .photo:first-child { grid-row: auto; min-height: 16rem; }
  .detail-gallery .photo:not(:first-child) { display: none; }
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 1.5rem 1rem;
  border-top: 1px solid var(--rer-line);
  border-bottom: 1px solid var(--rer-line);
  padding: 1.5rem 0;
}

.fact-grid dt {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rer-ink-3);
}

.fact-grid dd { font-size: 1.0625rem; margin: 0.2rem 0 0; font-weight: 500; }

.side-card {
  background: #fff;
  border-radius: var(--rer-radius-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 24px 48px rgba(0, 0, 0, 0.08);
  padding: 1.75rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.6rem 1.5rem;
}

.feature-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  color: var(--rer-gold);
  margin-right: 0.55rem;
}

.map-placeholder {
  background: var(--rer-mist);
  border-radius: var(--rer-radius);
  padding: 3rem 1rem;
  text-align: center;
  color: var(--rer-ink-2);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--rer-mist);
  color: var(--rer-ink-2);
  font-size: 0.75rem;
  line-height: 1.6;
  padding: 2.5rem 0 1.5rem;
}

.site-footer h3 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rer-ink);
  margin-bottom: 0.6rem;
  letter-spacing: 0;
}

.site-footer a { color: var(--rer-ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--rer-ink); text-decoration: underline; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer .footer-note { border-bottom: 1px solid var(--rer-line); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.site-footer .footer-legal { border-top: 1px solid var(--rer-line); padding-top: 1rem; margin-top: 1.5rem; }

/* ---------- Floating contact & cookie banner ---------- */

.floating-contact {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1030;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.floating-contact a {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--rer-hairline);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  color: var(--rer-ink);
  transition: transform 0.2s ease;
}

.floating-contact a:hover { transform: scale(1.06); }
.floating-contact a.wa { color: var(--rer-gold); }

.cookie-banner {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  max-width: 26rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--rer-hairline);
  border-radius: var(--rer-radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  padding: 1.25rem 1.35rem;
  font-size: 0.8125rem;
}

.cookie-banner {
  max-width: 28rem;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
}

.cookie-banner h2 { font-size: 0.9375rem; margin-bottom: 0.4rem; }

.consent-details {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.consent-option {
  background: rgba(245, 245, 247, 0.9);
  border-radius: var(--rer-radius-sm);
  padding: 0.75rem 0.9rem;
}

.consent-option .form-check-input:checked {
  background-color: var(--rer-ink);
  border-color: var(--rer-ink);
}

.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.consent-actions .btn:nth-child(n + 3) { grid-column: 1 / -1; }

.consent-legal {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--rer-ink-2);
}

.consent-legal a { color: inherit; }

@media (max-width: 575.98px) {
  .cookie-banner { right: 1.25rem; max-width: none; }
}

/* ---------- Content pages ---------- */

.prose { max-width: 44rem; margin: 0 auto; }
.prose h2 { font-size: 1.3125rem; margin-top: 2.5rem; }

.placeholder-legal {
  background: var(--rer-mist);
  border-radius: var(--rer-radius-sm);
  padding: 1rem 1.15rem;
  color: var(--rer-ink-2);
}

.notice {
  background: var(--rer-gold-tint);
  border-radius: var(--rer-radius-sm);
  padding: 0.9rem 1.15rem;
  color: var(--rer-gold-deep);
  font-size: 0.9375rem;
}

.team-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--rer-mist);
  border-radius: var(--rer-radius);
  padding: 1.25rem;
}

.avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  background: var(--rer-gold-sheen);
  color: var(--rer-ink);
}

.contact-list a,
.contact-list div.item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rer-line);
  color: var(--rer-ink);
  text-decoration: none;
}

.contact-list a:hover strong { text-decoration: underline; }
.contact-list i { font-size: 1.25rem; color: var(--rer-gold); margin-top: 0.1rem; }
.contact-list span { display: block; color: var(--rer-ink-2); font-size: 0.9375rem; }

.demo-result {
  background: var(--rer-gold-tint);
  color: var(--rer-gold-deep);
  border-radius: var(--rer-radius-sm);
  padding: 1rem 1.15rem;
  font-size: 0.9375rem;
}

/* ---------- System page ---------- */

.sitemap-tree ul { list-style: none; padding-left: 1.25rem; border-left: 1px solid var(--rer-line); }
.sitemap-tree > ul { border-left: 0; padding-left: 0; }
.sitemap-tree li { margin: 0.45rem 0; }

.funnel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
}

.funnel .stage {
  background: var(--rer-mist);
  border-radius: var(--rer-radius);
  padding: 1.25rem;
  position: relative;
}

.funnel .stage strong { display: block; font-size: 1.0625rem; margin-bottom: 0.25rem; }
.funnel .stage span { font-size: 0.875rem; color: var(--rer-ink-2); }

.table-clean { --bs-table-bg: transparent; }
.table-clean th { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--rer-ink-3); }
.table-clean td, .table-clean th { padding: 0.9rem 0.75rem; border-color: var(--rer-line); }

.chip-nav a {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  border-radius: 980px;
  background: var(--rer-mist);
  color: var(--rer-ink);
  font-size: 0.875rem;
  text-decoration: none;
  margin: 0 0.25rem 0.5rem 0;
}

.chip-nav a:hover { background: #e8e8ed; }

/* ---------- Motion ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .property-card, .type-tile, .floating-contact a { transition: none; }
  .text-gold { animation: none; }
}

/* ---- froehlich.estate: card black + warm beige ---- */
:root {
  --rer-mist: #f4efe6;
  --rer-canvas: #faf6ef;
  --rer-card-black: #121212;
  --rer-card-ink: #1a1a1a;
  --fe-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
}
body { background: var(--rer-canvas); }
.bg-mist { background: var(--rer-mist) !important; }
.card-panel {
  background: var(--rer-card-black);
  color: #e8d9b5;
  border-radius: var(--rer-radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 3px 3px;
}
.card-panel .text-gold,
.card-panel .brand-foil {
  font-family: var(--fe-serif);
}
.brand-foil {
  font-family: var(--fe-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  background-image:
    linear-gradient(105deg, transparent 42%, rgba(236, 214, 164, 0.55) 49%, transparent 56%),
    linear-gradient(110deg, #6f5220 0%, #8f6a2c 25%, #c4a05a 45%, #b8924f 52%, #8f6a2c 70%, #6f5220 100%);
  background-size: 260% 100%, 180% 100%;
  background-position: 30% 0, 20% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gold-water 11s ease-in-out infinite;
}
.card-panel .brand-foil { font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: 1; }
.card-panel .brand-given { font-family: var(--fe-serif); font-size: 1.15rem; color: #c9a45c; }
.card-divider {
  display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #c9a45c;
}
.card-divider::before, .card-divider::after {
  content: ""; flex: 1; height: 1px; background: #8f6a2c;
}
.card-divider span { white-space: nowrap; }
.intent-form .field label { color: var(--rer-ink-2); }
.pain-solution .pain { color: var(--rer-ink-2); }
.discreet-offer {
  border: 1px solid var(--rer-line); border-radius: var(--rer-radius);
  padding: 1.25rem 1.5rem; background: #fff;
}
.navbar-brand .brand-lockup {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .45rem;
  line-height: 1.15;
}
.navbar-brand .brand-emphasis {
  font-family: var(--fe-serif);
  font-weight: 700;
  font-size: 1.05em;
}
.visitenkarte-frame {
  margin: 0;
  border-radius: var(--rer-radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(18,18,18,.18);
  background: #121212;
}
.visitenkarte-svg {
  display: block; width: 100%; height: auto;
}
.contact-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
@media (min-width: 640px) {
  .contact-cta-grid { grid-template-columns: 1fr 1fr; }
}
.btn-cta-xl {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.4rem;
  padding: .9rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: .65rem;
}
.trust-badges {
  display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem; align-items: flex-end;
}
.trust-badge {
  margin: 0; text-align: center; max-width: 8rem;
}
.trust-badge img {
  width: 7.5rem; height: auto; display: block; margin: 0 auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.08));
}
.trust-badge figcaption {
  margin-top: .35rem; font-size: .75rem; color: var(--rer-ink-2); letter-spacing: .04em;
}
.wizard-progress {
  display: flex; flex-wrap: wrap; gap: .5rem .75rem;
  font-size: .8rem; color: var(--rer-ink-2);
}
.wizard-step span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.4rem; height: 1.4rem; margin-right: .35rem;
  border-radius: 999px; border: 1px solid var(--rer-line);
  font-weight: 600;
}
.wizard-step.is-active { color: var(--rer-ink); font-weight: 600; }
.wizard-step.is-active span,
.wizard-step.is-done span {
  background: var(--rer-ink); color: #fff; border-color: var(--rer-ink);
}
.wizard-step.is-done { opacity: .75; }
.legal-text h2 { margin-top: 2rem; }
.legal-text h3 { margin-top: 1.25rem; }
.legal-text img { max-width: 140px; height: auto; }

