/* Short SCHRAEGER demonstration within the established speaking-stage proportions. */
.voice-page--v5 .voice-experience-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 40px;
}
.voice-experience-intro > div { min-width: 0; }
html body.current-native .voice-page--v5 .voice-experience-intro h2 {
  margin: 0 !important;
  max-width: 23ch;
  font-family: var(--font-display, "Instrument Serif", Georgia, serif) !important;
  font-size: clamp(2.25rem, 4vw, 4rem) !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em;
  text-wrap: balance;
}
html body.current-native .voice-page--v5 .voice-experience-intro p {
  margin: 20px 0 0 !important;
  max-width: 40rem;
  color: #4a5e70 !important;
  font-size: 1.0625rem !important;
  line-height: 1.55 !important;
}
.voice-experience-intro > button { flex-shrink: 0; }
.voice-page--v5 .voice-experience-stage {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  padding: 20px clamp(18px, 3vw, 40px) 34px;
  border: 1px solid #b9d0e84d;
  border-radius: 22px;
  color: #edf4fa;
  background: radial-gradient(ellipse at 8% 30%, #50759030, transparent 48%), radial-gradient(ellipse at 95% 78%, #6582991c, transparent 46%), linear-gradient(140deg, #1b3345, #0b1927 76%);
  box-shadow: inset 0 1px #ffffff2a, 0 24px 60px #132d431c;
  transform-origin: 50% 20%;
  transition: opacity .7s ease, transform .9s cubic-bezier(.22,.61,.36,1), clip-path .9s cubic-bezier(.22,.61,.36,1);
  scroll-margin-top: 100px;
}
.voice-experience-stage.is-ready:not(.is-open) { opacity: 0; transform: translateY(22px) scale(.985); clip-path: inset(0 0 10% 0 round 22px); }
.voice-experience-stage.is-open { opacity: 1; transform: none; clip-path: inset(0 round 22px); }
.voice-experience-hub { width: min(100%, 780px); margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.voice-experience-brain { position: relative; flex-shrink: 0; width: clamp(230px, 31svh, 350px); height: clamp(230px, 31svh, 350px); }
.voice-experience-brain canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.voice-experience-halo { position: absolute; inset: 15%; border: 1px solid #bcd9ed26; border-radius: 50%; box-shadow: 0 0 75px #9dc5e612, inset 0 0 38px #bedff00a; }
.voice-experience-speaker { display: block; margin: -7px 0 10px; color: #b5cadc; font: 500 11px/1.4 Inter, Arial, sans-serif; letter-spacing: .16em; }
.voice-experience-conversation { width: 100%; margin-top: 2px; text-align: center; }
.voice-experience-utterance { display: grid; place-items: center; min-height: 160px; height: auto; box-sizing: border-box; padding: 12px 10px; }
html body.current-native .voice-page--v5 .voice-experience-utterance > h3 {
  grid-area: 1 / 1;
  width: min(100%, 23ch);
  max-width: 100%;
  min-width: 0;
  margin: 0 !important;
  color: #f2f6fb !important;
  font-family: var(--font-display, "Instrument Serif", Georgia, serif) !important;
  font-size: clamp(31px, 3.1vw, 49px) !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.1 !important;
  letter-spacing: -.038em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.voice-experience-ghost { visibility: hidden; pointer-events: none; }
.voice-experience-word { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.voice-experience-glyph { opacity: 0; transition: opacity .12s ease; }
.voice-experience-glyph.is-written { opacity: 1; }
.voice-experience-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: min(100%, 660px); min-height: 130px; margin: 14px auto 0; }
.voice-experience-choices[data-count='3'] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.voice-experience-choices button {
  box-sizing: border-box;
  position: relative;
  min-width: 0;
  min-height: 72px;
  padding: 19px 20px;
  border: 1px solid #c1d6e633;
  border-radius: 13px;
  color: #edf5fa;
  background: linear-gradient(120deg, #ffffff0b, #ffffff03);
  font: 400 17px/1.3 Inter, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .4s ease, transform .4s ease, background .25s, border-color .25s;
}
.voice-experience-choices.is-ready button { opacity: 1; transform: none; }
.voice-experience-choices.is-ready button:nth-child(2) { transition-delay: 55ms; }
.voice-experience-choices.is-ready button:nth-child(3) { transition-delay: 110ms; }
.voice-experience-choices button:disabled { pointer-events: none; }
.voice-experience-choices button:hover { background: #c5e1f017; border-color: #c5e1f083; }
.voice-experience-choices button:focus-visible, .voice-experience-navigation button:focus-visible, .voice-experience-sound:focus-visible { outline: 2px solid #c3deef; outline-offset: 4px; }
.voice-experience-navigation { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; width: min(100%, 660px); min-height: 36px; margin: 23px auto 0; }
.voice-experience-navigation button { width: fit-content; min-height: 44px; padding: 7px 0; border: 0; background: none; color: #c4d6e3; font: 400 12px/1.4 Inter, Arial, sans-serif; cursor: pointer; }
.voice-experience-navigation button:last-child { justify-self: end; }
.voice-experience-navigation button:disabled { opacity: .3; cursor: default; }
.voice-experience-navigation > span { color: #9eb5c8; font: 400 12px/1.4 Inter, Arial, sans-serif; font-variant-numeric: tabular-nums; }
.voice-experience-sound { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; margin: 4px auto 0; padding: 7px 12px; border: 0; border-radius: 8px; color: #bed2e1; background: transparent; font: 400 13px/1.4 Inter, Arial, sans-serif; cursor: pointer; }
.voice-experience-bars { display: flex; align-items: center; gap: 3px; height: 16px; }
.voice-experience-bars i { width: 2px; height: 4px; border-radius: 2px; background: #c5dfef; }
.voice-experience-bars i:nth-child(2) { height: 13px; }
.voice-experience-bars i:nth-child(3) { height: 9px; }
.voice-experience-bars i:nth-child(4) { height: 6px; }
.voice-experience-stage.is-speaking .voice-experience-bars i { animation: voice-experience-equalize .65s ease-in-out infinite alternate; }
.voice-experience-stage.is-speaking .voice-experience-bars i:nth-child(2n) { animation-delay: -.3s; }
.voice-page--v5 .voice-experience-inquiry {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: min(100%, 660px);
  margin: 24px auto 0;
  padding: clamp(22px, 3vw, 32px);
  text-align: left;
  color: #edf5fa;
  background: linear-gradient(135deg, #294454ab, #142b3bbf);
  border-color: #c9deec42;
  border-radius: 18px;
}
.voice-experience-inquiry > h3, .voice-experience-inquiry > p, .voice-experience-inquiry > button { grid-column: 1 / -1; }
html body.current-native .voice-page--v5 .voice-experience-inquiry > h3 { margin: 0 !important; color: #f1f6fa !important; font-size: clamp(24px, 2.3vw, 32px) !important; }
html body.current-native .voice-page--v5 .voice-experience-inquiry > p { margin: 0 !important; color: #c8d9e5 !important; font-size: 15px !important; line-height: 1.5 !important; }
.voice-experience-inquiry label { color: #d0e0eb; }
.voice-experience-inquiry .voice-action { width: 100%; color: #172b43; border-color: #f6faff; background: linear-gradient(135deg, #f6faff, #dce8f1); }
.voice-experience-inquiry .voice-action:hover { background: #fff; }
.voice-experience-inquiry .voice-inquiry-status:empty { display: none; }
.voice-experience-stage [hidden] { display: none !important; }
@keyframes voice-experience-equalize { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
@media (max-width: 760px) {
  .voice-page--v5 .voice-experience-intro { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 30px; }
  .voice-experience-stage { padding-inline: 16px; }
  .voice-experience-choices[data-count='3'] { grid-template-columns: minmax(0, 1fr); }
  .voice-experience-choices button { min-height: 60px; padding: 16px 18px; font-size: 16px; }
  .voice-page--v5 .voice-experience-inquiry { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .voice-experience-stage, .voice-experience-glyph, .voice-experience-choices button { transition: none !important; }
  .voice-experience-stage.is-ready:not(.is-open) { opacity: 1; transform: none; clip-path: none; }
  .voice-experience-stage .voice-experience-bars i { animation: none !important; }
}

/* Fixed dialogue fields: state changes replace content, never the frame geometry. */
.voice-experience-utterance {
  position: relative;
  height: var(--voice-question-height, 340px);
  min-height: var(--voice-question-height, 340px);
  max-height: var(--voice-question-height, 340px);
  align-content: center;
  align-items: center;
}
html body.current-native .voice-page--v5 .voice-experience-utterance > .voice-experience-ghost {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 20px), 23ch);
}
.voice-experience-answer-region {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  width: min(100%, 660px);
  height: var(--voice-answer-height, 130px);
  margin: 14px auto 0;
}
.voice-experience-answer-region > .voice-experience-choices,
.voice-page--v5 .voice-experience-answer-region > .voice-experience-inquiry { grid-area: 1 / 1; margin: 0; }
.voice-experience-choices.is-reserved { visibility: hidden; pointer-events: none; }
.voice-page--v5 .voice-experience-inquiry { visibility: hidden; opacity: 0; pointer-events: none; gap: 12px; padding: 22px; }
.voice-page--v5 .voice-experience-stage.is-result-ready .voice-experience-inquiry { visibility: visible; opacity: 1; pointer-events: auto; }
html body.current-native .voice-page--v5 .voice-experience-inquiry > h3 { font-size: 24px !important; line-height: 1.2 !important; }
html body.current-native .voice-page--v5 .voice-experience-inquiry > p { font-size: 14px !important; line-height: 1.45 !important; }
.voice-experience-inquiry .voice-inquiry-field { gap: 6px; }
.voice-page--v5 .voice-experience-inquiry .voice-inquiry-status { display: block !important; min-height: 21px; }
.voice-experience-choice-reserve { position: absolute; inset: 0 0 auto; visibility: hidden; pointer-events: none; }

.voice-experience-answer-region > .voice-experience-choices:not(.voice-experience-choice-reserve) {
  height: var(--voice-choice-height, 130px);
  grid-auto-rows: 1fr;
}

/* Keep the spoken sentence and replies together in the established glass card. */
.voice-page--v5 .voice-experience-conversation {
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid #c1d6e633;
  border-radius: 18px;
  background: linear-gradient(135deg, #c7deef12, #ffffff04);
  box-shadow: inset 0 1px #ffffff1c;
}
html body.current-native .voice-page--v5 .voice-experience-utterance > .voice-experience-ghost--recommendation,
html body.current-native .voice-page--v5 .voice-experience-stage.is-recommendation .voice-experience-utterance > h3:not(.voice-experience-ghost) {
  width: min(100%, 40ch);
  font-size: clamp(24px, 2.5vw, 32px) !important;
  line-height: 1.3 !important;
  letter-spacing: -.025em;
}
html body.current-native .voice-page--v5 .voice-experience-utterance > .voice-experience-ghost--recommendation {
  width: min(calc(100% - 20px), 40ch);
}
.voice-page--v5 .voice-experience-hub > .voice-experience-inquiry {
  display: none;
  margin: 24px auto 0;
}
.voice-page--v5 .voice-experience-stage.is-result-ready .voice-experience-hub > .voice-experience-inquiry {
  display: grid;
}
@media (max-width: 760px) {
  .voice-page--v5 .voice-experience-conversation { padding: 16px; }
}

/* The whole dialogue tile stays the same size throughout a conversation. */
.voice-page--v5 .voice-experience-conversation {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: var(--voice-dialogue-height, auto);
  min-height: var(--voice-dialogue-height, 0px);
  max-height: var(--voice-dialogue-height, none);
}
.voice-experience-conversation > :is(.voice-experience-utterance, .voice-experience-answer-region, .voice-experience-navigation, .voice-experience-sound) {
  flex-shrink: 0;
}
.voice-experience-conversation > .voice-experience-utterance { width: 100%; }
.voice-experience-choice-reserve { grid-auto-rows: 1fr; }

.voice-experience-prototype {
  grid-area: 1 / 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 10px;
}
.voice-experience-prototype > span { color: #c9dce9; font: 500 1rem/1.4 Inter, Arial, sans-serif; }
.voice-expansion-step[id] { scroll-margin-top: 110px; }
@media (max-width: 760px) {
  .voice-experience-choices[data-count='4'] { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  html body.current-native .current-layout.voice-page--v5 { padding: 0 !important; }
  html body.current-native .voice-page--v5 .voice-band { padding-inline: 16px; }
  html body.current-native .voice-page--v5 .voice-experience-stage { padding-inline: 12px; }
  .voice-page--v5 .voice-experience-conversation { padding: 12px; }
  .voice-page--v5 .voice-experience-choices button { padding: 14px 16px; }
}

.voice-inquiry-captcha { grid-column: 1 / -1; min-width: 0; width: 100%; }
html body.current-native .voice-page--v5 .voice-inquiry-captcha > p { font: 400 .8125rem/1.5 Inter, Arial, sans-serif !important; color: inherit !important; margin: 10px 0 0 !important; }
.voice-inquiry-captcha a { color: inherit; text-decoration: underline; }

/* The prototype form replaces the answers inside the same fixed dialogue tile. */
.voice-page--v5 .voice-experience-answer-region > .voice-experience-inquiry {
  box-sizing: border-box;
  width: 100%;
  align-self: center;
  margin: 0;
  padding: 18px;
  min-width: 0;
}
.voice-experience-answer-region > .voice-experience-inquiry .voice-inquiry-field { min-width: 0; }
.voice-experience-answer-region > .voice-experience-inquiry input { box-sizing: border-box; width: 100%; min-width: 0; }
@media (max-width: 480px) {
  .voice-page--v5 .voice-experience-answer-region > .voice-experience-inquiry { padding: 12px; }
  .voice-experience-answer-region > .voice-experience-inquiry .voice-action { padding-inline: 12px; font-size: 15px; white-space: normal; }
}

html body.current-native .voice-page--v5 .voice-experience-inquiry > .voice-preview-note {
  margin: 0 !important;
  font-size: .8125rem !important;
  line-height: 1.4 !important;
  text-align: center;
}

/* Same centered entry composition as the confirmed prototype start screen. */
.voice-experience-start[hidden] { display:none!important; }
.voice-experience-start {
 position:absolute; inset:0; z-index:6; box-sizing:border-box;
 display:flex; align-items:center; justify-content:center; padding:32px;
 border-radius:inherit;
 background:linear-gradient(140deg,#183245b8,#0b1927d1);
}
.voice-experience-start-content {
 display:flex; flex-direction:column; align-items:center; text-align:center;
 width:min(100%,600px); margin:auto;
}
.voice-start-company { margin-bottom:30px; color:#c7dce9; font:500 12px/1.4 Inter,Arial,sans-serif; letter-spacing:.18em; }
html body.current-native #inhalt #voice-experience-stage .voice-start-title {
 margin:0!important; color:#f2f6fa!important;
 font:450 clamp(36px,5vw,66px)/1.02 Inter,Arial,sans-serif!important;
 letter-spacing:-.04em; text-wrap:balance;
}
html body.current-native #inhalt #voice-experience-stage .voice-start-description {
 max-width:30ch; margin:24px 0 30px!important; color:#bed0df!important;
 font:400 16px/1.5 Inter,Arial,sans-serif!important;
}
.voice-experience-start-actions {
 display:flex; flex-direction:column; align-items:stretch; gap:10px;
 width:min(100%,290px); margin-top:30px;
}
html body.current-native #inhalt #voice-experience-stage .voice-experience-start-actions button {
 position:relative; isolation:isolate; overflow:hidden; box-sizing:border-box;
 display:flex; align-items:center; justify-content:center; width:100%; margin:0; padding:14px 20px;
 border:1px solid transparent; border-radius:10px; cursor:pointer;
 font:500 16px/1.25 Inter,Arial,sans-serif!important; white-space:normal;
 transition:border-color .25s ease,color .25s ease;
}
html body.current-native #inhalt #voice-experience-stage .voice-start-primary {
 min-height:52px; background:#e2eef7; color:#172b43;
 border-color:#e2eef7; box-shadow:inset 0 1px #ffffffbf;
}
html body.current-native #inhalt #voice-experience-stage .voice-experience-start-actions .voice-start-secondary {
 min-height:46px; padding:12px 20px; background:transparent; color:#bed0df;
 border-color:#c4dae638; box-shadow:none; font-size:14px!important;
}
.voice-experience-start-actions button::after {
 content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
 background:linear-gradient(110deg,transparent 25%,#ffffff80 50%,transparent 75%);
 transform:translateX(-130%); transition:transform .65s cubic-bezier(.22,.61,.36,1);
}
html body.current-native #inhalt #voice-experience-stage .voice-start-secondary::after { background:linear-gradient(110deg,transparent 25%,#ffffff12 50%,transparent 75%); }
@media(hover:hover) {
 .voice-experience-start-actions button:not(:disabled):hover::after { transform:translateX(130%); }
 html body.current-native #inhalt #voice-experience-stage .voice-start-secondary:hover { color:#f2f6fa; border-color:#c4dae680; }
}
.voice-experience-start-actions button:focus-visible { outline:2px solid #d0e8f8; outline-offset:4px; }
.voice-experience-start-actions button:disabled { opacity:.5; cursor:wait; }
.voice-experience-stage:not(.has-started) .voice-experience-conversation { visibility:hidden; }
@media(max-width:760px) {
 .voice-experience-start { align-items:flex-start; padding:24px 16px; }
 .voice-experience-start-content { min-height:min(640px,calc(100svh - 144px)); justify-content:center; margin:0 auto; }
 .voice-start-company { margin-bottom:24px; }
 html body.current-native #inhalt #voice-experience-stage .voice-start-title { font-size:clamp(34px,7vw,48px)!important; }
}
@media(prefers-reduced-motion:reduce) { .voice-experience-start-actions button::after { transition:none; } }

.voice-experience-stage:not(.has-started) .voice-experience-speaker { visibility:hidden; }
