:root { --max: clamp(1240px, 94%, 1560px); }

.karten-raster { grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 14px; }
.karten-raster.eng { grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); }

.karten-raster.kachel { grid-template-columns: repeat(auto-fill, minmax(152px, 1fr)); gap: 10px; }

@media (min-width: 1080px) {

  .karten-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .karten-raster.dreier { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1600px) {
  .karten-raster { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.gutschein-karte, .deal-karte { padding: 13px 13px 12px; gap: 7px; }
.gutschein-titel { font-size: .97rem; line-height: 1.28; margin: 2px 0 0; }

.gutschein-text {
  font-size: .94rem; line-height: 1.4; margin: 0;

  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}

.gutschein-bedingung { font-size: .94rem; padding: 6px 8px; }
.gutschein-shop { font-size: .88rem; }
.gutschein-kat { font-size: .72rem; }
.marken-band { gap: 5px; }
.marke { font-size: .7rem; padding: .18rem .45rem; }

.gutschein-kopf { position: relative; gap: 9px; align-items: center; }
.gutschein-karte > .rabatt-plakette,
.deal-karte > .rabatt-plakette {
  position: absolute; top: 10px; right: 10px;
  font-size: .82rem; padding: .2rem .5rem; border-radius: 11px 11px 11px 3px;
}

.rabatt-plakette + .gutschein-titel,
.rabatt-plakette + .gutschein-kopf { padding-right: 0; }

.gutschein-karte > .gutschein-kopf:first-child { padding-right: 4.4rem; }

.sektion-kopf {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin: 26px 0 12px;
  border-bottom: 1px solid var(--stroke); padding-bottom: 8px;
}
.sektion-kopf h2, .sektion-kopf .sektion-titel {
  margin: 0; font-size: 1.22rem; font-weight: 900; line-height: 1.2;
  display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap;
}
.sektion-zahl {
  font-size: .78rem; font-weight: 800; color: var(--muted2);
  background: rgba(255, 255, 255, .07); border: 1px solid var(--stroke);
  border-radius:var(--rund-pille); padding: .12rem .5rem; white-space: nowrap;
}
.sektion-mehr {
  font-size: .86rem; font-weight: 800; color: var(--muted); text-decoration: none;
  white-space: nowrap; padding: .3rem .1rem;
}
.sektion-mehr:hover { color: #fff; text-decoration: underline; }
.sektion-mehr:focus-visible { outline: none; box-shadow: var(--focus); border-radius:var(--rund-klein); }

.sektion-kopf p {
  margin: 0; flex: 1 1 100%; color: var(--muted2);
  font-size: .94rem; max-width: 78ch;
}

.logo-leiste {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 9px; margin: 0 0 22px; padding: 0; list-style: none;
}
.logo-leiste > li { margin: 0; }
.logo-kachel {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 11px 7px 9px; border-radius:var(--rund-gross);
  border: 1px solid var(--stroke); background: var(--card);
  text-decoration: none; color: var(--text); height: 100%;
  transition: border-color .18s, background .18s, transform .18s;
}
.logo-kachel:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.logo-kachel:focus-visible { outline: none; box-shadow: var(--focus); }
.logo-kachel .shop-logo { flex: 0 0 auto; }
.logo-kachel-name {
  font-size: .78rem; font-weight: 800; line-height: 1.2; text-align: center;
  overflow-wrap: anywhere;

  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}

.logo-kachel-zahl { font-size: .75rem; color: var(--muted2); font-weight: 700; }

.register-az { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 14px; padding: 0; list-style: none; }
.register-az > li { margin: 0; }
.register-buchstabe {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; min-height: 36px; padding: 0 .35rem;
  border-radius:var(--rund-mittel); border: 1px solid var(--stroke); background: var(--card);
  font-weight: 900; font-size: .86rem; text-decoration: none; color: var(--text);
}
.register-buchstabe:hover { background: rgba(255, 255, 255, .11); }
.register-buchstabe:focus-visible { outline: none; box-shadow: var(--focus); }
.register-buchstabe[aria-disabled="true"] { opacity: .32; pointer-events: none; }
.register-gruppe { margin-top: 22px; }
.register-gruppe > h3 {
  margin: 0 0 9px; font-size: 1.05rem; font-weight: 900;
  border-bottom: 1px solid var(--stroke); padding-bottom: 5px;
}

.register-gruppe { scroll-margin-top: 18px; }

.zahl-band {
  display: flex; flex-wrap: wrap; gap: 0; margin: 12px 0 0; padding: 0; list-style: none;
  border: 1px solid var(--stroke); border-radius:var(--rund-gross); overflow: hidden;
  background: rgba(255, 255, 255, .035);
}
.zahl-band > li {
  flex: 1 1 132px; margin: 0; padding: 9px 13px;
  border-right: 1px solid var(--stroke); min-width: 0;
}
.zahl-band > li:last-child { border-right: 0; }
.zahl-band b { display: block; font-size: 1.12rem; font-weight: 900; line-height: 1.15; font-variant-numeric: tabular-nums; }

.zahl-band span { display: block; font-size: .75rem; color: var(--muted2); font-weight: 800; margin-top: 1px; }

.sparen-hero { padding: 16px 18px 15px; margin-top: 14px; }
.sparen-hero h1 { font-size: clamp(1.35rem, 3.4vw, 1.75rem); margin-bottom: .3rem; }
.sparen-hero p { font-size: .94rem; line-height: 1.42; max-width: 78ch; }
.sparen-zahlen { margin-top: 11px; gap: 8px 20px; }
.sparen-zahl b { font-size: 1.18rem; }
.sparen-zahl span { font-size: .74rem; }

.filter-leiste { gap: 6px; margin: 13px 0 3px; }

.filter-chip { min-height: 36px; padding: .34rem .7rem; font-size: .83rem; }

.hinweis {
  font-size: .94rem; line-height: 1.45; padding: 9px 12px;
  border-width: 0 0 0 3px; border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, .04);

  max-width: 78ch;

  margin-inline: auto;
}

.fuss-spalten {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 18px 26px; text-align: left; margin: 0 auto; max-width: var(--max); padding: 0 16px;
}
.fuss-spalte h3 { margin: 0 0 8px; font-size: .84rem; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; color: var(--muted2); }
.fuss-spalte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.fuss-spalte a { color: rgba(255, 255, 255, .74); font-size: .87rem; text-decoration: none; }
.fuss-spalte a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 560px) {
  .gutschein-karte, .deal-karte { padding: 14px; }
  .gutschein-titel { font-size: 1rem; }
  .gutschein-text { -webkit-line-clamp: 4; }

  .logo-leiste {
    display: flex; flex-wrap: nowrap; overflow-x: auto;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .logo-leiste::-webkit-scrollbar { display: none; }

  .logo-leiste {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  }
  .logo-leiste > li { flex: 0 0 96px; }
  .sektion-kopf { margin: 20px 0 10px; }
  .zahl-band > li { flex: 1 1 45%; }

  .filter-leiste {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; padding-bottom: 4px;
  }
  .filter-leiste::-webkit-scrollbar { display: none; }

  .filter-chip { flex: 0 0 auto; min-height: 44px; }
  .register-buchstabe { min-width: 44px; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-kachel { transition: none !important; }
  .logo-kachel:hover { transform: none !important; }
}
