/* ==========================================================================
   Spur as220 — Startseite anroshop.de (LIVE), Fassung 1 (15.09.2026)
   Uebernommen aus dem abgenommenen Entwurf der Spur as200: Bento-Hero,
   USP-Leiste, Bestseller-Reihe. Alles darunter ist unveraendertes
   Theme-Markup der Startseite und behaelt dessen Gestaltung.
   KEINE rem-Werte: das Theme setzt html{font-size:20px}. Alles px / clamp(px).
   ========================================================================== */

.ayst-pg {
	--ink:  #111417;
	--red:  #e1261c;
	--gelb: #f6c945;

	font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--ink);
	-webkit-font-smoothing: antialiased;

	/* Das Theme macht <main> zum Flex-Container in Spaltenrichtung. */
	width: 100%;
	min-width: 0;
	align-self: stretch;
}
.ayst-bento, .ayst-bento * { box-sizing: border-box; }

/* Volle Breite, ohne seitlichen Rand — das Raster laeuft von Kante zu Kante. */
/* Luft zwischen Theme-Menue und Hero. */
.ayst-bento { width: 100%; margin: 20px 0 28px; }
.ayst-bento .container { padding-inline: 20px; }
.ayst-bento__grid { display: grid; gap: 8px; width: 100%; }

/* ---------- Kachel ------------------------------------------------------ */
.ayst-pg a.ayst-t {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	min-height: 230px;
	padding: 22px;
	border-radius: 10px;   /* leichte Rundung an jeder Kachel */
	background: #ded9d2;
	text-decoration: none;
	color: #fff;
	isolation: isolate;
}

/* Bild fuellt die Kachel vollstaendig. */
.ayst-t__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
}
.ayst-t__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
/* Im Oktoberfest-Banner steht die Schrift am linken Bildrand — deshalb
   wird links nichts weggeschnitten. */
.ayst-t--a .ayst-t__media img { object-position: left center; }
/* Nach-Maß-Kachel: Ausschnitt weiter oben, damit unten links die ruhige
   Wandflaeche liegt und die Unterzeile darauf lesbar bleibt. */
.ayst-t--d .ayst-t__media img { object-position: center 18%; }
.ayst-pg a.ayst-t:hover .ayst-t__media img { transform: scale(1.04); }

/* Verlauf, damit die Schrift auf jedem Motiv lesbar bleibt. */
.ayst-pg a.ayst-t::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(0deg, rgba(8,11,13,.74) 0%, rgba(8,11,13,.34) 42%, rgba(8,11,13,.06) 72%);
}

/* Die grosse Kachel ist hoch, der Text sitzt tief unten — und auf einem hellen,
   unruhigen Motiv (Rautenmuster) trug der allgemeine Verlauf nicht weit genug. */
.ayst-pg a.ayst-t--a::after {
	background: linear-gradient(0deg, rgba(8,11,13,.88) 0%, rgba(8,11,13,.62) 22%, rgba(8,11,13,.28) 46%, rgba(8,11,13,.05) 70%);
}

.ayst-t__txt { position: relative; z-index: 2; display: block; }
.ayst-t__title {
	display: block;
	font-size: clamp(19px, 2.4vw, 27px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.02em;
	color: #fff;
	text-shadow: 0 1px 14px rgba(0,0,0,.35);
	overflow-wrap: break-word;
	hyphens: auto;
}
.ayst-t__sub {
	display: block;
	margin-top: 6px;
	max-width: 34ch;
	font-size: 14px;
	line-height: 1.4;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0,0,0,.65), 0 1px 12px rgba(0,0,0,.45);
	/* Zwei etwa gleich lange Zeilen statt einer langen und einem Rest. */
	text-wrap: balance;
}
.ayst-t__big {
	display: block;
	font-size: clamp(42px, 6vw, 72px);
	font-weight: 700;
	line-height: .95;
	letter-spacing: -.035em;
	color: #fff;
	text-shadow: 0 2px 18px rgba(0,0,0,.4);
}

/* Knopf in der Kachel — einheitlich rot wie auf der Sale-Kachel. */
.ayst-t__btn {
	position: relative;
	z-index: 2;
	align-self: flex-start;
	display: inline-block;
	margin-top: 16px;
	padding: 13px 24px;
	border: 1px solid var(--red);
	border-radius: 4px;
	background: var(--red);
	color: #fff;
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition: background-color .16s ease, border-color .16s ease;
}
.ayst-pg a.ayst-t:hover .ayst-t__btn { background: #c01c14; border-color: #c01c14; color: #fff; }

/* Rundes Stoerer-Schild */
.ayst-badge {
	position: absolute;
	right: 18px;
	top: 18px;
	z-index: 3;
	display: grid;
	place-content: center;
	justify-items: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--gelb);
	color: var(--ink);
	text-align: center;
	line-height: 1.1;
	text-shadow: none;
}
.ayst-badge span { font-size: 13px; }
.ayst-badge strong { font-size: 16px; font-weight: 700; }
/* Einzeilige, laengere Woerter ("Meterware") brauchen mehr Kreis und
   kleinere Schrift, sonst stehen sie ueber den Rand hinaus. */
.ayst-badge--wide { width: 98px; height: 98px; padding: 0 8px; }
.ayst-badge--wide strong { font-size: 14px; }
.ayst-badge--sm { width: 72px; height: 72px; right: 14px; top: 14px; }
.ayst-badge--sm strong { font-size: 12.5px; }
/* Laengere Sprueche brauchen mehr Kreis, damit nichts ueber den Rand steht.
   Die Stufe vergibt das Template nach der Zeichenzahl des Stoerers. */
.ayst-badge--lg { width: 104px; height: 104px; padding: 0 10px; }
.ayst-badge--lg span   { font-size: 12.5px; }
.ayst-badge--lg strong { font-size: 15px; }
.ayst-badge--xl { width: 132px; height: 132px; padding: 0 14px; }
.ayst-badge--xl span   { font-size: 13px; }
.ayst-badge--xl strong { font-size: 16px; line-height: 1.15; }
/* Auf schmalen Kacheln wuerde der grosse Kreis das Motiv zudecken. */
@media (max-width: 560px) {
	.ayst-badge--lg { width: 88px; height: 88px; right: 14px; top: 14px; }
	.ayst-badge--lg span   { font-size: 11px; }
	.ayst-badge--lg strong { font-size: 13px; }
	.ayst-badge--xl { width: 106px; height: 106px; right: 14px; top: 14px; padding: 0 10px; }
	.ayst-badge--xl span   { font-size: 11.5px; }
	.ayst-badge--xl strong { font-size: 13.5px; }
}

/* ---------- Raster ------------------------------------------------------ */
/* Mobil: eine Spalte, grosse Kachel zuerst. */
@media (min-width: 560px) {
	.ayst-bento__grid { grid-template-columns: 1fr 1fr; }
	.ayst-t--a { grid-column: span 2; min-height: 300px; }
	.ayst-t--e { grid-column: span 2; }
}

/* Helle Kacheln: die Freisteller haben weissen Grund, dort ist dunkle Schrift
   auf hellem Verlauf lesbar — weisse Schrift waere unsichtbar. */
.ayst-pg a.ayst-t--light { color: var(--ink); }
/* Ohne Verlauf: die hellen Kacheln zeigen das Motiv unveraendert. Damit die
   dunkle Schrift auf unruhigem Untergrund lesbar bleibt, bekommt sie einen
   feinen hellen Schimmer statt einer Flaeche. */
.ayst-pg a.ayst-t--light::after { background: none; }
.ayst-t--light .ayst-t__title { text-shadow: 0 1px 14px rgba(255,255,255,.95), 0 0 6px rgba(255,255,255,.95); }
.ayst-t--light .ayst-t__sub   { text-shadow: 0 1px 12px rgba(255,255,255,.95), 0 0 5px rgba(255,255,255,.9); }
.ayst-t--light .ayst-t__title { color: var(--ink); }
.ayst-t--light .ayst-t__sub   { color: #22282c; font-weight: 500; }

/* Kompakter Knopf fuer die beiden schmalen Kacheln */
.ayst-t__btn--sm { margin-top: 12px; padding: 10px 18px; font-size: 13.5px; }

@media (min-width: 1000px) {
	.ayst-bento { margin-top: 28px; }
	.ayst-bento__grid {
		grid-template-columns: repeat(12, 1fr);
		grid-template-rows: 268px 268px;
	}
	/* Unten links sitzt das Trusted-Shops-Widget des Shops und wuerde den
	   Knopf verdecken — deshalb hat die grosse Kachel unten mehr Luft. */
	.ayst-t--a { grid-column: 1 / span 5;  grid-row: 1 / span 2; min-height: 0; padding: 34px 34px 78px; }
	.ayst-t--b { grid-column: 6 / span 4;  grid-row: 1; }
	.ayst-t--c { grid-column: 6 / span 2;  grid-row: 2; }
	.ayst-t--d { grid-column: 8 / span 2;  grid-row: 2; }
	.ayst-t--e { grid-column: 10 / span 3; grid-row: 1 / span 2; padding: 34px 34px 44px; }

	.ayst-t--a .ayst-t__title { font-size: 34px; }
	.ayst-t--a .ayst-t__sub   { font-size: 16px; }
	.ayst-t--c .ayst-t__title,
	.ayst-t--d .ayst-t__title { font-size: 19px; }
	.ayst-t__title--xl { font-size: 32px; line-height: 1.1; }
	.ayst-t--c .ayst-t__sub,
	.ayst-t--d .ayst-t__sub   { font-size: 13px; }
}

@media (min-width: 1500px) {
	.ayst-bento__grid { grid-template-rows: 300px 300px; }
}

@media (prefers-reduced-motion: reduce) {
	.ayst-pg .ayst-bento * { transition-duration: .01ms !important; }
}

/* ==========================================================================
   USP-Leiste unter dem Hero — vier weiche Karten statt Kasten mit Linien
   ========================================================================== */
.ayst-usp { margin: 0 0 30px; }
.ayst-usp__grid {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ayst-usp__grid li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 20px;
	border-radius: 12px;
	background: #f6f4f1;
	transition: background-color .16s ease;
}
.ayst-usp__grid li:hover { background: #f1eee9; }

/* Icon sitzt in einem weissen Kreis — das nimmt der Leiste die Strenge. */
.ayst-u__i {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	color: #e1261c;
}
.ayst-usp__grid li > .ayst-u__i,
.ayst-usp__grid a > .ayst-u__i {
	box-sizing: content-box;
	width: 22px;
	height: 22px;
	padding: 11px;
	border-radius: 50%;
	background: #fff;
}
.ayst-usp__grid span {
	display: block;
	padding-top: 4px;
	font-size: 13.5px;
	line-height: 1.5;
	color: #5b6368;
}
.ayst-usp__grid strong {
	display: block;
	margin-bottom: 3px;
	font-size: 15.5px;
	font-weight: 600;
	color: #111417;
}

/* Der vierte Punkt fuehrt auf die Musterseite — der ganze Eintrag ist klickbar. */
.ayst-usp__grid li:has(a) { padding: 0; }
.ayst-pg .ayst-usp__grid a {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
	padding: 18px 20px;
	text-decoration: none;
	color: inherit;
}
.ayst-pg .ayst-usp__grid a:hover strong { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 620px) {
	.ayst-usp__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (min-width: 1000px) {
	.ayst-usp { margin-bottom: 40px; }
	.ayst-usp__grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
	.ayst-usp__grid li { padding: 22px; }
	.ayst-pg .ayst-usp__grid a { padding: 22px; }
}

/* ==========================================================================
   Bestseller-Reihe — Karten im Stil des Hero
   ========================================================================== */
.ayst-best { margin: 0 0 34px; }
.ayst-best__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px 24px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}
.ayst-best__kicker {
	margin: 0 0 2px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #8a9298;
}
.ayst-pg .ayst-best h2 {
	margin: 0;
	font-size: clamp(22px, 3.4vw, 30px);
	font-weight: 600;
	letter-spacing: -.02em;
	color: #111417;
}
.ayst-pg a.ayst-best__more {
	color: #111417;
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 1px solid #e7e5e1;
	padding-bottom: 2px;
}
.ayst-pg a.ayst-best__more:hover { border-color: #111417; }

/* ---------- Karussell --------------------------------------------------- */
.ayst-rail { position: relative; }
.ayst-rail__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 46%;
	gap: 12px;
	margin: 0;
	padding: 2px 0 8px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
}
.ayst-rail__track::-webkit-scrollbar { display: none; }
.ayst-rail__track > li { scroll-snap-align: start; }

/* Pfeile wie im Theme-Slider: eckig mit leichter Rundung, weiss, dauerhaft
   sichtbar — nicht erst beim Hovern. */
.ayst-nav {
	position: absolute;
	top: 34%;
	z-index: 3;
	display: flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid #e7e5e1;
	border-radius: 8px;
	background: #fff;
	color: #111417;
	cursor: pointer;
}
.ayst-nav:hover { border-color: #111417; }
.ayst-nav svg { width: 18px; height: 18px; }
.ayst-nav--prev { left: -14px; }
.ayst-nav--next { right: -14px; }

/* Die Karten kommen unveraendert vom Theme (content-product.php) — hier steht
   bewusst kein eigenes Kartendesign, nur die Breite im Karussell. */
.ayst-rail__track > li { min-width: 0; }
.ayst-rail__track > li > * { width: 100%; margin: 0; }

@media (min-width: 640px) {
	.ayst-rail__track { grid-auto-columns: 30%; gap: 16px; }
}

@media (min-width: 1000px) {
	.ayst-best { margin-bottom: 44px; }
	.ayst-best__head { margin-bottom: 24px; }
	.ayst-rail__track { grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; }
}

/* Das Theme legt um jede Produktbild-Flaeche einen 1px-Rahmen
   (.product-card .tp, Creme #f4efe9). Bei dunklen, randfuellenden Motiven
   sieht das aus wie ein Kasten um das Bild. Auf dieser Seite bleibt die
   Flaeche randlos — Groesse, Radius und alles andere unveraendert. */
.ayst-pg .product-card .tp { border-color: transparent; }
.ayst-nav.is-off { opacity: .35; }
/* Gibt es nichts zu schieben, sind die Pfeile weg. Bewusst eine Klasse und
   nicht das hidden-Attribut: display:flex oben wuerde hidden aushebeln. */
.ayst-pg .ayst-nav--hide { display: none; }

/* Auf dem Handy wird gewischt — dort wuerden die Pfeile nur die Karten
   ueberdecken. Ab Tablet sind sie dauerhaft sichtbar. */
@media (max-width: 639px) {
	.ayst-nav { display: none !important; }
}

/* ==========================================================================
   Restposten — Einzelstuecke und Sondergroessen
   Gleicher Aufbau wie die Bestseller-Reihe, aber auf einem ruhigen Sandband,
   damit der Abschnitt sich absetzt ohne laut zu werden. Die erste Kachel im
   Karussell fuehrt in die Kategorie und ist wie eine Hero-Kachel gebaut.
   ========================================================================== */
.ayst-rest {
	margin: 0 0 34px;
	padding: 28px 0 30px;
	background: #f6f4f1;
}
.ayst-rest__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px 24px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}
.ayst-rest__kicker {
	margin: 0 0 2px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #b0462f;      /* warmes Rotbraun: Aktion, ohne Signalrot */
}
.ayst-pg .ayst-rest h2 {
	margin: 0;
	font-size: clamp(22px, 3.4vw, 30px);
	font-weight: 600;
	letter-spacing: -.02em;
	color: #111417;
}
.ayst-pg a.ayst-rest__more {
	color: #111417;
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 1px solid #ddd8d1;
	padding-bottom: 2px;
}
.ayst-pg a.ayst-rest__more:hover { border-color: #111417; }

/* Die Produktkarten bleiben ohne eigenen Grund — genau wie in der
   Bestseller-Reihe. Ein weisser Kasten auf dem Sandband sah aus wie ein
   Fehler, zumal die Kaesten je nach Textlaenge unterschiedlich hoch enden. */
.ayst-rail--rest .ayst-nav { border-color: #e2ddd5; }

/* Kategorie-Kachel: gleiche Bauart wie im Hero, aber ohne Foto — eine ruhige
   Flaeche steht zwischen lauter Produktfotos besser als ein zweites Motiv. */
/* Der Selektor muss .ayst-pg a.ayst-t schlagen (Klasse+Klasse+Element),
   sonst gewinnt der graue Standardgrund der Hero-Kacheln. */
.ayst-pg a.ayst-t--rest {
	height: 100%;
	min-height: 300px;
	border-radius: 10px;
	background: linear-gradient(150deg, #8f3826 0%, #b0462f 55%, #c4553b 100%);
}
/* Der Abdunkler des Hero bleibt aktiv — er haelt die Schrift auf dem Motiv
   lesbar. Zusaetzlich ein Hauch der Aktionsfarbe, damit die Kachel sich von
   den Produktbildern daneben abhebt. */
.ayst-pg a.ayst-t--rest::after {
	background:
		linear-gradient(0deg, rgba(20,8,5,.86) 0%, rgba(20,8,5,.45) 46%, rgba(20,8,5,.12) 74%),
		linear-gradient(150deg, rgba(143,56,38,.22) 0%, rgba(143,56,38,.04) 70%);
}
.ayst-rest__promo .ayst-t__title { font-size: 21px; line-height: 1.15; }
.ayst-rest__promo .ayst-t__sub { font-size: 13px; max-width: 26ch; }
.ayst-badge--rest {
	/* Tiefer als die uebrigen Schilder: oben sitzen die drei Vorschau-Motive. */
	top: 92px;
	width: 86px;
	height: 86px;
	background: #fff;
	color: #8f3826;
	gap: 1px;
}
.ayst-badge--rest strong { font-size: 19px; font-weight: 700; }
.ayst-badge--rest span { font-size: 11px; }

@media (min-width: 1000px) {
	.ayst-rest { margin-bottom: 44px; padding: 36px 0 40px; }
	.ayst-rest__head { margin-bottom: 24px; }
	.ayst-rest__promo .ayst-t__title { font-size: 24px; }
}

/* Auf dem Handy ist eine Karussell-Spalte nur rund 166 px breit — zu schmal
   fuer die Kategorie-Kachel: der Titel zerbrach mitten im Wort und das
   Rabattschild lag darueber. Dort bekommt sie zwei Spalten. */
@media (max-width: 639px) {
	.ayst-rail--rest .ayst-rail__track > li.ayst-rest__promo > .ayst-t {
		min-height: 330px;
		padding: 18px;
	}
	.ayst-rest__promo .ayst-t__title { font-size: 18px; }
	.ayst-rest__promo .ayst-t__sub { font-size: 12px; max-width: 22ch; }
	.ayst-badge--rest { width: 54px; height: 54px; right: 10px; top: 12px; }
	.ayst-badge--rest strong { font-size: 13.5px; }
	.ayst-badge--rest span { font-size: 8.5px; }
}


/* Drei kleine Motive oben in der Restposten-Kachel: sie machen sichtbar, dass
   in der Kategorie mehr liegt als Gummimatten. Bewusst rund und klein — das
   Muster kennen die Kunden schon von den Produktfotos des Shops. */
.ayst-rest__mix {
	position: absolute;
	left: 22px;
	top: 22px;
	right: 22px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.ayst-rest__mix-bild {
	display: block;
	width: 66px;
	height: 66px;
	flex: 0 0 auto;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid rgba(255,255,255,.9);
	background: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,.28);
}
.ayst-rest__mix-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ayst-rest__mix-bild + .ayst-rest__mix-bild { margin-left: -12px; }   /* leicht gestaffelt */
.ayst-rest__mix-text {
	flex: 1 1 100%;
	margin-top: 2px;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 500;
	color: rgba(255,255,255,.95);
	text-shadow: 0 1px 8px rgba(0,0,0,.5);
}

/* Das gelbe Schild sitzt oben rechts — die Motive brauchen dort Platz. */
.ayst-rest__promo .ayst-rest__mix { right: 22px; }

@media (max-width: 639px) {
	/* Auf dem Handy ist die Kachel nur rund 224 px breit. Motive, Schild,
	   Ueberschrift, Text und Knopf teilen sich diesen Platz — deshalb alles eine
	   Nummer kleiner, und die Motive enden vor dem Schild. */
	/* Die Desktop-Regel .ayst-rest__promo .ayst-rest__mix ist spezifischer —
	   deshalb hier derselbe Selektor, sonst bleibt right: 22px stehen. */
	.ayst-rest__promo .ayst-rest__mix { left: 14px; top: 14px; right: 64px; gap: 4px; }
	.ayst-rest__mix-bild { width: 42px; height: 42px; border-width: 1.5px; }
	.ayst-rest__mix-bild + .ayst-rest__mix-bild { margin-left: -12px; }
	.ayst-rest__mix-text { font-size: 10.5px; line-height: 1.25; margin-top: 5px; }
}


/* Die Kategorie-Kachel braucht eine andere Breite als die Produktkarten — im
   Raster geht nur "ganze Spalten", deshalb laeuft genau diese Reihe auf flex.
   Mobil war sie mit zwei Spalten fast so breit wie der Bildschirm; jetzt lugt
   die naechste Karte sichtbar hervor und man sieht, dass es weitergeht. */
.ayst-rail--rest .ayst-rail__track { display: flex; }
.ayst-rail--rest .ayst-rail__track > li { flex: 0 0 46%; }
.ayst-rail--rest .ayst-rail__track > li.ayst-rest__promo { flex: 0 0 62%; }

@media (min-width: 640px) {
	.ayst-rail--rest .ayst-rail__track > li { flex: 0 0 30%; }
	.ayst-rail--rest .ayst-rail__track > li.ayst-rest__promo { flex: 0 0 30%; }
}
@media (min-width: 1000px) {
	.ayst-rail--rest .ayst-rail__track > li { flex: 0 0 calc((100% - 4 * 20px) / 5); }
	.ayst-rail--rest .ayst-rail__track > li.ayst-rest__promo { flex: 0 0 calc((100% - 4 * 20px) / 5); }
}

/* ==========================================================================
   Newsletter — weisse Karte mit Bild links, Anmeldung rechts.
   Vorbild war ein Banner mit roter Flaeche und schraeger Kante; hier traegt
   das Foto die linke Seite, die schraege Kante kommt per clip-path.
   ========================================================================== */
.ayst-nl { margin: 0 0 34px; }
.ayst-nl__box {
	display: grid;
	gap: 0;
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 2px 18px rgba(17,20,23,.07);
}

/* ---------- Bildseite ---------- */
.ayst-nl__media {
	position: relative;
	min-height: 190px;
	background: #e1261c;
}
.ayst-nl__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
	display: block;
}
/* Gutschein-Schild */
.ayst-nl__gift {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 2;
	display: grid;
	place-content: center;
	justify-items: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: #e1261c;
	color: #fff;
	line-height: 1.05;
	box-shadow: 0 3px 12px rgba(0,0,0,.25);
}
.ayst-nl__gift strong { font-size: 21px; font-weight: 700; }
.ayst-nl__gift span { font-size: 12px; }

/* ---------- Textseite ---------- */
.ayst-nl__cont { padding: 26px 22px 28px; }
.ayst-nl__kicker {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #8a9298;
}
.ayst-pg .ayst-nl h2 {
	margin: 0 0 10px;
	font-size: clamp(21px, 3.2vw, 28px);
	font-weight: 600;
	letter-spacing: -.02em;
	color: #111417;
}
.ayst-pg .ayst-nl__text {
	margin: 0 0 18px;
	max-width: 46ch;
	font-size: 14.5px;
	line-height: 1.5;
	color: #5b6368;
}

/* ---------- Formular ---------- */
.ayst-nl__form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: stretch;
}
.ayst-nl__feld { flex: 1 1 220px; min-width: 0; display: block; }
.ayst-nl__feld input {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid #ddd8d1;
	border-radius: 6px;
	background: #fff;
	font-size: 15px;
	color: #111417;
	font-family: inherit;
}
.ayst-nl__feld input:focus {
	outline: 2px solid #111417;
	outline-offset: 1px;
	border-color: #111417;
}
.ayst-pg .ayst-nl__btn {
	flex: 0 0 auto;
	height: 48px;
	padding: 0 30px;
	border: 1px solid #e1261c;
	border-radius: 6px;
	background: #e1261c;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	font-family: inherit;
	cursor: pointer;
	transition: background-color .16s ease, border-color .16s ease;
}
.ayst-pg .ayst-nl__btn:hover { background: #c01c14; border-color: #c01c14; }

.ayst-nl__ok {
	flex: 1 1 100%;
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin-top: 2px;
	font-size: 13px;
	line-height: 1.45;
	color: #5b6368;
	cursor: pointer;
}
.ayst-nl__ok input { margin-top: 2px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: #e1261c; }
.ayst-pg .ayst-nl__ok a { color: #5b6368; text-decoration: underline; text-underline-offset: 2px; }
.ayst-pg .ayst-nl__ok a:hover { color: #111417; }

.ayst-pg .ayst-nl__klein {
	margin: 14px 0 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: #8a9298;
}

/* Nur fuer Vorleseprogramme */
.ayst-nl .screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

@media (min-width: 760px) {
	.ayst-nl__box { grid-template-columns: 38% 1fr; }
	.ayst-nl__media { min-height: 100%; }
	/* Schraege Kante wie im Vorbild — nur dort, wo zwei Spalten stehen. */
	.ayst-nl__media img { clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
	.ayst-nl__gift { right: 14%; }
	.ayst-nl__cont { padding: 32px 34px 34px 18px; }
}

@media (min-width: 1000px) {
	.ayst-nl { margin-bottom: 44px; }
	.ayst-nl__box { grid-template-columns: 34% 1fr; }
	.ayst-nl__cont { padding: 38px 44px 40px 26px; }
}

/* ==========================================================================
   Neuheiten — bewusst KEIN drittes Karussell.
   Ein Raster zeigt alles auf einen Blick, und ein kleines Fähnchen an jeder
   Karte macht ohne Worte klar, worum es in diesem Abschnitt geht.
   ========================================================================== */
.ayst-neu { margin: 0 0 34px; }

.ayst-neu__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px 24px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}
.ayst-neu__kicker {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 2px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #1f8a4c;            /* Gruen: neu, frisch — und kein drittes Rot */
}
/* Kleiner pulsierender Punkt, wie eine Statusanzeige. */
.ayst-neu__punkt {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #1f8a4c;
	box-shadow: 0 0 0 0 rgba(31,138,76,.5);
	animation: ayst-puls 2.4s ease-out infinite;
}
@keyframes ayst-puls {
	0%   { box-shadow: 0 0 0 0 rgba(31,138,76,.5); }
	70%  { box-shadow: 0 0 0 7px rgba(31,138,76,0); }
	100% { box-shadow: 0 0 0 0 rgba(31,138,76,0); }
}
@media (prefers-reduced-motion: reduce) {
	.ayst-neu__punkt { animation: none; }
}
.ayst-pg .ayst-neu h2 {
	margin: 0;
	font-size: clamp(22px, 3.4vw, 30px);
	font-weight: 600;
	letter-spacing: -.02em;
	color: #111417;
}
.ayst-pg a.ayst-neu__more {
	color: #111417;
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 1px solid #e7e5e1;
	padding-bottom: 2px;
}
.ayst-pg a.ayst-neu__more:hover { border-color: #111417; }

/* ---------- Karussell ---------- */
.ayst-neu__track > li { position: relative; }

/* Das Fähnchen. Sitzt ueber der Bildflaeche der Theme-Karte, die ihr Eck
   bei Neuheiten frei hat — Rabattschilder gibt es hier ja keine. */
.ayst-neu__track > li::before {
	content: "Neu";
	position: absolute;
	left: 10px;
	top: 10px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 4px;
	background: #1f8a4c;
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.3;
	pointer-events: none;
}

@media (min-width: 1000px) {
	.ayst-neu { margin-bottom: 44px; }
	.ayst-neu__head { margin-bottom: 24px; }
}
