/* Google-Ads-Landingpages: KI-Kundenservice, Voicebot, Workflow-Automatisierung.
   Baut auf werkai.css auf (Farben, Schrift, Buttons, lp-Bausteine) und ergaenzt nur,
   was die drei Seiten zusaetzlich brauchen. Einstiegszustaende der Bewegung stehen
   ausschliesslich unter prefers-reduced-motion: no-preference, damit alle Inhalte
   ohne Bewegung sofort sichtbar sind. */

.ad-hero {
  position: relative;
  isolation: isolate;
  background: var(--color-coal);
  color: var(--color-paper);
  padding-block: 8rem 3.5rem;
}

.ad-hero::before,
.lp-dark::before,
.ad-eve::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(42rem 26rem at 86% -8%, rgb(212 182 115 / 18%), transparent 60%),
    radial-gradient(28rem 18rem at 8% 110%, rgb(212 182 115 / 10%), transparent 58%),
    radial-gradient(rgb(248 249 248 / 12%) 1px, transparent 1.25px);
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 22px 22px;
  background-position: center, center, 0 var(--ad-parallax, 0px);
  content: "";
}

.ad-hero > .lp-wrap,
.lp-dark > .lp-wrap,
.ad-eve > .lp-wrap {
  position: relative;
  z-index: 1;
}

.lp-dark,
.ad-eve {
  position: relative;
  isolation: isolate;
}

@media (prefers-reduced-motion: no-preference) {
  .ad-hero::after,
  .lp-dark::after,
  .ad-eve::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(36rem 22rem at 70% 20%, rgb(227 196 126 / 16%), transparent 64%),
      radial-gradient(24rem 16rem at 18% 80%, rgb(180 143 69 / 12%), transparent 68%);
    animation: ad-field 28s ease-in-out infinite alternate;
    content: "";
  }
}

@keyframes ad-field {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-2.5%, 3%, 0); }
}

.ad-hero-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-areas:
    "copy"
    "form"
    "visual";
}

.ad-hero-copy { grid-area: copy; min-width: 0; }
.ad-hero-form { grid-area: form; min-width: 0; }
.ad-hero-visual { grid-area: visual; min-width: 0; }
.ad-kicker, .ad-hero h1, .ad-lead, .ad-price-line { overflow-wrap: anywhere; }

.ad-price-line {
  margin-top: 1rem;
  color: #e3c47e;
  font-size: 1.0625rem;
  font-weight: 600;
}

.ad-hero .callback-section {
  margin: 0;
  padding: 1rem 1.05rem 1.1rem;
}

.ad-hero .callback-section h2 {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
}

.ad-hero .callback-section p {
  margin: 0.35rem 0;
}

.ad-hero .callback-section form {
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.ad-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #d4b673;
  font-size: 0.875rem;
  font-weight: 600;
}

.ad-kicker::before {
  width: 1.75rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.ad-hero h1 {
  max-width: 15em;
  margin-top: 1rem;
  color: var(--color-paper);
  font-size: 2.375rem;
  font-weight: 500;
  line-height: 1.06;
  text-wrap: balance;
}

.ad-hero h1 .serif-accent {
  display: block;
  margin-top: 0.1em;
  color: #d4b673;
}

.ad-lead {
  max-width: 36rem;
  margin-top: 1.25rem;
  color: #d9dad5;
  font-size: 1.125rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.ad-trust {
  display: grid;
  gap: 0.6rem;
  margin-top: 2rem;
  list-style: none;
}

.ad-trust li {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 0.65rem;
  color: #c9cac5;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.ad-trust svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  color: #d4b673;
}

/* ---- Geraete-Rahmen fuer Chat, Anruf und Ablauf ----------------------- */
.ad-device {
  width: 100%;
  max-width: 24rem;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #34342f;
  border-radius: 20px;
  background: #1a1a17;
  box-shadow: 0 40px 80px -36px rgb(0 0 0 / 80%), inset 0 1px 0 rgb(248 249 248 / 7%);
  color: var(--color-paper);
}

.ad-device-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid #2b2b27;
  background: #161614;
  padding: 0.8rem 1rem;
}

.ad-avatar {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #ece0c4;
  color: #131311;
  font-size: 0.9375rem;
  font-weight: 600;
}

.ad-avatar svg {
  width: 1.15rem;
  height: 1.15rem;
}

.ad-device-name {
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
}

.ad-device-name small {
  display: block;
  color: #a9aaa4;
  font-size: 0.75rem;
  font-weight: 500;
}

.ad-device-tag {
  margin-left: auto;
  flex: none;
  border: 1px solid #34342f;
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  color: #a9aaa4;
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
}

.ad-chatlog {
  display: flex;
  min-height: 21rem;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
  list-style: none;
}

.ad-msg {
  position: relative;
  max-width: 86%;
  border-radius: 14px;
  padding: 0.6rem 0.8rem 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ad-msg time {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.ad-msg.is-user {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: #2b2b27;
  color: #f1f1ee;
}

.ad-msg.is-user time {
  color: #a9aaa4;
}

.ad-msg.is-agent {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: #ece0c4;
  color: #1a1a19;
}

.ad-msg.is-agent time {
  color: #5a4613;
}

.ad-msg.is-me {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: #f8f9f8;
  color: #1a1a19;
}

.ad-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: center;
  border-radius: 6px;
  background: #26261f;
  padding: 0.35rem 0.6rem;
  color: #e3c47e;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.ad-tag svg {
  width: 0.875rem;
  height: 0.875rem;
  flex: none;
}

.ad-device-foot {
  border-top: 1px solid #2b2b27;
  padding: 0.65rem 1rem;
  color: #a9aaa4;
  font-size: 0.75rem;
  line-height: 1.4;
}

/* Anruf */
.ad-call-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 0.5rem;
}

.ad-call-head .ad-avatar {
  background: #26261f;
  color: #e3c47e;
}

.ad-call-time {
  margin-left: auto;
  color: #a9aaa4;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.ad-wave {
  display: flex;
  height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding-inline: 1rem;
}

.ad-wave i {
  display: block;
  width: 3px;
  height: var(--h, 40%);
  border-radius: 2px;
  background: #d4b673;
  opacity: 0.85;
}

.ad-transcript {
  display: grid;
  gap: 0.75rem;
  padding: 0.5rem 1rem 1rem;
  list-style: none;
}

.ad-transcript li {
  display: grid;
  gap: 0.15rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.ad-transcript b {
  color: #a9aaa4;
  font-size: 0.75rem;
  font-weight: 600;
}

.ad-transcript .is-agent {
  color: #ece0c4;
}

.ad-result {
  margin: 0 1rem 1rem;
  border: 1px solid #34342f;
  border-radius: 10px;
  background: #161614;
  padding: 0.85rem 1rem;
}

.ad-result h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e3c47e;
  font-size: 0.8125rem;
  font-weight: 600;
}

.ad-result h3 svg {
  width: 0.95rem;
  height: 0.95rem;
}

.ad-result dl {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.ad-result dl div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.ad-result dt {
  color: #a9aaa4;
}

.ad-result dd {
  color: #f1f1ee;
}

/* Ablaufkette */
.ad-flow {
  display: grid;
  gap: 0;
  padding: 1.1rem 1rem 1rem;
  list-style: none;
}

.ad-node {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-bottom: 1.15rem;
}

.ad-node:last-child {
  padding-bottom: 0;
}

.ad-node::before {
  position: absolute;
  top: 2.25rem;
  bottom: 0;
  left: 1.1rem;
  width: 2px;
  background: #34342f;
  content: "";
}

.ad-node:last-child::before {
  display: none;
}

.ad-node-icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid #34342f;
  border-radius: 8px;
  background: #161614;
  color: #c9cac5;
}

.ad-node-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.ad-node.is-ki .ad-node-icon {
  border-color: #d4b673;
  color: #e3c47e;
}

.ad-node.is-human .ad-node-icon {
  background: #ece0c4;
  border-color: #ece0c4;
  color: #131311;
}

.ad-node b {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.ad-node span {
  display: block;
  margin-top: 0.1rem;
  color: #a9aaa4;
  font-size: 0.8125rem;
  line-height: 1.4;
}

/* ---- Gemeinsame Abschnitte -------------------------------------------- */
.ad-section-intro {
  max-width: 40rem;
}

.ad-cards {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
  list-style: none;
}

.ad-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-card);
  padding: 1.5rem;
}

.ad-card-tag {
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 600;
}

.ad-card h3 {
  margin-top: 0.4rem;
  color: var(--color-ink);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.3;
  text-wrap: balance;
}

.ad-card p {
  margin-top: 0.6rem;
  color: var(--color-ink-strong);
  font-size: 0.9375rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.ad-card a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  align-self: flex-start;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.5rem;
  color: var(--color-signal);
  font-size: 0.9375rem;
  font-weight: 600;
}

.ad-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ad-card a svg {
  width: 0.875rem;
  height: 0.875rem;
}

.ad-card p + a {
  margin-top: 0.75rem;
}

.ad-limits {
  margin-top: 1.5rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-card);
  padding: 1.5rem;
}

.ad-limits h3 {
  color: var(--color-ink);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.ad-limits ul {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
  list-style: none;
}

.ad-limits li {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 0.6rem;
  color: var(--color-ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.ad-limits svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  color: var(--color-accent);
}

.ad-questions {
  display: grid;
  gap: 1px;
  margin-top: 2.5rem;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-line);
  list-style: none;
}

.ad-questions li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.2rem 0.75rem;
  background: var(--color-card);
  padding: 1.25rem 1.5rem;
}

.ad-questions .lp-mech-no {
  grid-row: span 2;
}

.ad-questions strong {
  color: var(--color-ink);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
}

.ad-questions span:not(.lp-mech-no) {
  color: var(--color-ink-strong);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.ad-compare-note {
  margin-top: 1rem;
  color: var(--color-ink-soft);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.ad-deal {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.ad-deal .lp-price {
  padding: 2rem 1.5rem;
}

.ad-price-line {
  margin-top: 0.6rem;
  color: var(--color-paper);
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}

.ad-source {
  margin-top: 1.5rem;
  color: #a9aaa4;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.ad-source a,
.lp-fine a {
  color: var(--color-signal-on-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- EVE: erleben, bevor man bucht ------------------------------------ */
.ad-eve {
  background: var(--color-coal);
  color: var(--color-paper);
}

.ad-eve-grid {
  display: grid;
  gap: 3rem;
}

.ad-eve .lp-h2 {
  color: var(--color-paper);
}

.ad-eve .lp-lead {
  color: #d9dad5;
}

.ad-eve-steps {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.75rem;
  counter-reset: eve;
  list-style: none;
}

.ad-eve-steps li {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.75rem;
  color: #d9dad5;
  font-size: 1rem;
  line-height: 1.5;
}

.ad-eve-steps li::before {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid #d4b673;
  border-radius: 50%;
  color: #e3c47e;
  font-size: 0.8125rem;
  font-weight: 600;
  counter-increment: eve;
  content: counter(eve);
}

.ad-eve-fine {
  margin-top: 1.5rem;
  color: #a9aaa4;
  font-size: 0.875rem;
  line-height: 1.55;
}

.ad-eve-fine a {
  color: var(--color-signal-on-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ad-eve-alt {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ad-chat {
  position: relative;
}

.ad-chat .ad-chatlog {
  height: 25rem;
  min-height: 0;
  overflow-y: auto;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.ad-chat .ad-chatlog:focus-visible {
  outline: 2px solid var(--color-signal-on-dark);
  outline-offset: -2px;
}

.ad-chat .ad-msg.is-agent {
  align-self: flex-start;
  margin-left: 2.15rem;
  border-bottom-right-radius: 14px;
  border-bottom-left-radius: 4px;
  background: #2a2a26;
  color: #f4f4f1;
}

.ad-chat .ad-msg.is-agent time {
  color: #b9bab4;
}

.ad-chat .ad-msg.is-agent::before {
  position: absolute;
  top: 0;
  left: -2.15rem;
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: 50%;
  background: #3a3428;
  color: #e3c47e;
  font-size: 0.75rem;
  font-weight: 600;
  content: "E";
}

.ad-chat .ad-msg.is-me {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: #ece0c4;
  color: #1a1a19;
}

.ad-chat .ad-msg.is-me time {
  color: #5a4613;
}

.ad-typing {
  display: inline-flex;
  align-self: flex-start;
  margin-left: 2.15rem;
  gap: 4px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  background: #2a2a26;
  padding: 0.7rem 0.85rem;
}

.ad-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d9dad5;
  opacity: 0.5;
}

.ad-answers {
  display: flex;
  min-height: 4.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid #2b2b27;
  background: #161614;
  padding: 0.85rem 1rem;
}

.ad-answers[hidden] {
  display: none;
}

.ad-answer {
  min-height: 2.75rem;
  border: 1px solid #4a4a43;
  border-radius: 9999px;
  background: transparent;
  padding: 0.5rem 1rem;
  color: #f1f1ee;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.ad-answer:hover {
  border-color: #f8f9f8;
  background: rgb(248 249 248 / 8%);
}

.ad-answer:focus-visible,
.ad-start:focus-visible {
  outline: 2px solid var(--color-signal-on-dark);
  outline-offset: 2px;
}

.ad-start {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 0;
  border-radius: 6px;
  background: #f8f9f8;
  padding: 0.8rem 1.35rem;
  color: #131311;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.ad-start:hover {
  background: #eff0ec;
}

.ad-start svg {
  width: 1rem;
  height: 1rem;
}

.ad-summary {
  align-self: stretch;
  border: 1px solid #4a4a43;
  border-radius: 12px;
  background: #161614;
  padding: 0.9rem 1rem;
}

.ad-summary h3 {
  color: #e3c47e;
  font-size: 0.8125rem;
  font-weight: 600;
}

.ad-summary dl {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.ad-summary dl div {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.ad-summary dt {
  color: #a9aaa4;
}

.ad-summary dd {
  color: #f1f1ee;
}

.ad-summary-hint {
  margin-top: 0.8rem;
  color: #c9cac5;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.ad-summary-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.ad-summary-actions .btn {
  width: 100%;
  min-height: 2.9rem;
  padding-inline: 1rem;
  font-size: 0.9375rem;
}

.ad-summary-actions button.btn {
  cursor: pointer;
  font-family: inherit;
}

.ad-restart {
  align-self: center;
  min-height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--color-signal-on-dark);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.ad-idle {
  display: grid;
  height: 25rem;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.ad-idle p {
  max-width: 17rem;
  color: #c9cac5;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.ad-idle[hidden] {
  display: none;
}

.ad-also {
  display: grid;
  gap: 1px;
  margin-top: 3.5rem;
  overflow: hidden;
  border: 1px solid #34342f;
  border-radius: 8px;
  background: #34342f;
  list-style: none;
}

.ad-also li {
  background: var(--color-coal);
  padding: 1.25rem 1.5rem;
}

.ad-also strong {
  display: block;
  color: var(--color-paper);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.ad-also span {
  display: block;
  margin-top: 0.3rem;
  color: #c9cac5;
  font-size: 0.875rem;
  line-height: 1.5;
}

.ad-also a {
  color: inherit;
}

.ad-also a:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Abschluss -------------------------------------------------------- */
.ad-final {
  background: var(--color-paper);
}

.ad-final .lp-h2 {
  max-width: 24ch;
  font-size: 2rem;
}

.ad-final .serif-accent {
  color: #6b5420;
}

.ad-final-alt {
  margin-top: 1.25rem;
  color: var(--color-ink-strong);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.ad-brand-note {
  max-width: 40rem;
  margin-top: 1.5rem;
  color: var(--color-ink-soft);
  font-size: 0.875rem;
  line-height: 1.5;
}

.ad-apps {
  position: relative;
  overflow: hidden;
  background: var(--color-coal);
  color: var(--color-paper);
  padding-block: 2.75rem 3rem;
  scroll-margin-top: 6.5rem;
}

.ad-apps .lp-h2 {
  color: var(--color-paper);
  font-size: 1.5rem;
}

.ad-apps-note {
  margin-top: 0.75rem;
  color: #b9bab4;
  font-size: 0.875rem;
}

.ad-marquee {
  overflow: hidden;
  margin-top: 1.75rem;
}

.ad-marquee__track {
  display: flex;
  width: max-content;
}

.ad-marquee__list {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0 1.25rem 0 0;
  list-style: none;
}

.ad-marquee__item {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  width: 6.5rem;
  flex: none;
}

.ad-app__tile {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 1.1rem;
  background: rgb(255 255 255 / 6%);
}

.ad-app__logo {
  width: 1.9rem;
  height: 1.9rem;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.92;
}

.ad-app__logo.is-mark {
  filter: none;
  opacity: 1;
}

.ad-app__name {
  color: #d9dad5;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.ad-marquee__item.is-current .ad-app__tile {
  border-color: #d4b673;
  box-shadow: 0 0 0 2px rgb(212 182 115 / 55%);
}

.ad-marquee__item.is-current .ad-app__name {
  color: #e3c47e;
}

@media (prefers-reduced-motion: no-preference) {
  .ad-marquee__track {
    animation: ad-drift 70s linear infinite;
  }

  .ad-marquee:hover .ad-marquee__track,
  .ad-marquee:focus-within .ad-marquee__track {
    animation-play-state: paused;
  }
}

@keyframes ad-drift {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ad-marquee__track {
    width: auto;
    justify-content: center;
  }

  .ad-marquee__list {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-right: 0;
  }

  .ad-marquee__list[aria-hidden="true"] {
    display: none;
  }
}

.ad-cross {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--color-line);
  padding-top: 1.25rem;
  list-style: none;
}

.ad-cross a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--color-signal);
  font-size: 0.9375rem;
  font-weight: 600;
}

.ad-cross a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Breiten ---------------------------------------------------------- */
@media (min-width: 640px) {
  .ad-hero h1 {
    font-size: 3rem;
  }

  .ad-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ad-also {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ad-summary-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .ad-hero {
    padding-block: 8rem 2.5rem;
  }

  .ad-hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
    grid-template-areas:
      "copy form"
      "visual form";
    align-items: start;
    gap: 1.25rem 2rem;
  }

  .ad-hero-form {
    align-self: stretch;
  }

  .ad-hero-form .callback-section {
    position: sticky;
    top: 7.25rem;
  }

  .ad-hero h1 {
    font-size: 2.75rem;
  }

  .ad-device {
    margin-inline: 0 auto;
  }

  .ad-cards.is-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ad-cards.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ad-also {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ad-deal {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 4rem;
    align-items: start;
  }

  .ad-eve-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
    align-items: center;
    gap: 5rem;
  }

  .ad-chat {
    justify-self: end;
    width: 100%;
  }

  .ad-final .lp-h2 {
    font-size: 2.75rem;
  }

  .ad-questions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .ad-hero-grid {
    gap: 1.25rem 2.5rem;
  }
}

/* ---- Bewegung (nur ohne reduzierte Bewegung) --------------------------- */
@keyframes ad-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ad-wave {
  0%, 100% {
    transform: scaleY(0.35);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes ad-pulse {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  15%, 85% {
    opacity: 1;
  }
  100% {
    transform: translateY(1.9rem);
    opacity: 0;
  }
}

@keyframes ad-dot {
  0%, 60%, 100% {
    opacity: 0.35;
    transform: none;
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ad-hero .ad-msg,
  .ad-hero .ad-tag,
  .ad-hero .ad-transcript li,
  .ad-hero .ad-result,
  .ad-hero .ad-node {
    animation: ad-in 0.6s var(--ease-out) both;
    animation-delay: calc(0.5s + var(--i, 0) * 0.95s);
  }

  .ad-wave i {
    animation: ad-wave 1.1s ease-in-out 3;
    animation-delay: calc(var(--d, 0) * -0.12s);
    transform-origin: center;
  }

  .ad-node.is-live::after {
    position: absolute;
    top: 2.25rem;
    left: calc(1.1rem - 3px);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d4b673;
    animation: ad-pulse 1.8s ease-in-out 2;
    animation-delay: calc(var(--i, 0) * 0.95s + 1.2s);
    content: "";
  }

  .ad-chat .ad-msg,
  .ad-chat .ad-summary,
  .ad-chat .ad-tag {
    animation: ad-in 0.4s var(--ease-out) both;
  }

  .ad-typing i {
    animation: ad-dot 1s ease-in-out infinite;
  }

  .ad-typing i:nth-child(2) {
    animation-delay: 0.15s;
  }

  .ad-typing i:nth-child(3) {
    animation-delay: 0.3s;
  }
}

/* Native hidden semantics also apply to the flex chat log. */
.ad-chatlog[hidden] { display: none; }

/* Die Ads-Navbar ist die Pill der Startseite. Die opake Leiste gibt es nicht mehr. */
.ad-footer { padding: 2rem max(1.5rem, calc((100vw - 68rem) / 2)); background: #171815; color: #eee; font-size: .85rem; }
.ad-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; margin-top: .8rem; }
.ad-footer a { padding-block: .5rem; text-decoration: underline; }
.ad-person { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; font-size: .85rem; line-height: 1.5; }
.ad-person img { border-radius: 50%; object-fit: cover; width: 72px; height: 72px; }
.ad-variants { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.25rem; font-size: .85rem; }
.ad-variants a { border: 1px solid #999; padding: .55rem .8rem; border-radius: 1.5rem; }
.ad-variants [aria-current] { background: #ece0c4; color: #171815; border-color: #ece0c4; }
.ad-command { padding: 1.5rem; margin-top: 1.25rem; border: 1px solid #a49368; border-radius: .5rem; }
.ad-command h3 { font-weight: 600; font-size: 1.35rem; margin-bottom: .75rem; }
.ad-command p { line-height: 1.6; }
[data-copy-management] { margin-top: 1.5rem; }
#hoerprobe audio { display: block; width: min(100%, 36rem); margin-block: 1.25rem; }
#hoerprobe details { max-width: 50rem; margin-top: 1rem; line-height: 1.6; }
#hoerprobe summary { cursor: pointer; padding-block: .75rem; }
.lp-quotes li > p { font-size: 1.35rem; line-height: 1.45; }
/* Keep hero examples readable even before an animation completes. */
.ad-hero .ad-msg, .ad-hero .ad-tag, .ad-hero .ad-transcript li, .ad-hero .ad-result, .ad-hero .ad-node { animation: none; opacity: 1; }


/* ---- Kompakte Preiskarten (Homepage lp-price / lp-steps Muster) ---- */
.ad-price-steps {
  margin: 1.5rem 0 2rem;
}
.ad-price-steps .lp-mech-vis {
  margin-top: 0.75rem;
  width: 100%;
  max-width: 240px;
  height: auto;
}
.ad-price-board {
  margin-top: 0.5rem;
}
.ad-price-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .ad-price-tiers {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (min-width: 1100px) {
  .ad-price-tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}
.ad-price-tier {
  margin: 0;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-card, 1rem);
  background: var(--color-coal);
  color: var(--color-paper);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
}
.ad-price-tier .lp-price-label {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a9aaa4;
}
.ad-price-tier .lp-price-amount {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-paper);
}
.ad-price-tier-note {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #c8c9c2;
}
.ad-price-fine {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--color-ink-soft);
}
.ad-run-compact {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .ad-run-compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}
.ad-run-compact > li {
  padding: 1.25rem;
  border: 1px solid var(--color-line, rgba(0,0,0,.08));
  border-radius: var(--radius-card, 1rem);
  background: var(--color-paper);
}
.ad-run-compact .lp-run-step {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.ad-run-compact .lp-run-text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-ink-soft);
  line-height: 1.45;
}
.ad-limit-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.ad-limit-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--color-ink-soft);
}
.ad-limit-list svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: var(--color-signal, #c45c26);
}

.ad-sticky-cta {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border-radius: 0;
}

body:has(.ad-sticky-cta) {
  padding-bottom: 3.25rem;
}

#hoerprobe,
#problem,
#leistung,
#belege,
#einwaende,
#einstieg,
#fragen,
#erleben,
#rueckruf {
  scroll-margin-top: 6.5rem;
}

@media (min-width: 960px) {
  .ad-sticky-cta {
    display: none;
  }

  body:has(.ad-sticky-cta) {
    padding-bottom: 0;
  }
}
