/* =========================
   BookFels main.css (FINAL)
   Focus: stable responsive + clean layering
   ========================== */

/* ---------- Root / Base ---------- */
:root{
  --bg0:#05070d;
  --bg1:#0b1020;

  --card: rgba(15,22,41,.72);
  --card2: rgba(255,255,255,.03);

  --text:#e8eefc;
  --muted:#a7b0c0;
  --line: rgba(255,255,255,.09);

  --shadow: 0 18px 55px rgba(0,0,0,.50);
  --radius: 18px;

  --accent:#7aa7ff;
  --accent2:#7dffb2;

  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}

body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(900px 500px at 18% -10%, rgba(122,167,255,.22), transparent 60%),
    radial-gradient(900px 520px at 82% 5%, rgba(125,255,178,.12), transparent 58%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 40%, var(--bg0));
  overflow-x:hidden;
  position:relative;
}

a{ color:var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}
@media (max-width: 480px){
  .container{ padding: 0 14px; }
}

/* ---------- Layering: Canvas + sparkles behind content ---------- */
#starfield{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .85;
}

/* very subtle sparkle overlay (harmonisiert, aber nicht “störend”) */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 1;
  background:
    radial-gradient(2px 2px at 18% 22%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(2px 2px at 62% 36%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(1.6px 1.6px at 78% 62%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(1.4px 1.4px at 32% 72%, rgba(255,255,255,.08), transparent 60%);
  opacity:.35;
  mix-blend-mode: screen;
}
@media (prefers-reduced-motion: reduce){
  #starfield, body::after{ display:none; }
}

/* content always above */
.topbar, .hero-media, main, footer{ position:relative; z-index: 2; }

/* ---------- Top Progress ---------- */
#topProgress{
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  z-index: 9999;
  background: rgba(122,167,255,.65);
  box-shadow: 0 0 18px rgba(122,167,255,.25);
  transition: width .25s ease, opacity .25s ease;
  opacity: 0;
}

/* ---------- Buttons ---------- */
.btn{
  appearance:none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 13.5px;
  cursor:pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  max-width: 100%;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.20);
  text-decoration:none;
}
.btn:active{ transform: translateY(0px) scale(.99); }
.btn.primary{
  border: 1px solid rgba(122,167,255,.35);
  background: linear-gradient(135deg, rgba(122,167,255,.18), rgba(125,255,178,.08));
}
.btn.primary:hover{ border-color: rgba(122,167,255,.55); }

/* ---------- Topbar ---------- */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(7,10,18,.68);
  border-bottom: 1px solid var(--line);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 9px 0;
  flex-wrap: nowrap;
  min-width: 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}
.logo{
  width: 34px; height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  box-shadow: 0 0 0 7px rgba(122,167,255,.10);
  overflow:hidden;
  background: linear-gradient(135deg, rgba(122,167,255,.25), rgba(125,255,178,.12));
  border: 1px solid rgba(255,255,255,.10);
  display:grid; place-items:center;
}
.brand-name{ display:flex; flex-direction:column; line-height:1.1; min-width:0; }
.brand-name strong{
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-name span{
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav{
  display:flex;
  align-items:center;
  gap: 16px;
  min-width: 0;
}
.nav a{
  color: var(--muted);
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.nav a:hover{
  color: var(--text);
  border-color: rgba(255,255,255,.10);
  text-decoration:none;
  background: rgba(255,255,255,.03);
}
.nav-ic{
  width:18px;
  height:18px;
  opacity:.85;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.35));
}
.nav a:hover .nav-ic{ opacity:1; }

.nav-cta{
  display:flex;
  align-items:center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
}

/* burger */
.burger{
  display:none;
  width: 44px; height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  gap: 6px;
  flex-direction:column;
}
.burger:hover{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.20); }
.burger span{
  display:block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(232,238,252,.85);
}

/* mobile panel */
.mobile-panel{
  display:none;
  border-top: 1px solid var(--line);
  padding: 10px 0 14px;
}
.mobile-panel.open{ display:block; }
.mobile-panel .stack{
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.mobile-panel a{
  display:flex;
  justify-content:space-between;
  align-items:center;
  color: var(--text);
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  text-decoration:none;
  font-weight: 700;
}
.mobile-panel a small{ color: var(--muted); font-weight: 600; }

.mp-sep{ height:1px; border:0; background: rgba(255,255,255,.08); margin: 10px 0; }
.mp-cta{ display:grid; gap:10px; }
.mp-cta .btn{ width:100%; }

.mp-quick{ margin-top: 8px; }
.mp-quick-row{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:10px;
}
.mp-quickBtn{
  display:block;
  text-align:center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(232,238,252,.92);
  font-weight: 900;
}
.mp-pills{
  display:flex;
  gap:8px;
  margin-top:10px;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.mp-pills::-webkit-scrollbar{ display:none; }
.mp-pill{
  flex:0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(232,238,252,.86);
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: lowercase;
}

/* breakpoints */
@media (max-width: 860px){
  .nav{ display:none; }
  .burger{ display:flex; }
}
.only-desktop{ display:inline-flex; }
@media (max-width: 860px){
  .only-desktop{ display:none !important; }
}
@media (max-width: 480px){
  .topbar-inner{ gap: 10px; }
  .brand-name span{ display:none; }
}

/* ---------- Hero ---------- */
.hero-media{
  position: relative;
  /*padding: 22px 0 12px;*/
  overflow: hidden;
}
.hero-media .hero-bg{
  position:absolute;
  inset:0;
  z-index: 0;
  pointer-events:none;
}
.hero-media .hero-bg picture,
.hero-media .hero-bg img{ width:100%; height:100%; display:block; }
.hero-media .hero-bg picture img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: 72% 30%;
  opacity: .42;
  filter: saturate(1.02) contrast(1.03);
}
@media (max-width: 599px){
  .hero-media .hero-bg picture img{
    object-position: 52% 22%;
    opacity: .46;
  }
}
.universe-glow{
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(900px 520px at 18% 0%, rgba(122,167,255,.16), transparent 62%),
    radial-gradient(900px 520px at 82% 10%, rgba(125,255,178,.10), transparent 60%),
    radial-gradient(700px 380px at 70% 45%, rgba(122,167,255,.08), transparent 70%),
    linear-gradient(180deg, rgba(5,7,13,.85), rgba(11,16,32,.55) 45%, rgba(5,7,13,.92));
  mix-blend-mode: screen;
  opacity: .75;
}
.hero-media .container{ position:relative; z-index:2; }

.hero-head{
  padding: 44px 0 18px;
  max-width: 78ch;
}
.hero-title{
  margin: 14px 0 10px;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: 0 18px 80px rgba(0,0,0,.55);
}
.hero-lead{
  font-size: 16px;
  color: rgba(232,238,252,.86);
  text-shadow: 0 18px 70px rgba(0,0,0,.40);
  margin: 0 0 18px;
  line-height: 1.65;
  max-width: 68ch;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(232,238,252,.88);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .2px;
}
.kdot{
  width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 6px rgba(122,167,255,.10);
}
.hero-actions{ display:flex; gap: 10px; flex-wrap:wrap; margin-top: 10px; }
.hero-emotions{ margin-top: 14px; display:flex; flex-wrap:wrap; gap:10px; }
.emo{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(232,238,252,.82);
  font-weight: 900;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: lowercase;
}

.hero-glass-start{ margin-top: 10px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:stretch;
}
.hero-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  overflow:hidden;
  position:relative;
}
.hero-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(700px 260px at 18% 0%, rgba(122,167,255,.12), transparent 65%),
    radial-gradient(620px 260px at 82% 10%, rgba(125,255,178,.08), transparent 60%);
  pointer-events:none;
  opacity:.9;
}
.hero-card > *{ position:relative; z-index:1; }

.side-card{
  background: rgba(15,22,41,.52);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}
.trust-row{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.trust-item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.trust-ic{
  width: 34px; height: 34px;
  border-radius: 12px;
  display:grid; place-items:center;
  border: 1px solid rgba(122,167,255,.22);
  background: rgba(122,167,255,.10);
  flex: 0 0 auto;
}
.trust-ic img{ width:18px; height:18px; opacity:.92; }
.trust-item strong{ display:block; font-size: 13px; }
.trust-item span{ display:block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height:1.4; }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-head{ padding-top: 32px; max-width: 100%; }
  .hero-title{ font-size: 38px; }
  .trust-row{ grid-template-columns: 1fr; }
}
@media (max-width: 480px){
  .hero-head{ padding-top: 26px; padding-bottom: 12px; }
  .hero-title{ font-size: 30px; line-height: 1.08; }
}

/* ---------- Sections ---------- */
.section{ padding: 18px 0; }
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.section-head h2{ margin:0; font-size: 18px; letter-spacing: .2px; }
.section-head p{ margin:0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

.grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 16px;
  min-height: 120px;
}
.tile strong{ display:block; margin-bottom: 8px; font-size: 14px; letter-spacing: .2px; }
.tile p{ margin:0; color: rgba(232,238,252,.86); line-height: 1.6; font-size: 13.5px; }
.mini-list{ margin: 10px 0 0; padding-left: 18px; color: rgba(232,238,252,.86); line-height: 1.7; font-size: 13.5px; }
.mini-list li{ margin: 6px 0; }

@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
}

/* Full-width soft band */
.section-soft{
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(900px 520px at 82% 10%, rgba(122,167,255,.10), transparent 55%),
    linear-gradient(180deg, rgba(7,10,18,.35), rgba(7,10,18,0));
  padding: 28px 0;
  border-radius: 18px;
}

/* Bleed section (smooth transitions, not “cut off”) */
.section-bleed{
  position: relative;
  margin: 28px 0;
  padding: 22px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 520px at 18% 10%, rgba(122,167,255,.10), transparent 60%),
    radial-gradient(900px 520px at 82% 10%, rgba(125,255,178,.06), transparent 62%),
    linear-gradient(180deg, rgba(7,10,18,.30), rgba(7,10,18,.10));
  overflow: hidden;
}
.section-bleed::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.18), transparent 35%, rgba(0,0,0,.18));
  pointer-events:none;
  opacity:.65;
}
.section-bleed > *{ position:relative; z-index:1; }
@media (max-width: 480px){
  .section-bleed{ padding: 18px 14px; }
}

/* ---------- Industries: head ---------- */
.industries-head{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-top: 8px;
}
.ih-ic{
  width:42px; height:42px;
  border-radius: 16px;
  border:1px solid rgba(122,167,255,.22);
  background: rgba(122,167,255,.10);
  display:grid; place-items:center;
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
  flex: 0 0 auto;
}
.ih-ic img{ width:18px; height:18px; opacity:.92; }
.ih-title{ font-weight: 1000; letter-spacing:-0.01em; }
.ih-sub{ color: rgba(255,255,255,.60); font-size: 12px; font-weight: 700; margin-top:2px; }

/* ---------- Industries: slider + flipcards ---------- */
.industry-slider{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 14px;
}

.flipcard{
  background: transparent;
  border: 0;
  padding: 0;
  perspective: 1100px;
  outline: none;
}
.flipcard-inner{
  position: relative;
  min-height: 180px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, border-color .2s ease;
  overflow:hidden;
}
.flipcard:hover .flipcard-inner{
  border-color: rgba(32,227,255,0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28), 0 0 0 6px rgba(32,227,255,0.05);
}
.flipcard.is-flipped .flipcard-inner{ transform: rotateY(180deg); }
.flipcard.is-selected .flipcard-inner{
  border-color: rgba(32,227,255,0.55);
  box-shadow: 0 0 0 6px rgba(32,227,255,0.08);
}

/* faces */
.flip-front, .flip-back{
  position:absolute;
  inset:0;
  padding: 14px;
  backface-visibility: hidden;
}
.flip-back{ transform: rotateY(180deg); }

.flip-top{
  display:flex;
  align-items:center;
  gap: 10px;
}
.industry-ic{
  width:24px;
  height:24px;
  flex:0 0 24px;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.35));
}
.flip-title{
  font-weight: 1000;
  font-size: 13.5px;
  letter-spacing: -0.01em;
}
.flip-desc{
  margin: 10px 0 10px;
  color: rgba(232,238,252,.84);
  font-size: 13px;
  line-height: 1.55;
}
.flip-tags{ display:flex; flex-wrap:wrap; gap:8px; }
.itag{
  padding: 6px 9px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: rgba(232,238,252,.82);
  font-size: 12px;
  font-weight: 800;
}

.flip-back-title{
  font-weight: 1000;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.flip-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(232,238,252,.80);
  font-size: 12.8px;
  line-height: 1.6;
}
.flip-list li{ margin: 6px 0; }
.flip-cta{
  display:grid;
  gap:10px;
  margin-top: 12px;
}
.flip-cta .btn{ width:100%; }

.industries-hint{
  margin-top: 12px;
  color: rgba(255,255,255,0.66);
  font-size: 12px;
}
.industries-hint code{
  background: rgba(0,0,0,0.35);
  padding: 2px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* slider on smaller */
@media (max-width: 980px){
  .industry-slider{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .industry-slider{
    display:flex;
    overflow-x:auto;
    gap: 12px;
    padding: 6px 2px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .industry-slider::-webkit-scrollbar{ display:none; }
  .flipcard{
    flex: 0 0 86%;
    scroll-snap-align: start;
  }
}

/* ---------- Chat UI ---------- */
.ui-split{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 12px;
  align-items:stretch;
}
.ui-side{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 14px;
}
.ui-title{
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 12px;
  margin: 4px 0 10px;
}
.sep{ border:0; height:1px; background: rgba(255,255,255,.08); margin: 10px 0; }

.chip{
  width:100%;
  text-align:left;
  padding:10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(232,238,252,.9);
  cursor:pointer;
  margin-bottom:8px;
}
.chip.is-active{
  border-color: rgba(122,167,255,.35);
  background: rgba(122,167,255,.10);
}

.actionBtn{
  width:100%;
  padding:10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.24);
  color: rgba(232,238,252,.9);
  cursor:pointer;
  margin-bottom:8px;
}
.actionBtn:hover{ border-color: rgba(122,167,255,.35); }

.ui-main{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height: 520px;
  max-width: 100%;
}
.ui-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  gap: 10px;
}
.ui-ident{ display:flex; align-items:center; gap:10px; min-width: 0; }
.ui-name{ font-weight: 900; }
.ui-meta{ font-size:12px; color: var(--muted); }

.status-dot{
  width:10px; height:10px;
  border-radius:99px;
  background: rgba(122,167,255,.9);
  box-shadow: 0 0 18px rgba(122,167,255,.35);
}

.ui-tools{ display:flex; gap:8px; flex:0 0 auto; }
.iconBtn{
  width:36px; height:34px;
  border-radius:12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(232,238,252,.86);
  cursor:pointer;
}
.iconBtn:hover{ border-color: rgba(122,167,255,.30); }

.chatStream{
  padding:16px 14px;
  display:flex;
  flex-direction:column;
  gap:12px;
  overflow:auto;
  flex:1;
}
.msg{ max-width: 82%; }
.msg--user{ align-self:flex-end; }
.bubble{
  padding:12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  line-height:1.55;
  word-wrap: break-word;
}
.msg--user .bubble{
  border-color: rgba(122,167,255,.28);
  background: rgba(122,167,255,.10);
}
.msgMeta{
  margin-top:6px;
  font-size:11px;
  color: rgba(255,255,255,.52);
}

.chatInput{
  padding:12px;
  border-top: 1px solid rgba(255,255,255,.10);
  display:flex;
  gap:10px;
  background: rgba(0,0,0,.10);
}
.chatInput input{
  flex:1;
  padding:12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  min-width: 0;
}
.hide{ position:absolute; left:-9999px; }

@media (max-width: 980px){
  .ui-split{ grid-template-columns: 1fr; }
  .ui-main{ min-height: 420px; }
}
@media (max-width: 600px){
  .ui-top{ flex-wrap:wrap; }
  .ui-tools{ width:100%; justify-content:flex-end; }
  .chatInput{ flex-direction:column; }
  .chatInput .btn{ width:100%; }
}

/* ---------- Dashboard ---------- */
.dash{ display:grid; gap:12px; }
.dash-kpis{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:12px;
}
.kpi-big{
  margin-top: 10px;
  font-size: 22px;
  font-weight: 900;
  display:flex;
  align-items:center;
  gap:10px;
}
.pulse{
  width:10px; height:10px;
  border-radius:99px;
  background: rgba(122,167,255,.95);
  box-shadow: 0 0 22px rgba(122,167,255,.35);
  position:relative;
}
.pulse::after{
  content:"";
  position:absolute; inset:-9px;
  border-radius:99px;
  border: 1px solid rgba(122,167,255,.22);
  animation: ping 2.2s infinite;
}
@keyframes ping{
  0%{ transform:scale(.5); opacity:0; }
  15%{ opacity:.7; }
  100%{ transform:scale(1.8); opacity:0; }
}
.dash-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.dash-actions{ display:flex; gap:8px; flex-wrap:wrap; }

.chartFake{
  height:180px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(800px 200px at 40% 40%, rgba(122,167,255,.12), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.10));
  position:relative;
  overflow:hidden;
}
.chartLine{
  position:absolute; inset:0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 50px);
  opacity:.40;
}
.chartDots{ position:absolute; left:14px; right:14px; top:22px; bottom:22px; }
.chartDots span{
  position:absolute;
  width:9px; height:9px;
  border-radius:99px;
  background: rgba(255,255,255,.85);
  box-shadow: 0 0 18px rgba(122,167,255,.20);
}
.chartDots span:nth-child(1){left:4%; top:72%}
.chartDots span:nth-child(2){left:18%; top:58%}
.chartDots span:nth-child(3){left:34%; top:66%}
.chartDots span:nth-child(4){left:52%; top:40%}
.chartDots span:nth-child(5){left:72%; top:45%}
.chartDots span:nth-child(6){left:90%; top:32%}

@media (max-width: 980px){
  .dash-kpis{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ---------- Pricing ---------- */
.pricing{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
  align-items:stretch;
}
.price-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.price-card h3{ margin: 0 0 8px; font-size: 16px; letter-spacing: .2px; }
.price-card p{ margin: 0; color: rgba(232,238,252,.86); line-height: 1.6; font-size: 13.5px; }

.price-list{
  margin: 14px 0 0;
  padding: 0;
  list-style:none;
  display:grid;
  gap: 10px;
}
.price-list li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
}
.check{
  width: 18px; height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(122,167,255,.35), rgba(125,255,178,.18));
  border: 1px solid rgba(255,255,255,.10);
  flex: 0 0 auto;
  margin-top: 2px;
  position:relative;
}
.check::after{
  content:"";
  position:absolute;
  left: 5px; top: 3px;
  width: 6px; height: 9px;
  border-right: 2px solid rgba(232,238,252,.9);
  border-bottom: 2px solid rgba(232,238,252,.9);
  transform: rotate(40deg);
}
.quick-links{ margin-top:12px; display:grid; gap:10px; }
.muted-inline{ color: var(--muted); }

@media (max-width: 980px){
  .pricing{ grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
details{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 12px 14px;
}
details + details{ margin-top: 10px; }
summary{
  cursor:pointer;
  list-style:none;
  font-weight: 800;
  color: rgba(232,238,252,.92);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
summary::-webkit-details-marker{ display:none; }
.chev{
  width: 10px; height: 10px;
  border-right: 2px solid rgba(232,238,252,.65);
  border-bottom: 2px solid rgba(232,238,252,.65);
  transform: rotate(-45deg);
  transition: transform .15s ease;
  flex: 0 0 auto;
  margin-top: 2px;
}
details[open] .chev{ transform: rotate(45deg); }
details p{ margin: 10px 0 0; color: rgba(232,238,252,.86); line-height: 1.65; font-size: 13.5px; }

/* ---------- CTA Band ---------- */
.cta-band{
  margin: 24px 0 10px;
  padding: 18px;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 500px at 60% 10%, rgba(122,167,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(7,10,18,.35), rgba(7,10,18,.15));
}
.cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.cta-actions{ display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width: 980px){
  .cta-inner{ flex-direction:column; align-items:flex-start; }
}

/* ---------- Footer ---------- */
footer{
  margin-top: 26px;
  border-top: 1px solid var(--line);
  background: rgba(7,10,18,.35);
}
.footer-inner{
  padding: 18px 0 26px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items:start;
}
.footer-brand{ display:flex; gap: 12px; align-items:flex-start; }
.footer-brand .logo{ width: 34px; height: 34px; }
.footer-brand strong{ display:block; font-size: 14px; letter-spacing: .2px; }
.footer-brand span{ color: var(--muted); font-size: 13px; line-height:1.55; }
.footer-cta{ margin-top:10px; }

.footer-links{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.footer-links a{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(232,238,252,.92);
  text-decoration:none;
  font-weight: 750;
  font-size: 13px;
}
.footer-links a small{ color: var(--muted); font-weight: 650; }

.footer-bottom{
  padding-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  display:flex;
  justify-content:space-between;
  gap: 10px;
  flex-wrap:wrap;
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 14px;
}
.footer-sep{ margin:0 8px; color:rgba(255,255,255,.14); }

@media (max-width: 980px){
  .footer-inner{ grid-template-columns: 1fr; }
}
@media (max-width: 480px){
  .footer-links{ grid-template-columns: 1fr; }
}

/* ---------- Forms (shared) ---------- */
select, input{
  width:100%;
  color: var(--text);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 10px 12px;
  outline: none;
}
select:focus, input:focus{
  border-color: rgba(122,167,255,.55);
  box-shadow: 0 0 0 6px rgba(122,167,255,.10);
}

/* ---------- Reveal ---------- */
.reveal{
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
.reveal.show{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}



.brand.brand-full{
  min-width: 0;
  gap: 0;
}

.brand-full-logo{
  height: 50px;          /* gleiche Höhe wie Topbar-Logo */
  width: auto;
  max-width: 220px;      /* verhindert dass es CTAs wegdrückt */
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}

/* Mobile: etwas kleiner */
@media (max-width: 480px){
  .brand-full-logo{
    height: 50px;
    max-width: 220px;
    margin: 2px 0 0px -20px;
  }
}
