/* Pfaff-Handschrift: eine optische p-Form, kein Ersatz für die Originalwortmarke. */
.pfaff-p {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background-color: var(--deep);
  -webkit-mask: var(--pfaff-p-signature) center / contain no-repeat;
  mask: var(--pfaff-p-signature) center / contain no-repeat;
  pointer-events: none;
}
.hero-p-frame { padding-bottom: 0; }
.pfaff-photo-frame {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  --p-offset: 24px;
}
.pfaff-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--green);
  transform: translate(var(--p-offset), var(--p-offset));
  -webkit-mask: var(--pfaff-p-frame) center / contain no-repeat;
  mask: var(--pfaff-p-frame) center / contain no-repeat;
  pointer-events: none;
}
.pfaff-photo-frame .hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 0;
  object-fit: cover;
  object-position: center 40%;
  -webkit-mask: var(--pfaff-p-frame) center / contain no-repeat;
  mask: var(--pfaff-p-frame) center / contain no-repeat;
}
.hero-p-frame .tour-button {
  position: relative;
  inset: auto;
  display: inline-flex;
  width: max-content;
  max-width: 80%;
  margin: 22px 0 0 20%;
  border: 1px solid var(--line);
  box-shadow: none;
}
.hero-p-frame .award-card { right: 0; top: -6px; transform: none; }
.hero-p-frame .hero-caption {
  position: static;
  display: block;
  margin: 9px 0 0 20%;
  max-width: 80%;
  text-align: left;
}
.pfaff-collection { padding-top: 84px; }
.collection-heading { align-items: end; margin-bottom: 36px; }
.collection-heading h2 { font-size: clamp(38px, 4.3vw, 62px); letter-spacing: -.055em; max-width: 740px; }
.collection-heading > p { font-size: 17px; max-width: 315px; }
.collection-signature { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.collection-signature .pfaff-p { width: 35px; height: 35px; }
.collection-signature .section-kicker { margin: 0; text-transform: none; letter-spacing: .015em; font-size: 14px; color: var(--deep); }
.pfaff-collection .filter-bar { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 36px; gap: 23px; }
.pfaff-collection .filter-button {
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 0;
  padding: 8px 0;
  position: relative;
  font-size: 14px;
  min-height: 44px;
}
.pfaff-collection .filter-button::after {
  content: '';
  position: absolute;
  bottom: -19px;
  inset-inline: 0;
  height: 3px;
  background: transparent;
  transition: background .2s ease;
}
.pfaff-collection .filter-button[aria-pressed="true"] { color: var(--deep); }
.pfaff-collection .filter-button[aria-pressed="true"]::after { background: var(--green); }
.pfaff-collection .filter-button:hover { color: var(--green); }
.collection-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0 58px;
  align-items: start;
}
.collection-story {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  transition: none;
}
.collection-story:hover { transform: none; }
.story-brillen { grid-column: 1; grid-row: 1 / span 2; }
.collection-picture { position: relative; min-width: 0; }
.collection-story .product-image.original-motif {
  height: 290px;
  width: 100%;
  object-fit: contain;
  background: #f8f9f5;
  border-radius: 0 95px 0 0;
}
.story-brillen .collection-picture {
  background: var(--mint);
  padding: 24px 20px 16px;
  border-radius: 6px 140px 6px 6px;
}
.story-brillen .product-image.original-motif { height: 255px; background: var(--paper); }
.collection-story .product-body { padding: 26px 0 0; }
.collection-label {
  color: var(--green);
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 700;
  margin-bottom: 11px !important;
}
.collection-story .product-body h3 { font-size: 31px; line-height: 1.16; letter-spacing: -.045em; margin-bottom: 16px; max-width: 440px; }
.collection-story .product-body > p:not(.collection-label) { font-size: 14px; line-height: 1.85; margin-bottom: 24px; max-width: 440px; }
.collection-story .product-links { flex-direction: row; flex-wrap: wrap; gap: 12px 22px; align-items: baseline; }
.collection-story .text-link { font-size: 14px; }
.collection-story .quick-details { font-size: 14px; }
.collection-picture .image-disclosure {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 12px 0 0;
}
.story-kontaktlinsen,
.story-sonnenbrillen {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 23px;
  align-items: center;
  padding-block: 3px 27px;
}
.story-sonnenbrillen { border-top: 1px solid var(--line); padding-block: 28px 0; margin-top: 24px; }
.story-kontaktlinsen .product-body,
.story-sonnenbrillen .product-body { padding: 0; }
.story-kontaktlinsen .product-image.original-motif,
.story-sonnenbrillen .product-image.original-motif { height: 185px; border-radius: 0; }
.story-kontaktlinsen .product-body h3,
.story-sonnenbrillen .product-body h3 { font-size: 26px; }
.story-kontaktlinsen .product-body > p:not(.collection-label),
.story-sonnenbrillen .product-body > p:not(.collection-label) { font-size: 14px; margin-bottom: 17px; }
.story-kontaktlinsen .product-links,
.story-sonnenbrillen .product-links { flex-direction: column; gap: 11px; }
.collection-layout.filtered {
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
}
.collection-layout.filtered .collection-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-column: auto;
  grid-row: auto;
  gap: 48px;
  align-items: center;
  padding: 0;
  margin: 0;
  border: 0;
}
.collection-layout.filtered .product-image.original-motif { height: 300px; }
.collection-layout.filtered .product-body { padding: 0; }
.collection-layout.filtered .product-body h3 { font-size: 34px; }
.collection-layout.filtered .product-links { flex-direction: row; gap: 15px 22px; }
.collection-closing { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; }
.collection-closing p { font-size: 14px; color: var(--deep); }
.pfaff-collection .filter-status { font-size: 14px; margin-top: 12px; min-height: 18px; }
.gallery-top { position: relative; }
.gallery-p { width: 54px; height: 54px; margin-right: 2px; background: var(--green); }
.gallery-top > div { flex: 1; }
.brand-contact { position: relative; overflow: clip; isolation: isolate; }
.brand-contact .container { position: relative; z-index: 1; }
.contact-p {
  position: absolute;
  right: -50px;
  top: -38px;
  width: 340px;
  height: 340px;
  opacity: .045;
  background: white;
}
.detail-brand-signature { display: flex; align-items: center; gap: 9px; margin-bottom: 23px; color: var(--deep); font-size: 14px; font-weight: 700; }
.detail-brand-signature .pfaff-p { width: 34px; height: 34px; }
@media (max-width: 1100px) {
  .collection-layout { gap: 0 32px; }
  .story-kontaktlinsen, .story-sonnenbrillen { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 15px; }
  .story-kontaktlinsen .product-body h3, .story-sonnenbrillen .product-body h3 { font-size: 23px; }
  .collection-heading h2 { font-size: 49px; }
  .hero-p-frame .hero-caption { font-size: 14px; }
}
@media (max-width: 820px) {
  .collection-heading { display: block; }
  .collection-heading > p { max-width: 500px; margin-top: 21px; }
  .collection-layout { grid-template-columns: minmax(0, 1fr); gap: 33px; }
  .collection-story, .collection-layout.filtered .collection-story {
    grid-column: auto;
    grid-row: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 30px;
    margin: 0;
  }
  .story-brillen { border-top: 0; padding-top: 0; }
  .collection-story .product-body { padding: 0; }
  .collection-story .product-body h3, .collection-layout.filtered .product-body h3 { font-size: 29px; }
  .collection-story .product-image.original-motif, .collection-layout.filtered .product-image.original-motif { height: 220px; }
  .collection-story .product-links { flex-direction: column; gap: 13px; }
  .story-brillen .collection-picture { padding: 17px; border-top-right-radius: 100px; }
  .pfaff-photo-frame { --p-offset: 20px; }
  .hero-p-frame .tour-button { margin-top: 23px; }
  .hero-p-frame .award-card { right: 0; }
}
@media (max-width: 600px) {
  .hero-p-frame { padding-bottom: 0; margin-inline: 0; }
  .pfaff-photo-frame { max-width: 360px; margin-inline: auto; --p-offset: 18px; }
  .hero-p-frame .tour-button { margin-top: 25px; }
  .hero-p-frame .hero-caption { font-size: 17px; }
  .hero-p-frame .award-card { top: 4px; right: 0; transform: none; }
  .pfaff-collection { padding-top: 51px; }
  .collection-heading h2 { font-size: clamp(35px, 8.3vw, 46px); }
  .collection-heading > p { font-size: 14px; }
  .collection-signature { margin-bottom: 15px; }
  .collection-signature .section-kicker { font-size: 14px; }
  .pfaff-collection .filter-bar { gap: 6px 19px; margin-bottom: 29px; }
  .pfaff-collection .filter-button { font-size: 14px; }
  .pfaff-collection .filter-button::after { bottom: -19px; }
  .collection-story, .collection-layout.filtered .collection-story { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .collection-story .product-body h3, .collection-layout.filtered .product-body h3 { font-size: 30px; }
  .collection-story .product-image.original-motif, .collection-layout.filtered .product-image.original-motif { height: 230px; }
  .collection-story .product-body > p:not(.collection-label) { font-size: 14px; }
  .collection-story .product-links, .collection-layout.filtered .product-links { flex-direction: row; gap: 15px 20px; }
  .story-kontaktlinsen .collection-picture, .story-sonnenbrillen .collection-picture { background: transparent; }
  .collection-closing { flex-direction: column; align-items: flex-start; gap: 13px; }
  .gallery-top { display: block; }
  .gallery-p { width: 35px; height: 35px; margin: 0 0 13px; }
  .contact-p { width: 220px; height: 220px; opacity: .035; top: -55px; right: -62px; }
  .detail-brand-signature { margin-bottom: 17px; }
}
@media (max-width: 360px) {
  .hero-p-frame .hero-caption { display: none; }
  .collection-heading h2 { font-size: 33px; }
  .pfaff-collection .filter-bar { gap: 3px 17px; }
  .pfaff-collection .filter-button { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pfaff-collection .filter-button::after { transition: none; }
}

/* Einladende Originalaufnahme, nur als leise Atmosphäre hinter der Pfaff-Komposition. */
.hero {
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(248,249,245,.97) 0%, rgba(248,249,245,.94) 39%, rgba(248,249,245,.84) 100%),
    linear-gradient(0deg, #f8f9f5 0%, rgba(248,249,245,0) 32%),
    url('/manus-storage/laden-innenansicht_de25567b.jpg');
  background-size: cover;
  background-position: center, center, center 59%;
  background-repeat: no-repeat;
}
.hero > .hero-grid { position: relative; z-index: 1; }
@media (max-width: 820px) {
  .hero::before {
    background-image:
      linear-gradient(90deg, rgba(248,249,245,.97) 0%, rgba(248,249,245,.91) 100%),
      linear-gradient(0deg, #f8f9f5 0%, rgba(248,249,245,0) 38%),
      url('/manus-storage/laden-innenansicht_de25567b.jpg');
    background-position: center, center, 57% center;
  }
}

/* Die eigenständige Markenkomposition übernimmt dieselbe lesbare Schriftgrößenskala. */
.collection-heading > p { font-size: 17px; max-width: 360px; }
.collection-signature .section-kicker { font-size: 15px; font-weight: 700; }
.pfaff-collection .filter-button { font-size: 15px; }
.collection-label { font-size: 14px !important; }
.collection-story .product-body > p:not(.collection-label) { font-size: 17px; }
.collection-story .text-link { font-size: 15px; }
.collection-story .quick-details { font-size: 14px; }
.collection-picture .image-disclosure { font-size: 14px; font-weight: 600; }
.collection-closing p { font-size: 16px; }
.pfaff-collection .filter-status { font-size: 14px; }
.hero-p-frame .hero-caption { font-size: 14px; }
.detail-brand-signature { font-size: 15px; }
.story-kontaktlinsen, .story-sonnenbrillen {
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: start;
}
@media (max-width: 1100px) and (min-width: 821px) {
  .collection-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .collection-story {
    grid-column: auto;
    grid-row: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    border-top: 1px solid var(--line);
    padding-top: 25px;
    margin: 0;
  }
  .story-brillen { border-top: 0; padding-top: 0; }
  .collection-story .product-body { padding-top: 0; }
}
@media (max-width: 820px) {
  .collection-heading > p { max-width: none; }
  .story-kontaktlinsen, .story-sonnenbrillen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .story-kontaktlinsen, .story-sonnenbrillen { grid-template-columns: minmax(0, 1fr); }
  .pfaff-collection .filter-bar { gap: 7px 20px; }
  .pfaff-collection .filter-button { font-size: 15px; }
  .pfaff-collection .filter-button::after { bottom: 0; }
  .hero-p-frame .tour-button { max-width: 90%; margin-left: 10%; }
  .hero-p-frame .hero-caption { max-width: 90%; margin-left: 10%; }
}

/* Die originale Pfaff-p-Kontur hat weniger Außenraum als das vorherige geometrische Signet. */
.hero-p-frame .tour-button,
.hero-p-frame .hero-caption { margin-left: 12%; }
@media (max-width: 600px) {
  .hero-p-frame .tour-button,
  .hero-p-frame .hero-caption { margin-left: 10%; }
}

/* Letzte Desktoppositionierung: mehr Bildpräsenz, rechte Komposition näher am Text. */
@media (min-width: 1061px) {
  .hero-grid { gap: 32px; }
  .hero-p-frame { transform: translateX(-28px); }
  .hero-p-frame .pfaff-photo-frame { max-width: 580px; }
  .hero-p-frame .pfaff-photo-frame::before,
  .hero-p-frame .pfaff-photo-frame .hero-image {
    -webkit-mask-size: 115% 115%;
    mask-size: 115% 115%;
  }
}

/* Award-Oberkante an der vom Nutzer markierten unteren rechten Stelle der P-Fotoform. */
.hero-p-frame {
  container-type: inline-size;
  --p-frame-max: 540px;
}
.hero-p-frame .award-card {
  right: 8%;
  top: calc(min(100cqw, var(--p-frame-max)) * .64);
}
.hero-p-frame .tour-button {
  margin-top: max(28px, calc(205px - min(100cqw, var(--p-frame-max)) * .36));
}
@media (min-width: 1061px) {
  .hero-p-frame { --p-frame-max: 580px; }
}
@media (max-width: 600px) {
  .hero-p-frame { --p-frame-max: 360px; }
}

/* Original-Produktfotos: die entscheidenden Motivteile bleiben vollständig erkennbar. */
.collection-story .product-image.original-motif { border-radius: 8px; }
.story-brillen .product-image.original-motif { object-fit: cover; object-position: 50% 55%; }
.story-kontaktlinsen .product-image.original-motif,
.story-sonnenbrillen .product-image.original-motif { object-fit: contain; }
