/* skillsforwork Studio – release landing page styles. */
:root {
  --rl-primary: #FFD32B;
  --rl-primary-hover: #EFB604;
  --rl-primary-soft: #FFF6D2;
  --rl-navy: #162455;
  --rl-blue: #165DFB;
  --rl-text: #0A1330;
  --rl-text-muted: #45556C;
  --rl-text-soft: #6B7A93;
  --rl-bg: #F4F8FF;
  --rl-bg-alt: #ffffff;
  --rl-border: #D7E0EE;
  --rl-border-soft: #E7EDF7;
  --rl-shadow-sm: 0 1px 2px rgba(15, 22, 56, 0.05);
  --rl-shadow-md: 0 10px 25px -10px rgba(15, 22, 56, 0.18);
  --rl-shadow-lg: 0 30px 60px -25px rgba(15, 22, 56, 0.35);
  --rl-radius: 18px;
  --rl-radius-lg: 28px;
  --rl-radius-xl: 36px;
  --rl-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rl-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rl-header-h: 64px;
}

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

html { scroll-behavior: smooth; }

.release-body {
  font-family: var(--rl-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--rl-bg);
  color: var(--rl-text);
  line-height: 1.55;
  overflow-x: clip;
  font-feature-settings: 'cv11', 'ss01';
  font-optical-sizing: auto;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--rl-primary); color: var(--rl-navy); }

/* ─── Container ──────────────────────────────────────────────────────────── */
.rl-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.rl-container-narrow { max-width: 820px; }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.rl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--rl-ease), border-color 0.3s var(--rl-ease), box-shadow 0.3s var(--rl-ease);
}
.rl-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--rl-border-soft);
  box-shadow:
    0 4px 18px -10px rgba(15, 22, 56, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(15, 22, 56, 0.04);
}
.rl-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.rl-brand-logo { height: 26px; width: auto; }
.rl-nav {
  display: flex;
  gap: 26px;
  justify-content: center;
  font-size: 0.92rem;
  color: var(--rl-text-muted);
  font-weight: 500;
}
.rl-nav a {
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s var(--rl-ease);
}
.rl-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--rl-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--rl-ease);
}
.rl-nav a:hover { color: var(--rl-text); }
.rl-nav a:hover::after { transform: scaleX(1); }
.rl-header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ─── Badges ─────────────────────────────────────────────────────────────── */
.rl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--rl-primary-soft);
  color: var(--rl-navy);
  border: 1px solid rgba(239, 182, 4, 0.35);
}
.rl-badge-mini { font-size: 0.72rem; padding: 4px 10px; }
.rl-badge-hero {
  background: linear-gradient(135deg, #FFF6D2 0%, #FFE48A 100%);
  border-color: rgba(239,182,4,0.22);
  box-shadow: 0 8px 22px -10px rgba(239,182,4,0.24);
  font-size: 0.82rem;
  padding: 8px 16px;
}
.rl-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rl-primary-hover);
  box-shadow: 0 0 0 4px rgba(239, 182, 4, 0.18);
  animation: rl-pulse 2.6s var(--rl-ease) infinite;
}
@keyframes rl-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(239, 182, 4, 0.15); }
  50% { box-shadow: 0 0 0 9px rgba(239, 182, 4, 0); }
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.rl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--rl-ease), box-shadow 0.25s var(--rl-ease), background 0.2s var(--rl-ease), color 0.2s var(--rl-ease);
  white-space: nowrap;
  line-height: 1;
}
.rl-btn-sm { padding: 10px 16px; font-size: 0.85rem; }
.rl-btn-primary {
  background: var(--rl-primary);
  color: var(--rl-navy);
  border-color: var(--rl-primary-hover);
  box-shadow: 0 14px 30px -12px rgba(239,182,4,0.24);
}
.rl-btn-primary:hover {
  background: var(--rl-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -14px rgba(239,182,4,0.28);
}
.rl-btn-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 6px 14px -8px rgba(239,182,4,0.22);
  transition-duration: 0.1s;
}
.rl-btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--rl-text);
  border-color: var(--rl-border);
  backdrop-filter: blur(8px);
}
.rl-btn-ghost:hover {
  background: #fff;
  border-color: var(--rl-navy);
  transform: translateY(-2px);
  box-shadow: var(--rl-shadow-md);
}
.rl-btn-ghost:active {
  transform: translateY(0) scale(0.97);
  box-shadow: var(--rl-shadow-sm);
  transition-duration: 0.1s;
}
.rl-icon-sm { width: 16px; height: 16px; }
.rl-icon-xs { width: 13px; height: 13px; }
.rl-btn .rl-icon-sm { transition: transform 0.2s var(--rl-ease); }
.rl-btn-primary:hover .rl-icon-sm { transform: translateX(3px); }

/* ─── Progress dots ──────────────────────────────────────────────────────── */
.rl-dots {
  position: fixed;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rl-dots a {
  width: 10px; height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.rl-dots a span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rl-border);
  transition: background 0.25s var(--rl-ease), transform 0.25s var(--rl-ease);
}
.rl-dots a:hover span,
.rl-dots a.active span {
  background: var(--rl-primary-hover);
  transform: scale(1.3);
}
.rl-dots a::before {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--rl-navy);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--rl-ease), transform 0.2s var(--rl-ease);
}
.rl-dots a:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ─── Reveal-on-Scroll ──────────────────────────────────────────────────── */
/* Frühlingsputz-style entrance: a slightly larger lift with a 6% scale-up
   makes the section feel like it’s settling into place rather than just
   appearing. Curve uses a smooth ease-out with a hint of overshoot. */
.rl-reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.985);
  transition:
    opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
  filter: blur(2px);
  will-change: opacity, transform, filter;
}
.rl-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
/* Stagger helper: when a parent has rl-reveal-stagger, its rl-reveal
   children animate in with a 90ms cascade (max 8 children). */
.rl-reveal-stagger > .rl-reveal { transition-delay: 0ms; }
.rl-reveal-stagger > .rl-reveal:nth-child(2) { transition-delay: 90ms; }
.rl-reveal-stagger > .rl-reveal:nth-child(3) { transition-delay: 180ms; }
.rl-reveal-stagger > .rl-reveal:nth-child(4) { transition-delay: 270ms; }
.rl-reveal-stagger > .rl-reveal:nth-child(5) { transition-delay: 360ms; }
.rl-reveal-stagger > .rl-reveal:nth-child(6) { transition-delay: 450ms; }
.rl-reveal-stagger > .rl-reveal:nth-child(7) { transition-delay: 540ms; }
.rl-reveal-stagger > .rl-reveal:nth-child(8) { transition-delay: 630ms; }

/* ─── Section base ──────────────────────────────────────────────────────── */
.rl-section {
  padding: clamp(72px, 10vw, 130px) 0;
  position: relative;
}
.rl-section + .rl-section { padding-top: clamp(48px, 8vw, 110px); }

.rl-section-head {
  max-width: 740px;
  margin: 0 auto clamp(36px, 6vw, 64px);
  text-align: center;
}
.rl-section-head-sub { margin-bottom: 28px; margin-top: clamp(44px, 5vw, 72px); }
.rl-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rl-primary-hover);
  margin-bottom: 12px;
}
.rl-h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}
.rl-h1-accent {
  background: linear-gradient(120deg, var(--rl-navy) 0%, #2A4DC9 60%, var(--rl-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rl-h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}
.rl-h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}
.rl-section-sub {
  margin-top: 14px;
  color: var(--rl-text-muted);
  font-size: 1.05rem;
  text-wrap: pretty;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.rl-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--rl-text-muted);
  max-width: 640px;
  margin: 22px auto 32px;
  text-wrap: pretty;
  line-height: 1.6;
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.rl-hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 120px);
  overflow: visible;
  isolation: isolate;
  text-align: center;
}
.rl-hero-glow {
  position: absolute;
  inset: -10% -10% 0 -10%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  clip-path: inset(0);
}
.rl-hero-glow span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: rl-float 14s ease-in-out infinite;
}
.rl-glow-a {
  width: 520px; height: 520px;
  background: radial-gradient(circle at 30% 30%, #FFE48A 0%, transparent 65%);
  top: -10%; left: 8%;
}
.rl-glow-b {
  width: 480px; height: 480px;
  background: radial-gradient(circle at 60% 50%, #C4D8FF 0%, transparent 65%);
  top: 10%; right: 6%;
  animation-delay: -4s;
}
.rl-glow-c {
  width: 420px; height: 420px;
  background: radial-gradient(circle at 50% 50%, #FFF6D2 0%, transparent 70%);
  bottom: -10%; left: 30%;
  animation-delay: -8s;
}
.rl-glow-grain {
  inset: 0;
  width: auto !important; height: auto !important;
  background:
    radial-gradient(circle at 1px 1px, rgba(15,22,56,0.04) 1px, transparent 1px) 0 0 / 18px 18px;
  filter: none !important;
  opacity: 1 !important;
  animation: none !important;
}
@keyframes rl-float {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  33% { transform: translateY(-20px) translateX(15px) scale(1.05); }
  66% { transform: translateY(10px) translateX(-10px) scale(0.97); }
}
.rl-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}
.rl-hero-inner .rl-badge { margin-bottom: 22px; }
.rl-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}
.rl-cta-row-center { margin-top: 36px; margin-bottom: 0; }

.rl-hero-foot {
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--rl-text-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rl-hero-foot i { color: var(--rl-primary-hover); }

/* Hero character collage. */
.rl-hero-collage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  isolation: isolate;
}
.rl-collage-floor { display: none; }
.rl-collage-row {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Each character is positioned absolutely via inline CSS vars set by JS:
   --char-x  (left in %)
   --char-y  (top in %)
   --char-size (px width/height)
   --char-rot (deg)  */
.rl-char {
  position: absolute;
  left: var(--char-x, 50%);
  top: var(--char-y, 50%);
  width: var(--char-size, 130px);
  height: var(--char-size, 130px);
  transform: translate(-50%, -50%) rotate(var(--char-rot, 0deg));
  transition: transform 0.5s var(--rl-ease), z-index 0s linear 0.4s;
  cursor: pointer;
  pointer-events: auto;
  z-index: 2;
}
.rl-char-main {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--rl-border-soft);
  box-shadow: 0 18px 40px -22px rgba(15,22,56,0.45),
              0 4px 12px -8px rgba(15,22,56,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: transform 0.4s var(--rl-ease), box-shadow 0.4s var(--rl-ease), border-color 0.4s var(--rl-ease);
  z-index: 3;
}
.rl-char-main img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.rl-char-friends {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.rl-char-friend {
  position: absolute;
  left: 50%; top: 50%;
  width: 80%; height: 80%;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--rl-border-soft);
  box-shadow: 0 14px 30px -16px rgba(15,22,56,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  /* Start collapsed behind the main char, ready to fan out */
  transform: translate(-50%, -50%) translate(0, 0) scale(0.55) rotate(0deg);
  opacity: 0;
  transition: transform 0.55s var(--rl-ease), opacity 0.4s var(--rl-ease);
  will-change: transform, opacity;
}
.rl-char-friend img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.rl-char:hover,
.rl-char:focus-within {
  z-index: 8;
  transition: transform 0.5s var(--rl-ease), z-index 0s linear 0s;
}
.rl-char:hover,
.rl-char:focus-within {
  transform: translate(-50%, -50%) rotate(0deg) scale(1.06);
}
.rl-char:hover .rl-char-main,
.rl-char:focus-within .rl-char-main {
  box-shadow: 0 28px 55px -22px rgba(239,182,4,0.20),
              0 8px 20px -10px rgba(15,22,56,0.25);
  border-color: var(--rl-primary-hover);
}
.rl-char:hover .rl-char-friend,
.rl-char:focus-within .rl-char-friend {
  opacity: 1;
}
/* Three friends fan out left, up, right */
.rl-char:hover .rl-char-friend:nth-child(1),
.rl-char:focus-within .rl-char-friend:nth-child(1) {
  transform: translate(-50%, -50%) translate(-130%, -10%) scale(0.78) rotate(-8deg);
}
.rl-char:hover .rl-char-friend:nth-child(2),
.rl-char:focus-within .rl-char-friend:nth-child(2) {
  transform: translate(-50%, -50%) translate(0, -110%) scale(0.78) rotate(0deg);
}
.rl-char:hover .rl-char-friend:nth-child(3),
.rl-char:focus-within .rl-char-friend:nth-child(3) {
  transform: translate(-50%, -50%) translate(130%, -10%) scale(0.78) rotate(8deg);
}

.rl-collage-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--rl-border-soft);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rl-navy);
  box-shadow: 0 14px 30px -16px rgba(15,22,56,0.35);
  z-index: 5;
}
.rl-collage-tag i { width: 14px; height: 14px; color: var(--rl-primary-hover); }
.rl-collage-tag-a {
  top: 8%;
  left: 4%;
  animation: rl-collage-tag-bob 7s ease-in-out infinite;
}
.rl-collage-tag-b {
  top: 18%;
  right: 4%;
  animation: rl-collage-tag-bob 7s ease-in-out -3s infinite;
}
@keyframes rl-collage-tag-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── Modul-Karten ─────────────────────────────────────────────────────── */
.rl-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.rl-module-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--rl-border-soft);
  border-radius: var(--rl-radius-lg);
  padding: 36px 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s var(--rl-ease), border-color 0.3s var(--rl-ease), box-shadow 0.3s var(--rl-ease);
  overflow: hidden;
  isolation: isolate;
}
.rl-module-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--rl-primary) 0%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--rl-ease);
  z-index: 1;
  pointer-events: none;
}
.rl-module-card:hover {
  transform: translateY(-6px);
  border-color: var(--rl-primary-hover);
  box-shadow: 0 30px 60px -25px rgba(239, 182, 4, 0.35), 0 8px 20px -10px rgba(15,22,56,0.14);
}
.rl-module-card:hover::before { opacity: 1; }
.rl-module-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--rl-primary);
  color: var(--rl-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px -10px rgba(239,182,4,0.24);
  transition: transform 0.4s var(--rl-ease);
}
.rl-module-icon i { width: 26px; height: 26px; }
.rl-module-card:hover .rl-module-icon { transform: rotate(-6deg) scale(1.06); }
.rl-module-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.rl-module-card p {
  color: var(--rl-text-muted);
  font-size: 0.97rem;
  text-wrap: pretty;
  margin-bottom: 4px;
}
.rl-module-link {
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rl-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s var(--rl-ease);
}
.rl-module-card:hover .rl-module-link { gap: 10px; }

/* Coming-soon module card (E-Learning Creator) — no link, muted, no lift */
.rl-module-card-soon {
  cursor: default;
  background: var(--rl-bg-alt, #F7F8FB);
  border-style: dashed;
  border-color: var(--rl-border);
}
.rl-module-card-soon:hover {
  transform: none;
  border-color: var(--rl-border);
  box-shadow: none;
}
.rl-module-card-soon:hover::before { opacity: 0; }
.rl-module-card-soon .rl-module-icon {
  background: #E9ECF3;
  color: var(--rl-text-soft);
  box-shadow: none;
}
.rl-module-card-soon:hover .rl-module-icon { transform: none; }
.rl-module-card-soon h3 { color: var(--rl-text-muted); }
.rl-module-badge-soon {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rl-navy);
  background: var(--rl-primary);
  padding: 4px 9px;
  border-radius: 999px;
  box-shadow: 0 4px 10px -4px rgba(239,182,4,0.5);
}
.rl-module-link-soon {
  color: var(--rl-text-soft);
  cursor: default;
}

/* Studio-Peek: Produkt-Screenshot des Welcome-Screens. */
.rl-studio-peek { background: var(--rl-bg-alt); }
.rl-studio-shot {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--rl-radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rl-border-soft);
  box-shadow: 0 30px 80px -36px rgba(15,22,56,0.28), 0 8px 20px -10px rgba(15,22,56,0.10);
}
.rl-studio-shot picture,
.rl-studio-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.rl-studio-shot figcaption {
  font-size: 0.85rem;
  color: var(--rl-text-soft);
  padding: 12px 18px 14px;
  text-align: center;
  border-top: 1px solid var(--rl-border-soft);
  background: #fff;
}

.rl-final-cta { background: var(--rl-bg-alt); }
.rl-module-grid-cta { max-width: 920px; }
.rl-module-card-cta {
  background: linear-gradient(180deg, #ffffff 0%, #fff8e0 100%);
  border-color: rgba(239,182,4,0.35);
}
.rl-module-card-cta:hover {
  box-shadow: 0 36px 70px -28px rgba(239,182,4,0.22), 0 10px 24px -12px rgba(15,22,56,0.18);
}

/* ─── Warum Studio anders ist ─────────────────────────────────────────── */
.rl-why { background: #ffffff; }
.rl-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}
.rl-why-card {
  background: var(--rl-bg-alt);
  border: 1px solid var(--rl-border-soft);
  border-radius: var(--rl-radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s var(--rl-ease), border-color 0.3s var(--rl-ease), box-shadow 0.3s var(--rl-ease);
}
.rl-why-card:hover {
  transform: translateY(-4px);
  border-color: var(--rl-primary-hover);
  box-shadow: 0 22px 44px -22px rgba(15,22,56,0.18);
}
.rl-why-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--rl-primary);
  color: var(--rl-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px -10px rgba(239,182,4,0.24);
}
.rl-why-icon i { width: 22px; height: 22px; }
.rl-why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--rl-navy);
}
.rl-why-card p {
  color: var(--rl-text-muted);
  font-size: 0.93rem;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ─── Kursplaner-Scrollytelling ────────────────────────────────────────── */
.rl-courseplan { background: var(--rl-bg-alt); }

/* Give the Kursplaner container a bit more breathing room than the global
   1180 px cap, so the screenshot mockup has a meaningfully larger canvas. */
.rl-courseplan .rl-container { max-width: 1320px; }

.rl-cp-stage {
  display: grid;
  /* Image column (left) gets 60 %, steps column (right) 40 %. */
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 56px;
  align-items: start;
}

/* ── Sticky image column ──────────────────────────────────────────────── *
 * The visual is sized by its content (the screenshot aspect ratio).
 * top is chosen so the image center lands at approximately 50 vh —
 * matching the JS scroll-trigger threshold — while never overlapping
 * the sticky page header.  230 px ≈ half the rendered image height at
 * typical desktop widths (1280 × 800 screenshot in a ~700 px column).
 * -------------------------------------------------------------------- */
.rl-cp-visual {
  position: sticky;
  top: max(calc(var(--rl-header-h) + 24px), calc(50vh - 230px));
}
.rl-cp-mock {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #F8FBFF 100%);
  border: 1px solid var(--rl-border-soft);
  border-radius: var(--rl-radius-lg);
  padding: 24px 26px;
  box-shadow: var(--rl-shadow-lg);
  display: flex;
  flex-direction: column;
  width: 100%;
  /* Mindesthoehe so, dass die laengste Pane (Step 3 mit 4 Kapiteln)
     komplett passt — ohne overflow:hidden, damit nichts abgeschnitten
     wirkt. */
  min-height: 520px;
}
/* Variante des Mock-Frames, die echte Studio-Screenshots aufnimmt. Der
   Frame ist hier ein duenner Rahmen um das 1280x800 (16:10) Screenshot-
   Bild — kein eigener Header, keine Polsterung mehr noetig. */
.rl-cp-mock-shot {
  padding: 12px;
  min-height: 0;
  background: #ffffff;
  overflow: hidden;
}
.rl-cp-mock-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--rl-navy);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rl-border-soft);
  margin-bottom: 18px;
}
.rl-cp-mock-head i { width: 18px; height: 18px; color: var(--rl-primary-hover); }
.rl-cp-mock-step {
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--rl-text-soft);
  background: var(--rl-bg);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.rl-cp-mock-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 380px;
}
.rl-cp-mock-shot .rl-cp-mock-body {
  /* Die Body-Hoehe folgt dem Screenshot-Aspekt (1280:800 = 16:10). */
  aspect-ratio: 1280 / 800;
  min-height: 0;
}
.rl-cp-mock-pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--rl-ease), transform 0.45s var(--rl-ease);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.rl-cp-mock-pane.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.rl-cp-mock-shot .rl-cp-mock-pane {
  margin: 0;
  padding: 0;
}
.rl-cp-mock-shot .rl-cp-mock-pane picture,
.rl-cp-mock-shot .rl-cp-mock-pane img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  box-shadow: 0 6px 18px -10px rgba(15, 22, 56, 0.28);
}
.rl-cp-field { margin-bottom: 14px; }
.rl-cp-field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--rl-text-soft);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.rl-cp-input {
  background: #ffffff;
  border: 1px solid var(--rl-border);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.95rem;
  color: var(--rl-text);
  font-weight: 500;
}
.rl-cp-drop {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--rl-bg);
  border: 1.5px dashed var(--rl-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--rl-text-muted);
}
.rl-cp-drop i { color: var(--rl-primary-hover); width: 18px; height: 18px; }
.rl-cp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}
.rl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rl-bg);
  border: 1px solid var(--rl-border-soft);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--rl-text-muted);
}
.rl-chip i { width: 13px; height: 13px; color: var(--rl-primary-hover); }
.rl-chip-ok {
  background: rgba(255, 211, 43, 0.15);
  border-color: rgba(239,182,4,0.20);
  color: var(--rl-navy);
  font-weight: 600;
}

/* Agent step list — colored pills per state, generous padding & rounded
   corners. Done = soft green, active = soft yellow with spinner, pending =
   soft slate. Inspired by user reference: clear status read at a glance. */
.rl-cp-agent { display: flex; flex-direction: column; gap: 12px; }
.rl-agent-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(225, 230, 240, 0.45);
  border: 1px solid rgba(180, 192, 215, 0.35);
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--rl-text-muted);
  font-weight: 500;
  transition: background 0.3s var(--rl-ease), border-color 0.3s var(--rl-ease);
}
.rl-agent-step i { width: 18px; height: 18px; color: var(--rl-text-soft); flex-shrink: 0; }
.rl-agent-step.done {
  background: rgba(65, 199, 90, 0.12);
  border-color: rgba(65, 199, 90, 0.30);
  color: var(--rl-navy);
  font-weight: 600;
}
.rl-agent-step.done i { color: #2EAF45; }
.rl-agent-step.active {
  background: rgba(255, 211, 43, 0.18);
  border-color: rgba(239,182,4,0.40);
  color: var(--rl-navy);
  font-weight: 700;
  box-shadow: 0 6px 18px -10px rgba(239,182,4,0.35);
}
.rl-agent-step.pending { opacity: 0.85; }
.rl-agent-spin {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(239, 182, 4, 0.25);
  border-top-color: var(--rl-primary-hover);
  animation: rl-spin 0.9s linear infinite;
  flex-shrink: 0;
}
@keyframes rl-spin { to { transform: rotate(360deg); } }

/* Result */
.rl-cp-result-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rl-navy);
  margin-bottom: 12px;
}
.rl-cp-result-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rl-cp-result-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--rl-border-soft);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.9rem;
}
/* Yellow rounded chapter number square — outer div is just the box,
   inner span carries the glyph. This split lets us correct Inter's
   asymmetric vertical glyph metrics: even with line-height:1 the digit's
   bounding box sits ~1px above the visual center of the line-box, so we
   apply a tiny translateY to push it back to the optical center. */
.rl-cp-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--rl-primary);
  box-shadow: 0 4px 10px -4px rgba(239,182,4,0.35);
  align-self: center;
}
.rl-cp-num > span {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  color: var(--rl-navy);
  /* Optical center compensation for Inter — pushes the digit ~1px down
     so it sits in the visual middle of the yellow square. */
  transform: translateY(1px);
}
.rl-cp-result-list li > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rl-cp-result-list strong { display: block; color: var(--rl-text); font-weight: 600; font-size: 0.9rem; }
.rl-cp-result-list span { display: block; color: var(--rl-text-muted); font-size: 0.8rem; line-height: 1.35; }
.rl-cp-chips-result { margin-top: 12px; padding-top: 0; }

/* Steps column (scroll driver)
   – Large gap creates natural pacing: each step requires meaningful scroll
     before the next crosses the 50 vh trigger.
   – No padding-bottom: the sticky image scrolls away with the last step
     when the column ends, which is the intended "follow last element" feel. */
.rl-cp-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 18vh, 200px);
  padding: 0; /* top & bottom set by calibrateScrollHub() in JS */
}
.rl-cp-step {
  background: #ffffff;
  border: 1px solid var(--rl-border-soft);
  border-radius: var(--rl-radius);
  padding: 24px 26px;
  box-shadow: var(--rl-shadow-sm);
  transition: border-color 0.4s var(--rl-ease), box-shadow 0.4s var(--rl-ease), transform 0.4s var(--rl-ease), opacity 0.4s var(--rl-ease);
  opacity: 0.55;
}
.rl-cp-step.is-current {
  opacity: 1;
  border-color: var(--rl-primary-hover);
  box-shadow: 0 22px 40px -22px rgba(239,182,4,0.20);
  transform: translateX(-4px);
}
.rl-cp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 12px;
  background: var(--rl-primary-soft);
  color: var(--rl-navy);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  text-align: center;
  margin-bottom: 12px;
  flex-shrink: 0;
  transition: background 0.4s var(--rl-ease), box-shadow 0.4s var(--rl-ease);
}
.rl-cp-step.is-current .rl-cp-step-num {
  background: var(--rl-primary);
  box-shadow: 0 8px 20px -8px rgba(239,182,4,0.22);
}
.rl-cp-step h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.015em; }
.rl-cp-step p { color: var(--rl-text-muted); font-size: 0.96rem; margin-bottom: 12px; text-wrap: pretty; }
.rl-cp-bullets { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.rl-cp-bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--rl-text-muted);
}
.rl-cp-bullets i { width: 14px; height: 14px; color: var(--rl-primary-hover); flex-shrink: 0; }

/* ─── Imagine: wider container (same as Kursplaner) ─────────────────────── */
.rl-imagine .rl-container { max-width: 1320px; }

/* ─── Imagine ───────────────────────────────────────────────────────────── */
.rl-imagine {
  background: linear-gradient(180deg, var(--rl-bg) 0%, #ECF1FB 50%, var(--rl-bg) 100%);
  position: relative;
  /* IMPORTANT: do NOT use overflow:hidden/clip/auto/scroll here — it breaks
     position:sticky on the showcase wrap inside this section. The body
     already has overflow-x:clip, so any horizontal bleed is handled at
     the document level. */
}

/* Imagine stats — three big numbers right under the section intro.
   Adds editorial weight without competing with headline. */
.rl-imagine-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 920px;
  margin: 0 auto clamp(24px, 3.5vw, 48px);
  padding: 22px 12px;
  border-top: 1px solid var(--rl-border-soft);
  border-bottom: 1px solid var(--rl-border-soft);
  text-align: center;
}
.rl-imagine-stats > div {
  padding: 4px 16px;
  border-right: 1px solid var(--rl-border-soft);
}
.rl-imagine-stats > div:last-child { border-right: 0; }
.rl-imagine-stats dt {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--rl-navy);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.rl-imagine-stats dd {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--rl-text-muted);
}
@media (max-width: 640px) {
  .rl-imagine-stats { grid-template-columns: 1fr; gap: 14px; padding: 18px 12px; }
  .rl-imagine-stats > div { border-right: 0; border-bottom: 1px solid var(--rl-border-soft); padding-bottom: 14px; }
  .rl-imagine-stats > div:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* Agent-Flow — process indicator, not tabs.
   Inline flow with arrows between steps; no borders, no pill backgrounds.
   The active step is marked by a yellow dot prefix + bolder text, never a button shape. */
.rl-agent-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  max-width: 920px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  padding: 0 12px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.rl-agent-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rl-text-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rl-agent-label::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rl-primary);
  box-shadow: 0 0 0 4px rgba(255,211,43,0.18);
  animation: rl-agent-pulse 1.6s ease-in-out infinite;
}
@keyframes rl-agent-pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(255,211,43,0.18); }
  50%     { box-shadow: 0 0 0 8px rgba(255,211,43,0.05); }
}
.rl-agent-states {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 4px;
  margin: 0;
  padding: 0;
}
.rl-agent-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--rl-text-muted);
  transition: color 0.35s var(--rl-ease), font-weight 0.35s var(--rl-ease);
}
.rl-agent-state i {
  width: 14px; height: 14px;
  color: var(--rl-text-soft);
  transition: color 0.35s var(--rl-ease);
}
.rl-agent-state + .rl-agent-state::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: linear-gradient(to right, var(--rl-border) 0%, var(--rl-border) 60%, transparent 100%);
  position: relative;
  margin-right: 6px;
  vertical-align: middle;
}
.rl-agent-state.is-active {
  color: var(--rl-navy);
  font-weight: 700;
}
.rl-agent-state.is-active i { color: var(--rl-primary-hover); }
@media (max-width: 640px) {
  .rl-agent-bar { gap: 8px 10px; }
  .rl-agent-state { font-size: 0.85rem; padding: 2px 4px; }
  .rl-agent-state + .rl-agent-state::before { width: 12px; margin-right: 4px; }
}

/* ── Imagine-Modal-Vorschau: zwei echte Studio-Screenshots nebeneinander ─ */
.rl-im-modal-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 28px);
  max-width: 1100px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  padding: 0 12px;
}
.rl-im-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rl-im-shot picture,
.rl-im-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--rl-border-soft);
  box-shadow: var(--rl-shadow-lg);
  background: #ffffff;
}
.rl-im-shot figcaption {
  font-size: 0.92rem;
  color: var(--rl-text-muted);
  line-height: 1.45;
  padding: 0 4px;
}
.rl-im-shot-step {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rl-primary-hover);
  margin-bottom: 4px;
}
@media (max-width: 820px) {
  .rl-im-modal-preview {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 56px;
  }
}

/* ─── Imagine Scrollytelling (mirror of Kursplaner, steps left / image right) ── */
.rl-im-scroll-stage {
  display: grid;
  /* Steps get 40 %, screenshot gets 60 % — mirrored from Kursplaner. */
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 56px;
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 80px);
}

/* Sticky image column — same geometry as .rl-cp-visual */
.rl-im-scroll-visual {
  position: sticky;
  top: max(calc(var(--rl-header-h) + 24px), calc(50vh - 230px));
}

/* Steps list — same pacing rules as .rl-cp-steps */
.rl-im-scroll-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 18vh, 200px);
  padding: 0; /* top & bottom set by calibrateScrollHub() in JS */
}

/* Mobile: collapse to single column, release sticky, no large gaps */
@media (max-width: 960px) {
  .rl-im-scroll-stage {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }
  .rl-im-scroll-visual {
    position: relative;
    top: auto;
    order: -1; /* image above steps on mobile */
  }
  .rl-im-scroll-steps { padding: 0; gap: 16px; }
}

/* ── Horizontale Bildstrecke (scroll-pinned) ───────────────────────────── */
/* Apple-style sticky horizontal scroll. Wrap height is set by JS based on
   number of cards and viewport. Inner pin is a full-viewport sticky stage
   that fills the screen for the full duration of horizontal travel — the
   user is locked into the showcase until all cards have passed. */
.rl-show-wrap {
  position: relative;
  /* Full-bleed: break out of .rl-container's max-width so the slider
     feels like a dedicated stage spanning the whole viewport. */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  /* Vertikaler Atemraum — Abstand zu Headline oben und Caption unten. */
  margin-top: clamp(48px, 6vw, 80px);
  margin-bottom: clamp(48px, 6vw, 80px);
  /* JS sets concrete height. Fallback for reduced-motion/mobile = auto. */
}
.rl-show-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Top padding clears the sticky page header; bottom matches. */
  padding: max(calc(var(--rl-header-h) + 20px), 84px) 0 32px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #F4F7FE 0%, #EAF0FB 100%);
  /* clip-x hides the off-screen track; visible-y lets card shadows breathe. */
  overflow-x: clip;
  overflow-y: visible;
}
.rl-show-header {
  flex: 0 0 auto;
  text-align: center;
  /* Fixed 20px gap between heading and card area — not viewport-dependent. */
  margin: 0 auto 20px;
  max-width: 760px;
  padding: 0 24px;
}
.rl-show-header .rl-h3 { color: var(--rl-text); margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.rl-show-stage {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: visible;
}
.rl-show-track {
  display: flex;
  gap: 32px;
  /* Center the first card on entry; padding equals (viewport - card)/2. */
  padding: 0 calc((100vw - min(46vw, 460px)) / 2);
  align-items: flex-start;
  will-change: transform;
}
.rl-show-card {
  flex: 0 0 min(46vw, 460px);
  width: min(46vw, 460px);
  height: auto;
  display: grid;
  grid-template-rows: auto auto;
  background: #ffffff;
  border: 1px solid var(--rl-border-soft);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 32px -20px rgba(15,22,56,0.22);
  transition: transform 0.55s var(--rl-ease), box-shadow 0.55s var(--rl-ease), border-color 0.55s var(--rl-ease);
  position: relative;
  /* Alle Karten voll sichtbar — kein opacity/scale-Effekt auf inaktiven Cards */
}
.rl-show-card.is-active {
  border-color: var(--rl-primary-hover);
  box-shadow:
    0 30px 60px -22px rgba(15,22,56,0.38),
    0 0 0 1px rgba(255,211,43,0.32);
}

/* Hover: nur die angehoverte Karte hebt sich ab, keine Abdunklung der anderen. */
.rl-show-track:hover .rl-show-card:hover,
.rl-show-track:focus-within .rl-show-card:focus-within {
  transform: scale(1.03);
  border-color: var(--rl-primary-hover);
  box-shadow:
    0 36px 70px -20px rgba(15,22,56,0.45),
    0 0 0 2px rgba(255,211,43,0.45);
  z-index: 2;
}
.rl-show-card-img {
  background: linear-gradient(180deg, #FAFCFF 0%, #EEF3FB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
}
.rl-show-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rl-show-card-prompt {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 13px;
  background: rgba(10,19,48,0.86);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
          backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  color: #F5F7FB;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms var(--rl-ease), transform 220ms var(--rl-ease);
  pointer-events: none;
  will-change: transform, opacity;
}
.rl-show-card:hover .rl-show-card-prompt,
.rl-show-card:focus-within .rl-show-card-prompt,
.rl-show-card.is-active .rl-show-card-prompt {
  opacity: 1;
  transform: translateY(0);
}
.rl-show-card-prompt-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rl-primary);
}
.rl-show-card-prompt-text {
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(245,247,251,0.94);
}
@media (prefers-reduced-motion: reduce) {
  .rl-show-card-prompt { transition: none; }
}
.rl-show-card-cap {
  padding: 16px 22px 18px;
  border-top: 1px solid var(--rl-border-soft);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rl-show-step {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rl-primary-hover);
}
.rl-show-card-cap h4 { font-size: 1.05rem; font-weight: 700; margin: 0 0 2px; letter-spacing: -0.015em; }
.rl-show-card-cap p { color: var(--rl-text-muted); font-size: 0.88rem; margin: 0 0 8px; }
.rl-show-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rl-navy);
  background: var(--rl-primary-soft);
  border: 1px solid rgba(239,182,4,0.18);
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}
.rl-show-badge i { width: 12px; height: 12px; color: var(--rl-primary-hover); }
.rl-show-foot {
  /* Flex-0: sits directly below the card area, no stretching. */
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 16px auto 0;
  max-width: 760px;
  padding: 0 24px;
  gap: 8px;
}
.rl-show-progress {
  width: 100%;
  max-width: 720px;
  height: 4px;
  background: var(--rl-border-soft);
  border-radius: 999px;
  overflow: hidden;
}
.rl-show-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--rl-primary) 0%, var(--rl-primary-hover) 100%);
  border-radius: 999px;
  transition: width 0.05s linear;
}
.rl-show-caption {
  font-size: 0.85rem;
  color: var(--rl-text-soft);
  text-align: center;
}

/* Style-DNA */
.rl-style-dna {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}
/* DNA cluster — no overflow tricks. Tile count is capped in JS so the
   cluster stays a clean 5–6 rows tall; the bottom mask just adds a
   soft visual fade. Generous side padding gives hovered edge tiles
   room to scale without ever being clipped. */
.rl-dna-cluster {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  padding: 28px 32px 32px;
  border-radius: var(--rl-radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(244,248,255,0.4) 100%);
  border: 1px solid var(--rl-border-soft);
  overflow: visible;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 65%, rgba(0,0,0,0.35) 85%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 65%, rgba(0,0,0,0.35) 85%, rgba(0,0,0,0) 100%);
}
.rl-dna-tile {
  background: #fff;
  border: 1px solid var(--rl-border-soft);
  border-radius: 12px;
  padding: 6px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--rl-ease), box-shadow 0.3s var(--rl-ease), border-color 0.3s var(--rl-ease);
  cursor: zoom-in;
  position: relative;
}
.rl-dna-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.rl-dna-tile:hover {
  transform: scale(1.35);
  z-index: 5;
  box-shadow: var(--rl-shadow-lg);
  border-color: var(--rl-primary-hover);
}
/* Edge tiles: shift the transform-origin so scaled-up tiles never lean
   past the cluster's padding edge. */
.rl-dna-tile:hover:nth-child(6n+1) { transform-origin: left center; }
.rl-dna-tile:hover:nth-child(6n)   { transform-origin: right center; }
.rl-dna-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--rl-text-soft);
}

/* ─── Workflow-Journey ──────────────────────────────────────────────────── */
.rl-journey {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}
.rl-journey::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 38px;
  height: 2px;
  background: var(--rl-border);
  /* Negative z-index keeps the connector line BEHIND the cards from the
     start. Earlier `z-index: 0` on the pseudo beat the cards' implicit
     z-index:auto and rendered the line OVER the icons until cards
     animated in. */
  z-index: 0;
  border-radius: 2px;
}
.rl-journey::after {
  content: '';
  position: absolute;
  left: 8%;
  top: 38px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--rl-primary) 0%, var(--rl-primary-hover) 100%);
  z-index: 0;
  border-radius: 2px;
  transition: width 0.6s var(--rl-ease);
}
.rl-journey.has-progress-1::after { width: calc((100% - 16%) * 0.0); }
.rl-journey.has-progress-2::after { width: calc((100% - 16%) * 0.25); }
.rl-journey.has-progress-3::after { width: calc((100% - 16%) * 0.5); }
.rl-journey.has-progress-4::after { width: calc((100% - 16%) * 0.75); }
.rl-journey.has-progress-5::after { width: calc((100% - 16%) * 1); }
.rl-journey-step {
  position: relative;
  /* Sit above ::before/::after connector line (which has z-index: 0). */
  z-index: 1;
  background: #ffffff;
  border: 1px solid var(--rl-border-soft);
  border-radius: var(--rl-radius);
  padding: 70px 18px 22px;
  text-align: center;
  z-index: 1;
  box-shadow: var(--rl-shadow-sm);
  opacity: 0.5;
  transform: translateY(14px);
  transition: opacity 0.5s var(--rl-ease), transform 0.5s var(--rl-ease), box-shadow 0.3s var(--rl-ease), border-color 0.3s var(--rl-ease);
}
.rl-journey-step.is-on {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--rl-primary-hover);
  box-shadow: 0 18px 36px -18px rgba(239,182,4,0.18);
}
.rl-journey-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--rl-shadow-md);
}
.rl-journey-dot {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--rl-bg);
  color: var(--rl-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rl-border);
  transition: background 0.4s var(--rl-ease), color 0.4s var(--rl-ease), box-shadow 0.4s var(--rl-ease), transform 0.4s var(--rl-ease);
}
.rl-journey-step.is-on .rl-journey-dot {
  background: var(--rl-primary);
  color: var(--rl-navy);
  border-color: var(--rl-primary-hover);
  box-shadow: 0 12px 24px -10px rgba(239,182,4,0.24);
  transform: translateX(-50%) scale(1.06);
}
.rl-journey-dot i { width: 20px; height: 20px; }
.rl-journey-step h4 { font-size: 0.98rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.015em; }
.rl-journey-step p { font-size: 0.85rem; color: var(--rl-text-muted); }

/* Loslegen-CTA — soft rounded panel with radial yellow glow in the corner.
   Replaces the bare button after the journey timeline; gives the page a
   confident close before the footer (taste-skill / inspo references). */
.rl-journey-cta {
  position: relative;
  margin: 56px auto 0;
  max-width: 760px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255,211,43,0.55) 0%, rgba(255,211,43,0) 55%),
    linear-gradient(180deg, #ffffff 0%, #FAFBFE 100%);
  border: 1px solid rgba(239,182,4,0.22);
  border-radius: 28px;
  padding: 40px 44px 44px;
  box-shadow:
    0 30px 60px -32px rgba(15,22,56,0.25),
    0 0 0 1px rgba(255,255,255,0.6) inset;
  overflow: hidden;
}
.rl-journey-cta::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,211,43,0.25) 0%, rgba(255,211,43,0) 70%);
  pointer-events: none;
}
.rl-journey-cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 520px;
}
.rl-journey-cta-title {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--rl-navy);
  margin: 4px 0 2px;
}
.rl-journey-cta-sub {
  color: var(--rl-text-muted);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 18px;
}
@media (max-width: 640px) {
  .rl-journey-cta { padding: 30px 24px 32px; border-radius: 22px; }
}

/* ─── Roadmap / Ausblick ────────────────────────────────────────────────── */
.rl-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.rl-roadmap-card {
  background: #ffffff;
  border: 1px solid var(--rl-border-soft);
  border-radius: var(--rl-radius);
  padding: 26px 24px;
  transition: transform 0.3s var(--rl-ease), box-shadow 0.3s var(--rl-ease), border-color 0.3s var(--rl-ease);
}
.rl-roadmap-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rl-shadow-md);
}
.rl-roadmap-card-hero {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #ffffff 0%, var(--rl-primary-soft) 100%);
  border-color: rgba(239,182,4,0.18);
}
.rl-roadmap-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rl-primary);
  color: var(--rl-navy);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.rl-roadmap-badge i { width: 13px; height: 13px; }
.rl-roadmap-badge-soft {
  background: var(--rl-bg);
  color: var(--rl-text-muted);
  border: 1px solid var(--rl-border-soft);
}
.rl-roadmap-card h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.rl-roadmap-card h4 { font-size: 1rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 6px; }
.rl-roadmap-card p { color: var(--rl-text-muted); font-size: 0.94rem; margin-bottom: 12px; }
.rl-roadmap-bullets { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.rl-roadmap-bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--rl-text-muted);
}
.rl-roadmap-bullets i { width: 14px; height: 14px; color: var(--rl-primary-hover); flex-shrink: 0; }

/* ─── Changelog ─────────────────────────────────────────────────────────── */
.rl-cl-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rl-cl-entry {
  background: #ffffff;
  border: 1px solid var(--rl-border-soft);
  border-radius: var(--rl-radius);
  overflow: hidden;
  transition: border-color 0.2s var(--rl-ease), box-shadow 0.2s var(--rl-ease);
}
.rl-cl-entry.is-open {
  border-color: var(--rl-primary-hover);
  box-shadow: var(--rl-shadow-md);
}
.rl-cl-head {
  width: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
  font: inherit;
  color: inherit;
}
.rl-cl-version {
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--rl-primary);
  color: var(--rl-navy);
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.rl-cl-version-soft {
  background: var(--rl-bg);
  color: var(--rl-text-muted);
  border: 1px solid var(--rl-border-soft);
}
.rl-cl-title { font-weight: 600; color: var(--rl-text); font-size: 0.98rem; }
.rl-cl-date { color: var(--rl-text-soft); font-size: 0.85rem; }
.rl-cl-toggle {
  width: 18px; height: 18px;
  color: var(--rl-text-muted);
  transition: transform 0.3s var(--rl-ease);
}
.rl-cl-entry.is-open .rl-cl-toggle { transform: rotate(180deg); }
.rl-cl-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--rl-ease);
}
.rl-cl-entry.is-open .rl-cl-body { grid-template-rows: 1fr; }
.rl-cl-body-inner { overflow: hidden; }
.rl-cl-body-inner-pad {
  padding: 0 22px 22px;
  color: var(--rl-text-muted);
  font-size: 0.94rem;
}
.rl-cl-body-inner-pad ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 6px;
}
.rl-cl-body-inner-pad li { display: flex; gap: 8px; align-items: flex-start; }
.rl-cl-body-inner-pad li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rl-primary-hover);
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.rl-footer {
  padding: 56px 0 70px;
  background: #ffffff;
  border-top: 1px solid var(--rl-border-soft);
}
.rl-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
}
.rl-footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; }
.rl-footer-logo { height: 22px; width: auto; display: block; margin-left: 0; }
.rl-footer-brand p { font-size: 0.85rem; color: var(--rl-text-muted); }
.rl-footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.88rem;
  color: var(--rl-text-muted);
}
.rl-footer-nav a:hover { color: var(--rl-text); }
.rl-footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--rl-text-soft);
  border-top: 1px solid var(--rl-border-soft);
  padding-top: 18px;
}

/* ─── Mobile Sticky CTA ────────────────────────────────────────────────── */
.rl-mobile-cta {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 80;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--rl-primary);
  color: var(--rl-navy);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 18px 40px -12px rgba(239,182,4,0.26);
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .rl-nav { display: none; }
  .rl-header-inner {
    grid-template-columns: 1fr auto;
    padding: 12px 18px;
  }
  .rl-dots { display: none; }
  /* On mobile the chars stay in their absolute scatter positions but
     shrink so they don't overlap the hero text too much. */
  .rl-char {
    width: clamp(64px, 18vw, 96px) !important;
    height: clamp(64px, 18vw, 96px) !important;
  }
  .rl-char-friend { display: none; }
  .rl-courseplan .rl-container { max-width: 100%; }
  .rl-cp-stage { grid-template-columns: 1fr; gap: 32px; }
  .rl-cp-visual {
    position: relative;
    top: auto;
  }
  .rl-cp-mock { min-height: 0; }
  .rl-cp-mock-body { min-height: 0; display: flex; flex-direction: column; gap: 24px; }
  /* Mobile fallback: stack panes vertically instead of overlapping. */
  .rl-cp-mock-pane { position: static; opacity: 1; transform: none; pointer-events: auto; }
  .rl-cp-mock-pane + .rl-cp-mock-pane { padding-top: 24px; border-top: 1px solid var(--rl-border-soft); }
  /* Screenshot-Variante auf Mobile: Body bekommt eine flexible Hoehe,
     jeder Screenshot zeigt sein natuerliches Seitenverhaeltnis. */
  .rl-cp-mock-shot .rl-cp-mock-body { aspect-ratio: auto; }
  .rl-cp-mock-shot .rl-cp-mock-pane picture,
  .rl-cp-mock-shot .rl-cp-mock-pane img { height: auto; }
  .rl-cp-steps { padding: 16px 0 24px; gap: 16px; }
  .rl-cp-step { opacity: 1; transform: none; }

  .rl-journey { grid-template-columns: 1fr; gap: 14px; }
  .rl-journey::before, .rl-journey::after { display: none; }
  .rl-journey-step { opacity: 1; transform: none; padding: 56px 18px 18px; }

  .rl-roadmap-grid { grid-template-columns: 1fr; }

  .rl-show-wrap { height: auto !important; margin-bottom: 60px; }
  .rl-show-sticky {
    position: relative;
    top: auto;
    height: auto;
    padding: 32px 0 24px;
    flex-direction: column;
  }
  .rl-show-stage { overflow: visible; flex: 0 0 auto; }
  .rl-show-track {
    flex-direction: column;
    height: auto;
    padding: 0 4vw;
    gap: 18px;
    transform: none !important;
    align-items: stretch;
  }
  .rl-show-card {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    max-width: none;
    grid-template-rows: auto auto;
  }
  .rl-show-foot { flex: 0 0 auto; justify-content: flex-start; padding-top: 8px; }
  .rl-show-progress { display: none; }
  .rl-mobile-cta { display: flex; }
  .rl-footer-inner { grid-template-columns: 1fr; text-align: center; }
  .rl-footer-nav { justify-content: center; }
}

@media (max-width: 600px) {
  .rl-header-cta .rl-badge-mini { display: none; }
  .rl-cl-head { grid-template-columns: auto 1fr auto; }
  .rl-cl-date { display: none; }
}

/* ─── Reduced Motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .rl-reveal { opacity: 1 !important; transform: none !important; }
  .rl-cp-step { opacity: 1; }
  .rl-journey-step { opacity: 1; transform: none; }
  .rl-show-wrap { height: auto !important; }
  .rl-show-sticky { position: relative; top: auto; height: auto; padding: 32px 0 24px; flex-direction: column; }
  .rl-show-stage { overflow: visible; flex: 0 0 auto; }
  .rl-show-track {
    flex-direction: column;
    height: auto;
    padding: 0 4vw;
    gap: 18px;
    transform: none !important;
    align-items: stretch;
  }
  .rl-show-card { flex: 0 0 auto; width: 100%; height: auto; grid-template-rows: auto auto; }
  .rl-show-foot { flex: 0 0 auto; justify-content: flex-start; padding-top: 8px; }
  .rl-cp-visual { position: relative; top: auto; max-height: none; }
  .rl-hero-glow span { animation: none; }
  .rl-char { animation: none !important; }
  .rl-char-friend { display: none; }
}

/* === Hero · B2B Outcome + Persona-Lock =================================
   Graduated from /release-b2b-b. Hero leads with the outcome
   ("Vom PDF zum bebilderten Kursplan. Heute Nachmittag fertig.")
   and a one-line persona lock for L&D/HR/training providers.
   Visual is a "before → after" diagram: stylised PDF on the left,
   yellow arrow in the middle, the finished course plan tile on the
   right. No character collage in the hero — characters get their own
   moment further down. Yellow only on CTA and the arrow accent.
*/

:root {
  --rl-text-muted: #4F5C7B;
  --rl-text-soft: #7A8499;
  --rl-surface: #F7F8FB;
}

/* Header — drop the duplicate "Neu in skillsforwork" pill in hero */
.rl-header-cta .rl-badge { display: none !important; }

/* Hero — center stack, no collage, very subtle glow */
.rl-hero { padding: clamp(64px, 9vw, 110px) 0 clamp(80px, 11vw, 130px) !important; }
.rl-hero-collage { display: none !important; }
.rl-hero-glow .rl-glow-a,
.rl-hero-glow .rl-glow-b { display: none !important; }
.rl-hero-glow .rl-glow-c {
  opacity: 0.35 !important;
  filter: blur(120px) !important;
}

/* Persona-targeted eyebrow */
.rl-b2b-eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--rl-border);
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rl-navy);
  margin-bottom: 26px;
  box-shadow: 0 1px 2px rgba(15,22,56,0.05);
}
.rl-b2b-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rl-primary);
  box-shadow: 0 0 0 4px rgba(239,182,4,0.18);
}

/* Big outcome headline */
.rl-b2b-h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.034em;
  line-height: 1.02;
  color: var(--rl-navy);
  margin: 0 auto 14px;
  max-width: 18ch;
  text-wrap: balance;
}
.rl-b2b-h1 .rl-b2b-h1-emph { color: var(--rl-primary-hover); }

.rl-b2b-persona {
  font-size: clamp(1.0rem, 1.4vw, 1.18rem);
  color: var(--rl-text-muted);
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto 32px;
  text-wrap: pretty;
}

/* Before → After diagram */
.rl-b2b-flow {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  margin: 16px auto 0;
  max-width: 920px;
}
.rl-b2b-flow-node {
  background: #fff;
  border: 1px solid var(--rl-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow:
    0 22px 44px -28px rgba(15,22,56,0.22),
    0 8px 16px -12px rgba(15,22,56,0.12);
  text-align: left;
}
.rl-b2b-flow-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rl-text-soft);
  font-weight: 700;
  margin: 0 0 10px;
}
.rl-b2b-flow-title {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--rl-navy);
  margin: 0 0 12px;
  line-height: 1.3;
}

/* PDF block (before) — stylised document */
.rl-b2b-flow-pdf {
  height: 160px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff 0%, #F5F7FA 100%);
  border: 1px solid var(--rl-border);
  position: relative;
  display: flex; flex-direction: column;
  padding: 14px;
  gap: 7px;
  overflow: hidden;
}
.rl-b2b-flow-pdf::after {
  content: "PDF";
  position: absolute;
  top: 10px; right: 10px;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  background: #C1485A;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.rl-b2b-flow-pdf-line {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #E6EAF3 0%, #F0F2F7 100%);
}
.rl-b2b-flow-pdf-line.short { width: 55%; }
.rl-b2b-flow-pdf-line.mid   { width: 78%; }
.rl-b2b-flow-pdf-line.long  { width: 92%; }

/* Course-plan result tile (after) */
.rl-b2b-flow-result {
  height: 160px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--rl-border);
  overflow: hidden;
  position: relative;
}
.rl-b2b-flow-result img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rl-b2b-flow-result::after {
  content: "Plan + Bilder";
  position: absolute;
  bottom: 10px; right: 10px;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  background: rgba(15,22,56,0.78);
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

/* Arrow between the two nodes */
.rl-b2b-flow-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rl-primary);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(239,182,4,0.55);
}
.rl-b2b-flow-arrow i { width: 26px; height: 26px; }

/* Time chip on the arrow */
.rl-b2b-flow-arrow-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.rl-b2b-flow-time {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rl-text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* CTA row under the flow */
.rl-b2b-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0 0;
}

/* Trust strip under hero */
.rl-b2b-trust {
  margin: 28px auto 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--rl-text-soft);
  letter-spacing: 0.02em;
}
.rl-b2b-trust span { display: inline-flex; align-items: center; gap: 6px; }
.rl-b2b-trust i { width: 14px; height: 14px; color: var(--rl-primary-hover); }
.rl-b2b-trust-sep { color: var(--rl-border); }

@media (max-width: 760px) {
  .rl-b2b-flow {
    grid-template-columns: 1fr;
  }
  .rl-b2b-flow-arrow-wrap { transform: rotate(90deg); margin: 4px auto; }
}
