/* ==========================================================================
   Sections — V4 Ultimate
   ========================================================================== */

/* ==========================================================================
   Keyframes (from component-test)
   ========================================================================== */

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ==========================================================================
   Hero (component-test design — centered, word animation, marquee)
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-height) var(--space-4) 0;
  padding-bottom: 14vh;
}

/* Ambient pulsing red glow */
.hero::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(209,0,0,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: pulseGlow 6s ease-in-out infinite;
}

/* Noise overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero::before { width: 900px; height: 900px; }
}
@media (max-width: 640px) {
  .hero::before { width: 400px; height: 400px; }
}

.hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Tagline pill */
.hero__tagline {
  display: inline-block;
  margin-bottom: 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  padding: 8px 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  animation: fadeSlideUp 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

/* Title with word animation */
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--foreground);
  max-width: 900px;
}

.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

.hero__title .word--accent {
  background: linear-gradient(135deg, #ff4444, #d10000, #ff2222);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeSlideUp 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards, shimmer 4s ease-in-out infinite;
}

.hero__description {
  margin-top: 24px;
  max-width: 720px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
  text-shadow: 0 2px 16px rgba(0,0,0,0.8);
  opacity: 0;
  animation: fadeIn 0.6s ease-out 0.5s forwards;
}

@media (max-width: 640px) {
  .hero__description { font-size: 0.9375rem; }
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
  justify-content: center;
  opacity: 0;
  animation: fadeIn 0.5s ease-out 0.6s forwards;
}

/* Social proof under hero CTAs */
.hero__proof {
  margin-top: var(--space-6);
  opacity: 0;
  animation: fadeIn 0.5s ease-out 0.8s forwards;
}

.hero__proof-text {
  font-size: var(--text-sm);
  color: var(--muted);
}

/* Summary Banner with background image */
.summary-banner {
  position: relative;
  overflow: hidden;
  padding: var(--space-16) 0;
  background-color: #111;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}
.summary-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--background) 0%, rgba(5,5,7,0.55) 30%, rgba(5,5,7,0.55) 70%, var(--background) 100%);
}
.summary-banner__content { position: relative; z-index: 1; }
.hero__summary {
  max-width: 640px;
  margin: 0 auto;
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1.5;
  color: var(--foreground);
  text-align: center;
}
.text-accent { color: var(--primary); font-weight: 700; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-3);
}

.hero__badge {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--foreground);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
}

/* Marquee */
.hero__marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(160px, 25vh, 280px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 10%, rgba(0,0,0,0.8) 25%, black 40%, black 72%, rgba(0,0,0,0.6) 85%, rgba(0,0,0,0.25) 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 10%, rgba(0,0,0,0.8) 25%, black 40%, black 72%, rgba(0,0,0,0.6) 85%, rgba(0,0,0,0.25) 94%, transparent 100%);
}
.hero__marquee::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--background) 0%, transparent 8%, transparent 92%, var(--background) 100%);
  pointer-events: none;
  z-index: 1;
}
@media (min-width: 768px) {
  .hero__marquee { height: clamp(200px, 30vh, 320px); }
}

.hero__track {
  display: flex;
  gap: 20px;
  animation: marqueeScroll 40s linear infinite;
}
.hero__slide {
  position: relative;
  flex-shrink: 0;
  width: 140px;
  height: 248px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.06);
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.views-badge {
  position: absolute;
  bottom: 10px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 0 8px rgba(0,0,0,0.5);
}
.views-badge svg { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6)); }
@media (min-width: 768px) {
  .hero__slide { width: 160px; height: 284px; }
  .views-badge { font-size: 0.75rem; }
}
/* Breite + flache Screens (Laptops): Badge höher, damit Mask es nicht abschneidet */
@media (min-width: 768px) and (max-height: 820px) {
  .views-badge { bottom: 30%; }
}
@media (max-width: 640px) {
  .hero__slide { width: 112px; height: 200px; }
  .views-badge { font-size: 0.6rem; bottom: 6px; left: 6px; }
}

/* ==========================================================================
   Social Proof Bar
   ========================================================================== */

.proof-bar {
  background: var(--bg-elevated);
  padding-block: var(--space-10);
  border-top: 1px solid var(--border-visible);
  border-bottom: 1px solid var(--border-visible);
}
.proof-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); text-align: center;
}
@media (min-width: 768px) { .proof-grid { grid-template-columns: repeat(4, 1fr); } }
.proof-item { display: flex; flex-direction: column; gap: var(--space-1); }
.proof-number { font-size: clamp(1.75rem, 3vw, 2rem); font-weight: 800; color: var(--primary); line-height: 1.2; }
.proof-label { font-size: var(--text-sm); color: var(--muted); line-height: 1.4; }

/* ==========================================================================
   Problem Agitation
   ========================================================================== */

.problem-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-6); margin-top: var(--space-12);
}
@media (min-width: 1024px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }
.problem-card .icon-box { margin-bottom: var(--space-4); }
.problem-card h3 { font-size: var(--text-md); font-weight: 700; margin-bottom: var(--space-3); color: var(--foreground); }
.problem-card p { color: var(--muted); line-height: 1.6; }
.bridge-text {
  max-width: 640px; margin: var(--space-12) auto 0; text-align: center;
  font-size: var(--text-md); font-weight: 600; line-height: 1.5; color: var(--foreground);
}

/* Photo Gallery - scattered screenshots */
.photo-gallery {
  margin-top: var(--space-12);
  padding: var(--space-8) 0;
  overflow: hidden;
}
.photo-gallery__track {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  position: relative;
}
.photo-gallery__item {
  flex-shrink: 0;
  width: 180px;
  transform: rotate(var(--rotation, 0deg)) translateY(var(--y, 0px));
  transition: transform 0.3s ease;
  cursor: grab;
}
.photo-gallery__item:hover {
  transform: rotate(0deg) translateY(0px) scale(1.08);
  z-index: 10;
}
.photo-gallery__placeholder {
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-visible);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.photo-gallery__placeholder span {
  color: var(--primary);
  font-weight: 700;
}
.photo-gallery__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  border: 1px solid var(--border-visible);
}
.photo-gallery__card img {
  display: block;
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}
.photo-gallery__card .gallery-views {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 0 8px rgba(0,0,0,0.5);
  line-height: 1;
}
@media (max-width: 767px) {
  .photo-gallery__track { gap: var(--space-2); }
  .photo-gallery__item { width: 120px; }
  .photo-gallery__item:nth-child(4),
  .photo-gallery__item:nth-child(5) { display: none; }
}

/* ==========================================================================
   Differentiation / Comparison (from V3)
   ========================================================================== */

.comparison-headline-sub {
  font-size: var(--text-xs); font-weight: 600; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.comparison-intro {
  max-width: 560px; margin: 0 auto var(--space-8); text-align: center;
  font-size: var(--text-sm); line-height: 1.6;
}
.comparison { margin-top: var(--space-12); }
.comparison-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4);
  padding-bottom: var(--space-4); border-bottom: 1px solid var(--border-visible); margin-bottom: var(--space-2);
}
.comparison-header-label { font-size: var(--text-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.comparison-header-label--dim { color: var(--dimmed); }
.comparison-header-label--bright { color: var(--primary); }
.comparison-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4);
  padding: var(--space-4) 0; border-bottom: 1px solid var(--border-visible);
}
.comparison-cell { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-sm); line-height: 1.5; }
.comparison-cell--dim { color: var(--dimmed); }
.comparison-cell--bright { color: var(--foreground); font-weight: 500; }
.comparison-icon { flex-shrink: 0; margin-top: 1px; }
.comparison-icon svg { width: 18px; height: 18px; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.comparison-icon--x svg { stroke: var(--dimmed); }
.comparison-icon--check svg { stroke: var(--primary); }
@media (max-width: 767px) {
  .comparison-header { display: none; }
  .comparison-row { grid-template-columns: 1fr; gap: var(--space-3); }
  .comparison-cell--dim::before { content: 'Typisch: '; font-weight: 600; color: var(--dimmed); }
  .comparison-cell--bright::before { content: 'FUTRIZE: '; font-weight: 700; color: var(--primary); }
}

/* ==========================================================================
   Methodology Timeline (from V2 copy + V3 visual)
   ========================================================================== */

.timeline { position: relative; margin-top: var(--space-12); }
.timeline::before {
  content: ''; position: absolute; top: 0; left: 23px; bottom: 0;
  width: 2px; background: var(--primary); opacity: 0.3;
}
@media (min-width: 1024px) { .timeline::before { left: 50%; transform: translateX(-50%); } }

.timeline-step { position: relative; display: flex; gap: var(--space-6); padding-bottom: var(--space-12); }
.timeline-step:last-child { padding-bottom: 0; }
@media (min-width: 1024px) {
  .timeline-step { width: 50%; padding-right: var(--space-12); }
  .timeline-step:nth-child(even) {
    margin-left: 50%; padding-right: 0; padding-left: var(--space-12);
    flex-direction: row-reverse; text-align: right;
  }
}

.timeline-number {
  width: 48px; height: 48px; min-width: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-glow); border: 2px solid var(--primary);
  color: var(--primary); font-weight: 800; font-size: var(--text-md); z-index: 1;
}
.timeline-content h3 { font-size: var(--text-md); font-weight: 700; margin-bottom: var(--space-3); color: var(--foreground); }
.timeline-content p { color: var(--muted); line-height: 1.7; }

.callout-highlight { color: var(--primary); font-weight: 800; }
.callout-box {
  border-left: 3px solid var(--primary); margin-top: var(--space-12);
  padding: var(--space-6) var(--space-8); background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-size: var(--text-md); font-weight: 600; line-height: 1.5; color: var(--foreground);
}

/* ==========================================================================
   DCS Studio Showcase
   ========================================================================== */

.features-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-6); margin-top: var(--space-12);
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-block { display: flex; gap: var(--space-4); }
.feature-block h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-2); color: var(--foreground); }
.feature-block p { font-size: var(--text-sm); color: var(--muted); line-height: 1.6; }
/* Browser window frame */
.browser-frame {
  background: var(--surface);
  border: 1px solid var(--border-visible);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #0e0e0e;
  border-bottom: 1px solid var(--border-visible);
}
.browser-frame__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a2a2a;
}
.browser-frame__dot:first-child { background: #ff5f57; }
.browser-frame__dot:nth-child(2) { background: #febc2e; }
.browser-frame__dot:nth-child(3) { background: #28c840; }
.browser-frame__url {
  margin-left: 12px;
  font-size: 0.7rem;
  color: var(--dimmed);
  letter-spacing: 0.02em;
}
.browser-frame__viewport { line-height: 0; }
.browser-frame__viewport img {
  width: 100%;
  height: auto;
  display: block;
}
.browser-frame--compact .browser-frame__bar { padding: 8px 12px; }
.browser-frame--compact .browser-frame__dot { width: 8px; height: 8px; }
@media (max-width: 480px) {
  .browser-frame__url { display: none; }
}

/* Studio Showcase layout — 3-column overlapping row */
.studio-showcase {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: end;
}
.studio-showcase__dashboard { z-index: 1; }
.studio-showcase__script { z-index: 2; }
.studio-showcase__mobile { z-index: 3; }
.mockup-phone.mockup-phone--studio {
  width: 110px;
  height: auto;
  margin: 0 auto;
}
.mockup-phone.mockup-phone--studio .mockup-screen {
  height: auto;
}
.mockup-phone.mockup-phone--studio .mockup-screen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}
@media (min-width: 768px) {
  .studio-showcase {
    grid-template-columns: 55% 1fr auto;
    gap: 0;
  }
  .studio-showcase__script {
    margin-left: -24px;
  }
  .studio-showcase__mobile {
    margin-left: -16px;
  }
}
@media (min-width: 1024px) {
  .studio-showcase__script {
    margin-left: -32px;
  }
  .studio-showcase__mobile {
    margin-left: -20px;
  }
  .mockup-phone.mockup-phone--studio {
    width: 120px;
  }
}

/* ==========================================================================
   Transformation (V2 exclusive — best emotional section)
   ========================================================================== */

/* Team Section */
.team-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-6); margin-top: var(--space-12);
}
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { text-align: center; }
.team-avatar {
  width: 110px; height: 110px; margin: 0 auto var(--space-4);
  border-radius: 50%; overflow: hidden;
  border: 2px solid var(--primary);
}
.team-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.team-role {
  display: block; font-size: var(--text-sm); color: var(--primary);
  font-weight: 600; margin-bottom: var(--space-3);
}
.team-card h3 { font-size: var(--text-md); font-weight: 700; margin-bottom: var(--space-2); color: var(--foreground); }
.team-card p { color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   Case Studies
   ========================================================================== */

/* Reduce top padding on case studies section */
#ergebnisse { padding-top: var(--space-8); }

/* Reduce bottom padding on team to tighten gap to pricing */
#team { padding-bottom: var(--space-6); }

.case-study-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-6); margin-top: var(--space-12);
}
@media (min-width: 768px) { .case-study-grid { grid-template-columns: repeat(2, 1fr); align-items: center; } }
@media (min-width: 768px) { .case-study-grid--reverse .case-study-mockup { order: -1; } }
.case-study-card .case-metric { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; color: var(--primary); margin-bottom: var(--space-2); line-height: 1.2; }
.case-study-card .case-tag { font-size: var(--text-sm); color: var(--primary); font-weight: 600; margin-bottom: var(--space-4); }
.case-study-card h3 { font-size: var(--text-md); font-weight: 700; margin-bottom: var(--space-3); color: var(--foreground); }
.case-study-card p { color: var(--muted); line-height: 1.6; }
/* Case Study Mockup (right column) */
.case-study-mockup {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
}
@media (min-width: 768px) {
  .case-study-mockup { justify-content: center; }
}
.mockup-phone {
  width: 160px; height: 280px; background: var(--surface); border: 2px solid var(--border-visible);
  border-radius: 22px; padding: 10px; position: relative; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.mockup-phone::before {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 6px; background: var(--border-visible); border-radius: 3px;
}
.mockup-screen {
  width: 100%; height: 100%; border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.mockup-placeholder {
  width: 100%; height: 100%; background: rgba(209,0,0,0.05); border: 1px dashed rgba(209,0,0,0.2);
  border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--dimmed); font-size: 0.75rem;
}
.mockup-placeholder svg { opacity: 0.5; }
.mockup-screenshots {
  display: flex; gap: var(--space-3); justify-content: center;
}
.mockup-placeholder--sm {
  width: 80px; height: 120px; border-radius: var(--radius-sm); font-size: 0.65rem;
}
.mockup-thumb {
  width: 70px; height: 105px; border-radius: var(--radius-sm); object-fit: cover;
  border: 1px solid var(--border-visible); box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* Stacked mockup with analytics overlay */
.mockup-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-4) var(--space-8);
}
.mockup-stack .mockup-phone {
  position: relative;
  z-index: 2;
}
/* Portrait analytics card (e.g. Reichweite insights) */
.mockup-stack__bg--left {
  position: absolute;
  width: 130px;
  height: 180px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius);
  border: 1px solid var(--border-visible);
  box-shadow: var(--shadow-md);
  z-index: 1;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  left: -42px;
  transform: rotate(-6deg) translateY(-8px);
}
/* Analytics snippet — overlays bottom-right */
.mockup-stack__bg--right {
  position: absolute;
  bottom: var(--space-2);
  right: 0;
  width: 180px;
  max-height: 120px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-visible);
  box-shadow: var(--shadow-md);
  z-index: 3;
  opacity: 0.9;
  transform: rotate(2deg);
  transition: opacity 0.3s ease;
}
.mockup-stack:hover .mockup-stack__bg--left,
.mockup-stack:hover .mockup-stack__bg--right {
  opacity: 1;
}
@media (max-width: 767px) {
  .mockup-stack__bg--left {
    width: 80px;
    height: 140px;
  }
  .mockup-stack__bg--right {
    width: 150px;
  }
}

/* ==========================================================================
   Pricing (V2 copy — best in class)
   ========================================================================== */

.pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-6);
  margin-top: var(--space-12); align-items: start; max-width: 900px; margin-inline: auto;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }

.pricing-card {
  background: var(--surface); border: 1px solid var(--border-visible);
  border-radius: var(--radius); padding: var(--space-8) var(--space-6);
}
@media (min-width: 640px) { .pricing-card { padding: var(--space-10); } }
.pricing-card.featured { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.pricing-title { font-size: var(--text-md); font-weight: 700; margin-bottom: var(--space-2); }
.pricing-desc { font-size: var(--text-sm); color: var(--muted); margin-bottom: var(--space-6); }
.price { font-size: var(--text-2xl); font-weight: 800; color: var(--foreground); }
.price-period { font-size: var(--text-sm); color: var(--muted); font-weight: 400; }
.pricing-features { margin-top: var(--space-6); margin-bottom: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.pricing-feature {
  display: flex; align-items: flex-start; gap: var(--space-3);
  color: var(--muted); line-height: 1.5; font-size: var(--text-sm);
}
.pricing-feature svg {
  width: 18px; height: 18px; stroke: var(--primary); fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0; margin-top: 2px;
}
.pricing-note { margin-top: var(--space-4); color: var(--muted); font-size: var(--text-sm); line-height: 1.6; }
.pricing-urgency {
  margin-top: var(--space-4); text-align: center;
  font-size: var(--text-sm); font-weight: 600; color: var(--primary);
}
.pricing-anchor {
  max-width: 700px; margin: var(--space-12) auto 0; text-align: center;
  color: var(--muted); font-size: var(--text-sm); line-height: 1.7;
  padding: var(--space-6); border: 1px solid var(--border-visible);
  border-radius: var(--radius); background: var(--bg-elevated);
}

/* ==========================================================================
   Customer Path / Process
   ========================================================================== */

.process-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-6); margin-top: var(--space-12);
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-8); position: relative; } }
.process-step { text-align: center; }
.process-number {
  width: 56px; height: 56px; margin: 0 auto var(--space-4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-glow); border: 2px solid var(--primary);
  color: var(--primary); font-weight: 800; font-size: var(--text-md);
}
.process-step h3 { font-size: var(--text-md); font-weight: 700; margin-bottom: var(--space-3); color: var(--foreground); }
.process-step p { color: var(--muted); line-height: 1.6; font-size: var(--text-sm); }
@media (min-width: 768px) {
  .process-step { position: relative; }
  .process-step:not(:last-child)::after {
    content: ''; position: absolute; top: 28px; right: calc(-1 * var(--space-4));
    width: var(--space-8); height: 2px; background: var(--border-visible);
  }
}

/* ==========================================================================
   Final CTA (with Calendly embed from V2)
   ========================================================================== */

.final-cta {
  text-align: center; position: relative; padding-block: var(--space-32);
}
.final-cta::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 260px;
  background: radial-gradient(ellipse at center top, rgba(209,0,0,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta .headline-section { margin-bottom: var(--space-4); }
.final-cta .subheadline { margin-inline: auto; margin-bottom: var(--space-8); }

/* ==========================================================================
   Image Divider (Phone Mockup)
   ========================================================================== */

.image-divider {
  padding: var(--space-16) 0;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.image-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-visible);
}
.image-divider__inner {
  position: relative;
  z-index: 1;
}
.image-divider__phone {
  width: 220px;
  height: 440px;
  background: var(--surface);
  border: 2px solid var(--border-visible);
  border-radius: 32px;
  padding: 14px;
  position: relative;
  box-shadow: 0 16px 64px rgba(0,0,0,0.5), 0 0 80px rgba(209,0,0,0.08);
}
.image-divider__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 7px;
  background: var(--border-visible);
  border-radius: 4px;
}
.image-divider__screen {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.image-divider__placeholder {
  width: 100%;
  height: 100%;
  background: rgba(209,0,0,0.04);
  border: 1px dashed rgba(209,0,0,0.2);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--dimmed);
  font-size: var(--text-sm);
  font-weight: 600;
}
@media (max-width: 767px) {
  .image-divider { padding: var(--space-10) 0; }
  .image-divider__phone { width: 180px; height: 360px; }
}


.calendly-wrapper { max-width: var(--container-narrow); margin: var(--space-8) auto 0; }
.calendly-inline-widget { border-radius: var(--radius-lg); overflow: hidden; }
.calendly-inline-widget,
.calendly-inline-widget iframe { background: transparent !important; }

/* Calendly Skeleton — sichtbar via :empty solange widget.js das iframe noch nicht injiziert hat.
   Sobald Calendly das iframe anh&auml;ngt, matcht :empty nicht mehr und der Skeleton verschwindet automatisch. */
.calendly-inline-widget:empty {
  background: #0a0a0e !important;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: block;
}
.calendly-inline-widget:empty::before {
  content: 'Kalender wird geladen\2026';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  z-index: 1;
}
.calendly-inline-widget:empty::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  animation: calendly-skeleton-shimmer 1.6s infinite;
  will-change: transform;
  z-index: 2;
}
@keyframes calendly-skeleton-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .calendly-inline-widget:empty::after { animation: none; opacity: 0.5; }
}

/* 2-Spalten-Layout f&uuml;r Calendly + Kontaktformular (Home only) */
.cta-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
  max-width: var(--container);
  margin: var(--space-8) auto 0;
}
.cta-split-grid .calendly-wrapper { max-width: none; margin: 0; }
.cta-split-grid .contact-form-wrapper { max-width: none; margin: 0; height: 100%; }
@media (max-width: 1023px) {
  .cta-split-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ==========================================================================
   Contact Form (Home)
   ========================================================================== */
.contact-form-wrapper {
  max-width: var(--container-narrow); margin: var(--space-12) auto 0;
  padding: var(--space-8);
  background: var(--surface); border: 1px solid var(--border-visible);
  border-radius: var(--radius-lg);
}
.contact-form-wrapper h3 {
  font-size: var(--text-md); font-weight: 700; margin-bottom: var(--space-2);
}
.contact-form-wrapper .dimmed { margin-bottom: var(--space-6); }
.contact-form { display: grid; gap: var(--space-4); }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 640px) { .contact-form__row { grid-template-columns: 1fr; } }
.contact-form label {
  display: block; font-size: var(--text-sm); color: var(--muted);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 12px 14px;
  background: var(--bg-elevated); color: var(--foreground);
  border: 1px solid var(--border-visible); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: var(--text-base);
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--primary);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form__actions { display: flex; justify-content: flex-end; }

/* ==========================================================================
   Client Logo Row (Home) - statisch
   ========================================================================== */
.logo-marquee {
  padding: var(--space-8) 0;
  border-block: 1px solid var(--border-visible);
  background: var(--bg-elevated);
}
.logo-marquee__track {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--space-8) var(--space-10);
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--space-5);
}
.logo-marquee__item {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  height: 28px;
}
.logo-marquee__item img {
  max-height: 28px; max-width: 130px; width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.6);
  opacity: 0.55;
  transition: opacity var(--transition), filter var(--transition);
}
.logo-marquee__item img:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

/* ==========================================================================
   Services Grid (Home - 360 Leistungen)
   ========================================================================== */
.services-grid {
  display: grid; gap: var(--space-6);
  grid-template-columns: 1fr;
  margin-top: var(--space-12);
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border-visible);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}
.service-card__media {
  aspect-ratio: 16/9;
  background: var(--bg-elevated);
  overflow: hidden;
  position: relative;
}
.service-card__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.service-card__body {
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3);
  flex: 1;
}
.service-card__body h3 {
  font-size: var(--text-md); font-weight: 700; color: var(--foreground);
}
.service-card__body p {
  color: var(--muted); font-size: var(--text-sm); line-height: 1.6;
  flex: 1;
}
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: var(--text-sm); font-weight: 600;
  text-decoration: none; margin-top: var(--space-2);
}
.service-card__link:hover { text-decoration: underline; }
.service-card__link svg {
  width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5;
  transition: transform var(--transition);
}
.service-card__link:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Reviews Grid (Home - Google Reviews)
   ========================================================================== */
.reviews-grid {
  display: grid; gap: var(--space-5);
  grid-template-columns: 1fr;
  margin-top: var(--space-12);
}
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

.review-card {
  background: var(--surface); border: 1px solid var(--border-visible);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.review-card:hover {
  transform: translateY(-2px);
  border-color: rgba(209, 0, 0, 0.3);
}
.review-card img {
  width: 100%; height: auto; display: block;
}

/* ==========================================================================
   Partner Logos (Home) - weiße Cards damit dunkle Logos sichtbar sind
   ========================================================================== */
.partner-logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--space-6); align-items: stretch;
  margin-top: var(--space-10);
}
.partner-logos__card {
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-5) var(--space-6);
  background: #ffffff;
  border-radius: var(--radius);
  min-width: 180px; min-height: 100px;
  transition: transform var(--transition);
}
.partner-logos__card:hover { transform: translateY(-2px); }
.partner-logos__card img {
  max-height: 60px; max-width: 160px;
  width: auto; height: auto;
  object-fit: contain;
}
