/* ==========================================================================
   WERKSTATT.AI by GRADEN – Hero
   ========================================================================== */

:root {
  --bg: #0b0b0c;
  --bg-2: #101012;
  --surface: #151517;
  --graphite: #1d1d20;
  --graphite-2: #2a2a2e;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #f2ede4;
  --text-dim: #aaa49a;
  --text-faint: #75706a;
  --gold: #d8c48f;
  --gold-soft: #e9dcb4;
  --gold-deep: #a8955f;
  --live: #86b28f;

  --font-display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .8, .24, 1);
  --pad: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p, h1 { margin: 0; }
.mono { font-family: var(--font-mono); letter-spacing: .01em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 15px/1 var(--font-body);
  letter-spacing: .005em;
  padding: 16px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform .35s var(--ease); }
.btn--primary {
  color: #17140c;
  background: linear-gradient(180deg, #ecdfb8 0%, #d8c48f 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 10px 30px -10px rgba(216,196,143,.45);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 16px 36px -10px rgba(216,196,143,.6); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: rgba(216,196,143,.5); background: rgba(216,196,143,.05); }
.btn--nav {
  padding: 11px 20px; font-size: 14px;
  color: var(--gold-soft);
  border-color: rgba(216,196,143,.4);
  background: rgba(216,196,143,.04);
}
.btn--nav:hover { background: rgba(216,196,143,.12); border-color: var(--gold); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11,11,12,.62);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: 1360px; margin: 0 auto;
  padding: 18px var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.nav__inner .btn--nav { justify-self: end; }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand__mark { display: grid; place-items: center; color: var(--text); }
.brand__text { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.brand__name { font: 700 17px/1 var(--font-display); letter-spacing: .09em; }
.brand__name i { font-style: normal; color: var(--gold); letter-spacing: .04em; }
.brand__by { font: 500 10px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); }
.brand img { display: block; height: 46px; width: auto; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  font-size: 14px; color: var(--text-dim);
  padding: 8px 14px; border-radius: 999px;
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.05); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 112px 0 64px;
  overflow: hidden;
}
.hero__inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1360px; margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
}

/* Hintergrund */
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.bg-glow { position: absolute; border-radius: 50%; will-change: transform; }
.bg-glow--a {
  width: 900px; height: 900px; right: -120px; top: 50%; margin-top: -450px;
  background: radial-gradient(closest-side, rgba(216,196,143,.13), rgba(216,196,143,.04) 55%, transparent 75%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.bg-glow--b {
  width: 760px; height: 760px; left: -260px; top: -280px;
  background: radial-gradient(closest-side, rgba(120,112,98,.14), transparent 70%);
  animation: drift-b 28s ease-in-out infinite alternate;
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 68% 48%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 68% 48%, #000 0%, transparent 75%);
}
.bg-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 120% 90% at 50% 40%, transparent 40%, rgba(0,0,0,.55) 100%),
    linear-gradient(to bottom, transparent 82%, var(--bg) 100%);
}
@keyframes drift-a { to { transform: translate3d(-60px, 30px, 0) scale(1.06); } }
@keyframes drift-b { to { transform: translate3d(80px, 50px, 0) scale(1.1); } }

/* Copy */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.eyebrow__line { width: 36px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.7rem, 5.2vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__title .l1, .hero__title .l2 { display: block; }
.hero__title .l1 { color: var(--text); }
.hero__title .l2 { margin-top: .22em; color: #b3ada2; }
.hero__title em {
  font-style: normal;
  color: var(--gold);
  background: linear-gradient(180deg, #ecdfb8 0%, #d8c48f 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  margin-top: 32px; max-width: 30em;
  font-size: clamp(1.02rem, 1.25vw, 1.2rem);
  line-height: 1.6; color: var(--text-dim);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 6px 0;
  margin-top: 44px;
  font: 400 12.5px/1.4 var(--font-mono); letter-spacing: .02em;
  color: var(--text-faint);
}
.hero__trust li + li::before { content: '·'; margin: 0 12px; color: var(--gold-deep); }

/* ==========================================================================
   Produkt-Demo
   ========================================================================== */
.hero__demo { display: flex; justify-content: center; align-items: center; min-width: 0; }

.stage {
  --mx: 0; --my: 0;
  position: relative;
  width: 600px; height: 640px; flex: none;
  transition: opacity .9s var(--ease);
}
.stage.is-fading { opacity: 0; }
.stage.no-trans *, .stage.no-trans *::before, .stage.no-trans *::after { transition: none !important; }
.stage__glow {
  position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; margin: -380px 0 0 -380px;
  background:
    radial-gradient(closest-side, rgba(233,220,180,.12), rgba(216,196,143,.045) 50%, transparent 72%);
  pointer-events: none;
}

/* Schichten */
.layer { position: absolute; }
.px { transform: translate3d(calc(var(--mx) * var(--d, 1) * 16px), calc(var(--my) * var(--d, 1) * 11px), 0); will-change: transform; }
.enter {
  opacity: 0; transform: translate3d(0, 22px, 0) scale(.965);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
}
.float { animation: float var(--fd, 8s) ease-in-out infinite alternate; }
@keyframes float { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, var(--fy, -6px), 0); } }

.layer--stats { left: 0; top: 478px; width: 252px; }
.layer--call  { left: 0; top: 22px;  width: 272px; }
.layer--core  { left: 236px; top: 284px; width: 72px; }
.layer--book  { left: 332px; top: 0;   width: 268px; }
.layer--chat  { left: 322px; top: 336px; width: 278px; }

/* Karten-Grundstil (Glas) */
.card {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(36,36,39,.86) 0%, rgba(19,19,21,.88) 100%);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(255,255,255,.07) inset,
    0 30px 60px -24px rgba(0,0,0,.75),
    0 8px 20px -8px rgba(0,0,0,.5);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 16px;
  overflow: hidden;
  transition: border-color .8s var(--ease), box-shadow .8s var(--ease);
}
.card::before { /* feine Glanzkante oben */
  content: ''; position: absolute; left: 12%; right: 12%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
}
.card__head { display: flex; align-items: center; gap: 9px; height: 22px; margin-bottom: 14px; }
.card__title { font: 600 13px/1 var(--font-body); letter-spacing: .005em; }
.card__meta { margin-left: auto; font-size: 10.5px; color: var(--text-faint); display: inline-flex; align-items: center; gap: 6px; }

/* Statistik (Hintergrund) */
.stats { height: 118px; opacity: .62; padding: 14px 16px; }
.stats__head { display: flex; justify-content: space-between; font: 500 11px/1 var(--font-body); color: var(--text-faint); margin-bottom: 10px; }
.stats__row { display: flex; gap: 28px; }
.stats__row b { display: block; font: 600 22px/1 var(--font-display); letter-spacing: -.02em; color: var(--text); }
.stats__row span { display: block; margin-top: 5px; font-size: 10.5px; color: var(--text-faint); }
.stats__bars { position: absolute; right: 16px; bottom: 14px; height: 34px; display: flex; align-items: flex-end; gap: 4px; }
.stats__bars i { width: 5px; height: var(--h); border-radius: 2px; background: linear-gradient(to top, rgba(216,196,143,.15), rgba(216,196,143,.5)); }

/* ---------- Telefonagent ---------- */
.call { height: 252px; }
.live-dot, .on-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; display: inline-block; }
.live-dot::after, .on-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s ease-out infinite; }
.on-dot { width: 6px; height: 6px; }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

.call__who { font: 500 12px/1 var(--font-mono); color: var(--text-dim); letter-spacing: .03em; margin-bottom: 10px; }
.wave { display: flex; align-items: center; justify-content: space-between; gap: 3px; height: 46px; }
.wave i {
  flex: 1; max-width: 5px; height: 100%; border-radius: 3px;
  background: rgba(242,237,228,.78);
  transform: scaleY(.1);
  transform-origin: center;
  transition: background-color .9s var(--ease), opacity .9s var(--ease);
}
.k-call .wave i { animation: wave var(--t, 1s) ease-in-out var(--dl, 0s) infinite alternate; }
@keyframes wave { from { transform: scaleY(.1); } to { transform: scaleY(var(--a, .8)); } }
.k-take .wave i { background: var(--gold); }
.k-search .wave i { opacity: .38; animation-duration: calc(var(--t) * 1.8); }
.k-book .wave i { animation: none; transform: scaleY(.08); opacity: .3; }

.call__say { margin-top: 10px; height: 18px; font-size: 12.5px; color: var(--text-dim); font-style: italic; opacity: 0; transform: translateY(4px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.call__say mark { background: none; color: var(--text); font-style: normal; font-weight: 500; }
.k-say .call__say { opacity: 1; transform: none; }

.call__foot { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.status { position: relative; height: 20px; margin-bottom: 12px; font: 500 13px/20px var(--font-body); }
.st {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  opacity: 0; transform: translate3d(0, 7px, 0);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  color: var(--text-dim);
}
.sd { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
.st-2 { color: var(--text); } .st-2 .sd { background: var(--gold); }
.st-3 { color: var(--text); } .st-3 .sd { background: var(--gold); animation-duration: 1.1s; }
.st-4 { color: var(--gold-soft); gap: 7px; }
.st-4 svg { color: var(--gold); }
.dots u { text-decoration: none; animation: dot 1.4s infinite; opacity: .2; }
.dots u:nth-child(2) { animation-delay: .2s; } .dots u:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 30% { opacity: 1; } 60%, 100% { opacity: .2; } }
.stage[data-status="1"] .st-1, .stage[data-status="2"] .st-2, .stage[data-status="3"] .st-3, .stage[data-status="4"] .st-4 { opacity: 1; transform: none; }
.stage[data-status="1"] .st-1, .stage[data-status="2"] .st-2, .stage[data-status="3"] .st-3 { }

.intent {
  display: flex; align-items: center; justify-content: space-between;
  height: 42px; padding: 0 14px; border-radius: 12px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line);
  opacity: 0; transform: translate3d(0, 8px, 0);
  transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .7s var(--ease);
}
.intent__k { font: 400 11px/1 var(--font-mono); color: var(--text-faint); letter-spacing: .02em; }
.intent__v { font: 600 13px/1 var(--font-body); color: var(--gold-soft); }
.k-intent .intent { opacity: 1; transform: none; border-color: rgba(216,196,143,.28); }

/* ---------- Zentrales Element ---------- */
.core { position: relative; width: 72px; height: 72px; }
.core__chip {
  position: absolute; inset: 0; border-radius: 22px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #26262a, #121214);
  border: 1px solid rgba(216,196,143,.28);
  box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 20px 40px -12px rgba(0,0,0,.8), 0 0 0 6px rgba(216,196,143,.03);
  transition: box-shadow .9s var(--ease), border-color .9s var(--ease);
}
.core__chip::before { /* feiner innerer Ring */
  content: ''; position: absolute; inset: 7px; border-radius: 16px; border: 1px solid rgba(255,255,255,.05);
}
.core__ai { font: 700 20px/1 var(--font-display); letter-spacing: .06em; color: var(--text-faint); transition: color .9s var(--ease); }
.core__ring { position: absolute; inset: 0; border-radius: 22px; border: 1px solid var(--gold); opacity: 0; pointer-events: none; }
.core__label { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); font-size: 9.5px; letter-spacing: .22em; color: var(--text-faint); white-space: nowrap; transition: color .9s var(--ease); }
.k-take .core__chip { border-color: rgba(216,196,143,.6); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 20px 40px -12px rgba(0,0,0,.8), 0 0 0 6px rgba(216,196,143,.06), 0 0 46px -4px rgba(216,196,143,.35); }
.k-take .core__ai { color: var(--gold-soft); }
.k-take .core__label { color: var(--gold); }
.k-take .core__ring--1 { animation: ring 3.2s ease-out infinite; }
.k-take .core__ring--2 { animation: ring 3.2s ease-out 1.6s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- Linien ---------- */
.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.link__base { stroke: rgba(255,255,255,.16); stroke-width: 1; stroke-dasharray: 2 5; opacity: 0; transition: opacity 1s var(--ease); }
.link__lit { stroke: url(#lg); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 24 100; stroke-dashoffset: 24; opacity: 0; transition: opacity .8s var(--ease); }
.k-call .link__base { opacity: 1; }
.k-take .link--call .link__lit { opacity: 1; animation: flow 2.4s linear infinite; }
.k-search .link--book .link__lit { opacity: 1; animation: flow 2.4s linear infinite; }
.k-c1 .link--chat .link__lit { opacity: 1; animation: flow 2.4s linear infinite; }
.k-book .link--call .link__lit, .k-book .link--book .link__lit { animation-play-state: running; }
@keyframes flow { to { stroke-dashoffset: -100; } }

/* ---------- Terminkalender ---------- */
.book { height: 240px; }
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 12px; }
.day { position: relative; display: grid; justify-items: center; gap: 5px; padding: 8px 0 7px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: background-color .7s var(--ease), border-color .7s var(--ease); }
.day small { font: 500 10.5px/1 var(--font-mono); color: var(--text-faint); transition: color .7s var(--ease); }
.day i { width: 5px; height: 5px; border-radius: 50%; background: var(--graphite-2); transition: background-color .7s var(--ease), box-shadow .7s var(--ease); }
.day.is-scan { border-color: rgba(216,196,143,.28); }
.k-book .day--di, .k-b2 .day--mi { background: rgba(216,196,143,.07); border-color: rgba(216,196,143,.4); }
.k-book .day--di small, .k-b2 .day--mi small { color: var(--gold-soft); }
.k-book .day--di i, .k-b2 .day--mi i { background: var(--gold); box-shadow: 0 0 10px rgba(216,196,143,.7); }

.slot {
  position: relative; height: 64px; padding: 0 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03);
  overflow: hidden;
  transition: border-color .8s var(--ease), background-color .8s var(--ease), box-shadow .8s var(--ease);
}
.slot + .slot { margin-top: 8px; height: 52px; }
.slot__main { position: relative; z-index: 1; display: grid; gap: 6px; opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.slot__when { display: flex; align-items: baseline; gap: 10px; }
.slot__when b { font: 600 17px/1 var(--font-display); letter-spacing: -.01em; }
.slot__when span { font-size: 12.5px; color: var(--gold-soft); }
.slot__what { font-size: 11.5px; color: var(--text-dim); }
.slot__what em { font-style: normal; color: var(--text-faint); }
.slot--2 .slot__when b { font-size: 14.5px; }
.slot__ok {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  font: 500 11.5px/1 var(--font-body); color: var(--gold-soft);
  width: 26px; height: 26px; justify-content: center; border-radius: 50%; background: rgba(216,196,143,.12); border: 1px solid rgba(216,196,143,.4);
  opacity: 0; transform: scale(.7); transition: opacity .7s var(--ease) .15s, transform .7s var(--ease) .15s;
}
.slot__ok svg { color: var(--gold); }
.slot__scan { /* Such-Schimmer */
  position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(216,196,143,.14) 50%, transparent 70%);
  transform: translate3d(-100%, 0, 0);
}
.k-search:not(.k-book) .slot__scan { opacity: 1; animation: scan 1.5s var(--ease) infinite; }
@keyframes scan { to { transform: translate3d(100%, 0, 0); } }
.k-book .slot__main { opacity: 1; transform: none; }
.k-book .slot__ok { opacity: 1; transform: none; }
.k-book .slot:not(.slot--2) { border-color: rgba(216,196,143,.4); background: rgba(216,196,143,.045); box-shadow: 0 0 40px -10px rgba(216,196,143,.4) inset; }
.k-b2 .slot--2 .slot__main { opacity: 1; transform: none; }
.k-b2 .slot--2 { border-color: rgba(216,196,143,.25); }
.k-book .book { border-color: rgba(216,196,143,.3); box-shadow: 0 1px 0 rgba(255,255,255,.07) inset, 0 30px 60px -24px rgba(0,0,0,.75), 0 0 60px -20px rgba(216,196,143,.45); }
.k-book .book::after { /* einmaliges Aufleuchten */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 70%, rgba(233,220,180,.18), transparent 70%);
  animation: flash 1.8s var(--ease) 1 both;
}
@keyframes flash { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Chat ---------- */
.chat { height: 296px; }
.chat__avatar { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font: 700 9.5px/1 var(--font-display); letter-spacing: .04em; color: var(--gold-soft); background: linear-gradient(160deg, #2b2b2f, #151517); border: 1px solid rgba(216,196,143,.35); }
.chat__body { display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 86%; padding: 10px 13px; font-size: 12.5px; line-height: 1.45; opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.msg--user { align-self: flex-end; color: var(--text); background: var(--graphite-2); border: 1px solid var(--line-strong); border-radius: 14px 14px 4px 14px; }
.msg--ai { align-self: flex-start; color: var(--text); background: rgba(216,196,143,.08); border: 1px solid rgba(216,196,143,.22); border-radius: 14px 14px 14px 4px; }
.msg__who { display: block; margin-bottom: 4px; font-size: 9px; letter-spacing: .16em; color: var(--gold); }
.msg-slot { display: grid; }
.msg-slot > * { grid-area: 1 / 1; }
.typing { display: flex; align-items: center; gap: 5px; width: 54px; height: 36px; padding: 0 16px; align-self: start; }
.typing u { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); animation: typing 1.2s ease-in-out infinite; }
.typing u:nth-child(2) { animation-delay: .15s; } .typing u:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-3px); opacity: 1; } }
.k-c1 .m1 { opacity: 1; transform: none; }
.k-c2 .typing { opacity: 1; transform: none; }
.k-c3 .typing { opacity: 0; transform: none; transition-duration: .25s; }
.k-c3 .m2 { opacity: 1; transform: none; }
.k-c4 .m3 { opacity: 1; transform: none; }
.chat__ok {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin-top: 2px;
  font: 500 12px/1 var(--font-body); color: var(--gold-soft);
  padding: 9px 13px; border-radius: 999px; background: rgba(216,196,143,.1); border: 1px solid rgba(216,196,143,.32);
  opacity: 0; transform: translate3d(0, 6px, 0) scale(.96); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow 1s var(--ease);
}
.chat__ok svg { color: var(--gold); }
.k-c5 .chat__ok { opacity: 1; transform: none; box-shadow: 0 0 30px -4px rgba(216,196,143,.45); }
.k-c5 .chat { border-color: rgba(216,196,143,.28); }

/* Einblenden der Ebenen */
.k-base .layer--stats .enter,
.k-base .layer--core .enter { opacity: 1; transform: none; transition-delay: .1s; }
.k-call .layer--call .enter { opacity: 1; transform: none; }
.k-search .layer--book .enter { opacity: 1; transform: none; }
.k-chat .layer--chat .enter { opacity: 1; transform: none; }
.k-base .layer--stats .enter { transition-delay: .4s; }
.k-base .layer--stats .enter { opacity: 1; }
.layer--stats .enter { opacity: 0; }
.k-base .layer--stats .stats { opacity: .62; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1560px) { .stage { zoom: 1.12; } }

@media (max-width: 1240px) and (min-width: 1061px) { .stage { zoom: .88; } }
@media (max-width: 1160px) and (min-width: 1061px) { .stage { zoom: .8; } }

/* Tablet & Mobil: einspaltig */
@media (max-width: 1060px) {
  .hero { align-items: flex-start; padding-top: 128px; }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__title { font-size: clamp(2.5rem, 8vw, 4.6rem); }
  .hero__lead { max-width: 34em; }
  .hero__demo { justify-content: flex-start; }
  .stage { zoom: 1; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .brand img { height: 38px; }
  .nav__inner { grid-template-columns: 1fr auto; padding-top: 14px; padding-bottom: 14px; }
  .hero__demo { justify-content: center; }
}

/* Mobil: Karten neu anordnen statt verkleinern */
@media (max-width: 720px) {
  .hero { padding: 108px 0 56px; }
  .eyebrow { margin-bottom: 24px; }
  .hero__lead { margin-top: 24px; }
  .hero__cta { margin-top: 32px; }
  .hero__cta .btn { flex: 1 1 100%; padding: 17px 24px; }
  .hero__trust { margin-top: 32px; }
  .hero__trust { flex-direction: column; gap: 8px; }
  .hero__trust li::before, .hero__trust li + li::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-deep); margin: 0 12px 2px 0; }

  .stage {
    width: 100%; max-width: 420px; height: auto;
    display: flex; flex-direction: column; align-items: center; gap: 0;
  }
  .stage__glow, .links, .layer--stats, .core__label { display: none; }
  .layer { position: relative; left: auto; top: auto; width: 100%; }
  .px { transform: none; }
  .layer--call { order: 1; }
  .layer--core { order: 2; width: 56px; height: 56px; margin: -10px 0; z-index: 2; }
  .layer--book { order: 3; margin-left: 20px; width: calc(100% - 20px); }
  .layer--chat { order: 4; margin-top: 14px; margin-right: 20px; width: calc(100% - 20px); align-self: flex-start; }
  .core { width: 56px; height: 56px; }
  .core__chip { border-radius: 18px; }
  .core__ai { font-size: 16px; }
  .core__ring { border-radius: 18px; }
  .layer--core .enter { opacity: 1; transform: none; }
  .call, .book, .chat { box-shadow: 0 1px 0 rgba(255,255,255,.07) inset, 0 24px 48px -24px rgba(0,0,0,.8); }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .px { transform: none; }
  .wave i { transform: scaleY(calc(var(--a, .6) * .6)) !important; }
}
