/* =============================================================================
   ALTAY — Startseite (page/index.tpl). Design: „Altay Home A" (docs/03 · Startseite),
   phone M1 / tablet T1 from „Altay A Mobile" (docs/06). Every value is the designer's.
   Sections: hero slider · USP strip · category bento · flash-sale band · product rail
   with tabs · brand marquee · reviews · newsletter. Behaviour: js/altay-home.js.
   Editor hooks kept on: .rz-hero, .rz-uspstrip, .rz-catgrid > .rz-catcard
   (.rz-catcard__img, .rz-catcard__name), .rz-prodgrid. See altay-core.css for tokens.
   ========================================================================== */
.al-h {
  /* the design's derived roles for this page (Altay Home A, root style) */
  --h-hero: color-mix(in oklab, var(--ink) 6%, var(--paper));
  --h-dark2: color-mix(in oklab, var(--paper) 9%, var(--ink));
  --h-dark3: color-mix(in oklab, var(--paper) 6%, var(--ink));
  --h-dark4: color-mix(in oklab, var(--paper) 16%, var(--ink));
  --h-dark-muted: color-mix(in oklab, var(--paper) 70%, var(--ink));
  --h-accent-lt: color-mix(in oklab, var(--accent) 65%, white);
  --h-accent-soft: color-mix(in oklab, var(--accent) 15%, white);
  --h-on-accent: color-mix(in oklab, var(--paper) 40%, white);
  --h-photo-ink: #FBF9F4; /* text on a photo (phone hero) */
}
/* every band stands on the page column (1360 + 32 gutter) */
.al-h-herosec, .al-h-uspsec, .al-h-catsec, .al-h-railsec, .al-h-revsec, .al-h-nlsec, .al-h-newssec, .al-h-bannersec {
  max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter);
}

/* picture placeholders: no photos ship. Striped surfaces in the design's own
   placeholder style (oklch, one hue per tile); a merchant's picture replaces them */
.al-h-ph { background-image: repeating-linear-gradient(135deg, var(--track) 0 18px, var(--line) 18px 19px); }
.al-h-tone-1 { background-image: repeating-linear-gradient(135deg, oklch(.85 .045 250) 0 18px, oklch(.825 .05 250) 18px 19px); }
.al-h-tone-2 { background-image: repeating-linear-gradient(135deg, oklch(.85 .045 60) 0 18px, oklch(.825 .05 60) 18px 19px); }
.al-h-tone-3 { background-image: repeating-linear-gradient(135deg, oklch(.85 .045 25) 0 18px, oklch(.825 .05 25) 18px 19px); }
.al-h-tone-4 { background-image: repeating-linear-gradient(135deg, oklch(.85 .045 350) 0 18px, oklch(.825 .05 350) 18px 19px); }
.al-h-tone-5 { background-image: repeating-linear-gradient(135deg, oklch(.85 .045 150) 0 18px, oklch(.825 .05 150) 18px 19px); }
.al-h-tone-6 { background-image: repeating-linear-gradient(135deg, oklch(.85 .045 95) 0 18px, oklch(.825 .05 95) 18px 19px); }
.al-h-tone-7 { background-image: repeating-linear-gradient(135deg, oklch(.85 .045 125) 0 18px, oklch(.825 .05 125) 18px 19px); }
.al-h-rev__av.al-h-tone-1 { background-image: repeating-linear-gradient(135deg, oklch(.8 .045 250) 0 18px, oklch(.775 .05 250) 18px 19px); }
.al-h-rev__av.al-h-tone-2 { background-image: repeating-linear-gradient(135deg, oklch(.8 .045 60) 0 18px, oklch(.775 .05 60) 18px 19px); }
.al-h-rev__av.al-h-tone-3 { background-image: repeating-linear-gradient(135deg, oklch(.8 .045 25) 0 18px, oklch(.775 .05 25) 18px 19px); }

/* shared section heading */
.al-h-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.al-h-h2 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(40px, 4.5vw, 64px); line-height: 1; letter-spacing: -.02em; }
.al-h-more { font-weight: 600; border-bottom: 1px solid; padding-bottom: 2px; }
.al-h-round {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  padding: 1px 6px; cursor: pointer; font-size: 16px; transition: background .2s, color .2s;
}
.al-h-round:hover { background: var(--ink); color: var(--paper); }
.al-h-round--l { width: 48px; height: 48px; font-size: 18px; }

/* ---- Hero slider ----------------------------------------------------------- */
.al-h-herosec { padding-top: 28px; }
.al-h-hero { position: relative; height: 620px; border-radius: 28px; overflow: hidden; background-color: var(--h-hero); }
.al-h-slide {
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  opacity: 0; pointer-events: none; transition: opacity .9s ease;
}
.al-h-slide.is-on { opacity: 1; pointer-events: auto; }
.al-h-slide__text { padding: 56px 48px 110px; display: flex; flex-direction: column; justify-content: center; gap: 22px; min-width: 0; }
.al-h-slide__kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
  opacity: 0; transform: translateY(20px); transition: transform .8s var(--ease-out) .15s;
}
.al-h-slide__title {
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(44px, 5.4vw, 88px); line-height: .98;
  letter-spacing: -.025em; text-wrap: balance; transform: translateY(50px); transition: transform 1s var(--ease-out) .25s;
}
.al-h-slide__title em { font-style: normal; color: var(--accent-ink); }
.al-h-slide__lede { max-width: 420px; font-size: 18px; line-height: 1.5; color: var(--ink2); transform: translateY(30px); transition: transform 1s var(--ease-out) .35s; }
.al-h-slide__cta { display: flex; gap: 12px; transform: translateY(30px); transition: transform 1s var(--ease-out) .45s; }
.al-h-slide.is-on .al-h-slide__kicker { opacity: 1; }
.al-h-slide.is-on .al-h-slide__kicker, .al-h-slide.is-on .al-h-slide__title, .al-h-slide.is-on .al-h-slide__lede, .al-h-slide.is-on .al-h-slide__cta { transform: none; }
.al-h-btn {
  height: 54px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; gap: 10px; font-weight: 600; transition: background .2s, gap .25s;
}
.al-h-btn:hover { background: var(--accent); gap: 16px; color: var(--paper); }
.al-h-btn__t { white-space: nowrap; }
.al-h-btn--ghost { padding: 0 24px; background: transparent; color: var(--ink); border: 1px solid var(--ink); white-space: nowrap; }
.al-h-btn--ghost:hover { background: transparent; gap: 10px; color: var(--accent); }
.al-h-slide__media { position: relative; overflow: hidden; }
.al-h-slide__img {
  position: absolute; inset: 0; background-color: var(--track); background-size: cover; background-position: center 35%; background-repeat: no-repeat;
  transform: scale(1); transition: transform 7s ease-out;
}
.al-h-slide.is-on .al-h-slide__img { transform: scale(1.08); }
.al-h-slide__card {
  position: absolute; right: 28px; top: 28px; width: 220px; padding: 16px 18px; border-radius: 16px;
  background: var(--surface); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3);
  transform: translateY(50px); transition: transform 1.1s var(--ease-out) .5s;
}
.al-h-slide.is-on .al-h-slide__card { transform: none; }
.al-h-slide__ab { font-size: 12px; color: var(--muted); }
.al-h-slide__price { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 30px; }
.al-h-slide__note { font-size: 13px; color: var(--ink2); }
.al-h-ctl { position: absolute; left: 48px; bottom: 40px; display: flex; align-items: center; gap: 14px; }
.al-h-ctl__no { font-family: var(--font-mono); font-size: 12px; }
.al-h-ctl__bars { display: flex; gap: 8px; }
.al-h-ctl__bar {
  width: 40px; height: 3px; border: none; padding: 0; border-radius: 3px; overflow: hidden; cursor: pointer;
  background: color-mix(in srgb, var(--ink) 18%, transparent);
}
.al-h-ctl__bar span { display: block; height: 100%; width: 0; background: var(--ink); }
.al-h-ctl__bar.is-done span { width: 100%; }
.al-h-ctl__bar.is-on span { width: 100%; transition: width 6.5s linear; }
.al-h-ctl__arrows { display: flex; gap: 6px; margin-left: 8px; }

/* ---- USP strip ------------------------------------------------------------- */
.al-h-uspsec { padding-top: 20px; }
.al-h-usps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 14px;
}
.al-h-usps--n1 { grid-template-columns: minmax(0, 1fr); }
.al-h-usps--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.al-h-usps--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.al-h-usp { background: var(--paper); padding: 18px 22px; }
.al-h-usp .rz-uspcell__d { color: var(--muted); }

/* ---- Category bento: 4 columns, 220px rows; the first tile 2×2, the third 1×2,
        the seventh 2 wide --------------------------------------------------------- */
.al-h-catsec { padding-top: 96px; }
.al-h-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; }
.al-h-cat { position: relative; display: block; border-radius: 22px; overflow: hidden; }
.al-h-cat:nth-child(1) { grid-row: span 2; grid-column: span 2; }
.al-h-cat:nth-child(3) { grid-row: span 2; }
.al-h-cat:nth-child(7) { grid-column: span 2; }
.al-h-cat__img {
  position: absolute; inset: 0; background-color: var(--track); background-size: cover; background-position: center 30%; background-repeat: no-repeat;
  transition: transform .9s var(--ease-out);
}
.al-h-cat__img:hover, .al-h-cat:hover .al-h-cat__img { transform: scale(1.06); }
.al-h-cat__in { position: absolute; inset: 0; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.al-h-cat__count {
  align-self: flex-start; font-family: var(--font-mono); font-size: 11px; color: var(--ink);
  background: color-mix(in srgb, var(--paper) 85%, transparent); border-radius: 999px; padding: 5px 10px;
}
.al-h-cat__pill { align-self: flex-start; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--paper); border-radius: 999px; padding: 6px 6px 6px 18px; }
.al-h-cat__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 22px; line-height: 1; white-space: nowrap; }
.al-h-cat:nth-child(1) .al-h-cat__name { font-size: 30px; }
.al-h-cat__go { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; }

/* ---- Flash-sale band (JTL box „Sonderangebote") ------------------------------- */
.al-h-flash { margin-top: 96px; background: var(--ink); color: var(--paper); }
.al-h-flash__in {
  max-width: var(--container); margin: 0 auto; padding: 80px var(--gutter);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 48px; align-items: start;
}
.al-h-flash__intro { position: sticky; top: 160px; }
.al-h-flash__kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--h-accent-lt); }
.al-h-flash__title { margin: 16px 0 28px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(44px, 4.5vw, 68px); line-height: .98; letter-spacing: -.02em; }
.al-h-count { display: flex; gap: 10px; }
.al-h-count__cell { background: var(--h-dark2); border-radius: 14px; padding: 14px 16px; min-width: 84px; }
.al-h-count__n { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 44px; line-height: 1; }
.al-h-count__l { font-size: 12px; color: var(--h-dark-muted); margin-top: 6px; }
.al-h-count__cell--accent { background: var(--accent); }
.al-h-count__cell--accent .al-h-count__l { color: var(--h-accent-soft); }
.al-h-flash__more { display: inline-flex; margin-top: 32px; color: var(--paper); font-weight: 600; border-bottom: 1px solid; }
.al-h-flash__more:hover { color: var(--paper); }
.al-h-deals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.al-h-deals > :nth-child(n+5) { display: none; }   /* up to eight are printed (page/index.tpl): the band shows four, the slider designs all */
.al-h-deal { background: var(--h-dark3); border-radius: 22px; padding: 12px; display: flex; flex-direction: column; gap: 14px; }
.al-h-deal__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--h-dark2); }
.al-h-deal__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .7s var(--ease-out); }
.al-h-deal:hover .al-h-deal__img { transform: scale(1.06); }
.al-h-deal__badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 9px; }
.al-h-deal__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 2px 6px 6px; }
.al-h-deal__cat { font-size: 12px; color: var(--h-dark-muted); }
/* the name stays on one line (a longer one ends in „…"; the whole name is the link's title),
   and price, „verkauft" and button sit at the card's bottom edge — so a row lines up */
.al-h-deal__name {
  font-size: 18px; font-weight: 600; line-height: 1.25; color: inherit;
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.al-h-deal__name:hover { color: inherit; }
.al-h-deal__price { display: flex; gap: 10px; align-items: baseline; margin-top: auto; }
.al-h-deal__now { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 28px; }
.al-h-deal__was { color: var(--muted2); text-decoration: line-through; }
.al-h-deal__sold { margin-top: 4px; }
.al-h-deal__track { height: 6px; background: var(--h-dark4); border-radius: 6px; overflow: hidden; }
.al-h-deal__fill { height: 100%; background: linear-gradient(90deg, var(--h-accent-lt), var(--accent)); border-radius: 6px; }
.al-h-deal__soldtxt { font-size: 12px; color: var(--h-dark-muted); margin-top: 6px; }
.al-h-deal__form { margin: 0; display: flex; flex-direction: column; }
.al-h-deal__add {
  height: 42px; border-radius: 999px; border: none; background: var(--paper); color: var(--ink); padding: 1px 6px;
  font: 600 14px var(--font-body); cursor: pointer; transition: background .2s, color .2s;
  display: flex; align-items: center; justify-content: center;
}
.al-h-deal__add:hover { background: var(--accent); color: var(--on-accent); }

/* ---- Product rail with category tabs (JTL boxes; „Gerade beliebt" = Bestseller) */
.al-h-railsec { padding-top: 96px; }
.al-h-railhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.al-h-railhead__h { margin-bottom: 20px; }
.al-h-railhead__all { display: none; font-size: 14px; font-weight: 600; text-decoration: underline; }
.al-h-railhead__nav { display: flex; gap: 8px; }
.al-h-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.al-h-tab {
  height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--ink);
  font: 500 14px var(--font-body); cursor: pointer; transition: all .25s;
}
.al-h-tab.is-on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.al-h-rail {
  display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px;
}
.al-h-rail::-webkit-scrollbar { display: none; }
.al-h-rail__item { flex: 0 0 300px; scroll-snap-align: start; }
.al-h-rail__item[hidden] { display: none; }

/* ---- Banner between the rails (Altay · Werbebanner) --------------------------- */
.al-h-bannersec { padding-top: 96px; }
.al-h-banner { display: block; aspect-ratio: 1296 / 360; border-radius: 28px; background: var(--h-hero) center / cover no-repeat; }

/* ---- Brand marquee (JTL manufacturers) ------------------------------------- */
.al-h-brandsec { padding-top: 110px; }
.al-h-brandsec__k {
  max-width: var(--container); margin: 0 auto 28px; padding: 0 var(--gutter);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--muted);
}
.al-h-marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; overflow: hidden; }
.al-h-marquee__track { display: flex; gap: 72px; width: max-content; will-change: transform; animation: al-h-mq var(--al-mq-dur, 90s) linear infinite; }
.al-h-marquee:hover .al-h-marquee__track { animation-play-state: paused; }
.al-h-marquee__dup { display: contents; }
@keyframes al-h-mq { to { transform: translateX(-50%); } }
.al-h-brand { font-family: var(--font-body); font-size: 40px; color: var(--muted2); white-space: nowrap; transition: color .25s; }
.al-h-brand:hover { color: var(--ink); }
/* ten lettering styles, repeated: the design sets each brand in its own face */
.al-h-marquee__track > .al-h-brand:nth-child(10n+1), .al-h-marquee__dup > .al-h-brand:nth-child(10n+1) { font-family: var(--font-display); letter-spacing: -.02em; }
.al-h-marquee__track > .al-h-brand:nth-child(10n+2), .al-h-marquee__dup > .al-h-brand:nth-child(10n+2) { letter-spacing: .2em; }
.al-h-marquee__track > .al-h-brand:nth-child(10n+3), .al-h-marquee__dup > .al-h-brand:nth-child(10n+3) { font-family: var(--font-mono); }
.al-h-marquee__track > .al-h-brand:nth-child(10n+4), .al-h-marquee__dup > .al-h-brand:nth-child(10n+4) { font-family: var(--font-display); }
.al-h-marquee__track > .al-h-brand:nth-child(10n+5), .al-h-marquee__dup > .al-h-brand:nth-child(10n+5) { letter-spacing: .08em; }
.al-h-marquee__track > .al-h-brand:nth-child(10n+6), .al-h-marquee__dup > .al-h-brand:nth-child(10n+6) { letter-spacing: -.03em; }
.al-h-marquee__track > .al-h-brand:nth-child(10n+7), .al-h-marquee__dup > .al-h-brand:nth-child(10n+7) { font-family: var(--font-display); letter-spacing: .05em; }
.al-h-marquee__track > .al-h-brand:nth-child(10n+8), .al-h-marquee__dup > .al-h-brand:nth-child(10n+8) { font-family: var(--font-mono); letter-spacing: .1em; }
.al-h-marquee__track > .al-h-brand:nth-child(10n+9), .al-h-marquee__dup > .al-h-brand:nth-child(10n+9) { font-family: var(--font-display); }
.al-h-marquee__track > .al-h-brand:nth-child(10n+10), .al-h-marquee__dup > .al-h-brand:nth-child(10n+10) { letter-spacing: .02em; }
.al-h-brand__img { display: block; height: 48px; width: auto; max-width: 240px; object-fit: contain; }
/* an own brand's logo (Marken: „Eigene Liste") stands where its name would */
.al-h-brand--logo { display: flex; align-items: center; align-self: center; }

/* ---- Reviews (JTL product reviews) ---------------------------------------- */
.al-h-revsec { padding-top: 96px; }
.al-h-revs { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 2.3fr); gap: 40px; }
.al-h-revs__score { display: flex; align-items: baseline; gap: 12px; margin-top: 28px; }
.al-h-revs__n { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 72px; line-height: 1; }
.al-h-revs__of { color: var(--muted); }
.al-h-revs__stars { color: var(--accent-ink); font-size: 20px; letter-spacing: 3px; margin-top: 6px; }
/* the quote marks of a review: the page's own (the designs of components/home-reviews set the German ones) */
.al-h-rev__q > q, .al-h-brev__q > q { quotes: "\201C" "\201D"; }
.al-h-revs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.al-h-rev {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px;
  display: flex; flex-direction: column; gap: 18px; transition: transform .35s var(--ease-out), box-shadow .35s;
}
.al-h-rev:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(26, 24, 20, .3); }
.al-h-rev__stars { color: var(--accent-ink); letter-spacing: 2px; }
.al-h-rev__q { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 19px; line-height: 1.3; text-wrap: pretty; }
.al-h-rev__by { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.al-h-rev__av { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; }
.al-h-rev__who { display: block; }
.al-h-rev__name { display: block; font-weight: 600; font-size: 14px; }
.al-h-rev__item { display: block; font-size: 13px; color: var(--muted); }

/* ---- Magazin teaser (JTL news on the home page; not part of the design) ------ */
.al-h-newssec { padding-top: 96px; }
.al-h-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
/* up to five posts are printed (page/index.tpl); the page shows three, the Magazin designs more */
.al-h-news > :nth-child(n+4) { display: none; }

/* ---- Newsletter (accent block) -------------------------------------------- */
.al-h-nlsec { padding-top: 110px; padding-bottom: 110px; }
.al-h-nl {
  background: var(--accent); color: var(--h-on-accent); border-radius: 32px; padding: 72px 56px;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end;
}
.al-h-nl__h { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(40px, 5vw, 76px); line-height: .98; letter-spacing: -.02em; }
.al-h-nl__p { margin: 0 0 20px; font-size: 17px; line-height: 1.5; }
.al-h-nl__form { display: flex; gap: 8px; margin: 0; background: var(--h-on-accent); border-radius: 999px; padding: 6px; }
.al-h-nl__in { flex: 1; min-width: 0; border: none; background: transparent; padding: 0 18px; font-size: 16px; color: var(--ink); outline: none; }
.al-h-nl__in::placeholder { color: color-mix(in oklab, var(--ink) 55%, transparent); }
.al-h-nl__btn {
  height: 50px; padding: 0 26px; border-radius: 999px; border: none; background: var(--ink); color: var(--paper);
  font: 600 15px var(--font-body); cursor: pointer; transition: background .2s;
}
.al-h-nl__btn:hover { background: color-mix(in oklab, var(--ink) 85%, var(--paper)); }
.al-h-nl__done { height: 62px; border-radius: 999px; border: 1px solid var(--h-on-accent); display: flex; align-items: center; padding: 0 24px; font-weight: 600; }

/* ---- Tablet 768–1099 (T1): hero split 1:1 at 440px, four category tiles,
        three product columns ------------------------------------------------- */
@media (max-width: 1099px) {
  .al-h-herosec, .al-h-uspsec, .al-h-catsec, .al-h-railsec, .al-h-revsec, .al-h-nlsec, .al-h-newssec, .al-h-bannersec { padding-left: 16px; padding-right: 16px; }
  .al-h-herosec { padding-top: 16px; }
  .al-h-hero { height: 440px; border-radius: 24px; background-color: var(--hover); }
  .al-h-slide { grid-template-columns: 1fr 1fr; }
  .al-h-slide__text { padding: 32px; gap: 16px; }
  .al-h-slide__kicker { font-size: 11px; font-weight: 500; }
  .al-h-slide__title { font-size: 52px; letter-spacing: -.02em; }
  .al-h-slide__lede { font-size: 15px; }
  .al-h-btn { height: 52px; padding: 0 22px; font-size: 15px; }
  .al-h-btn--ghost, .al-h-slide__card, .al-h-ctl__no, .al-h-ctl__arrows { display: none; }
  .al-h-slide__img { background-position: center 30%; }
  .al-h-slide.is-on .al-h-slide__img { transform: none; }
  .al-h-ctl { left: auto; right: 18px; top: 18px; bottom: auto; }
  .al-h-ctl__bars { gap: 5px; }
  .al-h-ctl__bar { width: 6px; height: 4px; border-radius: 4px; background: rgba(251, 249, 244, .5); transition: width .3s; }
  .al-h-ctl__bar.is-on { width: 18px; background: var(--h-photo-ink); }
  .al-h-ctl__bar span { display: none; }
  .al-h-uspsec { display: none; }
  .al-h-catsec { padding-top: 16px; }
  .al-h-catsec .al-h-head { display: none; }
  .al-h-cats { grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; gap: 10px; }
  .al-h-cat, .al-h-cat:nth-child(1), .al-h-cat:nth-child(3), .al-h-cat:nth-child(7) { grid-row: auto; grid-column: auto; aspect-ratio: 1 / 1; border-radius: 18px; }
  .al-h-cat:nth-child(n+5) { display: none; }
  .al-h-cat__in { padding: 10px; justify-content: flex-end; }
  .al-h-cat__count, .al-h-cat__go { display: none; }
  .al-h-cat__pill { padding: 6px 12px; }
  .al-h-cat__name, .al-h-cat:nth-child(1) .al-h-cat__name { font-size: 16px; line-height: normal; }
  .al-h-flash { margin-top: 56px; }
  .al-h-flash__in { grid-template-columns: 1fr; gap: 32px; padding: 56px 16px; }
  .al-h-flash__intro { position: static; }
  .al-h-railsec { padding-top: 28px; }
  .al-h-railhead { align-items: baseline; flex-wrap: nowrap; margin-bottom: 14px; }
  .al-h-railhead__h { margin-bottom: 0; font-size: 34px; line-height: normal; }
  .al-h-tabs, .al-h-railhead__nav { display: none; }
  .al-h-railhead__all { display: inline; }
  .al-h-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 14px; overflow: visible; padding-bottom: 0; }
  .al-h-rail__item { min-height: 0; }
  .al-h-rail__item:nth-child(n+7) { display: none; }
  .al-h-brandsec { padding-top: 72px; }
  .al-h-brand { font-size: 30px; }
  .al-h-brand__img { height: 38px; max-width: 190px; }
  .al-h-revsec { padding-top: 72px; }
  .al-h-revs { grid-template-columns: 1fr; gap: 24px; }
  .al-h-revs__list { grid-template-columns: repeat(3, minmax(260px, 1fr)); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .al-h-rev { scroll-snap-align: start; }
  .al-h-nlsec { padding-top: 72px; padding-bottom: 72px; }
  .al-h-nl { grid-template-columns: 1fr; padding: 48px 36px; gap: 28px; }
  .al-h-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Phone < 768 (M1): photo hero with the copy on it, round categories,
        two product columns --------------------------------------------------- */
@media (max-width: 767px) {
  .al-h-herosec { padding: 12px 12px 0; }
  .al-h-hero { height: 460px; border-radius: 24px; }
  .al-h-slide { display: block; }
  .al-h-slide__media { position: absolute; inset: 0; }
  .al-h-slide__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(20, 18, 15, .78)); }
  .al-h-slide__text { position: absolute; left: 20px; right: 20px; bottom: 22px; z-index: 1; padding: 0; gap: 12px; color: var(--h-photo-ink); }
  .al-h-slide__kicker { color: inherit; }
  .al-h-slide__title { font-size: 42px; color: inherit; }
  .al-h-slide__lede { display: none; }
  .al-h-btn { width: fit-content; background: var(--accent); color: var(--on-accent); }
  .al-h-btn:hover { background: var(--accent); color: var(--on-accent); }
  .al-h-ctl { z-index: 2; }
  .al-h-catsec { padding: 18px 0; }
  .al-h-cats { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; }
  .al-h-cat, .al-h-cat:nth-child(1), .al-h-cat:nth-child(3), .al-h-cat:nth-child(7) {
    flex-shrink: 0; width: 72px; aspect-ratio: auto; overflow: visible; border-radius: 0;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
  }
  .al-h-cat:nth-child(n+5) { display: flex; }
  .al-h-cat__img { position: relative; inset: auto; width: 68px; height: 68px; border-radius: 50%; }
  .al-h-cat__img:hover, .al-h-cat:hover .al-h-cat__img { transform: none; }
  .al-h-cat__in { position: static; padding: 0; pointer-events: auto; }
  .al-h-cat__pill { background: transparent; padding: 0; border-radius: 0; }
  .al-h-cat__name, .al-h-cat:nth-child(1) .al-h-cat__name { font-family: var(--font-body); font-weight: 500; font-size: 12px; }
  /* a real category name is longer than the design's „Mode": two centred lines within the circle's
     column, German hyphenation, never into the neighbour */
  .al-h-cat__in, .al-h-cat__pill { width: 100%; }
  .al-h-cat__name, .al-h-cat:nth-child(1) .al-h-cat__name {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    white-space: normal; text-align: center; line-height: 1.25; hyphens: auto; overflow-wrap: break-word;
  }
  .al-h-flash__in { padding: 48px 16px; }
  .al-h-flash__title { font-size: 40px; }
  .al-h-count__cell { min-width: 0; flex: 1; }
  .al-h-deals { grid-template-columns: 1fr 1fr; gap: 10px; }
  .al-h-deal { padding: 8px; border-radius: 18px; gap: 10px; }
  .al-h-deal__body { padding: 0 2px 2px; gap: 6px; }
  .al-h-deal__name { font-size: 14px; }
  .al-h-deal__now { font-size: 20px; }
  .al-h-deal__was { font-size: 12px; }
  .al-h-deal__add { height: 38px; font-size: 13px; }
  .al-h-railsec { padding-top: 6px; }
  .al-h-railhead { margin-bottom: 14px; }
  .al-h-railhead__h { font-size: 28px; }
  .al-h-railhead__all { font-size: 13px; }
  .al-h-rail { grid-template-columns: 1fr 1fr; gap: 18px 10px; }
  .al-h-rail__item:nth-child(n+5) { display: none; }
  .al-h-brandsec { padding-top: 56px; }
  .al-h-brandsec__k { padding: 0 16px; margin-bottom: 18px; font-size: 11px; }
  .al-h-marquee { padding: 20px 0; }
  .al-h-marquee__track { gap: 44px; }
  .al-h-brand { font-size: 26px; }
  .al-h-brand__img { height: 32px; max-width: 160px; }
  .al-h-revsec { padding-top: 56px; }
  .al-h-revs__n { font-size: 56px; }
  .al-h-revs__list { grid-template-columns: repeat(3, 84%); }
  .al-h-rev { padding: 22px; }
  .al-h-rev__q { font-size: 17px; }
  .al-h-nlsec { padding-top: 56px; padding-bottom: 0; }
  .al-h-nl { padding: 36px 22px; border-radius: 24px; }
  .al-h-nl__h { font-size: 38px; }
  .al-h-nl__form { flex-wrap: wrap; border-radius: 26px; }
  .al-h-nl__in { height: 50px; }
  .al-h-nl__btn { width: 100%; }
  .al-h-news { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .al-h-marquee__track { animation: none; }
  .al-h-slide, .al-h-slide__kicker, .al-h-slide__title, .al-h-slide__lede, .al-h-slide__cta, .al-h-slide__card, .al-h-slide__img { transition: none; }
  .al-h-slide.is-on .al-h-slide__img { transform: none; }
  .al-h-ctl__bar.is-on span { transition: none; }
}
