/* =========================
   SOLUTIONS
   - Leistungen (services-clean)
   - Systembaukasten (hero-band) + 360° Viewer
   - Verbindungstechnik (systems) + Reel
========================= */

/* =========================
   LEISTUNGEN
========================= */
.services-clean{
  background: var(--bg);
  padding: var(--section-space) 0;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.services-clean .section-inner{
  padding: 0;
}

.services-clean .services-title{
  text-align: left;
  margin: 0 0 10px;
}

.services-clean .services-subtitle{
  text-align: left;
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.service-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: start;
  padding: 28px 0;
}

.service-row.reverse{
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

.service-row.reverse .service-media{
  order: 2;
}

.service-row.reverse .service-text{
  order: 1;
}

.service-media img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.service-text{
  text-align: left;
  align-self: start;
}

.service-row.reverse .service-text{
  text-align: right;
}

.service-text h3{
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.service-text p{
  margin: 0 0 16px;
  color: var(--ink-soft);
  opacity: 0.95;
}

.service-bullets{
  list-style: disc;
  list-style-position: inside;
  margin: 0 0 22px;
  padding: 0;
}

.service-row .service-bullets{
  text-align: left;
}

.service-row.reverse .service-bullets{
  text-align: right;
}

.service-bullets li{
  font-weight: 700;
  margin: 9px 0;
  color: var(--ink);
}

.service-bullets li::marker{
  color: var(--green);
}

.service-cta-clean{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-sizing: border-box;
  font-weight: 800;
  color: #fff;
  background: var(--green);
  padding: 13px 16px;
  border-radius: 999px;
  transition: background-color .2s ease, transform .2s ease;
}

.service-cta-clean:hover{
  background: var(--green-dark);
  transform: translateY(-1px);
}

/* =========================
   MESSEBAU
========================= */
.fair-strip{
  background: #eef4f2;
  border-top: 1px solid rgba(10, 92, 84, 0.08);
  border-bottom: 1px solid rgba(10, 92, 84, 0.08);
}

.fair-strip .section-inner{
  padding: 2.4rem 0 3rem;
}

.fair-strip__content{
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 42px;
  align-items: stretch;
}

.fair-strip__copy{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.fair-strip__text h3{
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  text-align: left;
}

.fair-strip__text p{
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
  opacity: 0.95;
  text-align: left;
}

.fair-strip__placeholders{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-self: stretch;
}

.fair-strip__placeholder{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border: 1px solid rgba(10, 92, 84, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.4);
}

.fair-strip__features{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: disc;
  list-style-position: inside;
  margin: 0;
  padding: 0;
}

.fair-strip__features li{
  color: var(--ink);
  font-weight: 700;
  text-align: left;
}

.fair-strip__features li::marker{
  color: var(--green);
}

/* =========================
   PROJEKTABLAUF
========================= */
.process-strip{
  background: var(--green-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.process-strip .section-inner{
  width: min(1020px, calc(100% - 72px));
  padding: 1.8rem 0 3rem;
}

.process-strip__head{
  display: grid;
  gap: 6px;
  margin-bottom: 1.35rem;
}

.process-strip__eyebrow{
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.process-strip__title{
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  color: #fff;
}

.process-strip__grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process-step{
  position: relative;
  min-height: 152px;
  padding: 0.65rem 0.6rem 0.9rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  display: grid;
  align-items: start;
  justify-items: center;
}

.process-step h3{
  margin: 0;
  justify-self: start;
  font-size: 0.92rem;
  color: #fff;
}

.process-step__art{
  width: 88px;
  height: 88px;
  object-fit: contain;
  align-self: center;
  margin-top: -0.35rem;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.process-step__number{
  position: absolute;
  left: -10px;
  bottom: -24px;
  color: #8be6d7;
  font-size: clamp(2.6rem, 3.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.process-step:nth-child(3) .process-step__art{
  width: 122px;
  height: 122px;
  margin-top: 0.1rem;
}

/* =========================
   SYSTEMBAUKASTEN
========================= */
.system-kit{
  background:
    linear-gradient(180deg, #ffffff 0%, #f6faf9 100%);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.system-kit .section-inner{
  padding: var(--section-space) 0;
}

.system-kit__intro,
.system-kit__grid{
  display: grid;
}

.system-kit__intro{
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 44px;
  align-items: center;
}

.system-kit__copy{
  text-align: left;
}

.system-kit__eyebrow{
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.system-kit__copy h2{
  margin: 0 0 14px;
  max-width: 12ch;
  color: var(--ink);
  text-align: left;
}

.system-kit__copy p{
  margin: 0 0 14px;
  max-width: 58ch;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.system-kit__viewer{
  position: relative;
  display: grid;
  place-items: center;
  padding: 2rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(8, 37, 35, 0.12);
}

.system-kit__viewer::before{
  content: "Interaktive Ansicht";
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 158, 139, 0.1);
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-kit__viewer #product_viewer_sb{
  width: 100%;
  max-width: 560px;
  height: 420px;
}

.system-kit__viewer #product_viewer_sb,
.system-kit__viewer #product_viewer_sb .product-viewer{
  display: grid;
  place-items: center;
}

.system-kit__viewer #product_viewer_sb .product-viewer__image{
  max-width: 66%;
  max-height: 90%;
  width: auto;
  height: auto;
}

.viewer-hint{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  color: rgba(10, 37, 35, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
}

.viewer-hint__arrow{
  display: inline-flex;
  width: 32px;
  height: 18px;
  background: center / 32px 10px no-repeat url("Arrow.svg");
  filter: brightness(0) saturate(100%) invert(20%) sepia(8%) saturate(608%) hue-rotate(127deg) brightness(92%) contrast(88%);
  animation: viewerDragHint 1.6s ease-in-out infinite;
}

.system-kit__catalog{
  margin-top: 2.4rem;
  position: relative;
  padding: 2rem 0 0;
}

.system-kit__catalog::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: calc(-1 * var(--section-space));
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #eef6f4;
  z-index: 0;
}

.system-kit__catalog-head,
.system-kit__grid{
  position: relative;
  z-index: 1;
}

.system-kit__catalog-head{
  display: grid;
  gap: 6px;
  margin-bottom: 1.2rem;
}

.system-kit__catalog-head h3{
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.system-kit__catalog-head p{
  margin: 0;
  max-width: 68ch;
  color: var(--ink-soft);
  text-align: center;
  margin-inline: auto;
}

.system-kit__grid{
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.system-part{
  min-height: 206px;
  padding: 0.95rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 37, 35, 0.07);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
}

.system-part h4{
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.system-part img{
  width: 100%;
  height: 132px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  background: #ffffff;
}

@keyframes viewerDragHint{
  0%, 100%{
    transform: translateX(-7px);
    opacity: 0.58;
  }
  50%{
    transform: translateX(7px);
    opacity: 1;
  }
}

/* =========================
   VERBINDUNGSTECHNIK
========================= */
#systems{
  background: #fff;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

#systems .section-inner{
  padding: var(--section-space) 0 2.2rem;
}

.sysTitle{
  text-align: center;
  margin: 0 0 10px;
}

.sysIntro{
  max-width: 980px;
  margin: 0 auto 28px;
  text-align: center;
}

.sysIntro p{
  margin: 0 0 10px;
  line-height: 1.75;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.sysReel{
  margin-top: 24px;
}

.sysReel-stage{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 30px;
  align-items: center;
}

.sysReel-media{
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 460px;
  background: #fff;
  box-shadow: none;
}

.sysReelVideo{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(var(--sysZoom, 1.06));
  transform-origin: center;
  opacity: 1;
  transition: opacity .32s ease;
  will-change: opacity, transform;
}

.sysReelVideo.is-fading{
  opacity: 0;
}

.sysReel-media::before,
.sysReel-media::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14%;
  pointer-events: none;
  z-index: 2;
  background: #fff;
}

.sysReel-media::before{
  left: 0;
}

.sysReel-media::after{
  right: 0;
}

.sysReel-scrim{
  display: none;
}

.sysReel-content{
  position: relative;
  padding-right: 8px;
  text-align: left;
}

.sysReelTitle{
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease;
}

.sysReelTitle.is-fading{
  opacity: 0;
  transform: translateY(6px);
}

.sysReelProps{
  list-style: disc;
  list-style-position: inside;
  margin: 0;
  padding: 0;
  transition: opacity .22s ease;
}

.sysReelProps li{
  font-weight: 600;
  margin: 8px 0;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(6px);
}

.sysReelProps li::marker{
  color: var(--green);
}

.sysReelProps.is-fading{
  opacity: 0;
}

.sysReelProps.is-fading li{
  opacity: 0;
  transform: translateY(6px);
}

.sysReel-controls{
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.sysReelBtn{
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: var(--green);
  color: #fff;
  box-shadow: none;
  display: grid;
  place-items: center;
  transition: background-color .18s ease, transform .18s ease;
}

.sysReelBtn i{
  color: inherit;
}

.sysReelBtn:hover{
  background: var(--green-dark);
}

.sysReelBtn:active{
  transform: scale(0.96);
}

.sysReel-dots{
  display: flex;
  gap: 8px;
  margin-top: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.sysReel-dot{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #0d1413;
  opacity: 0.35;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.sysReel-dot.is-active{
  background: var(--green);
  opacity: 1;
  transform: scale(1.8);
}

.sysReel-stage.is-anim .sysReel-media{
  animation: none;
}

.sysReel-stage.is-anim .sysReelProps li:nth-child(1){
  animation: sysFadeUp .35s ease .22s both;
}

.sysReel-stage.is-anim .sysReelProps li:nth-child(2){
  animation: sysFadeUp .35s ease .34s both;
}

.sysReel-stage.is-anim .sysReelProps li:nth-child(3){
  animation: sysFadeUp .35s ease .46s both;
}

@keyframes sysFadeUp{
  from{
    opacity: 0;
    transform: translateY(6px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1050px){
  .service-row,
  .service-row.reverse,
  .fair-strip__content,
  .system-kit__intro,
  .sysReel-stage{
    grid-template-columns: 1fr;
  }

  .process-strip__grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .system-kit__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-row.reverse .service-media,
  .service-row.reverse .service-text{
    order: 0;
  }

  .service-row.reverse .service-text,
  .service-row.reverse .service-bullets{
    text-align: left;
  }

  .service-media img{
    height: 280px;
  }

  .process-step{
    min-height: 0;
  }

  .system-kit__copy h2{
    max-width: 16ch;
  }

  .system-kit__copy,
  .system-kit__copy h2,
  .system-kit__catalog-head{
    text-align: center;
  }

  .system-kit__copy p,
  .system-kit__catalog-head p{
    margin-inline: auto;
  }
}

@media (max-width: 768px){
  .services-clean{
    padding: var(--section-space) 0;
  }

  .services-clean .services-title{
    text-align: center;
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .services-clean .services-subtitle{
    text-align: center;
    font-size: 1rem;
  }

  .service-row{
    gap: 20px;
    padding: 28px 0;
  }

  .service-media img{
    height: 220px;
    border-radius: 8px;
  }

  .service-text,
  .service-row.reverse .service-text{
    text-align: center;
  }

  .service-row .service-bullets,
  .service-row.reverse .service-bullets{
    text-align: center;
  }

  .process-strip .section-inner,
  .fair-strip .section-inner,
  .system-kit .section-inner{
    padding-left: 0;
    padding-right: 0;
  }

  .process-strip__head,
  .process-step,
  .fair-strip__text,
  .system-kit__copy,
  .system-kit__copy h2,
  .system-kit__catalog-head{
    text-align: center;
  }

  .fair-strip__content{
    gap: 22px;
  }

  .fair-strip__copy,
  .fair-strip__text,
  .fair-strip__text h3,
  .fair-strip__text p,
  .fair-strip__features li{
    text-align: center;
  }

  .fair-strip__text p{
    margin-inline: auto;
  }

  .fair-strip__placeholders{
    gap: 10px;
  }

  .system-kit__grid{
    grid-template-columns: 1fr;
  }

  .process-strip__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-kit__copy h2{
    max-width: none;
  }

  .system-kit__copy p,
  .system-kit__catalog-head p,
  .sysIntro p{
    font-size: 1rem;
    margin-inline: auto;
  }

  .system-kit__viewer{
    padding: 1.35rem 1rem 1rem;
  }

  .system-kit__viewer::before{
    position: static;
    margin-bottom: 0.8rem;
  }

  .system-kit__viewer #product_viewer_sb{
    height: 320px;
  }

  .system-kit__viewer #product_viewer_sb .product-viewer__image{
    max-width: 72%;
    max-height: 90%;
  }

  .sysReel-media{
    height: 320px;
    border-radius: 8px;
  }

  .sysTitle,
  .sysIntro,
  .sysReel-content,
  .sysReelTitle{
    text-align: center;
  }

  .sysReelProps{
    text-align: center;
  }

  .sysReel-controls,
  .sysReel-dots{
    justify-content: center;
  }
}

@media (max-width: 520px){
  .service-cta-clean{
    width: 100%;
    justify-content: center;
    margin-inline: 0;
  }

  .process-step{
    padding: 0.95rem 0.9rem;
  }

  .process-strip__grid{
    grid-template-columns: 1fr;
  }

  .fair-strip__placeholders{
    grid-template-columns: 1fr;
  }

  .system-kit__viewer #product_viewer_sb{
    height: 270px;
  }

  .system-kit__viewer #product_viewer_sb .product-viewer__image{
    max-width: 76%;
    max-height: 88%;
  }

  .sysReel-media{
    height: 260px;
  }

  .sysReel-controls{
    margin-top: 18px;
  }
}
