/* ==========================================================
   Juwe Digital – Stylesheet
   ========================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f2f2f4;
  --border: rgba(0, 0, 0, 0.1);
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --text-dim: #98989d;

  --accent-1: #3a3a3c;
  --accent-2: #1d1d1f;
  --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --gradient-soft: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.03));

  /* Einheitlicher, neutraler Akzent für Dashboard & Prozess-Hintergrund:
     dasselbe dezente Grau/Schwarz wie im restlichen, hellen Design. */
  --accent-orange: var(--accent-1);
  --accent-orange-light: var(--accent-2);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-glow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 40px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { color: var(--text-muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-2px); }

.btn--small { padding: 10px 20px; font-size: 0.85rem; }
.btn--full { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.logo__img {
  height: 30px;
  width: auto;
  display: block;
}
.footer__brand .logo__img { height: 46px; }

.nav { display: flex; gap: 28px; flex-wrap: nowrap; }
.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}
.nav__link:hover { color: var(--text); }

.header__cta { margin-left: auto; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero-scroll {
  position: relative;
}

.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.05), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* Hero content is visible immediately (no scroll-gating) — this is the
   baseline for no-JS / reduced-motion. When JS is available, a short,
   purely additive fade-up plays once on load for a little polish. */
.hero-anim { opacity: 1; }

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

.hero-scroll.hero-loaded .hero-anim {
  animation: heroFadeUp 0.7s ease both;
}
.hero-scroll.hero-loaded .hero-anim--headline { animation-delay: 0.02s; }
.hero-scroll.hero-loaded .hero-anim--sub { animation-delay: 0.1s; }
.hero-scroll.hero-loaded .hero-anim--actions { animation-delay: 0.18s; }
.hero-scroll.hero-loaded .hero-anim--trust { animation-delay: 0.24s; }
.hero-scroll.hero-loaded .hero-anim--visual-left { animation-delay: 0.12s; }
.hero-scroll.hero-loaded .hero-anim--visual-right { animation-delay: 0.2s; }

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero__sub {
  margin-top: 20px;
  font-size: 1.05rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 36px;
}
.trust-points li {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
}
.trust-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

/* ---------- Mockups ---------- */
.mock-dashboard {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 50px 90px rgba(0,0,0,0.28), 0 20px 40px rgba(0,0,0,0.16), 0 8px 16px rgba(0,0,0,0.1);
}
.mock-dashboard__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--r { background: #ff5f57; }
.dot--y { background: #febc2e; }
.dot--g { background: #28c840; }
.mock-dashboard__title {
  margin-left: 6px;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
}

.mock-dashboard__body { padding: 20px; }
.mock-dashboard__body--photo { padding: 0; line-height: 0; }
.mock-dashboard__img { display: block; width: 100%; height: auto; }

.mock-phone {
  position: absolute;
  right: 24px;
  bottom: -18px;
  width: 160px;
  height: 320px;
  background: #1d1d1f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 50px 90px rgba(0,0,0,0.38), 0 20px 44px rgba(0,0,0,0.24), 0 8px 18px rgba(0,0,0,0.16);
  animation: float 5s ease-in-out infinite;
}
.mock-phone__notch {
  width: 50px; height: 6px;
  background: #000;
  border-radius: 6px;
  margin: 0 auto 8px;
}
.mock-phone__screen {
  height: calc(100% - 20px);
  border-radius: 18px;
  background: linear-gradient(160deg, #1c1c1e, #000);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mock-phone__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; background: var(--bg); transition: background 0.3s ease; }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 640px; margin-bottom: 50px; }
.section__sub { margin-top: 12px; }

.text-block { max-width: 780px; display: flex; flex-direction: column; gap: 18px; }

/* ---------- Warum Sichtbarkeit: Text + Insights-Dashboard ---------- */
.warum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.warum-grid__text .section__head { max-width: 520px; }
.warum-grid__text .text-block { max-width: 520px; }

.warum-grid__visual { position: relative; }

.insights-dashboard {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 6px;
}

.insight-card {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.insight-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 24px 55px rgba(0,0,0,0.1);
}

/* Loose, dynamic scatter like modern SaaS dashboards (Linear/Stripe style) */
.insight-card--reach { grid-column: 1 / 3; transform: rotate(-0.4deg); }
.insight-card--reach:hover { transform: translateY(-6px) scale(1.02) rotate(-0.4deg); }
.insight-card--followers { transform: rotate(0.6deg); }
.insight-card--followers:hover { transform: translateY(-6px) scale(1.02) rotate(0.6deg); }
.insight-card--engagement { transform: rotate(-0.3deg); }
.insight-card--engagement:hover { transform: translateY(-6px) scale(1.02) rotate(-0.3deg); }
.insight-card--views { grid-column: 1 / 3; }
.insight-card--content { grid-column: 1 / 3; }

.insight-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.insight-card__icon { font-size: 1rem; }
.insight-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.insight-card__value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.insight-card__trend {
  font-size: 0.76rem;
  color: var(--accent-orange);
  font-weight: 600;
}
.insight-card__chart { width: 100%; height: 46px; display: block; margin: 6px 0 10px; overflow: visible; }
.insight-card__chart--sparkline { height: 24px; margin: 8px 0; }
.insight-card__line {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  transition: stroke-dashoffset 1.1s ease;
}
.warum-grid__visual.is-visible .insight-card__line { stroke-dashoffset: 0; }

.insight-bars { display: flex; flex-direction: column; gap: 10px; }
.insight-bars li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.insight-bars li span { flex: none; width: 84px; }
.insight-bars li i {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}
.insight-bars li i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
  transition: width 1s ease;
}
.warum-grid__visual.is-visible .insight-bars li i::after { width: var(--val); }

.insight-columns {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 54px;
}
.insight-columns i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--accent-orange), var(--accent-orange-light));
  height: 0;
  opacity: 0.85;
  transition: height 0.9s ease;
}
.warum-grid__visual.is-visible .insight-columns i { height: var(--val); }

.insight-checklist { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.insight-checklist li {
  font-size: 0.82rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 22px;
}
.insight-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: 700;
}

.insights-dashboard__disclaimer {
  grid-column: 1 / 3;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ---------- Problem / Solution ---------- */
.problem-solution {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.problem-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.problem-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
  font-size: 0.98rem;
}
.problem-list li::before {
  content: "✕";
  position: absolute;
  left: 0; top: 0;
  color: #e5484d;
  font-size: 0.85rem;
}

.solution-card {
  background: var(--gradient-soft);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.solution-card__text {
  color: var(--text);
  font-size: 1.05rem;
  margin: 16px 0 26px;
}

/* ---------- Cards Grid (Leistungen): zwei gleichmäßige Dreierreihen ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover,
.card.reveal:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.card__icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--gradient-soft);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.92rem; }

/* ---------- Benefits grid (zentrierte Karten mit Rundmedaillon – bewusst
   anders als die linksbündigen Leistungs-Karten) ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover,
.benefit-card.reveal:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.benefit-card__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.benefit-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.benefit-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover,
.pricing-card.reveal:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.pricing-card--highlight {
  background: linear-gradient(180deg, rgba(0,0,0,0.035), var(--surface) 40%);
  border: 2px solid #1d1d1f;
  transform: scale(1.03);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.05), var(--shadow-glow);
}
.pricing-card--highlight:hover,
.pricing-card--highlight.reveal:hover {
  transform: translateY(-6px) scale(1.05);
}

.pricing-card__badge {
  position: absolute;
  top: -13px; left: 28px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.pricing-card__desc { margin: 10px 0 22px; font-size: 0.9rem; }

.pricing-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  flex: 1;
}
.pricing-card__list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.pricing-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
}
.pricing-card__list li strong { color: var(--text); font-weight: 700; }

.pricing-card__price {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: var(--text);
}

.pricing-note {
  margin-top: 28px;
  padding: 26px 30px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px dashed var(--border);
  text-align: center;
}
.pricing-note h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}
.pricing-note p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 18px;
}

/* ---------- Process (premium, animated background) ---------- */
.process-section {
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
  isolation: isolate;
}

.process-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
}

.process-bg__blob {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.045), rgba(0, 0, 0, 0) 70%);
  filter: blur(60px);
  will-change: transform;
}
.process-bg__blob--1 {
  top: -180px;
  left: -120px;
  animation: blobDrift1 26s ease-in-out infinite alternate;
}
.process-bg__blob--2 {
  bottom: -220px;
  right: -140px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.035), rgba(0, 0, 0, 0) 70%);
  animation: blobDrift2 30s ease-in-out infinite alternate;
}
.process-bg__blob--3 {
  top: 30%;
  left: 40%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0) 70%);
  animation: blobDrift3 22s ease-in-out infinite alternate;
}

@keyframes blobDrift1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(90px, 60px) scale(1.12); }
}
@keyframes blobDrift2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, -50px) scale(1.08); }
}
@keyframes blobDrift3 {
  0% { transform: translate(-40px, -20px) scale(0.95); }
  100% { transform: translate(50px, 40px) scale(1.1); }
}

.process-bg__grid {
  position: absolute;
  inset: -1px;
  background-image:
    repeating-linear-gradient(to right, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 64px);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9), transparent 75%);
}

.process-bg__noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.process-bg__glow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle 380px at var(--gx, 50%) var(--gy, 40%), rgba(0, 0, 0, 0.06), transparent 70%);
  transition: opacity 0.4s ease;
  opacity: 0;
}
.process-section:hover .process-bg__glow { opacity: 1; }

.process-section .container { position: relative; z-index: 1; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.process-step {
  padding: 28px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover,
.process-step.reveal:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 16px 44px rgba(0,0,0,0.1);
}
.process-step__num {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.process-step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.process-step p { font-size: 0.88rem; }

@media (prefers-reduced-motion: reduce) {
  .process-bg__blob { animation: none; }
  .process-bg__glow { display: none; }
}

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.why-item {
  padding: 26px 24px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.why-item:hover,
.why-item.reveal:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.why-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.why-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}
.about__text p { margin-top: 16px; }

.about__visual { position: relative; display: flex; justify-content: center; }
.mock-badge {
  width: 100%;
  max-width: 300px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.mock-badge--floating {
  position: absolute;
  left: -32px;
  bottom: -28px;
  max-width: 220px;
  padding: 24px 20px;
  text-align: left;
  background: var(--surface);
}
.mock-badge__logo {
  display: block;
  width: 84px;
  height: auto;
  margin: 0 auto 18px;
}
.mock-badge--floating .mock-badge__logo { width: 64px; margin: 0 0 12px; }
.mock-badge__name { display: block; font-weight: 700; font-size: 1.05rem; }
.mock-badge--floating .mock-badge__name { font-size: 0.88rem; }
.mock-badge__tag { display: block; margin-top: 8px; font-size: 0.8rem; color: var(--text-dim); }
.mock-badge--floating .mock-badge__tag { font-size: 0.7rem; }

/* ---------- Photo placeholders (swap for real <img> once assets arrive) ---------- */
.photo-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  margin: 0;
}
.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-frame__icon { font-size: 1.8rem; opacity: 0.55; }
.photo-frame__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.photo-frame__caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 12, 9, 0.55);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.photo-frame--portrait {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 340px;
}

/* Cinematic zoom-in reveal for photo elements instead of a plain fade */
.photo-frame.reveal {
  transform: scale(1.06);
}
.photo-frame.reveal.is-visible {
  transform: scale(1);
}

/* ---------- Flythrough (normal vertical scroll, cards zoom into focus) ---------- */
.flythrough-head { max-width: 640px; margin-bottom: 50px; }
.flythrough-head .section__sub { max-width: 560px; }

.flythrough-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.flythrough-frame {
  position: relative;
  aspect-ratio: 4 / 2.6;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.flythrough-frame:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.flythrough-frame__media {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-dim);
  overflow: hidden;
}
.flythrough-frame__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}
/* Intuitive zoom-in: the photo sits at its normal size by default and
   zooms in further, in addition to the card lifting, on hover. */
.flythrough-frame:hover .flythrough-frame__media img {
  transform: scale(1.12);
}


.flythrough-frame__caption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(10, 8, 6, 0.82), transparent 85%);
}
.flythrough-frame__caption h3 { color: #fff; font-size: 0.95rem; margin-bottom: 3px; }
.flythrough-frame__caption p { color: rgba(255,255,255,0.78); font-size: 0.76rem; line-height: 1.35; }

/* ---------- CTA ---------- */
.cta {
  padding: 120px 0;
  background: #0b0b0b;
  position: relative;
  overflow: hidden;
}

/* Endlos-Marquee mit dem Juwe-Logo im Hintergrund: zwei identische
   Gruppen nebeneinander, die per transform um genau eine Gruppenbreite
   verschoben werden – dadurch entsteht ein nahtloser Loop. */
.cta-marquee {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  opacity: 0.16;
  pointer-events: none;
}
.cta-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ctaMarquee 34s linear infinite;
}
.cta-marquee__group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  flex: none;
}
.cta-marquee__logo {
  height: 42px;
  width: auto;
  flex: none;
  display: block;
}
@keyframes ctaMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-marquee__track { animation: none; }
}

.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,0.85); margin: 16px 0 30px; }
.cta .btn--primary {
  background: #fff;
  color: var(--accent-1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.cta .btn--primary:hover { color: #000; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group[hidden] { display: none; }
.form-group label { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-2);
}
.form-group textarea { resize: vertical; }

.form-group--honeypot {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--accent-2);
  min-height: 1.2em;
}
.form-note:not(:empty) {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  animation: formNoteIn 0.35s ease both;
}
@keyframes formNoteIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .form-note:not(:empty) { animation: none; }
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info__item { display: flex; flex-direction: column; gap: 4px; }
.contact-info__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); }
.contact-info__item a { font-weight: 600; }
.contact-info__socials { display: flex; gap: 16px; margin-top: 6px; }
.contact-info__socials a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-2);
}

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 60px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer__brand p { margin-top: 14px; font-size: 0.85rem; }
.footer__col h4 { font-size: 0.85rem; margin-bottom: 16px; color: var(--text); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.2s ease; }
.footer__col a:hover { color: var(--accent-2); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer__bottom p { font-size: 0.8rem; color: var(--text-dim); }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.75);
  backdrop-filter: blur(4px);
}
.modal__panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 620px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}
.modal__panel h2 { margin-bottom: 18px; }
.modal__panel h3 { font-size: 1.02rem; margin: 22px 0 8px; }
.modal__panel h3:first-of-type { margin-top: 4px; }
.modal__panel p { margin-bottom: 14px; font-size: 0.92rem; }
.modal__panel ul { margin: 0 0 14px 0; display: flex; flex-direction: column; gap: 6px; }
.modal__panel ul li { font-size: 0.9rem; color: var(--text-muted); padding-left: 16px; position: relative; }
.modal__panel ul li::before { content: "–"; position: absolute; left: 0; }
.modal__hint { font-size: 0.78rem; color: var(--text-dim); font-style: italic; }
.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 40px; }
  .warum-grid { grid-template-columns: 1fr; gap: 40px; }
  .warum-grid__text .section__head,
  .warum-grid__text .text-block { max-width: 640px; }
  .problem-solution { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--highlight { transform: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__visual { order: -1; margin-bottom: 24px; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .flythrough-track { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 16px;
  }

  .hero-stage { min-height: auto; padding: 130px 0 70px; }
  .hero__visual { min-height: auto; margin-top: 36px; }
  .hero__actions { flex-direction: column; gap: 12px; }
  .hero__actions .btn {
    width: 100%;
    padding: 17px 26px;
    font-size: 1.02rem;
  }
  .hero__actions .btn--primary {
    animation: heroCtaPulse 2.2s ease-in-out infinite;
  }
  @keyframes heroCtaPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
    50% { box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 0 7px rgba(0,0,0,0.07); }
  }
  .section { padding: 70px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .insights-dashboard { grid-template-columns: 1fr; }
  .insight-card--reach, .insight-card--views, .insight-card--content { grid-column: 1; }
  .insights-dashboard__disclaimer { grid-column: 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .mock-phone {
    width: 118px;
    height: 236px;
    right: 10px;
    bottom: -14px;
    padding: 8px;
  }
  .mock-phone__notch { width: 38px; margin-bottom: 6px; }
  .flythrough-track { grid-template-columns: 1fr; }
  .flythrough-frame { aspect-ratio: 4 / 3; }
  .flythrough-frame__caption { padding: 18px 20px; }
  .mock-badge--floating { position: static; margin-top: 16px; max-width: 100%; }
  .cta__inner .btn {
    width: 100%;
    white-space: normal;
    padding: 16px 22px;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll.hero-loaded .hero-anim { animation: none; opacity: 1; transform: none; }
  .flythrough-frame__media img { transition: none; transform: none; }
  .insight-card__line { transition: none; stroke-dashoffset: 0; }
  .insight-bars li i::after { transition: none; width: var(--val); }
  .insight-columns i { transition: none; height: var(--val); }
  .hero__actions .btn--primary { animation: none; }
}
