/* ==========================================================================
   1Timeline — Landing (redesign)
   Bold type, dark cold surface, Mac mockups, product photography.
   Tokens align with AppTheme brand blues/teals.
   ========================================================================== */

:root {
  --bg: #07080c;
  --bg-2: #0c0e14;
  --surface: #12151d;
  --surface-2: #181c27;
  --surface-3: #1e2432;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #f4f6fb;
  --text-muted: #9aa3b5;
  --text-dim: #7b8499;

  --brand: #3d82ff;
  --brand-2: #12b3a0;
  --brand-soft: rgba(61, 130, 255, 0.16);
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;

  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.55s;

  --content: 1180px;
  --nav-h: 68px;
  --font: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

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

code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: #c7d2fe;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1em 0.4em;
  border-radius: 6px;
}

::selection {
  background: rgba(61, 130, 255, 0.35);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 8px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(100% - 2.5rem, var(--content));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 10px;
  font-weight: 600;
}
.skip-link:focus {
  top: 1rem;
}

/* -------------------------------------------------------------------------- */
/* Nav                                                                        */
/* -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-inline: max(1.25rem, calc((100% - var(--content)) / 2));
  background: rgba(7, 8, 12, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.is-scrolled,
body.nav-open .nav {
  border-bottom-color: var(--line);
  background: rgba(7, 8, 12, 0.9);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.nav-brand img {
  border-radius: 9px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.nav-links a {
  padding: 0.5rem 0.8rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  display: none;
  margin-left: 0.5rem;
  align-items: center;
  line-height: 0;
  transition: transform 0.15s var(--ease), filter 0.15s;
}
.nav-cta img {
  height: 36px;
  width: auto;
}
.nav-cta:hover { filter: brightness(1.06); }
.nav-cta:active { transform: scale(0.98); }

.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
body.nav-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}
body.nav-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem;
  background: rgba(7, 8, 12, 0.96);
  backdrop-filter: blur(16px);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
body.nav-open .nav-overlay {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.nav-overlay a {
  padding: 1rem 0.25rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line);
}
.nav-overlay__store {
  margin-top: 1rem;
  border-bottom: 0 !important;
  padding: 0.5rem 0 !important;
  line-height: 0;
}
.nav-overlay__store img {
  height: 40px;
  width: auto;
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-overlay { display: none; }
}

/* -------------------------------------------------------------------------- */
/* Typography                                                                 */
/* -------------------------------------------------------------------------- */

.display {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}
.display em {
  font-style: normal;
  background: linear-gradient(120deg, #7eb0ff 10%, #3d82ff 45%, #12b3a0 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.display--sm {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.lead {
  margin-top: 1.15rem;
  max-width: 38rem;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.section-head {
  margin-bottom: 2.75rem;
  max-width: 44rem;
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 2.5rem) 0 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.hero-bg__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(61, 130, 255, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.55) 0%, rgba(7, 8, 12, 0.88) 55%, var(--bg) 100%);
}

/* Merge-Animation oben, Hero-Text darunter: eine zentrierte Spalte
   statt der früheren Zwei-Spalten-Aufteilung mit Mockup. */
.hero-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.85rem 0.4rem 0.55rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hero-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  max-width: 1040px;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  text-align: center;
}
.hero-line {
  display: block;
}
.hero-line--accent {
  background: linear-gradient(110deg, #8ec0ff, #3d82ff 40%, #12b3a0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 1.35rem;
  max-width: 32rem;
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.55;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--r-full);
  font-weight: 700;
  transition: transform 0.15s var(--ease), filter 0.15s, background 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn--store {
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.btn--store img {
  height: 44px;
  width: auto;
}
.btn--ghost {
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.95rem;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero-stats li {
  display: grid;
  gap: 0.15rem;
}
.hero-stats strong {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-stats span {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Hero visual + floating chips */
.hero-visual {
  position: relative;
}
.hero-float {
  position: absolute;
  inset: auto 0 -0.5rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  pointer-events: none;
}
@media (min-width: 980px) {
  .hero-float {
    right: -0.5rem;
    bottom: 12%;
  }
}
.float-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line-strong);
  background: rgba(18, 21, 29, 0.88);
  backdrop-filter: blur(12px);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.float-chip--ok { color: var(--ok); }
.float-chip--lock { color: #93c5fd; }

/* -------------------------------------------------------------------------- */
/* Mac window chrome                                                          */
/* -------------------------------------------------------------------------- */

.mac {
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #1a1f2b, #12151c);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 40px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.mac--hero {
  transform: perspective(1200px) rotateY(-4deg) rotateX(3deg);
  transition: transform 0.5s var(--ease);
}
@media (hover: hover) {
  .mac--hero:hover {
    transform: perspective(1200px) rotateY(-1deg) rotateX(1deg);
  }
}
@media (max-width: 979px) {
  .mac--hero { transform: none; }
}

.mac__chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}

.traffic {
  display: flex;
  gap: 6px;
}
.traffic i,
.traffic span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
  background: #ff5f57;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.2);
}
.traffic i:nth-child(2),
.traffic span:nth-child(2) { background: #febc2e; }
.traffic i:nth-child(3),
.traffic span:nth-child(3) { background: #28c840; }

.mac__title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}
.mac__chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ok);
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-full);
  background: rgba(52, 211, 153, 0.12);
}
.mac__tools {
  display: flex;
  gap: 0.4rem;
}
.tool {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.tool--icon {
  width: 28px;
  padding: 0;
  display: grid;
  place-items: center;
}

.mac__tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.55rem 0.75rem 0;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.15);
}
.mac__tabs span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px 10px 0 0;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 600;
}
.mac__tabs span small {
  display: none;
  font-weight: 500;
  color: var(--text-dim);
}
.mac__tabs .is-on {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-bottom-color: transparent;
}
@media (min-width: 700px) {
  .mac__tabs span small { display: inline; margin-left: 0.2rem; }
}

.mac__body {
  padding: 1.25rem;
}
.mac__body--split {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .mac__body--split {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Home-Dashboard wie in der App */
.mac__body--home {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.15rem 1.35rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(61, 130, 255, 0.08), transparent 55%);
}

.home-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.5rem 1.25rem 1.35rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(61, 130, 255, 0.14), transparent 60%),
    rgba(255, 255, 255, 0.03);
}

.home-hero__glyph {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 0.55rem;
}
.home-hero__glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(61, 130, 255, 0.22), rgba(18, 179, 160, 0.14));
}
.home-hero__core {
  position: absolute;
  inset: 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(61, 130, 255, 0.35);
}
.home-hero__glyph.is-busy .home-hero__core {
  animation: spin 0.9s linear infinite;
}
.home-hero__glyph.is-busy .home-hero__core svg {
  opacity: 0.35;
}

.home-hero__title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.home-hero__detail {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.app-btn--hero {
  width: min(100%, 340px);
  min-height: 56px;
  border-radius: 16px;
  font-size: 1.02rem;
  box-shadow: 0 14px 36px rgba(61, 130, 255, 0.38);
  margin-top: 0.15rem;
}

.activity__list--inline {
  margin-top: 0.85rem;
  width: min(100%, 360px);
  max-height: 72px;
  text-align: left;
}

.home-panels {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 780px) {
  .home-panels {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.home-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  min-height: 100%;
}
.home-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.home-panel__head .mock-label {
  margin-bottom: 0;
}
.home-panel__chip {
  padding: 0.28rem 0.65rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.home-browser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.home-browser-grid .mock-browser {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  min-height: 100%;
}
.home-browser-grid .mock-browser .status-pill {
  margin-left: 0;
}
.home-browser-grid .mock-browser__meta b {
  font-size: 0.86rem;
}
.home-browser-grid .mock-browser__meta small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mock-browser--add {
  border-style: dashed;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: default;
}
.mock-browser__tile--dash {
  border-style: dashed;
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.home-panel--iphone {
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 0.55rem;
}
.home-panel--iphone .home-panel__head {
  width: 100%;
  justify-content: flex-start;
}

.iphone-mock {
  padding: 0.35rem 0 0.15rem;
}
.iphone-mock__frame {
  position: relative;
  width: 78px;
  height: 148px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1.2px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.iphone-mock__island {
  position: absolute;
  top: 10px;
  width: 28px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.iphone-mock__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.16);
  color: var(--ok);
}
.iphone-mock__cap {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.iphone-mock__title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.iphone-mock__detail {
  max-width: 16rem;
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.4;
}
.iphone-mock__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.9rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.mac__cap {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.45;
}
.mac__cap strong {
  color: var(--text-muted);
  font-weight: 700;
}

/* Mock hero (small) */
.mock-hero {
  text-align: center;
  padding: 1.5rem 1rem 1.25rem;
}
.mock-hero__orb {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
}
.mock-hero__orb .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(61, 130, 255, 0.35);
  animation: pulse-ring 2.8s var(--ease) infinite;
}
.mock-hero__orb .ring--2 {
  inset: -10px;
  border-color: rgba(18, 179, 160, 0.25);
  animation-delay: 0.4s;
}
.orb-icon {
  position: absolute;
  inset: 14px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, #2a3348, #171b26);
  border: 1px solid var(--line-strong);
  color: #9ec0ff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.mock-hero__title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.mock-hero__sub {
  margin-top: 0.3rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.mock-hero__browsers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.65rem;
}
.mock-hero__browsers img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: contain;
  vertical-align: middle;
}
.mock-hero__btn {
  margin: 1.15rem auto 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 30px rgba(61, 130, 255, 0.28);
}
.mock-hero__row {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.mock-hero__row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}
.mock-hero__row span img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: contain;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.06); opacity: 1; }
}

/* Interactive mock */
.mock-card {
  text-align: center;
  padding: 0.5rem 0.25rem 0.25rem;
}
.mock-kicker {
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.mock-glyph {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 0.85rem;
}
.mock-glyph__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(61, 130, 255, 0.3);
}
.mock-glyph__ring--2 {
  inset: -8px;
  border-color: rgba(18, 179, 160, 0.2);
}
.mock-glyph__tile {
  position: absolute;
  inset: 12px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, #273149, #151922);
  border: 1px solid var(--line-strong);
  color: #9ec0ff;
}
.mock-glyph.is-busy .mock-glyph__tile {
  animation: spin 0.9s linear infinite;
}
.mock-glyph.is-busy .mock-glyph__ring {
  animation: pulse-ring 1s ease infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.mock-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.mock-detail {
  margin-top: 0.25rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.mock-actions {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.55rem;
}
.app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(61, 130, 255, 0.25);
  transition: filter 0.15s, transform 0.15s;
}
.app-btn:hover { filter: brightness(1.06); }
.app-btn:active { transform: scale(0.985); }
.app-btn:disabled,
.app-btn-secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.app-btn-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}
.app-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  transition: background 0.15s;
}
.app-btn-secondary img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
}
.app-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}
.app-hint {
  margin-top: 0.85rem;
  color: var(--text-dim);
  font-size: 0.78rem;
}

.mock-side {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}
.mock-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}
.mock-browsers {
  display: grid;
  gap: 0.4rem;
}
/* Zeilen spiegeln browserCard aus der App: Icon-Kachel, Name, Ergebnis, Status. */
.mock-browser {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}
.mock-browser__tile {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.mock-browser__tile img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.mock-browser__meta {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}
.mock-browser__meta b {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.mock-browser__meta small {
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 500;
}
.status-pill {
  margin-left: auto;
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
}
.status-pill--ok {
  color: var(--ok);
  background: rgba(52, 211, 153, 0.12);
}

/* Trust-Chips wie in heroHome der App. */
.mock-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
}
.mock-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem 0.6rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}
.mock-trust svg { color: #9ec0ff; }

/* Aktivität statt Terminal: die App hat keine Konsole. */
.activity__list {
  display: grid;
  gap: 0.3rem;
  max-height: 150px;
  overflow: auto;
}
.activity__list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}
.activity__list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}
.activity__list .ok { color: var(--ok); }
.activity__list .info { color: #93c5fd; }

/* Stage layout */
.stage {
  display: grid;
  gap: 1.25rem;
}
.mac--stage {
  min-width: 0;
}

/* -------------------------------------------------------------------------- */
/* Browser strip — big icons + feast animation                                */
/* -------------------------------------------------------------------------- */

.browser-strip {
  padding: 2rem 0 2.75rem;
  border-bottom: 1px solid var(--line);
}

.browser-strip__label {
  margin: 0 0 1.35rem;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

/* Feast row: big bold icons, sequential “eat” */
.feast {
  overflow: hidden;
}

.feast__row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  min-height: 7.5rem;
  padding: 0.5rem 0.25rem;
}

.feast__item {
  --feast-shift: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  width: 5.5rem;
  margin-inline: clamp(0.35rem, 1.2vw, 0.85rem);
  transform: translate3d(var(--feast-shift), 0, 0) scale(var(--feast-scale, 1));
  opacity: var(--feast-opacity, 1);
  transition:
    transform 0.55s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.4s ease,
    width 0.35s var(--ease),
    margin 0.35s var(--ease);
  will-change: transform, opacity;
}

.feast__item img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
  user-select: none;
  -webkit-user-drag: none;
}

.feast__item span {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.feast__item--app {
  width: 0;
  margin-inline: 0;
  gap: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  flex: 0 0 0;
  transform: translate3d(0, 0, 0) scale(0.5);
  transition:
    width 0.4s var(--ease),
    flex-basis 0.4s var(--ease),
    gap 0.4s var(--ease),
    margin 0.4s var(--ease),
    transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1),
    opacity 0.35s ease;
}
.feast__item--app img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
}
.feast__item--app.is-ready {
  width: 5.75rem;
  flex: 0 0 auto;
  margin-inline: clamp(0.35rem, 1.2vw, 0.85rem);
  gap: 0.55rem;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Prey flies into eater and vanishes */
.feast__item.is-prey {
  z-index: 2;
  --feast-opacity: 0;
  --feast-scale: 0.15;
}

/* Eater chomps */
.feast__item.is-eater img {
  animation: feast-chomp 0.55s cubic-bezier(0.34, 1.45, 0.64, 1);
}
.feast__item.is-eaten {
  --feast-opacity: 0;
  --feast-scale: 0.2;
  pointer-events: none;
}
/* Completely out of flex flow so survivors (and final app) stay centered */
.feast__item.is-gone {
  visibility: hidden;
  width: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 0;
  overflow: hidden;
  pointer-events: none;
  flex: 0 0 0;
}

@keyframes feast-chomp {
  0%   { transform: scale(1) rotate(0deg); }
  28%  { transform: scale(1.22) rotate(-7deg); }
  55%  { transform: scale(0.9) rotate(5deg); }
  78%  { transform: scale(1.08) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@media (max-width: 720px) {
  .feast__row {
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }
  .feast__item {
    width: 4.75rem;
  }
  .feast__item img {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }
  .feast__item--app img {
    width: 64px;
    height: 64px;
  }
  .feast__item span {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feast__item {
    transition: none;
  }
  .feast__item img {
    animation: none !important;
  }
  .feast__item--app {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Sections                                                                   */
/* -------------------------------------------------------------------------- */

.section {
  padding: 5.5rem 0;
}
.section--tight {
  padding-top: 4rem;
}
.section--plus {
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(61, 130, 255, 0.12), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.section--security {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

/* Flow */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.flow__step {
  flex: 1 1 140px;
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 1.1rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
}
.flow__step strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.flow__step span:last-child {
  color: var(--text-dim);
  font-size: 0.85rem;
}
.flow__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #9ec0ff;
  margin-bottom: 0.25rem;
}
.flow__step--accent {
  border-color: rgba(61, 130, 255, 0.35);
  background: linear-gradient(160deg, rgba(61, 130, 255, 0.14), rgba(18, 179, 160, 0.08));
}
.flow__arrow {
  display: none;
  align-self: center;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 1.25rem;
}
@media (min-width: 800px) {
  .flow__arrow { display: block; }
}

/* Direction cards */
.dir-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 800px) {
  .dir-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .dir-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.dir-card {
  padding: 1.35rem 1.3rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.dir-card--hero {
  border-color: rgba(61, 130, 255, 0.3);
  background:
    linear-gradient(145deg, rgba(61, 130, 255, 0.12), rgba(18, 179, 160, 0.05)),
    var(--surface);
}
.dir-card:not(.dir-card--hero) {
  min-height: 100%;
}
@media (min-width: 800px) {
  .dir-card--hero {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 1.25rem;
  }
  .dir-card--hero .dir-card__icon {
    grid-row: 1 / span 3;
    align-self: center;
  }
}
.dir-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #9ec0ff;
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.dir-card__icon img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
}
.dir-card__icon--stack {
  width: auto;
  min-width: 48px;
  padding: 0 0.55rem;
  display: inline-flex;
  gap: 0.25rem;
  overflow: visible;
}
.dir-card__icon--stack img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  box-shadow: 0 0 0 2px var(--surface);
}
.dir-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.dir-io {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.65rem;
}
.dir-io .to {
  color: var(--ok);
  font-weight: 600;
}
.dir-card p:last-child {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.callout {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  border-radius: var(--r);
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.07);
  color: var(--text-muted);
  font-size: 0.95rem;
}
.callout svg {
  flex-shrink: 0;
  color: var(--warn);
  margin-top: 0.1rem;
}
.callout strong { color: var(--text); }

/* Visual break */
.visual-break {
  padding: 1rem 0 2rem;
}
.visual-break__inner {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  min-height: 280px;
}
.visual-break__inner img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  opacity: 0.75;
}
.visual-break__copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  background: linear-gradient(0deg, rgba(7, 8, 12, 0.9) 0%, rgba(7, 8, 12, 0.15) 55%, transparent 100%);
}

/* Browser split */
.browser-split {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .browser-split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}
.browser-visual {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  aspect-ratio: 1;
  max-width: 420px;
  margin-inline: auto;
}
.browser-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cards */
.cards {
  display: grid;
  gap: 0.85rem;
}
.cards--3 {
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  padding: 1.35rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: #9ec0ff;
  margin-bottom: 0.9rem;
}
.card-icon svg {
  width: 22px;
  height: 22px;
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Specs bar */
.specs-bar {
  padding: 1.5rem 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.specs-bar__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) {
  .specs-bar__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.specs-bar__grid div {
  display: grid;
  gap: 0.25rem;
}
.specs-bar__grid span {
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.specs-bar__grid strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Problem split */
.split {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}
.panel {
  padding: 1.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.panel h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.panel ul {
  display: grid;
  gap: 0.75rem;
}
.panel li {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--line);
}
.panel--bad {
  background: rgba(248, 113, 113, 0.06);
  border-color: rgba(248, 113, 113, 0.2);
}
.panel--bad h3 { color: #fca5a5; }
.panel--good {
  background: rgba(52, 211, 153, 0.06);
  border-color: rgba(52, 211, 153, 0.22);
}
.panel--good h3 { color: #6ee7b7; }

/* Bento */
.bento {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento__cell--wide {
    grid-column: span 2;
  }
}
.bento__cell {
  padding: 1.35rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bento__cell--tint {
  background:
    linear-gradient(145deg, rgba(61, 130, 255, 0.16), rgba(18, 179, 160, 0.06)),
    var(--surface);
  border-color: rgba(61, 130, 255, 0.28);
}
.bento__cell--tint2 {
  background:
    linear-gradient(160deg, rgba(18, 179, 160, 0.14), rgba(61, 130, 255, 0.05)),
    var(--surface);
  border-color: rgba(18, 179, 160, 0.28);
}
.bento__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #9ec0ff;
  margin-bottom: 0.35rem;
}
.bento__cell h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.bento__cell p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: auto;
}

/* Plus */
.plus-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .plus-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}
.plus-cards {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 600px) {
  .plus-cards {
    grid-template-columns: 1fr 1fr;
  }
}
.plus-card {
  padding: 1.35rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.plus-card--accent {
  border-color: rgba(61, 130, 255, 0.35);
  background: linear-gradient(160deg, rgba(61, 130, 255, 0.16), rgba(18, 179, 160, 0.08));
}
.plus-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
}
.plus-card ul {
  display: grid;
  gap: 0.65rem;
}
.plus-card li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.plus-card li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--ok);
}
.plus-card--accent li svg {
  color: #93c5fd;
}

/* Steps */
.steps {
  display: grid;
  gap: 0.85rem;
  counter-reset: none;
}
@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.steps li {
  padding: 1.4rem 1.2rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 100%;
}
.steps__n {
  display: block;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 1rem;
}
.steps h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}
.steps p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Security grid */
.security-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 800px) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.security-grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.25rem;
  padding: 1.25rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.security-grid__icon {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: #9ec0ff;
  align-self: center;
}
.security-grid strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.security-grid span:last-child {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Manifesto */
.manifesto {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(61, 130, 255, 0.1), transparent 70%),
    var(--bg);
}
.manifesto__text {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--text-dim);
}
.manifesto__text .word {
  transition: color 0.35s var(--ease);
}
.manifesto__text .word.is-lit {
  color: var(--text);
}

/* FAQ */
.faq {
  max-width: 58rem;
  margin-inline: auto;
  display: grid;
  gap: 0.55rem;
}
#faq .section-head {
  max-width: 58rem;
  margin-inline: auto;
  text-align: center;
}
.faq details {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.45rem;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary svg {
  transform: rotate(180deg);
}
.faq-answer {
  max-width: 49rem;
  padding: 0 1.45rem 1.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-answer em {
  font-style: normal;
  color: var(--text);
  font-weight: 600;
}

/* Überblick: fasst gleich nach dem Hero zusammen, was die App tut. */
.summary {
  padding: 3rem 0 1.5rem;
}
.summary__inner {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  padding: 2.75rem 1.5rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}
/* Zwei Browser laufen zusammen und werden zu einem Stand.
   Läuft erst, wenn der Block im Blick ist (.reveal.is-visible).
   --merge-offset steuert den Abstand der Startpositionen, damit
   die große Hero-Fassung (.merge--lg) dieselben Keyframes nutzen kann. */
.merge {
  --merge-offset: 74px;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 260px;
  height: 92px;
}
.merge--lg {
  --merge-offset: 126px;
  max-width: 420px;
  height: 150px;
}
.merge img {
  position: absolute;
  animation-duration: 5s;
  animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
  animation-iteration-count: infinite;
  animation-play-state: paused;
}
.merge__src {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  object-fit: contain;
}
.merge--lg .merge__src {
  width: 92px;
  height: 92px;
  border-radius: 21px;
}
.merge__src--a { animation-name: merge-from-left; }
.merge__src--b { animation-name: merge-from-right; }
.merge__out {
  width: 80px;
  height: 80px;
  border-radius: 19px;
  opacity: 0;
  animation-name: merge-result;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.merge--lg .merge__out {
  width: 136px;
  height: 136px;
  border-radius: 30px;
}
.reveal.is-visible .merge img {
  animation-play-state: running;
}

@keyframes merge-from-left {
  0%, 10%   { transform: translateX(calc(var(--merge-offset) * -1)) scale(1); opacity: 1; }
  46%       { transform: translateX(0) scale(0.9); opacity: 1; }
  56%       { transform: translateX(0) scale(0.5); opacity: 0; }
  88%       { transform: translateX(calc(var(--merge-offset) * -1)) scale(1); opacity: 0; }
  100%      { transform: translateX(calc(var(--merge-offset) * -1)) scale(1); opacity: 1; }
}
@keyframes merge-from-right {
  0%, 10%   { transform: translateX(var(--merge-offset)) scale(1); opacity: 1; }
  46%       { transform: translateX(0) scale(0.9); opacity: 1; }
  56%       { transform: translateX(0) scale(0.5); opacity: 0; }
  88%       { transform: translateX(var(--merge-offset)) scale(1); opacity: 0; }
  100%      { transform: translateX(var(--merge-offset)) scale(1); opacity: 1; }
}
@keyframes merge-result {
  0%, 44%   { opacity: 0; transform: scale(0.5); }
  60%       { opacity: 1; transform: scale(1.05); }
  68%, 84%  { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; transform: scale(0.92); }
}

/* Hero-Fassung: Merge-Animation plus Schreibmaschinen-Zeile darunter. */
.hero-visual--merge {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
}
.hero-visual__caption {
  min-height: 1.6em;
  font-family: var(--mono);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}
.hero-visual__caption span::after {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 1em;
  margin-left: 0.1em;
  vertical-align: -0.15em;
  background: var(--text-dim);
  animation: caret-blink 1s step-end infinite;
}
@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.summary .lead {
  margin-inline: auto;
  max-width: 34rem;
}
.summary__note {
  max-width: 34rem;
  margin-inline: auto;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Closer */
.closer {
  padding: 5rem 0 6rem;
}
.closer__inner {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 3rem 1.5rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(61, 130, 255, 0.16), transparent 55%),
    var(--surface);
}
.closer__icon {
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.closer .lead {
  margin-inline: auto;
  margin-top: 0.25rem;
}
.closer__meta {
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 500;
}

/* Footer */
.footer {
  padding: 3.5rem 0 3rem;
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 760px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(9rem, 0.65fr) minmax(12rem, 0.85fr);
    align-items: start;
  }
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.footer__brand img { border-radius: 7px; }
.footer__brand-block {
  display: grid;
  gap: 0.9rem;
}
.footer__intro {
  max-width: 20rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.footer__column {
  display: grid;
  gap: 0.75rem;
}
.footer__eyebrow {
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer__links {
  display: grid;
  gap: 0.6rem;
}
.footer__links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.footer__links a:hover { color: var(--text); }
.footer__links--muted span {
  color: var(--text-dim);
  font-size: 0.92rem;
}
.footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.footer__note {
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.55;
  max-width: 48rem;
}
.footer__version {
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 759px) {
  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* -------------------------------------------------------------------------- */
/* Reveal                                                                     */
/* -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .mock-hero__orb .ring,
  .mock-glyph.is-busy .mock-glyph__tile,
  .mock-glyph.is-busy .mock-glyph__ring,
  .home-hero__glyph.is-busy .home-hero__core {
    animation: none;
  }
  /* Ohne Bewegung direkt das Ergebnis zeigen, sonst bliebe der Block leer. */
  .merge img { animation: none; }
  .merge__src { opacity: 0; }
  .merge__out { opacity: 1; transform: none; }
  .hero-visual__caption span::after { animation: none; opacity: 0; }
}

/* Gradient-Text fällt im erzwungenen Kontrastmodus auf Volltonfarbe zurück,
   sonst bliebe er wegen color: transparent unsichtbar. */
@media (forced-colors: active) {
  .display em,
  .hero-line--accent {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: CanvasText;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .float-chip {
    background: var(--surface-2);
    backdrop-filter: none;
  }
}
