/* Shared contact blade, AI drawer and mobile menu. Loaded after shared-finale.css. */
.shared-finale-page .hero-start:not(.is-return).is-minimized,
.shared-finale-page .hero-start:not(.is-return).is-footer {
  height: 4px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #78a18c;
  box-shadow: 0 -1px 0 #527b6166;
  transform: none;
  /* The panel must collapse immediately; otherwise its new green background sweeps down the page. */
  transition: none !important;
  will-change: auto;
}
.shared-finale-page .hero-start:not(.is-return).is-minimized .hero-start__toggle,
.shared-finale-page .hero-start:not(.is-return).is-footer .hero-start__toggle {
  inset: auto 0 0 auto;
  z-index: 6;
  width: min(var(--contact-blade-width, 17.5rem), 67vw);
  height: 4.25rem;
  padding: 0 1.35rem 0 2.45rem;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: linear-gradient(125deg, #91b29f 0%, #78a18c 55%, #6e987f 100%);
  color: #143024;
  box-shadow: 0 -.55rem 1.4rem #16322636, inset 0 1px #e0f0e880;
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  animation: none;
  transition: width .7s cubic-bezier(.22, 1, .36, 1), height .6s cubic-bezier(.22, 1, .36, 1),
    background-color .3s ease, filter .3s ease;
}
.shared-finale-page .hero-start:not(.is-return).is-footer .hero-start__toggle {
  width: min(calc(var(--contact-blade-width, 15.4rem) - 1.1rem), 58vw);
  height: 3.65rem;
}
.shared-finale-page .hero-start:not(.is-return).is-minimized .hero-start__toggle:hover,
.shared-finale-page .hero-start:not(.is-return).is-footer .hero-start__toggle:hover {
  filter: brightness(1.09);
}
.shared-finale-page .hero-start:not(.is-return).is-minimized .hero-start__toggle:focus-visible,
.shared-finale-page .hero-start:not(.is-return).is-footer .hero-start__toggle:focus-visible {
  outline: 0;
  filter: drop-shadow(0 0 .35rem #183c28);
}
.shared-finale-page .hero-start:not(.is-return).is-minimized .hero-start__toggle::after,
.shared-finale-page .hero-start:not(.is-return).is-footer .hero-start__toggle::after { content: none; }
.shared-finale-page .hero-start:not(.is-return).is-minimized .hero-start__state-label,
.shared-finale-page .hero-start:not(.is-return).is-footer .hero-start__state-label { display: none; }
.contact-blade__label {
  display: none;
  align-items: center;
  white-space: nowrap;
  font: 600 1.4rem/1 "DM Sans", system-ui, sans-serif;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .contact-blade__label { display: inline-flex; }

/* The second tab sits behind the contact blade and rises forward when selected. */
.contact-ai-tab { display: none; }
.contact-ai-panel { display: none; }
@media (min-width: 901px) {
  .shared-finale-page .hero-start:not(.is-return) .contact-ai-tab {
    position: absolute;
    z-index: 5;
    right: calc(var(--contact-blade-width, 17.5rem) - 1.6rem);
    bottom: 0;
    display: flex;
    width: 11.3rem;
    height: 3.2rem;
    align-items: center;
    justify-content: center;
    padding: .2rem 1.35rem .2rem .8rem;
    border: 0;
    border-radius: 0;
    background: linear-gradient(112deg, #668e75, #416d52);
    color: #f0f8ee;
    box-shadow: 0 -.35rem 1rem #102a1b3d, inset 0 1px #d9eee06b;
    clip-path: polygon(0 0, 89% 0, 100% 100%, 0 100%);
    cursor: pointer;
    font: 600 .8rem/1.2 "DM Sans", system-ui, sans-serif;
    letter-spacing: .065em;
    white-space: nowrap;
    transform: perspective(360px) rotateX(6deg);
    transform-origin: center bottom;
    transition: right .7s cubic-bezier(.22, 1, .36, 1), width .55s ease,
      height .55s ease, clip-path .55s ease, filter .25s ease,
      transform .45s ease, background .25s ease;
  }
  .shared-finale-page .hero-start:not(.is-return) .contact-ai-tab:hover,
  .shared-finale-page .hero-start:not(.is-return) .contact-ai-tab:focus-visible {
    filter: brightness(1.13);
    transform: perspective(360px) rotateX(0);
  }
  .shared-finale-page .hero-start:not(.is-return) .contact-ai-tab:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 2px #e8f4e8, 0 -.35rem 1rem #102a1b3d;
  }
  .shared-finale-page .hero-start:not(.is-return).is-footer .contact-ai-tab {
    right: calc(var(--contact-blade-width, 15.4rem) - 2.2rem);
    height: 3.05rem;
  }
  .shared-finale-page .hero-start:not(.is-return).is-open .hero-start__toggle {
    inset: 0 0 auto auto;
    z-index: 6;
    width: min(var(--contact-blade-width, 17.5rem), 67vw);
    height: 3.8rem;
    padding: 0 1.35rem 0 2.45rem;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: linear-gradient(125deg, #91b29f, #78a18c 65%, #6e987f);
    color: #143024;
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
    transform: none;
    cursor: pointer;
  }
  .shared-finale-page .hero-start:not(.is-return).is-open .hero-start__toggle::after,
  .shared-finale-page .hero-start:not(.is-return).is-open .hero-start__state-label { display: none; }
  .shared-finale-page .hero-start:not(.is-return).is-open .contact-blade__label { display: inline-flex; }
  .shared-finale-page .hero-start:not(.is-return).is-open .contact-ai-tab {
    top: 0;
    bottom: auto;
    height: 3.1rem;
  }
  .shared-finale-page .hero-start:not(.is-return).is-ai-active .contact-ai-tab {
    z-index: 7;
    right: 0;
    width: min(calc(var(--contact-blade-width, 17.5rem) - 2rem), 57vw);
    height: 3.35rem;
    padding: 0 1.2rem 0 2rem;
    background: linear-gradient(112deg, #a8c7b6, #79a48a);
    color: #173629;
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
    transform: perspective(360px) rotateX(0);
  }
  .shared-finale-page .hero-start:not(.is-return).is-open .hero-start__panel {
    top: 4.5rem;
    max-height: calc(90svh - 5.35rem);
  }
  .shared-finale-page .hero-start:not(.is-return).is-ai-active .desktop-contact { display: none; }
  .shared-finale-page .hero-start:not(.is-return).is-ai-active .contact-ai-panel {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 7vw, 7rem);
    width: min(1080px, 100%);
    min-height: min(26rem, 68svh);
    align-items: center;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 4rem);
    border: 1px solid #c5dac533;
    background: radial-gradient(circle at 18% 80%, #9dbea326, transparent 35%),
      linear-gradient(125deg, #233f30, #14271d 72%);
    box-shadow: .75rem .75rem 0 #0d201669;
    color: #f0f5ee;
  }
  .contact-ai-panel__eyebrow,
  .contact-ai-panel__index {
    display: block;
    color: #aacbb2;
    font: 600 .65rem/1.5 "DM Sans", system-ui, sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .contact-ai-panel h2 {
    margin: 1.25rem 0 1.5rem;
    font: 400 clamp(2.8rem, 4.8vw, 4.8rem)/1.07 "Poiret One", "Century Gothic", sans-serif;
    letter-spacing: -.035em;
  }
  .contact-ai-panel h2 em { color: #a8c7b6; font-style: normal; }
  .contact-ai-panel p { margin: 0; color: #cfddd0; font: 300 .94rem/1.75 "DM Sans", system-ui, sans-serif; }
  .contact-ai-panel__details { padding: 2rem 0 2rem clamp(1.5rem, 3vw, 3rem); border-left: 1px solid #c5dac540; }
  .contact-ai-panel__details p { margin-top: 1.2rem; }
  .contact-ai-panel__signature {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.2rem;
    padding-top: 1rem;
    border-top: 1px solid #c5dac540;
    color: #a8c7b6;
    font: 500 .68rem/1.4 "DM Sans", system-ui, sans-serif;
  }
  .contact-ai-panel__signature span:last-child { color: #91aa95; }
}
@media (max-width: 900px) {
  /* The information tab uses the same blade language as the contact action,
     but is smaller and sits one layer behind it. */
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) {
    --contact-tab-offset: min(var(--contact-blade-width, 17.5rem), 62vw);
  }
  .shared-finale-page .hero-start:not(.is-return).is-footer {
    --contact-tab-offset: min(calc(var(--contact-blade-width, 15.4rem) - 1.1rem), 55vw);
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .contact-ai-tab {
    position: absolute;
    z-index: 5;
    right: calc(var(--contact-tab-offset) - .85rem);
    bottom: 0;
    display: flex;
    width: min(9.5rem, 40vw);
    min-height: 3.1rem;
    align-items: center;
    justify-content: center;
    padding: .45rem .8rem .45rem .25rem;
    border: 0;
    border-radius: 0;
    background: linear-gradient(115deg, #416d52, #5b866a);
    box-shadow: 0 -.35rem 1rem #102a1b3d, inset 0 1px #d9eee06b;
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
    color: #f0f8ee;
    cursor: pointer;
    font: 600 clamp(.8rem, 3.3vw, .92rem)/1.25 "DM Sans", system-ui, sans-serif;
    letter-spacing: .02em;
    white-space: normal;
    transform: perspective(320px) rotateX(5deg);
    transform-origin: center bottom;
    transition: right .7s cubic-bezier(.22, 1, .36, 1), width .55s ease,
      min-height .55s ease, clip-path .55s ease, filter .25s ease,
      transform .45s ease, background .25s ease;
  }
  .shared-finale-page .hero-start:not(.is-return) .contact-ai-tab__text { text-align: center; }
  .shared-finale-page .hero-start:not(.is-return) .contact-ai-tab:focus-visible {
    outline: 2px solid #e8f4e8;
    outline-offset: -3px;
  }
  .shared-finale-page .hero-start:not(.is-return).is-footer .contact-ai-tab { min-height: 2.9rem; }
  .shared-finale-page .hero-start:not(.is-return).is-open .contact-ai-tab {
    top: 0;
    bottom: auto;
    min-height: 3.2rem;
  }
  .shared-finale-page .hero-start:not(.is-return).is-ai-active .contact-ai-tab {
    z-index: 7;
    right: 0;
    width: min(calc(var(--contact-blade-width, 17.5rem) - 2rem), 54vw);
    min-height: 3.15rem;
    padding: 0 1.2rem 0 2rem;
    background: linear-gradient(112deg, #a8c7b6, #79a48a);
    color: #173629;
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
    transform: perspective(320px) rotateX(0);
  }
  .shared-finale-page .hero-start:not(.is-return).is-minimized .hero-start__toggle,
  .shared-finale-page .hero-start:not(.is-return).is-footer .hero-start__toggle,
  .shared-finale-page .hero-start:not(.is-return).is-open .hero-start__toggle {
    width: min(var(--contact-blade-width, 17.5rem), 62vw);
    height: 4.1rem;
  }
  .shared-finale-page .hero-start:not(.is-return).is-footer .hero-start__toggle {
    width: min(calc(var(--contact-blade-width, 15.4rem) - 1.1rem), 55vw);
    height: 3.7rem;
  }
  .shared-finale-page .hero-start:not(.is-return).is-open .hero-start__toggle {
    inset: 0 0 auto auto;
    z-index: 6;
    padding: 0 1.35rem 0 2.45rem;
    place-items: center;
    background: linear-gradient(125deg, #91b29f, #78a18c 65%, #6e987f);
    color: #143024;
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
  }
  .shared-finale-page .hero-start:not(.is-return).is-open .hero-start__state-label { display: none; }
  .shared-finale-page .hero-start:not(.is-return).is-open .contact-blade__label { display: inline-flex; }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .contact-blade__label { font-size: 1.28rem; }
  .shared-finale-page .hero-start:not(.is-return).is-open .hero-start__panel {
    top: 4.45rem;
    max-height: calc(var(--mobile-contact-open-height) - 4.95rem);
  }
  .shared-finale-page .hero-start:not(.is-return).is-ai-active .desktop-contact,
  .shared-finale-page .hero-start:not(.is-return).is-ai-active .hero-start__panel-mobile { display: none; }
  .shared-finale-page .hero-start:not(.is-return).is-ai-active .contact-ai-panel {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: clamp(1.3rem, 5vw, 2.3rem);
    border: 1px solid #c5dac533;
    background: radial-gradient(circle at 18% 80%, #9dbea326, transparent 35%),
      linear-gradient(125deg, #233f30, #14271d 72%);
    color: #f0f5ee;
  }
  .contact-ai-panel__eyebrow,
  .contact-ai-panel__index {
    display: block;
    color: #aacbb2;
    font: 600 .65rem/1.5 "DM Sans", system-ui, sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .contact-ai-panel h2 {
    margin: .9rem 0 1.2rem;
    font: 400 clamp(2.25rem, 9vw, 3.5rem)/1.08 "Poiret One", "Century Gothic", sans-serif;
    letter-spacing: -.035em;
  }
  .contact-ai-panel h2 em { color: #a8c7b6; font-style: normal; }
  .contact-ai-panel p { margin: 0; color: #cfddd0; font: 400 .85rem/1.65 "DM Sans", system-ui, sans-serif; }
  .contact-ai-panel__details { margin-top: 1.5rem; padding-top: 1.35rem; border-top: 1px solid #c5dac540; }
  .contact-ai-panel__details p { margin-top: 1rem; }
  .contact-ai-panel__signature {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin-top: 1.6rem;
    padding-top: 1rem;
    border-top: 1px solid #c5dac540;
    color: #a8c7b6;
    font: 500 .65rem/1.4 "DM Sans", system-ui, sans-serif;
  }
  .contact-ai-panel__signature span:last-child { color: #91aa95; }
  /* The compact green menu circle has no hamburger or fade-in. */
  .shared-finale-page .main-nav.is-scrolled:not(.is-menu-open) .menu-button {
    --menu-circle-size: clamp(7.5rem, 32vw, 9.5rem);
    top: calc(env(safe-area-inset-top) + var(--menu-circle-top) + .5rem);
  }
  .shared-finale-page .main-nav:is(.is-scrolled, .is-nav-morphing):not(.is-menu-open):not(.is-detail-navigation) .menu-button span {
    display: none;
    animation: none;
    transition: none;
  }
  .static-mobile-menu {
    justify-content: center;
    padding-top: clamp(6rem, 14svh, 8rem);
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
  .static-mobile-menu > a:not(.nav-cta) {
    width: min(100%, 32rem);
    min-height: clamp(3.2rem, 8svh, 4.2rem);
    align-self: center;
    font-size: clamp(1.65rem, 6.2vw, 2.5rem);
    font-weight: 300;
    color: #fff;
  }
  .static-mobile-menu > a:not(.nav-cta)::before { color: #e2f0e1a8; }
  .static-mobile-menu > .nav-customer-login {
    width: min(100%, 32rem);
    min-height: 3.5rem;
    align-self: center;
    margin-top: 2rem;
    border-color: #f5fff6b8;
    background: #1d4831a3;
    color: #fff;
    font-size: .9rem;
  }
  .static-mobile-menu > .nav-customer-login:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  /* A thin offset orbit stays around the green menu circle in every state. */
  .shared-finale-page .main-nav .menu-button {
    outline: 1px solid #639276;
    outline-offset: 7px;
  }
  .shared-finale-page .main-nav.is-menu-open .menu-button {
    outline-color: #b9d6c0;
  }
}
/* An open drawer has one visible tab, like the selected tab of a folder. */
.shared-finale-page .hero-start:not(.is-return).is-open:not(.is-ai-active) .contact-ai-tab,
.shared-finale-page .hero-start:not(.is-return).is-open.is-ai-active .hero-start__toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 900px) and (max-height: 660px) {
  .static-mobile-menu { padding-top: max(6rem, 16svh); }
  .static-mobile-menu > a:not(.nav-cta) {
    min-height: clamp(2.65rem, 7svh, 3.2rem);
    font-size: clamp(1.35rem, 5.2vw, 1.75rem);
  }
  .static-mobile-menu > .nav-customer-login { min-height: 3rem; margin-top: 1.25rem; font-size: .82rem; }
}
@media (max-width: 900px) and (max-height: 600px) and (orientation: landscape) {
  .static-mobile-menu { padding-top: max(3.5rem, env(safe-area-inset-top)); }
  .static-mobile-menu > a:not(.nav-cta) { min-height: 2.1rem; font-size: clamp(1rem, 4svh, 1.25rem); }
  .static-mobile-menu > .nav-customer-login { min-height: 2.4rem; margin-top: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .shared-finale-page .hero-start:not(.is-return) .contact-ai-tab,
  .shared-finale-page .hero-start:not(.is-return) .hero-start__toggle { transition: none; animation: none; }
}

/* One stepped dock joins the two tabs to the contact card. The contact tab
   shares the card's green; the AI tab uses the lighter green in its inner box. */
.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) {
  height: 5px;
  background: #78a18c;
  box-shadow: none;
}
.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer)::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: auto;
  right: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.25rem;
  border-radius: 0;
  background: #1d3028;
  clip-path: polygon(0 70%, 8% 70%, 10% 45%, 28% 45%, 31% 22%,
    47% 22%, 50% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
/* A quiet five-pixel edge stays continuous in front of the stepped surfaces. */
.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer)::after {
  content: "";
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: #78a18c;
  box-shadow: none;
  pointer-events: none;
}
.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .hero-start__toggle {
  background: #294b38;
  color: #e9f1e9;
  box-shadow: none;
  filter: none;
  transition: filter .2s ease;
}
.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .contact-ai-tab {
  background: #233f30;
  color: #e9f1e9;
  box-shadow: none;
  transform: none;
  transition: filter .2s ease;
}
.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) :is(.contact-ai-tab, .hero-start__toggle):hover {
  filter: brightness(1.13);
}
.shared-finale-page .hero-start:not(.is-return) :is(.contact-ai-tab, .hero-start__toggle):focus-visible {
  outline: 2px solid #e5f2e9;
  outline-offset: -3px;
  box-shadow: none;
}
.shared-finale-page .hero-start:not(.is-return) .contact-blade__label {
  letter-spacing: .075em;
}
.shared-finale-page .hero-start:not(.is-return) .contact-ai-tab {
  font-weight: 600;
  letter-spacing: .035em;
}
/* The open card itself has a stepped silhouette, rising into the active tab. */
.shared-finale-page .hero-start:not(.is-return).is-open {
  border: 0;
  background: #1d3028;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  clip-path: polygon(0 1.5rem, 7% 1.5rem, 9% 1.05rem, 26% 1.05rem,
    29% 1.7rem, 46% 1.7rem, 49% .75rem, 63% .75rem,
    66% 1.2rem, 77% 1.2rem, 81% 0, 100% 0, 100% 100%, 0 100%);
}
.shared-finale-page .hero-start:not(.is-return).is-open:not(.is-ai-active) .hero-start__toggle {
  background: #294b38;
  color: #e9f1e9;
  clip-path: polygon(0 100%, 13% 0, 100% 0, 100% 100%);
}
.shared-finale-page .hero-start:not(.is-return).is-open.is-ai-active .contact-ai-tab {
  background: #233f30;
  color: #e9f1e9;
  clip-path: polygon(0 100%, 13% 0, 100% 0, 100% 100%);
}
@media (min-width: 901px) {
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .hero-start__toggle {
    width: 34vw;
    clip-path: polygon(0 100%, 11% 34%, 18% 34%, 22% 0, 100% 0, 100% 100%);
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .contact-ai-tab {
    right: 31vw;
    width: 22vw;
    clip-path: polygon(0 46%, 8% 46%, 12% 0, 89% 0, 100% 100%, 0 100%);
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .hero-start__toggle,
  .shared-finale-page .hero-start:not(.is-return).is-open .hero-start__toggle { height: 2.8rem; }
  .shared-finale-page .hero-start:not(.is-return) .contact-ai-tab,
  .shared-finale-page .hero-start:not(.is-return).is-open .contact-ai-tab,
  .shared-finale-page .hero-start:not(.is-return).is-ai-active .contact-ai-tab { height: 2.25rem; }
  .shared-finale-page .hero-start:not(.is-return).is-open .hero-start__panel {
    top: 3.45rem;
    max-height: calc(90svh - 4.3rem);
  }
}
@media (max-width: 900px) {
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer)::before {
    width: 100%;
    height: 1.4rem;
    clip-path: none;
  }
  .shared-finale-page .hero-start:not(.is-return).is-open {
    clip-path: polygon(0 1.35rem, 8% 1.35rem, 12% .75rem, 25% .75rem,
      29% 1.15rem, 37% 1.15rem, 48% 0, 100% 0, 100% 100%, 0 100%);
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .hero-start__toggle {
    width: 59vw;
    height: 2.75rem;
    background: transparent;
    clip-path: none;
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .hero-start__toggle::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2.55rem;
    background: #294b38;
    clip-path: polygon(0 100%, 12% 35%, 24% 35%, 28% 0, 100% 0, 100% 100%);
    pointer-events: none;
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .contact-blade__label {
    position: relative;
    z-index: 1;
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .contact-ai-tab {
    right: auto;
    left: 0;
    width: calc(41vw + .25rem);
    height: 2.75rem;
    min-height: 2.75rem;
    align-items: flex-end;
    padding: 0 .6rem .5rem .2rem;
    background: transparent;
    clip-path: none;
    font-size: clamp(.8rem, 3.3vw, .9rem);
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .contact-ai-tab::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1.85rem;
    background: #233f30;
    clip-path: polygon(0 32%, 10% 32%, 14% 0, 88% 0, 100% 100%, 0 100%);
    pointer-events: none;
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .contact-ai-tab__text {
    position: relative;
    z-index: 1;
  }
  .shared-finale-page .hero-start:not(.is-return).is-open .hero-start__panel {
    top: 3.85rem;
    max-height: calc(var(--mobile-contact-open-height) - 4.35rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .hero-start__toggle,
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .contact-ai-tab { transition: none; }
}


/* Mobile: the white brand balloon opens its own radial information surface. */
@media (max-width: 900px) {
  .shared-finale-page .static-mobile-ai {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: block;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: max(10.5rem, calc(env(safe-area-inset-top) + 9.25rem)) max(1.35rem, env(safe-area-inset-right)) max(2.5rem, env(safe-area-inset-bottom)) max(1.35rem, env(safe-area-inset-left));
    overscroll-behavior: contain;
    background: radial-gradient(circle at 8% 4%, #ffffff 0, #f9f8f6 35%, #e8eee8 100%);
    color: #1b2821;
    clip-path: circle(0 at 22% 0);
    visibility: hidden;
    pointer-events: none;
    transition: clip-path .62s cubic-bezier(.72, 0, .18, 1), visibility 0s linear .62s;
  }
  .shared-finale-page .static-mobile-ai.is-visible {
    clip-path: circle(150vmax at 22% 0);
    visibility: visible;
    pointer-events: auto;
    transition: clip-path .62s cubic-bezier(.72, 0, .18, 1), visibility 0s;
  }
  .shared-finale-page .static-mobile-ai.is-closing {
    transition: clip-path .52s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .52s;
  }
  .static-mobile-ai__content { width: min(100%, 37rem); margin: auto; padding-bottom: 2rem; }
  .static-mobile-ai__eyebrow,
  .static-mobile-ai__index { color: #4f7862; font: 600 .68rem/1.5 "DM Sans", system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
  .static-mobile-ai h2 { margin: 1.2rem 0 1.3rem; font: 400 clamp(3rem, 13vw, 5.25rem)/1.03 "Poiret One", "Century Gothic", sans-serif; letter-spacing: -.045em; }
  .static-mobile-ai h2 em { color: #628b71; font-style: normal; }
  .static-mobile-ai__lead { margin: 0 0 2rem; max-width: 32rem; font: 400 clamp(1rem, 3.6vw, 1.16rem)/1.65 "DM Sans", system-ui, sans-serif; }
  .static-mobile-ai__details { padding: 1.4rem 0 0; border-top: 1px solid #7da38c; }
  .static-mobile-ai__details p { margin: 1.15rem 0 0; color: #3c4c42; font: 400 .9rem/1.7 "DM Sans", system-ui, sans-serif; }
  .static-mobile-ai__signature { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #a5b9ab; color: #537760; font: 500 .68rem/1.4 "DM Sans", system-ui, sans-serif; }
  .shared-finale-page .main-nav.is-ai-open .nav-inner > a { background: #f9f8f6; }
  .shared-finale-page .main-nav.is-ai-open .nav-logo-display .site-logo__name { color: #171717; }
  .shared-finale-page .main-nav.is-ai-open .nav-inner > a:focus-visible { outline: 2px solid #4d8060; outline-offset: -9px; }
  .shared-finale-page .hero-start:not(.is-return) .contact-ai-tab { display: none !important; }
  body.mobile-ai-open .hero-start:not(.is-return) { opacity: 0; visibility: hidden; pointer-events: none; }

  /* The only lower trigger is a long, scroll-responsive balloon. */
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) {
    z-index: 245;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    clip-path: none;
    filter: none;
    transform: none;
    transition: none !important;
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open)::before { content: none; }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open)::after { content: none; }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .hero-start__toggle {
    position: absolute;
    z-index: 7;
    inset: auto auto calc(.75rem + env(safe-area-inset-bottom)) 50%;
    display: grid;
    width: clamp(13rem, calc(56vw + var(--contact-scroll-progress, 0) * 22vw), 26rem);
    height: calc(3.15rem - var(--contact-scroll-progress, 0) * .75rem);
    min-height: 2.4rem;
    padding: 0 1rem .15rem;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(110, 163, 124, .62), rgba(37, 88, 57, .7));
    color: #e9f1e9;
    box-shadow: 0 .55rem 1.5rem rgba(8, 29, 17, .28), inset 0 0 1rem rgba(232, 255, 236, .12);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    backdrop-filter: blur(18px) saturate(1.25);
    clip-path: none;
    cursor: pointer;
    touch-action: manipulation;
    transform: translateX(-50%);
    transition: width .42s cubic-bezier(.22,1,.36,1), height .42s cubic-bezier(.22,1,.36,1), background-color .3s ease;
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .hero-start__toggle::before { content: none; }
  .shared-finale-page .hero-start:not(.is-return).is-open:not(.is-ai-active) .hero-start__toggle {
    clip-path: none;
  }
  .shared-finale-page .hero-start:not(.is-return) .hero-start__toggle::after { content: none; }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .contact-blade__label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    font-size: calc(1.14rem - var(--contact-scroll-progress, 0) * .08rem);
    letter-spacing: calc(.075em + var(--contact-scroll-progress, 0) * .095em);
  }
  .shared-finale-page .hero-start:not(.is-return).is-open .hero-start__panel,
  .shared-finale-page .hero-start:not(.is-return):not(.is-open) .hero-start__panel {
    position: fixed;
    z-index: 5;
    inset: 0;
    display: block;
    width: 100vw;
    height: 100dvh;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    padding: max(2rem, env(safe-area-inset-top)) max(1rem, calc((100vw - 38rem) / 2)) calc(6rem + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
    background: radial-gradient(circle at 70% 90%, #375844 0, #1d3028 48%, #16271e 100%);
    color: #fff;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    clip-path: circle(0 at 50% 100%);
    transform: none;
    transition: clip-path .58s cubic-bezier(.4,0,.2,1), visibility 0s linear .58s;
  }
  .shared-finale-page .hero-start:not(.is-return).is-open .hero-start__panel {
    pointer-events: auto;
    clip-path: circle(150vmax at 50% 100%);
    transition: clip-path .68s cubic-bezier(.72,0,.18,1), visibility 0s;
  }
  .shared-finale-page .hero-start:not(.is-return) .hero-start__panel .hero-start__panel-mobile { display: none; }
  .shared-finale-page .hero-start:not(.is-return).is-open .desktop-contact { display: grid; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .shared-finale-page .static-mobile-ai,
  .shared-finale-page .hero-start:not(.is-return) .hero-start__panel { transition: none !important; }
}

/* Desktop: two separate actions replace the overlapping stepped dock. */
@media (min-width: 901px) {
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) {
    height: 0;
    background: transparent;
    box-shadow: none;
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer)::before,
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer)::after {
    content: none;
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .hero-start__toggle,
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .contact-ai-tab {
    position: absolute;
    top: auto;
    bottom: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    padding: 0 1rem;
    border: 1px solid #d8e5da70;
    border-radius: .8rem;
    box-shadow: 0 .35rem 1.5rem #142b2033;
    clip-path: none;
    transform: none;
    transition: background-color .2s ease, transform .2s ease;
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .hero-start__toggle {
    right: 1.25rem;
    left: auto;
    width: 11.5rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(110, 163, 124, .62), rgba(37, 88, 57, .7));
    color: #fff;
    box-shadow: 0 .55rem 1.5rem rgba(8, 29, 17, .28), inset 0 0 1rem rgba(232, 255, 236, .12);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    backdrop-filter: blur(18px) saturate(1.25);
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .contact-ai-tab {
    right: 13.5rem;
    left: auto;
    width: 11rem;
    background: #e1ebe2;
    color: #244432;
    font-size: .78rem;
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) :is(.hero-start__toggle, .contact-ai-tab):hover {
    transform: translateY(-2px);
  }
  .shared-finale-page .hero-start:not(.is-return).is-open { clip-path: none; }
}

/* A compact edge handle keeps the contact entry in one predictable place. */
.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .hero-start__toggle {
  position: fixed;
  z-index: 7;
  inset: auto 0 calc(1rem + env(safe-area-inset-bottom)) auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9.25rem;
  height: 3rem;
  min-height: 3rem;
  padding: 0 1rem 0 1.25rem;
  border: 1px solid #c9e5d34d;
  border-right: 0;
  border-radius: 1.5rem 0 0 1.5rem;
  background: linear-gradient(120deg, #527b60ed, #244c35f5);
  color: #f0f6ef;
  box-shadow: 0 4px 20px #071b1433, inset 0 1px #e4f6e51f;
  clip-path: none;
  transform: none;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .contact-blade__label {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: 0;
  letter-spacing: 0;
}
.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .contact-blade__label::before {
  content: "Kontakt";
  font: 500 .95rem/1 "DM Sans", sans-serif;
  text-transform: none;
  letter-spacing: .025em;
}
.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .contact-blade__label::after {
  content: "";
  display: block;
  flex: 0 0 1.15rem;
  width: 1.15rem;
  height: 1.15rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M5 5h14v14' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M5 5h14v14' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.shared-finale-page .hero-start:not(.is-return).is-open .contact-blade__label::before { content: "Schließen"; }
.shared-finale-page .hero-start:not(.is-return).is-open .contact-blade__label::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 6 12 12M6 18 18 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 6 12 12M6 18 18 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .hero-start__toggle:hover {
  transform: none;
  box-shadow: 0 4px 24px #071b1455, inset 0 1px #e4f6e540;
}
@media (min-width: 901px) {
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .contact-ai-tab { right: 10rem; }
}

/* Match the care link's light hover treatment. */
.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .hero-start__toggle:hover {
  background: #e1eae0;
  color: #20382a;
  border-color: #355a40;
  box-shadow: none;
  filter: none;
  transform: none;
}

/* Header typography and matching silhouettes for the two lower badges. */
.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .contact-blade__label::before {
  font: 500 .6875rem/1.5 "DM Sans", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}
@media (min-width: 901px) {
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .contact-ai-tab {
    position: fixed;
    inset: auto 10rem calc(1rem + env(safe-area-inset-bottom)) auto;
    width: 6.75rem;
    height: 3rem;
    min-height: 3rem;
    padding: 0 1rem 0 1.25rem;
    border: 1px solid #adc5b3;
    border-radius: 1.5rem 0 0 1.5rem;
    background: #c5d6c8;
    color: #20382a;
    clip-path: none;
    transform: none;
    box-shadow: 0 4px 20px #071b1433, inset 0 1px #e4f6e51f;
    transition: background-color .25s ease, color .25s ease;
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .contact-ai-tab::before { content: none; }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .contact-ai-tab:hover {
    background: #e1eae0;
    filter: none;
    transform: none;
  }
}
.shared-finale-page .hero-start:not(.is-return) .contact-ai-tab__text {
  font: 500 .6875rem/1.5 "DM Sans", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}

/* Overlapping desktop badges: the longer contact handle covers the AI tab edge. */
@media (min-width: 901px) {
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .hero-start__toggle {
    width: 10.5rem;
    background: linear-gradient(120deg, #527b60, #244c35);
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer) .contact-ai-tab {
    right: 9.5rem;
    z-index: 5;
    padding-right: 1.75rem;
  }
  .shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) .hero-start__toggle:hover {
    background: #e1eae0;
  }
}



/* Keep the contact handle out of the open mobile navigation. */
@media (max-width: 900px) {
  body.menu-open.shared-finale-page .hero-start:not(.is-return) .hero-start__toggle {
    display: none;
  }
}

/* One continuous surface grows out of the selected badge. */
body.shared-finale-page .hero-start:not(.is-return).is-open {
  position: fixed; inset: auto 0 0 auto; width: 0; height: 0;
  overflow: visible; background: transparent; border: 0; box-shadow: none;
  transform: none; clip-path: none; z-index: 1200;
}
body.shared-finale-page .hero-start:not(.is-return).is-open > :is(.hero-start__toggle, .contact-ai-tab) {
  visibility: hidden; opacity: 0; pointer-events: none;
}
body.shared-finale-page .hero-start:not(.is-return).is-open .hero-start__panel {
  position: fixed; inset: auto 0 var(--contact-surface-bottom, 1rem) auto;
  display: block; width: min(76rem, 96vw); height: min(52rem, calc(100dvh - 7rem));
  max-height: none; padding: clamp(2rem, 4vw, 4rem); padding-top: 5rem;
  overflow: auto; overscroll-behavior: contain;
  border: 1px solid #c9e5d34d; border-right: 0; border-radius: 2rem 0 0 2rem;
  background: linear-gradient(120deg, #527b60, #244c35);
  color: #f0f6ef; box-shadow: 0 12px 64px #071b1466;
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: none; clip-path: inset(0 round 2rem 0 0 2rem);
  transition: none !important; animation: none;
}
body.shared-finale-page .hero-start:not(.is-return).is-open.is-ai-active .hero-start__panel {
  background: #e1eae0; color: #20382a;
}
.contact-surface-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  padding: .7rem 1.1rem; border: 1px solid currentColor; border-radius: 999px;
  background: transparent; color: inherit; font: 500 .8rem/1.2 "DM Sans", sans-serif;
  cursor: pointer;
}
body.shared-finale-page .hero-start.is-open .desktop-contact {
  display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 4vw, 4rem); width: 100%; padding: 0; margin: 0;
  background: transparent; border: 0; box-shadow: none; align-items: start;
}
body.shared-finale-page .hero-start.is-open .desktop-contact__quick {
  padding: 0; background: transparent; border: 0; box-shadow: none; min-width: 0;
}
body.shared-finale-page .hero-start.is-open .desktop-contact__topic-scroll {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none;
  grid-auto-flow: row; grid-auto-columns: auto; gap: .65rem;
  overflow: visible; max-height: none; height: auto; scroll-snap-type: none;
}
body.shared-finale-page .hero-start.is-open .desktop-contact__topic-scroll label { min-width: 0; }
body.shared-finale-page .hero-start.is-open .desktop-contact__topic-scroll label > span {
  min-height: 6rem; padding: 1rem; border-radius: 1rem;
}
body.shared-finale-page .hero-start.is-open .topic-controls { display: none; }
body.shared-finale-page .hero-start.is-open.is-ai-active .desktop-contact { display: none; }
body.shared-finale-page .hero-start.is-open.is-ai-active .contact-ai-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  width: 100%; min-height: 0; padding: 0; margin: 0;
  border: 0; background: transparent; box-shadow: none; color: inherit;
}
body.shared-finale-page .hero-start.is-ai-active .contact-ai-panel :is(p, h2, em, span) { color: inherit; }
body.shared-finale-page .hero-start.is-ai-active .contact-ai-panel__details { border-color: #20382a33; }
@media (max-width: 900px) {
  body.shared-finale-page .hero-start:not(.is-return).is-open .hero-start__panel {
    inset: auto 0 0 auto; width: 100vw; height: calc(100dvh - env(safe-area-inset-top) - .75rem);
    padding: 5rem 1.25rem max(2rem, env(safe-area-inset-bottom));
  }
  body.shared-finale-page .hero-start.is-open .desktop-contact,
  body.shared-finale-page .hero-start.is-open.is-ai-active .contact-ai-panel { grid-template-columns: 1fr; gap: 2rem; }
  body.shared-finale-page .hero-start.is-open .desktop-contact__topic-scroll { grid-template-columns: 1fr; gap: 0; }
  body.shared-finale-page .hero-start.is-open .desktop-contact__topic-scroll label > span {
    min-height: 4.5rem; border-radius: 0; border-width: 0 0 1px;
    padding: 1rem; box-shadow: none;
  }
  body.shared-finale-page .hero-start.is-open .desktop-contact__message-row { margin-top: 1rem; }
  body.shared-finale-page .hero-start.is-open .desktop-contact__direct { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.shared-finale-page .hero-start.is-open .hero-start__panel { animation: none; }
}

body.shared-finale-page .hero-start .hero-start__panel .contact-surface-close::after { content: none; }
body.shared-finale-page .hero-start .hero-start__panel .contact-surface-close { min-height: 2.75rem; }

body.shared-finale-page .hero-start.is-ai-active .hero-start__panel .contact-surface-close,
body.shared-finale-page .hero-start.is-ai-active .contact-ai-panel__signature span { color: #20382a; }

/* The morph owns closing; the old drawer and badge entrance must not replay. */
body.shared-finale-page .hero-start:not(.is-return):not(.is-open) .hero-start__panel {
  display: none; transition: none !important; animation: none !important;
}
body.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-surface-settling) > :is(.hero-start__toggle, .contact-ai-tab) {
  transition: none !important; animation: none !important;
}
body.shared-finale-page .hero-start:not(.is-return).is-surface-settling {
  transition: none !important; animation: none !important;
}

/* Badges stay painted beneath the morph: closing never mounts them again. */
body.shared-finale-page .hero-start:not(.is-return).is-open > :is(.hero-start__toggle, .contact-ai-tab) {
  opacity: 1; visibility: visible; pointer-events: none; z-index: 4;
  transition: none !important; animation: none !important;
}
body.shared-finale-page .hero-start:not(.is-return).is-open .hero-start__panel { z-index: 8; }
@media (min-width: 901px) {
  body.shared-finale-page .hero-start:not(.is-return).is-open > .contact-ai-tab {
    position: fixed; inset: auto 9.5rem calc(1rem + env(safe-area-inset-bottom)) auto;
    width: 6.75rem; height: 3rem; min-height: 3rem;
    padding: 0 1.75rem 0 1.25rem; border: 1px solid #adc5b3;
    border-radius: 1.5rem 0 0 1.5rem; background: #c5d6c8; color: #20382a;
    clip-path: none; transform: none;
  }
  body.shared-finale-page .hero-start:not(.is-return).is-open > .hero-start__toggle { z-index: 5; }
}
body.shared-finale-page .hero-start:not(.is-return).is-open .hero-start__panel { z-index: 8; }

body.shared-finale-page .hero-start:not(.is-return).is-open > .hero-start__toggle .contact-blade__label::before { content: "Kontakt"; }
body.shared-finale-page .hero-start:not(.is-return).is-open > .hero-start__toggle .contact-blade__label::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M5 5h14v14' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M5 5h14v14' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Override the legacy active/inactive tab rules while the surface covers the dock. */
body.shared-finale-page .hero-start:not(.is-return).is-open > :is(.hero-start__toggle, .contact-ai-tab) {
  opacity: 1 !important; visibility: visible !important;
  clip-path: none !important; transform: none !important;
}
@media (min-width: 901px) {
  body.shared-finale-page .hero-start:not(.is-return).is-open > .contact-ai-tab {
    background: #e1eae0 !important; color: #20382a !important;
    border-radius: 1.5rem 0 0 1.5rem !important;
  }
}

/* Both badges use one sequence: empty surface first, then fixed content segments. */
body.shared-finale-page .hero-start:not(.is-return).is-open .hero-start__panel {
  clip-path: none !important;
}
body.shared-finale-page .hero-start:not(.is-return).is-open:not(.is-content-ready) .hero-start__panel {
  overflow: hidden;
}
body.shared-finale-page .hero-start:not(.is-return).is-open:not(.is-content-ready) .hero-start__panel > * {
  visibility: hidden;
  pointer-events: none;
}
body.shared-finale-page .hero-start .hero-start__panel [data-contact-segment] {
  opacity: 0;
}
body.shared-finale-page .hero-start.is-content-ready .hero-start__panel [data-contact-segment] {
  opacity: 1;
}
/* Keep the contact colour stable on hover; no flash, brightness pulse or shadow change. */
body.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) > .hero-start__toggle,
body.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) > .hero-start__toggle:hover {
  background: linear-gradient(120deg, #527b60, #244c35);
  color: #f0f6ef;
  border-color: #c9e5d34d;
  box-shadow: 0 4px 20px #071b1433, inset 0 1px #e4f6e51f;
  filter: none;
  transform: none;
}
body.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) > .contact-ai-tab,
body.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open) > .contact-ai-tab:hover {
  background: #e1eae0;
  color: #20382a;
  filter: none;
}
body.shared-finale-page .hero-start:not(.is-return) > :is(.hero-start__toggle, .contact-ai-tab):focus-visible {
  outline: 2px solid #b9d6c0;
  outline-offset: -5px;
}

body.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open),
body.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open):hover,
body.shared-finale-page .hero-start:not(.is-return):is(.is-minimized, .is-footer, .is-open):focus-within {
  background: transparent;
}

/* The temporary focus target is the surface, not an outlined control. */
body.shared-finale-page .hero-start:not(.is-return).is-open .hero-start__panel:focus {
  outline: none;
}

/* Contact opens as a floating dialog over the entire blurred page. */
.contact-modal-backdrop {
  position: fixed; inset: 0; z-index: 7;
  background: rgba(8, 20, 14, .32);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.contact-modal-backdrop[hidden] { display: none; }
body.shared-finale-page .hero-start:not(.is-return).is-open.is-contact-modal > :is(.hero-start__toggle, .contact-ai-tab) {
  opacity: 0 !important; visibility: hidden !important; pointer-events: none;
}
body.shared-finale-page .hero-start:not(.is-return).is-open.is-contact-modal .hero-start__panel {
  inset: auto; top: 50%; left: 50%; right: auto; bottom: auto;
  width: min(72rem, calc(100vw - 4rem)); height: auto; min-height: 0;
  max-height: calc(100dvh - 4rem); margin: 0;
  transform: translate(-50%, -50%) !important;
  padding: clamp(1.5rem, 3vw, 3rem); padding-top: 4.75rem;
  border: 1px solid rgba(209, 232, 213, .32); border-radius: 1.5rem;
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, .32);
  overflow: auto; outline: none;
}
body.shared-finale-page .hero-start.is-contact-modal .hero-start__panel [data-contact-segment] {
  opacity: 1; transform: none;
}
@media(max-width: 900px) {
  body.shared-finale-page .hero-start:not(.is-return).is-open.is-contact-modal .hero-start__panel {
    width: calc(100vw - 1.5rem); max-height: calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 4.5rem 1.25rem 1.5rem; border-radius: 1.25rem;
  }
}

/* The close control has its own spacing, independent of contact action buttons. */
body.shared-finale-page .hero-start .hero-start__panel > button.contact-surface-close {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  width: auto; height: auto; min-width: 0; min-height: 2.75rem; max-width: none;
  padding: .7rem 1.25rem;
  border: 1px solid currentColor; border-radius: 999px;
  font: 500 .8rem/1.25 "DM Sans", sans-serif;
  letter-spacing: .015em; text-transform: none; white-space: nowrap;
}
body.shared-finale-page .hero-start .hero-start__panel > button.contact-surface-close:focus-visible {
  outline: 2px solid #b9d6c0; outline-offset: 3px;
}
body.shared-finale-page .hero-start .hero-start__panel > button.contact-surface-close:focus:not(:focus-visible) {
  outline: none;
}
