/* ==========================================================================
   ChatMate — design tokens
   ========================================================================== */

:root {
  --bg: #0d0d10;
  --bg-alt: #111115;
  --card: #141418;
  --card-hover: #17171c;
  --muted: #1a1a1f;
  --accent: #1e1e24;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #dcdcdc;
  --text-dim: #8b8b93;
  --text-faint: #55555c;
  --text-strong: #f5f5f5;
  --primary: #e4e4e4;
  --primary-foreground: #0d0d10;
  --danger: #e5484d;
  --success: #4ade80;
  --warning: #eab308;
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="light"] {
  --bg: #f4f4f6;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --card-hover: #fafafb;
  --muted: #eef0f2;
  --accent: #e7e9ec;
  --border: rgba(15, 15, 20, 0.08);
  --border-strong: rgba(15, 15, 20, 0.15);
  --text: #313136;
  --text-dim: #6b6b73;
  --text-faint: #96969e;
  --text-strong: #0a0a0c;
  --primary: #17171a;
  --primary-foreground: #f7f7f8;
  --danger: #dc2626;
  --success: #16a34a;
  --warning: #b45309;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", "Outfit Fallback", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

em {
  font-style: italic;
  font-weight: 500;
}

::selection {
  background: rgba(228, 228, 228, 0.2);
  color: var(--text-strong);
}

/* subtle grain so the flat bg doesn't look dead */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

:root[data-theme="light"] .noise {
  opacity: 0.02;
  mix-blend-mode: multiply;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

/* Author stylesheets override the UA default [hidden]{display:none} regardless of specificity - the
   unconditional `display: inline-flex` above silently defeats el.hidden on any button using .btn
   (confirmed live: #big7SuggestBtn stayed visible in Manueller Modus despite .hidden being true).
   Global fix here since .btn is used everywhere, not a per-page override. */
.btn[hidden] {
  display: none;
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.25);
}

:root:not([data-theme="light"]) .btn-primary:hover {
  box-shadow: 0 10px 30px -8px rgba(255, 255, 255, 0.25);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--text-faint);
  background: rgba(127, 127, 127, 0.08);
}

.btn-ghost {
  background: rgba(127, 127, 127, 0.08);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: rgba(127, 127, 127, 0.14);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(229, 72, 77, 0.5);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 12px;
}

/* ==========================================================================
   Icon button + theme toggle (shared by landing navbar & dashboard topbar)
   ========================================================================== */

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  position: relative;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.icon-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-strong);
  background: rgba(127, 127, 127, 0.08);
}

.icon-btn .dot-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--danger);
  border: 1.5px solid var(--bg-alt);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

:root:not([data-theme="light"]) .theme-toggle .icon-sun {
  display: block;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

/* ==========================================================================
   Reveal-on-scroll (IntersectionObserver toggles .is-visible)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > * {
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

section {
  position: relative;
  padding: 120px 0;
}

@media (max-width: 900px) {
  section {
    padding: 80px 0;
  }
}

.section-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
}

.section-head p {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.35s ease, transform 0.35s var(--ease), background-color 0.35s ease;
}

.card:hover {
  border-color: var(--border-strong);
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.navbar.is-scrolled {
  padding: 14px 0;
  background: rgba(13, 13, 16, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}

:root[data-theme="light"] .navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
}

/* While transparent, the navbar sits directly on the hero video, which
   (like the hero itself) intentionally stays dark-branded in both themes.
   Light theme's own dark text would be unreadable there, so pin this
   unscrolled state to the same light-on-dark palette dark mode uses —
   .is-scrolled gives the navbar its own opaque background and can safely
   follow the site theme again. */
:root[data-theme="light"] .navbar:not(.is-scrolled) {
  --text: #dcdcdc;
  --text-dim: #8b8b93;
  --text-faint: #55555c;
  --text-strong: #f5f5f5;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

:root[data-theme="light"] .navbar:not(.is-scrolled) .logo {
  color: var(--text-strong);
}

:root[data-theme="light"] .navbar:not(.is-scrolled) .logo span {
  color: var(--text-dim);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

.admin-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--danger);
  background: rgba(229, 72, 77, 0.12);
  border: 1px solid rgba(229, 72, 77, 0.3);
  border-radius: 100px;
  padding: 3px 8px;
  flex-shrink: 0;
}

.logo .logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(155deg, #2a2a31, #0e0e11);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

:root[data-theme="light"] .logo .logo-mark {
  background: linear-gradient(155deg, #26262b, #0a0a0c);
}

.logo .logo-mark svg {
  width: 16px;
  height: 16px;
  color: #f2f2f2;
}

.logo span {
  color: var(--text-dim);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.nav-link {
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: var(--text-strong);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--text-strong);
  transition: width 0.3s var(--ease);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-item.dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: color 0.25s ease;
}

.nav-item.dropdown:hover {
  color: var(--text-strong);
}

.nav-item.dropdown svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s var(--ease);
}

.nav-item.dropdown:hover svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: 230px;
  padding: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  transition: background-color 0.2s ease;
}

.dropdown-menu a small {
  color: var(--text-faint);
  font-size: 11.5px;
  font-weight: 400;
}

.dropdown-menu a:hover {
  background: rgba(127, 127, 127, 0.08);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}

.mobile-toggle svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s var(--ease);
  }

  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a,
  .nav-item {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
  }

  .nav-links a:hover,
  .nav-item:hover {
    background: rgba(127, 127, 127, 0.08);
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    transform: none;
    opacity: 1;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0 0 0 10px;
  }

  .nav-item.is-open .dropdown-menu {
    display: flex;
    flex-direction: column;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

/* ==========================================================================
   Hero — intentionally stays dark-branded in both themes (punctuation band)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 140px;
  padding-bottom: 110px;
  overflow: hidden;
  background: #08080a;
}

#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0) contrast(1.05) brightness(0.85);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 30% 100%, rgba(13, 13, 16, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.35) 35%, rgba(8, 8, 10, 0.75) 78%, #08080a 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  background: rgba(20, 20, 24, 0.55);
  backdrop-filter: blur(6px);
  font-size: 12.5px;
  color: #b8b8bf;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.15s forwards;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulseDot 2.2s ease-out infinite;
}

.hero h1 {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.04;
  max-width: 920px;
  color: #f5f5f5;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.3s forwards;
}

.hero-sub {
  margin-top: 26px;
  max-width: 560px;
  font-size: 17px;
  color: #9a9aa1;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.45s forwards;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.6s forwards;
}

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #dcdcdc;
  border-color: rgba(255, 255, 255, 0.07);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  margin-top: 72px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.75s forwards;
}

.hero-stat b {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 12.5px;
  color: #6b6b72;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #55555c;
}

.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, #55555c, transparent);
  position: relative;
  overflow: hidden;
}

.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }
  60% {
    top: 100%;
  }
  100% {
    top: 100%;
  }
}

/* ==========================================================================
   Feature strip (below hero)
   ========================================================================== */

.strip {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 90px 24px;
  position: relative;
  z-index: 2;
  margin-top: -70px;
}

.strip-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.strip-col.right {
  text-align: right;
}

.strip-col.right h4 {
  justify-content: flex-end;
}

.strip-col p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

.strip-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--primary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.strip-icon svg {
  width: 15px;
  height: 15px;
  color: var(--primary-foreground);
}

.strip-cta {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}

.strip-cta h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 16px;
  color: var(--text-strong);
}

.strip-cta p {
  font-size: 13.5px;
  color: var(--text-dim);
}

@media (max-width: 860px) {
  .strip {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding: 60px 24px 20px;
  }
  .strip-col.right {
    text-align: left;
  }
  .strip-col.right h4 {
    justify-content: flex-start;
  }
}

.pulse-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--muted);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pulse-icon svg {
  width: 19px;
  height: 19px;
}


/* ==========================================================================
   Trust section ("Volle Kontrolle & Transparenz")
   ========================================================================== */

.trust {
  padding-top: 0;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 90px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--card);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

.trust-badge svg {
  width: 14px;
  height: 14px;
  color: var(--text);
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-card {
  padding: 26px;
}

.trust-card h4 {
  font-size: 15.5px;
  margin: 4px 0 8px;
}

.trust-card p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .trust-cards {
    grid-template-columns: 1fr;
  }
  .trust-badges {
    margin-bottom: 50px;
  }
}

/* ---- for whom (audience) ---- */

.audience-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.audience-card {
  padding: 26px;
}

.audience-card h4 {
  font-size: 15.5px;
  margin: 4px 0 8px;
}

.audience-card p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .audience-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   Stats band
   ========================================================================== */

.stats-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 8px;
  flex-wrap: wrap;
  text-align: center;
}

.stats-row b {
  display: block;
  font-size: 32px;
  color: var(--text-strong);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stats-row span {
  font-size: 12.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Devices section
   ========================================================================== */

.devices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  margin-bottom: 90px;
}

.device-frame {
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 28px;
}

.device-shell {
  background: linear-gradient(160deg, #1c1c22, #101013);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.device-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent 40%),
    repeating-linear-gradient(100deg, transparent, transparent 22px, rgba(255,255,255,0.025) 22px, rgba(255,255,255,0.025) 23px);
}

.device-shell.phone {
  width: 96px;
  height: 190px;
  border-radius: 20px;
}

.device-shell.desktop {
  width: 240px;
  height: 150px;
  border-radius: 10px;
}

.device-shell.desktop::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 14px;
  background: #101013;
  border: 1px solid var(--border-strong);
  border-top: none;
  border-radius: 0 0 6px 6px;
}

.device-shell.tablet {
  width: 170px;
  height: 190px;
  border-radius: 16px;
}

.device-col h4 {
  font-size: 17px;
  margin-bottom: 10px;
}

.device-col p {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 280px;
  margin: 0 auto;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-cards .card {
  padding: 30px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

.feature-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-cards h4 {
  font-size: 15.5px;
  margin-bottom: 8px;
}

.feature-cards p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* lock/session visual */
.lock-chain {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lock-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--muted);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
}

.lock-node.center {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--text-strong);
}

.lock-node.center svg {
  width: 20px;
  height: 20px;
}

.lock-dash {
  width: 24px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 4px, transparent 4px 8px);
}

/* channel badges (reused export-badges recipe) */
.export-badges {
  display: flex;
  gap: 10px;
}

.export-badges span {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: var(--muted);
  color: var(--text-dim);
}

.export-badges span.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* mini map (repurposed as "always-on" pulse network) */
.mini-map {
  width: 100%;
  height: 110px;
  position: relative;
  border-radius: 8px;
  background-image: radial-gradient(rgba(127, 127, 127, 0.22) 1px, transparent 1.5px);
  background-size: 12px 12px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, #000 55%, transparent 100%);
}

.mini-map-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--text-faint);
}

.mini-map-dot.pulse {
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: mapPulse 2.2s ease-out infinite;
}

@keyframes mapPulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

@media (max-width: 860px) {
  .devices-grid,
  .feature-cards {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Synergy section ("Mensch + KI im Zusammenspiel")
   ========================================================================== */

.synergy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.synergy-grid .card {
  padding: 28px;
  overflow: hidden;
}

.synergy-visual {
  height: 190px;
  border-radius: var(--radius-sm);
  background: var(--muted);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.synergy-grid h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.synergy-grid p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* stacked chat cards mockup */
.stack-cards {
  position: relative;
  width: 200px;
  height: 130px;
}

.stack-card {
  position: absolute;
  width: 200px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-strong);
  box-shadow: 0 12px 24px -10px rgba(0,0,0,0.35);
}

.stack-card:nth-child(1) { top: 40px; transform: rotate(-6deg); opacity: .6; }
.stack-card:nth-child(2) { top: 20px; transform: rotate(-2deg); opacity: .85; }
.stack-card:nth-child(3) { top: 0; transform: rotate(2deg); }

.stack-card .chip {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 5px;
  color: var(--text-faint);
  background: var(--muted);
}

.stack-card.status-ok .chip { color: #2fb56a; background: rgba(74,222,128,0.14); }
.stack-card.status-warn .chip { color: #c9930f; background: rgba(234,179,8,0.16); }

/* pipeline checklist animation */
.pipeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 0 22px;
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-faint);
  opacity: 0.35;
  transition: opacity 0.4s ease, color 0.4s ease;
}

.pipeline-step .check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.pipeline-step .check svg {
  width: 9px;
  height: 9px;
  color: #08080a;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pipeline-step.done {
  opacity: 1;
  color: var(--text);
}

.pipeline-step.done .check {
  background: var(--success);
  border-color: var(--success);
}

.pipeline-step.done .check svg {
  opacity: 1;
}

.pipeline-step.active {
  opacity: 1;
  color: var(--text-strong);
}

.pipeline-step.active .check {
  border-color: var(--warning);
  animation: spinDash 1s linear infinite;
}

@keyframes spinDash {
  0% { box-shadow: 0 0 0 0 rgba(234,179,8,0.4); }
  100% { box-shadow: 0 0 0 6px rgba(234,179,8,0); }
}

/* privacy shield */
.shield-visual {
  position: relative;
  width: 90px;
  height: 90px;
}

.shield-visual svg {
  width: 100%;
  height: 100%;
  color: var(--text);
}

.shield-visual .ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed var(--border-strong);
  animation: spin 22s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

/* ==========================================================================
   Live-Demo section
   ========================================================================== */

.steps-only {
  max-width: 720px;
  margin: 0 auto;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
  flex-shrink: 0;
}

.step-item h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.step-item p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.6;
}


/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial {
  padding: 26px;
}

.testimonial p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

/* Real photo (creators.avatar_url, if uploaded in Einstellungen) sits on top of the initials
   background as a fallback - no page needs to change, an <img> just gets dropped inside .avatar. */
.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-strong);
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-faint);
}

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

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-featured-wrap {
  max-width: 460px;
  margin: 0 auto;
}

.price-card {
  padding: 36px;
}

.price-card.featured {
  background: linear-gradient(180deg, var(--card-hover), var(--card));
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.price-card .plan-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 4px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  margin-bottom: 18px;
}

.price-card h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.price-card > p {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 22px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 26px;
}

.price-amount b {
  font-size: 46px;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.02em;
}

.price-amount span {
  font-size: 13px;
  color: var(--text-faint);
}

.price-card .btn {
  margin-bottom: 26px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.price-features svg {
  width: 15px;
  height: 15px;
  color: var(--text);
  flex-shrink: 0;
}

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 40px auto 0;
}

.pricing-tier {
  padding: 22px;
  text-align: center;
}

.pricing-tier b {
  display: block;
  font-size: 20px;
  color: var(--text-strong);
  font-weight: 600;
  margin-bottom: 4px;
}

.pricing-tier span {
  font-size: 12.5px;
  color: var(--text-faint);
}

.enterprise-banner {
  margin-top: 60px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
}

.enterprise-banner h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.enterprise-banner > div > p {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.enterprise-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 24px;
}

.enterprise-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-dim);
}

.enterprise-features svg {
  width: 14px;
  height: 14px;
  color: var(--text);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .pricing-tiers {
    grid-template-columns: 1fr;
  }
  .enterprise-banner {
    grid-template-columns: 1fr;
  }
  .enterprise-features {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-strong);
  text-align: left;
}

.faq-toggle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--text);
  transition: transform 0.35s var(--ease);
}

.faq-toggle::before {
  width: 10px;
  height: 1px;
}

.faq-toggle::after {
  width: 1px;
  height: 10px;
}

.faq-item.is-open .faq-toggle::after {
  transform: rotate(90deg) scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer p {
  padding: 0 24px 22px;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 620px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border);
  padding-top: 80px;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 60px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-faint);
  max-width: 240px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.footer-social a svg {
  width: 15px;
  height: 15px;
  color: var(--text-dim);
}

.footer-social a:hover {
  border-color: var(--border-strong);
  background: rgba(127, 127, 127, 0.08);
}

.footer-col h5 {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-strong);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text-strong);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-watermark {
  font-size: clamp(80px, 16vw, 220px);
  font-weight: 600;
  letter-spacing: -0.04em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(127, 127, 127, 0.18);
  line-height: 1;
  padding: 10px 0 0;
  user-select: none;
}

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

/* ==========================================================================
   Promo modal
   ========================================================================== */

.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 5, 6, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.promo-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.promo-card {
  width: 100%;
  max-width: 360px;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  position: relative;
  transform: translateY(14px) scale(0.97);
  transition: transform 0.4s var(--ease);
}

.promo-modal.is-open .promo-card {
  transform: translateY(0) scale(1);
}

.promo-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-faint);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.promo-close:hover {
  background: rgba(127, 127, 127, 0.1);
  color: var(--text-strong);
}

.promo-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--muted);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.promo-icon svg {
  width: 24px;
  height: 24px;
}

.promo-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.promo-card p {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 22px;
  line-height: 1.6;
}

.promo-later {
  display: block;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-faint);
}

.promo-later:hover {
  color: var(--text);
}

/* ==========================================================================
   Misc
   ========================================================================== */

.text-center {
  text-align: center;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
  border: 2px solid var(--bg);
}
