/* =========================================================
   MK Media Solutions – Entwurf V5 „MK Universe“
   Völlig neue Darstellung: Partikel-Logo, MK-Phone mit Apps,
   Hamburg zum Anklicken, 3D-Karussell, Hologramm-Ausweis, Chat-FAQ.
   Basis-Styles (Schrift, Formular, Kalender, Cookie-Hinweis) kommen aus style.css.
   ========================================================= */
:root {
  --x-bg: #06070b;
  --x-bg2: #0b0d14;
  --x-ink: #f4f6fb;
  --x-muted: #a3aab8;
  --x-line: rgba(255,255,255,.1);
  --x-glass: rgba(255,255,255,.055);
  --acc: #5b87d8;
  --acc2: #9cc0ff;
  --vio: #9a7bff;
  --x-r: 28px;
  --x-ease: cubic-bezier(.2,.8,.2,1);
  --x-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ---------- Grundlage ---------- */
body.x { background: var(--x-bg); color: var(--x-ink); overflow-x: hidden; }
body.x ::selection { background: color-mix(in srgb, var(--acc) 45%, transparent); color: #fff; }
.x a { color: inherit; }
.x-wrap { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }
.x-section { position: relative; padding-block: clamp(80px, 12vw, 170px); }
.x-head { max-width: 640px; }
.x-head--center { max-width: 820px; margin-inline: auto; text-align: center; }
.x-head--center .x-lead { margin-inline: auto; }
.x-kicker {
  display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1.1rem;
  font-size: .76rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--acc2);
}
.x-h2 { margin: 0 0 .5em; font-size: clamp(2.3rem, 1.1rem + 4.4vw, 5rem); font-weight: 900; line-height: .98; letter-spacing: -.045em; color: #fff; text-wrap: balance; }
.x-lead { max-width: 60ch; margin: 0 0 1.6rem; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); line-height: 1.65; color: var(--x-muted); }
.x-lead strong { color: #fff; }
.x-grad {
  background: linear-gradient(100deg, var(--acc2) 0%, var(--acc) 35%, var(--vio) 65%, var(--acc2) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: xGrad 8s linear infinite;
}
@keyframes xGrad { to { background-position: -220% 0; } }
.x-hint { display: inline-flex; align-items: center; gap: .55em; margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--x-muted); }
.x-hint span { color: var(--acc2); animation: xTwinkle 2.4s ease-in-out infinite; }
.x-hint--center { display: flex; justify-content: center; }
.x-center { text-align: center; margin-top: 40px; }
.x-small { font-size: .8rem; color: var(--x-muted); margin: 10px 0 8px; }
.x-ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
@keyframes xTwinkle { 50% { opacity: .35; transform: scale(.8) rotate(20deg); } }

/* ---------- Buttons ---------- */
.x-btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .85em 1.6em; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 800; font-size: .98rem; letter-spacing: .01em; text-decoration: none; color: #fff;
  background: var(--x-glass); box-shadow: inset 0 0 0 1px var(--x-line);
  transition: transform .25s var(--x-ease), box-shadow .3s ease, background-color .3s ease, translate .3s var(--x-ease);
}
.x-btn:hover { transform: translateY(-2px); color: #fff; }
.x-btn--glow { background: linear-gradient(120deg, var(--acc), color-mix(in srgb, var(--acc) 55%, var(--vio))); box-shadow: 0 18px 40px -16px var(--acc), inset 0 1px 0 rgba(255,255,255,.3); }
.x-btn--glow::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; opacity: 0; filter: blur(14px);
  background: conic-gradient(from var(--spin, 0deg), var(--acc2), var(--vio), var(--acc), var(--acc2)); transition: opacity .3s ease;
  animation: xSpin 4s linear infinite;
}
.x-btn--glow:hover::before { opacity: .9; }
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes xSpin { to { --spin: 360deg; } }
.x-btn--wa { background: #25d366; box-shadow: 0 18px 40px -18px rgba(37,211,102,.9); }
.x-btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.x-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.x-btn--block { width: 100%; margin-top: 14px; min-height: 46px; font-size: .9rem; }
.x-btn .x-ico { transition: transform .25s ease; }
.x-btn:hover .x-ico { transform: translateX(3px); }
.x-btn--insta:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); box-shadow: none; }
.x-link { font-weight: 800; color: var(--acc2) !important; text-decoration: none; }
.x-link:hover { text-decoration: underline; }

/* ---------- Bühne: Polarlicht, Körnung, Funken, Cursor ---------- */
.x-aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.x-aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .32; animation: xFloat 26s ease-in-out infinite alternate; }
.x-aurora i:nth-child(1) { left: -18vmax; top: -20vmax; background: var(--acc); }
.x-aurora i:nth-child(2) { right: -22vmax; top: 20vh; background: var(--vio); opacity: .2; animation-duration: 32s; }
.x-aurora i:nth-child(3) { left: 20vw; bottom: -30vmax; background: #1fb5c9; opacity: .14; animation-duration: 38s; }
@keyframes xFloat { 50% { transform: translate(8vw, 6vh) scale(1.15); } 100% { transform: translate(-6vw, 10vh) scale(.92); } }
.x-grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: xGrain 1.2s steps(6) infinite;
}
@keyframes xGrain { 20% { transform: translate(-5%, 3%); } 40% { transform: translate(4%, -6%); } 60% { transform: translate(-3%, 5%); } 80% { transform: translate(6%, 2%); } }
.x-sparkles { position: fixed; inset: 0; z-index: 95; width: 100%; height: 100%; pointer-events: none; }
.x-cursor { position: fixed; z-index: 96; left: 0; top: 0; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; pointer-events: none; opacity: 0;
  border: 1.5px solid color-mix(in srgb, var(--acc2) 70%, transparent); transition: width .3s var(--x-ease), height .3s var(--x-ease), margin .3s var(--x-ease), opacity .3s ease, background-color .3s ease; }
.x-cursor i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: #fff; }
.x-cursor.is-on { opacity: 1; }
.x-cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: color-mix(in srgb, var(--acc) 16%, transparent); }
@media (pointer: fine) { body.x.has-cursor, body.x.has-cursor a, body.x.has-cursor button { cursor: none; } body.x.has-cursor input, body.x.has-cursor textarea, body.x.has-cursor select, body.x.has-cursor label { cursor: auto; } }
.x-progress { position: fixed; z-index: 99; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; }
.x-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--acc2), var(--acc), var(--vio)); box-shadow: 0 0 12px var(--acc); }

/* ---------- Kopfzeile ---------- */
.x-header {
  position: fixed; z-index: 80; top: 12px; left: 50%; translate: -50% 0; width: min(1240px, calc(100% - 24px));
  display: flex; align-items: center; gap: 18px; height: 64px; padding: 0 10px 0 18px; border-radius: 999px;
  background: rgba(10,12,18,.55); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 20px 50px -30px #000; transition: background-color .3s ease, translate .5s var(--x-ease);
}
.x-header.is-hidden { translate: -50% -120%; }
.x-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.x-brand img { width: 50px; height: auto; }
.x-brand span { display: flex; flex-direction: column; line-height: 1; }
.x-brand b { font-size: 1rem; font-weight: 900; letter-spacing: .03em; }
.x-brand small { margin-top: 3px; font-size: .64rem; font-weight: 800; letter-spacing: .34em; color: var(--acc2); }
.x-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.x-nav a:not(.x-btn) { padding: .5em .8em; border-radius: 999px; font-size: .9rem; font-weight: 600; color: #cfd3db; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.x-nav a:not(.x-btn):hover, .x-nav a.is-current { background: rgba(255,255,255,.08); color: #fff; }
.x-nav__cta { min-height: 44px; margin-left: 8px; padding: .6em 1.2em; font-size: .9rem; }
.x-burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); cursor: pointer; }
.x-burger span, .x-burger span::before, .x-burger span::after { display: block; width: 20px; height: 2px; margin: auto; border-radius: 2px; background: #fff; position: relative; transition: transform .3s ease, background-color .3s ease; }
.x-burger span::before, .x-burger span::after { content: ""; position: absolute; left: 0; }
.x-burger span::before { top: -6px; } .x-burger span::after { top: 6px; }
.nav-open .x-burger span { background: transparent; }
.nav-open .x-burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .x-burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 1 · Intro ---------- */
.x-hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 110px 0 90px; overflow: hidden; }
.x-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.x-hero__fallback { display: none; position: absolute; right: 6%; top: 50%; width: min(46vw, 560px); translate: 0 -50%; opacity: .9; }
.no-canvas .x-hero__fallback { display: block; }
.x-hero__inner { position: relative; z-index: 1; pointer-events: none; }
.x-hero__inner > * { pointer-events: auto; max-width: 640px; }
.x-live { width: 8px; height: 8px; border-radius: 50%; background: #3ee07a; box-shadow: 0 0 0 0 rgba(62,224,122,.6); animation: xLive 2s ease-out infinite; }
@keyframes xLive { 70% { box-shadow: 0 0 0 10px rgba(62,224,122,0); } 100% { box-shadow: 0 0 0 0 rgba(62,224,122,0); } }
.x-hero__title { margin: 0 0 .35em; font-size: clamp(2.7rem, 1rem + 5.4vw, 6.2rem); font-weight: 900; line-height: .92; letter-spacing: -.055em; }
.x-line { display: block; }
.x-outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }
.x-rotor { display: flex; flex-wrap: wrap; align-items: center; gap: .4em; margin: 0 0 1rem; font-size: clamp(1.1rem, 1rem + .7vw, 1.5rem); font-weight: 800; }
.x-rotor__box { display: inline-block; height: 1.5em; overflow: hidden; padding: 0 .45em; border-radius: 10px; background: linear-gradient(120deg, color-mix(in srgb, var(--acc) 45%, transparent), color-mix(in srgb, var(--vio) 35%, transparent)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.x-rotor__list { display: flex; flex-direction: column; animation: xRotor 10s cubic-bezier(.7,0,.3,1) infinite; }
.x-rotor__list span { height: 1.5em; line-height: 1.5em; }
@keyframes xRotor { 0%,16% { transform: translateY(0); } 20%,36% { transform: translateY(-1.5em); } 40%,56% { transform: translateY(-3em); } 60%,76% { transform: translateY(-4.5em); } 80%,96% { transform: translateY(-6em); } 100% { transform: translateY(-7.5em); } }
.x-hero__lead { margin: 0 0 1.8rem; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.65; color: var(--x-muted); }
.x-hero__lead strong { color: #fff; }
.x-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.x-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 2rem 0 0; padding: 0; list-style: none; font-size: .9rem; font-weight: 700; color: #cfd3db; }
.x-facts li { display: inline-flex; align-items: center; gap: .55em; }
.x-hero .x-facts li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.x-hero__hint { position: absolute; z-index: 1; right: clamp(16px, 5vw, 64px); bottom: 34px; margin: 0; font-size: .8rem; font-weight: 700; color: var(--x-muted); pointer-events: none; }
.x-hero__hint span { color: var(--acc2); display: inline-block; animation: xTwinkle 2.4s ease-in-out infinite; }
.x-scroll { position: absolute; z-index: 1; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.x-scroll i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: xWheel 1.8s ease-in-out infinite; }
@keyframes xWheel { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: translateY(0); opacity: 0; } 100% { opacity: 1; } }
[data-scramble] .x-word { display: inline-block; white-space: nowrap; }
[data-scramble] .x-ch { display: inline-block; }
[data-scramble] .x-ch.is-scr { color: var(--acc2); -webkit-text-fill-color: var(--acc2); opacity: .7; }

/* ---------- 2 · Anspruch: Taschenlampe ---------- */
.x-statement { position: relative; padding-block: clamp(100px, 16vw, 220px); }
.x-statement__text {
  position: relative; margin: 0 auto 26px; max-width: 1100px; text-align: center; text-wrap: balance;
  font-size: clamp(1.8rem, 1rem + 3.6vw, 4.2rem); font-weight: 900; line-height: 1.08; letter-spacing: -.04em;
  --fx: 50%; --fy: 50%; --fr: 0px;
}
.x-statement__base { color: rgba(255,255,255,.12); }
.x-statement__base b { color: rgba(255,255,255,.2); }
.x-statement__glow {
  position: absolute; inset: 0; color: #fff; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle var(--fr) at var(--fx) var(--fy), #000 0%, #000 45%, transparent 100%);
  mask-image: radial-gradient(circle var(--fr) at var(--fx) var(--fy), #000 0%, #000 45%, transparent 100%);
}
.x-statement__glow b { background: linear-gradient(100deg, var(--acc2), var(--acc), var(--vio)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-statement .x-hint { display: flex; justify-content: center; }

/* ---------- 3 · MK-Phone ---------- */
.x-phone-grid { display: grid; grid-template-columns: 1fr minmax(320px, 420px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.x-phone-sec .x-hint { margin-bottom: 18px; }
.x-applist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.x-applist button {
  width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; align-items: center; padding: 10px 12px; border: 0; border-radius: 16px; cursor: pointer;
  text-align: left; font: inherit; color: #fff; background: var(--x-glass); box-shadow: inset 0 0 0 1px var(--x-line); transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.x-applist button:hover, .x-applist button.is-on { background: rgba(255,255,255,.1); transform: translateX(4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 60%, transparent); }
.x-applist i { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(140deg, var(--c1), var(--c2)); }
.x-applist b { font-size: .86rem; line-height: 1.2; }
.x-applist small { font-size: .72rem; color: var(--x-muted); }

.x-device-wrap { position: relative; perspective: 1400px; justify-self: center; width: 100%; max-width: 380px; }
.x-device {
  --rx: 0deg; --ry: 0deg;
  position: relative; aspect-ratio: 9 / 19.2; width: 100%; padding: 12px; border-radius: 56px;
  background: linear-gradient(145deg, #3a3f48, #121419 40%, #2a2e35 70%, #0d0f12);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18), inset 0 0 0 7px #08090c, 0 60px 120px -50px color-mix(in srgb, var(--acc) 70%, #000), 0 30px 60px -30px #000;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .6s var(--x-ease);
}
.x-device.is-tracking { transition: transform .12s linear; }
.x-device__btn { position: absolute; left: -3px; width: 4px; border-radius: 3px; background: #2a2e35; }
.x-device__btn--a { top: 22%; height: 9%; } .x-device__btn--b { top: 33%; height: 9%; }
.x-device__shadow { position: absolute; left: 12%; right: 12%; bottom: -40px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 45%, transparent), transparent); filter: blur(8px); }
.x-device__screen { position: relative; height: 100%; overflow: hidden; border-radius: 44px; background: #0a0c12; isolation: isolate; container-type: inline-size; }
.x-wall { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 70% at 20% 10%, color-mix(in srgb, var(--acc) 80%, #000), transparent 60%), radial-gradient(90% 60% at 90% 80%, color-mix(in srgb, var(--vio) 70%, #000), transparent 60%), #07080d; }
.x-wall i { position: absolute; border-radius: 50%; filter: blur(30px); opacity: .55; animation: xFloat 14s ease-in-out infinite alternate; }
.x-wall i:nth-child(1) { width: 60%; height: 40%; left: -10%; top: 40%; background: #1fb5c9; }
.x-wall i:nth-child(2) { width: 50%; height: 30%; right: -10%; top: 5%; background: #d6249f; opacity: .35; animation-duration: 18s; }
.x-status { position: absolute; z-index: 6; top: 0; left: 0; right: 0; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px 0 30px; font-size: .78rem; font-weight: 800; color: #fff; pointer-events: none; }
.x-island { position: absolute; left: 50%; top: 10px; width: 34%; height: 28px; margin-left: -17%; border-radius: 20px; background: #000; transition: width .5s var(--x-spring), margin .5s var(--x-spring), height .5s var(--x-spring); }
.x-device__screen.has-notif:not(.is-app) .x-island { width: 88%; margin-left: -44%; height: 64px; }
.x-status__ico { display: inline-flex; align-items: center; gap: 5px; }
.x-status__ico b { font-size: .66rem; }
.x-sig { width: 15px; height: 9px; background: linear-gradient(90deg, #fff 0 18%, transparent 18% 27%, #fff 27% 45%, transparent 45% 54%, #fff 54% 72%, transparent 72% 81%, #fff 81%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.x-bat { width: 22px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #fff; position: relative; }
.x-bat::after { content: ""; position: absolute; inset: 2.5px 5px 2.5px 2.5px; border-radius: 1px; background: #3ee07a; }
.x-notif {
  position: absolute; z-index: 7; top: 10px; left: 6%; right: 6%; display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 8px 14px 8px 10px;
  color: #fff; opacity: 0; transform: scale(.6); transition: opacity .35s ease, transform .5s var(--x-spring); pointer-events: none;
}
.x-device__screen.has-notif:not(.is-app) .x-notif { opacity: 1; transform: none; transition-delay: .15s; }
.x-notif img { width: 30px; height: 30px; border-radius: 50%; background: #fff; object-fit: cover; }
.x-notif b { display: block; font-size: .7rem; }
.x-notif small { display: block; font-size: .66rem; line-height: 1.3; color: #d6dae3; }
.x-notif em { font-size: .6rem; font-style: normal; color: #9aa1ae; align-self: start; }

.x-home { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 58px 18px 16px; transition: transform .55s var(--x-ease), filter .55s ease, opacity .55s ease; }
.x-device__screen.is-app .x-home { transform: scale(.9); filter: blur(6px); opacity: .4; }
.x-widget { display: grid; padding: 14px 16px; margin-bottom: 18px; border-radius: 24px; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.x-widget__day { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ff7a7a; }
.x-widget__time { font-size: clamp(2rem, 13cqi, 3rem); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.x-widget__date { font-size: .76rem; font-weight: 700; color: #dfe3ea; }
.x-widget__todo { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .68rem; color: #c4cad6; }
.x-widget__todo i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc2); }
.x-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
.x-app { position: relative; display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: #fff; }
.x-app__icon {
  display: grid; place-items: center; width: min(64px, 19cqi); aspect-ratio: 1; border-radius: 30%;
  background: linear-gradient(140deg, var(--c1), var(--c2)); box-shadow: 0 10px 22px -10px var(--c2), inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 6px rgba(0,0,0,.18);
  transition: transform .35s var(--x-spring);
}
.x-app__icon svg { width: 52%; height: 52%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.x-app__icon svg .x-fill { fill: #fff; stroke: none; }
.x-app__icon--cal { background: #fff; display: flex; flex-direction: column; justify-content: center; gap: 0; }
.x-app__icon--cal b { font-size: .55rem; font-weight: 800; letter-spacing: .1em; color: #e0303a; }
.x-app__icon--cal strong { font-size: 1.45rem; font-weight: 400; line-height: 1; color: #111; }
.x-app__name { font-size: .66rem; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.5); white-space: nowrap; }
.x-app:hover .x-app__icon, .x-app:focus-visible .x-app__icon { transform: scale(1.1) rotate(-4deg); }
.x-app:active .x-app__icon { transform: scale(.9); }
.x-app:focus-visible { outline: none; }
.x-app:focus-visible .x-app__icon { box-shadow: 0 0 0 3px #fff; }
.x-badge { position: absolute; top: -5px; right: 6%; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #ff3b30; font-size: .62rem; font-style: normal; font-weight: 800; line-height: 19px; box-shadow: 0 0 0 2px #0a0c12; animation: xBadge 3s ease-in-out infinite; }
@keyframes xBadge { 0%, 85%, 100% { transform: scale(1); } 90% { transform: scale(1.25); } }
.x-apps.is-jiggle .x-app__icon { animation: xJiggle .28s ease-in-out infinite alternate; }
.x-apps.is-jiggle .x-app:nth-child(2n) .x-app__icon { animation-delay: -.14s; }
@keyframes xJiggle { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.x-dots { display: flex; justify-content: center; gap: 6px; margin: auto 0 12px; }
.x-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.35); }
.x-dots i.is-on { background: #fff; }
.x-dock { display: flex; justify-content: space-around; padding: 12px 10px; border-radius: 30px; background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.x-dock a { display: grid; place-items: center; width: min(54px, 16cqi); aspect-ratio: 1; border-radius: 30%; background: linear-gradient(140deg, var(--c1), var(--c2)); transition: transform .3s var(--x-spring); }
.x-dock a:hover { transform: translateY(-4px) scale(1.06); }
.x-dock svg { width: 48%; height: 48%; fill: #fff; }
.x-dock__mk img { width: 78%; height: auto; }

.x-appview {
  position: absolute; z-index: 5; inset: 0; display: flex; flex-direction: column; background: #f5f6f9; color: #15171c;
  border-radius: 44px; overflow: hidden; visibility: hidden; opacity: 0; pointer-events: none;
  transform-origin: var(--ox, 50%) var(--oy, 50%); transform: scale(.08);
  transition: transform .55s var(--x-ease), opacity .35s ease, border-radius .55s ease, visibility 0s linear .55s;
}
.x-appview.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: none; border-radius: 0; transition-delay: 0s; }
.x-appbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 52px 14px 10px; background: rgba(245,246,249,.9); border-bottom: 1px solid rgba(0,0,0,.06); font-size: .82rem; }
.x-appbar b { font-weight: 800; }
.x-appbar--dark { background: #0d0f15; color: #fff; border-color: rgba(255,255,255,.08); }
.x-back { justify-self: start; padding: 4px 6px; border: 0; background: none; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 700; color: #1f6feb; }
.x-appbar--dark .x-back { color: var(--acc2); }
.x-appbody { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 40px; scrollbar-width: none; }
.x-appbody::-webkit-scrollbar { display: none; }
.x-appbody--dark { background: #0d0f15; color: #e8ebf1; }
.x-appbody--dark p { color: #b7becb; }
.x-appbody--center { display: flex; flex-direction: column; justify-content: center; text-align: center; }
.x-appbody h3 { margin: 18px 0 6px; font-size: 1.15rem; font-weight: 900; letter-spacing: -.02em; }
.x-appbody p { margin: 0; font-size: .82rem; line-height: 1.55; color: #50555c; }
.x-bigemo { font-size: 3.6rem; animation: xBob 3s ease-in-out infinite; }
@keyframes xBob { 50% { transform: translateY(-8px) rotate(-6deg); } }
.x-homebar { position: absolute; z-index: 8; left: 50%; bottom: 8px; width: 36%; height: 5px; margin-left: -18%; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.75); cursor: pointer; }
.x-device__screen.is-app .x-homebar { background: rgba(0,0,0,.35); }
.x-device__screen.is-app.is-dark-app .x-homebar { background: rgba(255,255,255,.6); }
.x-homebar::before { content: ""; position: absolute; inset: -12px -10px; }
.x-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; }
.x-chips li { padding: .3em .75em; border-radius: 999px; background: #e6e9ef; font-size: .7rem; font-weight: 700; color: #3a3e44; }

/* App-Inhalte */
.x-igp { display: flex; align-items: center; gap: 12px; }
.x-igp__avatar { width: 62px; height: 62px; border-radius: 50%; padding: 2px; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); object-fit: cover; }
.x-igp b { display: block; font-size: .8rem; }
.x-igp small { display: block; font-size: .7rem; line-height: 1.4; color: #50555c; }
.x-igfollow { display: block; margin: 12px 0; padding: 8px; border-radius: 10px; background: #0095f6; color: #fff !important; text-align: center; font-size: .78rem; font-weight: 800; text-decoration: none; }
.x-iggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0 -16px; }
.x-iggrid a { position: relative; display: block; overflow: hidden; }
.x-iggrid img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; transition: transform .5s var(--x-ease), filter .3s ease; }
.x-iggrid a:hover img { transform: scale(1.08); filter: brightness(1.1); }
.x-iggrid__b { position: absolute; right: 5px; top: 5px; width: 13px; height: 13px; background: center / contain no-repeat; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.x-iggrid__b--reel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Cpath d='M3 8.5h18M8 3l3 5.5M14 3l3 5.5'/%3E%3Cpath d='m10 12 5 3-5 3z' fill='%23fff' stroke='none'/%3E%3C/svg%3E"); }
.x-iggrid__b--carousel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='7' y='7' width='14' height='14' rx='3'/%3E%3Cpath d='M4 16V6a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E"); }

.x-appbody--cam { background: #000; color: #fff; padding: 0 0 40px; }
.x-appbody--cam h3, .x-appbody--cam p, .x-appbody--cam .x-btn { margin-inline: 16px; }
.x-appbody--cam .x-btn--block { width: calc(100% - 32px); }
.x-appbody--cam p { color: #b7becb; }
.x-cam { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: radial-gradient(70% 60% at 50% 45%, #3a2a55, #0d0b14 70%); }
.x-cam__subject { position: absolute; left: 50%; top: 50%; font-size: 4.4rem; translate: -50% -50%; animation: xBob 4s ease-in-out infinite; }
.x-cam__grid { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 33.1%, rgba(255,255,255,.18) 33.3%, transparent 33.6%, transparent 66.4%, rgba(255,255,255,.18) 66.6%, transparent 66.9%), linear-gradient(transparent 33.1%, rgba(255,255,255,.18) 33.3%, transparent 33.6%, transparent 66.4%, rgba(255,255,255,.18) 66.6%, transparent 66.9%); }
.x-cam__focus { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; translate: -50% -50%; border: 1.5px solid #ffd34d; border-radius: 4px; animation: xFocus 3s ease-in-out infinite; }
@keyframes xFocus { 0%, 100% { transform: scale(1); opacity: 1; } 10% { transform: scale(1.25); } 20% { transform: scale(.95); } 50% { opacity: .5; } }
.x-cam__rec { position: absolute; z-index: 1; left: 50%; top: 10px; translate: -50% 0; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; background: rgba(224,48,58,.9); font-size: .7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.x-cam__rec i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: xBlink 1s steps(2, jump-none) infinite; }
@keyframes xBlink { 50% { opacity: 0; } }
.x-cam__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.x-cam.is-flash .x-cam__flash { animation: xFlash .45s ease-out; }
@keyframes xFlash { 0% { opacity: .95; } 100% { opacity: 0; } }
.x-cam__modes { display: flex; justify-content: center; gap: 16px; margin: 12px 0 8px; }
.x-cam__modes button { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8a909c; }
.x-cam__modes button.is-on { color: #ffd34d; }
.x-cam__shutter { display: block; width: 58px; height: 58px; margin: 0 auto; padding: 0; border: 4px solid #fff; border-radius: 50%; background: #e0303a; box-shadow: inset 0 0 0 3px #000; cursor: pointer; transition: transform .15s ease; }
.x-cam__shutter:active { transform: scale(.88); }

.x-appview .art-cal { margin: 4px 0 0; padding: 12px 0 0; }
.x-appview .cal { font-size: 12px; }

.x-demo { display: inline-block; margin-bottom: 8px !important; padding: .2em .7em; border-radius: 6px; background: #e6e9ef; font-size: .62rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.x-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.x-kpis span { padding: 10px 8px; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px -10px rgba(0,0,0,.3); }
.x-kpis small { display: block; font-size: .62rem; font-weight: 700; color: #6c7179; }
.x-kpis b { display: block; font-size: 1.3rem; color: #12865a; }
.x-chart { width: 100%; height: auto; margin-top: 12px; overflow: visible; }
.x-chart__line { fill: none; stroke: #12865a; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.x-appview.is-open .x-chart__line { animation: xDraw 1.6s var(--x-ease) .3s forwards; }
.x-chart__area { opacity: 0; }
.x-appview.is-open .x-chart__area { animation: xFade .8s ease 1.2s forwards; }
.x-chart__dot { fill: #12865a; opacity: 0; }
.x-appview.is-open .x-chart__dot { animation: xFade .3s ease 1.8s forwards, xPing 1.6s ease-out 2.1s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes xDraw { to { stroke-dashoffset: 0; } }
@keyframes xFade { to { opacity: 1; } }
@keyframes xPing { 0% { transform: scale(1); } 50% { transform: scale(1.7); } 100% { transform: scale(1); } }
.x-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 10px; }
.x-bars i { flex: 1; height: 0; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #3ee07a, #12865a); transition: height .9s var(--x-spring); }
.x-appview.is-open .x-bars i { height: var(--h); }
.x-appview.is-open .x-bars i:nth-child(2) { transition-delay: .08s; } .x-appview.is-open .x-bars i:nth-child(3) { transition-delay: .16s; } .x-appview.is-open .x-bars i:nth-child(4) { transition-delay: .24s; } .x-appview.is-open .x-bars i:nth-child(5) { transition-delay: .32s; } .x-appview.is-open .x-bars i:nth-child(6) { transition-delay: .4s; } .x-appview.is-open .x-bars i:nth-child(7) { transition-delay: .48s; }

.x-appview .screen { margin-top: 6px; }

.x-brandkit { position: relative; display: grid; place-items: center; height: 150px; border-radius: 22px; overflow: hidden; background: linear-gradient(140deg, var(--acc), color-mix(in srgb, var(--acc) 40%, #000)); transition: background .6s ease; }
.x-brandkit__aa { position: absolute; left: 14px; top: 6px; font-size: 3rem; font-weight: 900; color: rgba(255,255,255,.25); }
.x-brandkit img { width: 64%; height: auto; padding: 10px 14px; border-radius: 16px; background: #fff; box-shadow: 0 16px 30px -14px rgba(0,0,0,.6); animation: xBob 4s ease-in-out infinite; }
.x-swatches { display: flex; gap: 10px; }
.x-swatches button { width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--s); cursor: pointer; box-shadow: 0 6px 14px -6px var(--s); transition: transform .3s var(--x-spring), box-shadow .3s ease; }
.x-swatches button:hover { transform: scale(1.15); }
.x-swatches button.is-on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--s); }

.x-poster { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 8px solid #20242c; border-radius: 6px; overflow: hidden; cursor: pointer; background: #fff; perspective: 600px; font: inherit; }
.x-poster__face { display: block; font-size: clamp(1rem, 9cqi, 1.6rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; color: var(--acc); text-align: center; transition: transform .5s var(--x-ease), opacity .3s ease; }
.x-poster.is-flip .x-poster__face { transform: rotateX(90deg); opacity: 0; }
.x-poster__light { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.7) 50%, transparent 60%); transform: translateX(-100%); animation: xSheen 4s ease-in-out infinite; }
@keyframes xSheen { 60%, 100% { transform: translateX(100%); } }
.x-poster__legs { display: flex; justify-content: space-around; width: 70%; margin: 0 auto; }
.x-poster__legs i { width: 8px; height: 34px; background: #20242c; }

.x-stage { position: relative; display: grid; place-items: end center; height: 190px; border-radius: 20px; overflow: hidden; background: radial-gradient(80% 90% at 50% 100%, #2a2f45, #0d0f15 70%); }
.x-stage__spot { position: absolute; top: -40px; left: 50%; width: 140px; height: 260px; margin-left: -70px; background: linear-gradient(180deg, rgba(255,236,170,.0), rgba(255,236,170,.35)); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); transform: translateX(var(--sx, 0px)); transition: transform .6s var(--x-spring); }
.x-stage .crew { padding-bottom: 14px; gap: 0; }
.x-stage .person { width: 60px; cursor: pointer; transition: filter .3s ease, transform .3s var(--x-spring); filter: brightness(.65); }
.x-stage .person.is-on { filter: brightness(1.1) drop-shadow(0 0 14px rgba(255,236,170,.6)); transform: translateY(-6px) scale(1.08); }
.x-stage__tag { position: absolute; top: 10px; left: 50%; translate: -50% 0; padding: .3em .8em; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .7rem; font-weight: 800; color: #fff; white-space: nowrap; }

/* ---------- 4 · Hamburg ---------- */
.x-city-sec { padding-bottom: clamp(60px, 8vw, 110px); }
.x-city { position: relative; width: min(1500px, 100% - 2 * clamp(12px, 2vw, 32px)); margin: clamp(30px, 4vw, 50px) auto 0; }
.x-city__scroller { overflow-x: auto; overflow-y: hidden; border-radius: var(--x-r); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 100px -50px #000; scrollbar-width: none; }
.x-city__scroller::-webkit-scrollbar { display: none; }
.x-city__stage {
  --t: .7; --lights: .6;
  position: relative; width: max(100%, 980px); aspect-ratio: 16 / 7; overflow: hidden; touch-action: pan-x pan-y;
}
.x-city__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.x-city__svg { --tx: 0px; }
.cs-s1 { stop-color: var(--sky1); } .cs-s2 { stop-color: var(--sky2); } .cs-s3 { stop-color: var(--sky3); }
.cs-w1 { stop-color: var(--water1); } .cs-w2 { stop-color: var(--water2); }
.cs-stars { opacity: var(--stars, 0); }
.cs-stars circle:nth-child(3n) { animation: xBlink 2.6s ease-in-out infinite; }
.cs-sun { transform: translate(var(--sunx, 1300px), var(--suny, 120px)); }
.cs-moon { transform: translate(var(--moonx, 200px), var(--moony, 700px)); }
.cs-cloud { fill: var(--cloud, rgba(255,255,255,.75)); }
.cs-cloud--a { animation: xCloudA 70s linear infinite; }
.cs-cloud--b { animation: xCloudB 90s linear infinite; }
@keyframes xCloudA { from { transform: translate(-200px, 130px); } to { transform: translate(1800px, 110px); } }
@keyframes xCloudB { from { transform: translate(1800px, 220px); } to { transform: translate(-200px, 200px); } }
.cs-far rect { fill: var(--far); }
.cs-far-win rect, .cs-win rect, .cs-brickwin rect, .cs-glasswin rect { fill: #ffd98a; opacity: var(--lights); }
.cs-far-win rect { opacity: calc(var(--lights) * .6); }
.cs-glasswin rect { fill: #ffe7b0; }
.cs-flick { animation: xFlick 5s steps(1) infinite; }
@keyframes xFlick { 30% { opacity: 0; } 34% { opacity: var(--lights); } 70% { opacity: 0; } 72% { opacity: var(--lights); } }
.cs-mid > rect, .cs-mid > ellipse, .cs-midfill { fill: var(--mid); }
.cs-copper { fill: var(--copper); }
.cs-brick { fill: var(--brick); }
.cs-glass { fill: var(--glass); }
.cs-neon { stroke: var(--acc2); stroke-width: 3; opacity: var(--lights); filter: drop-shadow(0 0 6px var(--acc2)); }
.cs-crane { stroke: var(--crane); }
.cs-front rect, .cs-frontfill { fill: var(--front); }
.cs-street { fill: var(--street); }
.cs-lane rect { fill: rgba(255,255,255,.35); }
.cs-bulbs circle { animation: xBlink 1.2s steps(2, jump-none) infinite; }
.cs-bulbs circle:nth-child(odd) { animation-delay: -.6s; }
.cs-door { opacity: var(--lights); }
.cs-beam { fill: rgba(255,236,170,.25); opacity: var(--lights); }
.cs-board-img { transition: opacity .5s ease; }
.cs-board-img.is-out { opacity: 0; }
.cs-blink { animation: xBlink 1.4s steps(2, jump-none) infinite; }
.cs-bus > g { animation: xBus 22s linear infinite; }
@keyframes xBus { from { transform: translateX(-260px); } to { transform: translateX(1700px); } }
.cs-headlight { filter: drop-shadow(0 0 8px #fff6c8); opacity: calc(.3 + var(--lights)); }
.cs-walker { animation: xWalk var(--dur) linear var(--delay) infinite; }
.cs-walker--rev { animation-name: xWalkRev; }
@keyframes xWalk { from { transform: translate(-40px, 562px); } to { transform: translate(1640px, 562px); } }
@keyframes xWalkRev { from { transform: translate(1640px, 566px) scaleX(-1); } to { transform: translate(-40px, 566px) scaleX(-1); } }
.cs-bob { animation: xStep .5s ease-in-out infinite alternate; }
@keyframes xStep { to { transform: translateY(-2px); } }
.cs-phone { fill: #9cc0ff; }
.cs-phone--glow, .cs-walker .cs-phone { filter: drop-shadow(0 0 4px #9cc0ff); opacity: calc(.5 + var(--lights) * .5); }
.cs-reflect rect { fill: rgba(255,255,255,.25); animation: xShimmer 3s ease-in-out infinite; }
.cs-reflect rect:nth-child(2n) { animation-delay: -1.5s; }
@keyframes xShimmer { 50% { opacity: .15; transform: translateX(6px); } }
.cs-ship > g { animation: xShip 5s ease-in-out infinite; }
@keyframes xShip { 50% { transform: translateY(3px) rotate(-.4deg); } }
.cs-shipwin { opacity: var(--lights); }
.cs-tug { animation: xTug 40s linear infinite; }
@keyframes xTug { from { transform: translateX(-100px); } to { transform: translateX(1700px); } }
.cs-elphi, .cs-hq, .cs-kino, .cs-billboard { transition: filter .3s ease; }

.x-hot {
  position: absolute; z-index: 3; width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle, #fff 0 22%, color-mix(in srgb, var(--acc) 85%, transparent) 24% 100%); box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc2) 70%, transparent), 0 6px 18px rgba(0,0,0,.4);
  animation: xHot 2.2s ease-out infinite;
}
.x-hot:nth-of-type(2n) { animation-delay: -1.1s; }
@keyframes xHot { 70% { box-shadow: 0 0 0 18px transparent, 0 6px 18px rgba(0,0,0,.4); } 100% { box-shadow: 0 0 0 0 transparent, 0 6px 18px rgba(0,0,0,.4); } }
.x-hot span {
  position: absolute; left: 50%; bottom: calc(100% + 8px); translate: -50% 4px; padding: .35em .75em; border-radius: 999px; white-space: nowrap;
  background: rgba(8,10,16,.85); color: #fff; font-size: .74rem; font-weight: 800; opacity: 0; pointer-events: none; transition: opacity .2s ease, translate .25s var(--x-ease);
}
.x-hot:hover span, .x-hot:focus-visible span, .x-hot.is-on span { opacity: 1; translate: -50% 0; }
.x-hot.is-on { background: radial-gradient(circle, #fff 0 22%, var(--vio) 24% 100%); }
.x-daynight { position: absolute; z-index: 4; left: 50%; bottom: 16px; translate: -50% 0; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(8,10,16,.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.x-daynight input { width: clamp(120px, 22vw, 240px); accent-color: var(--acc); cursor: pointer; }
.x-city__card {
  position: absolute; z-index: 5; right: clamp(10px, 2vw, 24px); top: clamp(10px, 2vw, 24px); width: min(360px, calc(100% - 20px));
  padding: 22px 22px 20px; border-radius: 24px; color: #fff; background: rgba(10,12,20,.78); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px -30px #000; animation: xCard .5s var(--x-spring);
}
@keyframes xCard { from { opacity: 0; transform: translateY(14px) scale(.94); } }
.x-city__card h3 { margin: 0 0 .4em; font-size: 1.4rem; font-weight: 900; letter-spacing: -.02em; }
.x-city__card p { margin: 0 0 12px; font-size: .9rem; line-height: 1.55; color: #c4cad6; }
.x-city__card .x-kicker { margin-bottom: .5rem; }
.x-city__close { position: absolute; right: 12px; top: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 1.2rem; cursor: pointer; }

/* ---------- 5 · Zahlen ---------- */
.x-stats { padding-block: clamp(40px, 6vw, 80px); }
.x-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.x-stat { position: relative; display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 230px; padding: 30px 18px; text-align: center; border-radius: var(--x-r); background: var(--x-glass); box-shadow: inset 0 0 0 1px var(--x-line); overflow: hidden; }
.x-stat b { position: relative; font-size: clamp(2.8rem, 2rem + 2.6vw, 4.4rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: #fff; text-shadow: 0 0 30px color-mix(in srgb, var(--acc) 70%, transparent); }
.x-stat > span:last-child { position: relative; font-size: .86rem; font-weight: 600; color: var(--x-muted); max-width: 22ch; }
.x-stat__ring { position: absolute; left: 50%; top: 38%; width: 190px; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--acc) 45%, transparent); animation: xRing 30s linear infinite; }
.x-stat__ring::after { content: ""; position: absolute; top: -6px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--acc2); box-shadow: 0 0 16px var(--acc2); }
.x-stat:nth-child(2n) .x-stat__ring { animation-direction: reverse; animation-duration: 24s; }
@keyframes xRing { to { transform: rotate(360deg); } }

/* ---------- 6 · Philosophie ---------- */
.x-philo { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.x-quote { margin: 0 0 1.8rem; padding: 18px 22px; border-left: 3px solid var(--acc); border-radius: 0 18px 18px 0; background: var(--x-glass); font-size: 1.05rem; font-weight: 700; color: #e6e9ef; }
.x-boxstage { position: relative; display: grid; place-items: center; min-height: 380px; perspective: 900px; }
.x-box { position: relative; width: 190px; height: 190px; padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; }
.x-box__cube { position: absolute; inset: 0; transform-style: preserve-3d; animation: xCube 14s linear infinite; }
.x-box__cube i {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-style: normal; font-size: 1rem; font-weight: 900; letter-spacing: .08em; line-height: 1.15; color: #6b4a22;
  background: linear-gradient(180deg, transparent 44%, #c9a46a 44% 56%, transparent 56%), linear-gradient(140deg, #d9b47c, #b88a4f); border: 2px solid #9c7240; border-radius: 6px;
  transition: transform .9s var(--x-ease), opacity .9s ease;
}
.x-box__cube .f1 { transform: translateZ(95px); } .x-box__cube .f2 { transform: rotateY(90deg) translateZ(95px); }
.x-box__cube .f3 { transform: rotateY(180deg) translateZ(95px); } .x-box__cube .f4 { transform: rotateY(-90deg) translateZ(95px); }
.x-box__cube .f5 { transform: rotateX(90deg) translateZ(95px); } .x-box__cube .f6 { transform: rotateX(-90deg) translateZ(95px); }
@keyframes xCube { from { transform: rotateX(-18deg) rotateY(0); } to { transform: rotateX(-18deg) rotateY(360deg); } }
.x-box.is-broken .f1 { transform: translateZ(420px) translateY(-140px) rotateX(70deg) rotateZ(40deg); opacity: 0; }
.x-box.is-broken .f2 { transform: rotateY(90deg) translateZ(420px) translateY(80px) rotateZ(-60deg); opacity: 0; }
.x-box.is-broken .f3 { transform: rotateY(180deg) translateZ(420px) translateY(-60px) rotateX(-80deg); opacity: 0; }
.x-box.is-broken .f4 { transform: rotateY(-90deg) translateZ(420px) translateY(120px) rotateZ(70deg); opacity: 0; }
.x-box.is-broken .f5 { transform: rotateX(90deg) translateZ(480px) rotateZ(90deg); opacity: 0; }
.x-box.is-broken .f6 { transform: rotateX(-90deg) translateZ(480px) rotateZ(-90deg); opacity: 0; }
.x-box__reveal { position: absolute; left: 50%; top: 50%; translate: -50% -50%; margin: 0; text-align: center; pointer-events: none; opacity: 0; transform: scale(.4); transition: opacity .6s ease .25s, transform .8s var(--x-spring) .25s; }
.x-box__reveal span { display: block; font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; white-space: nowrap; background: linear-gradient(100deg, var(--acc2), var(--acc), var(--vio)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-box__reveal small { display: block; margin-top: 8px; font-size: 1rem; font-weight: 800; color: #fff; }
.x-boxstage.is-broken .x-box__reveal { opacity: 1; transform: none; }
.x-box__hint { position: absolute; bottom: 0; }
.x-flips { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 80px); padding: 0; }
.x-flip { width: 100%; height: 230px; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1000px; font: inherit; color: inherit; text-align: left; }
.x-flip__in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--x-ease); }
.x-flip:hover .x-flip__in, .x-flip.is-on .x-flip__in, .x-flip:focus-visible .x-flip__in { transform: rotateY(180deg); }
.x-flip__front, .x-flip__back { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 22px; border-radius: 24px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.x-flip__front { background: var(--x-glass); box-shadow: inset 0 0 0 1px var(--x-line); }
.x-flip__front em { font-style: normal; font-size: 3rem; font-weight: 900; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--acc2); }
.x-flip__front h3 { margin: auto 0 6px; font-size: 1.2rem; font-weight: 900; letter-spacing: -.02em; color: #fff; }
.x-flip__front small { font-size: .74rem; font-weight: 700; color: var(--x-muted); }
.x-flip__back { justify-content: center; transform: rotateY(180deg); background: linear-gradient(140deg, var(--acc), color-mix(in srgb, var(--acc) 40%, var(--vio))); box-shadow: 0 30px 60px -30px var(--acc); }
.x-flip__back p { margin: 0; font-size: .98rem; font-weight: 700; line-height: 1.5; color: #fff; }

/* ---------- 7 · Referenzen: 3D-Karussell ---------- */
.x-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.x-tabs button { display: inline-flex; align-items: center; gap: .5em; min-height: 42px; padding: .45em 1.05em; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: .88rem; font-weight: 700; color: #cfd3db; background: var(--x-glass); box-shadow: inset 0 0 0 1px var(--x-line); transition: background-color .2s ease, color .2s ease; }
.x-tabs button span { padding: .1em .55em; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .72rem; }
.x-tabs button.is-on { background: #fff; color: #0b0d14; }
.x-tabs button.is-on span { background: #0b0d14; color: #fff; }
.x-ringstage { position: relative; overflow: hidden; height: clamp(320px, 38vw, 440px); margin-top: 30px; perspective: 1600px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.x-ringstage.is-drag { cursor: grabbing; }
.x-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin: 0; padding: 0; list-style: none; transform-style: preserve-3d; }
.x-ref { position: absolute; left: 0; top: 0; width: 190px; height: 150px; margin: -75px 0 0 -95px; transition: opacity .4s ease; }
.x-ref.is-hidden { display: none; }
.x-ref a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; padding: 16px 12px 12px;
  border-radius: 22px; text-decoration: none; background: rgba(255,255,255,.96); box-shadow: 0 30px 60px -30px #000, inset 0 0 0 1px rgba(255,255,255,.4);
  transition: transform .35s var(--x-spring), box-shadow .3s ease;
}
.x-ref a:hover, .x-ref a:focus-visible { transform: scale(1.08); box-shadow: 0 0 0 3px var(--acc), 0 30px 60px -20px var(--acc); }
.x-ref__logo { display: grid; place-items: center; width: 100%; height: 66px; }
.x-ref__logo img { width: auto; height: auto; max-width: 90%; max-height: 62px; object-fit: contain; }
.x-ref__name { font-size: .74rem; font-weight: 800; line-height: 1.2; color: #3a3e44; text-align: center; }
.x-ref__name small { display: block; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }

/* ---------- 8 · Hologramm-Ausweis ---------- */
.x-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.x-holo { perspective: 1200px; justify-self: center; width: min(360px, 100%); }
.x-holo__card {
  --hx: 50%; --hy: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; display: grid; justify-items: center; gap: 6px; aspect-ratio: 5 / 7.4; padding: 22px 22px 26px; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #1b2236, #0b0e17 60%, #121a2e); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 50px 100px -40px color-mix(in srgb, var(--acc) 80%, #000);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--x-ease); text-align: center;
}
.x-holo__card.is-tracking { transition: transform .1s linear; }
.x-holo__top { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: .58rem; font-weight: 800; letter-spacing: .18em; color: #c9cfdb; }
.x-holo__top img { width: 36px; height: auto; }
.x-holo__top em { font-style: normal; padding: .3em .6em; border-radius: 5px; background: var(--acc); color: #fff; }
.x-holo__avatar { display: grid; place-items: center; width: 54%; aspect-ratio: 1; margin: 14px 0 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 0 40px color-mix(in srgb, var(--acc) 60%, transparent); }
.x-holo__avatar img { width: 72%; height: auto; }
.x-holo__name { font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em; color: #fff; }
.x-holo__role { font-size: .78rem; font-weight: 700; color: var(--acc2); }
.x-holo__meta { display: grid; gap: 4px; margin-top: 10px; font-size: .74rem; color: #c4cad6; }
.x-holo__chip { position: absolute; left: 22px; bottom: 24px; width: 42px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, #f7e09a, #c8a24a); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.x-holo__code { position: absolute; right: 22px; bottom: 24px; width: 110px; height: 30px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px, #fff 8px 11px, transparent 11px 12px); opacity: .55; }
.x-holo__foil { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: color-dodge; opacity: .55;
  background: repeating-linear-gradient(115deg, #ff7eb3 0%, #7afcff 7%, #feff9c 14%, #b28dff 21%, #ff7eb3 28%); background-size: 300% 300%; background-position: var(--hx) var(--hy);
  -webkit-mask-image: radial-gradient(circle at var(--hx) var(--hy), #000 0%, rgba(0,0,0,.35) 45%, transparent 75%); mask-image: radial-gradient(circle at var(--hx) var(--hy), #000 0%, rgba(0,0,0,.35) 45%, transparent 75%); }
.x-holo__shine { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(circle at var(--hx) var(--hy), rgba(255,255,255,.35), transparent 40%); mix-blend-mode: overlay; }
.x-facts--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 1.8rem; }
.x-facts--grid li { padding: 12px 14px; border-radius: 16px; background: var(--x-glass); box-shadow: inset 0 0 0 1px var(--x-line); font-weight: 700; font-size: .88rem; line-height: 1.35; }

/* ---------- 9 · Ablauf: Lichtspur ---------- */
.x-path { position: relative; margin-top: clamp(30px, 5vw, 60px); }
.x-path__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.x-path__track { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 3; stroke-dasharray: 6 10; }
.x-path__line { fill: none; stroke: url(#x-path-grad); stroke: var(--acc2); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 10px var(--acc)); }
.x-comet { position: absolute; left: 0; top: 0; z-index: 2; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--acc2) 40%, transparent), 0 0 40px 10px var(--acc); pointer-events: none; }
.x-steps { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 6vw, 70px); }
.x-step { display: flex; align-items: center; gap: 22px; width: min(520px, 100%); opacity: .35; transform: translateY(16px); transition: opacity .6s ease, transform .6s var(--x-ease); }
.x-step:nth-child(even) { margin-left: auto; flex-direction: row-reverse; text-align: right; }
.x-step.is-on { opacity: 1; transform: none; }
.x-step__num { display: grid; place-items: center; flex: none; width: 74px; height: 74px; border-radius: 50%; font-size: 1.3rem; font-weight: 900; color: #fff; background: #10131c; box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); transition: background .5s ease, box-shadow .5s ease, transform .5s var(--x-spring); }
.x-step.is-on .x-step__num { background: linear-gradient(140deg, var(--acc), var(--vio)); box-shadow: 0 0 0 8px color-mix(in srgb, var(--acc) 25%, transparent), 0 0 40px var(--acc); transform: scale(1.06); }
.x-step h3 { margin: 0 0 4px; font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); font-weight: 900; letter-spacing: -.02em; color: #fff; }
.x-step p { margin: 0; color: var(--x-muted); }

/* ---------- 10 · FAQ als Chat ---------- */
.x-faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.x-chat { display: flex; flex-direction: column; height: min(620px, 82vh); border-radius: 30px; overflow: hidden; background: #0d1018; box-shadow: inset 0 0 0 1px var(--x-line), 0 50px 100px -50px #000; }
.x-chat__top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--x-line); }
.x-chat__top img { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: cover; }
.x-chat__top b { display: block; font-size: .92rem; }
.x-chat__top small { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; color: #3ee07a; }
.x-chat__top small i { width: 7px; height: 7px; border-radius: 50%; background: #3ee07a; }
.x-chat__log { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 18px; scroll-behavior: smooth;
  background: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.4px) 0 0 / 18px 18px; }
.x-chat__log::-webkit-scrollbar { width: 8px; }
.x-chat__log::-webkit-scrollbar-thumb { border-radius: 8px; background: rgba(255,255,255,.18); }
.x-chat__log::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.3); }
.x-msg { max-width: 82%; margin: 0; padding: 11px 15px; border-radius: 20px; font-size: .92rem; line-height: 1.5; animation: xMsg .4s var(--x-spring); }
.x-msg--in { align-self: flex-start; border-bottom-left-radius: 6px; background: #1d2230; color: #e6e9ef; }
.x-msg--out { align-self: flex-end; border-bottom-right-radius: 6px; background: linear-gradient(140deg, var(--acc), color-mix(in srgb, var(--acc) 50%, var(--vio))); color: #fff; font-weight: 700; }
@keyframes xMsg { from { opacity: 0; transform: translateY(10px) scale(.92); } }
.x-typing { display: inline-flex; gap: 4px; align-self: flex-start; padding: 14px 16px; border-radius: 20px; border-bottom-left-radius: 6px; background: #1d2230; }
.x-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa1ae; animation: xDot 1s ease-in-out infinite; }
.x-typing i:nth-child(2) { animation-delay: .15s; } .x-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes xDot { 40% { transform: translateY(-5px); background: #fff; } }
.x-chat__foot { position: relative; flex: none; border-top: 1px solid var(--x-line); background: rgba(255,255,255,.03); }
.x-chat__foot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; pointer-events: none; opacity: 0; transition: opacity .25s ease;
  background: linear-gradient(180deg, transparent, #0d1018 85%); }
.x-chat__foot.has-more::after { opacity: 1; }
.x-chat__hint { display: flex; align-items: center; gap: .5em; margin: 0; padding: 9px 14px 0; font-size: .72rem; font-weight: 700; letter-spacing: .02em; color: var(--x-muted); }
.x-chat__hint i { font-style: normal; color: var(--acc2); animation: xNudge 1.8s ease-in-out infinite; }
@keyframes xNudge { 50% { transform: translateY(3px); } }
.x-chat__chips { display: flex; flex-wrap: wrap; gap: 8px; max-height: 128px; overflow-y: auto; overscroll-behavior: contain; padding: 10px 14px 14px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; }
.x-chat__chips::-webkit-scrollbar { width: 8px; }
.x-chat__chips::-webkit-scrollbar-thumb { border-radius: 8px; background: rgba(255,255,255,.22); }
.x-chat__chips::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.35); }
.x-chat__chips button { flex: none; max-width: 100%; padding: .55em 1em; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 700; text-align: left; white-space: normal; color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--x-line); transition: background-color .2s ease, opacity .2s ease; }
.x-chat__chips button:hover { background: rgba(255,255,255,.16); }
.x-chat__chips button.is-asked { opacity: .45; }
.x-faqall { margin-top: 30px; border-radius: 20px; background: var(--x-glass); box-shadow: inset 0 0 0 1px var(--x-line); }
.x-faqall summary { padding: 16px 20px; cursor: pointer; font-weight: 800; color: #cfd3db; }
.x-faqall dl { margin: 0; padding: 0 20px 20px; }
.x-faqall dt { margin-top: 14px; font-weight: 800; color: #fff; }
.x-faqall dd { margin: 4px 0 0; color: var(--x-muted); }

/* ---------- 11 · Anfrage (Formular aus style.css, hier eingefärbt) ---------- */
.x-inquiry { padding-block: clamp(80px, 10vw, 140px); }
.x-inquiry .container { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 40px)); max-width: none; padding: 0; margin-inline: auto; }
.x-inquiry .eyebrow { color: var(--acc2); }
.x-inquiry .eyebrow::before, .x-inquiry .eyebrow .emo { display: none; }
.x-inquiry .h2 { color: #fff; font-weight: 900; letter-spacing: -.04em; }
.x-inquiry .lead { color: var(--x-muted); }
.x-inquiry .aside-card { background: var(--x-glass); box-shadow: inset 0 0 0 1px var(--x-line); }
.x-inquiry .form-card { color: #1b1e22; border-radius: 30px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 60px 120px -50px var(--acc); }

/* ---------- 12 · Kontakt ---------- */
.x-mega { margin: 0 0 .4em; font-size: clamp(3rem, 1rem + 9vw, 9.5rem); font-weight: 900; line-height: .9; letter-spacing: -.06em; color: #fff; }
.x-mega .x-word { display: inline-block; white-space: nowrap; }
.x-mega .x-ch { display: inline-block; transition: transform .5s var(--x-spring), color .3s ease; }
.x-mega .x-ch.is-up { transform: translateY(-.14em) rotate(-4deg); color: var(--acc2); }
.x-contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.x-ccard { position: relative; overflow: hidden; display: grid; gap: 4px; padding: 26px 24px; border-radius: 26px; text-decoration: none; background: var(--x-glass); box-shadow: inset 0 0 0 1px var(--x-line); transition: transform .35s var(--x-ease), box-shadow .3s ease, background-color .3s ease, translate .3s var(--x-ease); }
.x-ccard:hover { background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 70%, transparent), 0 30px 60px -30px var(--acc); }
.x-ccard svg { width: 30px; height: 30px; margin-bottom: 14px; fill: var(--acc2); }
.x-ccard--wa svg { fill: #25d366; }
.x-ccard small { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--x-muted); }
.x-ccard b { font-size: 1.1rem; word-break: break-word; color: #fff; }
.x-socials { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 34px; font-weight: 700; color: var(--x-muted); }
.x-socials a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--x-glass); box-shadow: inset 0 0 0 1px var(--x-line); transition: transform .3s var(--x-spring), background-color .3s ease; }
.x-socials a:hover { transform: translateY(-4px) rotate(-8deg); background: var(--acc); }
.x-socials svg { width: 20px; height: 20px; fill: #fff; }

/* ---------- Footer ---------- */
.x-footer { position: relative; overflow: hidden; padding: 70px 0 0; background: #040509; border-top: 1px solid var(--x-line); color: var(--x-muted); font-size: .92rem; }
.x-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.x-footer h4 { margin: 0 0 12px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.x-footer nav, .x-footer__grid > div:last-child { display: grid; align-content: start; gap: 6px; }
.x-footer a { text-decoration: none; color: #c4cad6; }
.x-footer a:hover { color: #fff; }
.x-footer p { max-width: 36ch; }
.x-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding: 20px 0; border-top: 1px solid var(--x-line); font-size: .84rem; }
.x-linklike { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: #c4cad6; text-decoration: underline; text-underline-offset: 3px; }
.x-heart { color: #ff5f6d; display: inline-block; animation: xBob 2s ease-in-out infinite; }
.x-footer__mark { margin: 10px 0 -0.18em; text-align: center; white-space: nowrap; font-size: clamp(2.4rem, 10.4vw, 11rem); font-weight: 900; letter-spacing: -.05em; line-height: .8; color: transparent; background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 90%); -webkit-background-clip: text; background-clip: text; user-select: none; }

/* ---------- Einblenden ---------- */
.js .x-rv { opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity 1s var(--x-ease), transform 1s var(--x-ease), filter 1s var(--x-ease); transition-delay: var(--d, 0s); }
.js .x-rv.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .x-nav a:not(.x-btn) { padding: .5em .6em; font-size: .86rem; }
}
@media (max-width: 1119px) {
  .x-hero { padding-top: calc(86px + min(70vw, 420px) * .62 + 34px); align-items: start; min-height: auto; }
  .x-hero__hint { display: none; }
}
@media (max-width: 1120px) {
  .x-burger { display: block; }
  .x-phone-grid, .x-philo, .x-about, .x-faq { grid-template-columns: 1fr; }
  .x-nav {
    position: fixed; inset: 76px 0 auto 0; display: grid; gap: 4px; margin: 0; padding: 14px; border-radius: 26px;
    background: rgba(10,12,18,.96); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px #000;
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transition: opacity .25s ease, transform .3s var(--x-ease), visibility 0s linear .3s;
  }
  .nav-open .x-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .x-nav a:not(.x-btn) { padding: .8em 1em; font-size: 1rem; }
  .x-nav__cta { margin: 8px 0 0; }
  .x-device-wrap { order: -1; }
  .x-phone-grid .x-head { max-width: none; }
  .x-stats__grid { grid-template-columns: 1fr 1fr; }
  .x-flips { grid-template-columns: 1fr 1fr; }
  .x-footer__grid { grid-template-columns: 1fr 1fr; }
  .x-footer__grid > div:first-child { grid-column: 1 / -1; }
  .x-hero__inner > * { max-width: none; }
}
@media (max-width: 640px) {
  .x-header { top: 8px; height: 58px; width: calc(100% - 16px); padding-left: 12px; }
  .x-nav { inset: 70px 0 auto 0; }
  .x-brand img { width: 42px; }
  .x-hero__hint { display: none; }
  .x-scroll { display: none; }
  .x-applist { grid-template-columns: 1fr; }
  .x-device-wrap { max-width: 340px; }
  .x-city__stage { width: 1000px; }
  .x-city__card { position: relative; right: auto; top: auto; width: auto; margin: 12px 0 0; }
  .x-daynight { bottom: auto; top: 10px; }
  .x-stat { min-height: 180px; padding: 22px 12px; }
  .x-stat__ring { width: 140px; }
  .x-flips { grid-template-columns: 1fr; }
  .x-flip { height: 190px; }
  .x-boxstage { min-height: 320px; }
  .x-ref { width: 150px; height: 124px; margin: -62px 0 0 -75px; }
  .x-ref__logo { height: 52px; } .x-ref__logo img { max-height: 48px; }
  .x-facts--grid { grid-template-columns: 1fr; }
  .x-step, .x-step:nth-child(even) { margin-left: 0; flex-direction: row; text-align: left; padding-left: 0; }
  .x-step__num { width: 58px; height: 58px; font-size: 1.05rem; }
  .x-contact__grid { grid-template-columns: 1fr; }
  .x-chat { height: min(560px, 78vh); }
  .x-chat__chips { max-height: 104px; }
  .x-footer__grid { grid-template-columns: 1fr; }
  .wa-float { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .x-aurora i, .x-grain, .x-grad, .x-rotor__list, .x-box__cube, .x-stat__ring, .cs-bus > g, .cs-walker, .cs-cloud, .cs-tug, .x-wall i, .x-hint span, .x-badge { animation: none !important; }
  .js .x-rv { opacity: 1; transform: none; filter: none; }
  .x-sparkles, .x-cursor { display: none; }
}

/* =========================================================
   V5.1 – „noch krasser“: Ladebildschirm, Ton, Sperrbildschirm,
   Arcade, Flugzeug/Wetter/Feuerwerk, Zaubermenü, Easter Eggs
   ========================================================= */

/* ---------- Ladebildschirm ---------- */
.x-boot { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; background: transparent; transition: opacity .6s ease, visibility 0s linear .6s; }
.x-boot.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.x-boot__inner { position: relative; z-index: 2; display: grid; place-items: center; width: 220px; aspect-ratio: 1; }
.x-boot__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.x-boot__trk { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 2; }
.x-boot__bar { fill: none; stroke: var(--acc2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 10px var(--acc)); transition: stroke-dashoffset .35s linear; }
.x-boot__logo { width: 58%; height: auto; filter: drop-shadow(0 0 30px rgba(91,135,216,.45)); animation: bootPulse 2.2s ease-in-out infinite; }
@keyframes bootPulse { 50% { transform: scale(1.05); filter: drop-shadow(0 0 48px rgba(156,192,255,.7)); } }
.x-boot__txt { position: absolute; bottom: -54px; display: grid; justify-items: center; gap: 4px; margin: 0; text-align: center; }
.x-boot__txt b { font-size: 2rem; font-weight: 900; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.x-boot__txt b::after { content: " %"; font-size: .9rem; font-weight: 700; color: var(--acc2); }
.x-boot__txt span { font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--x-muted); }
.x-boot__curtain { position: absolute; z-index: 1; left: 0; right: 0; height: 50.2%; background: #04050a; transition: transform .9s cubic-bezier(.76,0,.24,1); }
.x-boot__curtain--t { top: 0; }
.x-boot__curtain--b { bottom: 0; }
.x-boot.is-opening .x-boot__curtain--t { transform: translateY(-100%); }
.x-boot.is-opening .x-boot__curtain--b { transform: translateY(100%); }
.x-boot.is-opening .x-boot__inner { opacity: 0; transform: scale(1.4); transition: opacity .4s ease, transform .9s cubic-bezier(.76,0,.24,1); }
.x-boot__skip { position: absolute; z-index: 2; right: 22px; bottom: 20px; padding: .5em 1.1em; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 700; color: var(--x-muted); background: rgba(255,255,255,.07); }
.x-boot__skip:hover { color: #fff; }
.x-boot.is-opening .x-boot__skip { opacity: 0; }
body.x.is-booting { overflow: hidden; }

/* ---------- Ton-Schalter ---------- */
.x-sound { display: grid; place-items: center; width: 42px; height: 42px; flex: none; margin-left: 6px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.08); transition: background-color .25s ease, transform .25s var(--x-spring); }
.x-sound:hover { background: rgba(255,255,255,.16); transform: scale(1.08); }
.x-sound svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.x-sound svg path:first-child { fill: #fff; }
.x-sound .x-sound__w1, .x-sound .x-sound__w2 { opacity: 0; transition: opacity .25s ease; }
.x-sound[aria-pressed="true"] { background: var(--acc); }
.x-sound[aria-pressed="true"] .x-sound__off { opacity: 0; }
.x-sound[aria-pressed="true"] .x-sound__w1 { opacity: 1; animation: xWave 1.6s ease-in-out infinite; }
.x-sound[aria-pressed="true"] .x-sound__w2 { opacity: 1; animation: xWave 1.6s ease-in-out .2s infinite; }
@keyframes xWave { 50% { opacity: .25; } }

/* ---------- Zaubermenü ---------- */
.x-wand { position: fixed; z-index: 70; left: max(18px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); }
.x-wand__btn { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%; cursor: pointer; font-size: 1.5rem;
  background: linear-gradient(140deg, var(--vio), var(--acc)); box-shadow: 0 16px 34px -12px var(--vio), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .4s var(--x-spring); }
.x-wand__btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--vio); animation: pulse 2.6s ease-out infinite; }
.x-wand__btn:hover { transform: scale(1.1) rotate(-12deg); }
.x-wand__btn span { display: block; animation: xTwinkle 2.6s ease-in-out infinite; }
.x-wand__menu { position: absolute; left: 0; bottom: 70px; display: grid; gap: 4px; width: 208px; padding: 8px; border-radius: 20px;
  background: rgba(10,12,20,.9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -24px #000;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.94); transform-origin: 20px 100%; transition: opacity .25s ease, transform .4s var(--x-spring), visibility 0s linear .4s; }
.x-wand.is-open .x-wand__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.x-wand__menu button { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 0; border-radius: 13px; cursor: pointer; font: inherit; font-size: .86rem; font-weight: 700; text-align: left; color: #fff; background: none; transition: background-color .2s ease; }
.x-wand__menu button:hover { background: rgba(255,255,255,.1); }
.x-wand__menu i { font-style: normal; font-size: 1.05rem; }

/* ---------- Handy: Sperrbildschirm ---------- */
.x-lock { position: absolute; z-index: 4; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 74px 20px 26px; text-align: center; transition: transform .7s var(--x-ease), opacity .5s ease, visibility 0s linear .7s; }
.x-device__screen.is-unlocked .x-lock { transform: translateY(-104%); opacity: 0; visibility: hidden; }
.x-lock__day { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #d8def0; }
.x-lock__time { font-size: clamp(2.6rem, 21cqi, 4.6rem); font-weight: 200; line-height: 1; letter-spacing: -.045em; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.x-lock__date { margin-top: 2px; font-size: .84rem; font-weight: 600; color: #e4e8f2; }
.x-lock__card { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; width: 100%; margin-top: auto; padding: 11px 14px 11px 11px; border-radius: 20px; text-align: left;
  background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); animation: xDrop .7s var(--x-spring) .5s backwards; }
@keyframes xDrop { from { opacity: 0; transform: translateY(-24px) scale(.9); } }
.x-lock__card img { width: 30px; height: 30px; border-radius: 50%; background: #fff; object-fit: cover; }
.x-lock__card b { display: block; font-size: .72rem; color: #fff; }
.x-lock__card small { display: block; font-size: .68rem; line-height: 1.3; color: #dde2ee; }
.x-lock__swipe { display: grid; justify-items: center; gap: 4px; width: 100%; margin-top: 16px; padding: 10px 0 4px; border: 0; background: none; cursor: pointer; font: inherit; font-size: .74rem; font-weight: 700; color: #fff; }
.x-lock__swipe i { font-style: normal; font-size: 1.1rem; animation: xUp 1.8s ease-in-out infinite; }
@keyframes xUp { 50% { transform: translateY(-7px); opacity: .5; } }

/* ---------- Handy: Arcade ---------- */
.x-badge--new { right: -2%; background: #ff3cac; font-size: .54rem; letter-spacing: .04em; }
.x-appbody--game { padding-top: 10px; }
.x-game { position: relative; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: radial-gradient(90% 70% at 50% 0%, #38206b, #0b0d1a 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); touch-action: manipulation; }
.x-game__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }
.x-game__hud { position: absolute; z-index: 2; top: 8px; left: 8px; right: 8px; display: flex; justify-content: space-between; font-size: .72rem; font-weight: 700; color: #cfd6e6; pointer-events: none; }
.x-game__hud b { color: #fff; font-variant-numeric: tabular-nums; }
.x-game__start { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 22px; text-align: center; background: rgba(8,10,20,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .35s ease, visibility 0s linear .35s; }
.x-game.is-playing .x-game__start { opacity: 0; visibility: hidden; }
.x-game__start b { font-size: 1.2rem; font-weight: 900; letter-spacing: -.02em; color: #fff; }
.x-game__start p { margin: 0; font-size: .76rem; line-height: 1.45; color: #b7becb !important; }
.x-game__start small { font-size: .72rem; color: #b7becb; }
.x-game__start small b { font-size: .8rem; color: #ffd34d; }
.x-game__start .x-btn { min-height: 44px; }

/* ---------- Stadt: Flugzeug, Wetter, Feuerwerk ---------- */
.cs-plane > g { animation: xPlane 34s linear infinite; }
@keyframes xPlane { from { transform: translate(-300px, 96px); } to { transform: translate(1700px, 60px); } }
.x-city__fx { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.x-weather { position: absolute; z-index: 4; right: clamp(10px, 2vw, 22px); bottom: 16px; display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(8,10,16,.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.x-weather button { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: none; font-size: 1rem; line-height: 1; opacity: .55; transition: opacity .2s ease, background-color .2s ease, transform .3s var(--x-spring); }
.x-weather button:hover { opacity: 1; transform: scale(1.12); }
.x-weather button.is-on { opacity: 1; background: rgba(255,255,255,.16); }

/* ---------- Überschriften zerfallen bei Berührung ---------- */
[data-burst] .x-b { display: inline-block; white-space: pre; transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .9s ease, color .4s ease; }
[data-burst] .x-b.is-burst { color: var(--acc2); }
[data-burst] .x-bw { display: inline-block; }

/* ---------- Disco & Datenregen ---------- */
body.x.is-disco { animation: xDisco 1.6s linear infinite; }
@keyframes xDisco { 0% { filter: hue-rotate(0deg) saturate(1.5); } 100% { filter: hue-rotate(360deg) saturate(1.5); } }
body.x.is-disco .x-aurora i { animation-duration: 3s !important; }
body.x.is-disco .x-h2, body.x.is-disco .x-hero__title { animation: xShake .5s ease-in-out infinite; }
@keyframes xShake { 25% { transform: translate(-3px, 2px) rotate(-.6deg); } 75% { transform: translate(3px, -2px) rotate(.6deg); } }
body.x.is-float [data-burst] .x-b, body.x.is-float .x-stat b, body.x.is-float .x-app__icon { animation: xFloatUp 4s ease-in-out infinite; }
@keyframes xFloatUp { 50% { transform: translateY(-14px) rotate(-5deg); } }
.x-matrix { position: fixed; z-index: 92; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.x-toast { position: fixed; z-index: 97; left: 50%; bottom: 96px; translate: -50% 0; padding: .7em 1.3em; border-radius: 999px; font-size: .88rem; font-weight: 800; color: #fff;
  background: rgba(10,12,20,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 20px 40px -20px #000;
  opacity: 0; transform: translateY(14px); transition: opacity .3s ease, transform .4s var(--x-spring); pointer-events: none; }
.x-toast.is-on { opacity: 1; transform: none; }

/* ---------- Scroll-Schwung ---------- */
.x-section, .x-hero, .x-statement { transition: transform .35s var(--x-ease); }
body.x.is-skew .x-section, body.x.is-skew .x-statement { transform: skewY(var(--skew, 0deg)); }

@media (max-width: 640px) {
  .x-wand { left: 12px; bottom: 12px; }
  .x-wand__btn { width: 50px; height: 50px; font-size: 1.25rem; }
  .x-sound { width: 38px; height: 38px; }
  .x-weather { bottom: auto; top: 10px; right: 10px; }
  .x-weather button { width: 30px; height: 30px; font-size: .85rem; }
  .x-boot__txt b { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .x-boot__logo, .x-lock__swipe i, .x-wand__btn span, .x-wand__btn::before, .cs-plane > g, .x-sound .x-sound__w1, .x-sound .x-sound__w2 { animation: none !important; }
  body.x.is-disco, body.x.is-disco .x-h2, body.x.is-disco .x-hero__title, body.x.is-float [data-burst] .x-b, body.x.is-float .x-stat b, body.x.is-float .x-app__icon { animation: none !important; }
  .x-city__fx, .x-matrix { display: none; }
}

/* =========================================================
   V5.2 – Marken-Studio, Formwandel, zweite Handy-Seite,
   Marken-Check, Karte, Checkliste, Visitenkarte, Warp
   ========================================================= */

/* ---------- Marken-Studio ---------- */
.x-brandbar { max-width: 620px; margin: 26px auto 0; text-align: left; }
.x-head--center .x-brandbar { text-align: center; }
.x-brandbar label { display: block; margin-bottom: 10px; font-size: .86rem; font-weight: 800; letter-spacing: .01em; color: var(--acc2); }
.x-brandbar__row { display: flex; gap: 10px; }
.x-brandbar input {
  flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 0; border-radius: 999px; font: inherit; font-size: 1rem; font-weight: 700; color: #fff;
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1.5px var(--x-line); transition: box-shadow .25s ease, background-color .25s ease;
}
.x-brandbar input::placeholder { color: #7f8798; font-weight: 600; }
.x-brandbar input:focus { outline: none; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 2px var(--acc), 0 0 30px -8px var(--acc); }
.x-brandbar .x-btn { flex: none; white-space: nowrap; }
.x-brandbar__note { margin: 10px 0 0; font-size: .76rem; color: var(--x-muted); }
.x-brandbar.is-set .x-brandbar__note { color: var(--acc2); font-weight: 700; }
.cs-board-brand { opacity: 0; transition: opacity .5s ease; }
.cs-board-brand.is-on { opacity: 1; }

/* ---------- Zweite Handy-Seite ---------- */
.x-pager { overflow: hidden; margin: 0 -18px; padding: 0 18px; }
.x-pager__track { display: flex; width: 200%; transition: transform .5s var(--x-ease); }
.x-pager__track > .x-apps { width: 50%; flex: none; align-content: start; padding-right: 36px; }
.x-pager__track > .x-apps:last-child { padding-right: 0; padding-left: 36px; }
.x-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.35); transition: background-color .25s ease, transform .25s var(--x-spring); }
.x-dots button.is-on { background: #fff; transform: scale(1.25); }
.x-dots { gap: 8px; }

/* ---------- Marken-Check ---------- */
.x-quiz { padding: 4px 0 2px; }
.x-quiz__bar { height: 5px; border-radius: 5px; background: #e2e6ee; overflow: hidden; }
.x-quiz__bar i { display: block; height: 100%; width: 33%; border-radius: inherit; background: linear-gradient(90deg, var(--acc2), var(--acc)); transition: width .45s var(--x-ease); }
.x-quiz__step { margin: 12px 0 2px !important; font-size: .68rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8d93a1 !important; }
.x-quiz__q { margin: 0 0 14px !important; font-size: 1.05rem !important; }
.x-quiz__opts { display: grid; gap: 8px; }
.x-quiz__opts button {
  padding: 12px 14px; border: 0; border-radius: 15px; cursor: pointer; text-align: left; font: inherit; font-size: .86rem; font-weight: 700; color: #22252c;
  background: #fff; box-shadow: 0 6px 16px -12px rgba(0,0,0,.5), inset 0 0 0 1px rgba(0,0,0,.07); transition: transform .2s var(--x-spring), box-shadow .2s ease;
}
.x-quiz__opts button:hover { transform: translateX(4px); box-shadow: 0 10px 22px -14px rgba(0,0,0,.6), inset 0 0 0 2px var(--acc); }
.x-quiz__result { display: grid; justify-items: center; gap: 6px; text-align: center; animation: xMsg .5s var(--x-spring); }
.x-quiz__score { display: grid; place-items: center; width: 74px; height: 74px; margin: 8px 0 4px; border-radius: 50%; font-size: 1.7rem; font-weight: 900; color: #fff; background: linear-gradient(140deg, var(--acc), var(--vio)); box-shadow: 0 14px 30px -14px var(--acc); }
.x-quiz__result b { font-size: 1.1rem; font-weight: 900; }
.x-quiz__result p { margin: 0 !important; }
.x-quiz__again { margin-top: 2px; padding: 6px; border: 0; background: none; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 700; color: #6c7179; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Karte ---------- */
.x-map { position: relative; border-radius: 20px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.x-map svg { display: block; width: 100%; height: auto; }
.x-map__pulse { animation: xMapPulse 2.4s ease-out infinite; transform-origin: center; }
@keyframes xMapPulse { 0% { r: 11px; opacity: .45; } 70% { r: 30px; opacity: 0; } 100% { opacity: 0; } }
.x-map__pin { animation: xBob 2.8s ease-in-out infinite; }
.x-map__chip { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 7px 11px; border-radius: 12px; font-size: .68rem; font-weight: 700; color: #fff; background: rgba(15,18,26,.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- Checkliste ---------- */
.x-check { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.x-check button { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 11px 12px; border: 0; border-radius: 14px; cursor: pointer; text-align: left; font: inherit; font-size: .84rem; font-weight: 600; color: #22252c; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.07); transition: background-color .2s ease; }
.x-check i { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 7px; box-shadow: inset 0 0 0 2px #c3c8d2; transition: background-color .25s ease, box-shadow .25s ease; }
.x-check button.is-on { background: #eef6f0; }
.x-check button.is-on i { background: #17924a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: none; }
.x-check button.is-on span { text-decoration: line-through; color: #6c7179; }
.x-check__out { margin: 14px 0 0 !important; font-size: .82rem !important; font-weight: 800; color: #22252c !important; }

/* ---------- Visitenkarte ---------- */
.x-vcard { position: relative; display: grid; justify-items: center; gap: 3px; padding: 24px 20px 22px; border-radius: 20px; overflow: hidden; text-align: center;
  background: linear-gradient(150deg, #1c2334, #0d1018 60%, #161d2e); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 24px 50px -28px #000; }
.x-vcard img { width: 76px; height: auto; margin-bottom: 8px; }
.x-vcard b { font-size: 1.05rem; font-weight: 900; color: #fff; }
.x-vcard span { margin-bottom: 8px; font-size: .76rem; color: var(--acc2); }
.x-vcard a { font-size: .8rem; font-weight: 600; color: #cfd6e6 !important; text-decoration: none; word-break: break-word; }
.x-vcard a:hover { color: #fff !important; text-decoration: underline; }
.x-vcard__shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.14) 50%, transparent 62%); transform: translateX(-100%); animation: xSheen 5s ease-in-out infinite; }

/* ---------- Warp-Übergang ---------- */
.x-warp { position: fixed; z-index: 94; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--wx, 50%) var(--wy, 50%), color-mix(in srgb, var(--acc) 85%, transparent), transparent 62%); }
.x-warp.is-on { animation: xWarp .75s cubic-bezier(.2,.8,.2,1); }
@keyframes xWarp { 0% { opacity: 0; transform: scale(.2); } 28% { opacity: .9; } 100% { opacity: 0; transform: scale(2.6); } }

/* ---------- Stadt neigt sich mit der Maus ---------- */
.x-city__stage { transform: perspective(1400px) rotateX(var(--ctx, 0deg)) rotateY(var(--cty, 0deg)); transition: transform .5s var(--x-ease); transform-style: preserve-3d; }
.x-city__stage.is-tilt { transition: transform .12s linear; }

@media (max-width: 640px) {
  .x-brandbar__row { flex-direction: column; }
  .x-brandbar .x-btn { width: 100%; }
  .x-map__chip { font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) {
  .x-map__pin, .x-map__pulse, .x-vcard__shine, .x-warp.is-on { animation: none !important; }
  .x-city__stage { transform: none !important; }
}

/* =========================================================
   V5.3 – Entdecker-Modus, heftigere Karton-Explosion,
   Referenz-Karussell hält beim Überfahren an
   ========================================================= */

/* ---------- Referenzen: anhalten & vergrößern ---------- */
.x-ref a { will-change: transform; }
.x-ref a:hover, .x-ref a:focus-visible {
  transform: scale(1.22) translateZ(60px);
  box-shadow: 0 0 0 3px var(--acc), 0 0 60px -6px var(--acc), 0 40px 70px -30px #000;
}
.x-ref a::after {
  content: "Seite öffnen ↗"; position: absolute; left: 50%; bottom: -26px; translate: -50% 6px; white-space: nowrap;
  padding: .3em .8em; border-radius: 999px; background: var(--acc); color: #fff; font-size: .62rem; font-weight: 800;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, translate .3s var(--x-ease);
}
.x-ref a { position: relative; }
.x-ref a:hover::after, .x-ref a:focus-visible::after { opacity: 1; translate: -50% 0; }
.x-ringstage.is-held { cursor: pointer; }
.x-ringstage__hold { position: absolute; left: 50%; bottom: 6px; translate: -50% 0; z-index: 5; padding: .35em .9em; border-radius: 999px; font-size: .72rem; font-weight: 800; color: #fff; background: rgba(10,12,20,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.x-ringstage.is-held .x-ringstage__hold { opacity: 1; }

/* ---------- Karton: Explosion ---------- */
.x-boxstage { position: relative; }
.x-shock { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; pointer-events: none; opacity: 0; box-shadow: 0 0 0 2px var(--acc2); }
.x-shock.is-on { animation: xShock .9s cubic-bezier(.1,.7,.2,1); }
.x-shock.is-on::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px #fff; animation: xShock .9s cubic-bezier(.1,.7,.2,1) .12s; }
@keyframes xShock { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(46); } }
.x-shard { position: fixed; z-index: 93; pointer-events: none; border-radius: 2px; background: linear-gradient(140deg, #e3c08a, #a9783f); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.x-flash { position: fixed; z-index: 93; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.x-flash.is-on { animation: xFlashOut .5s ease-out; }
@keyframes xFlashOut { 0% { opacity: .85; } 100% { opacity: 0; } }
body.x.is-quake { animation: xQuake .55s cubic-bezier(.36,.07,.19,.97); }
@keyframes xQuake { 10% { transform: translate(-9px, 5px) rotate(-.5deg); } 25% { transform: translate(8px, -6px) rotate(.5deg); } 40% { transform: translate(-6px, 4px); } 55% { transform: translate(5px, -3px); } 70% { transform: translate(-3px, 2px); } 100% { transform: none; } }
.x-boxstage.is-broken .x-box__reveal span { animation: xSlam .8s cubic-bezier(.2,1.6,.3,1); }
@keyframes xSlam { 0% { transform: scale(2.6); opacity: 0; filter: blur(14px); } 60% { filter: blur(0); } 100% { transform: scale(1); opacity: 1; } }

/* ---------- Entdecker-Modus ---------- */
.x-quest { position: fixed; z-index: 71; left: max(18px, env(safe-area-inset-left)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 72px); }
.x-quest__btn { display: flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border: 0; border-radius: 999px; cursor: pointer; font: inherit;
  background: rgba(10,12,20,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 16px 32px -18px #000;
  transition: transform .3s var(--x-spring), box-shadow .3s ease; }
.x-quest__btn:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 70%, transparent), 0 20px 40px -18px var(--acc); }
.x-quest__ring { position: relative; display: grid; place-items: center; width: 36px; height: 36px; flex: none; }
.x-quest__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.x-quest__trk { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 3; }
.x-quest__bar { fill: none; stroke: var(--acc2); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--x-ease); filter: drop-shadow(0 0 5px var(--acc)); }
.x-quest__ring b { font-size: .72rem; font-weight: 900; color: #fff; }
.x-quest__label { font-size: .78rem; font-weight: 800; color: #cfd3db; white-space: nowrap; }
.x-quest.is-full .x-quest__btn { background: linear-gradient(130deg, var(--acc), var(--vio)); }
.x-quest.is-pop .x-quest__ring { animation: xPopRing .7s var(--x-spring); }
@keyframes xPopRing { 40% { transform: scale(1.35) rotate(-12deg); } }
.x-quest__panel { position: absolute; left: 0; bottom: 54px; width: min(330px, calc(100vw - 36px)); padding: 16px; border-radius: 22px;
  background: rgba(10,12,20,.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 36px 70px -28px #000;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.95); transform-origin: 30px 100%; transition: opacity .25s ease, transform .4s var(--x-spring), visibility 0s linear .4s; }
.x-quest.is-open .x-quest__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.x-quest__panel header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-size: .98rem; color: #fff; }
.x-quest__panel header button { width: 28px; height: 28px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.1); color: #fff; font-size: 1.05rem; }
.x-quest__intro { margin: 0 0 12px; font-size: .78rem; line-height: 1.45; color: var(--x-muted); }
.x-quest__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; max-height: 268px; overflow-y: auto; scrollbar-width: thin; }
.x-quest__list::-webkit-scrollbar { width: 7px; }
.x-quest__list::-webkit-scrollbar-thumb { border-radius: 7px; background: rgba(255,255,255,.2); }
.x-quest__list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 13px; background: rgba(255,255,255,.05); }
.x-quest__list li i { font-style: normal; font-size: 1rem; text-align: center; filter: grayscale(1); opacity: .45; transition: filter .4s ease, opacity .4s ease, transform .5s var(--x-spring); }
.x-quest__list li b { display: block; font-size: .8rem; color: #8f96a6; }
.x-quest__list li small { display: block; font-size: .7rem; line-height: 1.35; color: #6c7280; }
.x-quest__list li.is-on { background: color-mix(in srgb, var(--acc) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 45%, transparent); }
.x-quest__list li.is-on i { filter: none; opacity: 1; transform: scale(1.15); }
.x-quest__list li.is-on b { color: #fff; }
.x-quest__list li.is-on small { color: #b7becb; }
.x-quest__done { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--x-line); text-align: center; }
.x-quest__done b { display: block; font-size: 1rem; color: #fff; }
.x-quest__done p { margin: 6px 0 10px; font-size: .78rem; line-height: 1.5; color: var(--x-muted); }
.x-quest__share { margin-top: 8px; padding: 6px; border: 0; background: none; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 700; color: var(--acc2); text-decoration: underline; text-underline-offset: 3px; }
.x-quest__toast { display: flex; align-items: center; gap: 10px; }
.x-quest__toast i { font-style: normal; font-size: 1.2rem; }
.x-quest__toast span { display: block; }
.x-quest__toast small { display: block; font-size: .72rem; font-weight: 600; opacity: .75; }

@media (max-width: 640px) {
  .x-quest { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 62px); left: 12px; }
  .x-quest__label { display: none; }
  .x-quest__btn { padding: 5px; }
  .x-ref a::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .x-shock.is-on, body.x.is-quake, .x-flash.is-on, .x-quest.is-pop .x-quest__ring, .x-boxstage.is-broken .x-box__reveal span { animation: none !important; }
}

/* =========================================================
   V5.4 – Impressum, Datenschutz und Fehlerseite im dunklen Look
   ========================================================= */
body.x-page { background: var(--x-bg); color: var(--x-ink); }
body.x-page .section--tint, body.x-page .section--soft { background: transparent; }
body.x-page .legal-hero { padding: calc(var(--header-h) + 54px) 0 clamp(26px, 4vw, 42px); background: transparent; border-bottom: 1px solid var(--x-line); }
body.x-page .legal-hero .eyebrow { padding: .5em 1.05em; border-radius: 7px; background: var(--acc); color: #fff; letter-spacing: .2em; }
body.x-page .legal-hero .eyebrow::before, body.x-page .legal-hero .eyebrow::after { content: none !important; }
body.x-page .legal-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.8rem); font-weight: 900; letter-spacing: -.04em; color: #fff; }
body.x-page .legal { color: var(--x-muted); }
body.x-page .legal h2 { margin-top: 2.2em; font-size: clamp(1.25rem, 1.05rem + .9vw, 1.7rem); font-weight: 900; letter-spacing: -.02em; color: #fff; }
body.x-page .legal h3 { margin-top: 1.6em; font-size: 1.05rem; font-weight: 800; color: var(--acc2); }
body.x-page .legal p, body.x-page .legal li, body.x-page .legal address { color: var(--x-muted); }
body.x-page .legal strong { color: #fff; }
body.x-page .legal a { color: var(--acc2); }
body.x-page .legal hr { border-color: var(--x-line); }
body.x-page .notfound { padding-top: calc(var(--header-h) + 40px); background: radial-gradient(900px 500px at 50% 0%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%); }
body.x-page .notfound__code { background: linear-gradient(100deg, var(--acc2), var(--acc) 45%, var(--vio)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.x-page .notfound .h2 { color: #fff; }
body.x-page .notfound .lead { color: var(--x-muted); }
body.x-page .btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.35); }
body.x-page .btn--ghost:hover { border-color: #fff; }
body.x-page .notfound h1, body.x-page .notfound h2 { color: #fff; }
body.x-page .notfound p { color: var(--x-muted); }
body.x-page .site-footer { background: #040509; border-top: 1px solid var(--x-line); }
/* Kopfzeile der Unterseiten bleibt die Glasleiste aus Version 4 */
body.x-page .header-inner { background: rgba(10,12,18,.72); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 20px 50px -30px #000; }
body.x-page .main-nav a:not(.btn) { color: #cfd3db; }
body.x-page .main-nav a:not(.btn):hover { background: rgba(255,255,255,.08); color: #fff; }
body.x-page .btn--primary { background: linear-gradient(120deg, var(--acc), color-mix(in srgb, var(--acc) 55%, var(--vio))); box-shadow: 0 16px 34px -16px var(--acc); }
@media (max-width: 920px) { body.x-page .main-nav { background: rgba(10,12,18,.97); } body.x-page .main-nav a:not(.btn) { border-color: rgba(255,255,255,.08); } }
