/*
Theme Name: Remote Beraterin
Theme URI: https://remoteberaterin.de
Author: Rosenthal Webdesign
Description: Landingpage-Theme für RemoteBeraterin.de – VSL-Funnel mit Meta Pixel, GA4 und Conversion API (SHA-256 + Deduplizierung), 16:9-Videoplayer mit Engagement-Tracking, 5-Step-Bewerbungsformular mit Abbruch-Tracking und Admin-Dashboard.
Version: 2.7.0
Text Domain: remoteberaterin
*/

/* ============ Tokens ============ */
:root {
  --navy: #07071A;
  --navy-soft: #10102A;
  --red: #970203;
  --red-bright: #B00408;
  --bordeaux: #3C1315;
  --cream: #FAF6F2;
  --cream-deep: #F4EDE7;
  --rose: #F7E6E1;
  --white: #FFFFFF;
  --ink: #1C1C2E;
  --ink-soft: #55556B;
  --line: #E8E0D9;
  --green: #1E7A46;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(7, 7, 26, 0.08);
  --shadow-lg: 0 24px 60px rgba(7, 7, 26, 0.14);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Mulish", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.rb-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.rb-container--narrow { max-width: 860px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.rb-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red);
}
.rb-eyebrow::before { content: "●"; font-size: 0.5rem; }

.rb-accent-italic { font-style: italic; color: var(--red); }

/* ============ Buttons ============ */
.rb-btn {
  display: inline-block; border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem;
  padding: 16px 32px; border-radius: 999px; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.rb-btn--primary {
  background: var(--red); color: var(--white);
  box-shadow: 0 12px 28px rgba(151, 2, 3, 0.3);
}
.rb-btn--primary:hover { background: var(--red-bright); transform: translateY(-2px); }
.rb-btn--dark { background: var(--navy); color: var(--white); }
.rb-btn--dark:hover { background: var(--navy-soft); transform: translateY(-2px); }
.rb-btn--ghost {
  background: transparent; color: var(--red) !important;
  border: 1.5px solid var(--red); padding: 12px 24px; font-size: 0.9rem;
}
.rb-header .rb-btn--ghost { padding: 8px 16px; font-size: 0.78rem; border-width: 1px; }
.rb-btn--ghost:hover {
  background: var(--red); color: var(--white) !important; transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(151, 2, 3, 0.3);
}
.rb-btn-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 12px; }

/* ============ Header ============ */
.rb-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 242, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.rb-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; max-width: 1200px; margin: 0 auto;
}
.rb-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: var(--navy); text-decoration: none;
}
.rb-logo span { color: var(--red); }
.rb-nav { display: flex; align-items: center; gap: 28px; }
.rb-nav__links { display: flex; align-items: center; }
.rb-nav__links a + a::before {
  content: "|"; color: rgba(7, 7, 26, 0.18); font-weight: 400;
  margin: 0 16px; pointer-events: none;
}
.rb-nav__links a {
  text-decoration: none; font-weight: 700; font-size: 0.92rem; color: var(--ink);
}
.rb-nav__links a:hover { color: var(--red); }
.rb-nav__links a:hover::before { color: rgba(7, 7, 26, 0.18); }
@media (max-width: 760px) { .rb-nav__links { display: none; } }

/* ============ Hero ============ */
.rb-hero { padding: 72px 0 56px; text-align: center; }
.rb-hero h1 { max-width: 880px; margin: 18px auto 22px; }
.rb-hero__sub { max-width: 620px; margin: 0 auto 40px; color: var(--ink-soft); font-size: 1.08rem; }

/* ============ Videoplayer 16:9 ============ */
.rb-video-wrap { max-width: 880px; margin: 0 auto 32px; }
.rb-video {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, #14040a 0%, var(--bordeaux) 55%, var(--red) 130%);
  box-shadow: var(--shadow-lg);
}
.rb-video iframe, .rb-video video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  object-fit: cover;
}
.rb-video__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; color: rgba(255,255,255,0.85);
  font-weight: 700; letter-spacing: 0.12em; font-size: 0.82rem; text-transform: uppercase;
}
.rb-video__overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: rgba(7, 7, 26, 0.25); border: 0; width: 100%; height: 100%;
  transition: background 0.2s ease; z-index: 2;
}
.rb-video__overlay:hover { background: rgba(7, 7, 26, 0.1); }
.rb-video__playbtn {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--red); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px rgba(151, 2, 3, 0.5);
  animation: rb-pulse 2.2s ease-in-out infinite;
}
.rb-video__playbtn svg { display: block; width: 30px; height: 30px; fill: var(--white); margin-left: 0; }
.rb-video__hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: var(--white); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em;
  background: rgba(7, 7, 26, 0.55); padding: 8px 16px; border-radius: 999px; white-space: nowrap;
}
@keyframes rb-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 16px 40px rgba(151,2,3,0.5), 0 0 0 0 rgba(151,2,3,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 16px 40px rgba(151,2,3,0.5), 0 0 0 22px rgba(151,2,3,0); }
}

/* Hero USP pills */
.rb-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.rb-pill {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-size: 0.86rem; font-weight: 700; color: var(--ink);
  box-shadow: var(--shadow);
}

/* ============ Sektionen allgemein ============ */
.rb-section { padding: 88px 0; }
.rb-section--tint { background: var(--cream-deep); }
.rb-section__head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.rb-section__head h2 { margin: 14px 0 16px; }
.rb-section__head p { color: var(--ink-soft); }

/* ============ Checkliste "für dich wenn" ============ */
.rb-checklist { max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
.rb-check {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow);
}
.rb-check__icon {
  flex: 0 0 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: var(--white); font-size: 0.8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.rb-quoteline {
  text-align: center; margin-top: 40px; font-family: var(--font-display);
  font-style: italic; font-size: 1.15rem; color: var(--bordeaux);
}
.rb-quoteline + p { text-align: center; margin-top: 12px; color: var(--ink-soft); }
.rb-quoteline + p a { color: var(--red); font-weight: 800; }

/* ============ 3 Steps Erstgespräch ============ */
.rb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .rb-steps { grid-template-columns: 1fr; } }
.rb-step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow);
}
.rb-step__num {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--red); letter-spacing: 0.1em; margin-bottom: 14px;
}
.rb-step h3 { margin-bottom: 10px; }
.rb-step p { color: var(--ink-soft); font-size: 0.95rem; }
.rb-center { text-align: center; margin-top: 44px; }

/* ============ Vergleich (dunkle Sektion) ============ */
.rb-compare-section { background: var(--navy); color: var(--white); }
.rb-compare-section h2 { color: var(--white); }
.rb-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 940px; margin: 0 auto; }
@media (max-width: 820px) { .rb-compare { grid-template-columns: 1fr; } }
.rb-compare__card { border-radius: var(--radius-lg); padding: 36px 32px; }
.rb-compare__card--today { background: var(--navy-soft); border: 1px solid rgba(255,255,255,0.08); }
.rb-compare__card--tomorrow { background: var(--white); color: var(--ink); }
.rb-compare__label {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 8px; color: rgba(255,255,255,0.5);
}
.rb-compare__card--tomorrow .rb-compare__label { color: var(--red); }
.rb-compare__card h3 { font-size: 1.35rem; margin-bottom: 22px; color: inherit; }
.rb-compare__card--today h3 { color: var(--white); }
.rb-compare__card ul { list-style: none; display: grid; gap: 14px; }
.rb-compare__card li { display: flex; gap: 12px; font-size: 0.95rem; align-items: flex-start; }
.rb-compare__card--today li { color: rgba(255,255,255,0.75); }
.rb-x, .rb-v { flex: 0 0 20px; font-weight: 800; margin-top: 1px; }
.rb-x { color: #E0596B; }
.rb-v { color: var(--green); }
.rb-compare-note { text-align: center; max-width: 640px; margin: 44px auto 0; color: rgba(255,255,255,0.7); font-size: 0.98rem; }
.rb-compare-note strong { color: var(--white); }

/* ============ Über Ina ============ */
.rb-about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .rb-about { grid-template-columns: 1fr; gap: 32px; } }
.rb-about__photo {
  background: var(--rose); border-radius: var(--radius-lg); aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  color: var(--bordeaux); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; overflow: hidden;
}
.rb-about__photo img { width: 100%; height: 100%; object-fit: cover; }
.rb-about__text h2 { margin: 14px 0 18px; }
.rb-about__text p { color: var(--ink-soft); }
.rb-testimonial {
  margin-top: 26px; border-left: 3px solid var(--red); padding: 6px 0 6px 22px;
}
.rb-testimonial blockquote {
  font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--bordeaux);
}
.rb-testimonial cite { display: block; margin-top: 10px; font-style: normal; font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); }

/* ============ Fallstudie Stefanie ============ */
.rb-case {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 44px; max-width: 780px; margin: 0 auto;
}
@media (max-width: 640px) { .rb-case { padding: 28px 22px; } }
.rb-case__person { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.rb-case__avatar {
  width: 54px; height: 54px; border-radius: 50%; background: var(--bordeaux);
  color: var(--white); font-family: var(--font-display); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.rb-case__person strong { font-size: 1.05rem; }
.rb-case__person span { display: block; font-size: 0.85rem; color: var(--ink-soft); }
.rb-case__quote {
  font-family: var(--font-display); font-style: italic; font-size: 1.2rem;
  color: var(--navy); border-left: 3px solid var(--red); padding-left: 20px; margin-bottom: 28px;
}
.rb-case__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 30px; }
@media (max-width: 640px) { .rb-case__cols { grid-template-columns: 1fr; } }
.rb-case__cols h4 {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 8px;
}
.rb-case__cols p { font-size: 0.93rem; color: var(--ink-soft); }
.rb-case__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid var(--line); padding-top: 26px; }
@media (max-width: 640px) { .rb-case__stats { grid-template-columns: 1fr; } }
.rb-stat strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); display: block; }
.rb-stat span { font-size: 0.82rem; color: var(--ink-soft); }

/* ============ Passt / passt nicht ============ */
.rb-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .rb-fit { grid-template-columns: 1fr; } }
.rb-fit__card {
  border-radius: var(--radius-lg); padding: 36px 32px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.rb-fit__card--yes { border-top: 4px solid var(--green); }
.rb-fit__card--no { border-top: 4px solid var(--red); }
.rb-fit__icon { font-size: 1.4rem; margin-bottom: 12px; }
.rb-fit__card h3 { margin-bottom: 18px; }
.rb-fit__card ul { list-style: none; display: grid; gap: 12px; }
.rb-fit__card li { display: flex; gap: 12px; font-size: 0.95rem; color: var(--ink-soft); align-items: flex-start; }

/* ============ Finaler CTA (Calendly) ============ */
.rb-cta-section {
  background: linear-gradient(140deg, var(--rose) 0%, var(--cream) 45%, #F3D9D3 100%);
}

/* ============ FAQ ============ */
.rb-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 820px) { .rb-faq-grid { grid-template-columns: 1fr; gap: 28px; } }
.rb-faq-grid__intro h2 { margin: 14px 0 16px; }
.rb-faq-grid__intro p { color: var(--ink-soft); font-size: 0.98rem; }
.rb-faq { display: grid; gap: 12px; }
.rb-faq__item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.rb-faq__q {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  padding: 20px 22px; font-family: var(--font-body); font-weight: 800; font-size: 1rem;
  color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.rb-faq__q::after { content: "+"; font-size: 1.4rem; color: var(--red); flex: 0 0 auto; transition: transform 0.2s; }
.rb-faq__item.is-open .rb-faq__q::after { transform: rotate(45deg); }
.rb-faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.rb-faq__a p { padding: 0 22px 20px; color: var(--ink-soft); font-size: 0.95rem; }

/* ============ Footer ============ */
.rb-footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 56px 0 32px; }
.rb-footer__top {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 28px;
}
.rb-footer .rb-logo { color: var(--white); }
.rb-footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.rb-footer__links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.88rem; font-weight: 700; }
.rb-footer__links a:hover { color: var(--white); }
.rb-footer__legal { font-size: 0.78rem; line-height: 1.7; max-width: 760px; }
.rb-footer__copy { margin-top: 16px; font-size: 0.8rem; }

/* ============ Standard-Seiten (Impressum etc.) ============ */
.rb-page { padding: 72px 0; }
.rb-page h1 { margin-bottom: 28px; }
.rb-page .rb-entry h2 { margin: 32px 0 12px; font-size: 1.4rem; }
.rb-page .rb-entry p { margin-bottom: 16px; color: var(--ink-soft); }

/* ============ Eigene Player-Controls ============ */
.rb-player {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: rgba(7, 7, 26, 0.72); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 8px 16px 8px 10px;
  transition: opacity 0.3s ease; opacity: 1;
}
.rb-player.is-idle { opacity: 0; pointer-events: none; }
.rb-player__btn {
  background: none; border: none; cursor: pointer; padding: 6px;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  border-radius: 50%; transition: background 0.15s;
}
.rb-player__btn:hover { background: rgba(255, 255, 255, 0.12); }
.rb-player__btn svg { width: 20px; height: 20px; fill: var(--white); display: block; }
.rb-player__bar {
  flex: 1; height: 6px; background: rgba(255, 255, 255, 0.22);
  border-radius: 999px; cursor: pointer; position: relative; touch-action: none;
}
.rb-player__bar:hover { height: 8px; }
.rb-player__fill {
  height: 100%; width: 0; background: var(--red-bright); border-radius: 999px;
  position: relative;
}
.rb-player__fill::after {
  content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.rb-player__time {
  color: var(--white); font-size: 0.78rem; font-weight: 800;
  font-variant-numeric: tabular-nums; flex: 0 0 auto; white-space: nowrap;
}
.rb-video:fullscreen { border-radius: 0; }
.rb-video:fullscreen video { object-fit: contain; }
@media (max-width: 640px) {
  .rb-player { left: 8px; right: 8px; bottom: 8px; gap: 8px; padding: 6px 12px 6px 8px; }
  .rb-player__time { font-size: 0.7rem; }
}

/* ============ Dankesseite ============ */
.rb-danke__card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); max-width: 520px; margin: 8px auto 0; padding: 28px 32px;
  text-align: left;
}
.rb-danke__row {
  display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--cream-deep);
}
.rb-danke__row:last-child { border-bottom: none; }
.rb-danke__label {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); flex: 0 0 auto;
}
.rb-danke__value { font-weight: 800; color: var(--navy); text-align: right; }
.rb-video--simple { background: var(--navy); }
.rb-video--simple video, .rb-video--simple iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============ Calendly-Modal ============ */
.rb-modal { position: fixed; inset: 0; z-index: 9999; display: none; }
.rb-modal.is-open { display: block; }
.rb-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 7, 26, 0.72); backdrop-filter: blur(5px);
  animation: rb-fade 0.2s ease;
}
.rb-modal__dialog {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(1000px, 94vw); height: min(760px, 90vh);
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 32px 90px rgba(7, 7, 26, 0.5);
  animation: rb-modal-in 0.25s ease;
}
@keyframes rb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rb-modal-in {
  from { opacity: 0; transform: translate(-50%, -48%) scale(0.97); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.rb-modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--navy); color: var(--white); font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, transform 0.15s;
}
.rb-modal__close:hover { background: var(--red); transform: rotate(90deg); }
.rb-modal__widget { position: absolute; inset: 0; }
.rb-modal__widget > div, .rb-modal__widget iframe { width: 100% !important; height: 100% !important; }
.rb-modal__loader {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: var(--white); transition: opacity 0.35s ease;
}
.rb-modal__loader.is-hidden { opacity: 0; pointer-events: none; }
.rb-modal__loader p { font-weight: 800; color: var(--navy); font-size: 1rem; }
.rb-modal__spinner {
  width: 48px; height: 48px; border-radius: 50%;
  border: 4px solid var(--rose); border-top-color: var(--red);
  animation: rb-spin 0.9s linear infinite;
}
@keyframes rb-spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .rb-modal__dialog { width: 100vw; height: 100dvh; border-radius: 0; top: 0; left: 0; transform: none; }
  @keyframes rb-modal-in { from { opacity: 0; } to { opacity: 1; } }
}

/* Fokus-Sichtbarkeit */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--red); outline-offset: 2px;
}

/* Kalender-Buttons Dankesseite */
.rb-danke__cal { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; padding-top: 20px; margin-top: 8px; border-top: 1px solid var(--cream-deep); }
.rb-btn--small { padding: 11px 20px; font-size: 0.85rem; }

/* Nicht-fixierter Header (Landingpage) */
.rb-header--static { position: static; backdrop-filter: none; background: var(--cream); }

/* ============ Rechtstext-Popups ============ */
.rb-modal[hidden] { display: none; }
.rb-modal--legal .rb-modal__dialog { width: min(760px, 94vw); height: min(80vh, 820px); }
.rb-footer__links button {
  background: none; border: none; cursor: pointer; padding: 0;
  color: rgba(255,255,255,0.7); font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 700;
}
.rb-footer__links button:hover { color: var(--white); }
.rb-legal__scroll {
  position: absolute; inset: 0; overflow-y: auto;
  padding: 40px 44px 44px; text-align: left;
}
@media (max-width: 640px) { .rb-legal__scroll { padding: 28px 20px; } }
.rb-legal__scroll h2 {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); margin-bottom: 16px;
}
.rb-legal__scroll h3 {
  font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); margin: 26px 0 8px;
}
.rb-legal__scroll h4 { font-size: 0.95rem; color: var(--navy); margin: 20px 0 6px; }
.rb-legal__scroll p, .rb-legal__scroll li { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 10px; }
.rb-legal__scroll ul { padding-left: 20px; margin-bottom: 12px; }
.rb-legal__scroll a { color: var(--red); font-weight: 700; word-break: break-word; }

/* Anker-Ziele: Abstand zum Sticky-Header */
section[id] { scroll-margin-top: 68px; }

/* ============ VSL-LP: Video above the fold + Mobile ohne Navbar ============ */
body[data-rb-page="vsl"] .rb-hero { padding: 32px 0 64px; }
body[data-rb-page="vsl"] .rb-hero h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.4rem); margin-bottom: 22px; max-width: 860px;
  margin-left: auto; margin-right: auto;
}
body[data-rb-page="vsl"] .rb-hero .rb-eyebrow { margin-bottom: 12px; }
body[data-rb-page="vsl"] .rb-hero .rb-video-wrap { margin-top: 0; }
body[data-rb-page="vsl"] .rb-hero__sub { margin: 26px auto 8px; font-size: 1rem; }

@media (max-width: 768px) {
  body[data-rb-page="vsl"] .rb-header .rb-nav { display: none; }
  body[data-rb-page="vsl"] .rb-header__inner { justify-content: center; padding-top: 12px; padding-bottom: 12px; }
  body[data-rb-page="vsl"] .rb-hero { padding: 16px 0 48px; }
  body[data-rb-page="vsl"] .rb-hero h1 { font-size: 1.3rem; margin-bottom: 14px; }
  body[data-rb-page="vsl"] .rb-hero .rb-eyebrow { margin-bottom: 8px; font-size: 0.68rem; }
  body[data-rb-page="vsl"] .rb-hero__sub { font-size: 0.92rem; margin-top: 20px; }
}

/* Footer-Logo behält die alte Größe */
.rb-footer .rb-logo { font-size: 1.2rem; }
