/* ============================================================
   N47°-Immobilien — Design-System (Variante B: Terracotta dominiert)
   Warm, regional, bodenständig. Kein blau/gold.
   ============================================================ */

:root {
  /* Farben */
  --terracotta: #b0603f;
  --terracotta-dark: #93492e;
  --terracotta-soft: #cf9074;
  --terracotta-tint: #f3e2d8;
  --cream: #f7f2ea;
  --cream-dark: #efe7db;
  --cream-card: #fdfbf7;
  --moss: #4c5a40;
  --moss-dark: #3a4630;
  --moss-tint: #e7eae0;
  --anthracite: #2b2926;
  --anthracite-soft: #5c5751;
  --line: #e4dacc;
  --white: #ffffff;

  /* Typo */
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --container: 1140px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(43, 41, 38, 0.06), 0 1px 2px rgba(43, 41, 38, 0.04);
  --shadow: 0 6px 24px rgba(43, 41, 38, 0.08);
  --shadow-lg: 0 18px 48px rgba(43, 41, 38, 0.14);
  --nav-h: 74px;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #f7f2ea 0%, #f1e6d8 55%, #ecdcc9 100%);
  --grad-terracotta: linear-gradient(135deg, #b0603f 0%, #93492e 100%);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--anthracite);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; color: var(--anthracite); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: 76px 0; }
.section--tight { padding: 48px 0; }
.section--cream { background: var(--cream); }
.section--card { background: var(--cream-card); }
.section--moss { background: var(--moss); color: #f3efe6; }
.section--moss h2, .section--moss h3 { color: #fff; }
.section--dark { background: var(--anthracite); color: #ece7df; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 14px;
  display: inline-block;
}
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--anthracite-soft); font-size: 18px; }
.coord-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--anthracite-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad-terracotta); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { box-shadow: var(--shadow); }
.btn--dark { background: var(--moss); color: #fff; }
.btn--dark:hover { background: var(--moss-dark); }
.btn--outline { border-color: var(--anthracite); color: var(--anthracite); background: transparent; }
.btn--outline:hover { background: var(--anthracite); color: #fff; }
.btn--ghost { color: var(--terracotta-dark); background: transparent; }
.btn--ghost:hover { background: var(--terracotta-tint); }
.btn--lg { padding: 16px 30px; font-size: 17px; }
.btn--sm { padding: 9px 16px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(247, 242, 234, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { width: 42px; height: 42px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-serif); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; color: var(--anthracite); }
.brand__name .deg { color: var(--terracotta); }
.brand__sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--anthracite-soft); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__links a {
  padding: 9px 13px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15.5px;
  color: var(--anthracite);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__links a:hover { background: var(--cream-dark); }
.nav__links a.active { color: var(--terracotta-dark); font-weight: 600; }
.nav__cta { margin-left: 8px; }

.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 9px; align-items: center; justify-content: center; }
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--anthracite); border-radius: 2px; position: relative; transition: 0.2s ease;
}
.nav__burger span::before { position: absolute; top: -7px; }
.nav__burger span::after { position: absolute; top: 7px; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--cream);
  z-index: 190;
  padding: 24px 22px 40px;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 15px 8px; font-size: 19px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-hero);
  overflow: hidden;
  padding: 84px 0 96px;
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero__eyebrow { margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--terracotta-dark); }
.hero__lead { font-size: 19px; color: var(--anthracite-soft); max-width: 520px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; color: var(--anthracite-soft); font-size: 14.5px; }
.hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--terracotta); }
.hero__meta strong { color: var(--anthracite); font-weight: 600; }

.hero__card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  position: relative;
}
.hero__card .coord-label { display: block; margin-bottom: 14px; }
.hero__card h3 { font-size: 22px; margin-bottom: 6px; }
.hero__card .price { font-family: var(--font-serif); font-size: 26px; color: var(--terracotta-dark); font-weight: 600; margin: 10px 0 16px; }
.hero__facts { display: flex; gap: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.hero__facts div { display: flex; flex-direction: column; }
.hero__facts .k { font-size: 13px; color: var(--anthracite-soft); }
.hero__facts .v { font-weight: 600; font-size: 16px; }
.hero__compass { position: absolute; right: -60px; top: -60px; width: 260px; opacity: 0.5; z-index: 1; }

/* ---------- Property cards ---------- */
.props-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.props-grid--2 { grid-template-columns: repeat(2, 1fr); }
.prop-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--terracotta-soft); }
.prop-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--cream-dark); overflow: hidden; }
.prop-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.prop-card:hover .prop-card__media img { transform: scale(1.04); }
.prop-card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; }
.badge {
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}
.badge--kauf { background: rgba(76, 90, 64, 0.92); color: #fff; }
.badge--miete { background: rgba(176, 96, 63, 0.92); color: #fff; }
.badge--type { background: rgba(255, 255, 255, 0.9); color: var(--anthracite); }
.badge--neu { background: var(--terracotta); color: #fff; }
.prop-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.prop-card__price { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--terracotta-dark); }
.prop-card__title { font-size: 18px; margin: 6px 0 4px; }
.prop-card__loc { display: flex; align-items: center; gap: 8px; color: var(--anthracite-soft); font-size: 14.5px; }
.prop-card__loc .coord-label { font-size: 11px; }
.prop-card__facts { display: flex; gap: 18px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.fact { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--anthracite); }
.fact svg { width: 17px; height: 17px; stroke: var(--terracotta); flex-shrink: 0; }
.prop-card__link { margin-top: 16px; color: var(--terracotta-dark); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Feature / value blocks ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.feature__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--terracotta-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature__icon svg { width: 26px; height: 26px; stroke: var(--terracotta-dark); }
.feature h3 { font-size: 20px; margin-bottom: 9px; }
.feature p { color: var(--anthracite-soft); font-size: 15.5px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__num {
  font-family: var(--font-mono);
  font-size: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--moss);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step h3 { font-size: 18px; margin-bottom: 7px; }
.step p { color: var(--anthracite-soft); font-size: 15px; }

/* ---------- Split (text + visual) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__visual { background: var(--grad-hero); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split__visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Filters / overview ---------- */
.filter-bar {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 150px; flex: 1; }
.field label { font-size: 13px; font-weight: 600; color: var(--anthracite-soft); letter-spacing: 0.02em; }
.field select, .field input {
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--anthracite);
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select:focus, .field input:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px var(--terracotta-tint); }
.filter-bar .btn { flex-shrink: 0; }

.overview-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.overview-layout .map-wrap { position: sticky; top: calc(var(--nav-h) + 20px); }
.map-wrap { height: 560px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--cream-dark); }
#map { width: 100%; height: 100%; }
.leaflet-container { background: #e8e2d6; font-family: var(--font-sans); }
.map-pin { background: transparent; border: none; }
.map-pin span {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 26px;
  background: var(--terracotta);
  color: #fff;
  border-radius: 6px 6px 6px 0;
  font-size: 12.5px; font-weight: 700;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  position: relative;
  transform: translate(-50%, -100%);
}
.map-pin span::after {
  content: ""; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--terracotta-dark);
}
.result-count { color: var(--anthracite-soft); font-size: 15px; margin-bottom: 16px; }
.result-count strong { color: var(--anthracite); }

/* ---------- Object detail ---------- */
.breadcrumb { display: flex; align-items: center; gap: 9px; color: var(--anthracite-soft); font-size: 14.5px; padding: 22px 0; }
.breadcrumb a:hover { color: var(--terracotta-dark); }
.breadcrumb .sep { color: var(--line); }

.obj-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.obj-head h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 8px; }
.obj-head .price { font-family: var(--font-serif); font-size: 30px; color: var(--terracotta-dark); font-weight: 600; }
.obj-head .loc { display: flex; align-items: center; gap: 10px; color: var(--anthracite-soft); margin-top: 8px; flex-wrap: wrap; }

.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin-bottom: 34px; }
.gallery__main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--cream-dark); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.gallery__side a { border-radius: var(--radius-sm); overflow: hidden; background: var(--cream-dark); position: relative; }
.gallery__side img { width: 100%; height: 100%; object-fit: cover; }
.gallery__side .zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(43,41,38,0); color: #fff; opacity: 0; transition: 0.2s ease; }
.gallery__side a:hover .zoom { background: rgba(43,41,38,0.35); opacity: 1; }

.obj-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; }
.obj-main h2 { font-size: 24px; margin: 30px 0 14px; }
.obj-main h2:first-child { margin-top: 0; }
.obj-main p { color: #43403b; margin-bottom: 14px; }

.facts-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; margin: 20px 0; }
.facts-table .row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts-table .row:last-child, .facts-table .row:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.facts-table .k { color: var(--anthracite-soft); }
.facts-table .v { font-weight: 600; text-align: right; }

.tag-list { display: flex; flex-wrap: wrap; gap: 9px; }
.tag { padding: 7px 14px; background: var(--moss-tint); color: var(--moss-dark); border-radius: 999px; font-size: 14px; font-weight: 500; }

/* Locked / teaser box */
.locked {
  background: var(--cream-card);
  border: 1.5px dashed var(--terracotta-soft);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
}
.locked__icon { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; background: var(--terracotta-tint); display: flex; align-items: center; justify-content: center; }
.locked__icon svg { width: 26px; height: 26px; stroke: var(--terracotta-dark); }
.locked h3 { font-size: 22px; margin-bottom: 10px; }
.locked p { color: var(--anthracite-soft); max-width: 460px; margin: 0 auto 22px; }
.locked ul { display: inline-flex; flex-direction: column; gap: 8px; text-align: left; margin-bottom: 24px; color: var(--anthracite); }
.locked ul li { display: flex; gap: 10px; align-items: flex-start; }
.locked ul li svg { width: 19px; height: 19px; stroke: var(--moss); flex-shrink: 0; margin-top: 3px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-terracotta); color: #fff; border-radius: var(--radius); padding: 46px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 520px; }
.cta-band .btn--light { background: #fff; color: var(--terracotta-dark); }
.cta-band .btn--light:hover { background: var(--cream); }

/* ---------- Contact / forms ---------- */
.form-card { background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-weight: 600; font-size: 14.5px; }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 15.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px var(--terracotta-tint); }
.form-note { font-size: 13px; color: var(--anthracite-soft); margin-top: 4px; }
.form-success { display: none; background: var(--moss-tint); color: var(--moss-dark); border: 1px solid var(--moss); border-radius: var(--radius-sm); padding: 16px 18px; margin-top: 16px; font-weight: 500; }
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--anthracite); color: #c9c3ba; padding: 60px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: #8a847b; }
.footer__about { margin-top: 16px; font-size: 15px; max-width: 300px; }
.footer h4 { color: #fff; font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 15px; color: #c9c3ba; transition: color 0.15s ease; }
.footer a:hover { color: var(--terracotta-soft); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.footer__contact svg { width: 17px; height: 17px; stroke: var(--terracotta-soft); flex-shrink: 0; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #8a847b; }
.footer__bottom .coord-label { color: #8a847b; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 560px;
  margin-left: auto;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
  z-index: 400;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner h4 { font-family: var(--font-sans); font-size: 16px; margin-bottom: 8px; }
.cookie-banner p { font-size: 13.5px; color: var(--anthracite-soft); margin-bottom: 16px; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Password gate ---------- */
.gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.gate.hidden { display: none; }
.gate__box {
  width: 100%;
  max-width: 400px;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
  text-align: center;
}
.gate__logo { width: 64px; height: 64px; margin: 0 auto 18px; }
.gate__brand { font-family: var(--font-serif); font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.gate__brand .deg { color: var(--terracotta); }
.gate__sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--anthracite-soft); margin-bottom: 26px; }
.gate form { text-align: left; }
.gate .form-field { margin-bottom: 16px; }
.gate__error { display: none; color: var(--terracotta-dark); font-size: 14px; font-weight: 600; margin-top: 12px; text-align: center; }
.gate__error.show { display: block; }
.gate__hint { font-size: 12.5px; color: var(--anthracite-soft); margin-top: 18px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 28px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__card { max-width: 460px; }
  .hero__compass { display: none; }
  .props-grid { grid-template-columns: repeat(2, 1fr); }
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .obj-layout, .overview-layout { grid-template-columns: 1fr; gap: 34px; }
  .overview-layout .map-wrap { position: static; }
  .map-wrap { height: 400px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 54px 0; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .props-grid, .props-grid--2, .features, .steps, .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__side { grid-template-rows: 1fr 1fr; }
  .obj-head { flex-direction: column; }
  .cta-band { padding: 32px 26px; text-align: center; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .facts-table { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .brand__sub { display: none; }
}
