/* LexiVoom-Website – hell, warm, Markenfarben Violett #713BFF / Orange #FF7426 (aus der Wortmarke v1).
   Endzustand ist der CSS-Standard (ohne JS / bei reduzierter Bewegung); site.js setzt data-act für das Intro. */
:root {
  --bg: #fbf6ee;
  --bg-2: #f3eadc;
  --card: #fffdf9;
  --ink: #1f1b2e;
  --ink-2: #4f4860;
  --line: #e4d8c6;
  --violet: #713bff;
  --violet-ink: #5223d6;
  --orange: #ff7426;
  --orange-soft: #ffe6d6;
  --violet-soft: #ece4ff;
  --teal: #1e7a72;
  --teal-soft: #dcefeb;
  --teal-ink: #145a54;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
}
a {
  color: var(--violet-ink);
  text-underline-offset: 3px;
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.2vw, 2.7rem);
  letter-spacing: -0.01em;
  max-width: 22ch;
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--violet-ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}
.narrow {
  max-width: 760px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.defs {
  position: absolute;
  width: 0;
  height: 0;
}

/* Vorschau-Hinweis */
.preview {
  background: #fff3c4;
  color: #4d3b00;
  border-bottom: 1px solid #e9d27a;
  font-size: 0.9rem;
  padding: 0.55rem 16px;
  text-align: center;
}

/* Kopf */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.top-brand {
  display: inline-flex;
  padding: 6px 0;
}
.top-brand img {
  height: 34px;
  width: auto;
}
.top-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.top-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 10px;
  border-radius: 999px;
}
.top-nav a:hover {
  background: var(--bg-2);
  color: var(--ink);
}
.top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Schaltflächen */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 0.98rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s var(--ease);
}
.btn-primary {
  background: var(--violet-ink);
  color: #fff;
}
.btn-primary:hover {
  background: #4219b8;
  transform: translateY(-1px);
}
.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--bg-2);
}
.btn-sm {
  min-height: 40px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
}
.ico {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0;
}
.ico-waves,
.ico-mute {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.btn-sound[aria-pressed="false"] .ico-waves,
.btn-sound[aria-pressed="true"] .ico-mute {
  display: none;
}
.btn-sound[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.access {
  font-size: 0.9rem;
  color: var(--ink-2);
  max-width: 34ch;
  margin: 0;
}

/* ---------- Bühne (3 Akte) ---------- */
.stage-wrap {
  padding: 18px 0 8px;
}
.stage {
  position: relative;
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
  min-height: 640px;
  border-radius: 32px;
  background:
    radial-gradient(60% 50% at 50% 40%, #fffdf9 0%, rgba(255, 253, 249, 0) 70%),
    radial-gradient(40% 40% at 15% 85%, var(--violet-soft) 0%, rgba(236, 228, 255, 0) 70%),
    radial-gradient(40% 40% at 88% 18%, var(--orange-soft) 0%, rgba(255, 230, 214, 0) 70%),
    var(--bg-2);
  overflow: hidden;
  padding: 28px 20px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* Menschenmenge (Akt 1) */
.crowd {
  position: absolute;
  inset: 0 0 auto 0;
  height: 660px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.9s ease,
    visibility 0s linear 0.9s;
}
.person {
  position: absolute;
  width: 92px;
}
.person > svg {
  width: 100%;
  height: auto;
  display: block;
}
.bubble {
  position: absolute;
  bottom: 100%;
  left: 50%;
  translate: -50% 0;
  margin-bottom: 4px;
  white-space: nowrap;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 16px 16px 16px 4px;
  padding: 4px 10px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 6px 0 rgba(31, 27, 46, 0.08);
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease);
}
.p1 {
  left: 4%;
  top: 22%;
}
.p2 {
  right: 5%;
  top: 14%;
}
.p3 {
  left: 15%;
  top: 58%;
}
.p4 {
  right: 16%;
  top: 56%;
}
.p5 {
  left: 30%;
  bottom: -4%;
}
.p6 {
  right: 3%;
  bottom: -6%;
}
.p7 {
  left: 1%;
  bottom: -8%;
}
.p7 .bubble,
.p1 .bubble,
.p3 .bubble {
  left: 0;
  translate: 0 0;
}
.p2 .bubble,
.p6 .bubble {
  left: auto;
  right: 0;
  translate: 0 0;
  border-radius: 16px 16px 4px 16px;
}
.stage[data-act="1"] .crowd,
.stage[data-act="2"] .crowd {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease;
}
.stage[data-act="1"] .bubble {
  opacity: 1;
  transform: scale(1);
}
.stage[data-act="1"] .p2 .bubble {
  transition-delay: 0.3s;
}
.stage[data-act="1"] .p3 .bubble {
  transition-delay: 0.6s;
}
.stage[data-act="1"] .p4 .bubble {
  transition-delay: 0.9s;
}
.stage[data-act="1"] .p5 .bubble {
  transition-delay: 1.15s;
}
.stage[data-act="1"] .p6 .bubble {
  transition-delay: 1.4s;
}
.stage[data-act="1"] .p7 .bubble {
  transition-delay: 1.7s;
}
.stage[data-act="2"] .crowd {
  opacity: 0.45;
}
.stage[data-act="2"] .bubble {
  opacity: 0;
  transform: scale(0.9);
}

/* Wortmarke */
.mark {
  position: relative;
  z-index: 3;
  width: min(560px, 86%);
  transition: transform 1.1s var(--ease);
}
.lv-logo {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.lv-letters,
.lv-static {
  transition: opacity 0.9s ease;
}
.lv-o,
.lv-blink,
.lv-pupil {
  transform-box: fill-box;
  transform-origin: center;
}
.stage[data-act="1"] .mark,
.stage[data-act="2"] .mark {
  transform: translateY(170px) scale(1.18);
}
.stage[data-act="1"] .lv-letters,
.stage[data-act="1"] .lv-static {
  opacity: 0;
}

/* Hub: App-Vorschau + Sprachen (Akt 3) */
.hub {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 320px) 1fr;
  align-items: center;
  gap: 12px;
  transition:
    opacity 0.9s ease,
    transform 0.9s var(--ease);
}
.stage[data-act="1"] .hub,
.stage[data-act="2"] .hub,
.stage[data-act="1"] .claim-box,
.stage[data-act="2"] .claim-box {
  opacity: 0;
  transform: translateY(24px);
  visibility: hidden;
}
.hub-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ln {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.ln-real {
  stroke: var(--violet);
}
.ln-illu {
  stroke: #b9ad9a;
  stroke-dasharray: 2 8;
}
.langs {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 54px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.langs-real {
  align-items: flex-start;
}
.langs-illu {
  align-items: flex-end;
}
.lang {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 16px;
  font: 700 1.05rem/1.2 var(--sans);
  background: var(--card);
  color: var(--ink);
}
.lang small {
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--ink-2);
}
button.lang {
  border: 2px solid var(--violet);
  cursor: pointer;
}
button.lang[aria-pressed="true"] {
  background: var(--violet-ink);
  color: #fff;
}
button.lang[aria-pressed="true"] small {
  color: #ece4ff;
}
.langs-illu .lang {
  border: 2px dashed #b9ad9a;
  color: var(--ink-2);
  background: rgba(255, 253, 249, 0.7);
}
.l2,
.l5 {
  margin-inline: -18px;
}

/* nachgebautes App-Fenster */
.phone {
  margin: 0;
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 30px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(31, 27, 46, 0.14);
}
.phone-head {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.phone-head img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.phone-head strong {
  display: block;
  font-size: 0.95rem;
}
.phone-state {
  font-size: 0.78rem;
  color: var(--ink-2);
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  vertical-align: 1px;
}
.phone-chat {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  min-height: 170px;
  align-content: start;
}
.msg {
  margin: 0;
  padding: 8px 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 92%;
}
.msg-ai {
  background: var(--teal-soft);
  border-radius: 14px 14px 14px 4px;
}
.msg-me {
  background: var(--violet-soft);
  border-radius: 14px 14px 4px 14px;
  justify-self: end;
}
.phone-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.pill {
  font-size: 0.78rem;
  font-weight: 700;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}
.pill-stop {
  border-color: #c2410c;
  color: #9a3412;
}
.phone figcaption {
  font-size: 0.78rem;
  color: var(--ink-2);
  text-align: center;
  margin-top: 8px;
}

/* Leittext */
.claim-box {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 720px;
  transition:
    opacity 0.9s ease 0.2s,
    transform 0.9s var(--ease) 0.2s;
}
.claim {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 6vw, 3.9rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.3em;
}
.sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-2);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

/* Intro-Steuerung */
.stage-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 14px 0 0;
}
.acts {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-2);
}
.acts li {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
}
.acts li.on {
  border-color: var(--violet);
  color: var(--ink);
  background: var(--card);
}
.ctl {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.note {
  flex-basis: 100%;
  font-size: 0.88rem;
  color: var(--ink-2);
  margin: 0;
}

/* ---------- Abschnitte ---------- */
.sec {
  padding: clamp(56px, 9vw, 110px) 0;
}
.sec-alt {
  background: var(--bg-2);
}
.eyebrow {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 0.6em;
}
.lead {
  font-size: 1.15rem;
  color: var(--ink-2);
  max-width: 62ch;
}
.fine {
  font-size: 0.9rem;
  color: var(--ink-2);
  max-width: 70ch;
}
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 36px 0 18px;
}
.buddy {
  display: flex;
  gap: 20px;
  padding: 28px;
  align-items: flex-start;
}
.buddy img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  flex: none;
  background: var(--card);
}
.buddy h3 {
  font-family: var(--serif);
  font-size: 2rem;
  margin-bottom: 0.1em;
}
.buddy-elena {
  border-right: 2px solid var(--line);
}
.traits {
  font-weight: 700;
  color: var(--ink-2);
}
blockquote {
  margin: 0 0 1em;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.35;
  border-left: 4px solid var(--orange);
  padding-left: 14px;
}
.buddy-elias blockquote {
  border-color: var(--violet);
}

/* Beispielgespräche */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 16px;
}
.tabs [role="tab"] {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--card);
  font: 700 0.95rem/1.2 var(--sans);
  color: var(--ink);
  cursor: pointer;
}
.tabs [aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.talk {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 20px;
  display: grid;
  gap: 10px;
  max-width: 760px;
}
.talk[hidden] {
  display: none;
}
.t {
  margin: 0;
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 88%;
}
.t b {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.t-ai {
  background: var(--teal-soft);
}
.t-me {
  background: var(--violet-soft);
  justify-self: end;
}
.t-cut {
  border: 2px solid var(--orange);
}
.facts {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.facts b {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--violet-ink);
}

/* Ablauf */
.steps {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: s;
}
.steps li {
  display: flex;
  gap: 14px;
}
.n {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 1.5rem var(--serif);
  background: var(--orange-soft);
  color: #8a3300;
  border: 2px solid var(--orange);
}
.who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  border-top: 2px solid var(--line);
  padding-top: 28px;
}
.who h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
}

/* Stand */
.status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0 18px;
}
.st {
  background: var(--card);
  border-radius: var(--r);
  padding: 22px;
  border-top: 6px solid var(--teal);
}
.st-test {
  border-top-color: var(--orange);
}
.st-no {
  border-top-color: #9c93a8;
}
.st ul {
  margin: 0;
  padding-left: 1.1em;
}
.st li {
  margin-bottom: 0.5em;
}

/* FAQ */
details {
  border-bottom: 2px solid var(--line);
  padding: 4px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 12px 0;
  min-height: 44px;
  list-style-position: outside;
}
details p {
  color: var(--ink-2);
}

/* Fuß */
.foot {
  background: var(--bg-2);
  border-top: 2px solid var(--line);
  padding: 40px 0;
  font-size: 0.95rem;
}
.foot-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 24px;
  align-items: start;
}
.foot-logo {
  height: 32px;
  width: auto;
}
.foot nav {
  display: flex;
  gap: 8px;
}
.foot nav a {
  display: inline-block;
  padding: 10px 8px;
  min-height: 44px;
  font-weight: 700;
}
.pending {
  background: #fff3c4;
  color: #4d3b00;
  border-radius: 6px;
  padding: 0 6px;
  font-size: 0.9em;
}

/* Rechtsseiten */
.legal {
  padding: 40px 0 80px;
}
.legal h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
}
.legal dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 18px;
}
.legal dt {
  font-weight: 700;
}
.legal dd {
  margin: 0;
}

/* ---------- Responsiv ---------- */
@media (max-width: 960px) {
  .top-nav {
    display: none;
  }
  .top-actions {
    margin-left: auto;
  }
  .facts,
  .status,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .foot-inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  body {
    font-size: 1rem;
  }
  .top-brand img {
    height: 28px;
  }
  .top-actions .access {
    display: none;
  }
  .top-actions .btn {
    min-height: 40px;
    padding: 0.4rem 0.8rem;
    font-size: 0.92rem;
  }
  .stage {
    min-height: 0;
    padding: 20px 12px 28px;
    border-radius: 24px;
    width: calc(100% - 16px);
  }
  .stage[data-act="1"],
  .stage[data-act="2"] {
    min-height: 600px;
  }
  .crowd {
    height: 600px;
  }
  .person {
    width: 58px;
  }
  .bubble {
    font-size: 0.78rem;
    padding: 3px 8px;
  }
  .p1 {
    left: 2%;
    top: 30%;
  }
  .p2 {
    right: 2%;
    top: 24%;
  }
  .p3 {
    left: 8%;
    top: 62%;
  }
  .p4 {
    right: 6%;
    top: 58%;
  }
  .p5 {
    left: 36%;
    bottom: -2%;
  }
  .p6 {
    right: 1%;
    bottom: -3%;
  }
  .p7 {
    display: none;
  }
  .stage[data-act="1"] .mark,
  .stage[data-act="2"] .mark {
    transform: translateY(70px) scale(1.04);
  }
  .mark {
    width: 92%;
  }
  .hub {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hub-lines {
    display: none;
  }
  .langs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    order: 0;
  }
  .langs-illu {
    order: 2;
  }
  .phone {
    order: 1;
    width: 100%;
    max-width: 340px;
  }
  .lang {
    padding: 6px 12px;
    font-size: 0.98rem;
  }
  .l2,
  .l5 {
    margin-inline: 0;
  }
  .duo,
  .who,
  .facts,
  .status,
  .steps {
    grid-template-columns: 1fr;
  }
  .buddy {
    padding: 22px 0;
  }
  .buddy-elena {
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }
  .ctl {
    margin-left: 0;
  }
  .acts {
    flex-wrap: wrap;
  }
}
@media (max-width: 380px) {
  .top-actions .btn-primary {
    display: none;
  }
}
@media (max-width: 360px) {
  .buddy {
    flex-direction: column;
  }
  .btn-sound #sound-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
