/* ============================================================
   MABO IMMOBILIEN – Firmen (B2B / Bauträger)
   Exploded axonometric hero, B2B profile, development process,
   partnerships and business contact.
   ============================================================ */

/* ── Hero with exploded axonometric ── */
.page-hero--firmen .page-hero__title {
  max-width: none;
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem);
}
/* Exploded floor plates; engine in styles.css (idle float, scan line, pointer, scroll) */
.axo--firmen {
  width: min(64vw, 22rem);
  margin-inline: auto;
}
@media (min-width: 64em) {
  .axo--firmen { width: 100%; max-width: 30rem; margin: -2rem 0 -3rem; }
}

/* ── B2B profile ── */
.profile__grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
.profile__copy {
  display: grid;
  justify-items: start;
  gap: var(--space-5);
}
.profile__copy .eyebrow { margin-bottom: 0; }
.profile__copy p {
  max-width: 56ch;
  color: var(--text-muted);
  line-height: 1.85;
}
.profile__copy .btn { margin-top: var(--space-3); }
.profile__figures {
  padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  background: var(--bg);
  box-shadow: var(--shadow-3);
}
.profile__figures .title-block dd { font-size: clamp(2.4rem, 1.7rem + 2.4vw, 3.75rem); }
.profile__figures .title-block__cell { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
@media (min-width: 64em) {
  .profile__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 7vw, 8rem); }
}

/* ── Development process ── */
.process__grid {
  display: grid;
  gap: var(--space-8);
}
.process__aside .section-head { margin-bottom: 0; }
.phase-meter {
  display: none;
  gap: var(--space-4);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.phase-meter__bar {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
}
.phase-meter__bar span {
  height: 3px;
  background: var(--line);
  transition: background-color var(--dur-3) var(--ease-out);
}
.phase-meter__bar span.is-on { background: var(--accent); }
.phase-meter__now {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  min-height: 3.5rem;
}
.phase-meter__num {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--accent-text);
}
.phase-meter__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--text-strong);
}
.step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.step__icon {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--accent);
  stroke-width: 1.25;
}
@media (min-width: 64em) {
  .process__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 7rem); }
  .process__aside { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
  .phase-meter { display: grid; }
}

/* ── Partnerships ── */
.partners {
  isolation: isolate;
  overflow: clip;
}
.partners__grid {
  display: grid;
  gap: var(--space-8);
}
.partners__copy {
  display: grid;
  justify-items: start;
  gap: var(--space-5);
}
.partners__copy .eyebrow { margin-bottom: 0; }
.partners__copy > p { max-width: 52ch; color: var(--text-muted); line-height: 1.85; }
.partner-list {
  justify-self: stretch;
  display: grid;
  list-style: none;
  border-top: 1px solid var(--line);
}
.partner-list li {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 3.5rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.partner-list li::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}
.partners__copy .btn { margin-top: var(--space-3); }

/* Invitation panel (light panel inside the dark section) */
.invite {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: start;
  gap: var(--space-5);
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  background: var(--bg);
  border-top: 2px solid var(--gold-500);
  box-shadow: var(--shadow-3);
}
.invite .eyebrow { margin-bottom: 0; }
.invite__title {
  max-width: 18ch;
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.6rem);
  line-height: 1.12;
}
.invite > p { color: var(--text-muted); line-height: 1.8; }
.invite__drawing {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  z-index: -1;
  width: 13rem;
  height: auto;
  color: var(--drawing);
}
.journey {
  justify-self: stretch;
  display: grid;
  list-style: none;
  counter-reset: journey;
  margin-block: var(--space-2);
}
.journey li {
  position: relative;
  display: grid;
  gap: 0.15rem;
  padding: 0 0 var(--space-5) 3.25rem;
  counter-increment: journey;
}
.journey li:last-child { padding-bottom: 0; }
.journey li::before {
  content: counter(journey, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -0.2rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-text);
  background: var(--bg);
  border: 1px solid var(--accent);
}
.journey li::after {
  content: "";
  position: absolute;
  left: 1.125rem;
  top: 2.05rem;
  bottom: 0.1rem;
  width: 1px;
  background: var(--line-strong);
}
.journey li:last-child::after { display: none; }
.journey__title { font-weight: 600; color: var(--text-strong); }
.journey__text { font-size: var(--fs-sm); color: var(--text-muted); }
@media (min-width: 64em) {
  .partners__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 7rem); align-items: center; }
}

/* ── Contact ── */
.contact .section-head { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
