
/* ============================================================
   ECHELONX GLOBAL · XELIA CHAT + CONSENT · STAGE 09.5
   ============================================================ */

:root {
  --ex-global-ink:#171717;
  --ex-global-paper:#f4f0e9;
  --ex-global-paper-2:#fbfaf7;
  --ex-global-line:rgba(23,23,23,.10);
  --ex-global-muted:rgba(23,23,23,.56);
}

.sr-only {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

.ex-global-layer [hidden] { display:none!important; }

/* ---------------- XELIA LAUNCHER ---------------- */
.ex-xelia-launcher {
  position:fixed;
  z-index:9997;
  right:22px;
  bottom:22px;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:58px;
  padding:7px 13px 7px 7px;
  border:1px solid rgba(23,23,23,.10);
  border-radius:999px;
  background:rgba(250,248,244,.90);
  color:var(--ex-global-ink);
  box-shadow:0 16px 42px rgba(25,25,25,.16);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ex-xelia-launcher:hover {
  transform:translateY(-2px);
  background:#fff;
  box-shadow:0 22px 54px rgba(25,25,25,.19);
}
.ex-xelia-avatar {
  position:relative;
  display:block;
  width:44px;
  height:44px;
  overflow:hidden;
  border-radius:50%;
  background:#e9e3db;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.75);
}
.ex-xelia-avatar img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 29%;
  transform:scale(1.12);
}
.ex-xelia-launcher-copy {
  display:grid;
  gap:1px;
  text-align:left;
}
.ex-xelia-launcher-copy strong {
  font-size:13px;
  line-height:1;
  font-weight:650;
  letter-spacing:-.01em;
}
.ex-xelia-launcher-copy small {
  font-size:9px;
  color:rgba(23,23,23,.48);
}
.ex-xelia-live-dot {
  width:7px;
  height:7px;
  margin-left:2px;
  border-radius:50%;
  background:#45a276;
  box-shadow:0 0 0 4px rgba(69,162,118,.10);
}

/* ---------------- XELIA PANEL ---------------- */
.ex-xelia-chat {
  position:fixed;
  z-index:9998;
  right:22px;
  bottom:94px;
  width:min(420px,calc(100vw - 32px));
  max-height:min(720px,calc(100vh - 120px));
  display:grid;
  grid-template-rows:auto auto minmax(170px,1fr) auto auto auto;
  overflow:hidden;
  border:1px solid rgba(23,23,23,.10);
  border-radius:24px;
  background:
    radial-gradient(circle at 88% 0%,rgba(255,255,255,.96),transparent 30%),
    rgba(246,242,236,.97);
  box-shadow:0 34px 90px rgba(18,18,18,.22);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
}
.ex-xelia-chat-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px 12px;
  border-bottom:1px solid rgba(23,23,23,.075);
  background:rgba(255,255,255,.48);
}
.ex-xelia-chat-person {
  display:flex;
  align-items:center;
  gap:10px;
}
.ex-xelia-avatar-small {
  width:38px;
  height:38px;
}
.ex-xelia-chat-person > div {
  display:grid;
  gap:2px;
}
.ex-xelia-chat-person strong {
  font-size:14px;
}
.ex-xelia-chat-person small {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:9px;
  color:rgba(23,23,23,.48);
}
.ex-xelia-chat-person small i {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#45a276;
}
.ex-xelia-chat-head > button {
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:rgba(23,23,23,.55);
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.ex-xelia-chat-head > button:hover { background:rgba(23,23,23,.055); }

.ex-xelia-chat-intro {
  padding:20px 20px 17px;
}
.ex-xelia-chat-intro > span {
  font-size:7px;
  letter-spacing:.20em;
  color:rgba(23,23,23,.39);
}
.ex-xelia-chat-intro > strong {
  display:block;
  margin-top:8px;
  font-size:26px;
  line-height:1;
  letter-spacing:-.04em;
  font-weight:520;
}
.ex-xelia-chat-intro p {
  margin:10px 0 0;
  max-width:37ch;
  font-size:11px;
  line-height:1.48;
  color:rgba(23,23,23,.58);
}

.ex-xelia-messages {
  overflow-y:auto;
  padding:3px 16px 14px;
  scroll-behavior:smooth;
}
.ex-xelia-message {
  width:fit-content;
  max-width:88%;
  margin:9px 0;
  padding:11px 13px;
  border-radius:15px;
  line-height:1.48;
}
.ex-xelia-message p {
  margin:0;
  white-space:pre-wrap;
  font-size:12px;
}
.ex-xelia-msg-label {
  display:block;
  margin-bottom:5px;
  font-size:6px;
  letter-spacing:.17em;
  opacity:.48;
}
.ex-xelia-message-assistant {
  border:1px solid rgba(23,23,23,.065);
  background:rgba(255,255,255,.72);
  color:#171717;
}
.ex-xelia-message-user {
  margin-left:auto;
  background:#171717;
  color:#fff;
}
.ex-xelia-message-user .ex-xelia-msg-label { color:rgba(255,255,255,.76); }

.ex-xelia-typing {
  display:flex;
  align-items:center;
  gap:4px;
  min-width:52px;
}
.ex-xelia-typing i {
  width:5px;
  height:5px;
  border-radius:50%;
  background:rgba(23,23,23,.40);
  animation:exTyping 1s ease-in-out infinite alternate;
}
.ex-xelia-typing i:nth-child(2){animation-delay:.15s}
.ex-xelia-typing i:nth-child(3){animation-delay:.3s}
@keyframes exTyping { from{opacity:.25;transform:translateY(1px)} to{opacity:.85;transform:translateY(-1px)} }

.ex-xelia-suggestions {
  display:flex;
  gap:6px;
  overflow-x:auto;
  padding:0 16px 10px;
  scrollbar-width:none;
}
.ex-xelia-suggestions::-webkit-scrollbar { display:none; }
.ex-xelia-suggestions button {
  flex:0 0 auto;
  padding:8px 10px;
  border:1px solid rgba(23,23,23,.085);
  border-radius:999px;
  background:rgba(255,255,255,.62);
  color:rgba(23,23,23,.70);
  font:inherit;
  font-size:9px;
  cursor:pointer;
}
.ex-xelia-suggestions button:hover { background:#fff; color:#171717; }

.ex-xelia-compose {
  display:grid;
  grid-template-columns:1fr 42px;
  gap:8px;
  padding:11px 13px 10px;
  border-top:1px solid rgba(23,23,23,.075);
  background:rgba(255,255,255,.54);
}
.ex-xelia-compose textarea {
  width:100%;
  min-height:42px;
  max-height:112px;
  resize:none;
  border:1px solid rgba(23,23,23,.09);
  border-radius:13px;
  outline:none;
  padding:11px 12px;
  background:rgba(248,246,242,.88);
  color:#171717;
  font:inherit;
  font-size:12px;
  line-height:1.35;
}
.ex-xelia-compose textarea:focus {
  border-color:rgba(23,23,23,.28);
  box-shadow:0 0 0 4px rgba(23,23,23,.035);
}
.ex-xelia-compose button {
  width:42px;
  height:42px;
  border:0;
  border-radius:13px;
  background:#171717;
  color:#fff;
  font-size:17px;
  cursor:pointer;
}
.ex-xelia-compose button:disabled { opacity:.42; cursor:wait; }

.ex-xelia-privacy {
  margin:0;
  padding:0 14px 11px;
  text-align:center;
  font-size:8px;
  color:rgba(23,23,23,.42);
  background:rgba(255,255,255,.54);
}
.ex-xelia-privacy a { color:inherit; }

/* ---------------- CONSENT LAUNCHER ---------------- */
.ex-consent-launcher {
  position:fixed;
  z-index:9996;
  left:18px;
  bottom:18px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid rgba(23,23,23,.10);
  border-radius:50%;
  background:rgba(248,246,242,.86);
  color:rgba(23,23,23,.67);
  box-shadow:0 12px 28px rgba(25,25,25,.10);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  cursor:pointer;
}
.ex-consent-launcher span {
  display:block;
  font-size:18px;
  transform:rotate(45deg);
}

/* ---------------- CONSENT BANNER ---------------- */
.ex-consent-banner {
  position:fixed;
  z-index:10000;
  left:18px;
  right:18px;
  bottom:18px;
  width:min(1180px,calc(100vw - 36px));
  margin-inline:auto;
  display:grid;
  grid-template-columns:1fr auto;
  gap:35px;
  align-items:end;
  padding:25px 27px;
  border:1px solid rgba(23,23,23,.10);
  border-radius:22px;
  background:rgba(248,245,240,.97);
  box-shadow:0 34px 90px rgba(20,20,20,.21);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
}
.ex-consent-copy > span,
.ex-consent-dialog header span {
  font-size:7px;
  letter-spacing:.20em;
  color:rgba(23,23,23,.40);
}
.ex-consent-copy h2 {
  margin:8px 0 0;
  font-size:30px;
  line-height:1;
  letter-spacing:-.04em;
  font-weight:530;
}
.ex-consent-copy p {
  margin:10px 0 0;
  max-width:72ch;
  color:rgba(23,23,23,.62);
  font-size:11px;
  line-height:1.48;
}
.ex-consent-copy a {
  display:inline-block;
  margin-top:10px;
  color:#171717;
  font-size:9px;
  text-decoration:none;
}
.ex-consent-actions {
  display:grid;
  grid-template-columns:repeat(2,auto);
  gap:8px;
  min-width:340px;
}
.ex-consent-primary,
.ex-consent-secondary,
.ex-consent-link {
  min-height:43px;
  padding:0 17px;
  border-radius:999px;
  font:inherit;
  font-size:10px;
  cursor:pointer;
}
.ex-consent-primary {
  border:1px solid #171717;
  background:#171717;
  color:#fff;
}
.ex-consent-secondary {
  border:1px solid rgba(23,23,23,.12);
  background:rgba(255,255,255,.70);
  color:#171717;
}
.ex-consent-link {
  grid-column:1 / -1;
  min-height:28px;
  border:0;
  background:transparent;
  color:rgba(23,23,23,.54);
}

/* ---------------- CONSENT MODAL ---------------- */
.ex-consent-modal {
  position:fixed;
  z-index:10001;
  inset:0;
  display:grid;
  place-items:center;
  padding:18px;
}
.ex-consent-backdrop {
  position:absolute;
  inset:0;
  background:rgba(18,18,18,.34);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
.ex-consent-dialog {
  position:relative;
  z-index:1;
  width:min(650px,100%);
  max-height:min(760px,calc(100vh - 36px));
  overflow:auto;
  padding:25px;
  border:1px solid rgba(255,255,255,.65);
  border-radius:24px;
  background:#f7f4ef;
  box-shadow:0 38px 100px rgba(0,0,0,.28);
}
.ex-consent-dialog header {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
}
.ex-consent-dialog h2 {
  margin:7px 0 0;
  font-size:34px;
  line-height:.98;
  letter-spacing:-.045em;
}
.ex-consent-dialog header > button {
  width:34px;
  height:34px;
  flex:0 0 34px;
  border:0;
  border-radius:50%;
  background:rgba(23,23,23,.05);
  font-size:22px;
  cursor:pointer;
}
.ex-consent-category {
  display:grid;
  grid-template-columns:1fr auto;
  gap:22px;
  align-items:center;
  padding:20px 0;
  border-top:1px solid rgba(23,23,23,.09);
}
.ex-consent-category:first-of-type { margin-top:24px; }
.ex-consent-category strong {
  font-size:15px;
}
.ex-consent-category p {
  margin:5px 0 0;
  max-width:54ch;
  font-size:10px;
  line-height:1.48;
  color:rgba(23,23,23,.57);
}
.ex-consent-always {
  padding:7px 10px;
  border-radius:999px;
  background:rgba(23,23,23,.06);
  font-size:8px;
  color:rgba(23,23,23,.55);
}
.ex-consent-category-toggle { cursor:pointer; }
.ex-consent-category-toggle input {
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.ex-toggle {
  position:relative;
  width:46px;
  height:26px;
  border-radius:999px;
  background:rgba(23,23,23,.16);
  transition:background .18s ease;
}
.ex-toggle::after {
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 7px rgba(0,0,0,.15);
  transition:transform .18s ease;
}
.ex-consent-category-toggle input:checked + .ex-toggle {
  background:#171717;
}
.ex-consent-category-toggle input:checked + .ex-toggle::after {
  transform:translateX(20px);
}
.ex-consent-dialog-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.ex-consent-note {
  margin:14px 0 0;
  font-size:9px;
  line-height:1.45;
  color:rgba(23,23,23,.45);
}

/* Footer cookie button */
.ex-cookie-settings-link {
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  cursor:pointer;
}
.ex-cookie-settings-link:hover { text-decoration:underline; }

/* Datenschutz Seite */
.privacy-v1 {
  background:linear-gradient(180deg,#f7f4ef,#eee8df 45%,#f7f4ef);
  color:#171717;
}
.privacy-v1 .shell { width:min(92vw,1180px); }
.privacy-v1-hero {
  padding-top:150px;
  padding-bottom:80px;
}
.privacy-v1-kicker {
  font-size:8px;
  letter-spacing:.22em;
  color:rgba(23,23,23,.43);
}
.privacy-v1-hero h1 {
  margin:15px 0 0;
  max-width:10ch;
  font-size:clamp(70px,7vw,118px);
  line-height:.88;
  letter-spacing:-.06em;
  font-weight:520;
}
.privacy-v1-hero > p:last-child {
  max-width:70ch;
  margin:28px 0 0;
  font-size:17px;
  line-height:1.58;
  color:rgba(23,23,23,.65);
}
.privacy-v1-content {
  display:grid;
  grid-template-columns:260px 1fr;
  gap:70px;
  padding-bottom:120px;
}
.privacy-v1-nav {
  position:sticky;
  top:115px;
  align-self:start;
  display:grid;
  gap:3px;
  padding-top:8px;
}
.privacy-v1-nav a {
  padding:9px 0;
  color:rgba(23,23,23,.54);
  text-decoration:none;
  font-size:11px;
}
.privacy-v1-nav a:hover { color:#171717; }
.privacy-v1-main {
  display:grid;
  gap:16px;
}
.privacy-v1-card {
  padding:30px 32px;
  border:1px solid rgba(23,23,23,.075);
  border-radius:20px;
  background:rgba(255,255,255,.58);
  box-shadow:0 18px 42px rgba(45,45,45,.045);
}
.privacy-v1-card > span {
  font-size:7px;
  letter-spacing:.18em;
  color:rgba(23,23,23,.39);
}
.privacy-v1-card h2 {
  margin:9px 0 0;
  font-size:31px;
  line-height:1;
  letter-spacing:-.04em;
}
.privacy-v1-card h3 {
  margin:22px 0 7px;
  font-size:16px;
}
.privacy-v1-card p,
.privacy-v1-card li {
  font-size:12px;
  line-height:1.62;
  color:rgba(23,23,23,.66);
}
.privacy-v1-card ul { padding-left:18px; }
.privacy-v1-card a { color:#171717; }

@media (max-width:760px) {
  .ex-xelia-launcher {
    right:12px;
    bottom:12px;
    min-height:52px;
    padding:6px 9px 6px 6px;
  }
  .ex-xelia-avatar { width:40px;height:40px; }
  .ex-xelia-launcher-copy { display:none; }
  .ex-xelia-live-dot {
    position:absolute;
    right:3px;
    top:3px;
    border:2px solid #f7f4ef;
  }
  .ex-xelia-chat {
    right:8px;
    bottom:72px;
    width:calc(100vw - 16px);
    max-height:calc(100dvh - 90px);
    border-radius:20px;
  }
  .ex-consent-launcher {
    left:10px;
    bottom:10px;
    width:39px;
    height:39px;
  }
  .ex-consent-banner {
    left:8px;
    right:8px;
    bottom:8px;
    width:calc(100vw - 16px);
    grid-template-columns:1fr;
    gap:20px;
    padding:20px;
    border-radius:19px;
  }
  .ex-consent-copy h2 { font-size:26px; }
  .ex-consent-actions {
    grid-template-columns:1fr;
    min-width:0;
  }
  .ex-consent-link { grid-column:auto; }
  .ex-consent-primary,
  .ex-consent-secondary,
  .ex-consent-link { width:100%; }
  .ex-consent-dialog {
    padding:21px 18px;
    border-radius:20px;
  }
  .ex-consent-dialog h2 { font-size:29px; }
  .ex-consent-category { grid-template-columns:1fr auto;gap:13px; }
  .privacy-v1-hero { padding-top:115px;padding-bottom:58px; }
  .privacy-v1-hero h1 { font-size:clamp(55px,15vw,78px); }
  .privacy-v1-content { grid-template-columns:1fr;gap:30px;padding-bottom:85px; }
  .privacy-v1-nav { position:static;grid-template-columns:repeat(2,minmax(0,1fr)); }
  .privacy-v1-card { padding:24px 20px;border-radius:17px; }
}
@media (prefers-reduced-motion: reduce) {
  .ex-xelia-launcher,
  .ex-toggle,
  .ex-toggle::after { transition:none; }
  .ex-xelia-typing i { animation:none; }
}


/* ============================================================
   STAGE 09.6 · XELIA WOW CHAT
   Front-facing · Platinum Glass · Champagne Light
   ============================================================ */

:root {
  --xelia-wow-ink: #161514;
  --xelia-wow-platinum: #f5f1eb;
  --xelia-wow-glass: rgba(249,247,243,.86);
  --xelia-wow-champagne: #c6a67e;
  --xelia-wow-champagne-soft: rgba(198,166,126,.28);
  --xelia-wow-line: rgba(255,255,255,.72);
}

/* Launcher – kompakter Premium-Button wie bisher, aber hochwertiger */
.ex-xelia-launcher {
  right: 22px;
  bottom: 20px;
  min-height: 64px;
  padding: 7px 16px 7px 7px;
  gap: 11px;
  border: 1px solid rgba(255,255,255,.78);
  background:
    linear-gradient(135deg, rgba(255,255,255,.93), rgba(238,232,224,.86));
  box-shadow:
    0 18px 48px rgba(24,21,18,.18),
    inset 0 1px 0 rgba(255,255,255,.95),
    0 0 0 1px rgba(126,104,80,.07);
}
.ex-xelia-launcher::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(120deg,
      rgba(255,255,255,.75),
      rgba(198,166,126,.20) 38%,
      rgba(255,255,255,.42) 68%,
      rgba(198,166,126,.17));
  filter: blur(6px);
  opacity: .65;
}
.ex-xelia-launcher:hover {
  transform: translateY(-3px);
  box-shadow:
    0 25px 60px rgba(24,21,18,.22),
    inset 0 1px 0 #fff,
    0 0 28px rgba(198,166,126,.15);
}
.ex-xelia-launcher .ex-xelia-avatar {
  width: 49px;
  height: 49px;
  border: 1px solid rgba(198,166,126,.44);
  box-shadow:
    0 0 0 3px rgba(255,255,255,.76),
    0 0 0 4px rgba(198,166,126,.15);
}
.ex-xelia-launcher-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 400;
}
.ex-xelia-launcher-copy small {
  font-size: 9px;
  letter-spacing: .02em;
}
.ex-xelia-live-dot {
  width: 9px;
  height: 9px;
  background: #30aa73;
  box-shadow:
    0 0 0 4px rgba(48,170,115,.11),
    0 0 14px rgba(48,170,115,.32);
}

/* Hauptpanel */
.ex-xelia-chat-wow {
  right: 24px;
  bottom: 103px;
  width: min(540px, calc(100vw - 40px));
  max-height: min(790px, calc(100dvh - 126px));
  grid-template-rows: auto auto minmax(190px,1fr) auto auto auto;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 31px;
  background:
    radial-gradient(circle at 85% 3%, rgba(255,255,255,.98), transparent 24%),
    radial-gradient(circle at 10% 88%, rgba(198,166,126,.08), transparent 30%),
    linear-gradient(148deg, rgba(250,248,244,.96), rgba(235,229,221,.91));
  box-shadow:
    0 46px 110px rgba(25,20,16,.24),
    0 0 0 1px rgba(115,91,68,.10),
    inset 0 1px 0 rgba(255,255,255,.98),
    inset 0 -1px 0 rgba(198,166,126,.12);
  backdrop-filter: blur(28px) saturate(1.08);
  -webkit-backdrop-filter: blur(28px) saturate(1.08);
  transform: none;
  isolation: isolate;
}

.ex-xelia-chat-wow::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -10px;
  border-radius: 38px;
  background:
    linear-gradient(135deg,
      rgba(255,255,255,.54),
      rgba(198,166,126,.26) 34%,
      rgba(255,255,255,.18) 56%,
      rgba(198,166,126,.30) 82%,
      rgba(255,255,255,.66));
  filter: blur(16px);
  opacity: .72;
  pointer-events: none;
}

.ex-xelia-chat-wow::after {
  content: "";
  position: absolute;
  z-index: 7;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.46),
    inset 2px 0 0 rgba(255,255,255,.44),
    inset -1px 0 0 rgba(198,166,126,.14);
}

.ex-xelia-edge-glow {
  position: absolute;
  z-index: -1;
  inset: 7px;
  border-radius: 25px;
  pointer-events: none;
  box-shadow:
    inset 0 0 22px rgba(255,255,255,.38),
    0 0 32px rgba(198,166,126,.08);
}

/* Header */
.ex-xelia-chat-wow .ex-xelia-chat-head {
  min-height: 88px;
  padding: 17px 21px;
  border-bottom: 1px solid rgba(120,97,75,.12);
  border-radius: 31px 31px 0 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.28));
}

.ex-xelia-chat-wow .ex-xelia-chat-person {
  gap: 13px;
}

.ex-xelia-chat-wow .ex-xelia-avatar-small {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(198,166,126,.52);
  box-shadow:
    0 0 0 4px rgba(255,255,255,.79),
    0 0 0 5px rgba(198,166,126,.15),
    0 7px 19px rgba(52,41,31,.13);
}

.ex-xelia-chat-wow .ex-xelia-chat-person strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.025em;
}

.ex-xelia-chat-wow .ex-xelia-chat-person small {
  margin-top: 3px;
  gap: 6px;
  font-size: 10px;
}
.ex-xelia-chat-wow .ex-xelia-chat-person small b {
  font-weight: 400;
  opacity: .42;
}

.ex-xelia-head-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.ex-xelia-head-mark {
  font-size: 13px;
  letter-spacing: .10em;
  color: rgba(23,23,23,.55);
}

.ex-xelia-chat-wow .ex-xelia-chat-head > .ex-xelia-head-actions > button {
  position: relative;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.ex-xelia-chat-wow .ex-xelia-chat-head > .ex-xelia-head-actions > button span {
  position: absolute;
  left: 8px;
  top: 18px;
  width: 22px;
  height: 1.5px;
  border-radius: 99px;
  background: rgba(23,23,23,.78);
}
.ex-xelia-chat-wow .ex-xelia-chat-head > .ex-xelia-head-actions > button span:first-child {
  transform: rotate(45deg);
}
.ex-xelia-chat-wow .ex-xelia-chat-head > .ex-xelia-head-actions > button span:last-child {
  transform: rotate(-45deg);
}

/* Intro – mehr Keynote/WOW */
.ex-xelia-chat-wow .ex-xelia-chat-intro {
  padding: 27px 28px 20px;
}

.ex-xelia-chat-wow .ex-xelia-chat-intro > span {
  color: #9a7857;
  font-size: 7px;
  letter-spacing: .29em;
}

.ex-xelia-chat-wow .ex-xelia-chat-intro > strong {
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 3vw, 47px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 400;
  color: #121110;
}

.ex-xelia-chat-wow .ex-xelia-chat-intro p {
  margin-top: 13px;
  max-width: 45ch;
  font-size: 13px;
  line-height: 1.52;
  color: rgba(35,32,29,.61);
}

/* Nachrichtenbereich */
.ex-xelia-chat-wow .ex-xelia-messages {
  margin: 0 20px;
  padding: 4px 5px 14px;
  border-radius: 22px;
  scrollbar-color: rgba(138,112,87,.26) transparent;
}

.ex-xelia-chat-wow .ex-xelia-message {
  max-width: 94%;
  padding: 16px 17px;
  border-radius: 19px;
}

.ex-xelia-chat-wow .ex-xelia-message p {
  font-size: 13px;
  line-height: 1.57;
}

.ex-xelia-chat-wow .ex-xelia-message-assistant {
  border: 1px solid rgba(255,255,255,.80);
  background:
    linear-gradient(145deg, rgba(255,255,255,.83), rgba(247,243,238,.73));
  box-shadow:
    0 13px 30px rgba(55,43,31,.065),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.ex-xelia-chat-wow .ex-xelia-message-user {
  background:
    linear-gradient(145deg, #181716, #292622);
  box-shadow:
    0 15px 31px rgba(30,27,24,.18),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.ex-xelia-chat-wow .ex-xelia-msg-label {
  margin-bottom: 7px;
  color: #9a7857;
}

/* Premium Prompt-Buttons – bewusst näher an der bisherigen EchelonX-Sprache */
.ex-xelia-suggestions-wow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 9px;
  overflow: visible;
  padding: 12px 19px 14px;
}

.ex-xelia-suggestions-wow button {
  position: relative;
  min-width: 0;
  min-height: 70px;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  padding: 10px 11px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.88), rgba(239,233,225,.72));
  color: rgba(25,23,21,.78);
  box-shadow:
    0 9px 25px rgba(57,45,33,.065),
    inset 0 0 0 1px rgba(139,110,81,.08),
    inset 0 1px 0 rgba(255,255,255,.98);
  text-align: left;
  font-size: 10px;
  line-height: 1.25;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.ex-xelia-suggestions-wow button::after {
  content: "";
  position: absolute;
  top: -65%;
  left: -50%;
  width: 48%;
  height: 220%;
  transform: rotate(23deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.74), transparent);
  opacity: 0;
  transition: left .45s ease, opacity .3s ease;
}

.ex-xelia-suggestions-wow button:hover {
  transform: translateY(-2px);
  border-color: rgba(198,166,126,.37);
  box-shadow:
    0 15px 32px rgba(57,45,33,.10),
    0 0 20px rgba(198,166,126,.09),
    inset 0 1px 0 #fff;
}

.ex-xelia-suggestions-wow button:hover::after {
  left: 110%;
  opacity: 1;
}

.ex-prompt-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #171513;
  background:
    linear-gradient(145deg, rgba(255,255,255,.84), rgba(224,215,204,.72));
  box-shadow:
    inset 0 0 0 1px rgba(126,98,72,.10),
    0 5px 14px rgba(57,45,33,.06);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1;
}

.ex-prompt-icon-euro {
  font-family: Arial, sans-serif;
  font-weight: 300;
}

/* Eingabe */
.ex-xelia-compose-wow {
  grid-template-columns: 1fr 58px;
  gap: 9px;
  padding: 10px 18px 12px;
  border-top: 0;
  background: transparent;
}

.ex-xelia-input-shell {
  position: relative;
  min-width: 0;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.93), rgba(236,230,222,.75));
  box-shadow:
    inset 0 0 0 1px rgba(122,96,71,.13),
    inset 0 1px 0 rgba(255,255,255,.98),
    0 10px 28px rgba(51,40,30,.07);
}

.ex-xelia-input-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 23px;
  background:
    linear-gradient(105deg,
      rgba(255,255,255,.62),
      rgba(198,166,126,.36),
      rgba(255,255,255,.52));
  filter: blur(5px);
  opacity: .48;
}

.ex-xelia-compose-wow textarea {
  position: relative;
  z-index: 2;
  min-height: 58px;
  max-height: 126px;
  border: 0;
  border-radius: 22px;
  padding: 19px 19px;
  background: transparent;
  font-size: 13px;
}

.ex-xelia-compose-wow textarea:focus {
  border: 0;
  box-shadow: none;
}

.ex-xelia-input-glint {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(198,166,126,.48), transparent);
  pointer-events: none;
}

.ex-xelia-compose-wow > button {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 21px;
  background:
    linear-gradient(145deg, #171615, #29251f);
  box-shadow:
    0 14px 31px rgba(27,24,20,.23),
    0 0 0 1px rgba(198,166,126,.26),
    inset 0 1px 0 rgba(255,255,255,.10);
  transition: transform .18s ease, box-shadow .18s ease;
}
.ex-xelia-compose-wow > button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px rgba(27,24,20,.28),
    0 0 25px rgba(198,166,126,.17),
    inset 0 1px 0 rgba(255,255,255,.11);
}
.ex-xelia-compose-wow > button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #f8f4ed;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Privacy-Zeile */
.ex-xelia-chat-wow .ex-xelia-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 18px 15px;
  color: rgba(41,37,33,.43);
  background: transparent;
  font-size: 8px;
}
.ex-xelia-chat-wow .ex-xelia-privacy svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ex-xelia-chat-wow .ex-xelia-privacy a {
  text-underline-offset: 2px;
}

/* Öffnungsanimation – nach vorne, nicht schräg */
.ex-xelia-chat-wow:not([hidden]) {
  animation: xeliaWowIn .34s cubic-bezier(.2,.78,.25,1);
}
@keyframes xeliaWowIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.975);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Mobile */
@media (max-width: 760px) {
  .ex-xelia-launcher {
    right: 10px;
    bottom: 10px;
    min-height: 54px;
    padding: 5px;
  }

  .ex-xelia-launcher .ex-xelia-avatar {
    width: 44px;
    height: 44px;
  }

  .ex-xelia-chat-wow {
    right: 8px;
    bottom: 72px;
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 84px);
    border-radius: 24px;
  }

  .ex-xelia-chat-wow .ex-xelia-chat-head {
    min-height: 73px;
    padding: 12px 15px;
    border-radius: 24px 24px 0 0;
  }

  .ex-xelia-chat-wow .ex-xelia-avatar-small {
    width: 45px;
    height: 45px;
  }

  .ex-xelia-chat-wow .ex-xelia-chat-person strong {
    font-size: 20px;
  }

  .ex-xelia-head-mark {
    display: none;
  }

  .ex-xelia-chat-wow .ex-xelia-chat-intro {
    padding: 18px 17px 12px;
  }

  .ex-xelia-chat-wow .ex-xelia-chat-intro > strong {
    font-size: clamp(31px, 9vw, 41px);
  }

  .ex-xelia-chat-wow .ex-xelia-chat-intro p {
    font-size: 11px;
  }

  .ex-xelia-chat-wow .ex-xelia-messages {
    margin: 0 10px;
  }

  .ex-xelia-chat-wow .ex-xelia-message {
    padding: 13px;
  }

  .ex-xelia-chat-wow .ex-xelia-message p {
    font-size: 12px;
  }

  .ex-xelia-suggestions-wow {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 9px 11px 10px;
  }

  .ex-xelia-suggestions-wow button {
    flex: 0 0 165px;
    min-height: 61px;
    border-radius: 18px;
  }

  .ex-xelia-compose-wow {
    grid-template-columns: 1fr 50px;
    padding: 8px 11px 9px;
  }

  .ex-xelia-compose-wow textarea {
    min-height: 50px;
    padding: 15px;
  }

  .ex-xelia-compose-wow > button {
    width: 50px;
    height: 50px;
    border-radius: 17px;
  }

  .ex-xelia-chat-wow .ex-xelia-privacy {
    padding-bottom: 10px;
    font-size: 7px;
  }
}

@media (max-width: 430px) {
  .ex-xelia-chat-wow .ex-xelia-chat-intro > strong {
    font-size: 32px;
  }

  .ex-xelia-chat-wow .ex-xelia-chat-intro p {
    max-width: 34ch;
  }

  .ex-xelia-suggestions-wow button {
    flex-basis: 154px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ex-xelia-chat-wow:not([hidden]) {
    animation: none;
  }
  .ex-xelia-suggestions-wow button::after {
    display: none;
  }
}


/* ============================================================
   STAGE 09.7 · GEMEINSAMER XELIA CORE WIEDERHERGESTELLT
   ============================================================ */

.ex-xelia-head-actions .ex-xelia-head-mark {
  width: 36px;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(23,23,23,.55);
  font: inherit;
  font-size: 13px;
  letter-spacing: .10em;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.ex-xelia-head-actions .ex-xelia-head-mark:hover {
  background: rgba(23,23,23,.055);
  color: #171717;
}

.ex-xelia-msg-content {
  display: grid;
  gap: 9px;
}

.ex-xelia-msg-content p {
  margin: 0;
}

.ex-xelia-msg-content strong {
  font-weight: 650;
}

.ex-xelia-system-message {
  width: fit-content;
  max-width: 90%;
  margin: 8px auto;
  padding: 8px 11px;
  border: 1px solid rgba(126,98,72,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.54);
  color: rgba(23,23,23,.52);
  font-size: 8px;
  line-height: 1.35;
  letter-spacing: .025em;
  text-align: center;
}

.ex-xelia-chat-wow .ex-xelia-privacy span {
  color: rgba(41,37,33,.45);
}

@media (max-width: 760px) {
  .ex-xelia-head-actions .ex-xelia-head-mark {
    width: 32px;
  }

  .ex-xelia-system-message {
    max-width: 95%;
  }
}


/* ============================================================
   STAGE 10 V2 · CONSENT VISIBILITY / PRIVACY CONTROL
   ============================================================ */

.ex-consent-launcher {
  width:auto;
  min-width:164px;
  height:44px;
  padding:0 15px 0 12px;
  grid-template-columns:24px auto;
  gap:8px;
  border-radius:999px;
  background:rgba(249,247,243,.94);
  border-color:rgba(23,23,23,.12);
  box-shadow:
    0 14px 34px rgba(25,25,25,.12),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.ex-consent-launcher span {
  transform:none;
}

.ex-consent-launcher-icon {
  width:24px;
  height:24px;
  display:grid!important;
  place-items:center;
  border-radius:50%;
  background:#171717;
  color:#fff;
  font-size:11px!important;
}

.ex-consent-launcher-label {
  font-size:9px!important;
  letter-spacing:.02em;
  white-space:nowrap;
  color:rgba(23,23,23,.72);
}

.ex-consent-banner {
  border-color:rgba(23,23,23,.12);
  background:
    radial-gradient(circle at 88% 0%, rgba(255,255,255,.98), transparent 30%),
    rgba(248,245,240,.98);
  box-shadow:
    0 35px 100px rgba(20,20,20,.24),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.ex-consent-copy h2 {
  font-size:32px;
}

.ex-consent-copy > span::after {
  content:" · COOKIES";
}

@media (max-width:760px) {
  .ex-consent-launcher {
    left:8px;
    bottom:8px;
    width:auto;
    min-width:138px;
    height:40px;
    padding:0 11px 0 8px;
    grid-template-columns:22px auto;
    gap:6px;
  }

  .ex-consent-launcher-icon {
    width:22px;
    height:22px;
  }

  .ex-consent-launcher-label {
    font-size:8px!important;
  }

  .ex-consent-banner {
    max-height:calc(100dvh - 16px);
    overflow:auto;
  }
}
