/* =====================================================
   ERFAHRUNGEN — restyle additions
   Builds on restyle.css. Adds breath-orb hero, intro grid,
   timeline, screenshot quote-cards, experts grid,
   video grid, ratings strip, lightbox.
===================================================== */

/* -------- HERO with centered breath orb -------- */
.rs-hero--erf {
  min-height: auto;
  padding: 9rem 0 6rem;
  text-align: center;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 768px) { .rs-hero--erf { padding: 7rem 0 4rem; } }

.rs-hero--erf .rs-hero__inner { text-align: center; align-items: center; max-width: 880px; margin: 0 auto; padding: 0 1.5rem; }
.rs-hero--erf .rs-hero__title { text-align: center; max-width: 100%; margin-left: auto; margin-right: auto; }
.rs-hero--erf .rs-hero__body { text-align: center; max-width: 100%; margin-left: auto; margin-right: auto; }
.rs-hero--erf .rs-hero__eyebrow { justify-content: center; align-self: center; }

.rs-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  font-family: var(--font-headline); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--rs-fg-soft);
  margin-bottom: 1.75rem;
}
.rs-pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--rs-teal);
  box-shadow: 0 0 0 0 rgba(118,214,213,0.6);
  animation: rsPulse 2s ease-out infinite;
}
@keyframes rsPulse {
  0% { box-shadow: 0 0 0 0 rgba(118,214,213,0.6); }
  100% { box-shadow: 0 0 0 8px rgba(118,214,213,0); }
}

.rs-breath-orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(280px, 40vw, 520px); aspect-ratio: 1;
  pointer-events: none; z-index: 0;
}
.rs-breath-orb__ring,
.rs-breath-orb__core {
  position: absolute; inset: 0; border-radius: 50%;
}
.rs-breath-orb__ring {
  border: 1px solid rgba(200,193,255,0.18);
  box-shadow: 0 0 80px -10px rgba(200,193,255,0.18) inset, 0 0 120px -20px rgba(118,214,213,0.18);
  animation: rsErfBreath 12s ease-in-out infinite;
}
.rs-breath-orb__core {
  inset: 22%;
  background: radial-gradient(circle, rgba(200,193,255,0.22) 0%, rgba(106,78,201,0.10) 45%, transparent 70%);
  filter: blur(20px);
  animation: rsErfBreath 12s ease-in-out infinite;
}
.rs-breath-orb__halo {
  position: absolute; inset: -10%; border-radius: 50%;
  background: radial-gradient(circle, transparent 55%, rgba(118,214,213,0.06) 65%, transparent 78%);
}
@keyframes rsErfBreath {
  0%, 100% { transform: scale(1); }
  33%      { transform: scale(1.2); }
  41%      { transform: scale(1.2); }
  92%      { transform: scale(1); }
}

/* -------- INTRO / METHODE explainer block -------- */
.rs-section--erf-intro { padding: 6rem 0; }
@media (max-width: 768px) { .rs-section--erf-intro { padding: 3.5rem 0; } }

.rs-intro-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 1024px) {
  .rs-intro-grid { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
}
.rs-intro__body p {
  color: var(--rs-fg-soft); line-height: 1.75; font-size: 1.0625rem;
  margin: 0 0 1.25rem; font-weight: 300;
}
.rs-intro__body p:last-child { margin-bottom: 0; }
.rs-intro__body em { font-style: italic; color: #d6cfff; font-weight: 400; }
.rs-intro__highlight {
  display: block;
  margin-top: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(118,214,213,0.06);
  border-left: 2px solid var(--rs-teal);
  border-radius: 0 14px 14px 0;
  color: #fff !important;
  font-weight: 400 !important;
}

/* -------- TIMELINE — quote categories -------- */
.rs-section--timeline { padding: 6rem 0; }
@media (max-width: 768px) { .rs-section--timeline { padding: 3rem 0; } }

.rs-timeline {
  position: relative;
  padding-left: 2.25rem;
}
.rs-timeline::before {
  content: ''; position: absolute; top: 0.5rem; bottom: 0.5rem; left: 0.6rem;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(200,193,255,0.22) 8%,
    rgba(200,193,255,0.22) 92%,
    transparent 100%);
}
@media (max-width: 640px) {
  .rs-timeline { padding-left: 1.5rem; }
  .rs-timeline::before { left: 0.3rem; }
}

.rs-tl-cat { position: relative; padding-bottom: 4.5rem; }
.rs-tl-cat:last-child { padding-bottom: 0; }
.rs-tl-cat__dot {
  position: absolute; top: 0.4rem; left: -2rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, var(--rs-teal) 0%, rgba(118,214,213,0.4) 60%, transparent 100%);
  box-shadow: 0 0 0 4px rgba(10,8,20,1), 0 0 20px rgba(118,214,213,0.5);
}
@media (max-width: 640px) {
  .rs-tl-cat__dot { left: -1.4rem; width: 10px; height: 10px; }
}
.rs-tl-cat:nth-child(2) .rs-tl-cat__dot {
  background: radial-gradient(circle, var(--rs-lavender) 0%, rgba(200,193,255,0.4) 60%, transparent 100%);
  box-shadow: 0 0 0 4px rgba(10,8,20,1), 0 0 20px rgba(200,193,255,0.5);
}
.rs-tl-cat:nth-child(3) .rs-tl-cat__dot {
  background: radial-gradient(circle, var(--rs-violet) 0%, rgba(196,168,255,0.4) 60%, transparent 100%);
  box-shadow: 0 0 0 4px rgba(10,8,20,1), 0 0 20px rgba(196,168,255,0.5);
}
.rs-tl-cat:nth-child(4) .rs-tl-cat__dot {
  background: radial-gradient(circle, #f5d6a4 0%, rgba(245,214,164,0.4) 60%, transparent 100%);
  box-shadow: 0 0 0 4px rgba(10,8,20,1), 0 0 20px rgba(245,214,164,0.4);
}

.rs-tl-cat__title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700; color: #fff; letter-spacing: -0.025em;
  margin: 0 0 1.5rem; line-height: 1.1;
}
.rs-tl-cat__count {
  font-family: var(--rs-mono);
  font-size: 0.75rem; color: var(--rs-fg-mute);
  letter-spacing: 0.12em; text-transform: uppercase;
  display: inline-block; margin-bottom: 0.6rem;
}

.rs-quote-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 700px) { .rs-quote-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }

.rs-quote-card {
  position: relative;
  padding: 1.75rem 1.75rem 1.25rem;
  background: var(--rs-glass-bg);
  border: 1px solid var(--rs-glass-border);
  border-radius: 18px;
  backdrop-filter: blur(var(--rs-glass-blur));
  -webkit-backdrop-filter: blur(var(--rs-glass-blur));
  cursor: pointer;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: border-color 0.4s ease, transform 0.4s ease, background 0.4s ease;
  overflow: hidden;
}
.rs-quote-card:hover {
  border-color: rgba(200,193,255,0.3);
  background: rgba(200,180,255,0.08);
  transform: translateY(-2px);
}
.rs-quote-card::before {
  content: '\201C';
  position: absolute; top: -0.6rem; right: 0.9rem;
  font-family: Georgia, serif;
  font-size: 4rem; line-height: 1;
  color: rgba(200,193,255,0.18);
  pointer-events: none;
}
.rs-quote-card__quote {
  font-size: 1rem; line-height: 1.6; color: var(--rs-fg);
  font-weight: 300; margin: 0;
  text-wrap: pretty;
}
.rs-quote-card__link {
  font-family: var(--rs-mono);
  font-size: 0.7rem; color: var(--rs-teal);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.4rem;
  opacity: 0.7;
  transition: opacity 0.2s, gap 0.2s;
}
.rs-quote-card:hover .rs-quote-card__link { opacity: 1; gap: 0.6rem; }

/* -------- EXPERTS grid -------- */
.rs-experts-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
  margin-top: 3rem;
  max-width: 920px; margin-left: auto; margin-right: auto;
}
@media (min-width: 720px) { .rs-experts-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

.rs-expert {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--rs-glass-bg);
  border: 1px solid var(--rs-glass-border);
  border-radius: 22px;
  backdrop-filter: blur(var(--rs-glass-blur));
  -webkit-backdrop-filter: blur(var(--rs-glass-blur));
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.rs-expert:hover { border-color: rgba(118,214,213,0.3); transform: translateY(-3px); }
.rs-expert__head { display: flex; align-items: center; gap: 1rem; }
.rs-expert__avatar {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.rs-expert__avatar--placeholder {
  background: linear-gradient(135deg, rgba(200,193,255,0.15), rgba(118,214,213,0.12));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-headline); font-weight: 700; color: #fff;
  font-size: 1.125rem;
}
.rs-expert__name {
  font-family: var(--font-headline); font-size: 0.95rem; font-weight: 700;
  color: #fff; letter-spacing: -0.01em; line-height: 1.2;
}
.rs-expert__role {
  font-size: 0.7rem; color: var(--rs-fg-mute);
  text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0.3rem;
}
.rs-expert__quote {
  font-size: 1rem; line-height: 1.65; color: var(--rs-fg);
  font-weight: 300; margin: 0;
  text-wrap: pretty;
}

/* -------- VIDEO grid -------- */
.rs-vid-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 700px)  { .rs-vid-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .rs-vid-grid { grid-template-columns: repeat(3, 1fr); } }

.rs-vid {
  display: flex; flex-direction: column; gap: 0.85rem;
}
.rs-vid__embed {
  position: relative; aspect-ratio: 16/10;
  border-radius: 18px; overflow: hidden;
  background: var(--rs-glass-bg);
  border: 1px solid var(--rs-glass-border);
  cursor: pointer;
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.rs-vid__embed:hover { border-color: rgba(200,193,255,0.35); transform: translateY(-2px); }
.rs-vid__embed img,
.rs-vid__embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.92;
  border: 0;
}
.rs-vid__embed::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,7,15,0.55) 100%);
  pointer-events: none;
}
.rs-vid__embed iframe { opacity: 1; }
.rs-vid__embed:has(iframe)::after { display: none; }

.rs-vid__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; border: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(230,224,255,0.9) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(155,105,230,0.5), 0 0 60px -15px rgba(118,214,213,0.4);
  transition: transform 0.3s ease;
  z-index: 2;
  cursor: pointer;
}
.rs-vid__embed:hover .rs-vid__play { transform: translate(-50%, -50%) scale(1.08); }
.rs-vid__play svg { width: 22px; height: 22px; fill: #1a1233; margin-left: 3px; }

.rs-vid__name {
  font-family: var(--font-headline);
  font-size: 0.95rem; font-weight: 700;
  color: #fff; letter-spacing: -0.01em;
  margin: 0;
}
.rs-vid__quote {
  font-size: 0.875rem; line-height: 1.55;
  color: var(--rs-fg-soft); font-weight: 300;
  margin: 0;
}

/* -------- RATINGS strip -------- */
.rs-section--ratings { padding: 5rem 0; }
@media (max-width: 768px) { .rs-section--ratings { padding: 3rem 0; } }

.rs-ratings {
  text-align: center; max-width: 740px; margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--rs-glass-bg);
  border: 1px solid var(--rs-glass-border);
  border-radius: 28px;
  backdrop-filter: blur(var(--rs-glass-blur));
  -webkit-backdrop-filter: blur(var(--rs-glass-blur));
  position: relative; overflow: hidden;
}
.rs-ratings::before {
  content: ''; position: absolute; inset: -40% 0 auto 0; height: 120%;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(245,214,164,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.rs-ratings > * { position: relative; }
.rs-ratings__num {
  font-family: var(--font-headline);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800; color: #fff;
  letter-spacing: -0.05em; line-height: 1;
  margin: 0.75rem 0 0.25rem;
}
.rs-ratings__num small {
  font-size: 0.4em; color: var(--rs-fg-mute); font-weight: 600; letter-spacing: 0;
}
.rs-ratings__stars {
  font-size: 1.5rem; color: #f5d6a4; letter-spacing: 0.15em;
  text-shadow: 0 0 20px rgba(245,214,164,0.3);
}
.rs-ratings__lbl {
  font-family: var(--rs-mono); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--rs-fg-mute);
  margin-top: 1rem;
}
.rs-ratings__platforms {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: 2rem;
  font-family: var(--font-headline); font-size: 0.8125rem; font-weight: 600;
  color: var(--rs-fg-soft);
}
.rs-ratings__platforms a,
.rs-ratings__platforms span {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  text-decoration: none;
  color: var(--rs-fg-soft);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.rs-ratings__platforms a:hover {
  background: rgba(118,214,213,0.08);
  border-color: rgba(118,214,213,0.35);
  color: #fff;
}

/* -------- Section header (centered) -------- */
.rs-section__header--center { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.rs-section__header--center .rs-overline { justify-content: center; }
.rs-section__header--center .rs-overline::before { display: none; }
.rs-section__header--center .rs-overline::after {
  content: ''; width: 18px; height: 1px; background: currentColor; opacity: 0.6;
}

/* -------- Studie heading override (smaller) -------- */
.rs-studie__title--erf {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem) !important;
  line-height: 1.15 !important;
  margin: 0 0 0.5rem !important;
}
.rs-studie__text + .rs-studie__text { margin-top: 0; }

/* -------- LIGHTBOX -------- */
.rs-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(5, 4, 10, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none; align-items: center; justify-content: center;
  cursor: zoom-out;
  padding: 2rem;
}
.rs-lightbox.is-open { display: flex; }
.rs-lightbox__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}
.rs-lightbox__close:hover { background: rgba(255,255,255,0.12); }
.rs-lightbox__img {
  max-width: 88vw; max-height: 84vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  cursor: default;
}
