:root {
  --black: #030303;
  --soft: #f9f9fb;
  --line: #dfe1e5;
  --muted: #667085;
  --weichert: #ffd200;
  --weichert-dark: #171100;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--black);
  background: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.cursor {
  position: fixed;
  z-index: 100;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .18s ease, height .18s ease, border-color .18s ease;
}
.cursor.is-hovering { width: 46px; height: 46px; border-color: rgba(255,255,255,.45); }

.site-header {
  position: fixed;
  z-index: 50;
  top: 20px;
  left: 50%;
  width: min(1136px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 8px;
  color: #101318;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(223,225,229,.8);
  border-radius: 500px;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  backdrop-filter: blur(20px);
  animation: headerIn .8s .15s cubic-bezier(.22,1,.36,1) forwards;
}
.brand { display: flex; align-items: center; gap: 8px; padding-left: 14px; font-weight: 600; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--weichert-dark);
  background: var(--weichert);
  font-weight: 800;
}
nav { display: flex; align-items: center; gap: 6px; }
nav a { padding: 12px 16px; border-radius: 999px; font-size: 14px; color: #4b5565; transition: background .2s ease, color .2s ease; }
nav a:hover, nav a.active { color: var(--black); background: #f1f2f4; }
.site-header > .pill { justify-self: end; }

.pill {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  overflow: hidden;
  font-weight: 500;
  line-height: 1;
}
.pill span { display: block; }
.pill-light { color: #000; background: #fff; }
.pill-dark { color: #fff; background: #000; }
.pill-ghost { color: #fff; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.12); backdrop-filter: blur(14px); }
.pill-outline { color: #101318; border: 1px solid var(--line); background: #fff; }

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 150px 32px 0;
  background: radial-gradient(circle at 50% 18%, rgba(255,255,255,.34), transparent 28%), linear-gradient(180deg, #ffd200 0%, #efb800 45%, #2f332d 100%);
}
.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  max-width: 760px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.hero-copy { max-width: 540px; padding: 32px; }
.page-hero {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  max-width: none;
  min-height: 58vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 150px 32px 80px;
  color: #fff;
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,.26), transparent 30%), linear-gradient(180deg, #ffd200 0%, #a07d00 100%);
}
.page-hero > * {
  max-width: 760px;
}
.office-label {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  color: #171100;
  background: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 700;
}
.hero-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 6.3vw, 78px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 600;
}
.hero p, .page-hero p { margin: 0; max-width: 560px; color: rgba(255,255,255,.84); font-weight: 500; line-height: 1.55; }
.buildings { position: relative; z-index: 2; flex: 1 0 320px; width: min(1136px, 100%); min-height: 320px; }
.building {
  position: absolute;
  bottom: -2px;
  filter: blur(5px);
  opacity: 0;
  will-change: transform, opacity, filter;
  animation: buildingIn 1.1s .55s cubic-bezier(.22,1,.36,1) forwards;
}
.building-small { left: 0; width: min(38vw, 480px); transform: translateX(-50%); animation-name: smallBuildingIn; }
.building-wide { right: 0; width: min(80vw, 880px); transform: translateY(60px) scale(.98); }

.section { background: var(--soft); border-bottom: 1px dashed var(--line); padding: 100px 32px; }
.section-head {
  width: min(1136px, 100%);
  margin: 0 auto 64px;
  display: grid;
  place-items: center;
  gap: 16px;
  text-align: center;
}
.tag {
  display: inline-flex;
  gap: 4px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
h2 { margin: 0; font-size: clamp(32px, 4vw, 56px); line-height: 1.05; letter-spacing: 0; font-weight: 500; }
.section p, .split-head p { color: var(--muted); line-height: 1.6; font-weight: 500; }
.word-reveal { max-width: 800px; color: var(--line); }
.word-reveal span { transition: color .2s ease, filter .2s ease; }
.word-reveal span.active { color: #101318; filter: blur(0); }
.stats, .service-grid, .review-grid {
  width: min(1136px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
}
.stat, .service-card, .review {
  min-height: 200px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
}
.stat strong { display: inline-block; font-size: clamp(42px, 5vw, 64px); line-height: 1; letter-spacing: 0; font-weight: 600; }
.stat h3, .service-card h3, .review h3 { margin: 18px 0 8px; font-size: 18px; }
.stat p, .service-card p, .review p, blockquote { margin: 0; color: var(--muted); line-height: 1.55; }
.split-head {
  width: min(1136px, 100%);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 420px);
  align-items: end;
  gap: 24px;
}
.split-head h2 { margin-top: 16px; max-width: 620px; }
.services { background: #fff; }
.service-card { background: var(--soft); transition: transform .35s ease, background .35s ease, color .35s ease; }
a.service-card { display: block; }
.service-card span { color: var(--muted); font-weight: 600; }
.service-card:hover { background: #101318; color: #fff; transform: translateY(-8px); }
.service-card:hover p, .service-card:hover span { color: rgba(255,255,255,.7); }
.contact-strip, .contact-panel {
  width: min(1136px, 100%);
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border: 1px solid #e0c351;
  border-radius: 32px;
  background: linear-gradient(135deg, #fff8ca, #ffd200);
}
.contact-panel { grid-template-columns: 1fr 1fr; margin-top: 0; align-items: stretch; }
.contact-panel > div {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 14px;
  padding: 8px;
}
.contact-strip h2, .contact-panel h2 { margin-top: 14px; max-width: 720px; }
.contact-strip p, .contact-panel p { margin: 10px 0 0; color: #332900; font-weight: 600; line-height: 1.5; }
.strip-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.faq { background: var(--soft); }
.faq-list { width: min(800px, 100%); margin: 0 auto; display: grid; gap: 8px; }
details { border: 1px solid var(--line); border-radius: 24px; background: #fff; padding: 22px 24px; }
summary { cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
details p { margin: 16px 0 0; color: var(--muted); line-height: 1.6; }
.footer { margin: 0; padding: 80px 32px 28px; background: #fff; border-radius: 32px 32px 0 0; }
.footer.slim { padding-top: 28px; border-radius: 0; }
.footer-cta {
  width: min(1136px, 100%);
  min-height: 360px;
  margin: 0 auto 48px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border-radius: 32px;
  color: #fff;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,.42)), url("https://framerusercontent.com/images/Fs6pQlgwE5Pu5wO8YERcq5UJpOw.png?width=1813&height=1004") center/cover;
}
.footer-cta h2 { font-size: clamp(42px, 7vw, 86px); font-weight: 600; }
.footer-cta p { margin: 0; color: rgba(255,255,255,.8); }
.footer-links { width: min(1136px, 100%); margin: 0 auto 32px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.footer-links div { display: grid; gap: 8px; }
.footer-links h3 { margin: 0 0 8px; font-size: 15px; }
.footer-links a, .footer-links span, .copyright { color: var(--muted); font-weight: 500; }
.copyright { width: min(1136px, 100%); margin: 0 auto; padding-top: 24px; border-top: 1px dashed var(--line); line-height: 1.6; }
.listing-toolbar {
  width: min(1136px, 100%);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.listing-toolbar label { color: var(--muted); font-size: 14px; font-weight: 600; }
select, input, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: #101318;
  font: inherit;
}
select { width: min(260px, 100%); padding: 0 14px; }
input { padding: 0 14px; }
textarea { min-height: 170px; padding: 14px; resize: vertical; }
.listing-grid, .dashboard-list {
  width: min(1136px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.listing-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  transition: transform .28s ease, box-shadow .28s ease;
}
.listing-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(16,19,24,.1); }
.listing-image { position: relative; display: block; aspect-ratio: 1.35; overflow: hidden; background: #eceff3; }
.listing-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.listing-card:hover .listing-image img { transform: scale(1.04); }
.listing-badges { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.listing-badges span { padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.9); font-size: 12px; font-weight: 700; }
.listing-body { display: grid; gap: 12px; padding: 20px; }
.listing-price { margin: 0 0 8px; color: #101318; font-size: 28px; line-height: 1; font-weight: 700; }
.listing-card h2 { margin: 0; font-size: 22px; line-height: 1.08; }
.listing-location, .listing-meta, .listing-type { margin: 0; color: var(--muted); line-height: 1.45; font-weight: 500; }
.listing-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.listing-actions .pill { min-height: 38px; padding: 0 14px; font-size: 13px; }
.pill-danger { color: #fff; border: 0; background: #b42318; cursor: pointer; }
.dashboard-grid {
  width: min(1136px, 100%);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 18px;
  align-items: start;
}
.dashboard-form, .dashboard-tools {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}
.dashboard-form h2, .dashboard-tools h2 { margin: 0; }
.dashboard-form label { display: grid; gap: 7px; color: #344054; font-size: 13px; font-weight: 700; }
.form-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dashboard-tools p { margin: 0; color: var(--muted); line-height: 1.6; font-weight: 500; }
.reveal, .reveal-on-scroll { opacity: 1; transform: translateY(40px); }
.reveal { animation: revealIn .9s .3s cubic-bezier(.22,1,.36,1) forwards; }
.delay-1 { animation-delay: .4s; }
.delay-2 { animation-delay: .5s; }
.reveal-on-scroll.in-view { animation: revealIn .9s cubic-bezier(.22,1,.36,1) forwards; }

@keyframes headerIn {
  from { transform: translateX(-50%) translateY(-14px); }
  to { transform: translateX(-50%) translateY(0); }
}
@keyframes revealIn { to { transform: translateY(0); } }
@keyframes buildingIn { to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); } }
@keyframes smallBuildingIn { to { opacity: 1; filter: blur(0); transform: translateX(0); } }

@media (max-width: 900px) {
  .site-header { position: absolute; grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { min-height: 92vh; padding: 108px 18px 0; }
  .hero h1, .page-hero h1 { max-width: 680px; font-size: clamp(40px, 9.2vw, 58px); line-height: .98; }
  .hero p, .page-hero p { font-size: 16px; }
  .building-small { width: 52vw; }
  .building-wide { width: 100vw; right: -24vw; }
  .stats, .service-grid, .review-grid, .footer-links, .split-head, .contact-strip, .contact-panel, .listing-grid, .dashboard-list, .dashboard-grid { grid-template-columns: 1fr; }
  .strip-actions { justify-content: stretch; }
  .strip-actions .pill, .hero-actions .pill { width: 100%; }
}

@media (max-width: 560px) {
  .cursor { display: none; }
  .site-header { position: absolute; top: 10px; width: calc(100% - 20px); grid-template-columns: 1fr auto; gap: 8px; padding: 6px; }
  .brand { padding-left: 6px; gap: 6px; }
  .brand span:not(.brand-mark) { max-width: 124px; overflow: hidden; font-size: 13px; line-height: 1.05; }
  .brand-mark { width: 30px; height: 30px; }
  .site-header > .pill { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .hero { min-height: 88vh; padding: 92px 16px 0; }
  .hero-copy { gap: 12px; max-width: 360px; padding: 10px 0 0; }
  .page-hero { min-height: 50vh; padding: 112px 18px 52px; }
  .hero h1, .page-hero h1 { max-width: 360px; font-size: clamp(36px, 10.4vw, 44px); line-height: 1; letter-spacing: 0; }
  .hero p, .page-hero p { max-width: 330px; font-size: 14px; line-height: 1.45; }
  .office-label { font-size: 12px; }
  .buildings { flex-basis: 260px; min-height: 260px; }
  .building-small { width: 64vw; left: -12vw; }
  .building-wide { width: 122vw; right: -44vw; }
  .section { padding: 64px 18px; }
  h2 { font-size: clamp(30px, 10vw, 42px); }
  .word-reveal { max-width: 340px; font-size: clamp(28px, 8.8vw, 34px); line-height: 1.08; }
  .stats, .service-grid, .review-grid { gap: 10px; }
  .stat, .service-card, .review { min-height: auto; padding: 24px; border-radius: 24px; }
  .stat strong { font-size: 42px; }
  .listing-toolbar { justify-content: stretch; }
  .listing-toolbar .pill, .listing-toolbar select { width: 100%; }
  .listing-card { border-radius: 24px; }
  .listing-price { font-size: 25px; }
  .listing-card h2 { font-size: 20px; }
  .listing-actions .pill { width: 100%; }
  .dashboard-form, .dashboard-tools { padding: 18px; border-radius: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-page { padding-top: 48px; }
  .contact-strip, .contact-panel { padding: 18px; border-radius: 24px; }
  .contact-panel {
    gap: 14px;
    background: transparent;
    border: 0;
  }
  .contact-panel > div {
    width: 100%;
    padding: 22px;
    border: 1px solid #e0c351;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff8ca, #ffd200);
  }
  .contact-panel .pill {
    width: 100%;
  }
  .contact-strip h2, .contact-panel h2 { font-size: 30px; }
  details { padding: 18px; }
  summary { font-size: 16px; }
  .footer { padding: 56px 18px 24px; }
  .footer-cta { min-height: 320px; padding: 28px 18px; border-radius: 24px; }
  .footer-cta h2 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .cursor { display: none; }
}
