/* Newsletter-Archiv als Karten (Seite "Newsletter", TypoScript fileadmin/Configuration/TypoScript/newsletter-archive.ts) */
.nl-cards {
  list-style: none;
  margin: 1.5rem 0 2.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
@media only screen and (max-width: 64em) {
  .nl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
@media only screen and (max-width: 40em) {
  .nl-cards { grid-template-columns: 1fr; }
}
.nl-cards .nl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  transition: box-shadow .2s ease, transform .2s ease;
}
.nl-cards .nl-card:hover,
.nl-cards .nl-card:focus-within {
  box-shadow: 0 6px 22px rgba(132, 35, 131, .28);
  transform: translateY(-3px);
}
.nl-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3e8f3;
}
.nl-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Banner mit Schrift: ganz zeigen, Rest der Kachel in Lomi-Lila */
.nl-card-media:has(.nl-card-banner) {
  background: #842383;
}
.nl-card-media img.nl-card-banner {
  object-fit: contain;
}
.nl-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #842383;
  font-family: 'Ubuntu Condensed', 'Exo', sans-serif;
  font-size: 2rem;
}
.nl-card-body {
  padding: 1.1rem 1.25rem 1.4rem;
}
.nl-cards .nl-card-date {
  margin: 0 0 .4rem;
  color: #842383;
  font-size: .8rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.nl-cards .nl-card-title {
  margin: 0 0 .6rem;
  font-size: 1.3rem;
  line-height: 1.25;
}
.nl-cards .nl-card-title a {
  color: #33333f;
  text-decoration: none;
}
.nl-cards .nl-card:hover .nl-card-title a,
.nl-cards .nl-card-title a:focus {
  color: #842383;
}
/* ganze Karte klickbar */
.nl-cards .nl-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.nl-cards .nl-card-text {
  margin: 0;
  color: #555;
  font-size: .9rem;
  line-height: 1.45;
}

/* Newsletter-Anmeldung als CTA-Balken ueber die volle Breite (Template fe_admin_dmailsubscrip_cta.tmpl) */
.nl-cta {
  position: relative;
  margin: 2rem 0 2.5rem;
  padding: 2.25rem 0;
  color: #fff;
  background: #842383;
  /* Farbflaeche bis an den Fensterrand, ohne horizontalen Scrollbalken */
  box-shadow: 0 0 0 100vmax #842383;
  clip-path: inset(0 -100vmax);
}
.nl-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 3rem;
  align-items: center;
}
@media only screen and (max-width: 40em) {
  .nl-cta { padding: 1.75rem 0; }
  .nl-cta-inner { grid-template-columns: 1fr; }
}
.nl-cta .nl-cta-kicker {
  margin: 0 0 .25rem;
  color: #f2c9ef;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nl-cta .nl-cta-title {
  margin: 0 0 .5rem;
  color: #fff;
  font-size: 2rem;
  line-height: 1.15;
}
.nl-cta .nl-cta-lead {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
}
.nl-cta .nl-cta-label {
  display: block;
  margin: 0 0 .4rem;
  color: #fff;
  font-size: .85rem;
}
.nl-cta .nl-cta-row {
  display: flex;
  gap: .5rem;
}
@media only screen and (max-width: 40em) {
  .nl-cta .nl-cta-row { flex-direction: column; }
}
.nl-cta .nl-cta-row input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 3rem;
  margin: 0;
  padding: 0 1rem;
  border: 2px solid #fff;
  border-radius: 0;
  background: #fff;
  color: #33333f;
  font-size: 1rem;
  box-shadow: none;
}
.nl-cta .nl-cta-row input[type="email"]:focus {
  border-color: #f2c9ef;
  outline: 3px solid rgba(255, 255, 255, .45);
  outline-offset: 1px;
}
.nl-cta .nl-cta-button {
  flex: 0 0 auto;
  height: 3rem;
  margin: 0;
  padding: 0 1.5rem;
  border: 2px solid #fff;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: 'Ubuntu Condensed', 'Exo', sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.nl-cta .nl-cta-button:hover,
.nl-cta .nl-cta-button:focus {
  background: #fff;
  color: #842383;
}
.nl-cta .nl-cta-note {
  margin: .6rem 0 0;
  color: #f2c9ef;
  font-size: .8rem;
  line-height: 1.4;
}
.nl-cta .nl-cta-note a {
  color: #fff;
  text-decoration: underline;
}
.nl-cta .nl-cta-error {
  margin: 0 0 .5rem;
  padding: .4rem .75rem;
  background: #fff;
  color: #842383;
  font-weight: bold;
}
.nl-cta-done .nl-cta-inner {
  grid-template-columns: 1fr;
}

/* Angebote als Karten (offer-cards.ts) – nutzt die Kartenstile des Newsletter-Archivs */
.offer-cards .nl-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.offer-cards .nl-card-text {
  flex: 1 1 auto;
}
.offer-cards .offer-card-more {
  margin: .9rem 0 0;
  color: #842383;
  font-family: 'Ubuntu Condensed', 'Exo', sans-serif;
  font-size: 1rem;
}
