/* Page-specific layout for the Anziehhilfen guide. */

.page-anziehhilfen .product-hero {
  --product-hero-desktop: url("/assets/images/anziehhilfen-hero-1600.jpg");
  --product-hero-mobile: url("/assets/images/anziehhilfen-hero-960.jpg");
}

.page-anziehhilfen .product-hero__copy {
  max-width: 600px;
}

.page-anziehhilfen .hero-point:nth-child(2) span {
  white-space: normal;
}

.aid-chooser {
  padding-block: 46px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.aid-chooser__heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.aid-chooser__heading h2 {
  font-size: 30px;
}

.aid-chooser__heading p:last-child {
  margin-top: 10px;
  color: var(--muted);
}

.aid-chooser__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.aid-choice {
  min-height: 144px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.aid-choice:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.aid-choice__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-green);
}

.aid-choice__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aid-choice strong,
.aid-choice span {
  display: block;
}

.aid-choice strong {
  font-size: 16px;
  line-height: 1.35;
}

.aid-choice span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.aid-choice__arrow {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aid-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.aid-product {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(2, 29, 60, 0.05);
}

.aid-product__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #e8eef2;
}

.aid-product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.aid-product__badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.aid-product__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.aid-product__maker {
  margin-bottom: 6px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.aid-product h3 {
  min-height: 52px;
  font-size: 18px;
}

.aid-product__features {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.aid-product__features li {
  position: relative;
  padding-left: 22px;
  color: #3b4a51;
  font-size: 13px;
  line-height: 1.5;
}

.aid-product__features li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 1px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.aid-product__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  line-height: 1;
}

.aid-product__rating span {
  color: #efa900;
  font-size: 17px;
  letter-spacing: 0;
}

.aid-product__rating small {
  color: var(--muted);
  font-size: 12px;
}

.aid-product__limit {
  margin-top: 18px;
  padding: 14px 15px;
  border-left: 3px solid var(--teal);
  border-radius: 4px;
  background: var(--surface-soft);
  color: #33444c;
  font-size: 13px;
  line-height: 1.55;
}

.aid-product__limit strong {
  display: block;
  margin-bottom: 4px;
  color: var(--teal-dark);
  font-size: 11px;
  text-transform: uppercase;
}

.aid-product__amazon-note {
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.aid-product .button {
  margin-top: 8px;
}

.aid-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.aid-fit-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.aid-fit-card__title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.aid-fit-card__title svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aid-fit-card__title h3 {
  font-size: 17px;
}

.aid-fit-card__group {
  padding: 18px;
}

.aid-fit-card__group + .aid-fit-card__group {
  border-top: 1px solid var(--line);
}

.aid-fit-card__group h4 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 13px;
}

.aid-fit-card__group ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.aid-fit-card__group li {
  position: relative;
  padding-left: 20px;
  color: #435159;
  font-size: 13px;
  line-height: 1.5;
}

.aid-fit-card__group li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 1px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.aid-fit-card__group--avoid li::before {
  border-color: #b4232f;
}

.warning-band {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 28px;
  border: 1px solid #e3a6aa;
  border-radius: var(--radius);
  background: #fff7f7;
}

.warning-band__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #a61b25;
}

.warning-band__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.warning-band h2 {
  color: #861821;
  font-size: 25px;
}

.warning-band p {
  max-width: 950px;
  margin-top: 9px;
  color: #5f3033;
  font-size: 14px;
}

.warning-band strong {
  color: #861821;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.resource-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.resource-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.resource-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.resource-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.resource-card__meta {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.resource-card h3 {
  margin-top: 7px;
  font-size: 17px;
}

.resource-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.resource-card span:last-child {
  margin-top: auto;
  padding-top: 16px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1000px) {
  .aid-chooser__grid,
  .aid-products,
  .aid-fit-grid {
    grid-template-columns: 1fr;
  }

  .aid-choice {
    min-height: 118px;
  }

  .aid-product {
    display: grid;
    grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
  }

  .aid-product__media {
    aspect-ratio: auto;
    min-height: 100%;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-anziehhilfen .hero-point span {
    min-width: 0;
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .aid-chooser {
    padding-block: 38px;
  }

  .aid-chooser__heading h2 {
    font-size: 27px;
  }

  .aid-choice {
    grid-template-columns: 48px minmax(0, 1fr) 20px;
    gap: 13px;
    padding: 17px;
  }

  .aid-choice__icon {
    width: 48px;
    height: 48px;
  }

  .aid-choice__icon svg {
    width: 29px;
    height: 29px;
  }

  .aid-product {
    display: flex;
  }

  .aid-product__media {
    aspect-ratio: 1.18;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .aid-product__body {
    padding: 19px;
  }

  .aid-product h3 {
    min-height: 0;
  }

  .warning-band {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }

  .warning-band__icon {
    width: 48px;
    height: 48px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .resource-card img {
    height: 100%;
    min-height: 176px;
    aspect-ratio: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aid-choice,
  .resource-card {
    transform: none !important;
  }
}
