/* Startseite: gut lesbare Hervorhebung und responsive Erklärungsschritte. */
.hero .hero__highlight {
  color: #c4edab;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .3);
}

#warum-scheiben-blind-werden .blind-process {
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
#warum-scheiben-blind-werden .blind-process__item:last-child {
  grid-column: auto;
}
.blind-process__content { min-width: 0; }
.blind-process__toggle { display: none; }
.blind-process__body[hidden] { display: none !important; }
.blind-process__body > p + ul { margin-top: .75rem; }
.blind-process__body > :last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  #warum-scheiben-blind-werden .blind-process { gap: .8rem; }
  #warum-scheiben-blind-werden .blind-process__item {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: .75rem;
    padding: 1rem;
    align-items: start;
  }
  #warum-scheiben-blind-werden .blind-process__number {
    width: 2.25rem;
    height: 2.25rem;
    margin-top: .25rem;
    font-size: .9rem;
  }
  .blind-process--interactive .blind-process__title-static { display: none; }
  #warum-scheiben-blind-werden .blind-process--interactive h3 { margin: 0; }
  .blind-process--interactive .blind-process__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    width: 100%;
    min-height: 44px;
    padding: .15rem 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 1.03rem;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
  }
  .blind-process__toggle:hover { color: var(--green-700); }
  .blind-process__toggle svg {
    width: 20px;
    height: 20px;
    flex: none;
    color: var(--green-700);
    transition: transform .2s;
  }
  .blind-process__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .blind-process--interactive .blind-process__body:not([hidden]) { padding-top: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .blind-process__toggle svg { transition: none; }
}

/* Einheitliche Bildformate für alle drei Vorher-Nachher-Projekte. */
.ba-projects > .ba-project .ba { aspect-ratio: 4 / 3; }


.social__placeholder {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: rgba(255,255,255,.88);
  font-size: 1.2rem;
  cursor: default;
}
.social .social__whatsapp {
  color: #25d366;
}
.social .social__whatsapp:hover { background: #25d366; color: #fff; }


/* Garantiefläche: klare Typografie, kompaktere Kennzahl und ruhiger CTA-Abstand. */
.guarantee .guarantee__big {
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 1.8rem);
  min-height: 210px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.055);
}
.guarantee .guarantee__subline {
  display: inline-block;
  margin-top: .45rem;
  color: var(--green-200);
  font-family: var(--font-text);
  font-size: .52em;
  font-weight: 550;
  letter-spacing: 0;
  line-height: 1.35;
}
.guarantee .btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.guarantee .btn-row .btn { min-height: 52px; }
@media (max-width: 880px) {
  .guarantee .guarantee__big { min-height: 150px; justify-content: flex-start; }
}


/* Telefonkarte: Rufnummer bleibt auch auf schmalen Bildschirmen einzeilig. */
.cta-band__phone .num {
  white-space: nowrap;
  font-size: clamp(1.2rem, 1.02rem + 1vw, 2rem);
  letter-spacing: -.045em;
}

/* Verfahrensbilder: leichter Hover-Zoom am Desktop. */
@media (hover: hover) and (pointer: fine) {
  .procedure-card__media img {
    transition: transform .6s cubic-bezier(.2,.7,.25,1);
  }
  .procedure-card:hover .procedure-card__media img,
  .procedure-card:focus-within .procedure-card__media img {
    transform: scale(1.055);
  }
}

/* Auf schmalen Ansichten bekommt jedes Bild beim Einblenden einen kurzen Zoom-Impuls. */
@media (max-width: 700px) {
  .procedure-card.reveal.is-in .procedure-card__media img {
    animation: procedure-image-arrive .85s cubic-bezier(.2,.7,.25,1) both;
  }
}
@keyframes procedure-image-arrive {
  0% { transform: scale(1.055); }
  68% { transform: scale(1.018); }
  100% { transform: scale(1); }
}

/* Zahl und Beschriftung der Garantie-Kachel beginnen auf derselben optischen Höhe. */
.guarantee .guarantee__big { align-items: center; }
.guarantee .guarantee__big .num { line-height: .9; }
@media (min-width: 881px) {
  .guarantee .btn-row .btn { padding-inline: .9rem; font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .procedure-card__media img { animation: none !important; transition: none !important; }
}

/* Infografik mit unveränderten Projektfotos und gut lesbarer HTML-Beschriftung. */
.insulation-graphic {
  overflow: hidden;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.insulation-graphic__photos {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  background: #fff;
}
.insulation-graphic__photo {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-100);
}
.insulation-graphic__photo::after {
  position: absolute;
  inset: 48% 0 0;
  content: '';
  background: linear-gradient(transparent, rgba(6, 25, 13, .67));
  pointer-events: none;
}
.insulation-graphic__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.insulation-graphic__tag,
.insulation-graphic__photo-caption { position: absolute; z-index: 1; color: #fff; }
.insulation-graphic__tag {
  top: 1rem;
  left: 1rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(10, 35, 19, .84);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
}
.insulation-graphic__photo-caption {
  right: 1.1rem;
  bottom: 1rem;
  left: 1.1rem;
  font-size: clamp(.95rem, .85rem + .45vw, 1.1rem);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,.65);
}
.insulation-graphic__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--green-500);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  transform: translate(-50%, -50%);
}
.insulation-graphic__caption {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  padding: 1.4rem clamp(1.25rem, 3vw, 2rem);
  background: #f3f8f1;
  color: var(--green-900);
}
.insulation-graphic__glass {
  position: relative;
  display: flex;
  width: 92px;
  height: 66px;
  flex: none;
  align-items: center;
  gap: 13px;
  justify-content: center;
}
.insulation-graphic__glass > span:not(.insulation-graphic__glass-coated),
.insulation-graphic__glass-coated {
  width: 13px;
  height: 54px;
  border: 1px solid #9cb8aa;
  border-radius: 3px;
  background: linear-gradient(90deg, #e3f3ec, #fff 52%, #c5e1d2);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.insulation-graphic__glass > i {
  width: 13px;
  height: 1px;
  background: #91a896;
}
.insulation-graphic__glass-coated { border-left: 4px solid var(--green-500); }
.insulation-graphic__glass > b {
  position: absolute;
  right: -7px;
  bottom: -4px;
  padding: .13rem .37rem;
  border-radius: 4px;
  background: var(--green-700);
  color: #fff;
  font-size: .58rem;
  line-height: 1.2;
}
.insulation-graphic__caption-copy { display: grid; gap: .28rem; min-width: 0; }
.insulation-graphic__caption-copy strong { font-size: 1.06rem; line-height: 1.35; }
.insulation-graphic__caption-copy > span { color: var(--ink-3); font-size: .93rem; line-height: 1.5; }
.insulation-graphic__source {
  margin-left: auto;
  flex: none;
  color: var(--green-700);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .insulation-graphic__photos { grid-template-columns: minmax(0, 1fr); }
  .insulation-graphic__photo { aspect-ratio: 4 / 3; }
  .insulation-graphic__arrow { transform: translate(-50%, -50%) rotate(90deg); }
  .insulation-graphic__caption { align-items: flex-start; flex-wrap: wrap; gap: .8rem 1rem; }
  .insulation-graphic__glass { width: 65px; }
  .insulation-graphic__caption-copy { flex: 1 1 180px; }
  .insulation-graphic__source { width: 100%; margin-left: 0; padding-left: 81px; }
}

/* Symmetrischer SVG-Pfeil statt eines von der Schrift abhängigen Zeichens. */
.insulation-graphic__arrow { font-size: 0; line-height: 0; }
.insulation-graphic__arrow svg { display: block; width: 26px; height: 26px; }

/* Galerie-Link nach allen drei Vergleichsbildern, auf Desktop und Mobilgeräten. */
#galerie-vorschau .gallery-more { margin-top: 1.75rem; }

/* Garantieseite: lesbare Rechtssicherheits-Kachel und ruhige Kennzahl. */
.guarantee--legal {
  background: radial-gradient(600px 320px at 85% 8%, rgba(148,209,131,.13), transparent 65%), linear-gradient(150deg,var(--green-900),var(--green-950));
}
.guarantee--legal h2 {
  max-width: 17ch;
  font-family:var(--font-display);
  font-size: clamp(1.9rem,1.35rem + 1.6vw,2.65rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.guarantee--legal .lead {
  max-width: 39rem;
  color: rgba(255,255,255,.86);
  font-size: clamp(1.05rem,.99rem + .22vw,1.17rem);
  line-height: 1.68;
}
.guarantee--legal .guarantee__big {
  gap: clamp(.9rem,2vw,1.35rem);
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.075);
}
.guarantee--legal .guarantee__big .num {
  font-family: var(--font-text);
  font-size: clamp(5rem,4rem + 3vw,7.5rem);
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: 1;
}
.guarantee--legal .guarantee__big .txt {
  font-family: var(--font-text);
  font-size: clamp(1.45rem,1.15rem + .9vw,1.85rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
}
.guarantee--legal .guarantee-contact { margin-top: .85rem; }

/* Verfahren: Schritt 6 und die abschließende Kachel näher zusammenrücken. */
@media (min-width: 900px) {
  #procedure-steps { padding-bottom: clamp(2rem, 3vw, 3rem); }
  #procedure-legal { padding-top: clamp(2rem, 3vw, 3rem); }
}
