/* Plissee-Held insect-screen SEO pages — Figma node 1216:71180 */

#text_inhalt:has(.ph-page) {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  overflow: visible;
}

#text_inhalt:has(.ph-page)::before {
  display: none !important;
  content: none !important;
}

#text_inhalt:has(.ph-page) > h1 {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  box-sizing: border-box;
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin: 42px auto 30px !important;
  padding: 0 !important;
  color: #171717 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: clamp(1.7rem, 2.35vw, 2.35rem) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-shadow: none !important;
}

.ph-page,
.ph-page * {
  box-sizing: border-box;
}

.ph-page {
  --ph-yellow: #ffd400;
  --ph-black: #111111;
  --ph-grey: #f3f3f5;
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin: 0 auto;
  color: #171717;
  font-size: 1rem;
  line-height: 1.58;
}

.ph-page > .block {
  width: 100% !important;
  margin: 64px 0 !important;
}

.ph-page h2,
.ph-page h3 {
  color: #171717;
  font-weight: 600;
  line-height: 1.25;
}

.ph-page h2 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.ph-page h3 {
  margin: 30px 0 12px;
  font-size: clamp(1.2rem, 1.45vw, 1.5rem);
}

.ph-page p {
  margin: 0 0 16px;
  line-height: 1.58;
}

.ph-page a:focus-visible {
  outline: 3px solid #171717;
  outline-offset: 3px;
}

/* Overview choice cards */
.ph-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  width: min(680px, 100%);
  margin: 0 auto 58px;
}

.ph-choice-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 8px 20px rgb(0 0 0 / 12%);
}

.ph-choice-image {
  position: relative;
  display: block;
  height: 164px;
  overflow: hidden;
  background: #eee;
}

.ph-choice-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-choice-window .ph-choice-image > img {
  transform: scaleX(-1);
  object-position: 53% center;
}

.ph-choice-door .ph-choice-image > img {
  object-position: center 42%;
}

.ph-choice-measure {
  position: absolute;
  right: 50%;
  bottom: -21px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  transform: translateX(50%) rotate(-45deg);
  color: #222;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 9px rgb(0 0 0 / 18%);
  font-size: 1.25rem;
  font-weight: 700;
}

.ph-choice-body {
  padding: 29px 22px 24px;
  text-align: center;
}

.ph-choice-body h2 {
  margin: 0;
  font-size: 1.48rem;
}

.ph-choice-price {
  margin: 3px 0 17px !important;
  font-size: 1.05rem;
}

.ph-choice-price strong {
  font-size: 1.25rem;
  font-weight: 600;
}

.ph-choice-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.ph-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  color: #111 !important;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgb(0 0 0 / 15%);
}

.ph-button-primary {
  background: var(--ph-yellow);
}

.ph-button-dark {
  color: #fff !important;
  background: var(--ph-black);
}

/* Figma contents panel */
.ph-toc {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
  gap: 56px;
  align-items: center;
  width: 100%;
  margin: 46px 0 72px;
  padding-bottom: 42px;
  border-bottom: 1px solid #d6d6d6;
}

.ph-toc h2 {
  margin-bottom: 17px;
  font-size: 1.6rem;
}

.ph-toc ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ph-toc li {
  margin: 0;
  padding: 0;
}

.ph-toc li::before {
  content: "›";
  display: inline-block;
  width: 18px;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: -1px;
}

.ph-toc a {
  color: #171717 !important;
  text-decoration: none !important;
}

.ph-toc a:hover {
  text-decoration: underline !important;
}

.ph-mesh {
  min-height: 168px;
  background-color: #e4e4ec;
  background-image:
    linear-gradient(rgb(229 229 239 / 65%), rgb(229 229 239 / 65%)),
    url("/bilder/seo/insektenschutz/fiberglasGewebe.webp");
  background-position: center;
  background-size: cover;
}

/* Detail-page image banners */
.ph-hero-block {
  margin: 0 0 14px !important;
}

.ph-figma-hero {
  position: relative;
  width: 100%;
  height: clamp(300px, 31vw, 410px);
  overflow: hidden;
  background: #e9e9e9;
  box-shadow: 0 7px 16px rgb(0 0 0 / 14%);
}

.ph-figma-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-figma-hero-window > img {
  transform: scaleX(-1);
  object-position: center 44%;
}

.ph-figma-hero-door > img {
  object-position: center 38%;
}

.ph-hero-config {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--ph-yellow);
  box-shadow: 0 3px 9px rgb(0 0 0 / 18%);
}

.ph-hero-config img {
  display: block;
  width: 23px;
  height: 23px;
}

.ph-hero-caption {
  margin: 14px 0 0 !important;
  font-size: .72rem;
  letter-spacing: .02em;
  text-align: center;
}

.ph-window .ph-toc {
  margin-top: 38px;
}

.ph-door .ph-toc {
  display: none;
}

/* Product-card rows */
.ph-page .sideScroller {
  width: 100%;
  margin: 20px 0 0 !important;
}

.ph-page .sideScroller > .wrapper {
  width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden;
  padding: 4px 3px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: #d1d1d1 transparent;
  scrollbar-width: thin;
}

.ph-page .sideScroller .sliderBlock {
  display: flex !important;
  width: max-content !important;
  gap: 16px !important;
  padding: 0 !important;
}

.ph-page .sideScroller .productCard,
.ph-page .sideScroller .productCardSlider {
  position: relative;
  display: flex !important;
  flex: 0 0 272px !important;
  width: 272px !important;
  min-width: 272px !important;
  height: auto !important;
  flex-direction: column;
  overflow: hidden;
  color: #171717 !important;
  background: #fff;
  border: 1px solid #e1e1e1 !important;
  border-radius: 0 !important;
  box-shadow: 0 4px 10px rgb(0 0 0 / 12%);
  text-decoration: none !important;
  scroll-snap-align: start;
}

.ph-page .sideScroller .posRelative {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ph-page .sideScroller img.cover {
  display: block;
  width: 100% !important;
  height: 196px !important;
  object-fit: cover !important;
}

.ph-page .sideScroller .foregroundIcon {
  z-index: 2;
}

.ph-page .sideScroller .bannerbewertung {
  z-index: 3;
}

.ph-page .sideScroller .infos {
  display: flex;
  min-height: 96px;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 15px 16px 12px !important;
  background: inherit;
}

.ph-page .sideScroller .middleText {
  display: block !important;
  margin: 0 !important;
}

.ph-page .sideScroller .middleText h3 {
  margin: 0 0 6px !important;
  font-size: 1.08rem !important;
  text-align: center;
}

.ph-page .sideScroller .middleText > div {
  margin: 0 !important;
  font-size: .92rem;
  text-align: center;
}

.ph-page .sideScroller .middleText > div span {
  font-size: 1.15rem !important;
}

.ph-page .sideScroller .middleText p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.45;
}

.ph-window .sideScroller .productCard::after,
.ph-door .sideScroller .productCardSlider::after,
.ph-door .sideScroller .productCard::after {
  content: "Konfigurieren";
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin: auto 12px 12px;
  color: #fff;
  background: #111;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1;
}

.ph-overview #kategorien .productCard {
  flex-basis: 280px !important;
  width: 280px !important;
  min-width: 280px !important;
}

.ph-overview #kategorien .productCard:not(:nth-child(2)) .middleText p {
  display: none;
}

.ph-overview #kategorien .productCard:nth-child(2) {
  background: var(--ph-yellow);
  border-color: var(--ph-yellow) !important;
}

.ph-overview #kategorien .productCard:nth-child(2) .posRelative {
  display: none;
}

.ph-overview #kategorien .productCard:nth-child(2) .infos {
  padding: 28px 22px 22px !important;
}

.ph-overview #kategorien .productCard:nth-child(2) .middleText h3 {
  margin-bottom: 18px !important;
  text-align: left;
}

.ph-overview #kategorien .productCard:nth-child(2) .bottomLine {
  margin-top: 18px;
}

/* Yellow-headed comparison tables from the Figma file */
.ph-page .table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 0 !important;
  box-shadow: 0 2px 7px rgb(0 0 0 / 8%);
}

.ph-page .table .row {
  min-width: max-content;
  border: 0 !important;
  border-bottom: 1px solid #dedede !important;
}

.ph-page .table .row:first-child > span {
  color: #111 !important;
  background: var(--ph-yellow) !important;
  font-weight: 600 !important;
}

.ph-page .table .row > span {
  min-height: 48px;
  padding: 10px 12px !important;
  background: #fff;
  border-right: 1px solid #e1e1e1 !important;
}

.ph-page .table .ghostToPrimaryhover {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  color: #fff !important;
  background: #111 !important;
  text-decoration: none !important;
}

/* Figma-style comparison and FAQ surfaces */
.ph-overview .flexBox.shadowBox,
.ph-overview .flexBox .shadowBox,
.ph-overview .shadowBox {
  border-radius: 0 !important;
  box-shadow: 0 4px 12px rgb(0 0 0 / 10%) !important;
}

.ph-overview #auswahlhilfe {
  padding: 28px;
  background: var(--ph-grey);
}

.ph-overview #auswahlhilfe .table {
  box-shadow: none;
}

.ph-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 68px 0;
}

.ph-comparison-card {
  overflow: hidden;
  color: #171717 !important;
  background: #fff;
  border: 1px solid #e1e1e1;
  box-shadow: 0 4px 12px rgb(0 0 0 / 11%);
  text-decoration: none !important;
}

.ph-comparison-card > img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.ph-comparison-card > div {
  padding: 20px 22px 22px;
}

.ph-comparison-card h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.ph-comparison-card p {
  margin: 0;
}

.ph-overview .questRowns {
  margin-top: 70px;
}

.ph-overview .quest {
  margin: 0 !important;
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid #d8d8d8 !important;
  border-radius: 0 !important;
}

.ph-overview .quest > .title {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 13px 6px !important;
  color: #171717 !important;
  font-weight: 500;
}

.ph-overview .quest .awnser {
  padding: 2px 20px 18px 38px !important;
}

.ph-overview .quest:not(.active) .awnser {
  display: none !important;
}

.ph-overview .quest.active .awnser {
  display: block !important;
}

@media (min-width: 1280px) {
  .ph-page .sideScroller .productCard,
  .ph-page .sideScroller .productCardSlider {
    flex-basis: 276px !important;
    width: 276px !important;
    min-width: 276px !important;
  }
}

@media (max-width: 810px) {
  #text_inhalt:has(.ph-page) > h1 {
    width: calc(100% - 32px) !important;
    margin: 28px auto 24px !important;
    font-size: 1.55rem !important;
  }

  .ph-page {
    width: calc(100% - 32px);
    font-size: .96rem;
  }

  .ph-page > .block {
    margin: 44px 0 !important;
  }

  .ph-choice-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    margin-bottom: 46px;
  }

  .ph-choice-card {
    width: min(100%, 390px);
    margin: 0 auto;
  }

  .ph-choice-image {
    height: 178px;
  }

  .ph-choice-actions {
    flex-wrap: wrap;
  }

  .ph-toc {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 34px 0 46px;
    padding-bottom: 28px;
  }

  .ph-toc h2 {
    font-size: 1.35rem;
  }

  .ph-mesh {
    display: none;
  }

  .ph-door .ph-toc {
    display: grid;
  }

  .ph-figma-hero {
    height: min(72vw, 285px);
  }

  .ph-figma-hero-window > img {
    object-position: center 42%;
  }

  .ph-figma-hero-door > img {
    object-position: center 34%;
  }

  .ph-hero-caption {
    margin-top: 10px !important;
    font-size: .66rem;
  }

  .ph-page .sideScroller {
    width: calc(100vw - 16px);
    margin-left: 0 !important;
  }

  .ph-page .sideScroller .productCard,
  .ph-page .sideScroller .productCardSlider,
  .ph-overview #kategorien .productCard {
    flex-basis: min(82vw, 330px) !important;
    width: min(82vw, 330px) !important;
    min-width: min(82vw, 330px) !important;
  }

  .ph-page .sideScroller img.cover {
    height: 205px !important;
  }

  .ph-page .table {
    margin-right: -16px;
    padding-bottom: 8px;
  }

  .ph-overview .quest .awnser {
    padding-left: 16px !important;
  }

  .ph-comparison-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 48px 0;
  }

  .ph-comparison-card > img {
    height: 205px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ph-page .sideScroller > .wrapper {
    scroll-behavior: auto;
  }
}
