/* =====================================================================
   INVESTICOM 2027 · VORVERKAUFSSEITE
   Laedt nach /assets/invc.css und /tickets-2027/t27.css. Hero und
   Ticketkarten kommen aus t27.css, Karte und Location aus invc.css.
   Hier steht nur, was die Vorverkaufsseite neu braucht.
   ===================================================================== */

.vv { overflow-x: clip; }
.vv-lime { color: var(--lime); }

/* =====================================================================
   1 · Hero
   ===================================================================== */
.vv-hero { padding-bottom: 120px; }
.vv-hero .chips { margin-bottom: 34px; }
/* Subline seit Haukes Review laenger: auf zwei Zeilen halten, damit sie
   nicht in die 3D-Objekte links und rechts laeuft */
.vv-hero .t27-sub { max-width: 640px; margin-inline: auto; text-wrap: balance; }
.vv-hero-mit {
  margin: 22px 0 0;
  font-size: 15px;
  color: var(--fg-mute);
  letter-spacing: .01em;
}

/* 3D-Objekte der Salespage, hier frei schwebend links und rechts. Die
   Verschiebung durch Maus und Scrollen setzt vv.js ueber --px / --py. */
.vv-objs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.vv-obj {
  --px: 0px; --py: 0px;
  position: absolute;
  height: auto;
  translate: var(--px) var(--py);
  animation: vv-schweben 7s ease-in-out infinite, vv-obj-ein 1400ms var(--ease) 500ms both;
  will-change: translate, transform;
}
.vv-obj-wallet { left: 5.5%;  top: 46%; width: 226px; animation-duration: 7.5s, 1400ms; }
.vv-obj-btc    { right: 9%;   top: 50%; width: 170px; animation-duration: 8.4s, 1400ms; animation-delay: -3.1s, 650ms; }
.vv-obj-cards  { right: 4%;   top: 22%; width: 120px; animation-duration: 6.2s, 1400ms; animation-delay: -1.8s, 800ms; }
@keyframes vv-schweben {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(2.5deg); }
}
@keyframes vv-obj-ein {
  from { opacity: 0; scale: .7; filter: blur(10px); }
  to   { opacity: 1; scale: 1; filter: none; }
}

/* =====================================================================
   2 · Themen
   Ohne JavaScript eine einfache Liste. Mit JavaScript (.is-pin) bleibt
   die Buehne stehen und die vier Themen wechseln beim Scrollen durch.
   ===================================================================== */
.vv-themen { background: var(--bg); }
.vv-themen-pin { position: relative; padding: 90px 0 100px; overflow: hidden; }
.vv-themen-licht {
  --ton: 0;
  position: absolute;
  left: 50%; top: 56%;
  width: 1100px; height: 620px;
  translate: -50% -50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(1, 14, 204, .5) 0%, transparent 70%);
  filter: blur(50px) hue-rotate(calc(var(--ton) * 1deg));
  transition: filter 900ms var(--ease);
  pointer-events: none;
}
.vv-themen-inner { position: relative; }
.vv-themen-kopf { text-align: center; margin-bottom: 56px; }
.vv-themen-kopf .eyebrow { color: var(--lime); }
.vv-themen-kopf .h2 { max-width: 820px; margin-inline: auto; }

.vv-themen-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 44px; }
.vv-thema { text-align: center; }
.vv-thema-nr {
  display: block;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--lime);
  margin-bottom: 10px;
}
.vv-thema-wort {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(54px, 12.5vw, 176px);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.vv-thema-wort > span { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.vv-thema-wort > span > span { display: inline-block; }
.vv-thema:nth-child(4) .vv-thema-wort { font-size: clamp(40px, 8.6vw, 124px); }
.vv-thema p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 20px;
  color: var(--fg-dim);
}
.vv-themen-fuss { margin-top: 56px; text-align: center; }
.vv-themen-nav { display: none; }
.vv-themen-hinweis { margin: 0; font-size: 14px; color: var(--fg-mute); }

/* Fixierte Szene */
.vv-themen.is-pin { height: 250vh; }
.vv-themen.is-pin .vv-themen-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding: 0;
  display: flex;
  align-items: center;
}
.vv-themen.is-pin .vv-themen-inner { width: 100%; }
.vv-themen.is-pin .vv-themen-kopf { margin-bottom: 30px; }
.vv-themen.is-pin .vv-themen-liste { display: block; position: relative; height: clamp(250px, 38vh, 380px); }
.vv-themen.is-pin .vv-thema {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.vv-themen.is-pin .vv-thema-nr,
.vv-themen.is-pin .vv-thema p {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms var(--ease), transform 620ms var(--ease);
}
.vv-themen.is-pin .vv-thema-wort > span > span {
  transform: translateY(112%) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform 620ms var(--ease);
}
.vv-themen.is-pin .vv-thema.is-weg .vv-thema-wort > span > span { transform: translateY(-112%) rotate(-4deg); }
.vv-themen.is-pin .vv-thema.is-weg .vv-thema-nr,
.vv-themen.is-pin .vv-thema.is-weg p { transform: translateY(-18px); }
.vv-themen.is-pin .vv-thema.is-on { pointer-events: auto; }
.vv-themen.is-pin .vv-thema.is-on .vv-thema-wort > span > span { transform: none; }
.vv-themen.is-pin .vv-thema.is-on .vv-thema-nr,
.vv-themen.is-pin .vv-thema.is-on p { opacity: 1; transform: none; transition-delay: 160ms; }

.vv-themen.is-pin .vv-themen-fuss { margin-top: 34px; }
.vv-themen.is-pin .vv-themen-nav {
  --p: 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto 22px;
  padding: 18px 0 0;
  list-style: none;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-mute);
}
.vv-themen-nav::before,
.vv-themen-nav::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
}
.vv-themen-nav::after {
  background: var(--lime);
  transform-origin: 0 50%;
  transform: scaleX(var(--p));
}
.vv-themen-nav li { transition: color 300ms var(--ease); }
.vv-themen-nav li.is-on { color: #fff; }

/* =====================================================================
   3 · Speaker
   ===================================================================== */
.vv-speaker { padding: 110px 0 100px; }
.vv-speaker .sec-head .eyebrow { color: var(--lime); }

.vv-hosts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  max-width: 1040px;
  margin: 0 auto;
}
.vv-host--b { margin-top: 70px; }
.vv-host-bild {
  position: relative;
  margin: 0 0 24px;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #070A1E;
  box-shadow: inset 0 0 0 1px rgba(140, 160, 255, .22), 0 30px 70px -30px rgba(1, 14, 204, .8);
  /* Vorhang: das Bild oeffnet sich beim Einblenden von unten nach oben */
  clip-path: inset(100% 0 0 0 round var(--r-xl));
  transition: clip-path 1100ms var(--ease);
  transition-delay: var(--d, 0ms);
}
.vv-host.in .vv-host-bild { clip-path: inset(0 0 0 0 round var(--r-xl)); }
.vv-host-bild img {
  --py: 0px;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 50% 20%;
  translate: 0 var(--py);
  scale: 1.12;
  transition: scale 1600ms var(--ease);
  transition-delay: var(--d, 0ms);
}
.vv-host.in .vv-host-bild img { scale: 1; }
.vv-host-name {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 0 0 8px;
}
.vv-host .role { font-size: 12.5px; margin: 0 0 14px; }
.vv-host-teaser { font-size: 18px; color: var(--fg-dim); margin: 0 0 14px; }
.vv-host .spk-mehr summary { cursor: pointer; }

/* Weitere Speaker: schwarze Umrisse vor Gegenlicht */
.vv-mehr { max-width: 1040px; margin: 96px auto 0; }
.vv-mehr-kopf { text-align: center; margin-bottom: 40px; }
.vv-mehr-kopf .h3 { margin-bottom: 8px; }
.vv-mehr-kopf p { color: var(--fg-dim); margin: 0; }

.vv-unbekannt {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.vv-wer-bild {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(70% 55% at 50% 38%, rgba(20, 44, 255, .9) 0%, rgba(1, 14, 204, .35) 45%, transparent 75%),
    #03040D;
  box-shadow: inset 0 0 0 1px rgba(140, 160, 255, .2);
}
.vv-wer-form {
  position: absolute;
  left: 50%; bottom: -1px;
  width: 86%;
  height: auto;
  translate: -50% 0;
  fill: #000;
  filter: drop-shadow(0 0 14px rgba(40, 70, 255, .55));
  transition: translate 900ms var(--ease);
}
.vv-wer:nth-child(2) .vv-wer-form { width: 90%; }
/* Lichtstreif, der ueber die Karte wandert wie ein Suchscheinwerfer */
.vv-wer-bild::after {
  content: "";
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(100deg, transparent 42%, rgba(160, 180, 255, .16) 50%, transparent 58%);
  animation: vv-suchen 5.5s ease-in-out infinite;
  animation-delay: calc(var(--n, 0) * -1.6s);
  pointer-events: none;
}
.vv-wer:nth-child(2) .vv-wer-bild::after { --n: 1; }
.vv-wer:nth-child(3) .vv-wer-bild::after { --n: 2; }
@keyframes vv-suchen {
  0%, 100% { transform: translateX(-38%); }
  50%      { transform: translateX(38%); }
}
.vv-wer-frage {
  position: absolute;
  left: 50%; top: 21%;
  translate: -50% 0;
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 112px);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
  text-shadow: 0 0 34px rgba(225, 255, 32, .5);
  animation: vv-frage 3.4s ease-in-out infinite;
}
.vv-wer:nth-child(2) .vv-wer-frage { animation-delay: -1.1s; }
.vv-wer:nth-child(3) .vv-wer-frage { animation-delay: -2.2s; }
@keyframes vv-frage {
  0%, 100% { opacity: 1; transform: translateY(0) scale(1); }
  46%      { opacity: 1; transform: translateY(-6px) scale(1.04); }
  50%      { opacity: .35; }
  54%      { opacity: 1; }
}
.vv-wer-text {
  margin: 14px 0 0;
  text-align: center;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-dim);
}
@media (hover: hover) {
  .vv-wer:hover .vv-wer-form { translate: -50% -8px; }
}

/* =====================================================================
   4 · Rueckblick
   Die Fotos stehen gross und ruhig: ein Saalfoto ueber die volle Breite,
   darunter ein Raster aus sieben Bildern. Jedes oeffnet sich einmal wie
   ein Vorhang, danach bewegt es sich nicht mehr mit dem Scrollen.
   ===================================================================== */
.vv-rueck { padding: 100px 0 90px; }
.vv-rueck .sec-head { margin-bottom: 44px; }
.vv-rueck .sec-head .eyebrow { color: var(--lime); }
.vv-galerie-rahmen { max-width: 1480px; margin: 0 auto; padding: 0 20px; }

/* Der Vorhang sitzt am Bild, nicht an der Figur: mit clip-path auf dem
   beobachteten Element selbst meldet der IntersectionObserver in Chrome
   nie Sichtkontakt und das Foto bliebe zu. */
.vv-foto {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-xl);
}
.vv-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  opacity: 0;
  transition: opacity 600ms var(--ease) 700ms;
  pointer-events: none;
}
.vv-foto.in::after { opacity: 1; }
.vv-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.16;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1100ms var(--ease), scale 1700ms var(--ease);
  transition-delay: var(--d, 0ms);
}
.vv-foto.in img { scale: 1; clip-path: inset(0 0 0 0); }
@media (hover: hover) {
  .vv-foto.in:hover img { scale: 1.05; transition: scale 900ms var(--ease); transition-delay: 0ms; }
}

.vv-saal { aspect-ratio: 16 / 7.4; }
.vv-saal img { --py: 0px; height: 112%; translate: 0 var(--py); }

.vv-galerie {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: clamp(300px, 36vw, 540px) clamp(210px, 23vw, 340px) clamp(280px, 32vw, 480px);
  gap: 18px;
  margin-top: 18px;
}
.vv-g-a { grid-column: span 8; }
.vv-g-b { grid-column: span 4; }
.vv-g-c, .vv-g-d, .vv-g-e { grid-column: span 4; }
.vv-g-f { grid-column: span 5; }
.vv-g-g { grid-column: span 7; }
.vv-g-b img { object-position: 46% 50%; }

/* =====================================================================
   5 · Tickets, Ort, Schluss
   ===================================================================== */
.vv-ort { padding-block: 40px 60px; }
.vv-tickets { padding-top: 70px; }
.vv-tickets .t27-price { margin-bottom: 18px; }

.vv-schluss { padding: 40px 0 110px; }
.vv-schluss-karte {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 84px 28px 80px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #0A18FF 0%, var(--blue) 55%, #060B59 100%);
  box-shadow: 0 0 110px -30px var(--blue-glow), inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.vv-schluss-karte::before {
  content: "2027";
  position: absolute;
  left: 50%; top: 50%;
  translate: -50% -50%;
  z-index: -1;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(170px, 34vw, 470px);
  line-height: 1;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16);
  pointer-events: none;
}
.vv-schluss-datum {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: var(--lime);
  margin: 0 0 14px;
}
.vv-schluss-h {
  font-family: var(--display);
  font-size: clamp(44px, 7.4vw, 92px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 34px;
}
.vv-schluss .btn { font-size: 18px; padding: 18px 34px; }

/* =====================================================================
   Leiste am unteren Rand, nur Handy. Erscheint nach dem Hero und
   verschwindet, sobald die Tickets im Bild sind.
   ===================================================================== */
.vv-leiste { display: none; }

/* =====================================================================
   Tablet und Handy
   ===================================================================== */
@media (max-width: 1180px) {
  .vv-obj-wallet { left: 1%; width: 170px; }
  .vv-obj-btc { right: 3%; width: 130px; }
  .vv-obj-cards { right: 1%; width: 96px; }
}

@media (max-width: 1023px) {
  .vv-objs { display: none; }
  .vv-hero { padding-bottom: 96px; }
  .vv-host-name { font-size: 32px; }
  .vv-hosts { gap: 22px; }
}

@media (max-width: 760px) {
  .vv-hosts { grid-template-columns: 1fr; max-width: 460px; gap: 44px; }
  .vv-host--b { margin-top: 0; }
  .vv-speaker { padding: 80px 0 70px; }
  .vv-mehr { margin-top: 70px; }
  .vv-unbekannt { gap: 12px; }
  .vv-wer-bild { border-radius: var(--r-lg); }
  .vv-wer-text { font-size: 13px; margin-top: 10px; }
  .vv-rueck { padding: 70px 0 60px; }
  .vv-galerie-rahmen { padding: 0 14px; }
  .vv-foto { border-radius: var(--r-lg); }
  .vv-saal { aspect-ratio: 4 / 3; }
  .vv-galerie { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px; margin-top: 10px; }
  .vv-g-a, .vv-g-d, .vv-g-g { grid-column: span 2; aspect-ratio: 3 / 2; }
  .vv-g-b, .vv-g-c, .vv-g-e, .vv-g-f { grid-column: span 1; aspect-ratio: 4 / 5; }
  .vv-schluss { padding: 20px 0 80px; }
  .vv-schluss-karte { padding: 60px 20px 56px; }

  .vv-leiste {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(3, 5, 22, .92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 var(--line);
    transform: translateY(110%);
    transition: transform 420ms var(--ease);
  }
  .vv-leiste.is-da { transform: none; }
  .vv-leiste p { margin: 0; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
  .vv-leiste b { font-family: var(--display); font-size: 15px; }
  .vv-leiste span { font-size: 12px; color: var(--fg-mute); white-space: nowrap; }
  .vv-leiste .btn { flex: none; width: auto; max-width: none; padding: 12px 18px; font-size: 15px; white-space: nowrap; }
  /* Platz fuer die Leiste, sonst liegt sie in der fixierten Szene ueber
     dem Hinweis und am Seitenende ueber dem Footer */
  .vv-themen.is-pin .vv-themen-pin { padding-bottom: 64px; }
  .vv .foot { padding-bottom: calc(54px + 64px); }
}

@media (max-width: 640px) {
  .vv-hero { padding-bottom: 64px; }
  .vv-hero .chips { margin-bottom: 22px; }
  .vv-hero-mit { font-size: 13px; margin-top: 16px; }
  .vv-themen-pin { padding: 64px 0 70px; }
  .vv-themen-kopf { margin-bottom: 40px; }
  .vv-themen-kopf .h2 { font-size: 28px; }
  .vv-thema p { font-size: 17px; max-width: 320px; }
  .vv-themen.is-pin { height: 230vh; }
  .vv-themen.is-pin .vv-themen-liste { height: clamp(210px, 34vh, 300px); }
  .vv-themen.is-pin .vv-themen-nav { font-size: 12.5px; max-width: 340px; }
  .vv-themen-hinweis { font-size: 13px; max-width: 280px; margin-inline: auto; }
  .vv-host-name { font-size: 30px; }
  .vv-host-teaser { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .vv-obj, .vv-wer-bild::after, .vv-wer-frage { animation: none !important; }
  .vv-host-bild { clip-path: none; transition: none; }
  .vv-host-bild img { scale: 1; transition: none; }
  .vv-foto img { scale: 1; clip-path: none; transition: none; }
}
