/* everysize — neutrales Content-CSS für die es-Markup-Sprache.
   Tokens aus den Live-Seiten (Montserrat). Funktioniert in Statamic-Preview UND SvelteKit-Frontend.
   Ziel: Content-Bereich 1:1 wie live (ohne Nav/Footer). */
:root {
  --es-font: 'Montserrat', system-ui, -apple-system, sans-serif;
  --es-ink: #343434;       /* Überschriften/Links */
  --es-text: #3b3b3b;      /* Fließtext */
  --es-muted: #6b7280;
  --es-accent: #e8454e;    /* everysize-Rot */
  --es-line: #e7e5e4;
  --es-soft: #f6f6f6;
  --es-radius: 10px;
  --es-maxw: 1200px;
}
* { box-sizing: border-box; }
body { margin: 0; }
/* Sanftes Scrollen zu Ankern (#aktuelle-jobs etc.) */
html { scroll-behavior: smooth; }
.lp-section[id] { scroll-margin-top: 1.5rem; }
/* Lange Wörter/URLs umbrechen, damit sie die Seite (v.a. mobil) nicht sprengen */
.es-page { overflow-wrap: break-word; }
.es-page a { overflow-wrap: anywhere; }
/* www-Embed: die Full-Bleed-Blöcke nutzen width:100vw / calc(50%-50vw). 100vw schließt die
   Scrollbar-Breite mit ein -> auf Mobile ragt der Inhalt ~scrollbar-breit über den Viewport und
   lässt sich horizontal verschieben. clip auf www's .page-wrapper kappt genau diesen Überhang
   (Full-Bleed reicht weiterhin bis zum Viewport-Rand; der Sticky-Header liegt außerhalb -> unberührt).
   Auf cms-new existiert .page-wrapper nicht -> wirkungslos, kein Standalone-Effekt. */
.page-wrapper { overflow-x: clip; }
/* font-weight explizit: www's Shell setzt global 300 — ohne eigene Angabe wuerde der Fliesstext
   im Embed duenner rendern als im Standalone. */
.es-page { font-family: var(--es-font); color: var(--es-text); font-size: 16px; line-height: 1.625; font-weight: 400;
  max-width: var(--es-maxw); margin: 0 auto; padding: 1.5rem 1rem 4rem; -webkit-font-smoothing: antialiased; }

/* ---------- Typografie ---------- */
.es-page h1, .es-page h2, .es-page h3 { font-family: var(--es-font); color: var(--es-ink); margin: 0 0 1rem; }
.es-page h1 { font-size: 2rem; font-weight: 800; line-height: 1.25; }
.es-page h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.25; margin-top: 0; }
.es-page h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.4; }
/* H3 Desktop groesser (Mobile bleibt 18.4px = 1.15rem) */
@media (min-width: 768px) {
    .lp-columns--auto { column-count: 2; column-gap: 4rem; } .es-page h3 { font-size: 21px; } }
.es-page p { margin: 0 0 1rem; }
.es-page a { color: var(--es-ink); font-weight: 700; text-decoration: none; }
.es-page a:hover { text-decoration: underline; }
.es-page ul, .es-page ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.es-page li { margin: .25rem 0; }
.es-page img { max-width: 100%; height: auto; }
.es-page strong { font-weight: 700; }

/* ---------- Layout-Varianten ---------- */
.es-page--center { max-width: 1300px; }          /* Landingpages (schuhe/shops) — Outer breit genug für 1240er Inner. Zentrierung = Container/DIVs (margin:auto), NICHT der Textinhalt */
.es-page--center .es-page__inner { max-width: 1240px; margin: 0 auto; }
.es-page--article { text-align: left; max-width: 925px; }   /* Mag-Artikel (Blog + Lexikon): Content ~885px nach 40px Padding */
.es-page--article h1 { text-align: center; font-size: 2.4rem; font-weight: 700; margin-bottom: .75rem; }
/* Breadcrumb direkt unter der H1 (Legacy-Parität) */
.es-breadcrumb { margin: 0 0 1.75rem; font-size: .85rem; }
.es-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; padding: 0; margin: 0; }
.es-breadcrumb li { display: inline-flex; align-items: center; gap: .45rem; color: #777; }
.es-breadcrumb li:not(:last-child)::after { content: "\203A"; color: #bbb; }
.es-breadcrumb a { color: #777; font-weight: 500; text-decoration: none; }
.es-breadcrumb a:hover { color: var(--es-accent); text-decoration: underline; }
.es-page--article p { font-size: 1.125rem; line-height: 1.7; }
/* Mag-Body-Links schwarz wie alle anderen Links (.es-page a) — Unterstreichung bleibt beim Hover */
.es-page--article p a:hover, .es-page--article li a:hover { text-decoration: underline; }
/* Statische Seiten (AGB, Über uns, Partnershops …): Dokument-Layout, linksbündig */
.es-page--doc { text-align: left; }
.es-page--doc .es-page__inner { max-width: 940px; margin: 0 auto; }
.es-page--doc h1 { font-size: 2.2rem; font-weight: 800; margin: 0 0 1.75rem; }
/* Überschriften immer linksbündig — auch in zentrierten Marketing-LPs (Hero bleibt zentriert) */
.es-page--center h1, .es-page--center h2, .es-page--center h3, .es-page--center h4,
.es-page--doc h1, .es-page--doc h2, .es-page--doc h3, .es-page--doc h4 { text-align: left; }
.lp-hero h1 { text-align: center; }
/* Überschriften folgen der Block-Ausrichtung: zentriert, wenn der Block auf „Zentriert" steht */
.es-align-center h1, .es-align-center h2, .es-align-center h3, .es-align-center h4 { text-align: center; }
.es-align-right { text-align: right; }
.es-align-right h1, .es-align-right h2, .es-align-right h3, .es-align-right h4 { text-align: right; }
.es-page--doc h2 { margin-top: 0; }
.es-page--doc .es-gallery { text-align: center; }

/* ---------- es-Vokabular ---------- */
.es-image { margin: 1.5rem auto; }
.es-image img { border-radius: var(--es-radius); display: block; margin: 0 auto; }
.es-caption, figcaption { color: var(--es-muted); font-size: .85rem; margin-top: .4rem; }

.es-gallery { display: grid; gap: 1rem; margin: 1.5rem 0; align-items: center;
  grid-template-columns: repeat(var(--cols, 4), 1fr); }
.es-gallery--cols-1 { --cols: 1; } .es-gallery--cols-2 { --cols: 2; } .es-gallery--cols-3 { --cols: 3; }
.es-gallery--cols-4 { --cols: 4; } .es-gallery--cols-5 { --cols: 5; } .es-gallery--cols-6 { --cols: 6; }
.es-gallery--m-1 { --cols-m: 1; } .es-gallery--m-2 { --cols-m: 2; } .es-gallery--m-3 { --cols-m: 3; }
.es-gallery .es-image { margin: 0; }
.es-gallery .es-image img { width: 100%; border-radius: 8px; aspect-ratio: 3/2; object-fit: contain; background: #fff; padding: .35rem; }
/* Logo-Grid: Logos in Originalgröße (max 120×60), zentriert — nicht aufblähen */
.es-gallery--logos .es-image { display: flex; align-items: center; justify-content: center; min-height: 100px; border: 1px solid #ccc; }
.es-gallery--logos .es-image img { width: auto; height: auto; max-width: 120px; max-height: 60px; aspect-ratio: auto; object-fit: contain; padding: 0; background: none; border-radius: 0; }
@media (max-width: 640px) { .es-gallery { grid-template-columns: repeat(var(--cols-m, 2), 1fr); } }
/* Content-Galerie (WP): Raster is-cropped (object-fit cover) + Single-Slide-Slider (cb-carousel) */
.es-gallery--grid .es-gallery__item { margin: 0; display: block; }
.es-gallery--grid .es-gallery__item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 8px; display: block; }
.es-gallery.es-gallery--slider { display: block; }
.es-gallery--slider .es-gallery__item { display: block; }
.es-gallery--slider .es-gallery__item img { width: 100%; max-height: 520px; object-fit: contain; }
.es-gallery--slider .slick-prev, .es-gallery--slider .slick-next { z-index: 2; width: 40px; height: 40px; }
.es-gallery--slider .slick-prev { left: 8px; } .es-gallery--slider .slick-next { right: 8px; }
.es-gallery--slider .slick-prev:before, .es-gallery--slider .slick-next:before { color: #161616; font-size: 28px; }

.es-button { display: inline-block; background: var(--es-accent); color: #fff !important; font-weight: 700;
  padding: .65rem 1.25rem; border-radius: 8px; text-decoration: none; margin: 0; }
.es-button:hover { filter: brightness(.93); text-decoration: none; }
/* Link-Block Button-Farben (nur Hintergrund, KEIN Block-Padding wie es-bg--*) */
.es-button--black { background: #161616; }
.es-button--tertiary { background: #4b5563; }
/* Link-Block Farbe = "Keine Farbe": schlichter Text-Link statt Button */
/* .es-page-Prefix nötig: schlägt `.es-page a {font-weight:700;text-decoration:none}` (0,1,1) */
.es-page .es-textlink { display: inline-block; color: var(--es-ink); font-weight: 400; text-decoration: underline; text-underline-offset: 2px; margin: .25rem 0; }
.es-page .es-textlink:hover { text-decoration: none; }
/* Anker-Chip: Bard-Link-Stil wie die "Groessentabelle/FAQ"-Chips auf everysize (weiss, Border, Radius 10) */
.anchor { display: inline-block; background: #fff; border: 1px solid #dbdbdb; border-radius: 10px; padding: 9px 13px; font-size: 12px; font-weight: 400; line-height: 1; color: var(--es-ink); text-decoration: none; }
.anchor:hover { border-color: var(--es-ink); text-decoration: none; }
/* www's `p a:after` malt einen Unterstrich-Balken unter Links in <p> — bei den Anker-Chips stört das (Rahmen wirkt unterstrichen). */
.anchor:after { content: none !important; display: none !important; }
/* Link-Masking (Variante 2): maskierte Links sind <span> ohne href -> als klickbar kennzeichnen */
.es-mask { cursor: pointer; }
.es-buttons { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0; }
.es-page--center .es-buttons { justify-content: center; }

.es-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; margin: 2rem 0; text-align: left; }
@media (min-width: 641px) { .es-media { gap: 3rem; } }   /* Desktop: mehr Abstand Text↔Bild */
/* Bild max. 50% der Blockbreite, Text schmäler; Inhalt zentriert */
.es-media--half { grid-template-columns: minmax(0, 50%) minmax(0, 42%); justify-content: center; }
.es-media--half.es-media--reverse { grid-template-columns: minmax(0, 42%) minmax(0, 50%); }
.es-media--medium { grid-template-columns: 280px 1fr; }
.es-media--medium.es-media--reverse { grid-template-columns: 1fr 280px; }
.es-media--narrow { grid-template-columns: 200px 1fr; }
.es-media--narrow.es-media--reverse { grid-template-columns: 1fr 200px; }
.es-media--reverse .es-media__figure { order: 2; }
.es-media__figure img { width: 100%; border-radius: var(--es-radius); display: block; }
.es-media__body > :first-child { margin-top: 0; }
@media (max-width: 640px) { .es-media { grid-template-columns: 1fr; } .es-media--reverse .es-media__figure { order: 0; } }
/* Bildbreite "Randlos": Bild buendig/cover, feste Hoehe, zentrierter Text - reproduziert Legacy promo_style_2 */
.es-media--randlos { gap: 0; overflow: hidden; height: 455px; grid-template-rows: 455px; align-items: stretch; background: #f3f3f3; border-radius: 10px; }
.es-media--randlos.es-block, .es-media--randlos.es-bg--gray { padding: 0; }
.es-media--randlos .es-media__figure { height: 100%; }
.es-media--randlos .es-media__figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.es-media--randlos .es-media__body { display: flex; flex-direction: column; justify-content: center; text-align: left; padding: 32px 24px; max-width: 428px; }
.es-media--randlos .es-media__body .es-button, .es-media--randlos .es-media__body .es-textlink { align-self: flex-start; }
@media (max-width: 640px) {
  .es-media--randlos { height: auto; grid-template-rows: auto; }
  .es-media--randlos .es-media__figure { height: auto; }
  .es-media--randlos .es-media__figure img { height: 260px; }
  .es-media--randlos .es-media__body { padding: 24px 16px; }
}
/* Block-Optionen: Hintergrund-Padding + lesbare Breite */
.es-block { padding: 1.75rem; border-radius: var(--es-radius); margin: 1.5rem 0; }
.es-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
/* .lp-section { margin: 3rem 0 } wuerde margin-left/right resetten -> hier wieder zentrieren */
.lp-section.es-narrow { margin-left: auto; margin-right: auto; }

.es-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.es-group { margin: 1.5rem 0; }
.es-quote, blockquote { border-left: 3px solid var(--es-accent); padding: .25rem 0 .25rem 1rem; margin: 1.5rem 0;
  font-style: italic; color: var(--es-ink); }
/* Tabellen: bei Überbreite horizontal scrollbar statt die Seite zu sprengen.
   display:block macht die Tabelle zum Scroll-Container; tr/td behalten ihr Table-Layout. */
.es-table, .es-page table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
  width: 100%; max-width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.es-page table th, .es-page table td { white-space: normal; }
.es-page th, .es-page td { border: 1px solid var(--es-line); padding: .5rem .7rem; text-align: left; }
hr { border: 0; border-top: 1px solid var(--es-line); margin: 2rem 0; }

/* Ausrichtung / Farben (Palette) */
.es-align-center { text-align: center; }
.es-align-left { text-align: left; }
.es-align-wide { }
.es-text--primary { color: var(--es-accent); }
.es-text--white { color: #fff; }
.es-text--blue { color: #2563eb; }
.es-text--sm { font-size: .85rem; color: var(--es-muted); }      /* Credits/Kleingedrucktes */
.es-text--md { font-size: 1.15rem; }
.es-text--black { color: #111; }
.es-text--secondary { color: var(--es-muted); }
.es-bg--black { background: #161616; color: #fff; padding: 2.5rem 1.5rem; border-radius: var(--es-radius);
  text-align: center; margin: 2.5rem 0; }
.es-bg--black .es-image { margin: 0 auto 1.25rem; }
.es-bg--black .es-image img { max-width: 420px; width: 100%; margin: 0 auto; }
.es-bg--black p { font-size: 1.5rem; font-weight: 800; line-height: 1.25; text-transform: lowercase; margin: .5rem 0; color: #fff; }
/* www's globales `p,td{color:#3B3B3B}` (direkte Regel) schlaegt sonst das geerbte Weiss im schwarzen Block. */
.es-bg--black p, .es-bg--black li, .es-bg--black a { color: #fff; }
.es-bg--black .es-buttons { justify-content: center; margin-top: 1.5rem; }
.es-bg--primary { background: var(--es-accent); color: #fff; padding: 1.5rem; border-radius: var(--es-radius); }
.es-bg--gray { background: var(--es-soft); padding: 1.5rem; border-radius: var(--es-radius); }
/* Landingpage: grauer Hintergrund über die komplette Browserbreite, ohne Rundung (wie Legacy „Über uns");
   Inhalt bleibt auf Content-Breite (1240) zentriert */
.es-page--center .es-bg--gray:not(.es-media--randlos),
.es-page--doc .es-bg--gray:not(.es-media--randlos) {
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  border-radius: 0; background: rgb(243, 243, 243);
  padding: 2.5rem max(1rem, calc(50vw - 620px));
}
/* Blog/Lexikon (schmaler): Grau ebenfalls über volle Browserbreite, Inhalt auf ~885px zentriert */
.es-page--article .es-bg--gray:not(.es-media--randlos) {
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  border-radius: 0; background: rgb(243, 243, 243);
  padding: 2.5rem max(1rem, calc(50vw - 442px));
}
/* Blog/Lexikon: Module ohne echten Hintergrund sind keine "Card" → kein Card-Padding,
   damit Text/Galerie bündig zur Textspalte fließen (Padding nur bei echtem es-bg--*). */
.es-page--article .es-block:not([class*="es-bg--"]) { padding: 0; }
/* Modul-Abstände im schmalen Artikel enger als die 3rem der Landingpage. */
.es-page--article .lp-section { margin: 2rem 0; }
/* Beitragsbild bündig zur Textspalte: klassenloses <figure> erbt sonst das
   Browser-Default margin (1em 40px) → 40px seitlicher Einzug. */
.es-page--article header figure { margin: 0; }
.es-bg--tertiary { background: #2b2b2b; color: #fff; padding: 1.5rem; border-radius: var(--es-radius); }
.es-bg--everysize { background: var(--es-accent); color: #fff; padding: 1.5rem; border-radius: var(--es-radius); }
/* Text auf JEDEM dunklen Modul-Hintergrund weiss. Das `color: #fff` an den Containern
   oben reicht dafür NICHT: www setzt global `p,td{color:#3B3B3B}` als DIREKTE Regel,
   und eine direkte Regel schlägt den vererbten Wert — der Absatz bliebe dunkelgrau
   auf Rot. Für `.es-bg--black` steht die Gegenregel seit jeher weiter oben; für die
   übrigen dunklen Hintergründe fehlte sie. `tertiary`/`everysize` kommen im Bestand
   aktuell nicht vor, sind hier aber mitgenommen, damit dieselbe Lücke nicht wieder
   aufgeht, wenn jemand die Klasse in Roh-HTML verwendet.
   `.es-bg--gray` ist bewusst NICHT dabei — heller Hintergrund, dunkler Text. */
.es-bg--primary p, .es-bg--primary li, .es-bg--primary a, .es-bg--primary td, .es-bg--primary th,
.es-bg--primary h2, .es-bg--primary h3, .es-bg--primary h4,
.es-bg--tertiary p, .es-bg--tertiary li, .es-bg--tertiary a, .es-bg--tertiary td, .es-bg--tertiary th,
.es-bg--tertiary h2, .es-bg--tertiary h3, .es-bg--tertiary h4,
.es-bg--everysize p, .es-bg--everysize li, .es-bg--everysize a, .es-bg--everysize td, .es-bg--everysize th,
.es-bg--everysize h2, .es-bg--everysize h3, .es-bg--everysize h4,
.es-bg--black h2, .es-bg--black h3, .es-bg--black h4, .es-bg--black td, .es-bg--black th { color: #fff; }

/* Akkordeon (FAQ) */
.es-accordion { margin: 1.5rem 0; text-align: left; }
.es-accordion__item { border-bottom: 1px solid var(--es-line); }
.es-accordion__title { font-weight: 600; font-size: 1.05rem; padding: 1rem 0; color: var(--es-ink); }
.es-accordion__content { padding: 0 0 1rem; color: var(--es-text); }

/* ---------- Landingpage-Sektionen (Template lp-*) ---------- */
.lp-intro { color: var(--es-text); margin: 0 auto 1.25rem; max-width: 760px; }
.lp-section { margin: 3rem 0; }
.lp-hero { padding: 0; }
.lp-eyebrow { color: var(--es-accent); text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; font-weight: 700; margin-bottom: .5rem; }
/* Landingpage: H2 ohne unteren margin; Sektions-Headlines behalten den Abstand zum Inhalt */
.lp-section > h2 { margin-bottom: 1rem; }
/* FAQ-Accordion (wie live faq--accordion) */
.lp-faq { text-align: left; }
/* Desktop: Headline linke Spalte (~24%), Akkordeon rechts — wie Legacy (.faq flex) */
@media (min-width: 768px) {
  .lp-faq { display: flex; align-items: flex-start; gap: 2rem; }
  .lp-faq__headline { flex: 0 0 24%; margin: 0; }
  .lp-faq__list { flex: 1 1 auto; min-width: 0; }
}
.lp-faq__list { border-top: 1px solid var(--es-line); }
.lp-faq__entry { border-bottom: 1px solid var(--es-line); }
.lp-faq__entry > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; padding: 1rem 1px; font-weight: 600; font-size: 1.05rem; color: var(--es-ink); }
.lp-faq__entry > summary::-webkit-details-marker { display: none; }
.lp-faq__entry > summary::after { content: '⌄'; color: var(--es-muted); font-size: 1.1rem; transition: transform .2s ease; }
.lp-faq__entry[open] > summary::after { transform: rotate(180deg); }
.lp-faq__answer { padding: 0 0 1rem; color: var(--es-text); font-size: .95rem; line-height: 1.7; }

/* ---------- Rating-Accordion (wie live .ratings): Summary links, Reviews rechts ---------- */
.lp-rating { text-align: left; }
/* Desktop: Summary linke Spalte (~24%), Reviews-Accordion rechts — wie Legacy (.ratings flex) */
@media (min-width: 768px) {
  .lp-rating { display: flex; align-items: flex-start; gap: 2rem; }
  .lp-rating__summary { flex: 0 0 24%; margin: 0; }
  .lp-rating__list { flex: 1 1 auto; min-width: 0; }
}
.lp-rating__summary { margin-bottom: 1.25rem; }
.lp-rating__summary h2 { margin-bottom: .5rem; }
.lp-rating__score { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--es-ink); }
.lp-rating__avg { font-size: .95rem; }
.lp-rating__count { font-size: .85rem; color: var(--es-muted); margin-top: .3rem; }
.lp-rating__intro { color: var(--es-muted); font-size: .8rem; line-height: 1.6; margin: .75rem 0 0; }
.lp-rating__intro a { color: var(--es-ink); text-decoration: underline; font-weight: 400; }
/* Sterne mit Overlay-Technik (Halbsterne über --val: 0–5) */
.lp-rating__stars { position: relative; display: inline-block; color: #dcdcdc; letter-spacing: 2px; line-height: 1; white-space: nowrap; }
.lp-rating__stars-fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #f5a623; width: calc(var(--val, 0) / 5 * 100%); }
/* Accordion-Einträge */
.lp-rating__list { border-top: 1px solid var(--es-line); }
.lp-rating__entry { border-bottom: 1px solid var(--es-line); }
.lp-rating__entry > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .75rem; padding: 1rem 1px; }
.lp-rating__entry > summary::-webkit-details-marker { display: none; }
.lp-rating__entry > summary::after { content: '⌄'; color: var(--es-muted); font-size: 1.1rem; margin-left: auto; transition: transform .2s ease; }
.lp-rating__entry[open] > summary::after { transform: rotate(180deg); }
.lp-rating__name { font-weight: 700; color: var(--es-ink); }
.lp-rating__content { padding: 0 0 1.25rem; }
.lp-rating__text { color: var(--es-text); font-size: .95rem; line-height: 1.7; margin: 0 0 1rem; }
.lp-rating__procon { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1rem; }
.lp-rating__pros, .lp-rating__cons { flex: 1 1 220px; }
.lp-rating__label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: .35rem; }
.lp-rating__pros .lp-rating__label { color: #2e7d32; }
.lp-rating__cons .lp-rating__label { color: #c0392b; }
.lp-rating__procon ul { margin: 0; padding-left: 1.1rem; }
.lp-rating__procon li { font-size: .9rem; line-height: 1.6; }
.lp-rating__photo img { max-width: 160px; height: auto; border-radius: 8px; }

/* ---------- Magazin-Slider: Blog-Cards (Bild + Titel), wie Legacy .magazine ---------- */
.lp-magazin__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 18px; }
.lp-magazin__track::-webkit-scrollbar { display: none; }
/* Desktop: exakt 4 volle Cards (kein 5. angeschnitten) */
.lp-magazin__card { flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--es-ink); box-shadow: -1px 5px 10px rgba(0,0,0,.15); transition: box-shadow .15s, transform .15s; }
.lp-magazin__card:hover { text-decoration: none; box-shadow: -1px 7px 16px rgba(0,0,0,.22); }
.lp-magazin__img { display: block; aspect-ratio: 1 / 1; background: #f3f3f3; overflow: hidden; }
/* .es-page-Prefix: schlaegt www's `.index img { height:auto }`, sonst fuellt das Bild die 1:1-Karte
   nicht (Hoehe auto -> grauer Rand unten). */
.es-page .lp-magazin__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-magazin__title { padding: .8rem .85rem 1rem; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--es-ink); }
.lp-magazin__empty { color: var(--es-muted); font-size: .95rem; padding: .5rem 0 1rem; margin: 0; }

/* ---------- Magazin-Übersicht (magazin_index): Raster + Paginierung ---------- */
.lp-magindex__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lp-magindex__card { display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden;
  text-decoration: none; color: var(--es-ink); box-shadow: -1px 5px 10px rgba(0,0,0,.10); transition: box-shadow .15s, transform .15s; }
.lp-magindex__card:hover { text-decoration: none; box-shadow: -1px 8px 18px rgba(0,0,0,.18); transform: translateY(-2px); }
.lp-magindex__img { display: block; aspect-ratio: 3 / 2; background: #f3f3f3; overflow: hidden; }
.es-page .lp-magindex__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-magindex__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; flex: 1 1 auto; }
.lp-magindex__cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--es-accent); }
.lp-magindex__title { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--es-ink); }
.lp-magindex__date { font-size: 12px; color: var(--es-muted); margin-top: auto; }
.lp-magindex__empty { color: var(--es-muted); font-size: .95rem; padding: 1rem 0; margin: 0; }
@media (max-width: 1023px) { .lp-magindex__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (max-width: 767px)  { .lp-magindex__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 460px)  { .lp-magindex__grid { grid-template-columns: 1fr; } }
/* Paginierung (vom API-Controller injiziert) */
.lp-magindex__pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 2.5rem 0 .5rem; }
.lp-magindex__pager a, .lp-magindex__pager span { display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--es-line); border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--es-ink); text-decoration: none; background: #fff; }
.lp-magindex__pager a:hover { border-color: var(--es-ink); text-decoration: none; }
.lp-magindex__pager .is-active { background: var(--es-ink); border-color: var(--es-ink); color: #fff; }
.lp-magindex__pager .is-disabled { color: var(--es-muted); border-color: var(--es-line); opacity: .5; pointer-events: none; }
.lp-magindex__pager .lp-magindex__gap { border: 0; background: none; min-width: auto; }

/* ---------- Sneaker-Lexikon: alphabetische Liste ---------- */
/* Schmale Lesebreite (wie der Fliesstext), nicht die volle Topic-Breite. */
.lp-lexikon { max-width: 760px; margin-left: auto; margin-right: auto; }
.lp-lexikon__az { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin: 0 0 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--es-line); }
.lp-lexikon__az a, .lp-lexikon__az span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; }
.lp-lexikon__az a { color: var(--es-ink); background: var(--es-soft); }
.lp-lexikon__az a:hover { background: var(--es-ink); color: #fff; text-decoration: none; }
.lp-lexikon__az .is-disabled { color: #cfcfcf; }
.lp-lexikon__group { margin: 0 0 2rem; scroll-margin-top: 1.5rem; }
.lp-lexikon__letter { font-size: 1.6rem; font-weight: 800; color: var(--es-accent); margin: 0 0 .75rem; padding-bottom: .35rem; border-bottom: 2px solid var(--es-line); }
.lp-lexikon__list { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 2rem; }
.lp-lexikon__list li { break-inside: avoid; margin: 0 0 .5rem; }
.lp-lexikon__list a { color: var(--es-ink); text-decoration: none; font-size: .95rem; }
.lp-lexikon__list a:hover { color: var(--es-accent); text-decoration: underline; }
@media (max-width: 767px) { .lp-lexikon__list { columns: 2; } }
@media (max-width: 460px) { .lp-lexikon__list { columns: 1; } }
@media (max-width: 767px) {
  .lp-magazin__track { margin-right: -1rem; }
  /* Mobile: 1,3 Cards (1 voll + Peek der 2.) */
  .lp-magazin__card { flex: 0 0 calc((100vw - 32px) / 1.3); }
}

/* ---------- Größentabelle: Headline links, Accordion rechts (wie Legacy .sizesBlock) ---------- */
.lp-sizes { text-align: left; }
@media (min-width: 768px) {
  .lp-sizes { display: flex; align-items: flex-start; gap: 2rem; }
  .lp-sizes__headline { flex: 0 0 24%; margin: 0; }
  .lp-sizes__list { flex: 1 1 auto; min-width: 0; }
}
/* Accordion-Einträge: Divider oben (wie Legacy), kein Border unten */
.lp-sizes__entry { border-top: 1px solid #dbdbdb; }
.lp-sizes__entry > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 15px 1px; font-weight: 600; font-size: 18px; color: var(--es-ink); }
.lp-sizes__entry > summary::-webkit-details-marker { display: none; }
.lp-sizes__entry > summary::after { content: '⌄'; color: var(--es-muted); font-size: 1.1rem; transition: transform .2s ease; }
.lp-sizes__entry[open] > summary::after { transform: rotate(180deg); }
.lp-sizes__content { padding: 0 0 1rem; overflow-x: auto; }
/* Tabelle wie Legacy .sizesTable: keine Zell-Borders, zentriert, Zebra-Streifen */
/* display: table nötig, da .es-page table { display:block } (responsive) sonst die Spaltenverteilung bricht */
.es-page .lp-sizes__table { display: table; width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; color: var(--es-ink); }
/* color explizit: www's globales `p, td { color:#3B3B3B }` schlaegt sonst die Tabellen-Farbe. */
.lp-sizes__table th, .lp-sizes__table td { padding: 11px 0; text-align: center; white-space: nowrap; border: none; color: var(--es-ink); }
.lp-sizes__table thead th { font-weight: 600; }
/* Zebra ab der ersten Datenzeile (Legende = thead) */
.lp-sizes__table tbody tr:nth-child(odd) { background: #f6f4f5; }

/* Autoren-Box Landingpage (EEAT) */
.lp-author { padding-top: 2rem; }
.lp-author__card { display: flex; gap: 1.25rem; align-items: flex-start; text-align: left; }
.lp-author__img { flex: 0 0 auto; }
/* .es-page-Prefix: schlaegt www's `.index img { height:auto }`, sonst wird das runde Autorenfoto
   auf die natuerliche Hoehe gezogen -> ei-/oval-foermig statt kreisrund. */
.es-page .lp-author__img img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; display: block; }
.lp-author__name { font-size: 1.1rem; font-weight: 700; color: var(--es-ink); margin: 0 0 .4rem; }
.lp-author__bio { color: var(--es-muted); font-size: .9rem; line-height: 1.6; margin: 0; }
/* Autoren-SEITE (/mag/author/…): größerer Kopf als die Inline-Autorenbox */
h1.lp-author__name { font-size: 1.6rem; }
.lp-author__links { margin: .5rem 0 0; font-size: .9rem; }
.lp-author__links a { color: var(--es-accent); font-weight: 600; }
/* Autoren-Seite: Beitragsliste (Links statt Kacheln) */
.lp-author__posts { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.lp-author__posts li { padding: .7rem 0; border-bottom: 1px solid var(--es-line); }
.lp-author__posts time { color: var(--es-muted); font-size: .82rem; margin-right: .7rem; white-space: nowrap; }
.lp-author__posts a { color: var(--es-ink); font-weight: 600; text-decoration: none; }
.lp-author__posts a:hover { color: var(--es-accent); text-decoration: underline; }
/* ========== Kacheln (link_cards): Format × Style × Spalten ========== */
.lp-tiles { display: grid; gap: 1rem; }
.lp-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; text-decoration: none; color: var(--es-ink); border-radius: var(--es-radius); overflow: hidden; }
.lp-tile__img { display: flex; align-items: center; justify-content: center; width: 100%; }
.lp-tile__img img { display: block; width: 100%; height: auto; max-height: 200px; object-fit: contain; }
.lp-tile__label { display: block; font-weight: 700; font-size: 1rem; line-height: 1.25; text-align: center; }

/* --- Format: Grid (flex-wrap + zentriert → wenige Kacheln stehen mittig im Block) --- */
.lp-tiles--grid { display: flex; flex-wrap: wrap; justify-content: center; }
.lp-tiles--grid > .lp-tile { flex-grow: 0; flex-shrink: 1; }

/* --- Format: Slider / DoubleSlider (horizontaler Scroll, Scrollbar versteckt) --- */
.lp-tiles--slider, .lp-tiles--doubleslider { display: grid; grid-auto-flow: column; gap: 12px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; }
.lp-tiles--slider::-webkit-scrollbar, .lp-tiles--doubleslider::-webkit-scrollbar { display: none; height: 0; }
.lp-tiles--slider { grid-template-rows: 1fr; grid-auto-columns: clamp(130px, 40vw, 165px); }
.lp-tiles--doubleslider { grid-template-rows: 1fr 1fr; grid-auto-columns: clamp(140px, 42vw, 205px); }
.lp-tiles--slider .lp-tile, .lp-tiles--doubleslider .lp-tile { scroll-snap-align: start; }
/* Slider-Labels durchgehend einzeilig */
.lp-tiles--slider .lp-tile__label, .lp-tiles--doubleslider .lp-tile__label {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; font-weight: 600; font-size: .9rem; }

/* Desktop: DoubleSlider füllt die volle Content-Breite (kein Scroll, kein weißer Rand rechts);
   Slider bleibt in Content-Breite (Bleed nur mobil, s.u.) */
@media (min-width: 768px) {
  .lp-tiles--doubleslider { grid-auto-columns: minmax(0, 1fr); overflow-x: visible; }
}

/* --- Carousel-Wrapper: Pfeile + Striche --- */
.lp-carousel { position: relative; }
.lp-carousel .lp-tiles { padding-right: 15px; }
.lp-carousel__arrow { position: absolute; top: 42%; transform: translateY(-50%); width: 40px; height: 40px;
  border: none; border-radius: 999px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.2); cursor: pointer; z-index: 3; }
.lp-carousel__arrow::before { content: ''; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px;
  border-top: 2px solid var(--es-ink); border-right: 2px solid var(--es-ink); }
.lp-carousel__arrow--prev { left: -18px; }
.lp-carousel__arrow--prev::before { transform: translate(-30%,-50%) rotate(-135deg); }
.lp-carousel__arrow--next { right: -18px; }
.lp-carousel__arrow--next::before { transform: translate(-70%,-50%) rotate(45deg); }
.lp-carousel__arrow[hidden] { display: none; }
.lp-carousel__dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: .85rem; }
.lp-carousel__dots button { width: 22px; height: 4px; padding: 0; border: none; border-radius: 2px;
  background: #d6d6d6; cursor: pointer; transition: background .2s; }
.lp-carousel__dots button[aria-current="true"] { background: var(--es-ink); }

/* Mobile: nur rechts bis zur Device-Kante (letzte Kachel angeschnitten), linker Rand bleibt
   der normale Content-Rand; keine Pfeile (Anschnitt + Striche zeigen den Slider) */
@media (max-width: 767px) {
  .lp-carousel { margin-right: calc(50% - 50vw); }
  .lp-carousel .lp-tiles { padding-right: 0; }
  .lp-carousel__arrow { display: none; }
}

/* --- Spalten (nur Grid) — Breite via flex-basis; wenige Kacheln bleiben mittig (justify-center) --- */
.lp-tiles--cols-m1_d2 > .lp-tile, .lp-tiles--cols-m1_d3 > .lp-tile, .lp-tiles--cols-m1_d4 > .lp-tile { flex-basis: 100%; }
.lp-tiles--cols-m2_d3 > .lp-tile, .lp-tiles--cols-m2_d4 > .lp-tile, .lp-tiles--cols-m2_d5 > .lp-tile { flex-basis: calc((100% - 1rem) / 2); }
.lp-tiles--cols-m3_d6 > .lp-tile { flex-basis: calc((100% - 2rem) / 3); }
@media (min-width: 768px) {
  .lp-tiles--cols-m1_d2 > .lp-tile { flex-basis: calc((100% - 1rem) / 2); }
  .lp-tiles--cols-m1_d3 > .lp-tile, .lp-tiles--cols-m2_d3 > .lp-tile { flex-basis: calc((100% - 2rem) / 3); }
  .lp-tiles--cols-m1_d4 > .lp-tile { flex-basis: calc((100% - 3rem) / 4); }
  .lp-tiles--cols-m2_d4 > .lp-tile { flex-basis: calc((100% - 3rem) / 4); }
  .lp-tiles--cols-m2_d5 > .lp-tile { flex-basis: calc((100% - 4rem) / 5); }
  .lp-tiles--cols-m3_d6 > .lp-tile { flex-basis: calc((100% - 5rem) / 6); }
}

/* --- Styles --- */
/* bg_standard: KEIN Kachel-Hintergrund, abgerundetes Bild, Label darunter (Modell-Karten wie Legacy-DoubleSlider) */
.lp-tiles--bg_standard .lp-tile { background: none; padding: 0; }
.lp-tiles--bg_standard .lp-tile__img { border-radius: var(--es-radius); overflow: hidden; }
.lp-tiles--bg_standard .lp-tile__img img { aspect-ratio: 1/1; max-height: none; object-fit: cover; }

/* bg_gray / bg_black / bg_red: Kachel mit Hintergrund (Bild abgerundet) */
.lp-tiles--bg_gray .lp-tile { background: rgb(243,243,243); padding: .7rem; }
.lp-tiles--bg_black .lp-tile { background: #1a1a1a; color: #fff; padding: .8rem; }
.lp-tiles--bg_red .lp-tile { background: var(--es-accent); color: #fff; padding: .8rem; }
.lp-tiles--bg_gray .lp-tile__img, .lp-tiles--bg_black .lp-tile__img, .lp-tiles--bg_red .lp-tile__img { border-radius: 8px; overflow: hidden; }
.lp-tiles--bg_gray .lp-tile__img img { aspect-ratio: 1/1; max-height: none; object-fit: cover; }

/* Bild+Text im GRID MIT Bild UND Label (Foto-Kacheln wie Geschlechter): feste Kachelgröße, Bild füllt
   oben (cover), Label darunter, zentriert. Gilt für ALLE Bild+Text-Styles inkl. Schatten (nur bg_image
   und reine Logo-Grids ohne Label ausgenommen). 390x175 / mobil 100%x136 — 1:1 wie Legacy-Gender-Kacheln. */
.lp-tiles--grid.lp-tiles--bg_standard:has(.lp-tile__img):has(.lp-tile__label),
.lp-tiles--grid.lp-tiles--bg_gray:has(.lp-tile__img):has(.lp-tile__label),
.lp-tiles--grid.lp-tiles--bg_black:has(.lp-tile__img):has(.lp-tile__label),
.lp-tiles--grid.lp-tiles--bg_red:has(.lp-tile__img):has(.lp-tile__label),
.lp-tiles--grid.lp-tiles--shadow:has(.lp-tile__img):has(.lp-tile__label) { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.lp-tiles--grid.lp-tiles--bg_standard:has(.lp-tile__img):has(.lp-tile__label) .lp-tile:has(.lp-tile__img),
.lp-tiles--grid.lp-tiles--bg_gray:has(.lp-tile__img):has(.lp-tile__label) .lp-tile:has(.lp-tile__img),
.lp-tiles--grid.lp-tiles--bg_black:has(.lp-tile__img):has(.lp-tile__label) .lp-tile:has(.lp-tile__img),
.lp-tiles--grid.lp-tiles--bg_red:has(.lp-tile__img):has(.lp-tile__label) .lp-tile:has(.lp-tile__img),
.lp-tiles--grid.lp-tiles--shadow:has(.lp-tile__img):has(.lp-tile__label) .lp-tile { flex: 0 1 390px; width: 390px; max-width: 100%; height: 175px; padding: 0; gap: 0; min-height: 0; }
.lp-tiles--grid.lp-tiles--bg_standard:has(.lp-tile__img):has(.lp-tile__label) .lp-tile__img,
.lp-tiles--grid.lp-tiles--bg_gray:has(.lp-tile__img):has(.lp-tile__label) .lp-tile__img,
.lp-tiles--grid.lp-tiles--bg_black:has(.lp-tile__img):has(.lp-tile__label) .lp-tile__img,
.lp-tiles--grid.lp-tiles--bg_red:has(.lp-tile__img):has(.lp-tile__label) .lp-tile__img,
.lp-tiles--grid.lp-tiles--shadow:has(.lp-tile__img):has(.lp-tile__label) .lp-tile__img { flex: 1 1 auto; width: 100%; min-height: 0; border-radius: 0; }
.lp-tiles--grid.lp-tiles--bg_standard:has(.lp-tile__img):has(.lp-tile__label) .lp-tile__img img,
.lp-tiles--grid.lp-tiles--bg_gray:has(.lp-tile__img):has(.lp-tile__label) .lp-tile__img img,
.lp-tiles--grid.lp-tiles--bg_black:has(.lp-tile__img):has(.lp-tile__label) .lp-tile__img img,
.lp-tiles--grid.lp-tiles--bg_red:has(.lp-tile__img):has(.lp-tile__label) .lp-tile__img img,
.lp-tiles--grid.lp-tiles--shadow:has(.lp-tile__img):has(.lp-tile__label) .lp-tile__img img { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; }
.lp-tiles--grid.lp-tiles--bg_standard:has(.lp-tile__img):has(.lp-tile__label) .lp-tile__label,
.lp-tiles--grid.lp-tiles--bg_gray:has(.lp-tile__img):has(.lp-tile__label) .lp-tile__label,
.lp-tiles--grid.lp-tiles--bg_black:has(.lp-tile__img):has(.lp-tile__label) .lp-tile__label,
.lp-tiles--grid.lp-tiles--bg_red:has(.lp-tile__img):has(.lp-tile__label) .lp-tile__label,
.lp-tiles--grid.lp-tiles--shadow:has(.lp-tile__img):has(.lp-tile__label) .lp-tile__label { flex: 0 0 auto; padding: .8rem; }
@media (max-width: 767px) {
  .lp-tiles--grid.lp-tiles--bg_standard:has(.lp-tile__img):has(.lp-tile__label) .lp-tile:has(.lp-tile__img),
  .lp-tiles--grid.lp-tiles--bg_gray:has(.lp-tile__img):has(.lp-tile__label) .lp-tile:has(.lp-tile__img),
  .lp-tiles--grid.lp-tiles--bg_black:has(.lp-tile__img):has(.lp-tile__label) .lp-tile:has(.lp-tile__img),
  .lp-tiles--grid.lp-tiles--bg_red:has(.lp-tile__img):has(.lp-tile__label) .lp-tile:has(.lp-tile__img),
  .lp-tiles--grid.lp-tiles--shadow:has(.lp-tile__img):has(.lp-tile__label) .lp-tile { flex-basis: 100%; width: 100%; height: 136px; }
}

/* shadow: weiße Kachel mit Schatten (Text-Karten; Foto-Kacheln nutzen das Füll-Design oben) */
.lp-tiles--shadow .lp-tile { background: #fff; box-shadow: 0 6px 10px rgba(0,0,0,.13); padding: .9rem 1rem; min-height: 56px; }
/* Reine Logo-Grids OHNE Label (z.B. Marken): kleines, gecapptes Logo + einheitliche Kachelhöhe */
.lp-tiles--shadow:not(:has(.lp-tile__label)) .lp-tile__img img { max-height: 52px; }
.lp-tiles--shadow:not(:has(.lp-tile__label)) .lp-tile:has(.lp-tile__img) { min-height: 104px; }

/* text_shadow: nur Text */
.lp-tiles--text_shadow .lp-tile { background: #fff; box-shadow: 0 6px 10px rgba(0,0,0,.13); padding: .9rem 1.2rem; min-height: 56px; }
.lp-tiles--text_shadow .lp-tile__img { display: none; }

/* bg_image: Bild als Hintergrund, breit-flache Banner-Kachel, Label-Overlay */
.lp-tiles--bg_image .lp-tile { aspect-ratio: 4 / 1.05; min-height: 66px; background: #555; }
.lp-tiles--bg_image .lp-tile__img { position: absolute; inset: 0; }
.lp-tiles--bg_image .lp-tile__img img { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; }
.lp-tiles--bg_image .lp-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.5)); z-index: 1; }
.lp-tiles--bg_image .lp-tile__label { position: relative; z-index: 2; color: #fff; font-size: 1.1rem; text-shadow: 0 1px 6px rgba(0,0,0,.65); }
.lp-tiles--slider.lp-tiles--bg_image .lp-tile, .lp-tiles--doubleslider.lp-tiles--bg_image .lp-tile { aspect-ratio: auto; min-height: 120px; }

/* ---------- everysize Produkt-Slider (Widget) ---------- */
/* Intro/Copy im Produkt-Block: volle Breite, linksbündig (nicht zentriert wie sonst) */
.es-products .lp-intro { max-width: none; margin-left: 0; margin-right: 0; text-align: left; }
/* CTA zentriert über den Block */
.es-products__cta { text-align: center; margin-top: 1.5rem; }
/* Slider (slick): Paginierungs-Striche wie beim Kachel-Slider (.lp-carousel__dots) */
.wp-block-everysize-products-list .slick-dots { position: static; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: .85rem 0 0; padding: 0; list-style: none; }
.wp-block-everysize-products-list .slick-dots li { width: auto; height: auto; margin: 0; }
/* Inaktiv: 1px heller Rahmen (immer sichtbar, unabhaengig vom Modul-Hintergrund). Aktiv: gefuellt. */
.wp-block-everysize-products-list .slick-dots li button { width: 22px; height: 4px; padding: 0; border: 1px solid #c9c9c9; border-radius: 2px; background: transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.wp-block-everysize-products-list .slick-dots li button::before { display: none; }
.wp-block-everysize-products-list .slick-dots li.slick-active button { background: var(--es-ink); border-color: var(--es-ink); }
/* Scroll-Container quadratischer Kacheln → keine Rundung (die es-block-Klasse am <ul>
   setzt sonst 10px, was der overflow an der 1./letzten Kachel-Ecke beschneidet). */
.wp-block-everysize-products-list { list-style: none; margin: 1.5rem 0; padding: 0; border-radius: 0; }
/* Produktliste vom generischen `.es-page ul`-Einzug (padding-left: 1.4rem) ausnehmen */
.es-page ul.wp-block-everysize-products-list { padding: 0; }
/* Fallback (vor slick-Init): horizontale Scroll-Reihe */
.wp-block-everysize-products-list:not(.slick-initialized) { display: flex; gap: 1rem; padding-bottom: .75rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.wp-block-everysize-products-list:not(.slick-initialized) .item { flex: 0 0 200px; scroll-snap-align: start; }
/* Format „Grid": Mobile 2 Spalten, Desktop 4 Spalten */
.wp-block-everysize-products-list[data-format="grid"]:not(.slick-initialized) {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.25rem; overflow: visible; }
@media (min-width: 768px) {
  .wp-block-everysize-products-list[data-format="grid"]:not(.slick-initialized) { grid-template-columns: repeat(4, 1fr); } }
/* Mobile: Kacheln randlos an die Bildschirmkanten (kein Seitenrand) + kleinerer Gap (wie Legacy, 8px) */
@media (max-width: 767px) {
  .wp-block-everysize-products-list[data-format="grid"]:not(.slick-initialized) {
    width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); gap: 8px; } }
.wp-block-everysize-products-list[data-format="grid"]:not(.slick-initialized) .item { flex: none; margin: 0; }
/* Mobile Slider (kein slick): 2 Kacheln links bündig + ~5% Peek der 3. am rechten Bildschirmrand, keine Pfeile */
@media (max-width: 767px) {
  .wp-block-everysize-products-list[data-format="slider"]:not(.slick-initialized) {
    display: flex; gap: 10px; margin-right: -1rem; padding-bottom: 0;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .wp-block-everysize-products-list[data-format="slider"]:not(.slick-initialized)::-webkit-scrollbar { display: none; }
  .wp-block-everysize-products-list[data-format="slider"]:not(.slick-initialized) .item {
    flex: 0 0 calc((100vw - 36px) / 2.15); scroll-snap-align: start; margin: 0; } }
/* Mobile-Paginierungs-Striche für den nativen Produkt-Scroll (per JS erzeugt, kein slick) */
.lp-mobile-dots { display: none; }
@media (max-width: 767px) {
  .lp-mobile-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: .85rem 0 0; padding: 0; }
  .lp-mobile-dots button { width: 22px; height: 4px; padding: 0; border: none; border-radius: 2px; background: #c9c9c9; cursor: pointer; transition: background .15s; }
  .lp-mobile-dots button[aria-current="true"] { background: var(--es-ink); } }
/* Produktkachel wie www.everysize.com: weiße Sektions-Kachel mit #dbdbdb-Dividern, Text zentriert, Footer unten */
.wp-block-everysize-products-list .item { background: #fff; border: none; border-radius: 0; text-align: center; margin: 0 .5rem; position: relative; }
.wp-block-everysize-products-list[data-format="grid"]:not(.slick-initialized) .item { margin: 0; }
.wp-block-everysize-products-list.slick-initialized .item { margin: 0 .5rem; }
.wp-block-everysize-products-list .slick-prev, .wp-block-everysize-products-list .slick-next { z-index: 2; width: 32px; height: 32px; }
.wp-block-everysize-products-list .slick-prev { left: -8px; } .wp-block-everysize-products-list .slick-next { right: -8px; }
.wp-block-everysize-products-list .slick-prev:before, .wp-block-everysize-products-list .slick-next:before { color: #343434; font-size: 28px; }
/* www's `.button, button {background:#e85159}` + `.no-touch button:hover {background:#e2242e}` treffen
   die slick-Pfeile (sind <button>) und faerben sie rot. Hier hart neutralisieren (hoehere Spezifitaet). */
.wp-block-everysize-products-list .slick-prev,
.wp-block-everysize-products-list .slick-next,
.wp-block-everysize-products-list .slick-prev:hover,
.wp-block-everysize-products-list .slick-next:hover,
.wp-block-everysize-products-list .slick-prev:focus,
.wp-block-everysize-products-list .slick-next:focus { background: transparent; border: 0; padding: 0; box-shadow: none; }
.wp-block-everysize-products-list .slick-prev:hover:before,
.wp-block-everysize-products-list .slick-next:hover:before { color: #343434; opacity: 1; }
/* Dots gegen www's button-Styles absichern — aber 1px-Rahmen erhalten (nicht wie die Pfeile auf border:0). */
.wp-block-everysize-products-list .slick-dots li button,
.wp-block-everysize-products-list .slick-dots li button:hover,
.wp-block-everysize-products-list .slick-dots li button:focus { background: transparent; border: 1px solid #c9c9c9; box-shadow: none; }
.wp-block-everysize-products-list .slick-dots li.slick-active button,
.wp-block-everysize-products-list .slick-dots li.slick-active button:hover { background: var(--es-ink); border-color: var(--es-ink); }
/* Anchor = Flex-Spalte über volle Kachelhöhe, damit der Footer unten sitzt */
.wp-block-everysize-products-list .item-link { text-decoration: none; color: #343434; display: flex; flex-direction: column; height: 100%; }
.wp-block-everysize-products-list .item-link:hover, .wp-block-everysize-products-list .item-link:hover .item-name { text-decoration: none; }
/* Bild: zentriert, max. 218×185 (Legacy), Weißraum drumherum, Divider unten */
.wp-block-everysize-products-list .item-image { display: block; position: relative; text-align: center; padding: 20px 8px 14px; border-bottom: 1px solid #dbdbdb; }
/* Größen-Badge (gewählte Größen) unten rechts auf dem Bild — wie Prod (searchbar4.png):
   hellgraue abgerundete Box, Text #343434, Größe 10px + "+N" 8px */
.wp-block-everysize-products-list .item-size-badge { position: absolute; right: 10px; bottom: 10px; font-size: 8px; line-height: 1; font-weight: 400; color: #343434; background: #ececec; border: 0; border-radius: 4px; padding: 3px 6px; white-space: nowrap; pointer-events: none; }
.wp-block-everysize-products-list .item-size-badge__val { font-size: 10px; }
.wp-block-everysize-products-list .item-image img { width: 100%; max-width: 218px; max-height: 185px; aspect-ratio: 218 / 185; object-fit: cover; margin: 0 auto; display: block; }
/* Text: Marke (klein, 10.5px) über Name (fett, 14px), zentriert; min-height 85px (Legacy) für 2-zeilige Namen, Divider unten */
.wp-block-everysize-products-list .item-description { flex: 1 1 auto; min-height: 85px; padding: 12px 6px 8px; text-align: center; border-bottom: 1px solid #dbdbdb; }
.wp-block-everysize-products-list .item-brand { display: block; font-size: 10.5px; font-weight: 600; color: #343434; margin: 0 0 2px; }
.wp-block-everysize-products-list .item-name { display: block; font-size: 14px; font-weight: 700; color: #343434; line-height: 1.3; }
/* Footer unten: Shops | Preis, je 50 %, vertikaler Divider dazwischen */
.wp-block-everysize-products-list .item-meta { display: flex; align-items: center; padding: 9px 0; font-size: 12.5px; font-weight: 700; color: #343434; }
/* Werte explizit setzen (nicht erben): www's styles.css hat für dieselben Legacy-Klassen
   `.item-shops,.item-price{float:left;width:50%;padding:1em 0;font-size:.75em;line-height:1;color:#6e6e6e}`
   und `strong{float:left;width:100%;margin-top:.35em;font-size:1.25em}`. Im Embed gewinnen die überall,
   wo wir nichts deklarieren — deshalb hier float/width/padding/Größe/Farbe hart überschreiben. */
.wp-block-everysize-products-list .item-shops,
.wp-block-everysize-products-list .item-price {
  flex: 1; text-align: center; float: none; width: auto; padding: 0; margin: 0;
  font-size: 12.5px; line-height: 1.625; color: #343434;
}
.wp-block-everysize-products-list .item-shops { border-right: 1px solid #dbdbdb; font-weight: 700; }
.wp-block-everysize-products-list .item-price { font-weight: 400; }
.wp-block-everysize-products-list .item-shops strong,
.wp-block-everysize-products-list .item-price strong {
  float: none; width: auto; margin: 0; font-size: 1em; font-family: inherit; color: #343434; font-weight: 700;
}
.wp-block-everysize-products-list .item-price.sale strong { color: #e02835; }
/* Rabatt-Badge: oben links, 12px Abstand von oben */
.wp-block-everysize-products-list .item[data-item-discount]:not([data-item-discount=""])::before {
  content: attr(data-item-discount); position: absolute; top: 12px; left: 0; z-index: 3;
  background: #e02835; color: #fff; font-size: 12px; font-weight: 700; line-height: normal; padding: 5px 8px; }

/* „Mehr Produkte"-Hinweiskachel: ersetzt die letzte Kachel, wenn die Suche mehr Treffer
   liefert als das Limit. Zentrierter Text + maskierter „Jetzt entdecken"-Link (es-mask.js). */
/* Slick: alle Slides gleich hoch, damit die Hinweiskachel die volle Kachelhöhe füllt */
.wp-block-everysize-products-list.slick-initialized .slick-track { display: flex; align-items: stretch; }
.wp-block-everysize-products-list.slick-initialized .slick-track .item { height: auto; }
/* Höhere Spezifität als slick.css (.slick-initialized .slick-slide{display:block}, laedt spaeter) */
.wp-block-everysize-products-list .item.more-products-cart { display: flex; flex-direction: column; }
.wp-block-everysize-products-list .item.more-products-cart .item-content {
  flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.5rem 1rem; text-align: center; }
.wp-block-everysize-products-list .more-products-count {
  margin: 0; font-size: 14px; font-weight: 700; color: #343434; line-height: 1.4; }
.wp-block-everysize-products-list .more-products-link {
  display: inline-block; margin-top: 24px; color: var(--es-accent); font-size: 13px;
  font-weight: 400; text-decoration: underline; cursor: pointer; }
/* „Leider keine Angebote in Größe X" — Info-Kachel an erster Position (wie www stateCard) */
.wp-block-everysize-products-list .item.stateCard {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 260px; padding: 16px; background: #fff; }
.wp-block-everysize-products-list .item.stateCard .infoText {
  text-align: center; font-size: 14px; font-weight: 700; line-height: 1.4; color: #343434; }

/* ---------- Landingpage: weitere Sektionen ---------- */
.lp-banner img, .lp-banner video { width: 100%; border-radius: var(--es-radius); margin: 1rem 0; }
.lp-banner video { display: block; height: auto; }
.lp-banner picture { display: block; }
/* Breakpoint-Sichtbarkeit wie Craft/Production (.mobileOnly/.desktopOnly, Umschaltpunkt 568px):
   Banner mit NUR Mobile-Bild sind oberhalb 568px ausgeblendet, Banner mit NUR Desktop-Bild darunter.
   Banner mit beiden Bildern tragen keine der Klassen und bleiben immer sichtbar (responsives <picture>). */
.lp-banner--mobile-only { display: none; }
@media (max-width: 568px) { .lp-banner--mobile-only { display: block; } }
.lp-banner--desktop-only { display: none; }
@media (min-width: 568px) { .lp-banner--desktop-only { display: block; } }
/* Bild/Banner Breite "full": aus dem 1200er-Container ausbrechen -> 100% Viewport (wie Legacy-Hero) */
.lp-banner--full { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); margin-top: 0; background: var(--es-soft); position: relative; }
/* Breadcrumb-Overlay oben links auf dem Hero-Banner (nur wenn Hero + Breadcrumb) */
.lp-hero-breadcrumb { position: absolute; top: 0; left: 0; right: 0; z-index: 2; pointer-events: none; }
.lp-hero-breadcrumb__inner { max-width: 1240px; margin: 0 auto; padding: 1.1rem 1.25rem; }
.lp-hero-breadcrumb__chip { display: inline-block; background: rgba(255,255,255,.72); padding: .35rem .7rem; border-radius: 6px; font-size: 12px; line-height: 1.4; color: var(--es-ink); pointer-events: auto; }
.lp-hero-breadcrumb a { color: var(--es-ink); text-decoration: none; pointer-events: auto; }
.lp-hero-breadcrumb a:hover { text-decoration: underline; }
.lp-hero-breadcrumb__sep { margin: 0 .35rem; color: var(--es-muted); }
.lp-hero-breadcrumb__plain { color: var(--es-muted); }
/* Spalten-Block (Text-Grid): Desktop 2/3/4 oder auto, Mobile immer 1 */
.lp-columns { display: grid; gap: 1.5rem; align-items: start; }
/* auto = FlexGrid: echter mehrspaltiger TEXTFLUSS (Legacy .textBlocks--flexgrid),
   nicht ein Item pro Spalte. Zwei Spalten erst ab 768px — darunter einspaltig,
   genau wie Legacy (dort steht column-count in @media(min-width:768px)). */
.lp-columns--auto { display: block; }
/* Ueberschrift nicht allein am Spaltenende stehen lassen. Legacy loest das ueber
   inline-block-Kinder je Absatz; hier flieszt der Text, deshalb explizit. */
.lp-columns--auto h2, .lp-columns--auto h3, .lp-columns--auto h4 { break-after: avoid; }
.lp-columns--1 { grid-template-columns: 1fr; }
.lp-columns--2 { grid-template-columns: repeat(2, 1fr); }
.lp-columns--3 { grid-template-columns: repeat(3, 1fr); }
.lp-columns--4 { grid-template-columns: repeat(4, 1fr); }
.lp-columns__item > :first-child { margin-top: 0; }
@media (max-width: 640px) { .lp-columns { grid-template-columns: 1fr; } }
.lp-banner--full img, .lp-banner--full video { width: 100%; border-radius: 0; margin: 0; display: block; object-fit: cover; object-position: center; }
/* Hero-Hoehe vereinheitlichen — aber NICHT beim Such-Hero (der hat sein eigenes 450px-Format,
   sonst wird er auf 260er-Verhaeltnis gestaucht und der absolute Content laeuft unter den Header). */
.lp-banner--full:not(.lp-search-hero) img, .lp-banner--full:not(.lp-search-hero) video { aspect-ratio: 1800 / 260; }
/* Hero-Hoehe vereinheitlichen: alle Full-Hero-Bilder auf das Standard-Format (Desktop 1800x260, Mobile 578x200) mittig zuschneiden, unabhaengig vom Quell-Seitenverhaeltnis */
@media (max-width: 640px) { .lp-banner--full:not(.lp-search-hero) img, .lp-banner--full:not(.lp-search-hero) video { aspect-ratio: 578 / 200; } }
/* Full-bleed-Hero als erster Block: buendig oben (es-page padding-top aufheben) */
.es-page__inner > .lp-banner--full:first-child { margin-top: calc(-1 * 1.5rem); }
/* Such-Hero (Homepage): Full-Width-Bild + Text-Overlay + visuelle Suchbox (JS-Handler kommt vom Frontend) */
.lp-search-hero { position: relative; }
.lp-search-hero__img { display: block; }
.lp-search-hero__img img { width: 100%; height: 450px; object-fit: cover; object-position: center; background: #f3f3f3; display: block; }
.lp-search-hero__content { position: absolute; inset: 0; max-width: 1060px; margin: 0 auto; padding: 30px 25px 120px; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
.lp-search-hero__content h1 { color: #1e1e1e; font-weight: 800; font-size: 40px; line-height: 1.25; margin: 0 0 24px; max-width: 500px; }
.lp-search-hero__copy { color: #1e1e1e; font-size: 18px; line-height: 1.5; max-width: 700px; margin: 0 0 32px; }
.lp-search-hero__copy > :first-child { margin-top: 0; }
.lp-search-hero__copy > :last-child { margin-bottom: 0; }
/* Suchbox: Pill-Input + roter Kreis-Button mit Lupe (visuell; JS-Handler kommt vom Frontend) */
.lp-search-hero__search { position: relative; width: 100%; max-width: 550px; }
.lp-search-hero__input { width: 100%; height: 49px; background: #fff; border: 0; border-radius: 100px; padding: 0 58px 0 20px; font-size: 14px; color: #000; cursor: pointer; box-sizing: border-box; box-shadow: 2px 4px 9px rgba(0,0,0,.15); }
.lp-search-hero__btn { position: absolute; right: 0; top: 0; width: 49px; height: 49px; border: 0; border-radius: 50%; cursor: pointer; background: var(--es-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.2-4.2'/%3E%3C/svg%3E") center / 20px 20px no-repeat; }
/* everysize schaltet Header/Menü bei 1023px auf mobil (Hamburger) — der Hero muss denselben
   Breakpoint nutzen, sonst zeigt er zwischen 768–1023px noch Desktop-Styling (schwarzer Text,
   kein Overlay), während die Seite schon mobil ist. */
@media (max-width: 1023px) {
  .lp-search-hero__img img { height: 310px; }
  .lp-search-hero__content { background: rgba(0,0,0,.3); justify-content: flex-start; padding: 30px 25px 40px; max-width: none; }
  /* !important: www's styles.css (lädt am Body-Ende, nach unserem Head-CSS) überschreibt die
     Hero-Textfarbe sonst auf schwarz. */
  .lp-search-hero__content h1 { color: #fff !important; -webkit-text-fill-color: #fff !important; font-size: 24px; line-height: 36px; margin-bottom: 15px; max-width: 400px; }
  .lp-search-hero__copy, .lp-search-hero__copy p { color: #fff !important; -webkit-text-fill-color: #fff !important; }
  .lp-search-hero__copy { font-size: 16px; line-height: 24px; margin-bottom: 50px; }
  .lp-search-hero__input { height: 42px; }
  .lp-search-hero__btn { width: 42px; height: 42px; }
}
/* Galerie als Slider (wie live "on feet"): 4 Bilder + Pfeile, Klick = Lightbox */
.lp-gallery { margin: 0; }
/* Grid-Format: alle Bilder, Spalten aus cols-Klasse (Mobil/Desktop) */
.lp-gallery--grid { display: grid; gap: 1rem; }
.lp-gallery--grid.lp-gallery--cols-1-1 { grid-template-columns: 1fr; }
.lp-gallery--grid.lp-gallery--cols-1-2 { grid-template-columns: repeat(2, 1fr); }
.lp-gallery--grid.lp-gallery--cols-2-2 { grid-template-columns: repeat(2, 1fr); }
.lp-gallery--grid.lp-gallery--cols-2-4 { grid-template-columns: repeat(4, 1fr); }
/* Slider-Format: vor slick-Init als Raster (kein Flash), nur erste Bilder zeigen */
.lp-gallery--slider:not(.slick-initialized) { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; overflow: hidden; }
.lp-gallery--slider.lp-gallery--cols-1-1:not(.slick-initialized) { grid-template-columns: 1fr; }
.lp-gallery--slider.lp-gallery--cols-1-2:not(.slick-initialized) { grid-template-columns: repeat(2, 1fr); }
.lp-gallery--slider.lp-gallery--cols-2-2:not(.slick-initialized) { grid-template-columns: repeat(2, 1fr); }
.lp-gallery--slider:not(.slick-initialized) .lp-gallery__item:nth-child(n+5) { display: none; }
.lp-gallery__item { display: block; }
.lp-gallery__item > img:not(.lp-gallery__source) { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; cursor: zoom-in; display: block; background: var(--es-soft); }
/* 1 Spalte: ganzes Bild ohne Crop, natürliches Format, höhenbegrenzt + zentriert */
/* 1 Spalte = wie das alte Einzelbild: natürliches Format, max-width 100%, KEINE Höhenbegrenzung */
.lp-gallery--cols-1-1 .lp-gallery__item > img:not(.lp-gallery__source) { width: auto; max-width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; margin-inline: auto; }
.lp-gallery--nozoom .lp-gallery__item > img:not(.lp-gallery__source) { cursor: default; }
.es-gallery-caption { margin-top: .6rem; }
.lp-gallery.slick-initialized .lp-gallery__item { padding: 0 .5rem; }
.lp-gallery .slick-prev, .lp-gallery .slick-next { z-index: 2; width: 32px; height: 32px; }
.lp-gallery .slick-prev { left: -8px; } .lp-gallery .slick-next { right: -8px; }
.lp-gallery .slick-prev:before, .lp-gallery .slick-next:before { color: var(--es-ink); font-size: 28px; opacity: 1; }
/* Wie beim Produkt-Slider: www's `.button, button {background:#e85159}` +
   `.no-touch button:hover {background:#e2242e}` treffen die slick-Pfeile (sind <button>)
   und faerben sie beim Hover rot. Hart neutralisieren (hoehere Spezifitaet). */
.lp-gallery .slick-prev,
.lp-gallery .slick-next,
.lp-gallery .slick-prev:hover,
.lp-gallery .slick-next:hover,
.lp-gallery .slick-prev:focus,
.lp-gallery .slick-next:focus { background: transparent; border: 0; padding: 0; box-shadow: none; }
.lp-gallery .slick-prev:hover:before,
.lp-gallery .slick-next:hover:before { color: var(--es-ink); opacity: 1; }
/* Quellen-Icon unten rechts im Bild (Legacy-Parität: 20x20, 16px Abstand, weiß). */
.lp-gallery__item { position: relative; }
.lp-gallery__source { position: absolute; bottom: 16px; right: 16px; width: 20px; height: 20px;
  border-radius: 0; pointer-events: none; filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.lp-gallery.slick-initialized .lp-gallery__item .lp-gallery__source { right: calc(.5rem + 16px); }
/* Paginierungs-Striche wie im Produkt-Slider (.wp-block-everysize-products-list .slick-dots).
   slick-theme.css setzt die Dots absolut unter den Slider und malt Punkte via ::before —
   beides hier zurückgedreht: statisch im Fluss, Striche statt Punkte. */
.lp-gallery .slick-dots { position: static; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: .85rem 0 0; padding: 0; list-style: none; }
.lp-gallery .slick-dots li { width: auto; height: auto; margin: 0; }
.lp-gallery .slick-dots li button { width: 22px; height: 4px; padding: 0; border: 1px solid #c9c9c9; border-radius: 2px; background: transparent; cursor: pointer; transition: background .15s, border-color .15s; text-indent: -9999px; overflow: hidden; }
.lp-gallery .slick-dots li button::before { display: none; }
.lp-gallery .slick-dots li.slick-active button { background: var(--es-ink); border-color: var(--es-ink); }
@media (max-width: 640px) {
  .lp-gallery--grid.lp-gallery--cols-1-2 { grid-template-columns: 1fr; }
  .lp-gallery--grid.lp-gallery--cols-2-2, .lp-gallery--grid.lp-gallery--cols-2-4 { grid-template-columns: repeat(2, 1fr); }
  .lp-gallery--slider:not(.slick-initialized) { grid-template-columns: repeat(2, 1fr); }
  .lp-gallery--slider:not(.slick-initialized) .lp-gallery__item:nth-child(n+3) { display: none; } }

/* Lightbox-Overlay (Zoom) */
.lp-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 2rem; }
.lp-lightbox.is-open { display: flex; }
.lp-lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 8px; }
/* Bild + Quellen-Zeile als ein Block (Legacy-Parität: weiße Leiste unter dem Bild). */
.lp-lightbox__figure { margin: 0; display: flex; flex-direction: column; max-width: 90vw; }
.lp-lightbox__figure .lp-lightbox__img { border-radius: 8px 8px 0 0; max-height: 78vh; }
.lp-lightbox__source { background: #fff; border-radius: 0 0 8px 8px; padding: 16px;
  font-size: 1rem; line-height: 26px; font-weight: 600; }
.lp-lightbox__source a, .lp-lightbox__source { display: flex; align-items: center; color: var(--es-ink); text-decoration: underline; }
.lp-lightbox__source a { width: 100%; }
.lp-lightbox__source span { display: inline-block; padding-left: 8px; align-self: center; }
.lp-lightbox__source-icon { width: 32px; height: 32px; border-radius: 0; flex: 0 0 auto;
  filter: brightness(0); }   /* Legacy-Popup zeigt das Glyph monochrom dunkel, nicht in Markenfarbe */
.lp-lightbox__source[hidden] { display: none; }
@media (min-width: 1060px) { .lp-lightbox__source { padding: 24px 16px; } }
.lp-lightbox__close { position: absolute; top: 1rem; right: 1.5rem; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; }
.lp-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15);
  border: 0; color: #fff; font-size: 2.6rem; width: 50px; height: 68px; line-height: 1; cursor: pointer; border-radius: 8px; }
.lp-lightbox__nav:hover { background: rgba(255,255,255,.3); }
/* www's `button {padding:1em .8em; background:#e85159}` + `.no-touch button:hover
   {background:#e2242e}` treffen auch die Lightbox-Buttons. `.no-touch button:hover` liegt
   bei (0,2,1) und schlaegt `.lp-lightbox__nav:hover` (0,2,0) — der Pfeil wurde im
   www-Embed beim Hover rot. Mit `.lp-lightbox` davor sind wir bei (0,3,0). */
.lp-lightbox .lp-lightbox__nav,
.lp-lightbox .lp-lightbox__nav:focus { background: rgba(255,255,255,.15); border: 0; padding: 0; box-shadow: none; }
.lp-lightbox .lp-lightbox__nav:hover { background: rgba(255,255,255,.3); border: 0; padding: 0; box-shadow: none; }
.lp-lightbox .lp-lightbox__close,
.lp-lightbox .lp-lightbox__close:hover,
.lp-lightbox .lp-lightbox__close:focus { background: none; border: 0; padding: 0; box-shadow: none; color: #fff; }
.lp-lightbox__prev { left: 1rem; } .lp-lightbox__next { right: 1rem; }
@media (max-width: 640px) { .lp-lightbox__nav { width: 40px; height: 54px; font-size: 2rem; }
  .lp-lightbox__prev { left: .3rem; } .lp-lightbox__next { right: .3rem; } }
/* Full-Bleed-Sektionen brauchen einen randlosen Scroll-Container (nur LP-Seiten laden diese CSS).
   overflow-x: clip statt hidden -> kappt den Overhang, bricht aber kein position: sticky. */
html { overflow-x: clip; }
/* Benefits-Leiste (1:1 Legacy: full-bleed 45px-Trust-Bar, tight; Mobile Auto-Slider, Desktop 3 nebeneinander) */
.lp-section.lp-benefits { margin: -3rem calc(50% - 50vw) 0; }   /* -3rem zieht die Leiste bündig an den Hero (kappt dessen 48px mb, wie Legacy) + full-bleed links/rechts */
.lp-benefits { height: 45px; overflow: hidden; text-align: center;
  box-shadow: 0 2px 2px rgba(0,0,0,.1); padding-top: 11px; box-sizing: border-box; }   /* Schatten ueber volle Browser-Breite */
.lp-benefits__inner { display: flex; flex-flow: row nowrap; }
.lp-benefits__entry { display: flex; align-items: center; justify-content: center; flex: 0 0 100%; }
.lp-benefits__entry__icon { display: block; margin-right: 10px; line-height: 0; }
/* .es-page-Prefix: schlaegt www's `.index img { height:auto }` (gleiche Spezifitaet, laedt spaeter). */
.es-page .lp-benefits__entry__icon img { height: 21px; width: auto; }
.lp-benefits__entry__text { font-size: 12px; font-weight: 600; line-height: 1; padding-top: 4px; color: var(--es-ink); }
/* Mobile: Auto-Slider – jedes der 3 Items ~3s sichtbar, 9s-Loop (CSS-only, wie Legacy-Ticker) */
.lp-benefits__inner { animation: lp-benefits-rotate 9s infinite; }
@keyframes lp-benefits-rotate {
  0%, 29%      { transform: translateX(0); }
  33.33%, 62%  { transform: translateX(-100%); }
  66.66%, 95%  { transform: translateX(-200%); }
  100%         { transform: translateX(0); }
}
@media (min-width: 768px) {
  .lp-benefits__inner { justify-content: space-evenly; animation: none; transform: none; }
  .lp-benefits__entry { flex: 0 0 auto; }
  .lp-benefits__entry__text { padding-top: 0; }
}

/* HowTo (1:1 Legacy: Mobile Icon+Text abwechselnd, Desktop 3 Spalten zentriert) */
.lp-section.lp-howto { margin-top: -3rem; }   /* bündig an den vorausgehenden Banner (kappt dessen 48px mb, wie Legacy – der Innenabstand kommt aus dem 50px-Padding) */
.lp-howto { padding: 50px 20px 30px 30px; box-sizing: border-box; }
.lp-howto__step { display: flex; margin-bottom: 50px; gap: 35px; }
.lp-howto__step:last-child { margin-bottom: 0; }
.lp-howto__step:nth-child(even) { flex-direction: row-reverse; padding-right: 10px; }
.lp-howto__step:nth-child(even) .lp-howto__text p { padding-right: 0; }
.lp-howto__icon { display: flex; justify-content: center; align-items: center; flex-shrink: 0; width: 90px; height: 90px; }
.lp-howto__icon img { width: 100%; height: auto; }
.lp-howto__title { font-size: 18px; line-height: 22px; font-weight: 600; margin-bottom: 15px; color: var(--es-ink); }
.lp-howto__line { background: var(--es-accent); height: 3px; width: 100px; border: 0; margin: 0 0 25px; }
.lp-howto__text p { padding-right: 20px; font-size: 12px; font-weight: 400; line-height: 18px; text-align: justify; margin: 0; }
.lp-howto__cta { text-align: center; margin-top: 10px; }
.lp-howto__cta a { text-decoration: none; }
.lp-howto__cta button { background: var(--es-accent); color: #fff; border: 0; padding: 0 26px; height: 45px; line-height: 45px;
  border-radius: 40px; font-size: 14px; font-weight: 600; text-transform: uppercase; cursor: pointer; font-family: inherit; display: inline-block; }
@media (min-width: 768px) {
  .lp-howto { padding: 50px 20px 50px 30px; }
  .lp-howto__steps { display: flex; flex-direction: row; justify-content: space-evenly; gap: 20px; max-width: 1060px; margin: 0 auto; }
  .lp-howto__step, .lp-howto__step:nth-child(even) { flex-direction: column; align-items: center; gap: 60px; flex: 1 1 260px; max-width: 260px; padding-right: 0; margin-bottom: 0; }
  .lp-howto__icon { width: 150px; height: 150px; }
  .lp-howto__side { text-align: center; }
  .lp-howto__title { text-align: center; font-size: 24px; font-weight: 700; line-height: 29px; margin-bottom: 25px; }
  .lp-howto__line { margin: 0 auto 25px; }
  .lp-howto__text p { font-size: 14px; line-height: 21px; padding-right: 0; }
}
/* Reviews (1:1 Legacy/checkout: full-bleed grauer Streifen, Doppelslider – zwei gegenlaeufige
   Reihen, Auto-Marquee auf Desktop UND Mobile, ohne Bilder, groessere Schrift wie checkout) */
.lp-section.lp-reviews { margin: 3rem calc(50% - 50vw); width: auto; background: #f3f3f3;
  padding: 32px 0; overflow: hidden; }
.lp-reviews h2.lp-reviews__headline { font-size: 24px; font-weight: 700; color: var(--es-ink);
  text-align: left; max-width: 1240px; margin: 0 auto 24px; padding: 0 16px; box-sizing: border-box; }
.lp-reviews__lists { display: flex; flex-direction: column; gap: 15px; }
.lp-reviews__row { display: flex; align-items: stretch; width: max-content; will-change: transform; }
.lp-reviews__row--ltr { animation: lp-reviews-ltr 70s linear infinite; }
.lp-reviews__row--rtl { animation: lp-reviews-rtl 70s linear infinite; }
.lp-reviews__lists:hover .lp-reviews__row { animation-play-state: paused; }
@keyframes lp-reviews-ltr { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lp-reviews-rtl { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.lp-reviews__card { flex: 0 0 auto; width: 270px; box-sizing: border-box; margin-right: 15px;
  background: #fff; border-radius: 10px; padding: 19px; display: flex; flex-direction: column; }
.lp-reviews__name { font-size: 14px; font-weight: 600; color: var(--es-ink); margin-bottom: 8px; }
.lp-reviews__stars { position: relative; display: inline-block; color: #dcdcdc; font-size: 15px;
  letter-spacing: 2px; line-height: 1; margin-bottom: 12px; }
.lp-reviews__stars-fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap;
  color: #f5a623; width: calc(var(--val, 5) / 5 * 100%); }
.lp-reviews__text { font-size: 14px; font-weight: 400; line-height: 20px; color: var(--es-text); }
.lp-reviews__text p { margin: 0 0 8px; }
.lp-reviews__text p:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .lp-section.lp-reviews { padding: 64px 0; } }
.es-placeholder { background: var(--es-soft); border: 1px dashed #f0c4c7; border-radius: 12px;
  padding: .8rem 1rem; color: var(--es-muted); font-size: .9rem; }

/* Feature-Grid (Icon/Bild + Titel + Text) */
.lp-features { display: grid; gap: 2rem 1.5rem; margin: 1.5rem 0; }
.lp-features--cols-2 { grid-template-columns: repeat(2, 1fr); }
.lp-features--cols-3 { grid-template-columns: repeat(3, 1fr); }
.lp-features--cols-4 { grid-template-columns: repeat(4, 1fr); }
.lp-feature { text-align: center; }
.lp-feature__icon img { max-width: 90px; max-height: 90px; object-fit: contain; margin: 0 auto; }
.lp-feature__title { font-weight: 700; color: var(--es-ink); margin: .7rem 0 .35rem; }
.lp-feature__text { color: var(--es-text); font-size: .92rem; line-height: 1.6; }
@media (max-width: 640px) { .lp-features--cols-3, .lp-features--cols-4 { grid-template-columns: 1fr 1fr; } }

/* Abstand / Trennlinie-Block */
.lp-spacer { display: flex; align-items: center; justify-content: center; }
.lp-spacer--small { height: 1.5rem; }
.lp-spacer--medium { height: 3.5rem; }
.lp-spacer--large { height: 5.5rem; }
.lp-spacer--xl { height: 8rem; }
.lp-spacer__line { width: 100%; border: 0; border-top: 1px solid var(--es-line); margin: 0; }

/* Team-Grid (Foto + Name + Rolle) — Spalten via link_cards-columns (--cols/--cols-m) */
.lp-team { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 1.75rem 1.25rem; margin: 1.5rem 0; }
.lp-team--cols-2 { --cols: 2; } .lp-team--cols-3 { --cols: 3; } .lp-team--cols-4 { --cols: 4; }
.lp-team--cols-5 { --cols: 5; } .lp-team--cols-6 { --cols: 6; }
.lp-team--m-1 { --cols-m: 1; } .lp-team--m-2 { --cols-m: 2; } .lp-team--m-3 { --cols-m: 3; }
@media (max-width: 640px) { .lp-team { grid-template-columns: repeat(var(--cols-m, 2), 1fr); } }
.lp-team__member { text-align: center; }
.lp-team__photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; background: var(--es-soft); }
.lp-team__name { font-weight: 700; margin-top: .7rem; color: var(--es-ink); }
.lp-team__role { color: var(--es-muted); font-size: .9rem; }

/* Bild-Block + Embed (Pages→Landingpages) */
.lp-figure { margin: 0; }
.lp-figure img { width: 100%; border-radius: var(--es-radius); display: block; }
.lp-embed__video { position: relative; padding-top: 56.25%; border-radius: var(--es-radius); overflow: hidden; }
.lp-embed__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Geteilter Embed-Block (partials/embed_block) — Provider-aware */
.es-embed { margin: 1.5rem 0; }
.es-embed .es-embed__frame { position: relative; border-radius: var(--es-radius); overflow: hidden; }
.es-embed__frame--video { padding-top: 56.25%; }
.es-embed__frame--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.es-embed__frame--spotify iframe { width: 100%; height: 152px; border: 0; border-radius: var(--es-radius); }
.es-embed__frame--pinterest { display: flex; justify-content: center; }
.es-embed__frame--pinterest iframe { width: 345px; max-width: 100%; min-height: 440px; }
.es-embed .twitter-tweet, .es-embed .instagram-media, .es-embed .tiktok-embed { margin-left: auto !important; margin-right: auto !important; }
.es-embed--twitter, .es-embed--instagram, .es-embed--tiktok { display: flex; flex-direction: column; align-items: center; }
.es-embed__link { word-break: break-all; }

/* Zwei-Klick-Consent-Overlay (DSGVO) */
.es-embed-consent { position: relative; border: 1px solid var(--es-line); border-radius: var(--es-radius); background: #f5f5f5; overflow: hidden; }
.es-embed-consent--youtube, .es-embed-consent--vimeo { aspect-ratio: 16 / 9; }
.es-embed-consent__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 1.5rem; gap: .35rem; }
.es-embed-consent:not(.es-embed-consent--youtube):not(.es-embed-consent--vimeo) .es-embed-consent__overlay { position: static; min-height: 260px; }
.es-embed-consent__inner { max-width: 520px; }
.es-embed-consent__badge { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px rgba(0, 0, 0, .09); margin: 0 auto .9rem; }
.es-embed-consent__logo { display: block; width: 38px; height: 38px; object-fit: contain; }
.es-embed-consent__text { font-size: .9rem; line-height: 1.6; color: var(--es-text); margin: 0 0 .9rem; }
.es-embed-consent__text a { color: inherit; text-decoration: underline; }
.es-embed-consent__btn { appearance: none; cursor: pointer; border: 0; border-radius: var(--es-radius); background: var(--es-primary, #e2001a); color: #fff; font-weight: 700; font-size: .9rem; padding: .6rem 1.4rem; transition: opacity .15s ease; }
.es-embed-consent__btn:hover { opacity: .88; }
.es-embed-consent__always { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; font-size: .8rem; color: var(--es-muted); cursor: pointer; }
.es-embed-consent__always input { cursor: pointer; }
.es-embed-consent__footer { margin-top: .8rem; font-size: .8rem; }
.es-embed-consent__footer a { color: var(--es-muted); text-decoration: none; }
.es-embed-consent__footer a:hover { text-decoration: underline; }
.es-embed-consent.is-loaded { border: 0; background: none; }

/* ---------- Mag: Tags + Autorenbox ---------- */
.es-tags { margin: 2.5rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid var(--es-line); text-align: left; }
.es-tag { display: inline-block; background: var(--es-soft); color: var(--es-muted); border: 1px solid var(--es-line);
  border-radius: 999px; padding: .25rem .7rem; margin: .2rem .25rem .2rem 0; font-size: .82rem; font-weight: 600; }
.c-author { display: flex; gap: 1.25rem; align-items: flex-start;
  padding-top: 2rem; margin-top: 2rem; text-align: left; }
.c-author__avatar { width: 100px; height: 100px; border-radius: 50%; background: var(--es-accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 2rem; flex: 0 0 auto; }
.es-page .c-author__avatar-img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.c-author__name { font-size: 1.1rem; margin: 0 0 .3rem; font-weight: 700; }
.c-author__bio { color: var(--es-muted); font-size: .9rem; margin: 0 0 .4rem; }
.c-author__links { font-size: .85rem; margin: 0; }
.es-meta { color: var(--es-muted); font-size: .9rem; margin: 0 0 1.5rem; text-transform: uppercase; letter-spacing: .04em; }
.es-meta a { color: var(--es-muted); }
