/* ─────────────────────────────────────────────────────────
   AXO REAL — Subsidiary landing-page template
   Each Geschäftsfeld is its own landingpage with its own tint.
   ───────────────────────────────────────────────────────── */

:root {
  --stage-bg: #E8EEF7;
  --panel: #FFFFFF;
  --panel-soft: #F1F5FB;
  --ink-1: #0A0F1A;
  --ink-2: #1E2536;
  --ink-3: #5B6478;
  --hair: #E6ECF5;
  --hair-warm: rgba(10,15,26,0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

/* Reset header from styles.css — we use inline nav on subsidiary pages */
body[data-sub] > header.site-header { display: none !important; }
body[data-sub] {
  background: var(--stage-bg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink-2);
}

/* Override base typography so subsidiary pages look modern landing */
body[data-sub] h1,
body[data-sub] h2,
body[data-sub] h3,
body[data-sub] h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-1);
  line-height: 1.05;
}

body[data-sub] .stage {
  padding: 18px clamp(14px, 2.4vw, 28px) clamp(28px, 4vw, 56px);
}
body[data-sub] .stage-inner {
  max-width: 1480px;
  margin-inline: auto;
}

/* ── Shared nav row (copied from index) ── */
.sub-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 8px 0;
  margin-bottom: clamp(24px, 4vw, 56px);
}
.sub-nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-1);
}
.sub-nav-logo__mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--ink-1);
  position: relative;
  display: grid; place-items: center;
  color: #D4B883;
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
}
.sub-nav-logo__mark::after { content: "×"; transform: translateY(-1px); }
.sub-nav-logo__word { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; color: var(--ink-1); }
.sub-nav-logo__sub { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); display: block; margin-top: 1px; font-weight: 500; }
.sub-nav-pills {
  display: flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 6px;
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 2px 12px rgba(15,23,41,0.04);
}
.sub-nav-pills a {
  font-size: 13.5px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 500;
  transition: all 200ms ease;
  white-space: nowrap;
}
.sub-nav-pills a:hover { background: rgba(255,255,255,0.7); color: var(--ink-1); }
.sub-nav-pills a.is-active { background: var(--ink-1); color: #fff; }
.sub-nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink-1); color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  text-decoration: none;
  transition: transform 200ms ease, background 200ms ease;
}
.sub-nav-cta:hover { background: #1B2540; transform: translateY(-1px); }

/* Mobile menu toggle uses the brand-X icon (injected by partials.js).
   Hidden on desktop. When the menu is open, becomes a tighter, lighter
   close-state in the corner of the overlay. */
.sub-nav-toggle {
  display: none;
  width: 48px; height: 48px;
  padding: 0;
  background: rgba(255,255,255,0.92);
  color: var(--ink-1);
  border: 1px solid rgba(10,15,26,0.08);
  border-radius: 14px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, border-color 200ms ease;
}
.sub-nav-toggle:hover { background: #fff; }
.sub-nav-toggle__x {
  display: block;
  transition: transform 250ms cubic-bezier(.22,.61,.36,1);
}
/* Slight rotate when open to signal active state */
.sub-nav-row.is-open .sub-nav-toggle {
  background: transparent;
  border-color: rgba(255,255,255,0.25);
}
.sub-nav-row.is-open .sub-nav-toggle__x {
  transform: rotate(90deg);
}
.sub-nav-row.is-open .sub-nav-toggle__x line:first-child {
  stroke: #B8C2CC;
}
.sub-nav-row.is-open .sub-nav-toggle__x line:last-child {
  stroke: #D4B883;
}

@media (max-width: 980px) {
  .sub-nav-row { position: relative; }
  .sub-nav-toggle { display: inline-flex; }
  .sub-nav-cta { display: none; }

  .sub-nav-pills {
    position: fixed;
    top: 0; left: 0; right: 0;
    bottom: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 88px 24px 24px;
    background: rgba(10, 15, 26, 0.97);
    backdrop-filter: blur(12px);
    border-radius: 0;
    box-shadow: none;
    border: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 320ms cubic-bezier(.22,.61,.36,1), opacity 280ms ease;
    overflow-y: auto;
  }
  .sub-nav-row.is-open .sub-nav-pills {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .sub-nav-pills a {
    color: rgba(255,255,255,0.85);
    font-family: "Fraunces", serif;
    font-style: italic;
    font-size: 22px;
    padding: 16px 8px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
  }
  .sub-nav-pills a:hover,
  .sub-nav-pills a.is-active {
    background: transparent;
    color: #D4B883;
  }
  /* Sticky-positioned hamburger above the open menu */
  .sub-nav-row.is-open .sub-nav-toggle {
    position: fixed;
    top: 22px; right: 22px;
    z-index: 61;
  }
  /* Add a contact link inside the open menu */
  .sub-nav-pills::after {
    content: "Kontakt aufnehmen →";
    display: block;
    margin-top: 24px;
    padding: 18px 24px;
    background: #D4B883;
    color: var(--ink-1);
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.01em;
  }
}

/* ── HERO PANEL ── */
.sub-hero {
  background: var(--hero-tint, #F2EAD3);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 2.4vw, 28px);
  position: relative;
  overflow: hidden;
  padding-block: clamp(20px, 2.4vw, 28px);
}
.sub-hero__breadcrumb {
  padding: 0 8px 0;
  margin-bottom: clamp(20px, 3vw, 36px);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.sub-hero__breadcrumb a { color: var(--ink-3); text-decoration: none; transition: color 200ms ease; }
.sub-hero__breadcrumb a:hover { color: var(--ink-1); }

.sub-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(24px, 3vw, 56px);
  align-items: center;
  padding: clamp(20px, 3vw, 48px) clamp(8px, 1.5vw, 24px) 0;
  min-height: clamp(440px, 56vw, 620px);
}
.sub-hero__role {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 28px; font-weight: 500;
}
.sub-hero__role::before {
  content: ""; width: 24px; height: 1px; background: var(--ink-3);
}
.sub-hero__title {
  font-family: "Fraunces", serif !important;
  font-weight: 400 !important;
  font-size: clamp(44px, 6.2vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink-1);
  margin-bottom: 28px;
  text-wrap: balance;
}
.sub-hero__title em {
  font-style: italic;
  color: var(--ink-1);
  font-weight: 400;
}
.sub-hero__lede {
  font-size: clamp(15.5px, 1.1vw, 18px);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 50ch;
  margin-bottom: 36px;
}
.sub-hero__ctas {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.btn-pill-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink-1); color: #fff;
  padding: 15px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  transition: transform 200ms ease, background 200ms ease;
  border: 0;
  cursor: pointer;
}
.btn-pill-dark:hover { background: #1B2540; transform: translateY(-1px); color: #fff; }
.btn-pill-light {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.66);
  color: var(--ink-1);
  padding: 15px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  border: 1px solid rgba(10,15,26,0.08);
  transition: all 200ms ease;
}
.btn-pill-light:hover { background: #fff; color: var(--ink-1); transform: translateY(-1px); }

/* Stat row inside hero */
.sub-hero__stats {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  flex-wrap: wrap;
}
.sub-hero__stat .v {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
  color: var(--ink-1);
  letter-spacing: -0.02em;
}
.sub-hero__stat .l {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-2);
  position: relative;
  padding-left: 12px;
}
.sub-hero__stat .l::before {
  content: "•";
  position: absolute;
  left: 0; top: 0;
  color: var(--ink-2);
}

/* Visual right column */
.sub-hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: rgba(255,255,255,0.45);
  align-self: stretch;
  min-height: 380px;
}
.sub-hero__visual image-slot {
  width: 100%; height: 100%; display: block; border: 0;
}
.sub-hero__visual image-slot::part(frame) { background: transparent; box-shadow: none; border-radius: var(--radius-lg); }
.sub-hero__visual image-slot::part(ring) { border-color: rgba(10,15,26,0.06); border-radius: var(--radius-lg); }
.sub-hero__visual__placeholder {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.0));
  display: grid; place-items: center;
  color: rgba(10,15,26,0.32);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500;
}
.sub-hero__visual__label {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}

@media (max-width: 900px) {
  .sub-hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .sub-hero__visual { aspect-ratio: 4/3; min-height: 280px; }
  .sub-hero__title { font-size: clamp(40px, 9vw, 60px); }
}

/* ── Quick-action bar (search/filter pill) ── */
.sub-quickbar {
  margin-top: -36px;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 999px;
  padding: 10px 10px 10px 28px;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  box-shadow: 0 12px 32px rgba(15,23,41,0.08);
  border: 1px solid rgba(10,15,26,0.04);
}
.sub-quickbar__field {
  display: flex; flex-direction: column; gap: 2px;
  font-family: "Inter", sans-serif;
  min-width: 0;
  flex: 1;
}
.sub-quickbar__field + .sub-quickbar__field {
  border-left: 1px solid var(--hair);
  padding-left: clamp(16px, 2vw, 24px);
}
.sub-quickbar__label {
  font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 4px;
}
.sub-quickbar__label::before {
  content: "•"; color: var(--ink-3);
}
.sub-quickbar__value {
  font-size: 15px; font-weight: 600; color: var(--ink-1);
}
.sub-quickbar__action {
  flex-shrink: 0;
  background: var(--ink-1);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 200ms ease, transform 200ms ease;
}
.sub-quickbar__action:hover { background: #1B2540; transform: translateY(-1px); }

@media (max-width: 900px) {
  .sub-quickbar {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 20px;
    gap: 16px;
    margin-top: 16px;
  }
  .sub-quickbar__field { width: 100%; }
  .sub-quickbar__field + .sub-quickbar__field { border-left: 0; padding-left: 0; border-top: 1px solid var(--hair); padding-top: 16px; }
  .sub-quickbar__action { width: 100%; justify-content: center; }
}

/* ── Content panel (white rounded panel) ── */
.sub-panel {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 64px);
  margin-top: clamp(28px, 4vw, 56px);
}
.sub-panel--tint {
  background: var(--hero-tint, #F2EAD3);
  opacity: 0.92;
}

.sub-panel__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: clamp(40px, 5vw, 64px);
  align-items: end;
}
.sub-panel__head--center {
  display: block;
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.sub-panel__head h2 {
  font-family: "Fraunces", serif !important;
  font-weight: 400 !important;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.sub-panel__head h2 em { font-style: italic; color: #4A5A8C; }
.sub-panel__head p {
  font-size: 16px; color: var(--ink-3); line-height: 1.6;
  max-width: 50ch;
}
.sub-panel__tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 16px; font-weight: 500;
}
.sub-panel__tag::before {
  content: attr(data-num) " · ";
  color: var(--ink-1); font-weight: 600;
}
@media (max-width: 800px) {
  .sub-panel__head { grid-template-columns: 1fr; }
}

/* ── Channels grid (5 cards) ── */
.sub-channels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.sub-channels__cell {
  background: var(--panel-soft);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  border: 1px solid rgba(10,15,26,0.04);
}
.sub-channels__num { font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: 0.06em; }
.sub-channels__title { font-size: 17px; font-weight: 700; margin-top: 16px; margin-bottom: 8px; color: var(--ink-1); letter-spacing: -0.01em; }
.sub-channels__desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
@media (max-width: 1100px) {
  .sub-channels { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .sub-channels { grid-template-columns: 1fr; }
}

/* ── Metric cards (3-up) ── */
.sub-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.sub-metrics__cell {
  background: var(--panel-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid rgba(10,15,26,0.04);
}
.sub-metrics__big {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink-1);
}
.sub-metrics__big em { font-style: normal; color: #4A5A8C; }
.sub-metrics__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-top: 18px; font-weight: 500; }
.sub-metrics__desc { font-size: 14px; color: var(--ink-2); margin-top: 14px; line-height: 1.55; max-width: 32ch; }
@media (max-width: 800px) {
  .sub-metrics { grid-template-columns: 1fr; }
}

/* ── Feature list (numbered rows) ── */
.sub-features { list-style: none; padding: 0; margin: 0; }
.sub-features li {
  padding: 24px 0;
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: baseline;
}
.sub-features li:last-child { border-bottom: 1px solid var(--hair); }
.sub-features .num { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.sub-features .label { font-size: 18px; font-weight: 600; color: var(--ink-1); letter-spacing: -0.01em; }
.sub-features .label small {
  display: block; font-style: normal; font-size: 14px; color: var(--ink-3); margin-top: 6px; font-weight: 400; letter-spacing: 0;
}
.sub-features .badge {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500;
}
@media (max-width: 700px) {
  .sub-features li { grid-template-columns: 32px 1fr; }
  .sub-features .badge { display: none; }
}

/* ── Two-col content ── */
.sub-twocol {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) {
  .sub-twocol { grid-template-columns: 1fr; }
}

/* ── Products grid ── */
.sub-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.sub-products article {
  background: var(--panel-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 240px;
  border: 1px solid rgba(10,15,26,0.04);
}
.sub-products .num { font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: 0.06em; }
.sub-products .title { font-size: 22px; font-weight: 700; margin-top: 14px; letter-spacing: -0.015em; color: var(--ink-1); }
.sub-products .desc { font-size: 14px; color: var(--ink-3); margin-top: 12px; line-height: 1.55; }
@media (max-width: 900px) {
  .sub-products { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sub-products { grid-template-columns: 1fr; }
}

/* ── Highlight panel (dark) ── */
.sub-highlight {
  background: var(--ink-1);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(56px, 8vw, 104px) clamp(32px, 5vw, 80px);
  margin-top: clamp(28px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}
.sub-highlight__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.sub-highlight__eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #D4B883; font-weight: 500; margin-bottom: 24px;
}
.sub-highlight__big {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 14ch;
}
.sub-highlight__big em { font-style: italic; color: #D4B883; }
.sub-highlight__lede {
  color: rgba(255,255,255,0.74);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
  max-width: 46ch;
  margin-bottom: 28px;
}
.sub-highlight__sub {
  color: rgba(255,255,255,0.6); margin-top: 20px; font-size: 14px; line-height: 1.55; max-width: 38ch;
}
.sub-highlight .btn-pill-light {
  background: #fff; color: var(--ink-1);
  border: 0;
}
.sub-highlight .btn-pill-light:hover { background: #D4B883; }
.sub-highlight__x {
  position: absolute; top: -80px; right: -60px;
  width: clamp(220px, 28vw, 380px);
  height: clamp(220px, 28vw, 380px);
  background-image: var(--brand-x-svg-light);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.16;
  pointer-events: none;
}
/* Drop the legacy line pseudo-elements — the SVG handles it now */
.sub-highlight__x::before, .sub-highlight__x::after { content: none; }
@media (max-width: 900px) {
  .sub-highlight__inner { grid-template-columns: 1fr; }
}

/* ── Accordion ── */
.sub-accordion details {
  border-top: 1px solid var(--hair);
  padding: 24px 0;
}
.sub-accordion details:last-child { border-bottom: 1px solid var(--hair); }
.sub-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: "Inter", sans-serif;
  font-size: 19px; font-weight: 600;
  color: var(--ink-1); letter-spacing: -0.01em;
}
.sub-accordion summary::-webkit-details-marker { display: none; }
.sub-accordion summary::after {
  content: "+";
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--panel-soft);
  font-size: 18px; color: var(--ink-1); font-weight: 400;
  transition: all 200ms ease;
}
.sub-accordion details[open] summary::after { content: "−"; background: var(--ink-1); color: #fff; }
.sub-accordion details p {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.65;
  max-width: 72ch;
}

/* ── Crosslinks (other Geschäftsfelder) ── */
.sub-crosslinks {
  margin-top: clamp(28px, 4vw, 56px);
  background: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px);
}
.sub-crosslinks__head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 36px; flex-wrap: wrap; gap: 16px;
}
.sub-crosslinks__head h3 {
  font-family: "Fraunces", serif !important;
  font-weight: 400 !important;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
}
.sub-crosslinks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sub-crosslink {
  text-decoration: none; color: inherit;
  background: var(--panel-soft);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  display: flex; flex-direction: column;
  border: 1px solid rgba(10,15,26,0.04);
  transition: transform 200ms ease, background 200ms ease;
}
.sub-crosslink:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,41,0.06); }
.sub-crosslink .num { font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: 0.06em; }
.sub-crosslink .title { font-size: 17px; font-weight: 700; margin-top: 12px; line-height: 1.2; color: var(--ink-1); letter-spacing: -0.01em; }
.sub-crosslink .role { font-size: 12px; color: var(--ink-3); margin-top: 4px; letter-spacing: 0.04em; }
.sub-crosslink .arrow-i { margin-top: 18px; align-self: flex-end; transition: transform 200ms ease; color: var(--ink-1); }
.sub-crosslink:hover .arrow-i { transform: translateX(4px); }
@media (max-width: 900px) {
  .sub-crosslinks__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .sub-crosslinks__grid { grid-template-columns: 1fr; }
}

/* ── Full-bleed photo (legacy class — kept for any pages still using it) ── */
.photo-bleed {
  margin-top: clamp(28px, 4vw, 56px);
}
.photo-bleed image-slot {
  width: 100%;
  aspect-ratio: 21/9;
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.photo-bleed image-slot::part(frame) { background: rgba(255,255,255,0.4); border-radius: var(--radius-xl); }
.photo-bleed__caption {
  display: flex; justify-content: space-between;
  padding: 14px 8px 0;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}

/* ─────────────────────────────────────────────────────────
   BRAND-X — two-tone navy+grey X used as recurring brand mark
   ───────────────────────────────────────────────────────── */
:root {
  /* AXO X: deep marine navy (#0F2A4F) short stroke; mid-dark grey (#6B7785)
     long stroke. Both darker than before — closer to the actual logo.
     Navy: top-left → bottom-right, contained (~25-75%)
     Grey: top-right → bottom-left, extends well past navy at both ends */
  --brand-x-svg: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' overflow='visible'%3E%3Cline x1='118' y1='8' x2='2' y2='118' stroke='%236B7785' stroke-width='12' stroke-linecap='round'/%3E%3Cline x1='32' y1='32' x2='88' y2='88' stroke='%230F2A4F' stroke-width='13' stroke-linecap='round'/%3E%3C/svg%3E");
  --brand-x-svg-light: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' overflow='visible'%3E%3Cline x1='118' y1='8' x2='2' y2='118' stroke='%23A8B0BB' stroke-width='12' stroke-linecap='round'/%3E%3Cline x1='32' y1='32' x2='88' y2='88' stroke='%23527099' stroke-width='13' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* (Removed: brand-X overlay on video hero — user feedback) */

/* Section divider — small X mark used between major panels */
.brand-x-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: clamp(20px, 3vw, 36px) 0;
  position: relative;
}
.brand-x-divider::before,
.brand-x-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hair) 30%, var(--hair) 70%, transparent);
}
.brand-x-divider__mark {
  width: 24px; height: 24px;
  margin: 0 16px;
  background-image: var(--brand-x-svg);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
}

/* Big watermark on white panels — top-right corner accent */
.sub-panel {
  position: relative;
}
.sub-panel--watermarked::before {
  content: "";
  position: absolute;
  top: -28px;
  right: clamp(24px, 4vw, 56px);
  width: clamp(80px, 8vw, 120px);
  height: clamp(80px, 8vw, 120px);
  background-image: var(--brand-x-svg);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────
   BRAND CLAIM — slogan typography
   ───────────────────────────────────────────────────────── */
.sub-hero__claim {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 24px);
  color: #D4B883;
  letter-spacing: 0.005em;
  margin: -8px 0 28px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
  max-width: 36ch;
}
.sub-panel__claim {
  font-family: "Fraunces", serif;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: clamp(28px, 3.5vw, 44px) 0 0;
  padding: 24px 28px;
  background: var(--panel-soft);
  border-left: 3px solid #D4B883;
  border-radius: 0 12px 12px 0;
  max-width: 70ch;
}
.sub-panel__claim em {
  font-style: italic;
  font-weight: 500;
  color: var(--ink-1);
}

/* ─────────────────────────────────────────────────────────
   ANFRAGE-FORMULAR — general contact form (Kontakt page)
   ───────────────────────────────────────────────────────── */
.anfrage-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.anfrage-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 700px) {
  .anfrage-form__grid { grid-template-columns: 1fr; }
}

.anfrage-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.anfrage-field--full { grid-column: 1 / -1; }
.anfrage-field > span {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.anfrage-field input,
.anfrage-field select,
.anfrage-field textarea {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: var(--ink-1);
  background: var(--panel-soft);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
  appearance: none;
  -webkit-appearance: none;
}
.anfrage-field input:focus,
.anfrage-field select:focus,
.anfrage-field textarea:focus {
  outline: none;
  border-color: var(--ink-1);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10,15,26,0.06);
}
.anfrage-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}
.anfrage-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235B6478' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.anfrage-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.55;
  cursor: pointer;
}
.anfrage-consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--ink-1);
  flex-shrink: 0;
}

.anfrage-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.anfrage-form__hint {
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.01em;
  margin: 0;
}

.anfrage-success {
  background: var(--panel-soft);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.anfrage-success strong {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--ink-1);
  display: block;
  margin-bottom: 8px;
}
.anfrage-success p {
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────
   FOOTER — high-contrast text on dark background
   ───────────────────────────────────────────────────────── */
.site-footer.site-footer--axo {
  background: #0A0F1A;
  color: #fff;
  padding: clamp(48px, 6vw, 80px) 0 clamp(24px, 3vw, 36px);
  margin-top: clamp(36px, 5vw, 64px);
}
.site-footer--axo .container-wide {
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 48px);
}
.site-footer--axo .site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 3vw, 48px);
  padding-bottom: clamp(36px, 4vw, 56px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer--axo .footer-logo { display: inline-block; margin-bottom: 20px; }
.site-footer--axo .footer-logo img { height: 44px; width: auto; }
.site-footer--axo .footer-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 36ch;
  margin: 0 0 18px;
}
.site-footer--axo .footer-text--addr { color: rgba(255,255,255,0.92); }
.site-footer--axo .footer-text strong { color: #fff; font-weight: 600; }
.site-footer--axo .footer-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.02em;
}

.site-footer--axo .site-footer__col h4 {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D4B883;
  margin: 0 0 18px;
}
.site-footer--axo .site-footer__col a {
  display: block;
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 200ms ease;
}
.site-footer--axo .site-footer__col a:hover { color: #fff; }

.site-footer--axo .site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(20px, 2.5vw, 28px);
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer--axo .footer-claim {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 15px;
  color: #D4B883;
  letter-spacing: 0.005em;
}
@media (max-width: 900px) {
  .site-footer--axo .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer--axo .site-footer__top { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────
   CONTACT PANEL — three-way CTA on holding index
   ───────────────────────────────────────────────────────── */
.contact-panel {
  margin-top: clamp(28px, 4vw, 56px);
  background: linear-gradient(160deg, #0F1729 0%, #0A0F1A 70%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 64px);
  position: relative;
  overflow: hidden;
}
.contact-panel::before {
  content: "";
  position: absolute;
  top: -160px; right: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(212,184,131,0.15), transparent 65%);
  pointer-events: none;
}
.contact-panel__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: clamp(40px, 5vw, 56px);
  align-items: end;
  position: relative;
}
.contact-panel__head .sub-panel__tag { color: rgba(255,255,255,0.6); }
.contact-panel__head .sub-panel__tag::before { color: #D4B883; }
body[data-sub] .contact-panel__head h2 {
  font-family: "Fraunces", serif !important;
  font-weight: 400 !important;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
body[data-sub] .contact-panel__head h2 em {
  font-style: italic;
  color: #D4B883 !important;
}
.contact-panel__head p {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  max-width: 50ch;
}
@media (max-width: 800px) {
  .contact-panel__head { grid-template-columns: 1fr; }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 26px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: #fff;
  transition: background 250ms ease, transform 250ms ease, border-color 250ms ease;
}
.contact-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(212,184,131,0.4);
  transform: translateY(-3px);
}
.contact-card__icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(212,184,131,0.18);
  color: #D4B883;
  margin-bottom: 14px;
}
.contact-card__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.contact-card__value {
  font-family: "Inter", sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-top: 2px;
}
.contact-card__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  margin-top: 4px;
}
.contact-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 16px;
  background: #D4B883;
  color: var(--ink-1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  align-self: flex-start;
}
.contact-card--form { background: rgba(212,184,131,0.08); border-color: rgba(212,184,131,0.25); }
.contact-card--form:hover { background: rgba(212,184,131,0.14); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-panel__foot {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: clamp(28px, 3vw, 36px);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}
.contact-panel__addr {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.01em;
}
.contact-panel__addr strong {
  color: #fff;
  font-weight: 600;
}
.contact-panel__notice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.62);
  max-width: 38ch;
  line-height: 1.5;
}
.contact-panel__notice [aria-hidden] {
  color: #D4B883;
  font-size: 10px;
}

/* ─────────────────────────────────────────────────────────
   HOLDING INDEX — Bereich-Cards Grid (6 cards)
   ───────────────────────────────────────────────────────── */
.bereich-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bereich-card {
  display: flex;
  flex-direction: column;
  background: var(--panel-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(10,15,26,0.04);
  transition: transform 250ms cubic-bezier(.22,.61,.36,1),
              box-shadow 250ms ease,
              background 250ms ease;
}
.bereich-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15,23,41,0.10);
  background: #fff;
}
.bereich-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(.22,.61,.36,1);
}
.bereich-card:hover img { transform: scale(1.04); }
.bereich-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.bereich-card__num {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  font-weight: 600;
}
.bereich-card h3 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.01em;
  color: var(--ink-1);
  line-height: 1.1;
  margin: 4px 0 6px;
}
.bereich-card p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
  flex: 1;
}
.bereich-card__more {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-1);
  letter-spacing: 0.01em;
}
@media (max-width: 1100px) {
  .bereich-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .bereich-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ─────────────────────────────────────────────────────────
   BEREICH VISUAL — full-bleed image inside Bereich pages
   ───────────────────────────────────────────────────────── */
.bereich-visual {
  margin-top: clamp(28px, 4vw, 56px);
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #0A0F1A;
}
.bereich-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.bereich-visual__caption {
  position: absolute;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 24px);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.bereich-visual__tag,
.bereich-visual__loc {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}
.bereich-visual__loc {
  background: rgba(10,15,26,0.78);
  color: #fff;
}
@media (max-width: 700px) {
  .bereich-visual img { aspect-ratio: 4 / 3; }
}

/* ─────────────────────────────────────────────────────────
   IMAGE-HERO VARIANT  (.sub-hero--image)
   Full-bleed image background, dark overlay, white text.
   Used on the 6 Bereich pages.
   ───────────────────────────────────────────────────────── */
.sub-hero--image {
  background: #0A0F1A;
  min-height: clamp(540px, 70vh, 720px);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  isolation: isolate;
  border-radius: var(--radius-xl);
}

.sub-hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.sub-hero__overlay--soft {
  background:
    linear-gradient(95deg,
      rgba(10,15,26,0.78) 0%,
      rgba(10,15,26,0.62) 38%,
      rgba(10,15,26,0.30) 70%,
      rgba(10,15,26,0.20) 100%);
}

/* ─────────────────────────────────────────────────────────
   VIDEO-HERO VARIANT  (.sub-hero--video)
   Full-bleed video background, dark overlay, white text.
   Used on invest.html.
   ───────────────────────────────────────────────────────── */
.sub-nav-logo__img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.sub-hero--video {
  background: #0A0F1A;
  min-height: clamp(620px, 80vh, 820px);
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  isolation: isolate;
}

.sub-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.sub-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,15,26,0.45) 0%, rgba(10,15,26,0.62) 60%, rgba(10,15,26,0.78) 100%),
    radial-gradient(ellipse at 30% 40%, rgba(10,15,26,0.15), rgba(10,15,26,0.55) 70%);
  pointer-events: none;
}

.sub-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 920px;
  padding: clamp(40px, 5vw, 64px) clamp(28px, 5vw, 80px);
  color: #fff;
  box-sizing: border-box;
}

.sub-hero__content > .sub-hero__breadcrumb {
  margin-bottom: clamp(14px, 1.6vw, 22px);
}
.sub-hero__content .sub-hero__role { margin-bottom: 18px; }

/* Sub-page titles get a tighter cap than the holding hero so long German
   compound words ("Hausverwaltung", "Immobilien­management") never overflow. */
.sub-hero--video .sub-hero__title--light {
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.06;
  max-width: 18ch;
  margin-bottom: 22px;
}
.sub-hero--video .sub-hero__lede--light {
  font-size: clamp(15px, 1.05vw, 17px);
  margin-bottom: 28px;
}
.sub-hero--video .sub-hero__ctas { margin-bottom: clamp(28px, 3.5vw, 44px); }
.sub-hero--video .sub-hero__stats { gap: clamp(24px, 3vw, 44px); }

.sub-hero__breadcrumb--light {
  color: rgba(255,255,255,0.95);
  margin-bottom: clamp(16px, 2vw, 24px);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.sub-hero__breadcrumb--light a { color: rgba(255,255,255,0.95); }
.sub-hero__breadcrumb--light a:hover { color: #D4B883; }

.sub-hero__role--light {
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.sub-hero__role--light::before { background: #D4B883; }

.sub-hero__title--light {
  color: #fff;
  text-shadow: 0 4px 32px rgba(0,0,0,0.55);
  /* Allow long German words to wrap inside the container */
  overflow-wrap: break-word;
  hyphens: manual;
}
.sub-hero__title--light em { color: #D4B883; }

.sub-hero__lede--light {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
  max-width: 56ch;
  font-weight: 400;
}

.sub-hero__stats--light .v {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.sub-hero__stats--light .l {
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.sub-hero__stats--light .l::before { color: #D4B883; }

/* Ghost button: transparent, white outline — matches dark hero */
.btn-pill-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: #fff;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  border: 1px solid rgba(255,255,255,0.45);
  transition: all 200ms ease;
}
.btn-pill-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-1px);
  color: #fff;
}

/* Inverted "light" pill on the dark hero — solid white */
.sub-hero--video .btn-pill-light {
  background: #fff;
  border-color: #fff;
  color: var(--ink-1);
}
.sub-hero--video .btn-pill-light:hover {
  background: #D4B883;
  border-color: #D4B883;
  color: var(--ink-1);
}

@media (max-width: 700px) {
  .sub-hero--video { min-height: 560px; }
  .sub-hero__content { padding: 80px 22px 56px; }
  .sub-hero__title--light { font-size: clamp(40px, 11vw, 60px); }
}

/* Quickbar should not collide with the video hero — keep it visible */
.sub-hero--video + .sub-quickbar { margin-top: -36px; }

@media (prefers-reduced-motion: reduce) {
  .sub-hero__video { display: none; }
  .sub-hero--video {
    background:
      linear-gradient(180deg, rgba(10,15,26,0.55), rgba(10,15,26,0.85)),
      url("assets/axo-hero-poster.jpg") center/cover no-repeat;
  }
}

/* ── Reveal animation ──
   Initial state is VISIBLE (opacity 1) so content always shows even if
   IntersectionObserver fails or is delayed. JS adds .reveal-pending early
   to opt-in to the intro animation. */
body[data-sub] .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 800ms cubic-bezier(.22,.61,.36,1), transform 800ms cubic-bezier(.22,.61,.36,1);
}
body[data-sub] .reveal.reveal-pending {
  opacity: 0;
  transform: translateY(20px);
}
body[data-sub] .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  body[data-sub] .reveal,
  body[data-sub] .reveal.reveal-pending {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
