:root {
  --black: #070707;
  --charcoal: #151515;
  --ink: #0d0d0e;
  --muted: #676767;
  --paper: #f4f4f1;
  --white: #ffffff;
  --line: #d7d7d2;
  --yellow: #c99722;
  --yellow-bright: #f3c13d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.13);
  --radius: 4px;
  --max: 1320px;
}

body {
  background: var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 3px;
  background: var(--yellow-bright);
}

.site-header {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  width: min(100% - 48px, var(--max));
  margin-top: 22px;
  padding: 10px 12px 10px 16px;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(7, 7, 7, 0.8);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(24px) saturate(1.2);
}

.site-header.is-scrolled {
  color: var(--white);
  border-color: rgba(243, 193, 61, 0.36);
  background: rgba(7, 7, 7, 0.94);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.brand {
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(243, 193, 61, 0.68);
}

.desktop-nav {
  gap: clamp(15px, 1.55vw, 26px);
  font-size: 13px;
}

.desktop-nav a {
  position: relative;
  opacity: 0.72;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -7px;
  height: 1px;
  background: var(--yellow-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.language-switcher,
.site-header.is-scrolled .language-switcher {
  min-width: 78px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  min-height: 40px;
  padding-inline: 19px;
  border-color: var(--yellow-bright);
  color: var(--black);
  background: var(--yellow-bright);
}

.nav-cta:hover {
  border-color: var(--white);
  background: var(--white);
}

.hero {
  min-height: max(760px, 100svh);
  border-bottom: 1px solid rgba(243, 193, 61, 0.7);
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.56) 48%, rgba(0, 0, 0, 0.12) 79%),
    url("assets/images/hero-kanzler-exterior.jpg") center 42% / cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 46%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 25%);
}

.hero-inner {
  justify-content: flex-end;
  width: min(100% - 72px, var(--max));
  min-height: max(760px, 100svh);
  padding: 170px 0 108px;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.hero .eyebrow::before {
  content: "";
  width: 56px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 1060px;
  font-size: clamp(64px, 8.7vw, 130px);
  line-height: 0.86;
}

.hero-copy {
  max-width: 780px;
  margin-top: 34px;
  padding-left: 20px;
  border-left: 2px solid var(--yellow-bright);
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.62;
}

html[dir="rtl"] .hero-copy {
  padding-right: 20px;
  padding-left: 0;
  border-right: 2px solid var(--yellow-bright);
  border-left: 0;
}

.hero-actions {
  gap: 0;
  margin-top: 38px;
}

.hero-actions .button {
  min-width: 190px;
  min-height: 54px;
  border-radius: 0;
}

.hero-actions .button-secondary {
  border-left: 0;
  background: rgba(0, 0, 0, 0.34);
}

.quick-facts {
  z-index: 4;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: max(24px, calc((100% - var(--max)) / 2));
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(243, 193, 61, 0.36);
  border-radius: 0;
  color: var(--white);
  background: var(--black);
  box-shadow: none;
}

.fact {
  min-height: 150px;
  padding: 34px 28px;
  border-right-color: rgba(255, 255, 255, 0.16);
}

.fact:first-child {
  padding-left: 0;
}

.fact:last-child {
  padding-right: 0;
}

.fact strong {
  color: var(--yellow-bright);
  font-size: clamp(30px, 3.2vw, 48px);
}

.fact span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.section {
  padding: 126px 0;
}

.section-kicker,
.eyebrow {
  letter-spacing: 0.12em;
}

h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
}

.intro {
  padding-top: 150px;
  padding-bottom: 150px;
}

.intro > .section-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
}

.intro > .section-kicker::after {
  content: "";
  width: 80px;
  height: 1px;
  background: var(--yellow);
}

.intro .split {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 110px;
}

.lead-copy {
  padding-top: 8px;
  font-size: 19px;
  line-height: 1.72;
}

.media-band {
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.75fr);
  min-height: 690px;
  border: 0;
}

.media-band-image,
.media-band-image img {
  height: 690px;
  min-height: 690px;
}

.media-band-image {
  position: relative;
}

.media-band-image::after {
  content: "36";
  position: absolute;
  right: 28px;
  bottom: -44px;
  color: rgba(255, 255, 255, 0.92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 170px;
  line-height: 1;
  pointer-events: none;
}

.media-band-content {
  max-width: 640px;
  padding: 96px 72px;
  border-left: 1px solid rgba(243, 193, 61, 0.36);
}

.media-band-content h2 {
  font-size: clamp(40px, 4vw, 64px);
}

.details {
  width: min(100% - 72px, var(--max));
}

.details-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.detail-card {
  grid-column: span 3;
  min-height: 270px;
  padding: 34px 28px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.detail-card:last-child {
  border-right: 0;
}

.detail-card strong {
  margin-top: 34px;
  font-size: 46px;
}

.floor-plan {
  width: 100%;
  max-width: none;
  padding: 126px max(24px, calc((100% - var(--max)) / 2));
  color: var(--white);
  background: var(--black);
}

.floor-plan .section-heading {
  max-width: 920px;
}

.floor-plan .section-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.62);
}

.plan-legend {
  gap: 8px;
  margin-bottom: 20px;
}

.plan-legend-item {
  min-height: 46px;
  padding: 0 17px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
}

.plan-legend-item:hover,
.plan-legend-item.is-active {
  border-color: var(--yellow-bright);
  color: var(--black);
  background: var(--yellow-bright);
}

.plan-stage {
  border-color: rgba(243, 193, 61, 0.4);
  border-radius: 2px;
  background: #0d0d0d;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.plan-canvas,
.plan-svg {
  background: #0d0d0d;
}

.plan-info {
  border-radius: 2px;
}

.valuation {
  width: min(100% - 72px, var(--max));
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 100px;
  padding-top: 150px;
  padding-bottom: 150px;
}

.valuation-panel {
  position: relative;
  padding: 62px;
  border-radius: 2px;
  background: var(--black);
  box-shadow: 28px 28px 0 var(--yellow-bright);
}

.valuation-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.price-value {
  font-size: clamp(68px, 7vw, 106px);
}

.price-includes {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.price-includes span {
  min-height: 68px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: transparent;
}

.rooms {
  width: min(100% - 72px, var(--max));
}

.rooms-layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 0;
  background: var(--white);
}

.rooms-image img {
  min-height: 660px;
  border-radius: 0;
  box-shadow: none;
}

.room-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.room-list div {
  min-height: 165px;
  padding: 30px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 0;
}

.infrastructure {
  width: min(100% - 72px, var(--max));
  padding-top: 72px;
}

.infrastructure-grid {
  gap: 8px;
}

.infrastructure-grid article {
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}

.infrastructure-grid img {
  height: 360px;
  filter: saturate(0.82) contrast(1.04);
}

.infrastructure-grid article:nth-child(2) {
  transform: translateY(42px);
}

.team {
  width: min(100% - 72px, var(--max));
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
  gap: 100px;
  padding-top: 150px;
  padding-bottom: 150px;
}

.team-grid {
  gap: 0;
  border-top: 1px solid var(--ink);
}

.team-grid div {
  padding: 27px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.team-grid strong {
  font-size: 30px;
}

.finance {
  padding-top: 150px;
  padding-right: max(24px, calc((100% - var(--max)) / 2));
  padding-bottom: 150px;
  padding-left: max(24px, calc((100% - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.7) 54%, rgba(0, 0, 0, 0.36)),
    url("assets/images/batumi-city-view.jpg") center / cover;
  background-attachment: fixed;
}

.finance-grid {
  gap: 120px;
}

.finance-metrics {
  gap: 1px;
  margin-top: 70px;
  background: rgba(243, 193, 61, 0.42);
}

.finance-metrics div {
  min-height: 190px;
  border: 0;
  border-radius: 0;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(16px);
}

.deal {
  padding-top: 150px;
  padding-right: max(24px, calc((100% - var(--max)) / 2));
  padding-bottom: 150px;
  padding-left: max(24px, calc((100% - var(--max)) / 2));
  color: var(--ink);
  background: var(--yellow-bright);
}

.deal .section-kicker,
.deal-copy p,
.deal-points span {
  color: rgba(0, 0, 0, 0.68);
}

.deal-points {
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.42);
}

.deal-points div {
  padding: 26px 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 0;
  background: transparent;
}

.deal-points strong {
  color: var(--black);
  font-size: 29px;
}

.location {
  width: min(100% - 72px, var(--max));
  gap: 110px;
  padding-top: 150px;
  padding-bottom: 150px;
}

.location-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.location-list div {
  min-height: 166px;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: var(--white);
}

.location-list strong {
  font-size: 32px;
}

.gallery {
  width: 100%;
  max-width: none;
  padding: 126px max(24px, calc((100% - var(--max)) / 2));
  color: var(--white);
  background: var(--black);
}

.gallery-nav {
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  color: var(--white);
  background: transparent;
}

.gallery-slider {
  gap: 8px;
  padding-bottom: 20px;
  scrollbar-color: var(--yellow-bright) rgba(255, 255, 255, 0.14);
}

.gallery-item {
  min-height: 330px;
  border-radius: 0;
}

.gallery-item::after {
  content: "+";
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--black);
  background: var(--yellow-bright);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.image-dialog {
  position: fixed;
  inset: 50% auto auto 50%;
  width: min(96vw, 1320px);
  max-width: none;
  margin: 0;
  border: 1px solid rgba(243, 193, 61, 0.5);
  border-radius: 2px;
  background: var(--black);
  transform: translate(-50%, -50%);
}

.image-dialog img {
  max-height: 90vh;
}

.dialog-close {
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 2px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
  font-size: 28px;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.dialog-close:hover,
.dialog-close:focus-visible {
  border-color: var(--yellow-bright);
  color: var(--black);
  background: var(--yellow-bright);
  outline: none;
}

.dialog-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 2px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
  font-size: 25px;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.dialog-nav:hover,
.dialog-nav:focus-visible {
  border-color: var(--yellow-bright);
  color: var(--black);
  background: var(--yellow-bright);
  outline: none;
}

.dialog-prev {
  left: 14px;
}

.dialog-next {
  right: 14px;
}

.dialog-counter {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  min-width: 64px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.diligence {
  width: min(100% - 72px, var(--max));
  gap: 100px;
  padding-top: 150px;
  padding-bottom: 150px;
}

.diligence-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}

.diligence-list span {
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.diligence-list span:nth-child(odd) {
  padding-right: 24px;
}

.contact {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  gap: 100px;
  padding: 150px max(24px, calc((100% - var(--max)) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.79)),
    url("assets/images/reception-kanzler.jpg") center / cover;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 0;
  padding-inline: 0;
  background: transparent;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--yellow-bright);
  box-shadow: none;
}

.contact-form .button {
  margin-top: 10px;
  border-radius: 0;
}

.map-section {
  margin-top: 0;
}

.map-frame {
  border-top: 3px solid var(--yellow-bright);
  border-bottom: 0;
}

.site-footer {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  background: var(--black);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.48fr) auto;
  gap: 48px;
  align-items: start;
  width: min(100% - 72px, var(--max));
  min-height: 278px;
  margin: 0 auto;
  padding: 48px 0;
}

.footer-brand {
  position: relative;
  min-width: 0;
  padding-top: 62px;
}

.footer-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(243, 193, 61, 0.62);
  background: url("assets/images/brand-k.svg") center / cover;
}

html[dir="rtl"] .footer-brand::before {
  right: 0;
  left: auto;
}

.footer-brand strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.08;
}

.footer-tagline {
  max-width: 230px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.45;
}

.footer-legal {
  gap: 16px 26px;
}

.footer-legal-title {
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(243, 193, 61, 0.42);
  color: var(--yellow-bright);
  letter-spacing: 0.1em;
}

.footer-legal div {
  padding-left: 14px;
  border-left: 1px solid rgba(243, 193, 61, 0.56);
}

.footer-legal dt {
  color: rgba(255, 255, 255, 0.46);
  letter-spacing: 0.06em;
}

.footer-legal dd {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.45;
}

html[dir="rtl"] .footer-legal div {
  padding-right: 14px;
  padding-left: 0;
  border-right: 1px solid rgba(243, 193, 61, 0.56);
  border-left: 0;
}

.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 5px;
  color: var(--white);
  border-bottom: 1px solid var(--yellow-bright);
  white-space: nowrap;
}

.footer-top::after {
  content: "\2191";
  color: var(--yellow-bright);
}

@media (max-width: 1180px) {
  .site-header {
    --compact-header-control-height: 46px;
    display: flex;
    gap: 10px;
    width: calc(100% - 32px);
    padding: 8px 10px;
  }

  .desktop-nav {
    display: none;
  }

  .brand {
    flex: 0 0 auto;
    height: var(--compact-header-control-height);
  }

  .brand img {
    width: var(--compact-header-control-height);
    height: var(--compact-header-control-height);
  }

  .language-switcher {
    flex: 0 0 78px;
    justify-self: auto;
    width: 78px;
    min-width: 78px;
    height: var(--compact-header-control-height);
    margin-left: auto;
  }

  .language-select {
    min-height: var(--compact-header-control-height);
  }

  .nav-cta {
    flex: 0 0 clamp(150px, 18vw, 190px);
    width: clamp(150px, 18vw, 190px);
    min-width: 150px;
    min-height: var(--compact-header-control-height);
    height: var(--compact-header-control-height);
    padding-inline: 14px;
    white-space: nowrap;
  }

  html[dir="rtl"] .language-switcher {
    margin-right: auto;
    margin-left: 0;
  }
}

@media (max-width: 1100px) {
  .site-header {
    width: calc(100% - 32px);
  }

  .desktop-nav {
    display: none;
  }

  .hero-inner,
  .intro,
  .details,
  .valuation,
  .rooms,
  .infrastructure,
  .team,
  .location,
  .diligence {
    width: min(100% - 48px, var(--max));
  }

  .detail-card {
    grid-column: span 6;
    border-bottom: 1px solid var(--line);
  }

  .detail-card:nth-child(2) {
    border-right: 0;
  }

  .valuation {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .valuation-panel {
    max-width: 850px;
  }

  .team {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

@media (max-width: 980px) {
  .section,
  .floor-plan,
  .gallery,
  .contact,
  .finance,
  .deal {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .hero-inner {
    justify-content: flex-end;
    width: calc(100% - 48px);
    padding-bottom: 84px;
  }

  .hero h1 {
    max-width: 760px;
  }

  .media-band {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .media-band-image,
  .media-band-image img {
    min-height: 520px;
    height: 520px;
  }

  .media-band-content {
    max-width: none;
    padding: 72px 48px;
    border-top: 1px solid rgba(243, 193, 61, 0.36);
    border-left: 0;
  }

  .rooms-layout,
  .finance-grid,
  .deal,
  .location,
  .diligence,
  .contact {
    grid-template-columns: 1fr;
  }

  .rooms-image img {
    min-height: 520px;
  }

  .infrastructure-grid img {
    height: 300px;
  }

  .infrastructure-grid article:nth-child(2) {
    transform: none;
  }

  .finance-grid {
    gap: 54px;
  }

  .location,
  .diligence,
  .contact {
    gap: 56px;
  }

  .footer-inner {
    grid-template-columns: minmax(190px, 0.58fr) minmax(0, 1.42fr);
    gap: 42px;
    width: min(100% - 48px, var(--max));
    min-height: 0;
    padding: 48px 0;
  }

  .footer-top {
    grid-column: 1 / -1;
    justify-self: start;
  }

  html[dir="rtl"] .footer-top {
    justify-self: end;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .quick-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact,
  .fact:first-child,
  .fact:last-child {
    display: grid;
    align-content: center;
    min-height: 142px;
    padding: 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-inline-end: 1px solid rgba(255, 255, 255, 0.14);
  }

  .fact:nth-child(odd) {
    padding-inline-start: 0;
  }

  .fact:nth-child(even) {
    padding-inline-end: 0;
    border-inline-end: 0;
  }

  .fact:nth-child(n + 3) {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  body::before {
    height: 2px;
  }

  .site-header {
    --mobile-header-control-height: var(--compact-header-control-height);
    display: flex;
    gap: 9px;
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 8px;
  }

  .brand {
    flex: 0 0 var(--mobile-header-control-height);
    gap: 0;
    width: var(--mobile-header-control-height);
    height: var(--mobile-header-control-height);
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: var(--mobile-header-control-height);
    height: var(--mobile-header-control-height);
  }

  .language-switcher {
    flex: 0 0 74px;
    width: 74px;
    min-width: 74px;
    height: var(--mobile-header-control-height);
    margin-left: auto;
  }

  .language-select {
    min-height: var(--mobile-header-control-height);
  }

  .nav-cta {
    flex: 0 0 clamp(136px, 42vw, 174px);
    width: clamp(136px, 42vw, 174px);
    min-width: 136px;
    min-height: var(--mobile-header-control-height);
    height: var(--mobile-header-control-height);
    padding-inline: 12px;
    font-size: 12px;
    line-height: 1.15;
    white-space: nowrap;
  }

  html[dir="rtl"] .language-switcher {
    margin-right: auto;
    margin-left: 0;
  }

  .hero {
    min-height: max(680px, 100svh);
  }

  .hero-bg {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.93) 0%, rgba(0, 0, 0, 0.3) 65%, rgba(0, 0, 0, 0.16)),
      url("assets/images/hero-kanzler-exterior.jpg") 58% center / cover;
  }

  .hero-inner {
    width: calc(100% - 32px);
    min-height: max(680px, 100svh);
    padding: 132px 0 56px;
  }

  .hero .eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
  }

  .hero .eyebrow::before {
    width: 30px;
  }

  .hero h1 {
    font-size: clamp(48px, 15.2vw, 70px);
    line-height: 0.9;
  }

  .hero-copy {
    margin-top: 24px;
    padding-left: 14px;
    font-size: 16px;
    line-height: 1.52;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
  }

  .hero-actions .button {
    min-width: 0;
    min-height: 50px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
    padding-inline: 16px;
  }

  .fact,
  .fact:first-child,
  .fact:last-child {
    min-height: 116px;
    padding: 24px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .fact:nth-child(2n) {
    border-right: 0;
  }

  .fact:nth-child(n + 3) {
    border-bottom: 0;
  }

  .fact strong {
    font-size: 29px;
  }

  .fact span {
    font-size: 10px;
  }

  .section,
  .floor-plan,
  .gallery,
  .contact,
  .finance,
  .deal {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .hero-inner,
  .intro,
  .details,
  .valuation,
  .rooms,
  .infrastructure,
  .team,
  .location,
  .diligence {
    width: calc(100% - 32px);
  }

  .media-band,
  .finance,
  .deal {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  h2 {
    font-size: clamp(38px, 12vw, 54px);
    line-height: 1;
  }

  .intro {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .intro .split {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .lead-copy,
  .media-band-content p,
  .valuation-copy p,
  .finance-copy,
  .location-copy p,
  .contact-copy p,
  .team-copy p,
  .deal-copy p {
    font-size: 16px;
  }

  .media-band-image,
  .media-band-image img {
    min-height: 390px;
    height: 390px;
  }

  .media-band-image::after {
    right: 14px;
    bottom: -25px;
    font-size: 96px;
  }

  .media-band-content {
    padding: 56px 20px 64px;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .detail-card {
    grid-column: auto;
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-card strong {
    margin-top: 16px;
    font-size: 40px;
  }

  .floor-plan,
  .gallery,
  .contact {
    padding-right: 16px;
    padding-left: 16px;
  }

  .plan-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-legend-item {
    justify-content: flex-start;
    min-width: 0;
    padding-inline: 12px;
    font-size: 12px;
  }

  .valuation {
    gap: 46px;
  }

  .valuation-panel {
    padding: 34px 24px;
    box-shadow: 10px 10px 0 var(--yellow-bright);
  }

  .valuation-panel::before {
    inset: 10px;
  }

  .price-value {
    font-size: clamp(54px, 16vw, 74px);
  }

  .price-includes {
    grid-template-columns: 1fr;
  }

  .rooms-image img {
    min-height: 420px;
  }

  .room-list div {
    min-height: 118px;
    padding: 22px 18px;
  }

  .room-list strong {
    font-size: 32px;
  }

  .infrastructure-grid {
    gap: 24px;
  }

  .infrastructure-grid img {
    height: 280px;
  }

  .team {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .finance-metrics {
    grid-template-columns: 1fr;
  }

  .finance {
    background-attachment: scroll;
  }

  .location-list,
  .diligence-list {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    min-height: 300px;
  }

  .image-dialog {
    width: calc(100vw - 12px);
  }

  .image-dialog img {
    max-height: 88vh;
  }

  .dialog-close {
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .dialog-nav {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .dialog-prev {
    left: 8px;
  }

  .dialog-next {
    right: 8px;
  }

  .dialog-counter {
    bottom: 8px;
  }

  .diligence-list span,
  .diligence-list span:nth-child(odd) {
    padding: 18px 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form .full {
    grid-column: auto;
  }

  .site-footer {
    padding: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    width: calc(100% - 32px);
    padding: 42px 0;
  }

  .footer-brand {
    padding-top: 58px;
  }

  .footer-legal {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-legal-title {
    padding-bottom: 12px;
  }

  .footer-legal div,
  html[dir="rtl"] .footer-legal div {
    display: grid;
    grid-template-columns: minmax(108px, 0.82fr) minmax(0, 1.18fr);
    gap: 14px;
    align-items: start;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .footer-legal dd {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .finance {
    background-attachment: scroll;
  }
}
