/* Use the opening's ink on each word, including when the contact form is
   embedded on a customer presentation without the homepage stylesheet. */
:root {
  --st-word-ink: linear-gradient(110deg, #03c581, #00b4ed, #4387ff, #00dcba, #03c581);
}
html body .cinematic-hero .keynote-title:not(.st-promotion-native193) .keynote-green > span,
#kontakt .st-contact-copy h2 em > span {
  display: inline-block;
  background-image: var(--st-word-ink);
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: st-promotion-ink192 5s linear infinite;
}
@keyframes st-promotion-ink192 { to { background-position: 300% 50%; } }
#kontakt .st-contact-copy h2 em:has(> span) {
  background: none;
  animation: none;
  font-weight: 680;
  letter-spacing: -.055em;
  -webkit-text-fill-color: currentColor;
}
#kontakt .st-contact-copy h2 em > span {
  filter: drop-shadow(0 3px 12px rgb(15 171 184 / .13));
  animation-play-state: paused;
}
#kontakt .st-contact-copy[data-intake-ink=visible] h2 em > span { animation-play-state: running; }

/* Keep the same animation and its current phase on return to these surfaces. */
body.st-home .cinematic-hero[data-home-ambient-paused327] :is(.keynote-green > span,.hero-copy h1 em .title-word,.st-headline-line.is-accent .st-headline-phrase,.st-promotion-price-new194),
body.st-home :is(.st-home-search-shell,.st-ai-search .st-ai-surface)[data-home-ambient-paused327]::before {
  animation-play-state: paused !important;
}

/* The mobile menu has a glass sibling so its fixed popover stays anchored to
   the viewport. Apply the tint to exactly one surface at each breakpoint. */
.st-home {
  --st-nav-pane: rgb(255 255 255 / .49);
  --st-nav-edge: rgb(32 82 82 / .13);
}
html[data-theme=dark] .st-home,
.st-home .site-header[data-st-dark245]:not([data-st-light245]),
.st-home .st-mobile-header-glass[data-st-dark245]:not([data-st-light245]) {
  --st-nav-pane: rgb(10 19 24 / .47);
  --st-nav-edge: rgb(217 249 247 / .13);
}
html body.st-home .site-header.modern-header,
html body.st-home .st-mobile-header-glass {
  background: var(--st-nav-pane) !important;
  border-bottom-color: var(--st-nav-edge) !important;
  backdrop-filter: blur(14px) saturate(138%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(138%) !important;
}
@media (max-width:959px) {
  html body.st-home .site-header.modern-header.has-st-header-glass {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* The light sweeps behind the original words once and clears before the
   projection onto the phone. Only transform and opacity change per frame. */
@media (prefers-reduced-motion:no-preference) {
  .st-home .cinematic-hero[data-intro=words] .keynote-title:not(.st-promotion-native193)::before {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
    left: 16%;
    right: 16%;
    top: 46%;
    height: 56%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgb(17 222 200 / .26), rgb(53 136 239 / .1) 34%, transparent 69%);
    opacity: 0;
    animation: st-opening-light284 1.9s cubic-bezier(.18,.7,.28,1) both;
  }
}
@keyframes st-opening-light284 {
  0% { opacity: 0; transform: translate3d(-22%,14%,0) scale(.42,.55) rotate(-12deg); }
  53% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(14%,-10%,0) scale(1.3,.82) rotate(-8deg); }
}
html body .cinematic-hero .keynote-title.st-promotion-native193 .st-offer-plan284 {
  font-size: .68em;
  letter-spacing: -.05em;
}
html body .cinematic-hero .keynote-title.st-promotion-native193[data-discount-type194=fixed_price] .st-promotion-price-row194 {
  font-size: 1em;
  flex-wrap: nowrap;
  gap: .24em;
}
html body .cinematic-hero .keynote-title.st-promotion-native193 .st-promotion-price-old194 { font-size: .62em; }

#kontakt .st-intake255 {
  --intake-surface: #fff;
  --intake-input: #f9fafc;
  --intake-text: #192332;
  --intake-muted: #536076;
  --intake-line: #d8dfe9;
  --intake-accent: #3b567d;
  --intake-soft: #edf2f8;
  --intake-glow: #f0f3f8;
  --intake-rail: #eff2f6;
  --intake-cta: #243248;
  --intake-cta-ink: #fff;
  --intake-step: #fff;
  position: relative;
  padding: clamp(22px,3.1vw,48px);
  background: radial-gradient(ellipse at 100% 0, var(--intake-glow), transparent 52%), var(--intake-surface);
  border: 1px solid var(--intake-line);
  border-radius: clamp(22px,2.4vw,34px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .24), 0 22px 65px -32px rgb(25 42 70 / .30);
}
html[data-theme=dark] #kontakt .st-intake255 {
  --intake-surface: #1e2530;
  --intake-input: #171e28;
  --intake-text: #edf2fa;
  --intake-muted: #b2bfd2;
  --intake-line: #3c4758;
  --intake-accent: #b3caea;
  --intake-soft: #2a394e;
  --intake-glow: #293449;
  --intake-rail: #181f2b;
  --intake-cta: #dce8f9;
  --intake-cta-ink: #1a293e;
  --intake-step: #2c3a4e;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 24px 70px -38px #000a;
}
#kontakt .st-intake-steps255 {
  gap: 3px;
  padding: 5px;
  margin: 0 0 clamp(24px,2.6vw,38px);
  border: 1px solid var(--intake-line);
  border-radius: 15px;
  background: var(--intake-rail);
}
#kontakt .st-intake-steps255 button {
  min-height: 41px;
  justify-content: center;
  gap: 7px;
  padding: 6px 3px;
  color: var(--intake-muted);
  border: 1px solid transparent;
  border-radius: 10px;
}
#kontakt .st-intake-steps255 button > span {
  height: auto;
  width: auto;
  background: transparent;
  border: 0;
  color: inherit;
  font: 600 10px/1.2 Manrope, sans-serif;
  font-variant-numeric: tabular-nums;
}
#kontakt .st-intake-steps255 button b { font-size: clamp(11px,.94vw,14px); }
#kontakt .st-intake-steps255 .is-current {
  color: var(--intake-text);
  background: var(--intake-step);
  border-color: var(--intake-line);
  box-shadow: 0 1px 4px rgb(23 48 53 / .1);
}
#kontakt .st-intake-steps255 .is-current > span,
#kontakt .st-intake-steps255 .is-complete { color: var(--intake-accent); }
#kontakt .st-intake255 h3 { font-size: clamp(26px,2.5vw,38px); font-weight: 650; line-height: 1.12; }
#kontakt .st-intake255 .st-intake-intro255 { margin: 9px 0 24px; font-size: 14px; }
#kontakt .st-intake255 .st-intake-label255 { font-size: 13px; font-weight: 700; }
#kontakt .st-intake255 input:not([type=radio]):not([type=checkbox]),
#kontakt .st-intake255 textarea {
  min-height: 54px;
  border-radius: 12px;
  background-color: var(--intake-input);
}
#kontakt .st-intake255 :is(input,textarea):focus-visible { outline: 2px solid var(--intake-accent); outline-offset: 2px; }
#kontakt .st-intake255 [aria-invalid=true] { border-color: #c14f67; }
#kontakt .st-intake-option255 { border-radius: 13px; }
#kontakt .st-intake-option255:has(:checked) { color: var(--intake-accent); }
#kontakt .st-intake255 summary { gap: 8px; justify-content: flex-start; min-height: 48px; }
#kontakt .st-intake255 summary::after { margin-inline-start: auto; }
#kontakt .st-intake255 summary span { color: var(--intake-muted); }
#kontakt .st-intake255 :is(.st-intake-next255,.st-intake-submit255) {
  border: 0;
  border-radius: 14px;
  padding: 10px 13px 10px 20px;
  min-height: 56px;
  background: var(--intake-cta);
  color: var(--intake-cta-ink);
  font-weight: 700;
  font-size: 15px;
}
#kontakt .st-intake255 :is(.st-intake-next255,.st-intake-submit255) svg {
  width: 33px;
  height: 33px;
  padding: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform .2s ease;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  #kontakt .st-intake255 :is(.st-intake-next255,.st-intake-submit255):hover svg { transform: translateX(3px); }
}
@media (max-width:599px) {
  #kontakt .st-intake255 { padding: 21px clamp(15px,4.5vw,24px); }
  #kontakt .st-intake-steps255 button { gap: 4px; }
}
@media (prefers-reduced-motion:reduce) {
  html body .cinematic-hero .keynote-title:not(.st-promotion-native193) .keynote-green > span,
  #kontakt .st-contact-copy h2 em > span { animation: none; }
}
@media (forced-colors:active) {
  #kontakt .st-contact-copy h2 em > span { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
  #kontakt .st-intake-steps255 .is-current { border: 2px solid Highlight; }
  #kontakt .st-intake255 :is(.st-intake-next255,.st-intake-submit255) { border: 1px solid ButtonText; }
}
