/* MS-Hydraulik: Film, Projektanfrage und Seitenabschluss. */
.hero-lab-v3 {
  background: linear-gradient(115deg, #171521, #101016 63%);
}
.hero-lab-v3::before { display: none; }
.hero-lab-v3 .hero-copy .eyebrow { color: #b7b0f3; }
.hero-lab-v3 .hero-copy .lead { max-width: 43ch; }
.hero-lab-v3 .hero-cinema, .hero-lab-v3 .machine-film {
  transform: none;
  box-shadow: none;
}
.hero-lab-v3 .machine-film { inset: 0; }
.hero-lab-v3 .hero-cinema::before {
  background: linear-gradient(0deg, rgb(8 8 12 / .42), transparent 28%);
}
.hero-lab-v3 .machine-film-video, .hero-lab-v3 .machine-film-poster img {
  filter: saturate(.77) contrast(1.05) brightness(.92);
  transform: none;
}
.hero-lab-v3 .machine-aperture, .hero-lab-v3 .machine-light { display: none; }
.hero-lab-v3 .film-control { background: rgb(18 18 23 / .85); border-color: #8d8a9d; }
@media (min-width: 60.01rem) {
  .hero-lab-v3 { min-height: 0; }
  .hero-lab-v3 .hero-cinema {
    height: clamp(30rem, 67svh, 47rem); min-height: 0;
    border-radius: 0 0 0 1.25rem;
  }
  .hero-lab-v3 .hero-copy { padding-block: 2.5rem; }
}
@media (max-width: 60rem) {
  .hero.hero-lab-v3 {
    min-height: 0; padding: var(--header-height) 0 0; display: flex;
    flex-direction: column; align-items: stretch; overflow: clip;
  }
  .hero.hero-lab-v3 .hero-copy {
    width: var(--container); max-width: none; min-height: 0;
    margin-inline: auto; padding: clamp(2rem, 5vw, 3.5rem) 0 2rem;
  }
  .hero.hero-lab-v3 .hero-cinema {
    position: relative; inset: auto; width: 100%; height: auto;
    min-height: 0; aspect-ratio: 2 / 1; border-radius: 0; border-inline: 0;
  }
  .hero.hero-lab-v3 .hero-cinema::before {
    background: linear-gradient(0deg, rgb(8 8 12 / .32), transparent 32%);
  }
  .hero-lab-v3 .btn-row { max-width: none; }
  .hero-lab-v3 .btn-row .btn { min-height: 2.85rem; }
}
.project-contact { padding-block: clamp(2rem, 4vw, 4rem); }
.project-contact .project-panel {
  display: grid; position: relative; isolation: isolate; overflow: hidden;
  grid-template-columns: minmax(0, 2fr) minmax(12rem, 1fr);
  background: #201d30; border: 1px solid #464055; border-radius: .75rem;
}
.project-panel-copy { padding: clamp(1.55rem, 4.2vw, 3.8rem); align-self: center; }
body.type-r7 .project-contact.section .project-panel h2[id] {
  max-width: 24ch !important; font-size: clamp(1.85rem, 3.2vw, 3rem) !important;
  line-height: 1.08 !important; letter-spacing: -.044em; margin: 0;
}
.project-panel-copy p { max-width: 56ch; line-height: 1.6; color: #d7d3e0; margin: .8rem 0 1.3rem; }
.project-panel-copy .btn { background: #e9e6ff; color: #211c3d; box-shadow: none; }
.project-panel-copy .btn:hover { background: white; color: #211c3d; }
.project-panel-image { display: block; position: relative; overflow: hidden; margin: 0; min-height: 100%; }
.project-panel-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.site-footer:not(.site-footer-compact) { padding: clamp(2rem, 3.5vw, 3rem) 0 1.5rem; background: #111016; }
.site-footer .footer-grid { gap: 1.8rem clamp(2rem, 5vw, 5rem); align-items: start; }
.site-footer .footer-brand img { width: 11.75rem; height: auto; padding: .25rem .4rem; border-radius: .25rem; margin-bottom: .85rem; }
.site-footer .footer-brand p { max-width: 38ch; line-height: 1.55; font-size: .93rem; margin-bottom: 0; }
.site-footer .footer-column h2 { margin: 0 0 .65rem; text-transform: none; font: 640 .95rem/1.3 Geist, sans-serif; letter-spacing: 0; color: #eceaf1; }
.site-footer .footer-column a, .site-footer .footer-column address span { min-height: 1.6rem; line-height: 1.55; font-size: .91rem; }
.site-footer .footer-column address { margin: 0 0 .35rem; }
.site-footer :is(.footer-column,.footer-legal) a:hover { color: #d1caff; text-decoration: underline; text-underline-offset: .22em; }
.site-footer:not(.site-footer-compact) .footer-bottom { margin-top: clamp(1.5rem, 3vw, 2.5rem); padding-top: 1.1rem; }
.project-contact a:focus-visible, .site-footer a:focus-visible, .hero-lab-v3 :is(a,button):focus-visible {
  outline: 2px solid #ded9ff; outline-offset: 4px;
}
@media (max-width: 40rem) {
  .project-contact .project-panel { grid-template-columns: minmax(0, 1fr); }
  .project-panel-copy { padding: 1.35rem; }
  .project-panel-image { order: -1; height: 5.5rem; min-height: 0; }
  .project-panel-image img { object-position: 50% 40%; }
  .site-footer .footer-grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 1.65rem .8rem; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer .footer-column a { overflow-wrap: anywhere; min-height: 1.95rem; }
  .site-footer .footer-bottom { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .site-footer .footer-legal { column-gap: .95rem; row-gap: .4rem; }
}
@media (max-width: 23rem) {
  .site-footer .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

.section:has(+ .project-contact) { padding-bottom: clamp(.5rem, 1.8vw, 1.8rem); }
@media (min-width: 23.01rem) and (max-width: 40rem) {
  .fact-rail .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-rail .fact { min-height: 6.2rem; padding: .85rem .65rem; border: 0; }
  .fact-rail .fact:nth-child(odd) { padding-left: 0; }
  .fact-rail .fact:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1rem; }
  .fact-rail .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact-rail .fact-value { font-size: 1.02rem; }
}
