/* robinkippdigital.de · gemeinsames Design */
:root {
  --bg: #06060a;
  --surface: #0e0e14;
  --surface-2: #15151d;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.16);
  --text: #f2f1ee;
  --muted: #a3a3ae;
  --faint: #6c6c78;
  --accent: #b6a1ff;
  --font: 'Bricolage Grotesque', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font); font-optical-sizing: auto;
  background: var(--bg); color: var(--text);
  font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  min-height: 100vh; display: flex; flex-direction: column;
}
::selection { background: rgba(182,161,255,.3); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
main { flex: 1; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Licht von oben, ganz dezent */
.halo {
  position: absolute; inset: 0 0 auto 0; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 75% 15%, rgba(140,110,255,.16), transparent 70%),
    radial-gradient(40% 40% at 15% 0%, rgba(244,114,182,.07), transparent 70%);
}

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6,6,10,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.wordmark i {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-style: normal;
  font-size: .78rem; font-weight: 800; color: #0b0b10; background: var(--text);
}
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a { display: block; padding: 7px 14px; border-radius: 999px; color: var(--muted); font-size: .95rem; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.08); }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; transition: transform .25s var(--ease), background .2s, border-color .2s;
}
.btn-solid { background: var(--text); color: #0b0b10; }
.btn-solid:hover { background: #fff; transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 9vh, 110px); padding-bottom: clamp(56px, 10vh, 120px); }
.hero h1 { font-size: clamp(3.4rem, 7.4vw, 6.6rem); font-weight: 700; line-height: .95; letter-spacing: -.045em; font-variation-settings: "opsz" 96; }
.lead { margin: 24px 0 36px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 30em; }
.lead strong { color: var(--text); font-weight: 600; }

/* Bildschirm-Stapel */
.stage { position: relative; }
.screens { position: relative; aspect-ratio: 16 / 11; perspective: 1600px; }
.win {
  position: absolute; left: 0; right: 9%; top: 9%; border-radius: 14px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4);
  transform-origin: 50% 100%;
  transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s var(--ease);
  will-change: transform, opacity;
}
.win-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; background: #1a1a22; border-bottom: 1px solid var(--line); }
.win-dots { display: flex; gap: 6px; } .win-dots b { width: 10px; height: 10px; border-radius: 50%; background: #3a3a46; }
.win-url { flex: 1; max-width: 340px; margin: 0 auto; height: 22px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--faint); font-size: .74rem; display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden; }
.win img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.win[data-pos="0"] { transform: translate3d(0, 0, 0); opacity: 1; z-index: 3; }
.win[data-pos="1"] { transform: translate3d(6%, -7%, -80px); opacity: .55; filter: brightness(.6); z-index: 2; }
.win[data-pos="2"] { transform: translate3d(12%, -14%, -160px); opacity: .25; filter: brightness(.45); z-index: 1; }
.win[data-pos="out"] { transform: translate3d(-6%, 8%, 60px); opacity: 0; z-index: 4; pointer-events: none; }
.win[data-pos="hide"] { transform: translate3d(18%, -21%, -240px); opacity: 0; z-index: 0; }

.caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 22px; min-height: 64px; }
.caption-text { transition: opacity .35s; }
.caption-text.fade { opacity: 0; }
.caption h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.caption p { color: var(--muted); font-size: .98rem; }
.pager { display: flex; gap: 6px; padding-top: 8px; flex-shrink: 0; }
.pager button {
  width: 28px; height: 4px; border: 0; border-radius: 4px; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.15); position: relative; overflow: hidden;
}
.pager button::after { content: ''; position: absolute; inset: 0; background: var(--text); transform: scaleX(0); transform-origin: left; }
.pager button[aria-current="true"]::after { animation: fill var(--cycle, 5s) linear forwards; }
.paused .pager button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

/* Bereiche */
.areas { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; padding-bottom: clamp(64px, 10vh, 120px); }
.area {
  display: flex; flex-direction: column; border-radius: 24px; padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  transition: border-color .25s, transform .4s var(--ease);
}
.area:hover { border-color: var(--line-2); transform: translateY(-3px); }
.area h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.area > p { color: var(--muted); margin-top: 12px; max-width: 34em; }
.items { list-style: none; margin: 28px 0 32px; border-top: 1px solid var(--line); }
.items li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.items span { font-weight: 600; }
.items small { color: var(--faint); font-size: .9rem; text-align: right; white-space: nowrap; }
.area-shot { margin: 0 0 32px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: #000; }
.area-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.area:hover .area-shot img { transform: scale(1.04); }
.area-go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.area-go svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.area:hover .area-go svg { transform: translateX(4px); }
.lock { display: inline-flex; align-items: center; gap: 6px; color: var(--faint); font-size: .9rem; margin-top: 14px; }
.lock svg { width: 14px; height: 14px; }

/* Unterseiten-Kopf */
.page-head { padding-top: clamp(48px, 9vh, 110px); padding-bottom: clamp(36px, 6vh, 64px); }
.page-head h1 { font-size: clamp(2.6rem, 8vw, 5.6rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; font-variation-settings: "opsz" 96; }
.page-head .lead { margin-bottom: 0; }

/* Präsentations-Einträge */
.talks { display: grid; gap: 20px; padding-bottom: clamp(64px, 10vh, 120px); }
.talk {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); border-radius: 24px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .25s;
}
.talk:hover { border-color: var(--line-2); }
.talk-img { position: relative; overflow: hidden; background: #000; min-height: 260px; }
.talk-img img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform 1.2s var(--ease); }
.talk:hover .talk-img img { transform: scale(1.04); }
.talk-body { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; }
.talk-meta { color: var(--faint); font-size: .92rem; }
.talk h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 10px 0 14px; }
.talk-body > p { color: var(--muted); }
.talk .area-go { margin-top: 28px; }
.talk:hover .area-go svg { transform: translateX(4px); }
.note { color: var(--faint); font-size: .95rem; }

/* Footer */
.ft { border-top: 1px solid var(--line); }
.ft-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; color: var(--faint); font-size: .92rem; }
.ft nav { display: flex; gap: 20px; }
.ft a:hover { color: var(--text); }

/* Einmaliger Auftritt beim Laden */
.enter { opacity: 0; transform: translateY(16px); animation: enter .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes enter { to { opacity: 1; transform: none; } }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .talk { grid-template-columns: 1fr; }
  .talk-img { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav-links a { padding: 7px 10px; font-size: .9rem; }
  .wordmark span { display: none; }
  .btn { flex: 1; justify-content: center; padding: 0 18px; }
  .win-bar { height: 26px; } .win-dots b { width: 8px; height: 8px; } .win-url { height: 16px; font-size: .62rem; }
  .items small { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* ── Passwort-Gate ── */
html[data-gate]:not(.unlocked) body { overflow: hidden; }
html[data-gate]:not(.unlocked) .enter { animation: none; }
.gate {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--gutter);
  background: radial-gradient(70% 60% at 50% 0%, rgba(140,110,255,.14), transparent 70%), var(--bg);
  transition: transform 1.1s cubic-bezier(.7, 0, .2, 1), opacity .6s ease .5s;
}
html.unlocked .gate:not(.opening) { display: none; }
.gate.leaving { display: grid; transform: translateY(-100%); opacity: .6; pointer-events: none; }
.gate-box { width: min(560px, 100%); transition: opacity .45s ease, transform .6s var(--ease); }
.gate.leaving .gate-box { opacity: 0; transform: translateY(-24px); }
.gate .wordmark { margin-bottom: 40px; }
.gate h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; font-variation-settings: "opsz" 96; }
.gate p { color: var(--muted); font-size: 1.1rem; margin: 16px 0 32px; }
.gate-form { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); transition: border-color .25s, box-shadow .25s; }
.gate-form:focus-within { border-color: rgba(182,161,255,.6); box-shadow: 0 0 0 4px rgba(182,161,255,.12); }
.gate-form.error { border-color: rgba(248,113,113,.7); animation: shake .45s ease; }
.gate-form.ok { border-color: rgba(74,222,128,.7); box-shadow: 0 0 0 4px rgba(74,222,128,.12); }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
.gate-form input {
  flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text);
  font: inherit; font-size: 1.05rem; padding: 0 18px;
}
.gate-form input::placeholder { color: var(--faint); }
.gate-form button {
  height: 48px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--text); color: #0b0b10; font: inherit; font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: background .2s, transform .2s var(--ease);
}
.gate-form button:hover { background: #fff; }
.gate-form button:active { transform: scale(.97); }
.gate-msg { min-height: 1.6em; margin-top: 16px; padding-left: 20px; color: var(--muted); font-size: .98rem; transition: color .2s; }
.gate-msg.bad { color: #fca5a5; }
.gate-msg.good { color: #86efac; }

/* ── Aktuell-Hinweis ── */
.now {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 7px 16px 7px 12px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  color: var(--muted); font-size: .95rem; transition: border-color .2s, color .2s;
}
.now:hover { border-color: rgba(255,255,255,.35); color: var(--text); }
.now strong { color: var(--text); font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 0 0 rgba(251,191,36,.6); animation: ping 2s ease-out infinite; flex-shrink: 0; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(251,191,36,.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(251,191,36,0); } }
.nav-links .has-dot { display: inline-flex; align-items: center; gap: 8px; }
.nav-links .has-dot .pulse { width: 6px; height: 6px; }

/* ── Aktuell-Seite ── */
.soon {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  border-radius: 28px; padding: clamp(28px, 4.5vw, 56px); margin-bottom: clamp(64px, 10vh, 120px);
  background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.soon::before {
  content: ''; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(251,191,36,.10), transparent 65%);
}
.status { display: inline-flex; align-items: center; gap: 10px; color: #fcd34d; font-weight: 600; font-size: .98rem; }
.soon h2 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 700; line-height: .98; letter-spacing: -.045em; margin: 16px 0 18px; font-variation-settings: "opsz" 96; }
.soon p { color: var(--muted); max-width: 32em; }
.soon .btns { margin-top: 32px; }
.qr { justify-self: end; width: 100%; max-width: 260px; text-align: center; }
.qr-img { background: #f2f1ee; border-radius: 20px; padding: 16px; }
.qr-img svg, .qr-img img { width: 100%; height: auto; display: block; }
.qr small { display: block; margin-top: 12px; color: var(--faint); font-size: .9rem; }
@media (max-width: 920px) {
  .soon { grid-template-columns: 1fr; }
  .qr { justify-self: start; max-width: 200px; text-align: left; }
}
@media (max-width: 520px) {
  .gate-form button { padding: 0 18px; }
  .nav-links .has-dot .pulse { display: none; }
}
html[data-gate]:not(.unlocked) .pager button::after { animation: none; }

/* ═══ Entsperr-Moment: Kreis öffnet sich ═══ */
@property --r { syntax: '<length>'; inherits: false; initial-value: 0px; }
.gate.opening {
  -webkit-mask: radial-gradient(circle at var(--x, 50%) var(--y, 50%), transparent var(--r), #000 calc(var(--r) + 1px));
          mask: radial-gradient(circle at var(--x, 50%) var(--y, 50%), transparent var(--r), #000 calc(var(--r) + 1px));
  animation: hole 1.35s cubic-bezier(.75, 0, .15, 1) forwards; pointer-events: none;
}
.gate.opening .gate-box { opacity: 0; transform: scale(.96); transition: opacity .35s ease, transform .5s var(--ease); }
.gate-ring {
  position: fixed; z-index: 101; left: var(--x); top: var(--y); pointer-events: none;
  width: calc(var(--r) * 2); height: calc(var(--r) * 2); transform: translate(-50%, -50%); border-radius: 50%;
  border: 2px solid rgba(214,200,255,.95);
  box-shadow: 0 0 60px 12px rgba(160,130,255,.55), inset 0 0 60px 12px rgba(160,130,255,.35);
  animation: hole 1.35s cubic-bezier(.75, 0, .15, 1) forwards, ringfade 1.35s ease-in forwards;
}
@keyframes hole { to { --r: 160vmax; } }
@keyframes ringfade { 0%, 55% { opacity: 1; } 100% { opacity: 0; } }
.gate h2 .sc { color: var(--accent); }

/* ═══ Die Seite baut sich auf ═══ */
html[data-gate]:not(.unlocked) [data-b], html[data-gate]:not(.unlocked) [data-split] { opacity: 0; }
html[data-gate].unlocked [data-b] { animation-duration: 1.1s; animation-timing-function: cubic-bezier(.22, 1.25, .36, 1); animation-fill-mode: backwards; animation-delay: var(--d, 0s); }
html[data-gate].unlocked [data-b="drop"]  { animation-name: b-drop; }
html[data-gate].unlocked [data-b="rise"]  { animation-name: b-rise; }
html[data-gate].unlocked [data-b="bloom"] { animation-name: b-bloom; animation-duration: 2.4s; }
html[data-gate].unlocked [data-b="swoop"] { animation-name: b-swoop; animation-duration: 1.6s; }
html[data-gate].unlocked [data-b="swoop"] .win { animation: b-win 1s var(--ease) backwards; }
html[data-gate].unlocked [data-b="swoop"] .win:nth-child(1) { animation-delay: calc(var(--d) + .55s); }
html[data-gate].unlocked [data-b="swoop"] .win:nth-child(2) { animation-delay: calc(var(--d) + .35s); }
html[data-gate].unlocked [data-b="swoop"] .win:nth-child(3) { animation-delay: calc(var(--d) + .2s); }
html[data-gate].unlocked [data-b] .items li { animation: b-rise .8s cubic-bezier(.22, 1.25, .36, 1) backwards; }
html[data-gate].unlocked [data-b] .items li:nth-child(1) { animation-delay: calc(var(--d) + .25s); }
html[data-gate].unlocked [data-b] .items li:nth-child(2) { animation-delay: calc(var(--d) + .32s); }
html[data-gate].unlocked [data-b] .items li:nth-child(3) { animation-delay: calc(var(--d) + .39s); }
html[data-gate].unlocked [data-b] .items li:nth-child(4) { animation-delay: calc(var(--d) + .46s); }
html[data-gate].unlocked [data-b] .items li:nth-child(5) { animation-delay: calc(var(--d) + .53s); }
@keyframes b-drop  { from { opacity: 0; transform: translateY(-100%); } }
@keyframes b-rise  { from { opacity: 0; transform: translateY(44px) scale(.97); filter: blur(6px); } }
@keyframes b-bloom { 0% { opacity: 0; } 35% { opacity: 1; filter: brightness(1.8) saturate(1.4); } 100% { opacity: 1; } }
@keyframes b-swoop { from { opacity: 0; transform: perspective(1400px) rotateX(38deg) rotateY(-18deg) translateY(120px) scale(.82); } }
@keyframes b-win   { from { opacity: 0; filter: blur(10px) brightness(2); } }

/* Name Buchstabe für Buchstabe */
[data-split] .ch { display: inline-block; white-space: pre; }
html.unlocked [data-split] .ch {
  animation: b-char 1.1s cubic-bezier(.2, .9, .2, 1) backwards;
  animation-delay: calc(var(--d, 0s) + var(--i) * 55ms);
}
[data-split] .w { display: inline-block; white-space: nowrap; }
@keyframes b-char {
  0%   { opacity: 0; transform: translateY(70%) rotateX(-90deg) scale(.9); filter: blur(14px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: none; }
}

/* ═══ Aktuell-Block auf der Startseite ═══ */
.spot {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-bottom: 20px; padding: clamp(28px, 4vw, 48px); border-radius: 28px; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, #1c1608 0%, #120f0a 45%, var(--surface) 100%);
}
.spot::before { /* umlaufende Leuchtkante */
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: conic-gradient(from var(--a, 0deg), rgba(251,191,36,.9), rgba(251,191,36,.08) 25%, rgba(244,114,182,.5) 50%, rgba(251,191,36,.08) 75%, rgba(251,191,36,.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 6s linear infinite;
}
.spot::after {
  content: ''; position: absolute; z-index: -2; width: 60%; aspect-ratio: 1; right: -15%; top: -60%; border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,.22), transparent 65%); pointer-events: none;
}
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.spot .status { font-size: 1rem; }
.spot h2 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; margin: 14px 0 14px; font-variation-settings: "opsz" 96; }
.spot p { color: #c9c3b4; max-width: 38em; }
.spot .btns { margin-top: 28px; }
.btn-amber { background: #fbbf24; color: #1a1305; }
.btn-amber:hover { background: #fcd34d; transform: translateY(-2px); }
.spot .qr { max-width: 190px; }
.spot .qr-img { padding: 12px; border-radius: 16px; }
.status.live { color: #86efac; }
.status.live .pulse { background: #4ade80; animation-name: ping-g; }
@keyframes ping-g { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } }

/* ═══ Präsentations-Rahmen auf /aktuell/ ═══ */
.screen-wrap { margin-bottom: 28px; }
.screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: #0a0a0f; box-shadow: 0 50px 100px -40px rgba(0,0,0,.9);
}
.screen::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 2; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), rgba(251,191,36,.9), rgba(251,191,36,.06) 25%, rgba(182,161,255,.6) 50%, rgba(251,191,36,.06) 75%, rgba(251,191,36,.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 6s linear infinite;
}
.screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.screen-empty {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  background:
    radial-gradient(60% 70% at 50% 110%, rgba(251,191,36,.18), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px),
    #0b0a0e;
}
.screen-empty h2 { font-size: clamp(2.6rem, 9vw, 7rem); font-weight: 700; letter-spacing: -.05em; line-height: .95; font-variation-settings: "opsz" 96; }
.screen-empty p { color: var(--muted); margin-top: 14px; }
.screen-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.screen-bar .btns { margin: 0; }
.aktuell-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(64px, 10vh, 120px); }
.aktuell-info h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin: 12px 0; }
.aktuell-info p { color: var(--muted); max-width: 36em; }
@media (max-width: 760px) {
  .spot, .aktuell-info { grid-template-columns: 1fr; }
  .spot .qr, .aktuell-info .qr { justify-self: start; max-width: 160px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .gate.opening { -webkit-mask: none; mask: none; opacity: 0; transition: opacity .3s; }
  .gate-ring { display: none; }
}
[hidden] { display: none !important; }

/* ═══ Ladebalken nach dem Passwort ═══ */
.loader { margin-top: 36px; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .5s var(--ease); }
.loader.show { opacity: 1; transform: none; }
.loader-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.loader-step { color: var(--muted); font-size: 1rem; transition: opacity .2s; }
.loader-step.swap { opacity: 0; }
.loader-pct { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; font-variation-settings: "opsz" 96; }
.loader-pct small { font-size: .5em; color: var(--muted); margin-left: 2px; }
.loader-track { position: relative; height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: visible; }
.loader-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, #7c5cff, #b6a1ff 40%, #f472b6 75%, #fbbf24);
  background-size: 200% 100%; animation: flow 1.2s linear infinite;
  box-shadow: 0 0 18px rgba(182,161,255,.55);
}
.loader-fill::after { /* leuchtende Spitze */
  content: ''; position: absolute; right: -6px; top: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translateY(-50%);
  background: #fff; box-shadow: 0 0 12px 4px rgba(255,255,255,.7), 0 0 34px 10px rgba(182,161,255,.6);
}
@keyframes flow { to { background-position: -200% 0; } }
.loader.done .loader-fill { animation: flow 1.2s linear infinite, donepulse .5s ease-out; }
.loader.done .loader-fill::after { opacity: 0; transition: opacity .3s; }
@keyframes donepulse { 0% { box-shadow: 0 0 18px rgba(182,161,255,.55); } 30% { box-shadow: 0 0 40px 10px rgba(255,255,255,.9); filter: brightness(1.8); } 100% { box-shadow: 0 0 18px rgba(182,161,255,.55); } }
.loader-ticks { display: flex; justify-content: space-between; margin-top: 10px; color: var(--faint); font-size: .8rem; font-variant-numeric: tabular-nums; }

