/* ErzieherWissen: standard page scale, corrected 02.11.2026. */
.ew-offers { --ew-offer-ink: #163f49; background: #fff; color: var(--ew-offer-ink); }
.ew-offers .ew-offers__inner { max-width: var(--maxw); padding-inline: var(--gutter); }
.ew-offers__heading { margin-bottom: 1.8rem; text-align: center; }
.ew-offers__heading h2 { margin: 0; color: var(--petrol-darker); }
.ew-offers__heading p { margin: .8rem 0 0; color: var(--text-muted); }
.ew-offers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.ew-offers__item { min-width: 0; border-radius: var(--radius); background: #feeee6; --ew-offer-line: #e4ad96; }
.ew-offers__item--nachhilfe { background: #163f49; color: #fff; --ew-offer-ink: #fff; --ew-offer-line: #9fc6c8; }
.ew-offers__item--lexikon { background: #dff0ed; --ew-offer-line: #79a9a2; }
.ew-offers__item--shop { background: #fff1be; --ew-offer-line: #d6ad34; }
.ew-offers__card { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; border-radius: inherit; color: var(--ew-offer-ink); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.ew-offers__card:hover { color: var(--ew-offer-ink); transform: translateY(-2px); box-shadow: 0 6px 0 -4px var(--ew-offer-line); }
.ew-offers__card:focus-visible { outline: 3px solid #163f49; outline-offset: 5px; box-shadow: 0 0 0 3px #fff; border-radius: var(--radius); }
.ew-offers__content { position: relative; flex: 1; }
.ew-offers__content h3 { max-width: calc(100% - 4.5rem); min-height: 56px; margin: 0 0 .5rem; color: inherit; text-wrap: balance; }
.ew-offers__icon { position: absolute; top: 0; right: 0; width: 56px; height: 56px; }
.ew-offers__content p { margin: 0 0 1rem; color: inherit; }
.ew-offers__content p span { display: block; }
.ew-offers__action { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 44px; padding-top: .8rem; border-top: 1px solid var(--ew-offer-line); color: inherit; font-family: var(--font-head); font-size: 1rem; font-weight: 600; line-height: 1.4; }
.ew-offers__action svg { flex: 0 0 auto; width: 22px; height: 22px; transition: transform .18s ease; }
.ew-offers__card:hover .ew-offers__action svg { transform: translateX(3px); }
@media (max-width: 899px) {
  .ew-offers__grid { grid-template-columns: 1fr; }
  .ew-offers__card { padding: 1.25rem; }
  .ew-offers__content h3 { max-width: calc(100% - 3.75rem); min-height: 44px; }
  .ew-offers__icon { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .ew-offers__card, .ew-offers__action svg { transition: none; }
  .ew-offers__card:hover, .ew-offers__card:hover .ew-offers__action svg { transform: none; }
}
