/* =========================================================
   PURE WORK – Stylesheet
   Farben aus dem Logo: Nachtblau #111820 und Blau #1f6bf9
   ========================================================= */
:root {
  --night: #070b14;
  --night-2: #0c1220;
  --ink: #111820;
  --blue: #1f6bf9;
  --blue-deep: #2a3cff;
  --ice: #9fd0ff;
  --cyan: #4fd8ff;
  --text: #eef2fb;
  --muted: #95a0b8;
  --line: rgba(160, 185, 255, 0.14);
  --glass: rgba(18, 26, 46, 0.55);
  --grad: linear-gradient(120deg, #2a3cff 0%, #1f6bf9 45%, #4fb4ff 100%);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #9fd0ff 35%, #1f6bf9 70%, #6c7bff 100%);
  --display: "Unbounded", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --r: 20px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--blue); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ice);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(31,107,249,.25), 0 0 14px var(--blue); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(31,107,249,0), 0 0 18px var(--blue); } }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  isolation: isolate;
}
.btn span { position: relative; z-index: 1; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-grad { color: #fff; background: var(--grad); background-size: 200% 100%; box-shadow: 0 8px 30px -8px rgba(31,107,249,.7), inset 0 1px 0 rgba(255,255,255,.25); animation: gradmove 6s ease infinite; }
.btn-grad::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: var(--grad); filter: blur(14px); opacity: .0; z-index: -1; transition: opacity .35s; }
.btn-grad:hover::after { opacity: .75; }
@keyframes gradmove { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-ghost { border: 1px solid rgba(200,215,255,.25); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(200,215,255,.45); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.btn-light:hover { box-shadow: 0 14px 40px -10px rgba(159,208,255,.7); }
.btn:active { transform: scale(.97); }

/* ---------- Kopfleiste ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px;
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top, 0);
  transition: background .4s, border-color .4s, height .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(7,11,20,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 38px; height: 34px; filter: drop-shadow(0 0 10px rgba(31,107,249,.55)); }
.wordmark { font-family: "Montserrat", var(--body); font-size: 16px; letter-spacing: .32em; font-weight: 300; color: #f2f6ff; white-space: nowrap; }
.wordmark b { font-weight: 800; letter-spacing: .3em; }
.wordmark span { background: linear-gradient(90deg, #cfe0ff, #6fa3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark.small { font-size: 12px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(12,18,32,.45); backdrop-filter: blur(10px); }
.nav-links a { padding: 7px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #c8d1e6; transition: background .25s, color .25s; }
.nav-links a:hover, .nav-links a.is-current { background: rgba(255,255,255,.08); color: #fff; }
.nav-cta { flex: none; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; border: 1px solid var(--line); background: rgba(12,18,32,.5); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease); }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.burger.is-open span:first-child { transform: rotate(45deg); }
.burger.is-open span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 90px 24px 40px; background: rgba(7,11,20,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; transition: opacity .35s;
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu a:not(.btn) { font-family: var(--display); font-size: 30px; padding: 8px 0; border-bottom: 1px solid var(--line); transform: translateY(16px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.mobile-menu.is-open a:not(.btn) { transform: none; opacity: 1; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .04s; } .mobile-menu.is-open a:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .12s; } .mobile-menu.is-open a:nth-child(5) { transition-delay: .16s; }
.mobile-menu .btn { margin-top: 24px; height: 56px; }

/* ---------- Startseite ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 90% at 70% 40%, #0e1a3a 0%, var(--night) 60%); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.b1 { width: 52vmax; height: 52vmax; right: -12vmax; top: -14vmax; background: radial-gradient(circle, #1f6bf9 0%, transparent 65%); animation: drift1 18s ease-in-out infinite; }
.b2 { width: 40vmax; height: 40vmax; left: -14vmax; bottom: -18vmax; background: radial-gradient(circle, #2a3cff 0%, transparent 65%); opacity: .4; animation: drift2 22s ease-in-out infinite; }
.b3 { width: 26vmax; height: 26vmax; right: 18vw; bottom: -6vmax; background: radial-gradient(circle, #4fd8ff 0%, transparent 65%); opacity: .22; animation: drift1 26s ease-in-out infinite reverse; }
@keyframes drift1 { 50% { transform: translate(-6vw, 6vh) scale(1.1); } }
@keyframes drift2 { 50% { transform: translate(8vw, -5vh) scale(.92); } }
.grid-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%;
  background-image: linear-gradient(rgba(120,160,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(120,160,255,.13) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(500px) rotateX(70deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 75%); mask-image: linear-gradient(to top, #000 0%, transparent 75%);
  animation: floor 4s linear infinite;
}
@keyframes floor { to { background-position: 0 64px; } }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; touch-action: pan-y; }
.hero-fallback { display: none; position: absolute; right: 8vw; top: 50%; width: min(38vw, 420px); height: min(38vw, 420px); transform: translateY(-50%); z-index: 1; filter: drop-shadow(0 0 60px rgba(31,107,249,.6)); animation: floaty 6s ease-in-out infinite; }
.no-webgl .hero-fallback { display: block; }
.no-webgl #hero-canvas { display: none; }
@keyframes floaty { 50% { transform: translateY(calc(-50% - 16px)) rotate(-3deg); } }

.hero-content { position: relative; z-index: 2; padding: 76px var(--gutter) 0; max-width: 860px; pointer-events: none; }
.hero-content a, .hero-content button { pointer-events: auto; }
.hero-title { font-size: clamp(40px, 5.3vw, 82px); line-height: 1.04; font-weight: 500; margin: 22px 0 24px; letter-spacing: -0.035em; }
.hero-title .line { display: block; }
.word-line { padding-bottom: .08em; }
.word {
  display: inline-block; font-weight: 700;
  background: var(--grad-text); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: textflow 7s ease-in-out infinite;
  transition: opacity .38s var(--ease), transform .38s var(--ease), filter .38s;
}
.word.out { opacity: 0; transform: translateY(.25em) scale(.98); filter: blur(8px); }
@keyframes textflow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-lead { font-size: clamp(16px, 1.35vw, 19px); color: #b9c3da; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.reveal-hero { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s); }
.is-ready .reveal-hero { opacity: 1; transform: none; filter: none; }

.hero-shapes { position: absolute; z-index: 3; right: var(--gutter); bottom: 40px; display: flex; gap: 6px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(12,18,32,.5); backdrop-filter: blur(10px); }
.hero-shapes button { padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: background .3s, color .3s; }
.hero-shapes button.is-active { background: var(--grad); color: #fff; }
.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.mouse { width: 24px; height: 38px; border: 1.5px solid rgba(200,215,255,.4); border-radius: 14px; position: relative; }
.mouse span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ice); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Arbeiten ---------- */
.work {
  position: relative; z-index: 2; padding: 120px var(--gutter) 40px;
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(31,107,249,.18), transparent 70%),
    radial-gradient(50% 35% at 100% 30%, rgba(42,60,255,.14), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 40%, var(--night) 100%);
}
.work::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(159,208,255,.5), transparent); }
.work-head { max-width: 1280px; margin: 0 auto 48px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.work-head h2 { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.05; margin-top: 16px; max-width: 14ch; }

.switch { position: relative; display: inline-flex; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(12,18,32,.7); }
.switch button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); transition: color .35s; min-width: 160px; justify-content: center; }
.switch button svg { width: 18px; height: 18px; fill: currentColor; }
.switch button[aria-selected="true"] { color: #fff; }
.switch-pill { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--grad); box-shadow: 0 6px 24px -6px rgba(31,107,249,.8); transition: transform .5s var(--ease); }
.switch[data-active="websites"] .switch-pill { transform: translateX(100%); }

.grids { max-width: 1280px; margin: 0 auto; }
.grid { display: grid; gap: 22px; }
.grid-videos { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; }
.grid-videos .video-card { grid-column: span 4; }
.grid-videos .video-card:not(.tall):nth-of-type(1) { grid-column: span 8; }
.grid-videos .video-card.tall { grid-column: span 4; grid-row: span 2; }
.grid-websites { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

.card {
  display: flex; flex-direction: column; gap: 14px; text-align: left; min-width: 0;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
  transform-style: preserve-3d;
}
.card-meta { display: flex; flex-direction: column; gap: 2px; padding: 0 4px; }
.card-meta strong { font-size: 16.5px; font-weight: 700; }
.card-meta span { color: var(--muted); font-size: 14px; }
.card-meta .visit { color: var(--ice); font-weight: 600; margin-top: 4px; }

.thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden;
  background: radial-gradient(120% 120% at var(--mx, 30%) var(--my, 20%), var(--c1) 0%, var(--c2) 70%);
  background-size: cover; background-position: center;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.video-card.tall .thumb { aspect-ratio: auto; flex: 1; min-height: 300px; }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,8,16,.6)); }
.thumb-noise { position: absolute; inset: 0; opacity: .18; mix-blend-mode: overlay; background-image: 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='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.has-img .thumb-noise { display: none; }
.thumb-word { position: absolute; left: 22px; bottom: 18px; z-index: 1; font-family: var(--display); font-size: clamp(20px, 2.4vw, 34px); font-weight: 700; letter-spacing: -0.02em; color: rgba(255,255,255,.92); max-width: 80%; line-height: 1.05; }
.play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.35); transition: transform .45s var(--ease), background .3s;
}
.play svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.play::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.video-card:hover .play { transform: scale(1.12); background: var(--blue); }
.tag { position: absolute; z-index: 2; top: 14px; right: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; background: rgba(5,8,16,.55); backdrop-filter: blur(8px); }

.browser { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0f1626; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02); transition: box-shadow .5s; }
.site-card:hover .browser { box-shadow: 0 50px 90px -40px rgba(31,107,249,.55), 0 0 0 1px rgba(159,208,255,.25); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #121a2c; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3550; }
.browser-bar i:first-child { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.url { margin-left: 12px; flex: 1; max-width: 260px; font-size: 11.5px; color: var(--muted); background: rgba(255,255,255,.05); padding: 3px 12px; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--c1), var(--c2)); background-size: cover; background-position: top center; }
.screen.has-img { transition: background-position 3s ease; }
.site-card:hover .screen.has-img { background-position: bottom center; }
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 5% 6%; gap: 8%; transition: transform .8s var(--ease); }
.site-card:hover .mock { transform: translateY(-4%); }
.m-nav { height: 6%; border-radius: 6px; background: rgba(255,255,255,.22); width: 100%; }
.m-hero { display: flex; flex-direction: column; gap: 10px; }
.m-hero b { display: block; height: 18px; border-radius: 6px; background: rgba(255,255,255,.9); width: 62%; }
.m-hero b + b { width: 44%; opacity: .7; }
.m-hero em { display: block; height: 26px; width: 120px; border-radius: 999px; background: rgba(7,11,20,.75); margin-top: 8px; }
.m-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; flex: 1; }
.m-cols i { border-radius: 10px; background: rgba(255,255,255,.18); backdrop-filter: blur(4px); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease) calc(var(--i, 0) * 80ms), transform .9s var(--ease) calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity .9s var(--ease) calc(var(--i, 0) * 80ms), transform .5s var(--ease); }

/* Termin-Band */
.cta-band {
  position: relative; overflow: hidden; max-width: 1280px; margin: 110px auto 0; padding: clamp(32px, 5vw, 64px);
  border-radius: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  background: var(--grad); background-size: 200% 200%; animation: gradmove 10s ease infinite;
}
.cta-glow { position: absolute; width: 60%; aspect-ratio: 1; right: -15%; top: -60%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.35), transparent 60%); pointer-events: none; }
.cta-text { position: relative; max-width: 620px; }
.cta-band h3 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.08; }
.cta-band p { margin-top: 12px; color: rgba(255,255,255,.85); font-size: 17px; }

.footer { max-width: 1280px; margin: 64px auto 0; padding: 28px 0 calc(16px + env(safe-area-inset-bottom, 0)); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.foot-links { display: flex; gap: 22px; color: var(--muted); }
.foot-links a:hover { color: #fff; }

/* ---------- Overlay-Seiten ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(3,6,12,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.sheet-backdrop.is-open { opacity: 1; }
.sheet {
  position: fixed; z-index: 61; left: 50%; bottom: 0; width: min(1080px, 100%); max-height: calc(100% - 24px);
  overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, #0f1729 0%, #0a0f1c 100%);
  border: 1px solid var(--line); border-bottom: 0; border-radius: 28px 28px 0 0;
  transform: translate(-50%, 104%); transition: transform .5s var(--ease);
  box-shadow: 0 -30px 80px -20px rgba(0,0,0,.7);
}
.sheet::before { content: ""; position: sticky; display: block; top: 0; height: 3px; background: var(--grad); z-index: 2; }
.sheet.is-open { transform: translate(-50%, 0); }
.sheet-inner { padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px) calc(48px + env(safe-area-inset-bottom, 0)); display: flex; flex-direction: column; gap: 22px; }
.sheet-inner.narrow { max-width: 760px; margin: 0 auto; }
.sheet h2 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.05; max-width: 18ch; }
.sheet .lead { font-size: 18px; color: #b9c3da; max-width: 58ch; }
.sheet .btn { align-self: flex-start; margin-top: 10px; }
.sheet-close { position: sticky; top: 16px; margin: 16px 16px -60px auto; float: right; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid var(--line); transition: background .25s, transform .35s var(--ease); }
.sheet-close::before, .sheet-close::after { content: ""; position: absolute; left: 13px; right: 13px; top: 21px; height: 2px; background: #fff; border-radius: 2px; transform: rotate(45deg); }
.sheet-close::after { transform: rotate(-45deg); }
.sheet-close:hover { background: rgba(255,255,255,.16); transform: rotate(90deg); }
.lightbox .sheet-close { position: absolute; top: 16px; right: 16px; margin: 0; float: none; }

.founder { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding: 16px 20px; border-radius: 16px; border: 1px solid rgba(79,180,255,.35); background: rgba(31,107,249,.08); }
.founder p { flex: 1 1 280px; color: #c8d1e6; }
.founder strong { color: #fff; }
.badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--grad); color: #fff; white-space: nowrap; }
.group-title { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-top: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.group-title svg { width: 22px; height: 22px; color: var(--ice); fill: currentColor; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.025); min-width: 0; }
.plan.feat { border-color: transparent; background: linear-gradient(#111b33, #0d1528) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.plan .badge { position: absolute; top: 20px; right: 20px; }
.plan h4 { font-size: 19px; }
.plan .for { color: var(--muted); font-size: 14.5px; min-height: 3em; }
.price { font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.price small { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.meta { font-size: 13px; color: var(--ice); font-weight: 600; }
.plan ul { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; font-size: 14.5px; }
.plan li { position: relative; padding-left: 22px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 5px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg) translateY(-3px); }
.combo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 28px; border-radius: 20px; margin-top: 18px; background: radial-gradient(80% 140% at 0% 0%, rgba(31,107,249,.35), transparent 60%), rgba(255,255,255,.03); border: 1px solid var(--line); }
.combo > div:first-child { flex: 1 1 380px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.combo h3 { font-size: 22px; }
.combo p { color: #b9c3da; }
.combo-price { display: flex; flex-direction: column; gap: 2px; }
.combo-price s { color: var(--muted); font-size: 14px; }
.combo-price strong { font-family: var(--display); font-size: 36px; letter-spacing: -0.03em; }
.combo-price span { color: var(--cyan); font-weight: 700; font-size: 14px; }
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row > span:first-child { font-weight: 700; }
.row > span:nth-child(2) { font-weight: 700; color: var(--ice); white-space: nowrap; }
.row small { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.fine { font-size: 13px; color: var(--muted); }

.steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.steps li { display: flex; gap: 18px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.step-n { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; flex: none; }
.steps h4 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.facts div { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 2px solid var(--blue); }
.facts span { color: var(--muted); font-size: 14.5px; }

.about { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.about-mark { aspect-ratio: 1; border-radius: 24px; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(31,107,249,.4), transparent 60%), #0b1222; border: 1px solid var(--line); }
.about-mark svg { width: 55%; height: 55%; filter: drop-shadow(0 0 30px rgba(31,107,249,.6)); animation: floaty2 6s ease-in-out infinite; }
@keyframes floaty2 { 50% { transform: translateY(-10px) rotate(-4deg); } }
.about-text { display: flex; flex-direction: column; gap: 18px; }
.about-text > p:not(.lead) { color: #b9c3da; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.values div { padding: 16px; border-radius: 14px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.values strong { font-family: var(--display); font-size: 15px; }
.values span { color: var(--muted); font-size: 14px; }

.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: border-color .3s, transform .4s var(--ease), background .3s; min-width: 0; }
.contact-card:hover { border-color: rgba(79,180,255,.5); background: rgba(31,107,249,.08); transform: translateY(-3px); }
.contact-card span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-card strong { font-size: 17px; overflow-wrap: anywhere; }
#sheet-impressum h4 { font-size: 17px; margin-top: 10px; }
#sheet-impressum p { color: #b9c3da; }

/* Terminbuchung */
.booking { display: flex; flex-direction: column; gap: 26px; margin-top: 6px; }
.booking fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.booking legend { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; margin-bottom: 12px; padding: 0; }
.booking legend .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--grad); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-weight: 600; transition: all .25s; }
.chips input:checked + span { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 20px -6px rgba(31,107,249,.8); }
.chips input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 2px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { flex: none; scroll-snap-align: start; width: 64px; padding: 10px 0; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); display: flex; flex-direction: column; align-items: center; gap: 0; transition: all .25s; }
.day span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.day strong { font-family: var(--display); font-size: 20px; }
.day.is-on { background: var(--grad); border-color: transparent; }
.day.is-on span { color: rgba(255,255,255,.85); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot { height: 42px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-weight: 700; transition: all .25s; }
.slot:hover:not(:disabled) { border-color: rgba(79,180,255,.5); }
.slot:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.slot.is-on { background: #fff; color: var(--ink); }
.hint { color: var(--muted); font-size: 14px; grid-column: 1 / -1; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field.wide { grid-column: 1 / -1; }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .25s, background .25s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: rgba(31,107,249,.08); }
.form-error { color: #ff9aa8; font-weight: 600; min-height: 1em; }
.form-error:empty { display: none; }
.booking-done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: rgba(31,107,249,.08); }
.done-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.done-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.booking-done h3 { font-size: 22px; }
.booking-done p { color: #b9c3da; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 70px 16px 24px; background: rgba(3,6,12,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.lightbox.is-open { opacity: 1; }
.lightbox-stage { width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; transform: scale(.94); transition: transform .4s var(--ease); }
.lightbox.is-open .lightbox-stage { transform: none; }
.lightbox-stage.tall { width: auto; height: min(80vh, 760px); aspect-ratio: 9 / 16; }
.lightbox-stage iframe, .lightbox-stage video { width: 100%; height: 100%; border: 0; display: block; }
.lb-empty { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; padding: 28px; text-align: center; background: radial-gradient(120% 120% at 30% 20%, var(--c1), var(--c2) 70%); background-size: cover; }
.lb-empty strong { font-family: var(--display); font-size: 20px; }
.lb-empty > span:last-child { color: rgba(255,255,255,.75); }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: 7px 11px; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .grid-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-videos .video-card, .grid-videos .video-card:not(.tall):nth-of-type(1) { grid-column: span 2; }
  .grid-videos .video-card.tall { grid-column: span 1; grid-row: span 1; }
  .video-card.tall .thumb { aspect-ratio: 9 / 16; min-height: 0; flex: none; }
  .plans, .steps, .facts, .contact-cards, .values { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-mark { width: 160px; }
}
@media (max-width: 900px) and (min-width: 641px) {
  .hero-content { max-width: 60vw; }
  .hero-title { font-size: clamp(34px, 6vw, 56px); }
  .hero-actions .btn { height: 48px; padding: 0 20px; font-size: 14px; }
  .scroll-hint { display: none; }
}
@media (max-width: 640px) {
  .hero { align-items: flex-end; }
  .hero-content { padding-bottom: 110px; }
  .hero-title { font-size: clamp(36px, 10.5vw, 64px); margin: 16px 0 16px; }
  .hero-lead { font-size: 15.5px; }
  .hero-actions { margin-top: 24px; }
  .hero-shapes { left: 50%; right: auto; transform: translateX(-50%); bottom: 22px; }
  .is-ready .hero-shapes.reveal-hero { transform: translateX(-50%); }
  .scroll-hint { display: none; }
  .hero-fallback { right: 50%; top: 26%; transform: translate(50%, -50%); width: 44vw; height: 44vw; animation: none; }
}
@media (max-width: 720px) {
  .grid-websites { grid-template-columns: 1fr; }
  .work { padding-top: 88px; }
  .switch { width: 100%; }
  .switch button { flex: 1; min-width: 0; padding: 0 10px; font-size: 14px; }
  .fields { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cta-band .btn { width: 100%; }
  .sheet { border-radius: 22px 22px 0 0; }
}
@media (max-height: 640px) and (max-width: 900px) {
  .hero-lead { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-hero { opacity: 1; transform: none; filter: none; }
}
@media (max-width: 960px) {
  .video-card.tall .thumb-word { font-size: 17px; left: 14px; bottom: 14px; }
  .video-card.tall .play { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
}


/* =========================================================
   Übergang Startseite -> Arbeiten
   Die Startseite bleibt stehen, die Arbeiten gleiten wie eine
   Karte darüber. --p läuft beim Scrollen von 0 bis 1.
   ========================================================= */
.hero { position: sticky; top: 0; z-index: 0; --p: 0; }
.hero-content { transform: translateY(calc(var(--p) * -90px)) scale(calc(1 - var(--p) * .06)); opacity: calc(1 - var(--p) * 1.6); filter: blur(calc(var(--p) * 10px)); transform-origin: left center; }
.hero-shapes, .scroll-hint { opacity: calc(1 - var(--p) * 3); }
.hero-bg { transform: scale(calc(1 + var(--p) * .15)); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: #03060d; opacity: calc(var(--p) * .7); }
.work {
  --p: 0;
  margin-top: -6vh;
  border-radius: calc((1 - var(--p)) * 56px) calc((1 - var(--p)) * 56px) 0 0;
  transform: scale(calc(.92 + var(--p) * .08));
  transform-origin: 50% 0;
  box-shadow: 0 -40px 120px -20px rgba(31,107,249, calc(.55 - var(--p) * .4)), 0 -1px 0 rgba(159,208,255,.35);
  overflow: hidden;
}
.work::before { left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, transparent, #9fd0ff, #1f6bf9, transparent); filter: blur(.5px); opacity: calc(1 - var(--p)); }
.work::after { content: ""; position: absolute; left: 50%; top: 0; width: 70%; height: 240px; transform: translate(-50%, -60%); background: radial-gradient(closest-side, rgba(31,107,249,.45), transparent); pointer-events: none; opacity: calc(1 - var(--p) * .6); }

/* =========================================================
   Roulette
   ========================================================= */
.roulette { position: relative; max-width: none; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.branchen { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; flex-wrap: wrap; justify-content: center; }
.branchen::-webkit-scrollbar { display: none; }
.bchip { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: #c8d1e6; font-weight: 600; font-size: 14px; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.bchip:hover { border-color: rgba(159,208,255,.4); color: #fff; }
.bchip.is-on { background: var(--grad); border-color: transparent; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px -8px rgba(31,107,249,.8); }

.ring-stage {
  --cw: 280px; --ch: 370px;
  position: relative; width: 100vw; height: calc(var(--ch) + 90px);
  perspective: 1500px; perspective-origin: 50% 40%;
  display: grid; place-items: center; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.ring-stage.grabbing { cursor: grabbing; }
.ring-floor { position: absolute; left: 50%; bottom: 10px; width: min(1400px, 96vw); height: 120px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(31,107,249,.35), transparent); filter: blur(10px); }
.spinning .ring-floor { animation: floorflash 1.8s var(--ease); }
@keyframes floorflash { 30% { background: radial-gradient(closest-side, rgba(120,190,255,.7), transparent); } }
.ring { position: relative; width: var(--cw); height: var(--ch); transform-style: preserve-3d; will-change: transform; }
.ring.pop { animation: ringpop 1.2s var(--ease); }
@keyframes ringpop { from { scale: .85; opacity: .2; } to { scale: 1; opacity: 1; } }
.rcard { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: opacity .2s; cursor: pointer; }
.rface {
  position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: radial-gradient(130% 100% at 20% 0%, var(--c1) 0%, var(--c2) 75%); background-size: cover; background-position: center;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.9);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.rvideo .rface::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,16,.35) 0%, transparent 35%, rgba(5,8,16,.8) 100%); }
.rcard.is-front .rface { box-shadow: 0 50px 90px -30px rgba(31,107,249,.65), 0 0 0 1px rgba(159,208,255,.45); }
.rcard.is-front:hover .rface { transform: translateY(-8px) scale(1.02); }
.rbr { position: relative; z-index: 2; margin: 18px 18px 0; font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.1; letter-spacing: -0.01em; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.rbr::before { content: "Branche"; display: block; font-family: var(--body); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; opacity: .7; margin-bottom: 4px; }
.rmeta { position: relative; z-index: 2; margin-top: auto; padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.rmeta strong { font-size: 16px; }
.rmeta span { font-size: 13px; color: rgba(255,255,255,.75); }
.rvideo .play { top: 52%; }
.rsite .rface { background: linear-gradient(160deg, var(--c1), var(--c2)); }
.rsite .rface::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,8,16,.7)); z-index: 1; }
.mini-browser { position: relative; margin: 16px 16px 0; border-radius: 12px; overflow: hidden; background: #0f1626; box-shadow: 0 20px 40px -15px rgba(0,0,0,.6); transform: rotate(-3deg) translateY(4px); transition: transform .6s var(--ease); }
.rcard.is-front .mini-browser { transform: rotate(0) translateY(0); }
.mini-browser .browser-bar { height: 22px; padding: 0 9px; gap: 4px; }
.mini-browser .browser-bar i { width: 6px; height: 6px; }
.mini-browser .screen { aspect-ratio: 4 / 3.4; }
.mini-browser .m-hero b { height: 9px; } .mini-browser .m-hero em { height: 13px; width: 54px; margin-top: 2px; } .mini-browser .m-hero { gap: 5px; }

.roulette-ui { display: flex; align-items: center; gap: 18px; margin-top: -28px; position: relative; z-index: 2; }
.r-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(12,18,32,.7); backdrop-filter: blur(8px); transition: background .25s, transform .3s var(--ease), border-color .25s; flex: none; }
.r-btn:hover { background: rgba(31,107,249,.25); border-color: rgba(159,208,255,.45); }
.r-btn:active { transform: scale(.92); }
.r-btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.r-btn.small { width: 40px; height: 40px; }
.r-info { min-width: 230px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.r-branche { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); font-weight: 700; }
.r-info strong { font-size: 17px; }
.r-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.r-hint { font-size: 13px; color: var(--muted); text-align: center; }

/* =========================================================
   Projekt-Ansicht
   ========================================================= */
.viewer { position: fixed; inset: 0; z-index: 80; }
.viewer::before { content: ""; position: absolute; inset: 0; background: rgba(3,6,12,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s; }
.viewer.is-open::before { opacity: 1; }
.viewer-panel {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  background: radial-gradient(70% 50% at 50% 0%, rgba(31,107,249,.25), transparent 70%), #070b14;
  clip-path: inset(0 round 0);
  transition: clip-path .7s cubic-bezier(.7, 0, .2, 1);
}
.viewer-top { display: flex; align-items: center; gap: 14px; padding: 14px var(--gutter); padding-top: calc(14px + env(safe-area-inset-top, 0)); border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .5s var(--ease); }
.viewer.is-open .viewer-top { opacity: 1; transform: none; transition-delay: .45s; }
.v-back { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.05); font-weight: 700; font-size: 14px; }
.v-back:hover { background: rgba(255,255,255,.1); }
.v-back svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.v-title { flex: 1; min-width: 0; display: flex; flex-direction: column; text-align: center; }
.v-branche { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); font-weight: 700; }
.v-title strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-nav { display: flex; align-items: center; gap: 8px; }
.v-ext { font-size: 13px; font-weight: 700; color: var(--ice); padding: 0 10px; }
.viewer-body { flex: 1; min-height: 0; display: grid; place-items: center; padding: clamp(12px, 3vw, 32px); }
.viewer-body > * { opacity: 0; transform: translateY(40px) scale(.96); }
.viewer.is-open .viewer-body.swap > * { animation: vin .8s var(--ease) .35s forwards; }
@keyframes vin { to { opacity: 1; transform: none; } }
.v-browser { width: min(1400px, 100%); height: 100%; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0f1626; box-shadow: 0 50px 120px -40px rgba(31,107,249,.5); }
.v-browser .url { max-width: 420px; margin: 0 auto; text-align: center; }
.v-site { flex: 1; width: 100%; border: 0; background: #fff; }
.v-video { width: min(1200px, 100%); aspect-ratio: 16 / 9; max-height: 100%; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 50px 120px -40px rgba(31,107,249,.6); }
.v-video.tall { width: auto; height: 100%; aspect-ratio: 9 / 16; max-width: 100%; }
.v-video iframe, .v-video video { width: 100%; height: 100%; border: 0; display: block; }
.v-video .lb-empty .play { position: relative; left: auto; top: auto; margin: 0 0 auto; width: 84px; height: 84px; margin-top: auto; }
.v-video .lb-empty { justify-content: center; gap: 10px; }

@media (max-width: 720px) {
  .roulette-ui { gap: 10px; margin-top: -20px; }
  .r-info { min-width: 0; flex: 1; }
  .r-btn { width: 44px; height: 44px; }
  .branchen { flex-wrap: nowrap; justify-content: flex-start; width: 100%; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .ring-stage { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%); }
  .v-ext { display: none; }
  .v-back span { display: none; }
  .v-back { padding: 0 10px; }
  .work { margin-top: -4vh; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content { transform: none; filter: none; }
  .work { transform: none; }
}

/* Roulette: Seitenpfeile direkt neben der vorderen Karte */
.r-side { position: absolute; top: 50%; z-index: 5; width: 54px; height: 54px; margin-top: -40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10,16,30,.75); border: 1px solid rgba(159,208,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.7); transition: background .25s, transform .3s var(--ease); }
.r-side:hover { background: var(--blue); }
.r-side:active { transform: scale(.92); }
.r-side svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.r-side-l { left: calc(50% - var(--cw) / 2 - 76px); }
.r-side-r { right: calc(50% - var(--cw) / 2 - 76px); }
.roulette-ui { margin-top: -18px; }
.r-info strong { font-size: 18px; }
@media (max-width: 640px) {
  .r-side { width: 46px; height: 46px; }
  .r-side-l { left: 10px; } .r-side-r { right: 10px; }
}
@media (max-width: 640px) { .ring-stage { -webkit-mask-image: none; mask-image: none; } }

/* =========================================================
   SCHLICHTE STARTSEITE: leuchtender Planetenbogen
   ========================================================= */
.hero.hero-arc {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  min-height: 720px; text-align: center; background: #03050b;
}
.arc-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; transform: scale(calc(1 + var(--p) * .08)); transform-origin: 50% 70%; }
/* blaues Licht, das hinter dem Bogen aufsteigt */
.arc-haze {
  position: absolute; left: 50%; top: 18%; width: 150vw; height: 80%; transform: translateX(-50%);
  background: radial-gradient(50% 55% at 50% 100%, rgba(31,107,249,.55) 0%, rgba(42,60,255,.22) 40%, transparent 75%);
  animation: haze 7s ease-in-out infinite;
}
@keyframes haze { 50% { opacity: .8; } }
/* feine senkrechte Linien wie im Referenzbild */
.arc-stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(160,195,255,.07) 0 1px, transparent 1px 14px);
  -webkit-mask-image: radial-gradient(60% 45% at 50% 62%, #000 0%, transparent 100%);
  mask-image: radial-gradient(60% 45% at 50% 62%, #000 0%, transparent 100%);
}
.arc-stars {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 27% 42%, #cfe0ff, transparent),
    radial-gradient(1px 1px at 41% 12%, #fff, transparent), radial-gradient(1px 1px at 63% 30%, #cfe0ff, transparent),
    radial-gradient(1px 1px at 78% 14%, #fff, transparent), radial-gradient(1px 1px at 88% 40%, #cfe0ff, transparent),
    radial-gradient(1px 1px at 6% 52%, #fff, transparent), radial-gradient(1.5px 1.5px at 94% 22%, #fff, transparent),
    radial-gradient(1px 1px at 55% 8%, #fff, transparent), radial-gradient(1px 1px at 34% 26%, #fff, transparent);
}
/* der Planet: ein riesiger Kreis, dessen oberer Rand leuchtet */
.planet {
  position: absolute; left: 50%; top: 60%; width: max(1700px, 165vw); aspect-ratio: 1; border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, #03050b 92%, #071230 97.5%, #10307a 99.3%, #2a63e8 100%);
  box-shadow:
    0 -1px 0 0 rgba(170,205,255,.85),
    0 -10px 40px 0 rgba(79,150,255,.55),
    0 -40px 140px 10px rgba(31,107,249,.45),
    inset 0 30px 70px -20px rgba(31,107,249,.55),
    inset 0 2px 0 0 rgba(200,225,255,.6);
  animation: rise 1.8s cubic-bezier(.2,.8,.2,1) .2s both;
}
@keyframes rise { from { transform: translate(-50%, 18%); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
/* Lichtreflex, der langsam über den Rand wandert */
.planet-shine {
  position: absolute; inset: -2px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(220,235,255,.9) 6deg, transparent 14deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: shine 9s linear infinite; opacity: .9;
}
@keyframes shine { from { transform: rotate(-40deg); } to { transform: rotate(40deg); } }

.hero.hero-arc .hero-content {
  position: relative; z-index: 2; max-width: 900px; padding: calc(118px + env(safe-area-inset-top, 0)) 16px 0;
  display: flex; flex-direction: column; align-items: center; transform-origin: 50% 30%;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 5px 0 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: #dbe5fb;
  background: rgba(20,28,48,.7); border: 1px solid rgba(160,190,255,.2); backdrop-filter: blur(8px);
  transition: border-color .3s, background .3s;
}
.pill:hover { border-color: rgba(160,190,255,.45); background: rgba(31,107,249,.15); }
.pill-go { width: 28px; height: 26px; border-radius: 999px; display: grid; place-items: center; background: var(--grad); }
.pill-go svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.pill:hover .pill-go svg { transform: translateX(2px); }
.hero.hero-arc .hero-title {
  font-family: "Montserrat", var(--body); font-weight: 600; letter-spacing: -0.035em;
  font-size: clamp(38px, 5.6vw, 76px); line-height: 1.06; margin: 26px 0 20px; color: #f4f7ff;
}
.nw { white-space: nowrap; }
.pill-short { display: none; }
.hero.hero-arc .word { font-weight: 700; display: inline-block; min-width: 0; }
.hero.hero-arc .hero-lead { max-width: 54ch; margin: 0 auto; color: #a9b4cc; font-size: clamp(16px, 1.3vw, 18.5px); }
.hero.hero-arc .hero-actions { justify-content: center; margin-top: 32px; }
.btn-play { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.btn-play svg { width: 12px; height: 12px; fill: #070b14; margin-left: 1px; }

.hero-below { position: absolute; z-index: 2; left: 0; right: 0; top: calc(60% + 70px); display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 16px; }
.hero-below p { font-size: 13.5px; color: #7f8aa3; letter-spacing: .02em; }
.offer-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; }
.offer-row li { display: flex; align-items: center; gap: 9px; font-family: "Montserrat", var(--body); font-weight: 600; font-size: 16px; color: #8d98b2; }
.offer-row svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.is-ready .hero-below.reveal-hero { opacity: calc(1 - var(--p) * 3); }

@media (max-width: 900px) and (min-width: 641px) { .hero.hero-arc .hero-content { max-width: 760px; } }
@media (max-width: 640px) {
  .hero.hero-arc { align-items: center; min-height: 640px; }
  .hero.hero-arc .hero-content { padding: 100px 16px 0; }
  .hero.hero-arc .hero-title { font-size: clamp(32px, 9.6vw, 46px); margin: 20px 0 14px; }
  .hero.hero-arc .hero-title br { display: none; }
  .pill { font-size: 12px; height: 34px; padding-left: 12px; }
  .pill-long { display: none; } .pill-short { display: inline; }
  .planet { top: 70%; width: 280vw; }
  .arc-haze { top: 30%; }
  .hero-below { top: calc(70% + 46px); gap: 12px; }
  .offer-row { gap: 10px 20px; }
  .offer-row li { font-size: 13.5px; }
  .offer-row svg { width: 18px; height: 18px; }
  .hero.hero-arc .hero-actions { margin-top: 24px; width: 100%; }
}
@media (max-height: 760px) and (min-width: 641px) {
  .hero.hero-arc .hero-content { padding-top: 100px; }
  .hero.hero-arc .hero-title { font-size: clamp(34px, 4.6vw, 60px); }
}
@media (prefers-reduced-motion: reduce) { .planet, .planet-shine, .arc-haze { animation: none; } }
.hero.hero-arc .word { background: linear-gradient(100deg, #ffffff 0%, #a9d2ff 30%, #4f8dff 55%, #a9d2ff 80%, #ffffff 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
