/* =============================================
   Clapilot — Design System
   ============================================= */

:root {
  --navy-deep: #151A27;
  --navy: #1e3a5f;
  --navy-light: #243B5E;
  --blue: #3871ED;
  --blue-light: #5A8DF5;
  --orange: #F5852C;
  --orange-light: #FF9E54;
  --neutral: #8B93A8;
  --neutral-light: #C4C9D6;
  --bg: #FFFFFF;
  --bg-alt: #F5F7FB;
  --bg-dark: #151A27;
  --text: #1C2238;
  --text-light: #5A6178;
  --text-muted: #8a8fa8;
  --card-shadow: 0 1px 2px rgba(21,26,39,0.04), 0 4px 16px rgba(21,26,39,0.04);
  --card-shadow-hover: 0 1px 4px rgba(21,26,39,0.06), 0 12px 40px rgba(21,26,39,0.08);
  --card-border: rgba(21, 26, 39, 0.07);
  --radius: 20px;
  --radius-sm: 14px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --content-max-width: 1600px;
  --content-padding: 2rem;
  --app-screenshot-ratio: 3694 / 2254;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Pilot Banner ---- */
.pilot-banner {
  position: relative;
  z-index: 50;
  margin-top: 72px;
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  color: #fff;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.18);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    max-height 0.35s ease,
    visibility 0s linear 0.35s;
}

.pilot-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  max-height: 96px;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    max-height 0.35s ease;
}

.pilot-banner.is-hidden {
  display: none;
}

.pilot-banner-inner {
  max-width: var(--content-max-width);
  min-height: 40px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.pilot-banner-spacer {
  min-width: 24px;
}

.pilot-banner-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
  min-width: 0;
}

.pilot-banner-copy {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pilot-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.35rem 0.95rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition);
}

.pilot-banner-cta:hover {
  background: rgba(255, 255, 255, 0.3);
}

.pilot-banner-close {
  justify-self: end;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.pilot-banner-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: #fff;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(56, 113, 237, 0.08);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.section-tag-light {
  color: var(--blue-light);
  background: rgba(90, 141, 245, 0.12);
}

.section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
}

.section-dark .section-header h2 {
  color: #fff;
}

.section-desc {
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
}

.section-dark .section-desc {
  color: var(--neutral);
}

.section-closing {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(21, 26, 39, 0.06), 0 4px 16px rgba(21, 26, 39, 0.04);
}

.nav-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo img {
  height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--navy-deep);
  background: rgba(56, 113, 237, 0.06);
}

.nav .btn-sm {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-deep);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm {
  font-size: 0.82rem;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: 12px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(56, 113, 237, 0.25);
}

.btn-primary:hover {
  background: var(--navy);
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.3);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy-deep);
  border: 1.5px solid var(--neutral-light);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(56, 113, 237, 0.04);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 24px;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 48px var(--content-padding) 80px;
  overflow: hidden;
}

.hero-grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 113, 237, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 113, 237, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: -1;
}

.hero-glow {
  position: absolute;
  top: 10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, rgba(139, 92, 246, 0.08) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
}

.hero-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: rgba(56, 113, 237, 0.07);
  border: 1px solid rgba(56, 113, 237, 0.15);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero-content {
  width: 100%;
  max-width: 520px;
  min-width: 0;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
  margin-bottom: 18px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  width: 100%;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero-visual {
  min-width: 0;
}

.hero-sub-trust {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted, #8a8fa8);
  letter-spacing: 0.01em;
}

.hero-demo-teaser {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted, #8a8fa8);
  font-style: italic;
}

/* ── WHY Section ── */
.why-section {
  background: #FAFBFC;
  padding: 120px 24px;
  overflow: hidden;
}

.why-container {
  max-width: 1100px;
  margin: 0 auto;
}

.why-header {
  text-align: center;
  margin-bottom: 64px;
}

.why-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #5B7FFF;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.why-headline {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: #0F172A;
  max-width: 800px;
  margin: 0 auto;
}

/* Split Cards */
.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 80px;
  align-items: stretch;
}

.why-card {
  border-radius: 24px;
  padding: 34px 32px;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease, background 150ms ease;
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  isolation: isolate;
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.92) 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow:
    0 22px 58px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  z-index: -1;
}

.why-card::after {
  content: "";
  position: absolute;
  inset: 10% -6% -10%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(91, 127, 255, 0.16) 0%, rgba(139, 92, 246, 0.12) 42%, transparent 76%);
  filter: blur(42px);
  opacity: 0.75;
  z-index: -2;
  pointer-events: none;
}

.why-card-status {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.92) 100%);
}

.why-card-status:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 48px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.why-card-clapilot {
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.98) 0%, rgba(238, 242, 255, 0.96) 100%);
  box-shadow:
    0 22px 56px rgba(79, 70, 229, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.why-card-clapilot::before {
  background: linear-gradient(180deg, rgba(250, 251, 255, 0.98) 0%, rgba(238, 242, 255, 0.96) 100%);
  border: 1px solid rgba(199, 210, 254, 0.9);
  box-shadow:
    0 28px 68px rgba(79, 70, 229, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.why-card-clapilot::after {
  inset: 12% -8% -14%;
  background: radial-gradient(circle, rgba(91, 127, 255, 0.24) 0%, rgba(139, 92, 246, 0.18) 46%, transparent 76%);
  opacity: 0.95;
}

.why-card-clapilot:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 68px rgba(79, 70, 229, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.why-card-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: #4F46E5;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.2);
}

.why-card-badge-red {
  background: #DC2626;
}

.why-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 24px;
}

/* Time items for left card */
.why-card-list-time {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  color: #475569;
}

.why-time-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.why-time-icon {
  font-size: 13px;
  opacity: 0.7;
}

.why-time-text {
  flex: 1;
}

.why-time-value {
  font-weight: 700;
  color: #DC2626;
}

/* Count-up numbers */
.why-countup {
  font-variant-numeric: tabular-nums;
}

.why-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  color: #475569;
}

.why-card-list-clapilot {
  color: #3730A3;
}

.why-card-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.28);
  margin: 20px 0;
}

.why-card-divider-clapilot {
  background: rgba(165, 180, 252, 0.55);
}

.why-card-footer {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.why-card-footer-red {
  color: #DC2626;
}

.why-card-footer-indigo {
  color: #4F46E5;
}

/* Product Preview */
.why-preview {
  margin-bottom: 80px;
}

.why-preview-inner {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.14);
  position: relative;
  border: 1px solid #E2E8F0;
}

.why-preview-img {
  width: 100%;
  display: block;
}

.why-preview-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.9);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  color: #1D4ED8;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

/* Denkfehler Block */
.why-denkfehler {
  max-width: 800px;
  margin: 0 auto 80px;
  padding: 48px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: white;
}

.why-denkfehler-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #818CF8;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: 600;
}

.why-denkfehler-main {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 24px;
}

.why-denkfehler-sub {
  font-size: 18px;
  color: #CBD5E1;
  margin: 0;
}

/* Final Statement */
.why-final {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.why-final p {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: #0F172A;
  margin: 0;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: #1a1f2e;
  padding: 1.5rem 0;
}

.stats-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0.5rem 1rem;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: rgba(196, 201, 214, 0.78);
  letter-spacing: 0.01em;
}

/* Hero Slideshow Gallery */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.13) 0%, rgba(139, 92, 246, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(30px);
}

.hero-slideshow {
  width: min(100%, 80%);
  max-width: 768px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.hero-slideshow:hover {
  transform: scale(1.01);
}

/* Outer container — Mac App Frame */
.slideshow-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  padding: 12px;
}

/* Mac dots */
.slideshow-mac-dots {
  display: flex;
  gap: 6px;
  padding: 6px 4px 10px;
}

.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.mac-dot-red { background: #FF5F56; }
.mac-dot-yellow { background: #FFBD2E; }
.mac-dot-green { background: #27C93F; }

/* Inner frame */
.slideshow-inner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #F8FAFC;
  aspect-ratio: var(--app-screenshot-ratio);
}

.slideshow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
}

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

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #F0F2F8;
}

/* Overlay Badge */
.slide-overlay-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #1D4ED8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  z-index: 5;
  pointer-events: none;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Arrow Controls */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.slide-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.slide-arrow-left { left: 10px; }
.slide-arrow-right { right: 10px; }

/* Dots */
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.slideshow-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #CBD5F5;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.slideshow-dots .dot:hover {
  transform: scale(1.2);
  background: #8B9CF7;
}

.slideshow-dots .dot.active {
  background: #4F46E5;
  transform: scale(1.15);
}

/* ---- Trust Strip ---- */
.trust-strip {
  border-top: 1px solid rgba(21, 26, 39, 0.06);
  border-bottom: 1px solid rgba(21, 26, 39, 0.06);
  padding: 2rem 0;
  background: var(--bg);
}

.trust-strip-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--neutral);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.trust-strip-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-deep);
}

.trust-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--neutral-light);
}

/* ---- Comparison ---- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.comparison-col {
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
}

.comparison-old {
  background: linear-gradient(150deg, #FFFFFF 0%, #F0F2F7 100%);
}

.comparison-new {
  background: linear-gradient(150deg, #FFFFFF 0%, #EEF2FD 100%);
  border-color: rgba(56, 113, 237, 0.15);
  box-shadow: var(--card-shadow), 0 0 0 1px rgba(56, 113, 237, 0.06);
  position: relative;
}

.comparison-badge {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--blue);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
}

.comparison-col h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--navy-deep);
}

.comparison-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comparison-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-light);
}

.x-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 60, 60, 0.08);
  color: #c0392b;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 199, 89, 0.1);
  color: #34C759;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
}

.comparison-new li {
  color: var(--text);
}

/* ---- Features Grid ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--bg-alt) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  box-shadow: var(--card-shadow);
}

.feature-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(56, 113, 237, 0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 113, 237, 0.07);
  color: var(--blue);
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-deep);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

.feature-note {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--navy-deep);
}

/* ---- Steps ---- */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.step-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--blue);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy-deep);
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

.step-line {
  width: 48px;
  height: 2px;
  background: var(--neutral-light);
  margin-top: 1.6rem;
  flex-shrink: 0;
}

/* ---- Security ---- */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.security-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(150deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
}

.security-item:hover {
  background: linear-gradient(150deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.04) 100%);
  border-color: rgba(255, 255, 255, 0.14);
}

.security-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 113, 237, 0.12);
  color: var(--blue-light);
  border-radius: 10px;
  flex-shrink: 0;
}

.security-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.security-item p {
  font-size: 0.85rem;
  color: var(--neutral);
  line-height: 1.6;
}

/* ---- CTA ---- */
.cta-section {
  padding-bottom: 4rem;
  overflow: hidden;
}

.cta-card {
  text-align: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-radius: 28px;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 113, 237, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 133, 44, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-logo {
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #fff;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.cta-card p {
  color: var(--neutral);
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cta-card .btn {
  position: relative;
  z-index: 1;
}

.cta-note {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--neutral);
  position: relative;
  z-index: 1;
}

.cta-subnote {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #94A3B8;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

/* ---- Subpages ---- */
.subpage-main {
  padding-top: 72px;
}

.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 3rem;
  background:
    radial-gradient(circle at top right, rgba(56, 113, 237, 0.12), transparent 34%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F9FD 100%);
  border-bottom: 1px solid rgba(21, 26, 39, 0.06);
}

.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 113, 237, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 113, 237, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.subpage-hero .container {
  position: relative;
  z-index: 1;
}

.subpage-hero-content {
  max-width: 760px;
}

.subpage-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(56, 113, 237, 0.08);
  border: 1px solid rgba(56, 113, 237, 0.14);
  border-radius: 100px;
  padding: 0.45rem 1rem;
  margin-bottom: 1.2rem;
}

.draft-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(245, 133, 44, 0.12);
}

.subpage-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy-deep);
}

.subpage-intro {
  margin-top: 1.2rem;
  max-width: 680px;
  font-size: 1.08rem;
  color: var(--text-light);
  line-height: 1.75;
}

.subpage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(21, 26, 39, 0.08);
  box-shadow: 0 8px 24px rgba(21, 26, 39, 0.05);
  color: var(--text);
  font-size: 0.9rem;
}

.subpage-section {
  padding: 4.5rem 0 5.5rem;
}

.subpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.95fr);
  gap: 2rem;
  align-items: start;
}

.content-card,
.sidebar-card,
.faq-item {
  background: linear-gradient(145deg, #FFFFFF 0%, #F7F9FD 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.content-card {
  padding: 2rem;
}

.sidebar-stack {
  display: grid;
  gap: 1rem;
}

.sidebar-card {
  padding: 1.4rem;
}

.sidebar-card strong,
.content-card h2,
.faq-item h2 {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy-deep);
}

.content-card h2,
.faq-item h2 {
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.content-card + .content-card {
  margin-top: 1rem;
}

.content-card p,
.content-card li,
.sidebar-card p,
.sidebar-card li,
.faq-answer p,
.faq-answer li {
  color: var(--text-light);
  font-size: 0.96rem;
  line-height: 1.75;
}

.content-card ul,
.faq-answer ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.content-card li,
.faq-answer li {
  position: relative;
  padding-left: 1.15rem;
}

.content-card li::before,
.faq-answer li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.content-card a,
.sidebar-card a,
.faq-answer a {
  color: var(--blue);
}

.content-card a:hover,
.sidebar-card a:hover,
.faq-answer a:hover {
  color: var(--navy);
}

.sidebar-card ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.sidebar-card li {
  position: relative;
  padding-left: 1.05rem;
}

.sidebar-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.draft-banner {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245, 133, 44, 0.1), rgba(56, 113, 237, 0.08));
  border: 1px solid rgba(245, 133, 44, 0.18);
  color: var(--navy-deep);
  font-size: 0.92rem;
  line-height: 1.65;
}

.draft-label {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

.info-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.info-row {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(21, 26, 39, 0.07);
}

.info-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.info-row span {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neutral);
  margin-bottom: 0.28rem;
}

.info-row strong,
.info-row p {
  display: block;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.5rem 1.6rem;
}

.faq-question {
  display: block;
  margin-bottom: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.45;
}

.faq-answer {
  display: grid;
  gap: 0.75rem;
}

.page-links {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.page-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(56, 113, 237, 0.04);
  border: 1px solid rgba(56, 113, 237, 0.09);
  color: var(--navy-deep);
  font-weight: 600;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.page-link:hover {
  background: rgba(56, 113, 237, 0.06);
  border-color: rgba(56, 113, 237, 0.2);
  transform: translateY(-1px);
}

.page-link::after {
  content: '→';
  color: var(--blue);
  font-size: 1rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid rgba(21, 26, 39, 0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

.footer-brand img {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--neutral);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-links strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-deep);
  margin-bottom: 0.85rem;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid rgba(21, 26, 39, 0.06);
  padding: 1.25rem 0;
}

.footer-bottom span {
  font-size: 0.8rem;
  color: var(--neutral);
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Footer and CTA never hidden */
.footer,
.footer * {
  opacity: 1 !important;
  transform: none !important;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 3rem;
    gap: 2rem;
  }

  .hero-visual {
    order: 2;
  }

  .hero-slideshow {
    width: 100%;
  }

  .hero-content {
    order: 1;
    text-align: center;
    max-width: 100%;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-glow {
    width: 300px;
    height: 300px;
    top: 40%;
    right: -10%;
  }

  .slide-overlay-badge {
    font-size: 12px;
    padding: 8px 12px;
    bottom: 10px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison {
    grid-template-columns: 1fr;
  }

  .stats-bar-inner {
    gap: 0.75rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .subpage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .why-section {
    padding: 80px 16px;
  }

  .why-headline {
    font-size: 28px;
  }

  .why-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-denkfehler {
    padding: 32px 24px;
  }

  .why-denkfehler-main {
    font-size: 22px;
  }

  .why-final p {
    font-size: 22px;
  }

  .why-preview-badge {
    font-size: 12px;
    padding: 8px 12px;
    white-space: normal;
    text-align: center;
    max-width: 90%;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(21, 26, 39, 0.06);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }

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

  .nav-links a {
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
  }

  .nav .btn-sm {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .pilot-banner-inner {
    grid-template-columns: 1fr auto;
    padding: 0.45rem 0.875rem;
    align-items: start;
  }

  .pilot-banner-spacer {
    display: none;
  }

  .pilot-banner-content {
    justify-content: flex-start;
    text-align: left;
    gap: 0.55rem;
    width: 100%;
  }

  .pilot-banner-copy {
    font-size: 13px;
  }

  .pilot-banner-cta {
    white-space: normal;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .why-card,
  .comparison-col,
  .feature-card,
  .security-item,
  .automation-card,
  .cta-card {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .step {
    padding: 1.25rem 0;
  }

  .step-line {
    width: 2px;
    height: 32px;
    margin: 0;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar-inner {
    flex-direction: column;
  }

  .why-block {
    padding: 1.5rem;
  }

  .stat-item {
    width: 100%;
    max-width: 280px;
  }

  .footer-links {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .cta-card {
    padding: 3rem 1.5rem;
  }

  .trust-strip-items {
    gap: 0.75rem 1.25rem;
  }

  .subpage-hero {
    padding: 4.75rem 0 2.5rem;
  }

  .subpage-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-card,
  .faq-item {
    padding: 1.5rem;
  }

  .screenshot-frame {
    border-radius: 12px;
  }

  .screenshot-browser-bar {
    padding: 0.5rem 0.75rem;
  }

  .screenshot-url {
    font-size: 0.65rem;
  }
}

/* ---- Screenshot / Product Carousel ---- */
.screenshot-section {
  padding-bottom: 2rem;
}

.screenshot-frame {
  background: var(--bg-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 20px 60px rgba(21, 26, 39, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.screenshot-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  background: #1a1f2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.screenshot-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.screenshot-dot:nth-child(1) { background: #ff5f57; }
.screenshot-dot:nth-child(2) { background: #ffbd2e; }
.screenshot-dot:nth-child(3) { background: #28ca41; }

.screenshot-url {
  margin-left: 10px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  font-family: 'DM Sans', monospace;
  letter-spacing: 0.02em;
}

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

/* ===== PRODUCT CAROUSEL ===== */
.product-carousel {
  padding: 100px 0;
  background-color: #0a0f1e;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  position: relative;
  overflow: hidden;
}

.product-carousel .section-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5B7FFF;
  margin-bottom: 16px;
}

.product-carousel .section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 12px;
  line-height: 1.2;
}

.product-carousel .section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #94A3B8;
  margin-bottom: 64px;
}

.carousel-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}

.carousel-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.carousel-chip {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(79,70,229,0.15);
  border: 1px solid rgba(79,70,229,0.4);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #818CF8;
  letter-spacing: 0.06em;
  width: fit-content;
  transition: all 300ms ease;
}

.carousel-feature-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.25;
  margin: 0;
  transition: opacity 300ms ease;
}

.carousel-feature-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #94A3B8;
  margin: 0;
  transition: opacity 300ms ease;
}

.carousel-nav-arrows {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.carousel-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.7);
  color: #F8FAFC;
  font-size: 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.carousel-arrow:hover {
  transform: translateY(-1px);
  border-color: rgba(91, 127, 255, 0.65);
  background: rgba(30, 41, 59, 0.92);
}

.carousel-progress {
  font-size: 14px;
  font-weight: 600;
  color: #CBD5E1;
  letter-spacing: 0.04em;
}

.carousel-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.carousel-screenshot-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background:
    radial-gradient(circle at top, rgba(91, 127, 255, 0.18), transparent 52%),
    rgba(15, 23, 42, 0.92);
  box-shadow:
    0 30px 80px rgba(2, 6, 23, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  aspect-ratio: var(--app-screenshot-ratio);
}

.carousel-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel-screenshot-placeholder {
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.98));
}

.placeholder-inner {
  width: min(360px, 74%);
  display: grid;
  gap: 18px;
}

.placeholder-bar {
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(91, 127, 255, 0.2), rgba(148, 163, 184, 0.35));
}

.placeholder-bar.w80 { width: 80%; }
.placeholder-bar.w60 { width: 60%; }
.placeholder-bar.w90 { width: 90%; }
.placeholder-bar.w50 { width: 50%; }

.carousel-overlay {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.84);
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: #E2E8F0;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.carousel-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(148, 163, 184, 0.35);
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease;
}

.carousel-dot.active {
  background: #5B7FFF;
  transform: scale(1.15);
}

.carousel-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.carousel-tab {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.45);
  color: #CBD5E1;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  font-family: 'DM Sans', sans-serif;
}

.carousel-tab:hover {
  border-color: rgba(91, 127, 255, 0.55);
  color: #F8FAFC;
}

.carousel-tab.active {
  background: #5B7FFF;
  color: #F8FAFC;
  border-color: #5B7FFF;
  box-shadow: 0 10px 30px rgba(91, 127, 255, 0.28);
}

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

/* ---- Inbox Mockup ---- */
.inbox-body {
  display: flex;
  background: #f8f9fc;
  min-height: 320px;
}

.inbox-sidebar {
  width: 160px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid rgba(21, 26, 39, 0.07);
  padding: 1.25rem 0.75rem;
}

.inbox-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.inbox-nav-item {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: default;
  transition: background var(--transition), color var(--transition);
}

.inbox-nav-active {
  background: rgba(56, 113, 237, 0.08);
  color: var(--blue);
  font-weight: 600;
}

.inbox-main {
  flex: 1;
  padding: 1rem 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid rgba(21, 26, 39, 0.07);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: box-shadow var(--transition);
}

.inbox-row:hover {
  box-shadow: 0 2px 12px rgba(21, 26, 39, 0.08);
}

.inbox-row-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.inbox-sender {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-subject {
  font-size: 0.78rem;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
}

.inbox-badge {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.inbox-badge-green {
  background: rgba(52, 199, 89, 0.1);
  color: #1a9c40;
}

.inbox-badge-orange {
  background: rgba(245, 133, 44, 0.1);
  color: #c0620a;
}

.inbox-badge-blue {
  background: rgba(56, 113, 237, 0.1);
  color: var(--blue);
}

.inbox-ki {
  font-size: 0.68rem;
  color: var(--neutral);
  letter-spacing: 0.02em;
  font-style: italic;
}

.inbox-done-label {
  margin-top: auto;
  padding-top: 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: var(--neutral);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-top: 1px solid rgba(21, 26, 39, 0.06);
}

@media (max-width: 600px) {
  .pilot-banner-inner {
    padding: 0.35rem 0.75rem;
    gap: 0.5rem;
  }

  .pilot-banner-content {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.45rem;
  }

  .pilot-banner-copy {
    font-size: 13px;
  }

  .pilot-banner-cta {
    width: 100%;
    min-height: 0;
    padding: 0.4rem 0.75rem;
    font-size: 13px;
    white-space: normal;
  }

  .product-carousel {
    padding: 72px 0;
  }

  .product-carousel .section-subtitle {
    margin-bottom: 40px;
    font-size: 16px;
  }

  .carousel-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
  }

  .carousel-text {
    order: 2;
    text-align: center;
    align-items: center;
  }

  .carousel-visual {
    order: 1;
  }

  .carousel-screenshot-frame,
  .carousel-screenshot-placeholder {
    min-height: 0;
  }

  .carousel-overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
  }

  .carousel-tabs {
    gap: 0.35rem;
  }

  .carousel-tab {
    font-size: 0.75rem;
    padding: 0.55rem 0.8rem;
  }

  .inbox-sidebar {
    width: 110px;
    padding: 1rem 0.5rem;
  }

  .inbox-nav-item {
    font-size: 0.75rem;
    padding: 0.4rem 0.5rem;
  }

  .inbox-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .inbox-row-meta {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .hero-glow {
    width: min(420px, 88vw);
    height: min(420px, 88vw);
    right: -18%;
  }

  .hero-visual::before {
    width: 100%;
    height: 100%;
  }

  .why-card::after,
  .why-card-clapilot::after,
  .automation-card::after {
    inset: 12% 0 -10%;
  }

  .automation-glow {
    width: min(620px, 120vw);
    height: min(620px, 120vw);
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .slideshow-inner {
    aspect-ratio: 4 / 3;
  }
  .slideshow-container {
    padding: 8px;
    border-radius: 14px;
  }
  .slide-arrow {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  .carousel-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .carousel-text { order: 2; text-align: center; align-items: center; }
  .carousel-visual { order: 1; }
  .carousel-feature-title { font-size: 1.3rem; }
  .carousel-nav-arrows { justify-content: center; }
  .carousel-tabs { gap: 0.35rem; }
  .carousel-tab { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
}

@media (max-width: 480px) {
  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 9vw, 2.15rem);
  }

  .hero-badge,
  .hero-demo-teaser,
  .hero-sub-trust {
    font-size: 0.8rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ===== Automatisierung Section ===== */
.automation-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #fafbfc;
}

.automation-glow {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(900px, 140vw);
  height: min(900px, 140vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.automation-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.automation-headline {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 16px;
  color: #0f172a;
}

.automation-subline {
  font-size: 18px;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.automation-card {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 253, 0.94) 100%);
  color: #0f172a;
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow:
    0 24px 64px rgba(15, 23, 42, 0.09),
    0 32px 90px rgba(91, 127, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  text-align: left;
  position: relative;
  isolation: isolate;
}

.automation-card::after {
  content: "";
  position: absolute;
  inset: 12% -10% -14%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(91, 127, 255, 0.2) 0%, rgba(139, 92, 246, 0.14) 46%, transparent 76%);
  filter: blur(42px);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}

.automation-card-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.automation-timestamp {
  font-size: 14px;
  color: #7c869b;
}

.automation-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

.automation-block {
  margin-bottom: 24px;
}

.automation-block-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1f2937;
}

.automation-check {
  margin-right: 8px;
}

.automation-block-items {
  font-size: 14px;
  color: #667085;
  line-height: 1.8;
  padding-left: 8px;
}

.automation-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.22);
  margin: 16px 0;
}

.automation-card-footer {
  margin-top: 24px;
  font-size: 13px;
  color: #7c869b;
}

.automation-floating {
  position: absolute;
  font-size: 13px;
  color: rgba(59,130,246,0.15);
  font-weight: 600;
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 0;
}

.floating-1 {
  top: 25%;
  left: 8%;
  transform: rotate(-8deg) scale(0.95);
}

.floating-2 {
  bottom: 30%;
  right: 8%;
  transform: rotate(6deg) scale(1.05);
}

@media (max-width: 768px) {
  .automation-headline {
    font-size: 30px;
  }

  .automation-card {
    padding: 24px;
    border-radius: 16px;
  }

  .automation-floating {
    display: none;
  }
}

/* ===== Fullscreen Lightbox ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Hover hint on zoomable images */
.why-preview-img,
.carousel-screenshot {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-preview-img:hover,
.carousel-screenshot:hover {
  transform: scale(1.015);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.18);
}

@media (max-width: 768px) {
  .pilot-banner-copy {
    font-size: 13px;
  }

  .pilot-banner-content {
    flex-wrap: wrap;
  }

  .lightbox-img {
    max-width: 96vw;
    max-height: 85vh;
    border-radius: 10px;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero,
  .why-section,
  .section,
  .product-carousel,
  .automation-section,
  .cta-section,
  .footer,
  .subpage-hero {
    overflow-x: hidden;
  }

  .hero {
    padding: 1.5rem 1rem 2.5rem;
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .hero-sub {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-demo-teaser {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn,
  .cta-card .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .btn {
    white-space: normal;
  }

  .hero-slideshow,
  .slideshow-container,
  .slideshow-inner,
  .carousel-visual,
  .carousel-screenshot-frame,
  .automation-card {
    width: 100%;
    max-width: 100%;
  }

  .hero-glow {
    width: min(320px, 82vw);
    height: min(320px, 82vw);
    right: -22%;
  }

  .slideshow-container {
    padding: 8px;
  }

  .slide-overlay-badge {
    left: 12px;
    right: 12px;
    bottom: 12px;
    transform: none;
    max-width: none;
    white-space: normal;
    text-align: center;
    font-size: 11px;
    line-height: 1.35;
    padding: 8px 10px;
  }

  .pilot-banner-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
  }

  .pilot-banner-content {
    justify-content: flex-start;
    text-align: left;
    gap: 0.45rem;
  }

  .pilot-banner-copy {
    font-size: 12px;
    line-height: 1.4;
  }

  .pilot-banner-cta {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .section-header h2,
  .why-headline,
  .product-carousel .section-title,
  .automation-headline,
  .cta-card h2 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .section-desc,
  .carousel-feature-desc,
  .automation-subline,
  .cta-card p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .carousel-nav-arrows {
    gap: 12px;
    flex-wrap: wrap;
  }

  .carousel-progress {
    width: 100%;
    text-align: center;
  }

  .carousel-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 16px;
    text-align: center;
    white-space: normal;
  }

  .comparison-col,
  .feature-card,
  .why-card,
  .security-item,
  .automation-card,
  .cta-card {
    padding: 1rem;
  }

  .footer-inner,
  .footer-links {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
