/* ═══════════════════════════════════════════════════
   STAY Solutions — Global Stylesheet
   Enthält alle gemeinsamen Styles für alle Seiten.
   Seitenspezifische Styles bleiben im <style>-Tag
   der jeweiligen HTML-Datei.
   ═══════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── DESIGN TOKENS ── */
:root {
  --bg:      #0f1114;
  --accent:  #3d7eea;
  --accent2: #3d7eea;
  --grad:    linear-gradient(135deg, #3d7eea, #5a9bff);
  --text:    #eceef2;
  --text2:   #9aa3ad;
  --text3:   #5c6570;
  --surface: rgba(255,255,255,0.035);
  --border:  rgba(255,255,255,0.1);
  --glow:    0 4px 24px rgba(61,126,234,0.12);
  --container-px: 24px;
  --container-max: 1160px;
}

/* ── BASIS ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

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

/* ── LAYOUT SAFETY (no horizontal overflow) ── */
html, body { width: 100%; max-width: 100%; }
img, svg, video, canvas { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
input, textarea, select, button { max-width: 100%; }

/* Flex/Grid children may overflow unless allowed to shrink */
.navbar,
.container,
.page-layout,
.footer-grid,
.footer-bottom,
.hero-content,
.hero-inner,
.hero-ctas,
.cta-chips,
.product-cta,
.product-inner,
.two-col,
.split-grid,
.ueber-grid,
.values-grid,
.stats-grid,
.timeline,
.feature-list,
.feature-item,
.feature-row,
.stack-chips { min-width: 0; }

/* Prevent long text/URLs from pushing layout wider */
h1, h2, h3, h4, h5, h6,
p, a, li, span, small, strong,
.section-sub,
.hero-sub,
.product-desc,
.feature-desc,
.footer-tagline,
.ci-value,
.ci-value-sub { overflow-wrap: anywhere; word-break: break-word; }

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

/* ── ANIMATIONEN ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SCROLL-ANIMATION UTILITIES ── */
.animate-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--delay, 0ms);
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--delay, 0ms);
}
.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--delay, 0ms);
}
.slide-in-left.visible,
.slide-in-right.visible { opacity: 1; transform: translateX(0); }

.scale-in {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.scale-in.visible { opacity: 1; transform: scale(1); }

/* ── NAVBAR (transparent premium overlay) ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 72px;
  height: auto;
  padding: calc(18px + env(safe-area-inset-top, 0px)) var(--container-px) 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 10000;
  transition: background 260ms ease, backdrop-filter 260ms ease, -webkit-backdrop-filter 260ms ease;
}
.navbar.scrolled {
  background: rgba(10,12,20,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.nav-logo img {
  display: block;
  width: auto;
  height: 28px;
}
.nav-logo-text {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(2.5rem, 5vw, 3rem);
}
.nav-links a {
  position: relative;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  transition: opacity 200ms ease;
}
.nav-links a:hover { opacity: 0.78; }
.nav-links a.active { opacity: 1; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.85;
}

.nav-cta {
  position: relative;
  justify-self: end;
  padding: 0 0 5px;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.nav-cta::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}
.nav-cta:hover::after,
.nav-cta.active::after {
  transform: scaleX(1);
}

/* Mobile: Raketen-Kontakt links neben Hamburger (nur ≤640px sichtbar) */
@keyframes navRocketLaunch {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
  10%  { transform: translate(-1px, 1px) rotate(-7deg) scale(.96); opacity: 1; }
  20%  { transform: translate(1px, 2px) rotate(6deg) scale(.92); opacity: 1; }
  30%  { transform: translate(0, 3px) rotate(-10deg) scale(.88); opacity: 1; }
  42%  { transform: translate(6px, -5px) rotate(14deg) scale(1.02); opacity: 1; }
  55%  { transform: translate(24px, -24px) rotate(34deg) scale(1.1); opacity: 1; }
  62%  { transform: translate(34px, -34px) rotate(42deg) scale(1.04); opacity: 0; }
  63%  { transform: translate(-28px, 28px) rotate(-24deg) scale(.72); opacity: 0; }
  74%  { transform: translate(-12px, 10px) rotate(-12deg) scale(.9); opacity: .9; }
  84%  { transform: translate(3px, -3px) rotate(8deg) scale(1.06); opacity: 1; }
  93%  { transform: translate(-1px, 1px) rotate(-3deg) scale(.98); opacity: 1; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
}

@keyframes navRocketGlow {
  0%   { box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 0 rgba(61,126,234,0); }
  32%  { box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 2px rgba(61,126,234,0.18), 0 8px 24px rgba(61,126,234,0.32); }
  58%  { box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 0 0 7px rgba(61,126,234,0), 0 10px 28px rgba(61,126,234,0.26); }
  100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 0 rgba(61,126,234,0); }
}

@keyframes navRocketTrail {
  0%   { transform: translate(7px, -7px) scale(.2) rotate(-20deg); opacity: 0; }
  28%  { transform: translate(1px, 1px) scale(.62) rotate(-8deg); opacity: .72; }
  54%  { transform: translate(-7px, 9px) scale(1.05) rotate(4deg); opacity: .5; }
  76%  { transform: translate(-14px, 17px) scale(1.35) rotate(10deg); opacity: 0; }
  100% { transform: translate(-14px, 17px) scale(1.35) rotate(10deg); opacity: 0; }
}

.nav-mobile-end {
  display: none;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-rocket {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(61, 126, 234, 0.12);
  border: 1px solid rgba(61, 126, 234, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.nav-rocket:hover {
  background: rgba(61, 126, 234, 0.2);
  border-color: rgba(61, 126, 234, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 4px 16px rgba(61, 126, 234, 0.22);
}
.nav-rocket:active:not(.is-launching) {
  opacity: 0.92;
}
.nav-rocket::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,206,120,0.95) 0%, rgba(255,140,40,0.6) 45%, rgba(255,60,20,0) 75%);
  filter: blur(1px);
  opacity: 0;
  pointer-events: none;
}
.nav-rocket.is-launching {
  animation: navRocketGlow 1.08s cubic-bezier(.16,1,.3,1) both;
}
.nav-rocket.is-launching img {
  animation: navRocketLaunch 1.08s cubic-bezier(.2,.9,.18,1) both;
}
.nav-rocket.is-launching::after {
  animation: navRocketTrail .62s cubic-bezier(.16,1,.3,1) both;
  animation-delay: .28s;
}
@media (prefers-reduced-motion: reduce) {
  .nav-rocket.is-launching,
  .nav-rocket.is-launching img,
  .nav-rocket.is-launching::after {
    animation: none;
  }
}
.nav-rocket img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: none;
  will-change: transform, opacity;
}

button.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  margin: 0;
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.88);
  border-radius: 1px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease;
  transform-origin: center;
}
.hamburger.is-open {
  transform: rotate(90deg);
}
.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.4s ease;
}
.mobile-menu.open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,6,8,0.55);
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.32s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu.open .mobile-menu-backdrop {
  opacity: 1;
}

/* Panel klappt direkt aus der Navbar heraus: gleiche Breite, gleicher Stil */
.mobile-menu-panel {
  position: absolute;
  top: calc(64px + env(safe-area-inset-top, 0px));
  left: 50%;
  width: min(820px, calc(100% - 2 * var(--container-px)));
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.05) 100%),
    rgba(20,22,28,0.6);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 26px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -1px 0 rgba(0,0,0,0.28),
    0 22px 50px rgba(0,0,0,0.5),
    0 4px 14px rgba(0,0,0,0.28);
  transform-origin: top center;
  transform: translateX(-50%) translateY(-6px) scaleY(0.6);
  opacity: 0;
  transition:
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease;
}
.mobile-menu.open .mobile-menu-panel {
  transform: translateX(-50%) translateY(0) scaleY(1);
  opacity: 1;
}

.mobile-menu-panel a {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.24s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.mobile-menu.open .mobile-menu-panel a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open .mobile-menu-panel a:nth-child(1) { transition-delay: 0.10s, 0.10s, 0s, 0s, 0s; }
.mobile-menu.open .mobile-menu-panel a:nth-child(2) { transition-delay: 0.14s, 0.14s, 0s, 0s, 0s; }
.mobile-menu.open .mobile-menu-panel a:nth-child(3) { transition-delay: 0.18s, 0.18s, 0s, 0s, 0s; }
.mobile-menu.open .mobile-menu-panel a:nth-child(4) { transition-delay: 0.22s, 0.22s, 0s, 0s, 0s; }
.mobile-menu.open .mobile-menu-panel a:nth-child(5) { transition-delay: 0.26s, 0.26s, 0s, 0s, 0s; }

.mobile-menu-panel a:hover,
.mobile-menu-panel a:focus-visible {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  outline: none;
}

/* ── HERO HINTERGRUND ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.hero-dot-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='1' cy='1' r='0.75' fill='%23ffffff' fill-opacity='0.025'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}

/* ── HERO OVERLINE ── */
.hero-overline {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  animation: fadeInUp 0.6s ease both 0.1s;
}

/* ── AKZENT-TEXT (ohne Verlauf) ── */
.grad-word {
  color: var(--accent);
}

/* ── SECTION TYPOGRAFIE ── */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.65;
  max-width: 560px;
}
.section-sub.center { margin: 0 auto; }

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

/* ── BUTTONS (Pill-Shape, ohne Liquid Glass) ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  background: #5294f5;
  transform: translateY(-1px);
  box-shadow: var(--glow);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

.btn-outline {
  display: inline-block;
  padding: 11px 24px;
  border: 1px solid rgba(61,126,234,0.45);
  border-radius: 999px;
  font-size: 14px;
  color: var(--accent);
  transition: background 200ms ease, border-color 200ms ease;
  margin-top: 28px;
}
.btn-outline:hover {
  background: rgba(61,126,234,0.08);
  border-color: var(--accent);
}

/* ── CTA BANNER ── */
.cta-banner {
  padding: 96px 0;
  text-align: center;
  position: relative;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cta-chips {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0 36px;
}
.cta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text2);
}
.cta-chip svg { color: var(--accent); flex-shrink: 0; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 12px;
}
.footer-logo img {
  display: block;
  width: auto;
  height: 28px;
  object-fit: contain;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 220px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 2.2;
  transition: color 150ms;
}
.footer-links a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 24px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a {
  color: rgba(255,255,255,0.3);
  transition: color 150ms;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-cookie-btn {
  appearance: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: rgba(255,255,255,0.3);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 150ms;
}
.footer-cookie-btn:hover {
  color: rgba(255,255,255,0.7);
}

/* ── GLOBAL SCROLL-TO-TOP BUTTON ── */
.scroll-top-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(12,12,22,0.55);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 300ms,
    transform 300ms cubic-bezier(0.16,1,0.3,1);
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top-btn:hover {
  background: rgba(12,12,22,0.75);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-3px);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transition: all 200ms cubic-bezier(0.34,1.56,0.64,1);
}
.scroll-top-btn:active {
  transform: translateY(0) scale(0.95);
  transition: transform 100ms;
}
.scroll-top-btn svg {
  transition: stroke 200ms;
}
.scroll-top-btn:hover svg {
  stroke: rgba(255,255,255,1);
}

/* ── COOKIE CONSENT ── */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 9997;
  width: min(780px, calc(100vw - 40px));
  max-height: 90svh;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  overflow: hidden;
  font-family: inherit;
  background: rgba(12,12,22,0.60);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  box-shadow:
    0 8px 40px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
  transition:
    opacity 500ms cubic-bezier(0.16,1,0.3,1),
    transform 500ms cubic-bezier(0.16,1,0.3,1),
    width 400ms ease,
    max-height 400ms ease,
    padding 400ms ease;
}
.cookie-consent.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.cookie-consent.expanded {
  width: min(560px, calc(100vw - 40px));
  max-height: 480px;
  padding: 28px;
  display: block;
}
.cookie-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  opacity: 1;
  transform: scale(1);
  transition: opacity 220ms ease, transform 220ms ease;
}
.cookie-consent.expanded .cookie-compact {
  position: absolute;
  inset: 28px;
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
}
.cookie-settings {
  display: none;
  width: 100%;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
}
.cookie-consent.expanded .cookie-settings {
  display: block;
  opacity: 1;
  transform: scale(1);
}
.cookie-copy {
  flex: 1;
  min-width: 240px;
}
.cookie-title {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.cookie-text {
  max-width: 440px;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.4);
}
.cookie-text a,
.cookie-settings-link {
  font-size: 12px;
  color: #4F8EF7;
  text-decoration: none;
}
.cookie-text a:hover { text-decoration: underline; }
.cookie-actions,
.cookie-settings-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  appearance: none;
  border-radius: 99px;
  padding: 8px 18px;
  font-family: inherit;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all 180ms;
}
.cookie-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
}
.cookie-btn.primary {
  padding: 8px 20px;
  font-weight: 500;
  color: #4F8EF7;
  background: rgba(79,142,247,0.15);
  border-color: rgba(79,142,247,0.35);
}
.cookie-btn.primary:hover {
  background: rgba(79,142,247,0.25);
  border-color: rgba(79,142,247,0.6);
  color: #4F8EF7;
}
.cookie-settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-settings-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.cookie-close {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.cookie-close svg {
  stroke: rgba(255,255,255,0.4);
  transition: stroke 180ms;
}
.cookie-close:hover svg { stroke: rgba(255,255,255,0.8); }
.cookie-settings-sub {
  margin: 8px 0 24px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
}
.cookie-row {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.cookie-row-main {
  flex: 1;
}
.cookie-row-name {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.cookie-row-desc {
  max-width: 380px;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.38);
}
.cookie-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-always {
  font-size: 11px;
  font-weight: 500;
  color: #22c55e;
  white-space: nowrap;
}
.cookie-switch {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 250ms;
}
.cookie-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: translateX(3px);
  transition:
    transform 250ms cubic-bezier(0.34,1.56,0.64,1),
    background 250ms,
    box-shadow 250ms;
}
.cookie-switch input:checked + .cookie-slider {
  background: rgba(79,142,247,0.3);
  border-color: rgba(79,142,247,0.5);
}
.cookie-switch input:checked + .cookie-slider::after {
  background: #4F8EF7;
  transform: translateX(21px);
  box-shadow: 0 0 8px rgba(79,142,247,0.4);
}
.cookie-switch.locked {
  cursor: not-allowed;
  opacity: 0.7;
}
.cookie-switch.locked .cookie-slider {
  background: rgba(34,197,94,0.2);
  border-color: rgba(34,197,94,0.3);
}
.cookie-switch.locked .cookie-slider::after {
  background: #22c55e;
  transform: translateX(21px);
}
.cookie-settings-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cookie-settings-link {
  color: rgba(255,255,255,0.3);
  transition: color 180ms;
}
.cookie-settings-link:hover {
  color: rgba(255,255,255,0.6);
}
.cookie-settings-footer .cookie-btn {
  padding: 9px 20px;
}
/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --container-px: 16px; }
  html { scroll-padding-top: 88px; }
  .navbar {
    min-height: 64px;
    padding: calc(14px + env(safe-area-inset-top, 0px)) var(--container-px) 14px;
    grid-template-columns: 1fr auto;
  }
  .mobile-menu-panel { top: 64px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-end { display: flex; }
  .nav-rocket { display: flex; }
  button.hamburger {
    display: flex;
    min-width: 40px;
    min-height: 40px;
    border-radius: 0;
    background: transparent;
    border: 0;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-chips {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .scroll-top-btn {
    right: 16px;
    bottom: 20px;
    width: 44px;
    height: 44px;
  }
  .cookie-consent {
    width: calc(100vw - 40px);
    bottom: 20px;
  }
  .cookie-consent.expanded {
    max-height: 90svh;
    overflow-y: auto;
    scrollbar-width: none;
  }
  .cookie-consent.expanded::-webkit-scrollbar {
    display: none;
  }
  .cookie-compact {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-actions {
    width: 100%;
    flex-direction: row;
  }
  .cookie-actions .cookie-btn {
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
  }
  .cookie-settings-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .cookie-settings-actions {
    width: 100%;
  }
  .cookie-settings-actions .cookie-btn {
    flex: 1;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 380px) {
  :root { --container-px: 14px; }
  .navbar { padding: calc(12px + env(safe-area-inset-top, 0px)) var(--container-px) 12px; }
  .mobile-menu-panel { top: 60px; }
  .btn-primary,
  .btn-secondary { padding: 12px 20px; font-size: 15px; border-radius: 999px; }
  .btn-outline { padding: 10px 18px; font-size: 13px; }
}
