/* =========================================================
   INVESTOREN — RATHENOW CASE STUDY
   Uses the existing investor-page type, spacing and button system.
   ========================================================= */

.investor-page .rathenow-feature {
  background: var(--background);
  color: var(--ink);
}
.investor-page .rathenow-feature__inner { min-width: 0; }
.investor-page .rathenow-feature__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
}
.investor-page .rathenow-feature__kicker { margin-bottom: 1.05rem; }
.investor-page .rathenow-feature__statusline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
  color: var(--muted-2);
  font-size: .5rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.investor-page .rathenow-feature__statusline span:first-child { color: var(--orange); }
.investor-page .rathenow-feature__statusline span + span {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}
.investor-page .rathenow-feature__statusline span + span::before {
  content: "";
  width: 1px;
  height: 1rem;
  background: var(--line-strong);
}
.investor-page .rathenow-feature__title {
  max-width: 12em;
  margin: 0;
  color: var(--ink);
  font-size: var(--type-section-xl);
  font-weight: 300;
  line-height: .94;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.investor-page .rathenow-feature__intro { min-width: 0; padding-bottom: .15rem; }
.investor-page .rathenow-feature__lead {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: var(--body-lg);
  line-height: 1.5;
  letter-spacing: -.018em;
}
.investor-page .rathenow-feature__cta {
  width: fit-content;
  min-width: 14.7rem;
  height: 3.375rem;
  margin-top: 1.4rem;
  box-shadow: none;
}
.investor-page .rathenow-feature__body {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(18rem, .72fr);
  gap: clamp(1.5rem, 2.4vw, 2.25rem);
  align-items: stretch;
  margin-top: clamp(2.5rem, 4.5vw, 4.5rem);
}
.investor-page .rathenow-feature__media {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border-radius: 1.125rem;
  background: var(--neutral-8);
}
.investor-page .rathenow-feature__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.002);
}
.investor-page .rathenow-feature__caption {
  position: absolute;
  left: 1.125rem;
  bottom: 1rem;
  z-index: 2;
  color: var(--white);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.2;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .32);
}
.investor-page .rathenow-feature__partner {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: .25rem 0 0;
}
.investor-page .rathenow-feature__partner-label,
.investor-page .rathenow-feature__role > span,
.investor-page .rathenow-feature__status > span,
.investor-page .rathenow-feature__investor-label {
  color: var(--muted-2);
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.investor-page .rathenow-feature__metergrid {
  display: block;
  width: min(100%, 13.25rem);
  height: auto;
  margin-top: 1.1rem;
}
.investor-page .rathenow-feature__partner-sub {
  max-width: 28ch;
  margin-top: .8rem;
  color: var(--muted);
  font-size: var(--body-md);
  line-height: 1.45;
}
.investor-page .rathenow-feature__roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 1.65rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.investor-page .rathenow-feature__role { min-width: 0; padding-right: 1rem; }
.investor-page .rathenow-feature__role + .rathenow-feature__role {
  padding-right: 0;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}
.investor-page .rathenow-feature__role p {
  margin-top: .65rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}
.investor-page .rathenow-feature__partner-bottom {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 0;
  align-items: end;
  margin-top: auto;
  padding-top: 1.45rem;
  border-top: 1px solid var(--line);
}
.investor-page .rathenow-feature__investors { min-width: 0; padding-right: 1rem; }
.investor-page .rathenow-feature__investor-number {
  display: block;
  color: var(--ink);
  font-size: clamp(2.75rem, 3.6vw, 3.625rem);
  font-weight: 300;
  line-height: .88;
  letter-spacing: -.055em;
}
.investor-page .rathenow-feature__investor-label { display: block; margin-top: .7rem; }
.investor-page .rathenow-feature__status {
  min-width: 0;
  padding-left: 1.1rem;
  border-left: 1px solid var(--line);
}
.investor-page .rathenow-feature__status strong {
  display: block;
  margin-top: .55rem;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.investor-page .rathenow-feature__status strong::before {
  content: "";
  display: inline-block;
  width: .45rem;
  height: .45rem;
  margin-right: .55rem;
  border: 1px solid var(--orange);
  border-radius: 50%;
  vertical-align: .06em;
}
.investor-page .rathenow-feature__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(1.75rem, 2.5vw, 2.25rem) 0 0;
  padding: clamp(1.25rem, 1.8vw, 1.5rem) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.investor-page .rathenow-feature__stat {
  min-width: 0;
  padding: 0 clamp(1.25rem, 2.1vw, 1.875rem);
  border-left: 1px solid var(--line-strong);
}
.investor-page .rathenow-feature__stat:first-child { padding-left: 0; border-left: 0; }
.investor-page .rathenow-feature__stat:last-child { padding-right: 0; }
.investor-page .rathenow-feature__value {
  display: block;
  color: var(--ink);
  font-size: clamp(2.625rem, 3.6vw, 3.625rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.investor-page .rathenow-feature__stat-label {
  display: block;
  margin-top: .65rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.35;
}
@media (max-width: 1050px) {
  .investor-page .rathenow-feature__head {
    grid-template-columns: minmax(0, 1.05fr) minmax(17rem, .75fr);
    gap: 2.5rem;
  }
  .investor-page .rathenow-feature__body { grid-template-columns: minmax(0, 1.35fr) minmax(17rem, .8fr); }
  .investor-page .rathenow-feature__roles { grid-template-columns: 1fr; }
  .investor-page .rathenow-feature__role { padding-right: 0; }
  .investor-page .rathenow-feature__role + .rathenow-feature__role {
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}
@media (max-width: 800px) {
  .investor-page .rathenow-feature__head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }
  .investor-page .rathenow-feature__title { font-size: clamp(2.375rem, 10.5vw, 3.125rem); }
  .investor-page .rathenow-feature__lead { max-width: 36rem; font-size: 1.0625rem; }
  .investor-page .rathenow-feature__body { grid-template-columns: 1fr; gap: 1.75rem; margin-top: 2.25rem; }
  .investor-page .rathenow-feature__media { aspect-ratio: 4 / 3; border-radius: .9375rem; }
  .investor-page .rathenow-feature__partner { min-height: 0; }
  .investor-page .rathenow-feature__roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .investor-page .rathenow-feature__role + .rathenow-feature__role {
    margin-top: 0;
    padding-top: 0;
    padding-left: 1rem;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .investor-page .rathenow-feature__partner-bottom { margin-top: 1.5rem; }
  .investor-page .rathenow-feature__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.4rem; }
  .investor-page .rathenow-feature__stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .investor-page .rathenow-feature__stat:nth-child(even) { padding-right: 0; }
  .investor-page .rathenow-feature__stat:nth-child(n+3) { padding-top: 1.35rem; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .investor-page .rathenow-feature__statusline { gap: .6rem; font-size: .46rem; }
  .investor-page .rathenow-feature__cta { width: 100%; }
  .investor-page .rathenow-feature__media { aspect-ratio: 1 / .88; }
  .investor-page .rathenow-feature__caption { left: .875rem; bottom: .8rem; font-size: .7rem; }
  .investor-page .rathenow-feature__roles,
  .investor-page .rathenow-feature__partner-bottom,
  .investor-page .rathenow-feature__stats { grid-template-columns: 1fr; }
  .investor-page .rathenow-feature__role + .rathenow-feature__role,
  .investor-page .rathenow-feature__status {
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .investor-page .rathenow-feature__stat,
  .investor-page .rathenow-feature__stat:first-child,
  .investor-page .rathenow-feature__stat:nth-child(even),
  .investor-page .rathenow-feature__stat:nth-child(odd) {
    padding: 1.1rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .investor-page .rathenow-feature__stat:first-child { padding-top: 0; border-top: 0; }
}

/* Additional Rathenow press card: retain the existing editorial components. */
.investor-staging-page #case-study-rathenow .rathenow-feature__articles{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
  align-items:stretch;
}

.investor-staging-page #case-study-rathenow .rathenow-feature__article{
  display:grid;
  grid-template-columns:minmax(0,1fr) 3.75rem;
  grid-template-rows:auto 1fr auto;
  grid-template-areas:"publisher arrow" "title title" "read image";
  gap:1rem .5rem;
  min-width:0;
  width:auto;
  padding:1.25rem;
}

.investor-staging-page #case-study-rathenow .rathenow-feature__article-publisher{
  grid-area:publisher;
  align-self:center;
  min-width:0;
}

.investor-staging-page #case-study-rathenow .rathenow-feature__article-title{
  grid-area:title;
  min-width:0;
  margin:0;
  font-size:1.0625rem;
  line-height:1.5;
}

.investor-staging-page #case-study-rathenow .rathenow-feature__article-read{
  grid-area:read;
  align-self:end;
}

.investor-staging-page #case-study-rathenow .rathenow-feature__article-arrow{
  position:static;
  grid-area:arrow;
  justify-self:end;
}

.investor-staging-page #case-study-rathenow .rathenow-feature__article-image{
  position:static;
  grid-area:image;
  align-self:end;
  justify-self:end;
  width:3.75rem;
  height:3.75rem;
  object-fit:cover;
}

@media(max-width:1000px){
  .investor-staging-page #case-study-rathenow .rathenow-feature__articles{
    grid-template-columns:minmax(0,1fr);
  }
}
