/* Keep the hero subhead within the marked text column. */
.investor-staging-page #home .investor-stage__subline{
  width:100%;
  max-width:44rem;
}

/* Multi-step form motion (mirrors index.html hero land-check). js adds
   .is-height-managed when GSAP + motion are allowed, handing the viewport
   height morph, step cross-fade and progress fill over to JS. Without it the
   CSS keyframe (.is-entering) runs instead. */
.investor-staging-page .investor-contact .investor-land-check.is-height-managed .land-check__viewport {
  overflow: hidden;
}
.investor-staging-page .investor-contact .investor-land-check.is-height-managed .land-check__step {
  animation: none;
}
.investor-staging-page .investor-contact .investor-land-check.is-height-managed .land-check__progress-fill {
  transition: none;
}

/* Partner strip — 4-column grid matching the facts row above.
   Label column carries the orange accent; logo cells stack image + description. */

/* Strip background and lower border off the whole proof band */
.investor-staging-page .investor-proof-band { background: transparent; }
.investor-staging-page .investor-iab { border-top: 0; }

.investor-staging-page .inv-partners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

/* Label column */
.investor-staging-page .inv-partners__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .5rem 1rem;
  margin: 0;
  min-height: 4.5rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* Logo columns */
.investor-staging-page .inv-partners__partner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: .5rem 1rem;
  border-left: 1px solid var(--line);
}

.investor-staging-page .inv-partners__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.investor-staging-page .inv-partners__logo img {
  flex: 0 0 auto;
  display: block;
  width: auto;
  height: auto;
  max-width: clamp(80px, 8vw, 130px);
  max-height: 2.9rem;
  object-fit: contain;
}

.investor-staging-page .inv-partners__partner--ampyr .inv-partners__logo img {
  max-width: clamp(100px, 9.5vw, 140px);
  max-height: 2.7rem;
}

.investor-staging-page .inv-partners__partner--bsw .inv-partners__logo img {
  max-width: clamp(56px, 5.2vw, 82px);
}

.investor-staging-page .inv-partners__logo span {
  display: block;
  color: var(--muted);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.45;
}

/* Facts row: orange accent on unit characters (%, €) and rating stars */
.investor-staging-page .investor-stage__facts .inv-u {
  font-style: normal;
  color: inherit;
}
.investor-staging-page .investor-stage__google-stars {
  color: var(--orange);
}

/* Tablet: 2×2, AMPYR wraps to col 1 (loses its left border, gains top) */
@media (max-width: 800px) {
  .investor-staging-page .inv-partners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1rem 0;
  }
  .investor-staging-page .inv-partners__partner--ampyr {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .investor-staging-page .inv-partners__partner--bsw {
    border-top: 1px solid var(--line);
  }
}

/* Mobile: label spans full width, 3 logos in one row below */
@media (max-width: 520px) {
  .investor-staging-page .inv-partners {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .investor-staging-page .inv-partners__label {
    grid-column: 1 / -1;
    min-height: 2.5rem;
    padding: 0 .5rem .75rem;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
    text-align: left;
  }
  .investor-staging-page .inv-partners__partner--orron {
    border-left: 0;
    padding: .5rem .75rem;
  }
  .investor-staging-page .inv-partners__partner--ampyr {
    border-left: 1px solid var(--line);
    border-top: 0;
    padding: .5rem .75rem;
  }
  .investor-staging-page .inv-partners__partner--bsw {
    border-top: 0;
    padding: .5rem .75rem;
  }
}

/* FAQ: no number column, answer not indented, horizontal padding on each row. */
.investor-staging-page .iab-faq__summary {
  grid-template-columns: minmax(0, 1fr) 1.8rem;
  padding-inline: 0.5rem;
}
.investor-staging-page .iab-faq[data-smooth-faq] .iab-faq__answer-inner,
.investor-staging-page .iab-faq[data-smooth-faq] .iab-faq__answer:not(:has(> .iab-faq__answer-inner)) {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
@media (max-width: 640px) {
  .investor-staging-page .iab-faq__summary {
    grid-template-columns: minmax(0, 1fr) 1.6rem;
  }
}

/* All section kickers on this page: hard-coded 20px gap matching index.html.
   home-tweaks.css sets margin-bottom:var(--kicker-gap) with specificity (0,0,2,1),
   but --kicker-gap is absent from index.min.css so it resolves to 0 on this page.
   Loading refinements.css last with the same specificity formula overrides it. */
body.investor-staging-page .section-kicker {
  margin-bottom: 20px;
}

/* Analysis header: flat block flow, not the 2-column grid from investoren-staging.css */
.investor-staging-page .investor-analysis__header {
  display: block;
}

/* Primary CTA buttons: explicit orange pill identical to hero-button in styles.css.
   Ensures investor-button base styles (loaded later) don't bleed over the appearance. */
.investor-staging-page .investor-button--primary {
  background: var(--orange);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 0 8px 0 27px;
  gap: 24px;
  height: 59px;
  min-width: 235px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(242, 110, 63, 0.16);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.investor-staging-page .investor-button--primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 18px 40px rgba(242, 110, 63, 0.22);
}
.investor-staging-page .investor-button--primary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

/* Contact section: blend with the page background instead of standing out white */
.investor-staging-page .investor-contact {
  background: var(--background);
}

/* Intro column: flex so the trust card is pushed to the bottom */
.investor-staging-page .investor-contact .site-contact__intro {
  display: flex;
  flex-direction: column;
}
.investor-staging-page .investor-contact .inv-trust {
  margin-top: auto;
  padding-top: clamp(2rem, 4vw, 3rem);
}

/* Form fields: restore the index.html / styles.css baseline appearance.
   investoren-staging.css replaces every sub-element (boxed inputs, flat buttons, large labels).
   These rules win via higher specificity (.investor-staging-page added) and last-load order. */

/* Field label: small uppercase (7px / 1.6px tracking) matching the hero form */
.investor-staging-page .investor-contact .land-check__field-label {
  font-size: 7px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--form-muted);
  margin-bottom: 0;
}

/* Input shell: underline only, no box */
.investor-staging-page .investor-contact .land-check__input-shell {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 47px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(24, 34, 29, 0.14);
  border-radius: 0;
  background: transparent;
}
.investor-staging-page .investor-contact .land-check__input-shell:focus-within {
  border-color: var(--orange);
}
.investor-staging-page .investor-contact .land-check__select-wrap {
  grid-template-columns: 24px minmax(0, 1fr) 13px;
}

/* Input / select */
.investor-staging-page .investor-contact .land-check__input-shell input,
.investor-staging-page .investor-contact .land-check__input-shell select {
  height: 46px;
  padding: 0;
  font-size: 14px;
}

/* Icon: 18×18 grid, inherits underline colour */
.investor-staging-page .investor-contact .land-check__field-icon {
  position: static;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex-shrink: initial;
  color: rgba(24, 34, 29, 0.45);
}
.investor-staging-page .investor-contact .land-check__field-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.4;
}

/* Textarea shell: block (no 24px icon column from the input-shell grid rule), border on shell */
.investor-staging-page .investor-contact .land-check__textarea-shell {
  display: block;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(24, 34, 29, 0.14);
  border-radius: 0;
  background: transparent;
  min-height: 0;
}
.investor-staging-page .investor-contact .land-check__textarea-shell:focus-within {
  border-bottom-color: var(--orange);
}
/* Textarea itself: no border (shell handles it), no resize handle */
.investor-staging-page .investor-contact textarea {
  display: block;
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  resize: none;
  font-size: 14px;
}

/* Next / Submit button: full pill with shadow matching hero form */
.investor-staging-page .investor-contact .land-check__next,
.investor-staging-page .investor-contact .land-check__submit {
  height: 53px;
  min-width: 152px;
  padding: 0 6px 0 23px;
  gap: 21px;
  border-radius: 999px;
  font-size: 13px;
  box-shadow: 0 13px 30px rgba(242, 110, 63, 0.18);
}
.investor-staging-page .investor-contact .land-check__next:hover,
.investor-staging-page .investor-contact .land-check__submit:hover {
  box-shadow: 0 17px 36px rgba(242, 110, 63, 0.24);
  transform: translateY(-1px);
}
.investor-staging-page .investor-contact .land-check__next-arrow {
  width: 41px;
  height: 41px;
  background: rgba(255, 255, 255, 0.17);
  border-radius: 50%;
}

/* Rathenow article cards: glass aesthetic matching the trust card and form */
.investor-staging-page .rathenow-style-scope .rathenow-feature__article {
  border: 0;
  border-radius: 20px;
  background: rgba(249, 250, 249, 0.965);
  box-shadow: 0 8px 32px rgba(24, 34, 29, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.investor-staging-page .rathenow-style-scope .rathenow-feature__article + .rathenow-feature__article {
  border: 0;
  padding-left: 1.125rem;
}
@media (max-width: 1180px) {
  .investor-staging-page .rathenow-style-scope .rathenow-feature__article + .rathenow-feature__article {
    border: 0;
    padding-top: 0;
  }
}

/* "Passt diese Investition zu Ihnen?" — widen to 2 lines (investoren-staging.css sets 11ch which gives 3) */
.investor-staging-page .investor-fit h2 {
  max-width: 16ch;
}

/* Form: restore the index.html land-check visual treatment (shadow, large radius, terrain art).
   investoren-staging.css strips these to a plain white card; this overrides it back. */
.investor-staging-page .investor-contact .investor-land-check {
  border: 1px solid rgba(24, 34, 29, 0.07);
  border-radius: 29px;
  background: rgba(249, 250, 249, 0.965);
  box-shadow: 0 25px 75px rgba(24, 34, 29, 0.12);
}
.investor-staging-page .investor-contact .land-check__technical-art,
.investor-staging-page .investor-contact .land-check__accent {
  display: block;
}

/* Rathenow + FAQ: unified heading typography.
   Both headers now use plain section-kicker (no bespoke class), and h2s without
   the old named classes so sven-feedback.css can't fight them. */
.investor-staging-page .rathenow-feature__heading h2,
.investor-staging-page .iab-faq__intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: var(--type-section-xl);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.055em;
}
@media (max-width: 950px) {
  .investor-staging-page .rathenow-feature__heading h2,
  .investor-staging-page .iab-faq__intro h2 {
    font-size: clamp(2.375rem, 6vw, 3.125rem);
  }
}

/* Testimonial card: same surface as the form card, and its bottom edge lines up with the bottom of the form */
.investor-staging-page .investor-contact .inv-trust__quote {
  background: rgba(249, 250, 249, 0.965);
}
@media (min-width: 1101px) {
  .investor-staging-page .investor-contact .site-contact__intro {
    align-self: stretch;
  }
}
.investor-staging-page .investor-contact .inv-trust {
  margin-bottom: 0;
}

/* Dropdowns in the investor form: the unanswered placeholder ("Bitte auswählen") is grey, like the placeholder of the text fields */
.investor-staging-page .investor-contact .land-check__select-wrap select:invalid {
  color: var(--form-muted, #8a928d);
}
.investor-staging-page .investor-contact .land-check__select-wrap select option {
  color: var(--ink);
}
