/* ═══════════════════════════════════════════════════════════════════
   RevenueLab /demo — Nav/Footer 1:1 aus blog.css übernommen, damit die
   Nav-Komponente auf der ganzen Seite identisch bleibt.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg:       #0b0d12;
  --surface:  #11141c;
  --surface2: #161a24;
  --line:     rgba(255,255,255,.07);
  --line2:    rgba(74,143,255,.22);
  --accent:   #4a8fff;
  --green:    #00d68f;
  --amber:    #f0a500;
  --gradient: linear-gradient(135deg, #4a8fff, #00d68f);
  --text:     #eceef4;
  --muted:    #8b91a1;
  --dim:      #565b68;
  --mono:     'JetBrains Mono', monospace;
  --sans:     'Syne', -apple-system, sans-serif;
  --body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease:     cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text); font-family: var(--body);
  line-height: 1.6; margin: 0; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
a { color: inherit; }
img { max-width: 100%; }

/* ── Canvas-Hintergrund (1:1 aus index.html) ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 62% 80% at 50% 45%, rgba(11,13,18,.55), transparent 78%);
}
::selection { background: rgba(74,143,255,.35); }
#cvs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}
nav, main, footer { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  #cvs { display: none; }
}

/* ── Nav (1:1 aus index.html / blog.css) ── */
nav#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(11,13,18,.65); border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
nav#nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: .9rem 1.5rem; display: flex; align-items: center; gap: 2px; }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 800; font-size: 1.02rem; letter-spacing: -.03em; font-family: var(--sans); margin-right: 16px; }
.logo svg { width: 26px; height: 26px; border-radius: 7px; }
.logo span {
  background: linear-gradient(135deg, #4a8fff, #00d68f, #4a8fff); background-size: 300% 300%;
  animation: gradShift 8s ease infinite; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes gradShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.nav-item { position: relative; }
.nav-btn {
  display: flex; align-items: center; gap: .3rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: .84rem; font-weight: 600;
  color: var(--muted); padding: .6rem .7rem; border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}
.nav-btn:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-item.open .nav-btn { color: var(--text); background: rgba(255,255,255,.06); }
.nav-btn .chev { width: 13px; height: 13px; stroke: currentColor; transition: transform .25s var(--ease); }
.nav-item.open .nav-btn .chev { transform: rotate(180deg); }

.nav-link {
  font-family: var(--sans); font-size: .84rem; font-weight: 600;
  color: var(--muted); text-decoration: none; padding: .6rem .7rem; border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.05); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; }
.link-login {
  font-family: var(--sans); font-size: .84rem; font-weight: 600;
  color: var(--muted); text-decoration: none;
  transition: color .2s ease;
  white-space: nowrap;
}
.link-login:hover { color: var(--text); }

.nav-cta {
  font-family: var(--mono); font-weight: 600; font-size: .78rem; color: #06110c; text-decoration: none;
  background: var(--gradient); padding: .55rem 1.05rem; border-radius: 9px; white-space: nowrap;
  transition: transform .55s ease, box-shadow .55s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(74,143,255,.35); transition-duration: .2s; }

/* ─── Mega-Menu (1:1 aus index.html) ────────────────────────────────── */
.mega {
  position: absolute; top: calc(100% + 10px); left: 0;
  transform: translateY(-6px);
  min-width: 300px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.6);
  padding: .6rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.mega.wide {
  min-width: 520px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 1.4rem;
  padding: 1.1rem;
}
.mega-col { display: flex; flex-direction: column; gap: .1rem; }
.nav-item.open .mega { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mega-col-title {
  font-family: var(--mono); font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--dim);
  margin: .6rem 0 .2rem;
}
.mega-col-title:first-child { margin-top: 0; }
.mega-item {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .55rem .6rem; border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: background .15s ease;
}
.mega-item:hover { background: rgba(255,255,255,.05); }
.mega-icon {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--surface2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--muted); transition: color .15s ease, border-color .15s ease;
}
.mega-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mega-item:hover .mega-icon { color: var(--accent); border-color: var(--line2); }
.mega-item b { display: block; font-size: .82rem; font-weight: 700; color: var(--text); font-family: var(--sans); }
.mega-item i { display: block; font-style: normal; font-size: .72rem; color: var(--muted); margin-top: .1rem; line-height: 1.4; font-family: var(--body); }
.mega-item.highlight { background: rgba(0,214,143,.06); border: 1px solid rgba(0,214,143,.18); }
.mega-item.highlight .mega-icon { background: rgba(0,214,143,.14); border-color: rgba(0,214,143,.25); }
.mega-item.highlight:hover .mega-icon { color: var(--green); }
.mega-item.current b { color: var(--accent); }

@media (max-width: 900px) {
  .nav-item, .nav-link { display: none; }
}
main { padding-top: 88px; }

/* ── Footer (1:1 aus index.html) ── */
footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; background: rgba(11,13,18,.85); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-brand p { color: var(--dim); font-size: .8rem; margin-top: .9rem; max-width: 230px; line-height: 1.6; }
.foot-col h5 { font-family: var(--mono); font-size: .66rem; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9rem; }
.foot-col a { display: block; color: var(--muted); text-decoration: none; font-size: .82rem; padding: .25rem 0; transition: color .5s ease; }
.foot-col a:hover { color: var(--text); transition-duration: .2s; }
.foot-bottom { padding-top: 1.6rem; font-family: var(--mono); font-size: .68rem; color: var(--dim); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; }

/* ══════════════════════════════════════════════════════════════════
   /demo — Seiteneigene Styles
   ══════════════════════════════════════════════════════════════════ */

.demo-hero { padding: 56px 0 40px; text-align: center; }
.demo-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--green);
  background: rgba(0,214,143,.08); border: 1px solid rgba(0,214,143,.22);
  border-radius: 99px; padding: 7px 16px; margin-bottom: 24px;
}
.demo-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.demo-hero h1 { font-family: var(--sans); font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 16px; text-wrap: balance; max-width: 760px; margin-left: auto; margin-right: auto; }
.demo-hero h1 span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.demo-hero p { color: var(--muted); font-size: 16.5px; max-width: 560px; margin: 0 auto 30px; }
.demo-hero .cta { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); font-weight: 700; font-size: 15px; color: #06110c; background: var(--gradient); text-decoration: none; padding: 14px 28px; border-radius: 12px; box-shadow: 0 4px 18px rgba(74,143,255,.25); transition: transform .2s, box-shadow .2s; }
.demo-hero .cta:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(74,143,255,.4); }

/* Video-Platzhalter */
.video-frame {
  max-width: 860px; margin: 0 auto 70px; aspect-ratio: 16/9;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  position: relative; overflow: hidden;
}
.video-frame::before { content: ''; position: absolute; inset: 0; background: var(--gradient); opacity: .05; }
.video-frame .play {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.06);
  border: 1px solid var(--line2); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
}
.video-frame .play svg { width: 22px; height: 22px; fill: var(--text); margin-left: 3px; }
.video-frame span { font-family: var(--mono); font-size: 12.5px; color: var(--dim); position: relative; z-index: 1; }

/* Screenshot-Platzhalter-Grid */
.shots { max-width: 900px; margin: 0 auto 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr 1fr; } }
.shot {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  padding: 8px; transition: border-color .2s, transform .2s;
}
.shot:hover { border-color: var(--line2); transform: translateY(-3px); }
.shot img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; border-radius: 9px; display: block; background: var(--surface2); }
.shot b { font-size: 12.5px; font-weight: 700; text-align: center; padding: 0 4px 4px; }

/* Formular-Sektion */
.form-section { max-width: 640px; margin: 0 auto; padding: 60px 1.5rem 100px; }
.form-head { text-align: center; margin-bottom: 36px; }
.form-head h2 { font-family: var(--sans); font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; }
.form-head p { color: var(--muted); font-size: 14.5px; margin: 0; }

.steps { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.step-dot { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); }
.step-dot.active { color: var(--text); border-color: var(--line2); background: rgba(74,143,255,.06); }
.step-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.step-dot.active i { background: var(--accent); }

.demo-form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.field select, .field input {
  width: 100%; background: var(--surface2); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 14px; color: var(--text); font-family: var(--body); font-size: 14px;
  transition: border-color .2s;
}
.field select:focus, .field input:focus { outline: none; border-color: var(--line2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 500px) { .field-row { grid-template-columns: 1fr; } }

.form-submit {
  width: 100%; font-family: var(--sans); font-weight: 700; font-size: 15px; color: #06110c;
  background: var(--gradient); border: none; border-radius: 12px; padding: 14px; cursor: pointer;
  box-shadow: 0 4px 18px rgba(74,143,255,.25); transition: transform .2s, box-shadow .2s;
}
.form-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 32px rgba(74,143,255,.4); }
.form-note { text-align: center; font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 14px; }

.booking-summary {
  background: rgba(0,214,143,.06); border: 1px solid rgba(0,214,143,.2); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 24px; font-size: 13px; color: var(--muted);
}
.booking-summary b { color: var(--text); }
#cal-embed { width: 100%; min-height: 620px; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }

[data-step] { display: none; }
[data-step].active { display: block; }
