/* =========================================
   ROOM SERVICE — Brand Studio
   Type: Playfair Display (display) + Urbanist (body)
   Palette: #EE3D23 orange-red | #1C1C1C ink | #F4F1EA cream | #FFFFFF paper
   ========================================= */

/* ---------- LOCAL FONTS ---------- */
@font-face {
  font-family: 'Helvetica';
  src: url('assets/Helvetica.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica';
  src: url('assets/Helvetica-Oblique.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica';
  src: url('assets/Helvetica-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica';
  src: url('assets/Helvetica-LightOblique.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica';
  src: url('assets/Helvetica-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica';
  src: url('assets/Helvetica-BoldOblique.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --rs-red: #EE3D23;
  --rs-red-dark: #D8341A;
  --rs-ink: #1C1C1C;
  --rs-ink-soft: #2A2A2A;
  --rs-cream: #FFFFFF;
  --rs-paper: #FFFFFF;
  --rs-muted: #9A9A9A;

  --rs-display: 'Bebas Neue', 'Playfair Display', 'Impact', 'Helvetica Neue', sans-serif;
  --rs-body: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;

  --rs-pad-x: clamp(24px, 4vw, 80px);

  /* ---- Minimum font sizes — adjust here to lift all floors at once ---- */
  --rs-min-body:    18px;   /* all body copy (−20%) */
  --rs-min-steps:   12px;   /* "The Work" steps (−20%) */
  --rs-min-display: 70px;   /* full-width chapter display titles (ch1–ch4) */
  --rs-min-head:    34px;   /* section-level heads: quote, step titles, contact */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--rs-ink);
  /* body background is overridden to transparent below so the fixed
     hero photo (z-index:-1) isn't covered by the body element itself */
  color: var(--rs-cream);
  font-family: var(--rs-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* html keeps the dark canvas background; body must be transparent so the
   position:fixed photo element at z-index:-1 isn't painted over */
body { background: transparent; }

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

::selection { background: var(--rs-red); color: #fff; }

/* ---------- NAV ---------- */
.rs-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  padding: 18px var(--rs-pad-x);
  gap: 24px;
  transition: background .35s ease, backdrop-filter .35s ease;
  mix-blend-mode: normal;
}
.rs-nav.is-scrolled { background: transparent; backdrop-filter: none; }

.rs-wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  align-self: end;
  background: #000;
}
.rs-wordmark img {
  height: 55px;
  width: auto;
  display: block;
}

.hero-photo {
  position: absolute;
  inset: -260px 0;
  background: url('assets/hero_bg.jpg') center / cover no-repeat;
}
.rs-wordmark span:first-child { color: var(--rs-cream); }

/* Nav tagline — replaces the chapter jump-links.
   Starts hidden (opacity:0 via .nav-logo-hidden) and fades in once the
   user has scrolled past the Ch2 "most brands…" section.
   Shares the same transition and hidden-class as the nav wordmark. */
.rs-nav-tagline {
  margin: 0;
  font-family: var(--rs-display);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rs-cream);
  text-align: center;
  line-height: 1;
  white-space: nowrap;          /* keep it on one line on desktop */
  transition: opacity 0.45s ease;
}
.rs-nav-tagline.nav-logo-hidden {
  opacity: 0;
  pointer-events: none;
}

.rs-cta-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--rs-cream);
  font-family: var(--rs-display);
  font-size: 16px;
  letter-spacing: .04em;
  line-height: 1;
  text-align: right;
}
.rs-cta-call .phone-ic {
  width: 34px; height: 34px;
  display: inline-grid; place-items: center;
  color: currentColor;
  transition: color .2s ease, transform .3s ease;
  transform-origin: 50% 80%;
}
.rs-cta-call:hover .phone-ic {
  color: var(--rs-red);
  animation: phoneWiggle .5s ease-in-out;
}
@keyframes phoneWiggle {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(-18deg); }
  40%  { transform: rotate(14deg); }
  60%  { transform: rotate(-10deg); }
  80%  { transform: rotate(6deg); }
  100% { transform: rotate(0deg); }
}

@media (max-width: 860px) {
  .rs-nav-links  { display: none; }
  .rs-nav-tagline { display: none; }          /* not enough room on narrow screens */
  .rs-nav { grid-template-columns: auto 1fr; }
}

/* ---------- SECTION SHELL ---------- */
.rs-chapter {
  position: relative;
  padding: clamp(80px, 12vh, 140px) var(--rs-pad-x);
  overflow: hidden;
}

/* Global text-layer parallax: foreground layers drift slightly faster
   than background images. JS writes --txt-shift per layer. */
.ch2-body,
.ch2 > h2.rs-justified,
.ch3-stage,
.ch4-layout,
.ch6-intro,
.ch7-wrap {
  transform: translate3d(0, var(--txt-shift, 0), 0);
  will-change: transform;
}

.rs-chapter-label {
  font-family: var(--rs-display);
  color: var(--rs-red);
  font-size: 22px;
  letter-spacing: .08em;
  text-align: center;
  margin-bottom: 40px;
}

/* Justified headline (each word on its own line, words spread edge-to-edge) */
.rs-justified {
  font-family: var(--rs-display);
  color: var(--rs-red);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .005em;
  font-size: clamp(48px, 9.5vw, 148px);
  margin: 0;
  text-transform: uppercase;
}
.rs-justified .line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .2em;
  width: 100%;
}
.rs-justified .line .word {
  display: inline-block;
  white-space: nowrap;
}

/* ---------- HERO SCENE (shared fixed bg across intro + headline) ---------- */
.hero-scene {
  position: relative;
}

/* Fixed photo backdrop — z-index:-1 keeps it behind all document content.
   The dark gradient is also fixed here so it doesn't slide away with the
   scrolling logo or headline sections. Works on iOS without fixed-attachment. */
.hero-bg-fixed {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(28,28,28,.25) 0%, rgba(28,28,28,.55) 100%),
    url('assets/hero_bg.jpg');
  background-size: 100% 100%, cover;
  background-position: 0 0, center;
  background-repeat: no-repeat, no-repeat;
  pointer-events: none;
}

/* ---------- CH-INTRO : centered logo ---------- */
.ch-intro {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
}
.ch-intro-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
.ch-intro-logo-html {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
  padding: clamp(20px, 3vw, 44px);
  width: clamp(360px, 88vw, 800px);
  overflow: visible;
}
.logo-word {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 8.4vw, 128px);
  color: #fff;
  line-height: 1;
  letter-spacing: 0.01em;
  display: block;
  will-change: transform;
}
.ch-intro .ch1-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}

/* ---------- CH-HEADLINE : big justified headline ---------- */
.ch-headline {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
}


/* ---------- NAV LOGO : hidden until intro logo exits ---------- */
.rs-wordmark {
  transition: opacity 0.45s ease;
}
.rs-wordmark.nav-logo-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ---------- CH1 HEADLINE ---------- */
.ch1-headline {
  position: relative;
  z-index: 2;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  will-change: transform;
  transform: translate3d(0, var(--hero-shift, 0), 0);
}
.ch1-headline .line {
  display: flex;
}
.ch1-headline .line .word {
  display: inline-block;
}

.ch1-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--rs-cream);
  font-family: var(--rs-display);
  font-size: 12px;
  letter-spacing: .3em;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
  opacity: .7;
}
.ch1-scroll-hint .line-down {
  width: 1px; height: 34px; background: var(--rs-red);
  animation: scrollPulse 1.6s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: .4; }
  50% { transform: scaleY(1.2); opacity: 1; }
}

/* ---------- CH2 EXPLAINER ---------- */
.ch2 { background: var(--rs-ink); }
.ch2 .rs-justified { font-size: clamp(40px, 7.5vw, 120px); }
/* DE has more / longer words on line 1 — reduce ~20% so it stays inside the layout */
[lang="de"] .ch2 .rs-justified { font-size: clamp(32px, 6vw, 96px); }
.ch2-body {
  margin-top: 30px;
  max-width: none;
  color: var(--rs-cream);
  font-size: clamp(21px, 1.56vw, 24px);
  line-height: 1.55;
  text-align: justify !important;
  hyphens: auto;
}
.ch2-body p {
  margin: 0 0 22px;
  text-align: justify !important;
  text-align-last: left;
  hyphens: auto;
}
.ch2-tagline {
  font-style: normal;
  color: var(--rs-cream);
  opacity: .85;
  margin-top: 28px !important;
  text-align: right;
}
.ch2-tagline em { font-style: normal; }
/* Kahneman footnote — pinned to the bottom-left of the chapter,
   vertically aligned with the R_S mark (bottom: 40px) */
.ch2-footnote {
  position: absolute;
  bottom: 40px;
  left: var(--rs-pad-x);
  right: calc(var(--rs-pad-x) + 54px); /* leave room for the R_S circle */
  margin: 0;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.4;
  font-style: italic;
  color: var(--rs-cream);
  opacity: .5;
}
.ch2-mark {
  position: absolute;
  right: var(--rs-pad-x);
  bottom: 40px;
  width: 44px; height: 44px;
  background: var(--rs-red);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--rs-display);
  font-size: 14px;
  letter-spacing: .05em;
}
@media (max-width: 780px) {
  .ch2-body { text-align: justify; }
}

/* ---------- CH3 WHO'S IN THE ROOM ---------- */
.ch3 {
  position: relative;
  background: var(--rs-ink);
  padding-top: 0; padding-bottom: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.ch3-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.ch3-photo {
  position: absolute;
  inset: 0;
  background: url('assets/founders_bg.png') center / cover no-repeat;
}
.ch3-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,28,28,.55), rgba(28,28,28,.75));
}
.ch3-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  /* Horizontal spacing comes from the section's own .rs-chapter padding —
     no extra inner padding so the column matches the other chapters. */
  padding: 140px 0;
}
.ch3-title {
  font-family: var(--rs-display);
  color: var(--rs-cream);
  font-size: clamp(56px, 10vw, 150px);
  line-height: .9;
  margin: 0 0 40px;
}
.ch3-title .line {
  display: flex; justify-content: space-between;
  width: 100%;
}
/* Mobile-only layout: hide desktop line, show 2-line mobile block with "Room" centred */
.ch3-title .mobile-block { display: none; }
@media (max-width: 960px) {
  .ch3-title .desktop-line { display: none; }
  .ch3-title .mobile-block { display: block; }
  .ch3-title .mobile-block .line {
    display: flex;
    width: 100%;
    justify-content: space-between;     /* "WHO'S In The" distributed */
  }
  .ch3-title .mobile-block .line:last-child {
    justify-content: center;            /* "Room" alone, centred */
  }
}
/* The big justified paragraph with word-by-word red highlight */
.ch3-copy {
  font-family: var(--rs-body);
  font-weight: 300;
  color: #fff;
  font-size: clamp(21px, 1.56vw, 24px);
  line-height: 1.55;
  letter-spacing: 0;
  text-align: justify;
  text-align-last: justify;
  margin: 0;
  word-spacing: normal;
}
.ch3-copy p {
  margin: 0 0 0.9em;
  text-align: justify;
  text-align-last: left;
}
.ch3-copy p:last-child {
  margin-bottom: 0;
  text-align-last: justify;
}

/* ---------- CH4 BELIEF (we only do custom orders) ---------- */
.ch4 {
  background: var(--rs-red);
  color: #fff;
  padding-top: clamp(60px, 8vh, 100px);
  padding-bottom: clamp(60px, 8vh, 100px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ch4-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.ch4-layout h2 {
  font-family: var(--rs-display);
  /* "All in." — two words only, so the type can be much larger
     without crowding. Matches the scale of the other justified display heads. */
  font-size: clamp(100px, 16vw, 240px);
  line-height: .9;
  margin: 0;
  color: #fff;
  letter-spacing: .01em;
}
.ch4-layout h2 .stretch {
  display: flex; justify-content: space-between; gap: .2em;
  width: 100%;
}
.ch4-layout h2 .stretch + .stretch { margin-top: .05em; }
.ch4-headline-a { grid-column: 1; grid-row: 1; }
.ch4-copy-a     { grid-column: 1; grid-row: 2; padding-top: 0; margin-top: 0; }
.ch4-headline-b { grid-column: 1; grid-row: 3; padding-top: 24px; }
.ch4-copy-b     { grid-column: 1; grid-row: 4; padding-top: 0; }
.ch4-copy-a, .ch4-copy-b {
  max-width: none;
  font-family: var(--rs-body);
  font-weight: 300;
  font-size: clamp(21px, 1.56vw, 24px);  /* matches .ch3-copy */
  line-height: 1.55;
  letter-spacing: 0;
  word-spacing: normal;
}
.ch4-copy-a p, .ch4-copy-b p {
  margin: 0 0 .9em;
  text-align: justify;
  text-align-last: left;          /* intermediate paragraphs: last line left */
}
.ch4-copy-a p:last-child, .ch4-copy-b p:last-child {
  margin-bottom: 0;
  text-align-last: justify;       /* final paragraph: last line also justified */
}

@media (max-width: 900px) {
  .ch4-layout { grid-template-columns: 1fr; }
  .ch4-headline-a, .ch4-copy-a, .ch4-headline-b, .ch4-copy-b {
    grid-column: 1; grid-row: auto;
    padding-top: 0;
  }
}

/* ---------- CH5 QUOTE ---------- */
.ch5 {
  background: var(--rs-ink);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(60px, 10vh, 120px) var(--rs-pad-x);
  position: relative;
}
.ch5::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/FliegenderFischOutline.png') center / contain no-repeat;
  opacity: 0.17;
  pointer-events: none;
}
.ch5-quote {
  font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
  font-style: normal;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.3;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--rs-cream);
  text-align: justify;
  text-align-last: left;
  hyphens: manual;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
}

/* ---------- CH6 MENU — horizontal slide ---------- */
.ch6 {
  background: var(--rs-paper);
  color: var(--rs-ink);
  padding: 0;
  overflow: hidden;
  /* Full-viewport flex column so intro (top) + stage (bottom) share 100vh.
     GSAP pins the whole section; the intro stays visible throughout. */
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.ch6-intro {
  flex: 0 0 auto;          /* does not grow/shrink — height dictated by padding + content */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* left-aligned */
  gap: 14px;
  padding: clamp(36px, 6vh, 72px) var(--rs-pad-x) clamp(18px, 3vh, 36px);
  text-align: left;
}
.ch6-intro .eyebrow {
  font-family: var(--rs-display);
  color: var(--rs-red);
  font-size: 22px;
  letter-spacing: .12em;
  text-align: left;
}
.ch6-intro p {
  max-width: 72ch;         /* comfortable line-length */
  margin: 0;
  font-size: clamp(21px, 1.56vw, 24px);
  line-height: 1.55;
  color: var(--rs-ink);
  text-align: justify;
  text-align-last: left;
}

/* --- Stage: bottom half of the chapter — clips the track --- */
.ch6-stage {
  position: relative;
  width: 100%;
  flex: 1;           /* fills the remaining height after the intro */
  height: auto;      /* overrides any 100vh from rs-chapter */
  overflow: hidden;
  background-color: var(--rs-paper);
}

/* --- Track: flex row of slides, GSAP translates this --- */
.ch6-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

/* --- Individual slides (85 vw so the next slide peeks 15 vw on the right) --- */
.ch6-slide {
  width: 85vw;
  flex-shrink: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 8vh, 100px) var(--rs-pad-x);
  background-color: #ffffff; /* each slide has its own box GSAP can tint independently */
}

/* --- Progress line at bottom of stage --- */
.ch6-progress {
  position: absolute;
  bottom: calc(clamp(24px, 4vh, 44px) + 30px);
  left: var(--rs-pad-x);
  right: var(--rs-pad-x);
  height: 1px;
  background: rgba(28, 28, 28, .18);
}
.ch6-progress-fill {
  position: absolute;
  inset: 0;
  background: var(--rs-red);
  transform: scaleX(0);
  transform-origin: left center;
}
.ch6-slide .slide-meta {
  display: flex;
  gap: 1ch;
  font-family: var(--rs-display);
  color: var(--rs-red);
  font-size: 18px;
  letter-spacing: .1em;
  margin-bottom: clamp(20px, 3vh, 36px);
}
.ch6-slide h3 {
  font-family: var(--rs-display);
  color: var(--rs-red);
  font-size: clamp(45px, 6.3vw, 98px);   /* −30 % vs original clamp(64px,9vw,140px) */
  line-height: 1;
  margin: 0 0 clamp(20px, 3vh, 40px);
  letter-spacing: .01em;
  max-width: 14ch;
}
.ch6-slide p {
  margin: 0;
  font-size: clamp(21px, 1.56vw, 24px);  /* matches all other body copy */
  line-height: 1.6;
  max-width: 52ch;
  color: var(--rs-ink);
  text-transform: none;                  /* steps copy stays sentence-case */
  text-align: left;                      /* exception: steps are not justified */
}

/* Mobile: drop the fixed-height flex layout, stack slides vertically, no pin needed */
@media (max-width: 820px) {
  .ch6        { height: auto; display: block; }  /* release viewport-height constraint */
  .ch6-intro  { padding: 64px var(--rs-pad-x) 32px; text-align: left; align-items: flex-start; }
  .ch6-stage  { flex: none; height: auto; overflow: visible; }
  .ch6-track  { flex-direction: column; }
  .ch6-slide  { width: 100%; height: auto; min-height: auto; padding: 40px var(--rs-pad-x); }
  .ch6-progress { display: none; }
}

/* ---------- CH7 COLLABORATION ---------- */
.ch7-collab {
  background: var(--rs-ink);
  padding: clamp(80px, 12vh, 140px) var(--rs-pad-x);
  min-height: 120vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
.ch7c-inner {
  display: grid;
  /* Left column reaches the horizontal centre of the page:
     calc(50vw − pad-x) puts "co."'s right edge at viewport centre.
     The right column (copy) takes the rest. */
  grid-template-columns: minmax(0, calc(50vw - var(--rs-pad-x))) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: end;   /* hang "co." flush with the bottom of the body-copy */
}
.ch7c-headline {
  font-family: var(--rs-display);
  /* "co." in Bebas Neue is ~1.55 em wide. Font-size fills the column:
     column ≈ 50vw − pad-x, so font-size ≈ (50vw − pad-x) / 1.55. */
  font-size: clamp(160px, calc((50vw - var(--rs-pad-x)) / 1.55), 520px);
  font-weight: 400;
  line-height: .85;
  letter-spacing: .01em;
  color: var(--rs-red);
  margin: 0;
  overflow: hidden;
}
.ch7c-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ch7c-body p {
  margin: 0;
  font-size: clamp(21px, 1.56vw, 24px);
  line-height: 1.6;
  color: var(--rs-cream);
  text-align: justify;
  text-align-last: left;
}

@media (max-width: 820px) {
  .ch7c-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }
  /* On mobile the two columns stack; "co." fills the single column width */
  .ch7c-headline { font-size: clamp(100px, 28vw, 200px); }
  .ch7c-body p { font-size: var(--rs-min-body); }
}

/* ---------- CH8 CONTACT ---------- */
.ch7 {
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
    url('assets/contact_bg.jpg') center / cover no-repeat;
  padding: 0;
  overflow: hidden;   /* clip the off-screen contact info below the stage */
  min-height: 100vh;  /* GSAP pin adds the extra scroll height automatically */
}
.ch7-bg { display: none; }
.ch7-photo { display: none; }

/* Stage: 100 vh canvas — headline absolutely centered, contact info
   positioned + animated by GSAP */
.ch7-stage {
  position: relative;
  height: 100vh;
  z-index: 2;
  overflow: hidden;   /* keep the off-screen contact info invisible */
}

/* Headline: locked to exact viewport center via absolute positioning */
.ch7-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--rs-display);
  color: #fff;
  font-size: clamp(var(--rs-min-display), 7.5vw, 120px);
  line-height: .95;
  margin: 0;
  letter-spacing: .005em;
  width: calc(100% - 2 * var(--rs-pad-x));
}
.ch7-title .line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
}
.ch7-title .word {
  display: inline-block;
  white-space: nowrap;
}

/* Contact info: initial position set by JS; docks beneath the headline */
.ch7-contact-info {
  position: absolute;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: .25em;
  text-align: center;
}
.ch7-contact-info p {
  margin: 0;
  font-family: var(--rs-display);
  font-size: clamp(22px, 2.8vw, 44px);
  line-height: 1.15;
  color: #fff;
  letter-spacing: .02em;
  white-space: nowrap;
}
.ch7-contact-info a { color: inherit; text-decoration: none; }
.ch7-contact-info a:hover { opacity: .8; }

.ch7-form {
  background: transparent;
  backdrop-filter: none;
  border: 1px solid rgba(255,255,255,.35);
  padding: 36px;
  color: var(--rs-cream);
}
.ch7-form .step-header {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--rs-display);
  font-size: 14px;
  letter-spacing: .18em;
  color: var(--rs-red);
  margin-bottom: 20px;
}
.ch7-form .step-progress {
  display: flex; gap: 6px;
}
.ch7-form .step-progress .dot {
  width: 20px; height: 4px; background: rgba(255,255,255,.3); transition: background .3s ease;
}
.ch7-form .step-progress .dot.is-active { background: #fff; }
.ch7-form h4 {
  font-family: var(--rs-display);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
  color: var(--rs-cream);
  margin: 0 0 20px;
  letter-spacing: .01em;
}
.ch7-form .input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244,241,234,.35);
  padding: 12px 2px;
  color: var(--rs-cream);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .2s ease;
}
.ch7-form .input { border-bottom-color: rgba(255,255,255,.45); color: #fff; }
.ch7-form .input::placeholder { color: rgba(255,255,255,.55); }
.ch7-form .input:focus { border-color: #fff; outline: none; }
.ch7-form textarea.input { resize: vertical; min-height: 100px; }

.ch7-form .chip-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 6px;
}
.ch7-form .chip {
  font-family: var(--rs-display);
  font-size: 14px;
  letter-spacing: .08em;
  padding: 10px 16px;
  border: 1px solid rgba(244,241,234,.3);
  background: transparent;
  color: var(--rs-cream);
  cursor: pointer;
  transition: all .2s ease;
}
.ch7-form .chip { border-color: rgba(255,255,255,.5); color: #fff; }
.ch7-form .chip:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }
.ch7-form .chip.is-on { background: var(--rs-ink); border-color: var(--rs-ink); color: #fff; }

.ch7-form .actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 28px; gap: 12px;
}
.ch7-form .btn {
  font-family: var(--rs-display);
  font-size: 16px;
  letter-spacing: .12em;
  padding: 14px 28px;
  background: var(--rs-red);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.ch7-form .btn { background: var(--rs-ink); color: #fff; border-color: var(--rs-ink); }
.ch7-form .btn:hover { background: #000; border-color: #000; transform: translateY(-1px); }
.ch7-form .btn[disabled] { opacity: .4; cursor: not-allowed; }
.ch7-form .btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.ch7-form .btn.ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.ch7-success {
  text-align: center;
  padding: 40px 10px;
}
.ch7-success h4 { color: var(--rs-red); font-size: 44px; margin: 0 0 14px; }
.ch7-success p { color: var(--rs-cream); margin: 0 auto; max-width: 40ch; }

@media (max-width: 980px) {
  /* .ch7-wrap is now flex-column — no grid override needed */
}

/* Body copy stays sentence-case throughout (text-transform: none is the default) */

/* ---------- FOOTER ---------- */
.rs-footer {
  background: transparent;
  color: var(--rs-cream);
  padding: 40px var(--rs-pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--rs-display);
  font-size: 13px;
  letter-spacing: .15em;
}
.rs-footer .mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--rs-red); color: #fff;
  display: inline-grid; place-items: center;
  font-size: 11px; letter-spacing: .04em;
}
.rs-footer.rs-footer-on-image {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  padding: 30px var(--rs-pad-x) 20px;
  background: transparent;
}
.rs-footer a { color: inherit; text-decoration: none; }
.rs-footer a:hover { color: var(--rs-red); }

/* ---------- SCROLL REVEALS (generic) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* parallax targets */
.parallax-bg {
  will-change: transform;
  transform: translate3d(0,0,0);
}

/* placeholder image with stripes + mono label */
.rs-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #3a3a3a;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,.04) 0px,
      rgba(255,255,255,.04) 2px,
      transparent 2px,
      transparent 14px
    );
  overflow: hidden;
}
.rs-placeholder::before {
  content: attr(data-label);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: .3em;
  color: rgba(244,241,234,.55);
  text-transform: uppercase;
  white-space: nowrap;
}
.rs-placeholder.tone-warm {
  background-color: #3b2a24;
}
.rs-placeholder.tone-cool {
  background-color: #2c3238;
}
.rs-placeholder.tone-paper {
  background-color: #d8d2c7;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(0,0,0,.04) 0px,
      rgba(0,0,0,.04) 2px,
      transparent 2px,
      transparent 14px
    );
}
.rs-placeholder.tone-paper::before { color: rgba(28,28,28,.55); }

/* Alternative mobile headline block — hidden on desktop */
.mobile-block { display: none; }

@media (max-width: 960px) {
  /* Hide desktop justified lines, show mobile hand-broken block */
  .rs-justified .desktop-line { display: none !important; }
  .rs-justified .mobile-block { display: block; }
  .rs-justified .mobile-block .line {
    display: flex;
    justify-content: space-between;
    gap: .2em;
    width: 100%;
    flex-wrap: nowrap;   /* each hand-broken line stays on a single row */
  }
  /* Single-word lines stay centered */
  .rs-justified .mobile-block .line:has(> .word:only-child) {
    justify-content: center;
  }
  .ch1-headline, .ch2 .rs-justified { text-align: left; }
}

/* =========================================================
   MOBILE OPTIMIZATION — portrait phones (9:16) & tablets
   ========================================================= */

/* Tablets / small laptops */
@media (max-width: 1024px) {
  :root { --rs-pad-x: clamp(20px, 4vw, 48px); }
}

/* Portrait phones + narrow tablets (primary 9:16 target) */
@media (max-width: 960px) {
  :root { --rs-pad-x: 18px; }

  html, body { font-size: 15px; }

  /* NAV — row 1: [   CTA centered    EN | DE right], row 2: logo */
  .rs-nav {
    grid-template-columns: 1fr auto 1fr !important;
    grid-template-rows: auto auto auto;
    align-items: center;
    row-gap: 10px;
    padding: 10px var(--rs-pad-x) 14px;
    text-align: center;
  }
  .rs-cta-call {
    grid-row: 1;
    grid-column: 2;
    justify-self: center;
    text-align: center;
    font-size: 12px;
    gap: 8px;
    letter-spacing: .05em;
  }
  .rs-cta-call .phone-ic { width: 22px; height: 22px; }
  .rs-cta-call .phone-ic svg { width: 16px; height: 16px; }
  .rs-lang-switch {
    grid-row: 1;
    grid-column: 3;
    justify-self: end;
  }
  .rs-wordmark {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: center;
  }
  .rs-wordmark img { height: 50px; }
  .rs-nav-tagline {
    grid-row: 3;
    grid-column: 1 / -1;
    justify-self: center;
  }

  /* CHAPTER SHELL */
  .rs-chapter { padding: 80px var(--rs-pad-x); }
  .ch1-hero { padding-top: 110px; }

  /* JUSTIFIED HEADLINES — allow lines to wrap (flex-wrap); each word
     stays on its own baseline but the justification is relaxed */
  .rs-justified {
    font-size: clamp(var(--rs-min-display), 11vw, 80px);
    line-height: 1;
  }
  .rs-justified .line {
    flex-wrap: wrap;
    gap: 0 .18em;
    justify-content: flex-start;
  }

  /* HERO (CH1) */
  .ch1-hero { min-height: 100svh; }
  .ch1-headline { margin-bottom: 0; padding: 0; }
  .ch1-headline .line { display: flex; flex-wrap: wrap; gap: 0 .18em; }
  .ch1-scroll-hint { font-size: 11px; letter-spacing: .25em; bottom: 20px; }
  /* Hero headline has long words ("Building","Emotional") — drop the 70px
     floor so 9.5vw governs and nothing overflows on narrow phones */
  .ch1-headline.rs-justified { font-size: clamp(90px, 9.5vw, 120px); }

  .ch2 .rs-justified { font-size: clamp(50px, 9.5vw, 120px); }
  /* DE has longer words ("entscheiden", "definiert.") and 3-word lines on mobile
     — smaller floor so the longest 3-word lines still fit edge-to-edge */
  [lang="de"] .ch2 .rs-justified { font-size: clamp(32px, 9.5vw, 85px); }
  .ch2-body {
    margin-top: 48px;
    font-size: var(--rs-min-body);
    line-height: 1.6;
    text-align: justify !important;
  }
  .ch2-body p {
    text-align: justify !important;
    text-align-last: left;
    hyphens: auto;
  }
  .ch2-mark {
    right: var(--rs-pad-x); bottom: 24px;
    width: 36px; height: 36px; font-size: 12px;
  }

  /* CH3 founders */
  .ch3-stage { padding: 96px 0; }
  .ch3-title { font-size: clamp(var(--rs-min-display), 13vw, 96px); margin: 0 0 28px; }
  .ch3-title .line { flex-wrap: wrap; gap: 0 .2em; justify-content: space-between; }
  .ch3-copy {
    font-size: var(--rs-min-body);
    line-height: 1.55;
    text-align: justify;
  }

  /* CH4 belief */
  .ch4-layout { column-gap: 0; row-gap: 16px; }
  .ch4-layout h2 {
    font-size: clamp(var(--rs-min-display), 12vw, 88px);
    line-height: .95;
  }
  .ch4-layout h2 .stretch {
    display: flex;
    flex-wrap: wrap;
    gap: 0 .18em;
    justify-content: space-between;
    width: 100%;
  }
  .ch4-copy-a, .ch4-copy-b {
    font-size: var(--rs-min-body);
    line-height: 1.55;
    max-width: 100%;
    margin-top: 8px !important;
    padding-top: 0 !important;
  }
  .ch4-headline-b { padding-top: 16px !important; }

  /* CH5 quote — mobile */
  .ch5-quote { font-size: clamp(42px, 12vw, 68px); }  /* sized to land around 10 lines on typical mobile widths */

  /* CH6 menu — mobile slide adjustments */
  .ch6-intro .eyebrow { font-size: 18px; }
  .ch6-intro p { font-size: var(--rs-min-body); }
  .ch6-slide h3 { font-size: clamp(var(--rs-min-head), 8.4vw, 56px); }
  .ch6-slide p { font-size: var(--rs-min-body); }

  /* CH7 contact */
  .ch7-stage { height: 100vh; }
  /* "Fancy Room Service?" — 3 words must sit on one line.
     No high floor; 9.5vw scales it to fit any phone width. */
  .ch7-title { font-size: clamp(36px, 9.5vw, 80px); }
  .ch7-contact-info p { font-size: clamp(18px, 5vw, 32px); white-space: normal; }
  .ch7-form { padding: 22px 20px; }
  .ch7-form h4 { font-size: 24px; }
  .ch7-form .step-header { font-size: 12px; margin-bottom: 14px; }
  .ch7-form .input { font-size: 16px; padding: 10px 2px; }
  .ch7-form .chip { font-size: 12px; padding: 9px 13px; letter-spacing: .06em; }
  .ch7-form .chip-row { gap: 8px; }
  .ch7-form .actions { margin-top: 20px; }
  .ch7-form .btn { font-size: 14px; padding: 12px 20px; }

  /* FOOTER */
  .rs-footer { font-size: 11px; padding: 28px var(--rs-pad-x); letter-spacing: .12em; }
  .rs-footer .mark { width: 30px; height: 30px; font-size: 10px; }
}

/* Very narrow / small phones */
@media (max-width: 380px) {
  .rs-justified { font-size: clamp(var(--rs-min-head), 11vw, 64px); }

  .module h3 { font-size: 28px; }
}

/* Landscape short-height phones — prevent hero & ch3 from overflowing */
@media (max-height: 520px) and (orientation: landscape) {
  .ch1-hero, .ch3, .ch5 { min-height: auto; }
  .ch1-headline { margin-bottom: 40px; }
  .rs-chapter { padding: 60px var(--rs-pad-x); }
}

/* ==================== IMPRINT OVERLAY ==================== */

/* The panel lives off-screen below; slides up when .is-open is added */
.imprint-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: #1e1e20;       /* anthracite black */
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  visibility: hidden;        /* keep out of tab order while closed */
}
.imprint-overlay.is-open {
  transform: translateY(0);
  visibility: visible;
}

/* × close button — top right corner */
.imprint-close {
  position: absolute;
  top: clamp(20px, 3.5vh, 44px);
  right: clamp(20px, 3.5vw, 60px);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  padding: 8px;
  line-height: 0;
  z-index: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}
.imprint-close:hover {
  color: #fff;
  transform: rotate(90deg);
}

/* Scrollable inner column */
.imprint-scroll {
  flex: 1;
  min-height: 0;     /* required: lets the flex child shrink so overflow-y: auto fires */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;   /* smooth momentum scroll on iOS */
  padding: clamp(80px, 11vh, 130px) var(--rs-pad-x) clamp(60px, 8vh, 100px);
}
.imprint-body {
  max-width: 740px;
  margin: 0 auto;
}

/* Big display heading */
.imprint-heading {
  font-family: var(--rs-display);
  color: #fff;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 1;
  margin: 0 0 clamp(36px, 6vh, 72px);
  letter-spacing: .01em;
}

/* Section subheadings */
.imprint-subhead {
  font-family: var(--rs-display);
  color: #fff;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.1;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: clamp(36px, 5vh, 60px) 0 10px;
  font-weight: 400;
}

/* Body copy — Helvetica, body-size, justified */
.imprint-body p {
  font-family: var(--rs-body);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.7;
  color: #fff;
  margin: 0 0 14px;
  text-align: justify;
  hyphens: auto;
}
.imprint-body strong {
  font-weight: 700;
  color: #fff;
}
.imprint-body a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}
.imprint-body a:hover {
  color: var(--rs-red);
  text-decoration-color: var(--rs-red);
}

/* Footer trigger button matches the existing footer link style */
.imprint-trigger {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  letter-spacing: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.imprint-trigger:hover { color: var(--rs-red); }

@media (max-width: 960px) {
  .imprint-scroll {
    padding-top: clamp(72px, 10vh, 100px);
  }
  .imprint-body p { font-size: 15px; }
  .imprint-subhead { font-size: 16px; }
}

/* =========================================================
   WIDE-DESKTOP TWO-COLUMN BODY COPY (≥1500 px)
   Only for the front-section copies (Ch2–Ch4) that span the
   full width. Ch5 (Quote) and following keep their layout.
   ========================================================= */
@media (min-width: 1500px) {
  /* Multi-paragraph sections: paragraphs stay together, each goes into
     its own column (or wraps cleanly between columns). */
  .ch2-body .reveal,
  .ch4-copy-a {
    column-count: 2;
    column-gap: 80px;
  }
  /* Don't split paragraphs across columns in multi-paragraph sections */
  .ch2-body p,
  .ch4-copy-a p {
    break-inside: avoid;
  }

  /* Single-paragraph section (Ch3): split the paragraph itself across
     columns so the text reads in two readable widths. */
  .ch3-copy p {
    column-count: 2;
    column-gap: 80px;
  }
}

/* =========================================================
   EMOTIONAL SCORE — BRAND DIAGNOSTIC SECTION
   Lives between Ch7 (co.) and Ch8 (contact).
   Uses Room Service brand language throughout.
   ========================================================= */
.ch-score {
  display: none !important;
}
.ch-score-inner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

/* States: only one visible at a time */
.score-state { display: none; }
.score-state.is-active { display: block; }

/* Eyebrow label (matches Ch6 eyebrow) */
.score-eyebrow {
  font-family: var(--rs-display);
  font-size: 13px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--rs-red);
  margin-bottom: 32px;
  text-align: center;
}

/* Headline (INPUT + LOADING) */
.score-headline {
  font-family: var(--rs-display);
  color: var(--rs-ink);
  font-size: clamp(48px, 6vw, 92px);
  line-height: 1;
  letter-spacing: .005em;
  text-align: center;
  margin: 0 0 28px;
  text-transform: uppercase;
}
.score-intro {
  font-family: var(--rs-body);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--rs-ink);
  opacity: .75;
  text-align: center;
  margin: 0 0 28px;
}

.score-subline {
  font-family: var(--rs-body);
  font-weight: 300;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--rs-ink);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  opacity: .85;
}

/* Input form */
.score-form {
  max-width: 560px;
  margin: 0 auto 32px;
}
.score-input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 14px 0 10px;
  font-family: var(--rs-display);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--rs-ink);
  text-align: center;
  letter-spacing: .03em;
  outline: none;
  text-transform: uppercase;
}
.score-input::placeholder { color: var(--rs-ink); opacity: .25; }
.score-input-underline {
  height: 1px;
  background: var(--rs-ink);
  opacity: .25;
  margin-bottom: 36px;
  transition: opacity .25s ease;
}
.score-input:focus ~ .score-input-underline,
.score-form:focus-within .score-input-underline { opacity: .75; }

/* Buttons */
.score-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--rs-ink);
  color: var(--rs-ink);
  padding: 14px 32px;
  font-family: var(--rs-display);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.score-btn:hover {
  background: var(--rs-ink);
  color: var(--rs-cream);
}
.score-btn-primary {
  background: var(--rs-red);
  border-color: var(--rs-red);
  color: var(--rs-cream);
}
.score-btn-primary:hover {
  background: var(--rs-cream);
  border-color: var(--rs-cream);
  color: var(--rs-ink);
}
.score-btn:disabled {
  opacity: .3;
  cursor: not-allowed;
  pointer-events: none;
}
.score-btn-secondary {
  background: transparent;
}

.score-form .score-btn {
  display: block;
  margin: 0 auto;
}

.score-disclaimer {
  text-align: center;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--rs-ink);
  opacity: .35;
  margin: 48px 0 0;
}
.score-error {
  text-align: center;
  font-size: 13px;
  color: var(--rs-red);
  margin: 20px 0 0;
  letter-spacing: .05em;
}

/* ── LOADING — Vacuum cleaner animation ─────────────────── */
.score-loading-brand {
  margin-bottom: 56px;
}
.score-loading-bar {
  width: 100%;
  max-width: 480px;
  height: 2px;
  background: rgba(238, 61, 35, 0.2);
  margin: 48px auto;
  border-radius: 1px;
  overflow: hidden;
}
.score-loading-bar::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--rs-red);
  animation: loading-bar 2.4s ease-in-out infinite;
}
@keyframes loading-bar {
  0%   { width: 0; }
  50%  { width: 100%; }
  100% { width: 0; }
}
.score-loading-msg {
  text-align: center;
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--rs-ink);
  opacity: .5;
  min-height: 20px;
}

/* ── RESULTS ────────────────────────────────────────── */
.score-result-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.score-result-brand {
  font-family: var(--rs-display);
  font-size: clamp(36px, 5vw, 72px);
  color: var(--rs-cream);
  line-height: 1;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .005em;
}
.score-result-sector {
  font-family: var(--rs-display);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rs-cream);
  opacity: .5;
}
.score-result-big {
  text-align: right;
  flex-shrink: 0;
}
.score-result-num {
  font-family: var(--rs-display);
  font-size: clamp(96px, 14vw, 200px);
  font-weight: 400;
  line-height: 1;
  color: var(--rs-red);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.score-result-label {
  font-family: var(--rs-display);
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--rs-red);
  margin-top: 8px;
}

.score-divider {
  height: 1px;
  background: var(--rs-ink);
  opacity: .12;
  border: none;
  margin: 40px 0;
}

.score-section-tag {
  font-family: var(--rs-display);
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--rs-red);
  margin-bottom: 24px;
}

/* 8 Dimensions Labels */
.score-dimensions-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 36px 0 48px;
  padding: 0;
}
.score-dim-label-item {
  font-family: var(--rs-display);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rs-cream);
  opacity: .65;
  white-space: nowrap;
}

/* Score Rings */
.score-rings-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 60px;
  margin: 48px 0;
}
.score-ring-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.score-ring-label {
  font-family: var(--rs-display);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--rs-cream);
  opacity: .6;
}
.score-ring {
  position: relative;
  width: 140px;
  height: 140px;
}
.score-ring-svg {
  width: 100%;
  height: 100%;
}
.score-ring-svg circle.score-ring-bg {
  fill: none;
  stroke: rgba(0, 0, 0, 0.10);
  stroke-width: 6;
}
.score-ring-svg circle.score-ring-fill {
  fill: none;
  stroke: var(--rs-red);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dashoffset: 0;
  transform: rotate(-90deg);
  transform-box: fill-box;
  transform-origin: center;
  transition: stroke-dasharray 1.8s cubic-bezier(.22,1,.36,1);
}
.score-ring-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--rs-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--rs-ink);
  text-align: center;
  line-height: 1;
}

/* Result Layout: Brand + Competitors left, empty right */
/* Results eyebrow */
.score-results-eyebrow {
  font-family: var(--rs-body);
  font-size: 13px;
  color: var(--rs-ink);
  opacity: .5;
  margin-bottom: 16px;
}

/* Two-column results layout */
.score-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin: 0 0 56px;
  align-items: start;
}
.score-col-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.score-col-competitors {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Winner pulse — glow follows the ring shape via drop-shadow */
@keyframes winner-ring-pulse {
  0%   { filter: drop-shadow(0 0 0px  rgba(80, 210, 130, 0)); }
  35%  { filter: drop-shadow(0 0 14px rgba(80, 210, 130, 0.85)); }
  100% { filter: drop-shadow(0 0 0px  rgba(80, 210, 130, 0)); }
}
#score-tile-brand.is-winner .score-ring-large,
#score-tile-competitors.is-winner .score-ring-large,
#score-tile-competitors.is-winner .score-ring-mini {
  animation: winner-ring-pulse 1.8s ease-out forwards;
}

/* Competitor column: large avg ring + small rings side by side */
.score-comp-header {
  display: flex;
  align-items: center;
  gap: 24px;
}

.score-tile-name {
  font-family: var(--rs-display);
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--rs-ink);
  margin: 0;
  line-height: 1.0;
}
.score-tile-sector {
  font-family: var(--rs-body);
  font-size: 12px;
  color: var(--rs-ink);
  opacity: .5;
  margin-top: -16px;
}
.score-tile-label {
  font-family: var(--rs-display);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rs-ink);
  opacity: .45;
}
.score-ring-large {
  position: relative;
  width: 160px;
  height: 160px;
}
/* Individual competitor rings */
.score-comp-rings {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  flex-wrap: wrap;
}
.score-comp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.score-ring-mini {
  position: relative;
  width: 80px;
  height: 80px;
}
.score-ring-num-mini {
  font-size: 20px !important;
}
.score-comp-name {
  font-family: var(--rs-display);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rs-ink);
  opacity: .65;
  text-align: center;
  max-width: 80px;
  line-height: 1.3;
}
.score-mini-name {
  font-family: var(--rs-display);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rs-ink);
  opacity: .65;
  text-align: center;
  max-width: 80px;
  line-height: 1.3;
  word-break: break-word;
}

/* Ring hover tooltip */
.score-ring-tooltip {
  position: absolute;
  z-index: 9000;
  background: var(--rs-ink);
  color: var(--rs-cream);
  padding: 16px 20px;
  width: 240px;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border-radius: 2px;
}
.stt-title {
  font-family: var(--rs-display);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 12px;
}
.stt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 5px;
}
.stt-label {
  font-family: var(--rs-body);
  font-size: 11px;
  color: var(--rs-cream);
  opacity: .75;
  flex: 1;
  min-width: 0;
}
.stt-score {
  font-family: var(--rs-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.stt-text {
  font-family: var(--rs-body);
  font-size: 12px;
  line-height: 1.55;
  color: var(--rs-cream);
  opacity: .8;
}

/* Dimensions Section */
.score-dimensions-section {
  margin: 48px 0;
}
.score-dimensions-title {
  font-family: var(--rs-display);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rs-cream);
  opacity: .5;
  margin: 0 0 24px;
}
.score-dimensions-labels {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.score-dim-label-item {
  font-family: var(--rs-body);
  font-size: 11px;
  color: var(--rs-ink);
  opacity: .55;
  line-height: 1.4;
  white-space: nowrap;
}
.score-dim-label-item + .score-dim-label-item::before {
  content: "·";
  margin: 0 8px;
  opacity: .4;
}

/* Fast Takeaway & Outlook */
.score-takeaway,
.score-outlook {
  font-family: var(--rs-body);
  font-weight: 300;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--rs-ink);
  margin: 0;
  padding: 0;
}

/* Stand Wettbewerb & Strong Mover */
.score-stand-wettbewerb,
.score-strong-mover {
  font-family: var(--rs-body);
  font-weight: 300;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.7;
  color: var(--rs-ink);
  margin: 0;
  padding: 0;
}

/* Full-width CTA — dark on cream background */
.score-cta-full {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: var(--rs-ink);
  color: var(--rs-cream);
  padding: 36px 48px;
  margin-top: 0;
  border-radius: 0;
}
.score-cta-text {
  font-family: var(--rs-body);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--rs-cream);
  flex: 1;
}

/* Competitor comparison */
.score-comparison {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.score-comp-row {
  display: grid;
  grid-template-columns: minmax(160px, 22%) 1fr auto;
  align-items: center;
  gap: 20px;
}
.score-comp-row.is-own .score-comp-name { color: var(--rs-red); }
.score-comp-name {
  font-family: var(--rs-display);
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rs-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.score-comp-bar {
  height: 4px;
  background: rgba(255, 255, 255, .08);
  position: relative;
  overflow: hidden;
}
.score-comp-bar-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: var(--rs-cream);
  width: 0;
  transition: width 1.4s cubic-bezier(.22,1,.36,1);
}
.score-comp-row.is-own .score-comp-bar-fill { background: var(--rs-red); }
.score-comp-num {
  font-family: var(--rs-display);
  font-size: clamp(20px, 2vw, 28px);
  color: var(--rs-cream);
  font-variant-numeric: tabular-nums;
  min-width: 38px;
  text-align: right;
}
.score-comp-row.is-own .score-comp-num { color: var(--rs-red); }
.score-comp-insight {
  grid-column: 2 / -1;
  font-size: 13px;
  font-weight: 300;
  color: var(--rs-cream);
  opacity: .55;
  line-height: 1.5;
  margin-top: -6px;
}

/* Wahrheit (quote) */
.score-wahrheit {
  font-family: var(--rs-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.3;
  color: var(--rs-cream);
  margin: 0;
  padding: 0;
  border: none;
  letter-spacing: -.01em;
}

/* Territorium teaser */
.score-teaser {
  font-family: var(--rs-body);
  font-weight: 300;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
  color: var(--rs-cream);
  margin: 0 0 18px;
}
.score-teaser-note {
  font-family: var(--rs-display);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rs-cream);
  opacity: .45;
  margin: 0;
}

/* Details (8 dimensions, collapsed by default) */
.score-details {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 28px;
}
.score-details summary {
  font-family: var(--rs-display);
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--rs-cream);
  opacity: .6;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: opacity .2s;
}
.score-details summary::-webkit-details-marker { display: none; }
.score-details summary::after {
  content: " ▾";
  margin-left: 6px;
  opacity: .6;
}
.score-details[open] summary::after { content: " ▴"; }
.score-details summary:hover { opacity: 1; }
.score-dimensions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  margin-top: 28px;
}
.score-dim {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.score-dim-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.score-dim-label {
  font-family: var(--rs-display);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rs-cream);
  opacity: .7;
}
.score-dim-num {
  font-family: var(--rs-display);
  font-size: 22px;
  color: var(--rs-cream);
  font-variant-numeric: tabular-nums;
}
.score-dim-bar {
  height: 2px;
  background: rgba(255, 255, 255, .08);
  position: relative;
  overflow: hidden;
}
.score-dim-bar-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: var(--rs-cream);
  width: 0;
}
.score-dim-insight {
  font-size: 12px;
  font-weight: 300;
  color: var(--rs-cream);
  opacity: .55;
  line-height: 1.55;
  margin-top: 4px;
}

/* CTA row at bottom of results */
.score-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 56px;
}

.score-cta-message {
  flex: 1;
  min-width: 200px;
  padding: 20px 24px;
  background: rgba(238, 61, 35, 0.08);
  border-left: 3px solid var(--rs-red);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: var(--rs-cream);
  font-weight: 300;
  letter-spacing: -0.3px;
}

.score-btn-cta {
  display: inline-block;
  padding: 16px 32px;
  background: var(--rs-red);
  color: var(--rs-cream);
  font-family: var(--rs-display);
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.score-btn-cta:hover {
  transform: scale(1.04);
  background: var(--rs-red);
  color: var(--rs-cream);
}

/* Mobile adjustments */
@media (max-width: 960px) {
  .ch-score {
    padding: 72px var(--rs-pad-x);
    min-height: auto;
  }
  .score-headline { font-size: clamp(40px, 11vw, 72px); }
  .score-two-col { grid-template-columns: 1fr; gap: 48px; }
  .score-ring-large { width: 130px; height: 130px; }
  .score-ring-mini { width: 64px; height: 64px; }
  .score-ring-num-mini { font-size: 16px !important; }
  .score-comp-rings { gap: 12px; }
  .score-dimensions-labels { flex-wrap: wrap; }
  .score-dim-label-item { font-size: 10px; }
  .score-cta-full { flex-direction: column; align-items: stretch; padding: 32px 24px; gap: 24px; }
  .score-cta-full { flex-direction: column; align-items: stretch; padding: 32px 24px; gap: 24px; }
  .score-cta-text { text-align: center; }
  .score-btn-cta { display: block; text-align: center; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal, .module { opacity: 1; transform: none; }
}

/* ===================================================================
   i18n — language switching
   .i18n-en / .i18n-de wrappers are display:contents so they are
   invisible to layout. The hidden language's wrapper becomes
   display:none, which removes it and all its children from flow
   and from the accessibility tree.
   =================================================================== */
.i18n-en,
.i18n-de { display: contents; }

[lang="de"] .i18n-en { display: none !important; }
[lang="en"] .i18n-de { display: none !important; }

/* ── Language switcher pill ── */
.rs-lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
}
.rs-lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--rs-cream);
  font-family: var(--rs-display);
  font-size: 11px;
  letter-spacing: .12em;
  padding: 3px 1px;
  opacity: .35;
  transition: opacity .2s;
}
.rs-lang-btn.is-active  { opacity: 1; }
.rs-lang-btn:hover:not(.is-active) { opacity: .65; }
.rs-lang-divider {
  color: var(--rs-cream);
  opacity: .2;
  font-size: 10px;
  user-select: none;
  pointer-events: none;
}

