/* Pump CI – Akzentfarben (Orange/Blau/Neutral) */
:root {
  --color-bg: #000000;
  --color-bg-elevated: #000000;
  --color-accent: rgb(243, 146, 0);
  --color-accent-dim: rgba(243, 146, 0, 0.15);
  --color-blue: rgb(59, 130, 246);
  --color-orange-badge: rgb(249, 115, 22);
  --color-input: rgb(86, 86, 86);
  --color-text: #ffffff;
  --color-muted: #a3a3a3;
  --color-border: rgba(255, 255, 255, 0.08);
  /* Inter (Google Fonts), then system UI fallbacks */
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", ui-sans-serif, system-ui, "Segoe UI",
    Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius-lg: 1rem;
  --nav-h: 4.25rem;
  /* Parallax (set by JS; 0 when prefers-reduced-motion) */
  --hero-p: 0;
  --scroll-y-parallax: 0px;
  --showcase-p: 0;
}

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

html {
  scroll-behavior: smooth;
  background: #000000;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

code {
  font-family: ui-monospace, monospace;
  font-size: 0.88em;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.12em 0.35em;
  border-radius: 0.35rem;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-accent);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

/* Full-viewport black (no gradients) */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(120deg, rgba(0, 0, 0, 0.68) 12%, rgba(0, 0, 0, 0.5) 52%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.66) 100%),
    url("assets/hero-gym-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.52) 0%, rgba(10, 10, 10, 0.44) 100%);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 72rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo-text {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--color-accent);
  line-height: 1;
}

.brand-logo {
  display: block;
  height: 2rem;
  width: auto;
  max-width: 9.5rem;
}

.footer-brand {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--color-accent);
  margin: 0 0 0.35rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.2rem;
}

.nav-links a:hover {
  color: var(--color-text);
  border-bottom-color: var(--color-accent);
  text-decoration: none;
}

.nav-links a.is-active {
  color: var(--color-text);
  border-bottom-color: var(--color-accent);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-accent);
  color: #0a0a0a;
  border-color: var(--color-accent);
  box-shadow: 0 4px 24px rgba(243, 146, 0, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.12) saturate(1.08);
  box-shadow: 0 10px 30px rgba(243, 146, 0, 0.4);
}

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

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lang-switch:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.lang-switch:focus-visible {
  outline: 2px solid var(--color-accent, #7c5cff);
  outline-offset: 2px;
}

.lang-switch__flag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.lang-switch__flag-svg {
  width: 1.25rem;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.lang-switch__code {
  line-height: 1;
}

/* FOUC guard only on pages that load i18n.js (see data-i18n-page on <html>) */
html[data-i18n-page]:not(.i18n-ready) body {
  visibility: hidden;
}

.about-lead {
  white-space: pre-line;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(0, 0, 0, 0.98);
  padding: 1.5rem;
  z-index: 40;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  color: var(--color-text);
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav a.is-active {
  color: var(--color-accent);
  border-bottom-color: rgba(243, 146, 0, 0.45);
}

/* Sections */
section {
  padding-block: clamp(2.2rem, 5vw, 3.6rem);
}

/* Section divider: short line, soft fade at ends */
.section-divider {
  display: block;
  width: min(10rem, 36vw);
  height: 2px;
  margin: clamp(0.2rem, 0.9vw, 0.55rem) auto;
  border: none;
  padding: 0;
  animation: none;
  transition: none;
  /* Accent orange (--color-accent, rgb(243, 146, 0)) */
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(243, 146, 0, 0.06) 14%,
    rgb(243, 146, 0) 50%,
    rgba(243, 146, 0, 0.06) 86%,
    transparent 100%
  );
}

.section-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  margin: 0 0 1rem;
  color: #ffffff;
}

h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

/* Hero + scroll-linked parallax */
.parallax-hero {
  --hero-p: 0;
}

.parallax-hero__copy-dim {
  transform: translate3d(0, calc(var(--hero-p) * -28px), 0);
  opacity: calc(1 - var(--hero-p) * 0.38);
  will-change: transform, opacity;
}

.parallax-hero__visual {
  transform: translate3d(0, calc(var(--hero-p) * -12px), 0);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .parallax-hero__copy-dim,
  .parallax-hero__visual {
    transform: none;
    opacity: 1;
    will-change: auto;
  }
}

.hero {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero secondary CTA: slightly brighter on dark hero background */
.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fafafa;
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-actions .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.16);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-showcase-img {
  width: 100%;
  max-width: min(520px, 92vw);
  height: auto;
  display: block;
}

.phone-stack {
  position: relative;
  width: min(280px, 85vw);
  aspect-ratio: 9 / 19;
}

.phone-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.phone-wrap--back {
  z-index: 1;
  transform: rotate(-6deg) translateX(-12%) translate3d(0, calc(var(--hero-p) * -36px), 0);
}

.phone-wrap--front {
  z-index: 2;
  top: 8%;
  transform:
    rotate(4deg) translateX(12%) translate3d(0, calc(var(--hero-p) * -84px), 0)
    scale(calc(1 - var(--hero-p) * 0.07));
}

@media (prefers-reduced-motion: reduce) {
  .phone-wrap {
    will-change: auto;
  }

  .phone-wrap--back {
    transform: rotate(-6deg) translateX(-12%);
  }

  .phone-wrap--front {
    transform: rotate(4deg) translateX(12%);
  }
}

.phone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, #262626 0%, #0a0a0a 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 60px var(--color-accent-dim);
  overflow: hidden;
}

.phone-inner {
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ph-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.ph-bar.short {
  width: 45%;
}

.ph-accent {
  background: linear-gradient(90deg, var(--color-accent), rgba(243, 146, 0, 0.4));
}

.ph-blue {
  background: linear-gradient(90deg, var(--color-blue), rgba(59, 130, 246, 0.35));
}

.ph-rows {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.ph-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.ph-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Sticky scroll showcase (four screens) */
section.parallax-showcase {
  padding-block: 0;
}

.parallax-showcase {
  position: relative;
  z-index: 1;
}

.parallax-showcase__scroll {
  /* Shorter track = faster progress per scroll */
  height: 300vh;
  position: relative;
  --showcase-p: 0;
}

.parallax-showcase__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 36rem;
  max-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.parallax-showcase__ambient {
  display: none;
}

.parallax-showcase__wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding-block: clamp(1.25rem, 3vh, 2.5rem);
  pointer-events: none;
}

.parallax-showcase__wrap a,
.parallax-showcase__wrap button {
  pointer-events: auto;
}

.parallax-showcase__intro {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: clamp(1rem, 2.5vh, 2rem);
}

.parallax-showcase__intro .section-label {
  margin-bottom: 0.5rem;
}

.parallax-showcase__intro h2 {
  margin-bottom: 0.5rem;
}

.parallax-showcase__deck {
  margin: 0;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--color-muted);
  line-height: 1.55;
}

.parallax-showcase__split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .parallax-showcase__split {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.95fr);
    text-align: left;
  }

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

  .parallax-showcase__captions {
    text-align: left;
  }
}

.parallax-showcase__captions {
  position: relative;
  min-height: 11.5rem;
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
}

@media (min-width: 960px) {
  .parallax-showcase__captions {
    margin-inline: 0;
    min-height: 13rem;
  }
}

.ps-caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 12px, 0);
  will-change: opacity, transform;
  pointer-events: none;
}

.js-ps-caption[data-index="0"] {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.ps-caption h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin: 0 0 0.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ps-caption p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.ps-caption.is-active {
  pointer-events: auto;
}

.parallax-showcase__stage {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.ps-screen-stack {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 18.5;
  max-height: min(72vh, 620px);
}

.ps-screen {
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 28px 90px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(243, 146, 0, 0.07);
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.93);
  will-change: opacity, transform;
}

/* First screen visible before parallax JS runs */
.js-ps-screen[data-index="0"] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  z-index: 5;
}

.ps-screen__inner {
  height: 100%;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: linear-gradient(165deg, #222 0%, #0a0a0a 100%);
}

.ps-screen__inner--log {
  background: linear-gradient(165deg, #2a2418 0%, #0d0c0a 100%);
}

.ps-screen__inner--plan {
  background: linear-gradient(165deg, #1a2230 0%, #0a0c12 100%);
}

.ps-screen__inner--stats {
  background: linear-gradient(165deg, #1c1c1c 0%, #080808 100%);
}

.ps-screen__inner--social {
  background: linear-gradient(165deg, #261c14 0%, #0c0a08 100%);
}

.ps-ui-bar {
  height: 9px;
  border-radius: 5px;
  width: 42%;
}

.ps-ui-bar--accent {
  background: linear-gradient(90deg, var(--color-accent), rgba(243, 146, 0, 0.35));
}

.ps-ui-bar--blue {
  background: linear-gradient(90deg, var(--color-blue), rgba(59, 130, 246, 0.35));
}

.ps-ui-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ps-ui-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.ps-ui-dot--dim {
  opacity: 0.45;
}

.ps-ui-line {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.ps-ui-line--short {
  max-width: 55%;
}

.ps-ui-line--med {
  width: 72%;
}

.ps-ui-line--long {
  width: 92%;
}

.ps-ui-timer {
  margin-top: auto;
  font-size: 2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.92);
}

.ps-ui-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.ps-ui-grid span {
  aspect-ratio: 1;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ps-ui-chart {
  height: 5.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(180deg, rgba(243, 146, 0, 0.2), transparent 60%),
    linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, transparent 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ps-ui-avatars {
  display: flex;
  gap: -0.4rem;
  margin-bottom: 0.25rem;
}

.ps-ui-avatars span {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid #0a0a0a;
  margin-right: -0.65rem;
  background: linear-gradient(135deg, #555, #333);
}

.ps-ui-avatars span:nth-child(2) {
  background: linear-gradient(135deg, var(--color-accent), #8a5a00);
}

.ps-ui-avatars span:nth-child(3) {
  background: linear-gradient(135deg, var(--color-blue), #1e3a5f);
}

.ps-ui-pr {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

@media (prefers-reduced-motion: reduce) {
  .parallax-showcase__scroll {
    height: auto;
    min-height: 0;
    --showcase-p: 0 !important;
  }

  .parallax-showcase__sticky {
    position: relative;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .parallax-showcase__wrap {
    padding-block: 3rem;
  }

  .parallax-showcase__split {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .parallax-showcase__captions {
    position: static;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    max-width: none;
  }

  .ps-caption {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto;
  }

  .ps-screen-stack {
    width: min(280px, 85vw);
    max-height: none;
    aspect-ratio: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-inline: auto;
  }

  .ps-screen {
    position: relative !important;
    inset: auto;
    width: 100%;
    aspect-ratio: 9 / 18.5;
    max-width: 280px;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Cards grid */
.cards-4 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.reviews-intro {
  max-width: 48rem;
}

.reviews-grid {
  gap: 1rem;
}

@media (min-width: 860px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.review-card {
  display: grid;
  gap: 0.75rem;
}

.review-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
}

.review-author {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Feature rows */
.feature-block {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 4rem);
}

@media (max-width: 799px) {
  .feature-block > .feature-visual {
    order: 2;
  }

  .feature-block > div:not(.feature-visual) {
    order: 1;
  }
}

@media (min-width: 800px) {
  .feature-block {
    grid-template-columns: 1fr 1fr;
  }

  .feature-block.reverse .feature-visual {
    order: 2;
  }
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.mock-wide {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.style-toggle-mock {
  --style-mix: 0.5;
  max-width: 300px;
  aspect-ratio: auto;
  padding: 0.9rem;
  border: none;
  background: transparent;
}

.style-compare-stage {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  min-height: 0;
}

.style-variant {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc((1 - var(--style-mix)) * 100%) 0 0);
}

.style-variant--dark {
  clip-path: inset(0 0 0 calc(var(--style-mix) * 100%));
}

.style-variant-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.feature-phone-mock {
  max-width: 300px;
  aspect-ratio: auto;
  padding: 0.9rem;
  border: none;
  background: transparent;
}

.feature-phone-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  min-height: 0;
  border-radius: 0.75rem;
  overflow: visible;
}

.feature-phone-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.feature-image-slider {
  isolation: isolate;
}

.feature-slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  clip-path: inset(0 round 0.75rem);
  transition: opacity 0.25s ease;
}

.feature-slider-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.feature-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.feature-slider-btn--prev {
  left: -2.2rem;
}

.feature-slider-btn--next {
  right: -2.2rem;
}

.feature-slider-dots {
  position: absolute;
  left: 50%;
  bottom: -1.2rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.35rem;
}

.feature-slider-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  padding: 0;
  cursor: pointer;
}

.feature-slider-dot.is-active {
  background: var(--color-accent);
}

.feature-phone-stage::after {
  content: "Swipe ↔";
  position: absolute;
  left: 50%;
  bottom: -2.45rem;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0.82;
  pointer-events: none;
  animation: feature-swipe-hint 2s ease-in-out infinite;
}

.feature-phone-stage.is-interacted::after {
  opacity: 0;
  animation: none;
}

@keyframes feature-swipe-hint {
  0%,
  100% {
    transform: translateX(-50%);
    opacity: 0.45;
  }
  50% {
    transform: translateX(calc(-50% + 0.35rem));
    opacity: 0.95;
  }
}

.style-compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--style-mix) * 100%);
  width: 2px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22);
  transform: translateX(-1px);
}

.style-toggle-control {
  display: grid;
  gap: 0.4rem;
}

.style-slider {
  width: 100%;
  accent-color: var(--color-accent);
}

.style-toggle-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.feature-block p,
.feature-block li {
  color: var(--color-muted);
}

.feature-block p {
  margin: 0 0 1rem;
}

/* Stat analysis showcase (analysis page) */
.stat-showcase {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .stat-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stat-showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-showcase__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.stat-showcase__card .feature-phone-mock {
  margin-inline: auto;
  width: 100%;
  max-width: 260px;
}

.stat-showcase .feature-phone-stage::after {
  display: none;
}

.stat-showcase__card h2 {
  font-size: 1.05rem;
  margin: 0;
  font-weight: 600;
}

.stat-showcase__card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-muted);
  flex: 1;
}

/* Screenshot strip */
.strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.strip-card {
  flex: 0 0 min(280px, 85vw);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.strip-card p {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.strip-preview {
  flex: 1;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(243, 146, 0, 0.12), rgba(59, 130, 246, 0.1));
  margin-bottom: 0.75rem;
  min-height: 120px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

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

.price-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
}

.price-card.featured {
  border-color: rgba(243, 146, 0, 0.35);
  box-shadow: 0 0 40px var(--color-accent-dim);
}

.price-card h3 {
  font-size: 1.35rem;
}

.pro-price {
  display: grid;
  gap: 0.55rem;
}

.pro-price__regular {
  display: block;
}

.pro-offer {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(243, 146, 0, 0.14);
  border: 1px solid rgba(243, 146, 0, 0.4);
  color: #ffe5c1;
}

.pro-offer__meta {
  color: rgba(255, 229, 193, 0.82);
}

.price-card ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--color-muted);
}

.price-card li {
  margin-bottom: 0.4rem;
}

.pricing-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.95rem;
  max-width: 42rem;
  margin-inline: auto;
}

/* Compare table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 640px;
}

table.compare.compare--wide {
  min-width: 920px;
  font-size: 0.78rem;
}

table.compare .cell-ok {
  color: rgb(34, 197, 94);
  font-weight: 600;
}

table.compare .cell-bad,
table.battle-table .cell-bad {
  color: #f87171;
  font-weight: 600;
}

table.battle-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 0;
  margin: 0 0 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.table-wrap table.battle-table {
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}

table.battle-table th,
table.battle-table td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

table.battle-table thead th {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-muted);
}

table.battle-table tbody th {
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--color-text);
  max-width: 9rem;
}

table.battle-table tr:last-child th,
table.battle-table tr:last-child td {
  border-bottom: none;
}

.battle-pitch {
  margin: 1.75rem 0 0;
  padding: 1rem 0 0 1.1rem;
  border-left: 3px solid var(--color-accent);
  font-style: italic;
  color: var(--color-muted);
  line-height: 1.5;
  font-size: 1.05rem;
}

.compare-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
}

.compare-subnav a {
  font-weight: 600;
  color: var(--color-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.compare-subnav a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.compare-subnav a[aria-current="page"] {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

table.compare th,
table.compare td {
  padding: 0.65rem 0.85rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

table.compare th:first-child,
table.compare td:first-child {
  text-align: left;
  font-weight: 600;
}

table.compare thead th {
  background: rgba(255, 255, 255, 0.04);
}

table.compare .highlight {
  background: rgba(243, 146, 0, 0.08);
  color: var(--color-accent);
  font-weight: 700;
}

.check {
  color: rgb(34, 197, 94);
  font-weight: 700;
}

.dash {
  color: var(--color-muted);
}

/* Roadmap timeline */
.roadmap {
  position: relative;
}

.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-orange-badge), var(--color-blue), #737373, #22c55e);
  border-radius: 2px;
}

.timeline-block {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-block:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -1.65rem;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(243, 146, 0, 0.45);
}

.timeline-block:nth-child(1) .timeline-dot {
  background: var(--color-orange-badge);
}

.timeline-block:nth-child(2) .timeline-dot {
  background: var(--color-blue);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.45);
}

.timeline-block:nth-child(3) .timeline-dot {
  background: #737373;
  box-shadow: 0 0 8px rgba(115, 115, 115, 0.4);
}

.timeline-block:nth-child(4) .timeline-dot {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.45);
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.badge-now {
  background: var(--color-orange-badge);
  color: #fff;
}

.badge-next {
  background: var(--color-blue);
  color: #fff;
}

.badge-later {
  background: #737373;
  color: #fff;
}

.badge-done {
  background: #22c55e;
  color: #fff;
}

.roadmap-item--done {
  border-color: rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.06);
}

.roadmap-items {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.roadmap-item {
  padding: 1rem;
  border-radius: 0.65rem;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
}

.roadmap-item h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.roadmap-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.idea-box {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.06);
}

.idea-box h3 {
  margin-bottom: 0.5rem;
}

.idea-box .idea-box__intro {
  color: var(--color-muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.roadmap-wish-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 36rem;
}

.roadmap-wish-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.45;
  resize: vertical;
  min-height: 6.5rem;
}

.roadmap-wish-input::placeholder {
  color: var(--color-muted);
}

.roadmap-wish-input:focus {
  outline: none;
  border-color: rgba(243, 146, 0, 0.45);
  box-shadow: 0 0 0 2px rgba(243, 146, 0, 0.15);
}

.roadmap-wish-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* FAQ */
details.faq {
  border-bottom: 1px solid var(--color-border);
}

details.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq summary::after {
  content: "+";
  color: var(--color-accent);
  font-size: 1.25rem;
  font-weight: 700;
}

details.faq[open] summary::after {
  content: "−";
}

details.faq p {
  margin: 0 0 1.1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* CTA footer band */
.cta-band {
  text-align: center;
  padding: clamp(3rem, 8vw, 4.5rem) 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(243, 146, 0, 0.12), transparent),
    rgba(255, 255, 255, 0.02);
}

.cta-band .lead {
  margin-inline: auto;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.75rem;
  margin-top: 2rem;
  margin-inline: auto;
  max-width: 36rem;
  padding: 0;
  background: none;
  border: none;
}

.store-badges__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 9rem;
  width: 9rem;
  height: 2.5rem;
  line-height: 0;
  color: inherit;
}

.store-badges__link:hover {
  opacity: 0.88;
  text-decoration: none;
}

.store-badges__img {
  display: block;
  flex: 0 0 9rem;
  width: 9rem;
  height: 2.5rem;
  object-fit: contain;
}

.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

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

.site-footer h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.35rem;
}

.site-footer a {
  color: var(--color-muted);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.25rem;
}

.footer-legal a {
  color: var(--color-muted);
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

.footer-tagline {
  margin: 0;
}

/* Rechtstext-Seiten */
.site-header--legal__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 72rem;
  gap: 1rem;
}

.btn--small {
  font-size: 0.85rem;
  padding: 0.45rem 0.95rem;
}

.legal-page {
  max-width: 48rem;
  padding: calc(var(--nav-h) + 2rem) 1rem 3.5rem;
  margin-inline: auto;
}

.legal-page h1 {
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 0.5rem;
}

.legal-page__meta {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--color-text);
}

.legal-section p,
.legal-section li {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

.legal-section ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.legal-address {
  font-style: normal;
  margin: 0 0 1rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.legal-hint {
  font-size: 0.85rem;
  color: var(--color-muted);
  opacity: 0.95;
}

.legal-lead {
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--color-accent);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 6px 6px 0;
}

.legal-lead p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text);
}

.legal-section__h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: var(--color-text);
}

.legal-section ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.legal-section ul li {
  margin-bottom: 0.5rem;
}

.legal-table-wrap {
  margin-top: 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--color-border);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.legal-table thead th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  font-weight: 600;
}

.legal-table tbody th {
  font-weight: 500;
  color: var(--color-text);
}

body.has-cookie-banner {
  padding-bottom: clamp(8rem, 22vh, 11rem);
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 1.1rem 0 1.25rem;
  background: rgba(6, 6, 6, 0.97);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
}

.cookie-consent__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 720px) {
  .cookie-consent__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.cookie-consent__title {
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.cookie-consent__text p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  flex-shrink: 0;
}
