/* ================================================
   B21 Solutions — Design System
   Dark-premium, tech-forward aesthetic
   ================================================ */

/* Inter — lokal eingebunden (DSGVO-konform).
   Datei: /assets/fonts/inter.woff2
   Download: https://rsms.me/inter/ */
@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

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

:root {
  --bg:          #0a0a0f;
  --bg2:         #0c0c17;
  --bg3:         #0f0f1e;
  --blue:        #4f6ef7;
  --blue-dim:    rgba(79, 110, 247, 0.12);
  --blue-border: rgba(79, 110, 247, 0.24);
  --purple:      #8b5cf6;
  --green:       #34d399;
  --amber:       #f59e0b;
  --border:      rgba(255, 255, 255, 0.07);
  --border-h:    rgba(255, 255, 255, 0.13);
  --glass:       rgba(255, 255, 255, 0.027);
  --glass-h:     rgba(255, 255, 255, 0.052);
  --text:        #ededf5;
  --muted:       rgba(237, 237, 245, 0.42);
  --dim:         rgba(237, 237, 245, 0.22);
  --font:        'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r:           14px;
  --r-sm:        8px;
  --r-lg:        20px;
}

html { scroll-behavior: auto; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle dot-grid texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

img, svg { display: block; }
a { text-decoration: none; color: inherit; }

/* ── GLASS CARD ─────────────────────────────── */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: #3c5ae5;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(79,110,247,0.38);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--glass-h);
  border-color: var(--border-h);
}

/* ── SECTION FOUNDATIONS ────────────────────── */
section {
  padding: clamp(80px, 11vh, 140px) max(24px, 6vw);
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-heading {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.07;
  color: var(--text);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.67;
  margin-top: 16px;
}

.section-header { margin-bottom: 52px; }


/* ================================================
   NAVIGATION
   ================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 max(24px, 5vw);
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--border);
}

.nav-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.nav-logo {
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  color: var(--blue) !important;
  font-weight: 500 !important;
  padding: 7px 14px;
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  background: var(--blue-dim);
  transition: all 0.2s ease !important;
}
.nav-cta:hover {
  background: rgba(79,110,247,0.2) !important;
  border-color: rgba(79,110,247,0.5) !important;
}

.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
}
.nav-mobile-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu overlay */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px 24px;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
#mobile-menu .close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}


/* ================================================
   HERO
   ================================================ */
#hero {
  min-height: 200vh;
  padding: 0;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Ambient glow behind the 3D */
.hero-ambient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 820px;
  height: 820px;
  background:
    radial-gradient(circle at 55% 50%, rgba(79,110,247,0.11) 0%, transparent 55%),
    radial-gradient(circle at 38% 55%, rgba(139,92,246,0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  left: max(44px, 8vw);
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: min(560px, 43vw);
  z-index: 10;
  opacity: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  padding: 5px 12px;
  border-radius: 4px;
  width: fit-content;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  color: var(--text);
}

.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #4f6ef7 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: clamp(0.94rem, 1.35vw, 1.06rem);
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 400px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--dim) 0%, transparent 100%);
  animation: scrollPulse 2.6s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { opacity: 0; transform: scaleY(0.1); transform-origin: top; }
  35%  { opacity: 1; transform: scaleY(1);   transform-origin: top; }
  75%  { opacity: 0; transform: scaleY(1);   transform-origin: top; }
  100% { opacity: 0; transform: scaleY(0.1); transform-origin: top; }
}


/* ================================================
   TICKER
   ================================================ */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  background: var(--bg2);
  cursor: default;
  user-select: none;
  position: relative;
  z-index: 1;
}

.ticker-inner {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: tickerRoll 30s linear infinite;
}
.ticker-wrap:hover .ticker-inner {
  animation-play-state: paused;
}

.ticker-item {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 44px;
  flex-shrink: 0;
}

.ticker-dot {
  color: var(--blue);
  margin: 0 6px;
}

@keyframes tickerRoll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ================================================
   ÜBER / ABOUT
   ================================================ */
#ueber { background: var(--bg2); }

.ueber-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 64px;
}

.ueber-year {
  font-size: clamp(5rem, 10vw, 9.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(79,110,247,0.32);
  pointer-events: none;
  user-select: none;
}

.ueber-text { padding-top: 10px; }

.ueber-text p {
  font-size: 1.04rem;
  line-height: 1.74;
  color: var(--muted);
  max-width: 520px;
  margin-top: 14px;
}

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

.stat-card {
  padding: 28px 24px;
  transition: border-color 0.25s, background 0.25s;
}
.stat-card:hover {
  border-color: var(--blue-border);
  background: var(--glass-h);
}

.stat-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.stat-sub {
  font-size: 0.81rem;
  color: var(--muted);
  line-height: 1.45;
}


/* ================================================
   PROJEKTE — BENTO GRID
   ================================================ */
#projekte { background: var(--bg); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 268px 220px 220px;
  gap: 14px;
  margin-top: 52px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 26px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--glass);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(79,110,247,0.04) 0%, transparent 60%);
  transition: opacity 0.35s;
  opacity: 0;
  z-index: 0;
}

.bento-card:hover {
  border-color: rgba(79,110,247,0.28);
  box-shadow: 0 0 0 1px rgba(79,110,247,0.05), 0 12px 40px rgba(79,110,247,0.09);
  background: var(--glass-h);
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover .card-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* Grid placement */
.card-smartqr { grid-column: 1 / 8;  grid-row: 1 / 3; }
.card-b        { grid-column: 8 / 13; grid-row: 1; }
.card-c        { grid-column: 8 / 13; grid-row: 2; }
.card-d        { grid-column: 1 / 6;  grid-row: 3; }
.card-e        { grid-column: 6 / 13; grid-row: 3; }

/* Status badges */
.card-status {
  position: absolute;
  top: 22px;
  left: 26px;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}
.card-status.live    { color: var(--green); background: rgba(52,211,153,0.09); border: 1px solid rgba(52,211,153,0.2); }
.card-status.dev     { color: var(--amber); background: rgba(245,158,11,0.09); border: 1px solid rgba(245,158,11,0.2); }
.card-status.concept { color: var(--muted); background: rgba(255,255,255,0.04); border: 1px solid var(--border); }

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

.card-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  line-height: 1.15;
}
.card-smartqr .card-title {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  margin-bottom: 10px;
}

.card-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.52;
  margin-bottom: 14px;
  max-width: 360px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  color: rgba(79,110,247,0.9);
}

.card-arrow {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 0.9rem;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: all 0.25s ease;
  z-index: 3;
}


/* ================================================
   TECH STACK
   ================================================ */
#stack { background: var(--bg2); }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px;
  margin-top: 52px;
}

.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 14px 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all 0.25s ease;
  cursor: default;
}
.stack-item:hover {
  background: var(--glass-h);
  border-color: var(--blue-border);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(79,110,247,0.1);
}

.stack-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue);
}

.stack-item span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
}


/* ================================================
   TEAM
   ================================================ */
#team { background: var(--bg); }

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 52px;
}

.team-card {
  display: flex;
  gap: 28px;
  padding: 32px 34px;
  max-width: 520px;
  transition: border-color 0.3s, background 0.3s;
}
.team-card:hover {
  border-color: var(--blue-border);
  background: var(--glass-h);
}

.team-avatar {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.team-info h3 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 14px;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 18px;
  max-width: 290px;
}

.team-social {
  display: flex;
  gap: 8px;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--glass);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all 0.2s;
}
.social-link:hover {
  background: var(--blue-dim);
  border-color: var(--blue-border);
  color: var(--blue);
}


/* ================================================
   KONTAKT
   ================================================ */
#kontakt { background: var(--bg2); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  transition: all 0.25s ease;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
}
.contact-card:hover {
  background: var(--glass-h);
  border-color: var(--blue-border);
  transform: translateX(4px);
}
.contact-card.no-link { cursor: default; }
.contact-card.no-link:hover { transform: none; }

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  display: grid;
  place-items: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
}

.contact-label {
  flex: 1;
  font-size: 0.94rem;
  font-weight: 450;
}

.contact-arrow {
  color: var(--muted);
  font-size: 1rem;
  transition: all 0.2s;
}
.contact-card:hover .contact-arrow {
  transform: translateX(4px);
  color: var(--blue);
}


/* ================================================
   FOOTER
   ================================================ */
footer {
  padding: 28px max(24px, 6vw);
  border-top: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner > span {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }


/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .ueber-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ueber-year {
    font-size: clamp(4rem, 12vw, 6rem);
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }
  .card-smartqr { grid-column: 1 / 3; grid-row: auto; min-height: 280px; }
  .card-b        { grid-column: 1;     grid-row: auto; min-height: 200px; }
  .card-c        { grid-column: 2;     grid-row: auto; min-height: 200px; }
  .card-d        { grid-column: 1;     grid-row: auto; min-height: 200px; }
  .card-e        { grid-column: 2;     grid-row: auto; min-height: 200px; }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 640px) {
  #hero { min-height: 100vh; }
  .hero-content {
    left: 24px;
    right: 24px;
    max-width: none;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-scroll-hint { display: none; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .card-smartqr,
  .card-b, .card-c,
  .card-d, .card-e {
    grid-column: 1;
    grid-row: auto;
    min-height: 200px;
  }
  .team-card { flex-direction: column; }
  .ueber-layout { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-inner { animation: none; }
  .scroll-line  { animation: none; }
}

/* ================================================
   SCROLL REVEAL
   ================================================ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

[data-reveal].is-visible {
  animation: fadeSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-stagger].is-visible > *:nth-child(1) { animation: fadeSlideUp 0.65s 0.04s cubic-bezier(0.16,1,0.3,1) both; }
[data-stagger].is-visible > *:nth-child(2) { animation: fadeSlideUp 0.65s 0.14s cubic-bezier(0.16,1,0.3,1) both; }
[data-stagger].is-visible > *:nth-child(3) { animation: fadeSlideUp 0.65s 0.24s cubic-bezier(0.16,1,0.3,1) both; }
[data-stagger].is-visible > *:nth-child(4) { animation: fadeSlideUp 0.65s 0.34s cubic-bezier(0.16,1,0.3,1) both; }
[data-stagger].is-visible > *:nth-child(5) { animation: fadeSlideUp 0.65s 0.44s cubic-bezier(0.16,1,0.3,1) both; }
[data-stagger].is-visible > *:nth-child(6) { animation: fadeSlideUp 0.65s 0.54s cubic-bezier(0.16,1,0.3,1) both; }
[data-stagger].is-visible > *:nth-child(7) { animation: fadeSlideUp 0.65s 0.64s cubic-bezier(0.16,1,0.3,1) both; }
[data-stagger].is-visible > *:nth-child(8) { animation: fadeSlideUp 0.65s 0.74s cubic-bezier(0.16,1,0.3,1) both; }

.bento-card.is-visible { animation: fadeSlideUp 0.6s cubic-bezier(0.16,1,0.3,1) both; }
.bento-card:nth-child(1).is-visible { animation-delay: 0.00s; }
.bento-card:nth-child(2).is-visible { animation-delay: 0.08s; }
.bento-card:nth-child(3).is-visible { animation-delay: 0.16s; }
.bento-card:nth-child(4).is-visible { animation-delay: 0.24s; }
.bento-card:nth-child(5).is-visible { animation-delay: 0.32s; }

.stack-item.is-visible { animation: fadeSlideUp 0.5s cubic-bezier(0.16,1,0.3,1) both; }

.contact-right .contact-card.is-visible {
  animation: fadeSlideLeft 0.55s cubic-bezier(0.16,1,0.3,1) both;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal].is-visible,
  [data-stagger].is-visible > *,
  .bento-card.is-visible,
  .stack-item.is-visible { animation: none !important; }
}
