@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* ==========================================================================
   JP Management - Site Design System (jp-site.css)
   Original, semantic component classes. Written from scratch for the 2026
   redesign. Mobile-aware, system font stack, no webfonts, no build step.

   2026-07-22 visual-parity pass: the page now reproduces the look of the
   classic JP landing (measured values, re-expressed entirely in this
   design system): fixed pastel glow layer behind the whole page, frosted
   full-width nav, soft tri-gradient pill buttons with glow + pulse,
   full-viewport hero with free-standing rounded video, glass cards with a masked
   white rim, dark chat panel, 2x2 what-we-do panel, two floating compare
   cards, three step cards, photo-backed closing CTA and a floating glass
   footer card. Scroll-reveal animations stay ON TOP of that look.

   Brand tokens: the established JP pastel pink/blue pair.

   Component inventory (one class family per block):
     .jp-nav        full-width frosted navigation strip + .jp-drawer menu
     .jp-hero       full-viewport hero (copy + video)
     .jp-section    vertical rhythm wrapper (+ .jp-section-alt, transparent)
     .jp-statement  large standalone statement text (centered)
     .jp-card       glass content card (+ .jp-card-icon / .jp-num)
     .jp-grid       responsive grids (.jp-grid-2/-3, .jp-grid-4 = 2x2 panel)
     .jp-band       transparent full-height call-out (sticky text)
     .jp-case       case-study glass card (steps left, video pair right)
     .jp-banner     dark glass stats/video showcase panel
     .jp-compare    two floating comparison cards
     .jp-steps      three step cards in a row
     .jp-faq        accordion list (driven by js/jp-site.js)
     .jp-cta        photo + pastel overlay closing call-to-action
     .jp-footer     floating glass footer card
     .jp-btn        pill button (+ .jp-btn-lg / .jp-btn-sm)
     .jp-legal      legal/policy article pages (TOC sidebar + article column)
   ========================================================================== */

:root {
  /* Brand pair = the familiar pastel pink/blue. NB: css/jp-apply-form.css
     also declares --jp-pink/--jp-blue on :root and loads AFTER this file,
     so its values win the cascade sitewide - keep the two files on the
     SAME pair. */
  --jp-pink: #ffaacf;
  --jp-pink-soft: #ffc3dd;
  --jp-mauve: #e3aede;
  --jp-blue: #a8d3f9;
  --jp-blue-soft: #bfe0fb;
  --jp-ink: #191b20;
  --jp-muted: #5c6270;
  --jp-bg: #ffffff;
  --jp-surface: #f8fafd;
  --jp-line: #e8ecf2;
  --jp-dark: #141519;
  --jp-grad: linear-gradient(135deg, var(--jp-pink) 0%, var(--jp-blue) 100%);
  --jp-grad-soft: linear-gradient(160deg, var(--jp-pink-soft) 0%, #fafcfd 55%, var(--jp-blue-soft) 100%);
  --jp-radius: 12px;
  --jp-radius-lg: 20px;
  /* Glass card recipe (shared): white fade fill + soft drop shadow */
  --jp-glass-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.75) 100%);
  --jp-glass-shadow: 5px 5px 25px rgba(0, 0, 0, 0.15);
  --jp-shadow: 0 10px 34px rgba(20, 21, 25, 0.08);
  --jp-shadow-sm: 0 3px 14px rgba(20, 21, 25, 0.06);
  --jp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --jp-nav-h: 88px;
}
@media (min-width: 992px) {
  :root { --jp-nav-h: 104px; }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--jp-bg);
}

body {
  margin: 0;
  font-family: var(--jp-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--jp-ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Fixed decorative glow: five pastel circles clustered at viewport center,
   softened into one big pink/blue bloom that shows through every section. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 28% 30%, rgba(255, 170, 207, 0.38) 0%, transparent 70%),
    radial-gradient(ellipse 70% 55% at 74% 72%, rgba(168, 211, 249, 0.38) 0%, transparent 70%);
  filter: blur(80px);
}

img, video { max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; font-weight: 600; }
p { margin: 0 0 1em; }

/* Container: 940px desktop, 1320px on very wide screens, 720px on tablets,
   90vw gutters on phones. */
.jp-container {
  width: 90vw;
  max-width: 940px;
  margin-inline: auto;
}
@media (min-width: 1440px) {
  .jp-container { max-width: 1320px; }
}
@media (max-width: 991px) {
  .jp-container { max-width: 720px; }
}

.jp-grad-text {
  background: var(--jp-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Glass card recipe - shared by cards, case panel, compare columns, FAQ
   items, the 2x2 what-we-do panel and the footer card. The bright rim is a
   masked 2px gradient border (white top-left edge fading out).
   -------------------------------------------------------------------------- */
.jp-card,
.jp-case,
.jp-step,
.jp-faq-item,
.jp-compare-col,
.jp-grid-4,
.jp-statement-text,
.jp-band-inner,
.jp-footer {
  position: relative;
  border-radius: var(--jp-radius);
  background: var(--jp-glass-fill);
  box-shadow: var(--jp-glass-shadow);
}
.jp-card::before,
.jp-case::before,
.jp-step::before,
.jp-faq-item::before,
.jp-compare-col::before,
.jp-grid-4::before,
.jp-statement-text::before,
.jp-band-inner::before,
.jp-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Buttons - soft tri-gradient pill on a pink glow
   -------------------------------------------------------------------------- */
.jp-btn{position:relative;display:inline-block;padding:18px 42px;border:0;border-radius:999px;font-family:inherit;font-size:16px;font-weight:700;line-height:1;letter-spacing:.005em;color:#191b20;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;overflow:hidden;isolation:isolate;background:#f7c9de;box-shadow:0 1px 2px rgba(88,38,64,.16),0 6px 14px -5px rgba(88,38,64,.24),0 18px 34px -14px rgba(56,64,124,.36),0 0 0 1px rgba(255,255,255,.5);transition:transform .42s cubic-bezier(.22,1,.36,1),box-shadow .42s cubic-bezier(.22,1,.36,1)}
.jp-btn::before{content:"";position:absolute;left:50%;top:50%;width:240%;aspect-ratio:1;z-index:-1;transform:translate(-50%,-50%) rotate(0deg);background:conic-gradient(from 0deg,#ff9ec7,#c9a6ff 20%,#8fc3ff 40%,#9fe4ef 56%,#ffc2dc 76%,#ff9ec7);animation:jp-btn-spin 11s linear infinite;transition:filter .42s ease}
.jp-btn::after{content:"";position:absolute;inset:2px;z-index:-1;border-radius:inherit;background:linear-gradient(180deg,#ffffff 0%,#fffafc 55%,#fdf0f6 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(120,60,95,.12),inset 0 10px 20px -14px rgba(120,60,95,.35);transition:background .42s ease}
.jp-btn:hover{transform:translateY(-3px);box-shadow:0 1px 2px rgba(88,38,64,.14),0 10px 20px -6px rgba(88,38,64,.28),0 26px 46px -16px rgba(56,64,124,.42),0 0 0 1px rgba(255,255,255,.6)}
.jp-btn:hover::before{filter:saturate(1.28) brightness(1.04)}
.jp-btn:hover::after{background:linear-gradient(180deg,#ffffff 0%,#fffdfe 60%,#fff6fa 100%)}
.jp-btn:active{transform:translateY(-1px) scale(.984);box-shadow:0 1px 1px rgba(88,38,64,.18),0 3px 8px -4px rgba(88,38,64,.26),0 10px 20px -12px rgba(56,64,124,.32),0 0 0 1px rgba(255,255,255,.5);transition-duration:.11s}
.jp-btn:focus-visible{outline:3px solid #24272e;outline-offset:3px}
@keyframes jp-btn-spin{from{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.jp-btn::before{animation:none}.jp-btn{transition:box-shadow .2s ease}.jp-btn:hover,.jp-btn:active{transform:none}}
.jp-btn > span { position: relative; z-index: 1; }
.jp-btn-lg { padding: 20px 50px; font-size: 17px; }
.jp-btn-sm { padding: 13px 30px; font-size: 14px; }

/* Pulsing CTAs (band, steps CTA, closing CTA); off on small phones,
   hover stops the pulse. */
@keyframes jp-btn-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
.jp-band .jp-btn,
.jp-mid-cta .jp-btn,
.jp-cta .jp-btn {
  animation: jp-btn-pulse 2.5s ease-in-out infinite;
}
.jp-band .jp-btn:hover,
.jp-mid-cta .jp-btn:hover,
.jp-cta .jp-btn:hover {
  animation: none;
  transform: translateY(-3px);
}
@media (max-width: 479px) {
  .jp-band .jp-btn,
  .jp-mid-cta .jp-btn,
  .jp-cta .jp-btn { animation: none; }
}

/* --------------------------------------------------------------------------
   Navigation - full-width frosted strip
   -------------------------------------------------------------------------- */
.jp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(255, 255, 255, 0.01);
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(32px);
}
.jp-nav-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 90vw;
  max-width: 940px;
  margin-inline: auto;
  padding: 16px 0;
}
@media (min-width: 1440px) {
  .jp-nav-bar { max-width: 1320px; }
}
@media (max-width: 991px) {
  .jp-nav-bar { max-width: 720px; }
}

.jp-nav-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.jp-nav-logo img { display: block; width: 56px; height: 56px; object-fit: contain; }
@media (min-width: 992px) {
  .jp-nav-logo img { width: 72px; height: 72px; }
}

.jp-nav-links {
  display: none; /* mobile: hidden, drawer instead */
  align-items: center;
  gap: 0;
  margin-left: 24px;
  margin-right: auto;
}
.jp-nav-links > a {
  position: relative;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--jp-ink);
}
/* underline grows from the left on hover, 4px below the text */
.jp-nav-links > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 1px;
  background: var(--jp-ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.jp-nav-links > a:hover::after { transform: scaleX(1); }
@media (min-width: 1440px) {
  .jp-nav-links > a { font-size: 18px; }
}

.jp-nav-cta { margin-left: auto; flex: 0 0 auto; white-space: nowrap; }

/* Burger (mobile only) */
.jp-nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}
.jp-nav-burger span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--jp-ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.jp-nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.jp-nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.jp-nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Language dropdown - frosted panel */
.jp-lang { position: relative; }
.jp-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--jp-shadow-sm);
  color: var(--jp-ink);
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}
.jp-lang-btn:hover { background: rgba(255, 255, 255, 0.65); }
.jp-lang-caret {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}
.jp-lang.open .jp-lang-caret { transform: rotate(225deg) translateY(-1px); }
.jp-lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: max-content;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: var(--jp-shadow);
  z-index: 9500;
}
.jp-lang.open .jp-lang-menu { display: block; }
.jp-lang-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  color: #222;
}
.jp-lang-menu a:hover { background: rgba(255, 255, 255, 0.35); }

/* Mobile drawer - full-screen pastel overlay */
.jp-drawer { position: fixed; inset: 0; z-index: 9990; visibility: hidden; }
.jp-drawer.open { visibility: visible; }
.jp-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 21, 25, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.jp-drawer.open .jp-drawer-backdrop { opacity: 1; }
.jp-drawer-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 84px 24px 40px;
  background: linear-gradient(180deg, var(--jp-pink) 0%, var(--jp-blue) 100%);
  transform: translateX(102%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}
.jp-drawer.open .jp-drawer-panel { transform: translateX(0); }
.jp-drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}
.jp-drawer-close::before,
.jp-drawer-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--jp-ink);
}
.jp-drawer-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.jp-drawer-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.jp-drawer-logo { width: 80px; height: 80px; object-fit: contain; margin: 0 0 14px; }
.jp-drawer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.jp-drawer-links a {
  width: 80%;
  max-width: 280px;
  padding: 12px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--jp-ink);
}
.jp-drawer-cta {
  width: 80%;
  max-width: 280px;
  margin-top: 12px;
}
.jp-drawer-langs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.jp-drawer-langs a {
  padding: 0.5em 1.2em;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--jp-ink);
  background: rgba(255, 255, 255, 0.65);
}

@media (min-width: 992px) {
  .jp-nav-links { display: flex; }
  .jp-nav-burger { display: none; }
  .jp-nav-cta { margin-left: 0; }
  .jp-drawer { display: none; }
}

/* --------------------------------------------------------------------------
   Hero - full-viewport pastel gradient, centered column
   -------------------------------------------------------------------------- */
.jp-hero {
  position: relative;
  padding: calc(var(--jp-nav-h) + 16px) 0 40px;
  background: linear-gradient(90deg, var(--jp-pink) 0%, var(--jp-blue) 100%);
  /* bottom 20% dissolves into the page glow */
  -webkit-mask-image: linear-gradient(180deg, #000 92%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 92%, transparent 100%);
}
/* Homepage hero fills the viewport */
body[data-page="index"] .jp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* mehr Luft unten als oben zieht den Inhalt optisch nach oben */
  padding-bottom: 120px;
}
body[data-page="index"] .jp-hero .jp-container { width: 90vw; }

.jp-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  justify-items: center;
}
/* Grid-Items duerfen unter ihre intrinsische Breite schrumpfen (Video!) */
.jp-hero-grid > * { min-width: 0; max-width: 100%; }
/* Clean entrance on load: copy rises first, the video card follows.
   fill-mode backwards (not both): end state = natural state, so the
   hover lift on the media frame keeps working after the entrance. */
@keyframes jp-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.jp-hero-copy  { animation: jp-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
.jp-hero-media { animation: jp-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.18s backwards; }
@media (prefers-reduced-motion: reduce) {
  .jp-hero-copy, .jp-hero-media { animation: none; }
}
.jp-hero-copy { text-align: center; }
/* Eyebrow: kleiner Vertrauens-Chip ueber der Headline */
.jp-hero-eyebrow { /* aktuell nicht verwendet */
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 8px 18px 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(25, 27, 32, 0.08);
  font-family: "Plus Jakarta Sans", var(--jp-font);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--jp-ink);
}
.jp-hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8ec6, #7fbdf5);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55);
}
.jp-hero-title {
  font-family: "Plus Jakarta Sans", var(--jp-font);
  font-size: 54px;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 32px;
}
.jp-hero-title > span { display: block; }
/* Lockup ueber Groesse/Gewicht statt Farb-Split: Zeile 1 klein+leicht,
   Zeile 2 gross+fett, darunter kurzer Verlaufs-Strich */
.jp-hero-title { font-weight: 800; }
.jp-hero-title .jp-grad-text {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  color: var(--jp-ink);
  font-size: 0.6em;
  font-weight: 600;
  letter-spacing: 0.015em;
  margin-bottom: 4px;
}
.jp-hero-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ff8ec6 0%, #7fbdf5 100%);
  margin: 18px auto 0;
}
.jp-hero-sub {
  font-family: "Plus Jakarta Sans", var(--jp-font);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(25, 27, 32, 0.85);
  margin-bottom: 32px;
}
.jp-hero-actions { display: flex; justify-content: center; margin-bottom: 40px; }

/* Scroll-Hinweis: zeigt, dass es unter dem Hero weitergeht */
.jp-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 152px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-family: "Plus Jakarta Sans", var(--jp-font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(25, 27, 32, 0.55);
  text-decoration: none;
  transition: color 0.25s ease;
}
.jp-hero-scroll:hover { color: var(--jp-ink); }
.jp-hero-scroll .jp-hero-scroll-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(25, 27, 32, 0.3);
  display: grid;
  place-items: center;
  animation: jp-scroll-bob 2.4s ease-in-out infinite;
}
.jp-hero-scroll .jp-hero-scroll-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}
@keyframes jp-scroll-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@media (max-width: 991px) { .jp-hero-scroll { display: none; } }
@media (prefers-reduced-motion: reduce) { .jp-hero-scroll .jp-hero-scroll-dot { animation: none; } }

/* GRUNDSATZ VIDEOS: NIE ein Seitenverhaeltnis erzwingen - jedes Video
   laeuft in seinem nativen Format (Intro 1:1, Promo-Clips 9:16, Screen-
   recordings wie aufgenommen). Nur EINE Dimension begrenzen, die andere
   ergibt sich - nichts wird beschnitten oder verzerrt. */
.jp-hero-media {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 18px 44px rgba(25, 27, 32, 0.22);
  transition: transform 0.25s ease;
}
.jp-hero-media:hover { transform: translateY(-2px); }
.jp-hero-media video {
  display: block;
  width: 100%;
  height: auto;                  /* natives Format (Intro ist 1:1) */
  border-radius: 20px;
  background: #000;
}

@media (max-width: 991px) {
  .jp-hero-title { font-size: 48px; }
}
@media (max-width: 767px) {
  .jp-hero-title { font-size: 36px; }
  .jp-hero-media { width: 88%; padding: 7px; border-radius: 18px; }
  .jp-hero-media video { border-radius: 12px; }
}

/* Zentriert bis Laptop-Breite, ab 1200px Text links / Video rechts */
@media (min-width: 992px) {
  .jp-hero-title { font-size: 58px; }
  .jp-hero-media { max-width: 720px; }
}
@media (min-width: 1200px) {
  .jp-hero-grid { grid-template-columns: 1.04fr 0.96fr; gap: 56px; justify-items: stretch; align-items: center; }
  .jp-hero-copy { text-align: left; }
  .jp-hero-actions { justify-content: flex-start; }
  .jp-hero-title { font-size: 46px; }
  .jp-hero-title::after { margin-left: 3px; margin-right: auto; }
  .jp-hero-media { max-width: 640px; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.jp-section { padding: 104px 0; }
/* alt band: frosted full-width strip - calms the raw glow and gives the page
   an alternating rhythm (transparent / frosted / transparent ...) */
.jp-section-alt {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 18%,
    rgba(255, 255, 255, 0.55) 82%,
    rgba(255, 255, 255, 0) 100%);
}
.jp-section-head {
  margin: 0 auto 48px;
  text-align: center;
}
/* gradient accent under every section heading - grows in on reveal */
.jp-section-head .jp-h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: var(--jp-grad);
}
.jp-section-head .jp-h2.reveal::after {
  width: 0;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}
.jp-section-head .jp-h2.reveal.visible::after { width: 64px; }

/* icon chip pops in with a soft overshoot once its card reveals */
.jp-card.reveal .jp-card-icon {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s ease 0.25s,
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s;
}
.jp-card.reveal.visible .jp-card-icon {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .jp-card.reveal .jp-card-icon { opacity: 1; transform: none; transition: none; }
  .jp-section-head .jp-h2.reveal::after { width: 64px; transition: none; }
}
.jp-section-head .jp-sub {
  color: var(--jp-muted);
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}
.jp-h2 {
  font-family: "Plus Jakarta Sans", var(--jp-font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.3em;
}
.jp-section-head--center { margin-inline: auto; text-align: center; }

@media (max-width: 991px) {
  .jp-section { padding: 80px 0; }
  .jp-h2 { font-size: 38px; }
  .jp-section-head .jp-sub { font-size: 17px; }
}
@media (max-width: 767px) {
  .jp-section { padding: 64px 0; }
  .jp-section-head { margin-bottom: 24px; }
  .jp-h2 { font-size: 32px; }
  .jp-section-head .jp-sub { font-size: 16px; }
}
@media (max-width: 479px) {
  .jp-section { padding: 56px 0; }
  .jp-h2 { font-size: 28.8px; }
}

/* --------------------------------------------------------------------------
   Statement (dream text) - bold, centered, framed glass card close to the hero
   -------------------------------------------------------------------------- */
.jp-statement { padding: 8px 0 72px; }
.jp-statement-text {
  width: min(100%, 1040px);
  margin: 0 auto;
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  border: 0;
  padding: 44px 56px;
  border-radius: var(--jp-radius-lg);
}
@media (max-width: 991px) {
  .jp-statement-text { font-size: 30px; padding: 32px 36px; }
}
@media (max-width: 768px) {
  .jp-statement-text { width: 100%; font-size: 22px; padding: 24px 20px; }
}
/* desktop/mobile text variants (data-i18n dream / dreammobile) */
.only-desktop { display: block; }
.only-mobile { display: none; }
@media (max-width: 768px) {
  .only-desktop { display: none; }
  .only-mobile { display: block; }
}

/* --------------------------------------------------------------------------
   Grids + cards
   -------------------------------------------------------------------------- */
.jp-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .jp-grid-2, .jp-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .jp-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.jp-card {
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.jp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.jp-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 20px;
  background: var(--jp-grad);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 170, 207, 0.45);
}
.jp-card-icon svg { width: 100%; height: 100%; }
.jp-card-title { font-size: 22.4px; font-weight: 700; margin-bottom: 16px; }
.jp-card-text { color: var(--jp-ink); font-size: 18px; line-height: 1.65; margin: 0; }

/* "Three keys" heading detail from the classic landing */
#about .jp-h2 { color: #333333; }
#about .jp-section-head { margin-bottom: 50px; }

/* Clean gradient number chip (replaced the blurred pastel blob) */
.jp-num,
.jp-step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 16px;
  color: #fff;
  background: var(--jp-grad);
  box-shadow: 0 6px 18px rgba(255, 170, 207, 0.45);
}

/* What-we-do: ONE glass panel, all four cells side by side on desktop */
.jp-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 24px;
}
@media (max-width: 991px) {
  .jp-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .jp-grid-4 { grid-template-columns: 1fr; padding: 24px; }
}
.jp-grid-4 > .jp-card {
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.jp-grid-4 > .jp-card::before { content: none; }
.jp-grid-4 > .jp-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}
.jp-grid-4 .jp-num { font-size: 44px; margin: 0 0 4px; }
.jp-grid-4 .jp-card-title { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.jp-grid-4 .jp-card-text { font-size: 15px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Salary band - framed glass panel with title + pulsing button
   -------------------------------------------------------------------------- */
.jp-band { padding: 72px 0; }
.jp-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 48px;
  border-radius: var(--jp-radius-lg);
}
.jp-band-title {
  max-width: 85%;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.jp-band .jp-btn { margin-top: 36px; font-size: 25px; }
@media (max-width: 991px) {
  .jp-band-title { font-size: 40px; }
}
@media (max-width: 767px) {
  .jp-band-title { max-width: 100%; font-size: 36px; }
}
@media (max-width: 479px) {
  .jp-band-title { font-size: 28.8px; }
}

/* --------------------------------------------------------------------------
   Case study - one glass card: steps as plain text left, video pair right
   -------------------------------------------------------------------------- */
#meet .jp-container { max-width: 840px; }
.jp-case {
  width: 100%;
  max-width: 840px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.jp-case:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}
.jp-case-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.jp-case-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--jp-grad);
}
.jp-case-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
}
.jp-case-step {
  padding: 0 0 0 16px;
  border-left: 3px solid var(--jp-pink);
}
.jp-case-step h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--jp-muted);
  margin-bottom: 0.4em;
}
.jp-case-step p { font-size: 16px; line-height: 1.6; color: var(--jp-ink); margin: 0; }
.jp-case-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 300px));
  justify-content: center;
  gap: 24px;
  align-items: start;
}
.jp-case-video { margin: 0; min-width: 0; text-align: left; }
.jp-case-video figcaption h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--jp-muted);
  white-space: nowrap;
  margin: 0 0 0.4em;
  line-height: 1.65;
}
.jp-case-video video {
  display: block;
  max-height: 380px;       /* einheitliche Hoehe nebeneinander - nur EINE Dimension */
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
@media (min-width: 768px) {
  .jp-case { grid-template-columns: 1fr 2fr; }
  .jp-case-title { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .jp-case { padding: 24px; }
  .jp-case-title { font-size: 26px; }
  /* Videos bleiben 2-up nebeneinander; Breite statt Hoehe begrenzen */
  .jp-case-video video { width: 100%; height: auto; max-height: none; }
}

/* --------------------------------------------------------------------------
   Dark glass banner (chatting / revenue)
   -------------------------------------------------------------------------- */
#chat.jp-section { padding: 40px 0; }
.jp-banner {
  max-width: 940px;
  margin-inline: auto;
  padding: 40px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(10, 10, 14, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--jp-glass-shadow);
  color: #fff;
  text-align: center;
}
.jp-banner-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3em;
}
.jp-banner-stat {
  font-size: 27px;
  font-weight: 700;
  margin: 0 0 0.3em;
  background: linear-gradient(135deg, var(--jp-pink) 0%, var(--jp-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.jp-banner-sub { font-size: 16px; color: rgba(255, 255, 255, 0.85); margin-bottom: 24px; }
.jp-banner-video {
  display: block;
  width: 100%;
  max-width: 380px;        /* natives Format, nur Breite begrenzt */
  height: auto;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.jp-banner-note {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 767px) {
  .jp-banner-title { font-size: 26px; }
  .jp-banner-stat { font-size: 23px; }
  .jp-banner-sub, .jp-banner-note { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   Comparison - two separate floating cards
   -------------------------------------------------------------------------- */
.jp-section:has(.jp-compare) .jp-section-head { margin-bottom: 80px; }
@media (max-width: 767px) {
  .jp-section:has(.jp-compare) .jp-section-head { margin-bottom: 40px; }
}
.jp-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.jp-compare-col { padding: 48px; }
.jp-compare-us {
  background:
    linear-gradient(180deg, rgba(255, 170, 207, 0.28) 0%, rgba(168, 211, 249, 0.28) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
/* round gradient VS chip floating between the two compare cards */
.jp-compare { position: relative; }
.jp-compare::after {
  content: "VS";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: var(--jp-grad);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 26px rgba(255, 170, 207, 0.55);
}
@media (min-width: 992px) {
  .jp-compare::after { display: inline-flex; }
}

/* Desktop: cards overlap on the same level; the JP card is the bigger one */
@media (min-width: 992px) {
  .jp-compare { grid-template-columns: 0.92fr 1.08fr; gap: 0; align-items: center; }
  .jp-compare-them {
    margin-right: -44px;
    padding: 40px 84px 40px 40px;
  }
  .jp-compare-them .jp-compare-head { font-size: 30px; margin-bottom: 24px; }
  .jp-compare-them li p { font-size: 16px; }
  .jp-compare-us {
    position: relative;
    z-index: 1;
    padding: 64px 56px;
    box-shadow: 0 24px 60px rgba(20, 21, 25, 0.16);
  }
}
.jp-compare-head {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  color: var(--jp-ink);
  margin: 0 0 32px;
}
.jp-compare-badge {
  display: flex;
  justify-content: center;
  margin: 0 0 40px;
}
.jp-compare-badge img {
  display: block;
  width: 320px;
  max-width: 100%;
  height: auto;
}
.jp-compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.jp-compare-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.jp-compare-list li p { margin: 0; color: var(--jp-ink); }
.jp-compare-them li p { font-size: 18px; }
.jp-compare-us li p { font-size: 14.4px; }
.jp-x, .jp-check {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--jp-ink);   /* plain ink stroke icons, no red/green */
}
.jp-x svg, .jp-check svg { display: block; width: 100%; height: 100%; }
@media (max-width: 991px) {
  .jp-compare-head { font-size: 36px; }
}
@media (max-width: 767px) {
  .jp-compare-col { padding: 40px; }
  .jp-compare-head { font-size: 32px; }
}
@media (max-width: 479px) {
  .jp-compare-col { padding: 24px; }
}

/* Kaskadierende Scroll-Animation: Zeilen der "Andere Agenturen"-Karte
   gleiten von links ein, die JP-Karte von rechts - Zeile fuer Zeile.
   Greift nur, wenn der .jp-compare-Wrapper die reveal-Klasse traegt;
   ohne JS/Observer bleibt alles sichtbar (Fallback ueber .reveal-Basis). */
.jp-compare.reveal .jp-compare-them li { opacity: 0; transform: translateX(-18px); }
.jp-compare.reveal .jp-compare-us li   { opacity: 0; transform: translateX(18px); }
.jp-compare.reveal .jp-compare-list li {
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.jp-compare.reveal.visible .jp-compare-list li { opacity: 1; transform: translateX(0); }
.jp-compare.reveal .jp-compare-list li:nth-child(1) { transition-delay: 0.1s; }
.jp-compare.reveal .jp-compare-list li:nth-child(2) { transition-delay: 0.2s; }
.jp-compare.reveal .jp-compare-list li:nth-child(3) { transition-delay: 0.3s; }
.jp-compare.reveal .jp-compare-list li:nth-child(4) { transition-delay: 0.4s; }
.jp-compare.reveal .jp-compare-list li:nth-child(5) { transition-delay: 0.5s; }
.jp-compare.reveal .jp-compare-list li:nth-child(6) { transition-delay: 0.6s; }
.jp-compare.reveal .jp-compare-list li:nth-child(7) { transition-delay: 0.7s; }

/* Steps: Karten steigen nacheinander ein. */
.jp-steps.reveal .jp-step {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease;
}
.jp-steps.reveal.visible .jp-step { opacity: 1; transform: translateY(0); }
.jp-steps.reveal .jp-step:nth-child(1) { transition-delay: 0.05s; }
.jp-steps.reveal .jp-step:nth-child(2) { transition-delay: 0.25s; }
.jp-steps.reveal .jp-step:nth-child(3) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .jp-compare.reveal .jp-compare-list li,
  .jp-steps.reveal .jp-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Steps - three glass cards in a row
   -------------------------------------------------------------------------- */
.jp-section:has(.jp-steps) { padding: 88px 0; }
.jp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 992px) {
  .jp-steps { grid-template-columns: repeat(3, 1fr); }
}
.jp-step {
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.jp-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.jp-step-body h3 { font-size: 22.4px; font-weight: 700; margin-bottom: 16px; }
.jp-step-body p { color: var(--jp-ink); font-size: 18px; margin: 0; }
.jp-mid-cta { display: flex; justify-content: center; margin-top: 32px; }

/* --------------------------------------------------------------------------
   FAQ accordion (jp-site.js toggles .open + aria-expanded)
   -------------------------------------------------------------------------- */
.jp-section:has(.jp-faq) { padding: 88px 0; }
.jp-faq-wrap { max-width: 880px; }
.jp-faq { display: flex; flex-direction: column; gap: 12px; }
.jp-faq-item {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.jp-faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.jp-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  color: var(--jp-ink);
  cursor: pointer;
}
/* chevron-up in a 32px box, rotates on toggle */
.jp-faq-icon {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}
.jp-faq-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-left: 2px solid var(--jp-ink);
  border-top: 2px solid var(--jp-ink);
  transform: translate(-50%, -30%) rotate(45deg);
  transition: transform 0.25s ease;
}
.jp-faq-icon::after { content: none; }
.jp-faq-item.open .jp-faq-icon::before { transform: translate(-50%, -70%) rotate(225deg); }
.jp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.jp-faq-a-inner { padding: 4px 22px 18px; color: var(--jp-ink); font-size: 15px; }
.jp-faq-a-inner p { margin: 0; }
.jp-faq-a-inner ul { margin: 0.6em 0 0; padding-left: 1.2em; }
@media (max-width: 479px) {
  .jp-faq-q { padding: 16px; font-size: 19px; }
  .jp-faq-a-inner { padding: 8px 16px 16px; }
}

/* --------------------------------------------------------------------------
   Closing CTA - lifestyle photo under a translucent pastel gradient
   -------------------------------------------------------------------------- */
.jp-cta {
  border-radius: 24px;
  overflow: hidden;
  padding: 72px 24px;
  background:
    radial-gradient(ellipse 60% 80% at 70% 20%, rgba(255, 255, 255, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 20% 85%, rgba(227, 174, 222, 0.5) 0%, transparent 70%),
    linear-gradient(118deg, var(--jp-pink) 0%, var(--jp-blue) 100%);
  text-align: center;
  box-shadow: var(--jp-glass-shadow);
}
/* White button on the gradient CTA so it stays readable - same ink language */
.jp-cta .jp-btn,
.jp-cta .jp-btn-invert {
  background: #fff;
  color: var(--jp-ink);
  border: 0;
  box-shadow: 0 8px 22px rgba(25, 27, 32, 0.22);
}
.jp-cta .jp-btn:hover,
.jp-cta .jp-btn-invert:hover {
  background: #f2f3f6;
  box-shadow: 0 12px 28px rgba(25, 27, 32, 0.28);
}
.jp-cta-title { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; color: var(--jp-ink); margin-bottom: 0.25em; }
.jp-cta-sub { font-size: 17px; font-weight: 500; color: rgba(25, 27, 32, 0.75); margin-bottom: 2.2em; }
@media (max-width: 991px) {
  .jp-cta-title { font-size: 35.2px; }
  .jp-cta-sub { font-size: 16px; }
}
@media (max-width: 767px) {
  .jp-cta-title { font-size: 32px; }
  .jp-cta-sub { font-size: 16px; }
}
@media (max-width: 479px) {
  .jp-cta-title { font-size: 25.6px; }
}

/* --------------------------------------------------------------------------
   Footer - one floating glass card
   -------------------------------------------------------------------------- */
.jp-footer {
  width: min(940px, calc(100% - 48px));
  margin: 24px auto 28px;
  padding: 24px 40px;
}
@media (min-width: 1440px) {
  .jp-footer { width: min(1320px, calc(100% - 48px)); }
}
.jp-footer .jp-container {
  width: 100%;
  max-width: none;
}
.jp-footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding: 16px 8px 28px;
}
.jp-footer-brand { flex: 0 0 auto; }
.jp-footer-brand img { width: 72px; height: 72px; object-fit: contain; }
.jp-footer-col { display: flex; flex-direction: column; gap: 4px; }
.jp-footer-head {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--jp-ink);
  margin: 0 0 6px;
}
.jp-footer-col a {
  padding: 5px 0;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  color: var(--jp-muted);
  transition: color 0.2s ease;
}
.jp-footer-col a:hover { color: var(--jp-pink); }
.jp-footer-bottom {
  border-top: 1px solid rgba(25, 27, 32, 0.08);
  padding: 14px 0 4px;
  text-align: center;
}
.jp-footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--jp-muted);
}
@media (max-width: 767px) {
  .jp-footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .jp-footer-brand { flex: 0 0 auto; margin-right: 0; }
  .jp-footer-col { align-items: center; }
}

/* --------------------------------------------------------------------------
   Shared video element
   -------------------------------------------------------------------------- */
.jp-video { display: block; width: 100%; border-radius: var(--jp-radius); }
/* media grids (testimonial videos / earnings screenshots): classic small size */
.jp-grid-3 .jp-video {
  max-width: 300px;
  margin-inline: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
/* Testimonial videos: classic layout - three portrait clips in one tight
   centered row (992px+: only there do 3x280 + gaps fit the container) */
@media (min-width: 992px) {
  body[data-page="case-studies"] .jp-grid-3:has(video) {
    display: flex;
    justify-content: center;
    gap: 24px;
  }
  body[data-page="case-studies"] .jp-grid-3:has(video) .jp-video {
    width: 280px;
    max-width: 280px;
    margin: 0;
  }
}
/* Earnings screenshots: classic layout - three landscape cards on top,
   two wider charts centered below */
@media (min-width: 768px) {
  body[data-page="case-studies"] .jp-grid-3:has(picture) {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
  }
  body[data-page="case-studies"] .jp-grid-3:has(picture) picture { grid-column: span 4; }
  body[data-page="case-studies"] .jp-grid-3:has(picture) picture:nth-child(4) { grid-column: 2 / span 5; }
  body[data-page="case-studies"] .jp-grid-3:has(picture) picture:nth-child(5) { grid-column: 7 / span 5; }
  body[data-page="case-studies"] .jp-grid-3:has(picture) .jp-video { max-width: 100%; margin: 0; }
}
/* case-studies listing: sectionless grid needs its own rhythm */
div.jp-container.jp-grid { row-gap: 48px; padding: 24px 0 64px; }

/* --------------------------------------------------------------------------
   About page - classic proportions
   -------------------------------------------------------------------------- */
.jp-about-story {
  width: min(100%, 800px);
  padding: 0;
  background: none;
  box-shadow: none;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.5;
}
.jp-about-story::before { content: none; }
@media (max-width: 767px) {
  .jp-about-story { font-size: 21px; }
}
/* read effect: words tint in while scrolling (js/jp-site.js .jp-read) */
.jp-read .jp-read-w { color: rgba(25, 27, 32, 0.22); transition: color 0.3s ease; }
.jp-read .jp-read-w.on { color: var(--jp-ink); }
@media (prefers-reduced-motion: reduce) {
  .jp-read .jp-read-w { color: var(--jp-ink); transition: none; }
}
/* stats: gradient numbers instead of chips */
body[data-page="about"] .jp-card .jp-num {
  width: auto;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background: var(--jp-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 2px;
}
/* values cards: compact */
body[data-page="about"] .jp-card-icon { width: 48px; height: 48px; padding: 10px; border-radius: 14px; margin-bottom: 12px; }
body[data-page="about"] .jp-card-title { font-size: 20px; margin-bottom: 8px; }
body[data-page="about"] .jp-card-text { font-size: 15px; }

/* --------------------------------------------------------------------------
   Legal / policy article pages (Terms, Privacy, Cookies, Imprint)
   .jp-legal        page wrapper (top padding clears the fixed nav)
   .jp-legal-head   page title + gradient underline
   .jp-legal-grid   sticky TOC sidebar (desktop) + article column
   .jp-legal-part   one numbered section, anchor target (#legal-N)
   -------------------------------------------------------------------------- */
.jp-legal { padding: calc(var(--jp-nav-h) + 52px) 0 56px; }
.jp-legal-head { margin-bottom: 34px; }
.jp-legal-title {
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
  letter-spacing: -0.02em;
  margin: 0;
}
.jp-legal-head::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  margin-top: 14px;
  border-radius: 4px;
  background: var(--jp-grad);
}
.jp-legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
.jp-legal-toc {
  padding: 20px 18px;
  border: 1px solid var(--jp-line);
  border-radius: var(--jp-radius);
  background: var(--jp-surface);
}
.jp-legal-toc-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--jp-muted);
  margin: 0 0 10px;
}
.jp-legal-toc-links { display: flex; flex-direction: column; gap: 2px; }
.jp-legal-toc-links a {
  padding: 6px 10px;
  border-left: 3px solid transparent;
  border-radius: 0 9px 9px 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--jp-ink);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.jp-legal-toc-links a:hover {
  border-left-color: var(--jp-pink);
  background: rgba(255, 170, 207, 0.14);
}
.jp-legal-article { min-width: 0; overflow-wrap: break-word; }
.jp-legal-part {
  margin-bottom: 38px;
  scroll-margin-top: calc(var(--jp-nav-h) + 28px);
}
.jp-legal-part:last-child { margin-bottom: 0; }
.jp-legal-part h2 {
  position: relative;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  padding-left: 15px;
  margin-bottom: 0.7em;
}
.jp-legal-part h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.14em;
  bottom: 0.14em;
  width: 4px;
  border-radius: 4px;
  background: var(--jp-grad);
}
.jp-legal-part p { color: #3f4450; margin: 0 0 0.9em; }
.jp-legal-part p:last-child { margin-bottom: 0; }
.jp-legal-article a {
  color: var(--jp-ink);
  text-decoration: underline;
  text-decoration-color: var(--jp-pink);
  text-underline-offset: 2px;
  word-break: break-word;
}
.jp-legal-article a:hover { text-decoration-color: var(--jp-blue); }
@media (min-width: 992px) {
  .jp-legal { padding-top: calc(var(--jp-nav-h) + 72px); padding-bottom: 76px; }
  .jp-legal-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; }
  .jp-legal-toc { position: sticky; top: calc(var(--jp-nav-h) + 28px); }
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .jp-btn, .jp-card, .jp-step, .jp-case, .jp-hero-media, .jp-drawer-panel,
  .jp-drawer-backdrop, .jp-faq-item, .jp-faq-a, .jp-faq-icon::before {
    transition: none;
  }
  .jp-band .jp-btn,
  .jp-mid-cta .jp-btn,
  .jp-cta .jp-btn { animation: none; }
}
