/* LALALO Stories: Uebersicht (Masonry per CSS-Spalten), Detailseite, Produktseite */
.lalalo-stories-page .page-main { max-width: 1200px; }
.ls-h1 { font-size: 2rem; font-weight: 600; margin: 0 0 .4rem; }
.ls-h1__filter { color: #3e9bf7; font-weight: 400; }
.ls-h2 { font-size: 1.3rem; font-weight: 600; margin: 0 0 .6rem; }
.ls-intro { color: #555; margin: 0 0 1.2rem; }
.ls-intro p { margin: 0 0 .5rem; }
.ls-text-unten { max-width: 820px; margin: 2.5rem auto 1rem; line-height: 1.6; color: #444; }
.ls-text-unten p { margin: 0 0 .9rem; }
.ls-kopf { margin: 1rem 0 .5rem; }
.ls-breadcrumb { font-size: .85rem; color: #777; margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.ls-breadcrumb a { color: #777; } .ls-breadcrumb b { font-weight: 500; color: #333; }
.ls-seiten { text-align: center; margin: 1rem 0 2rem; }

/* Filter */
.ls-filter { margin: 0 0 1.2rem; }
.ls-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .7rem; }
/* Handy: eine wischbare Zeile statt 30 Chips untereinander */
@media (max-width: 639px) {
    .ls-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -16px .7rem; padding: 0 16px; }
    .ls-chips::-webkit-scrollbar { display: none; }
    .ls-chip { flex: 0 0 auto; }
    .ls-selects { gap: .4rem; }
    .ls-select { flex: 1 1 45%; max-width: none; }
    .ls-h1 { font-size: 1.5rem; }
}
.ls-chip { display: inline-block; padding: .35rem .8rem; border: 1px solid #d6d6d6; border-radius: 999px; color: #333; font-size: .9rem; text-decoration: none; background: #fff; line-height: 1.3; }
.ls-chip small { color: #888; margin-left: .2rem; }
.ls-chip:hover { border-color: #3e9bf7; color: #3e9bf7; text-decoration: none; }
.ls-chip--aktiv, .ls-chip--aktiv:hover { background: #3e9bf7; border-color: #3e9bf7; color: #fff; }
.ls-chip--aktiv small { color: rgba(255,255,255,.8); }
.ls-selects { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.ls-select { max-width: 260px; }
.ls-reset { font-size: .9rem; }
.ls-leer { color: #777; padding: 2rem 0; }
.ls-neu { display: block; margin: 0 auto 1rem; padding: .5rem 1rem; border: 1px solid #3e9bf7; background: #fff; color: #3e9bf7; border-radius: 999px; cursor: pointer; font: inherit; }
.ls-neu:hover { background: #3e9bf7; color: #fff; }

/* Raster */
.ls-grid { column-count: 2; column-gap: 12px; }
@media (min-width: 640px)  { .ls-grid { column-count: 3; } }
@media (min-width: 1024px) { .ls-grid { column-count: 4; column-gap: 16px; } }
.ls-grid--klein { column-count: 2; }
@media (min-width: 640px)  { .ls-grid--klein { column-count: 4; } }
@media (min-width: 1024px) { .ls-grid--klein { column-count: 6; } }
.ls-tile { display: block; break-inside: avoid; margin: 0 0 12px; text-decoration: none; color: inherit; }
.ls-tile:hover { text-decoration: none; }
.ls-tile__media { display: block; position: relative; overflow: hidden; border-radius: 10px; background: #f2f2f2; }
.ls-tile__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.ls-tile:hover .ls-tile__media img { transform: scale(1.03); }
.ls-tile__titel { display: block; font-size: .82rem; color: #444; margin: .35rem .2rem 0; line-height: 1.3; }
.ls-tile__play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(0,0,0,.55); }
.ls-tile__play::after { content: ''; position: absolute; left: 20px; top: 15px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.ls-tile__dauer { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: .75rem; padding: 2px 6px; border-radius: 4px; }
.ls-mehr { height: 1px; }

/* Detailseite */
.ls-zurueck { margin: .5rem 0 1rem; font-size: .9rem; }
.ls-view { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .ls-view { grid-template-columns: 7fr 5fr; gap: 2.5rem; } }
.ls-view__bild, .ls-view__video { display: block; width: 100%; height: auto; border-radius: 12px; background: #f2f2f2; }
.ls-view__kurz { margin: .6rem .2rem 0; color: #666; font-size: .9rem; }
.ls-view__story { font-size: 1.05rem; line-height: 1.6; margin: 0 0 1.5rem; }
.ls-produkte { margin: 0 0 1.5rem; }
.ls-produkt { display: flex; align-items: center; gap: .8rem; padding: .6rem; border: 1px solid #e3e3e3; border-radius: 10px; margin-bottom: .6rem; text-decoration: none; color: inherit; }
.ls-produkt:hover { border-color: #3e9bf7; text-decoration: none; }
.ls-produkt img { width: 64px; height: 64px; object-fit: contain; border-radius: 6px; background: #fafafa; }
.ls-produkt__name { flex: 1; font-size: .95rem; line-height: 1.3; }
.ls-produkt__hinweis { color: #999; font-size: .82rem; white-space: nowrap; }
.ls-produkt--offline, .ls-produkt--ausverkauft { opacity: .75; }
.ls-viewer__produkt i { color: #aaa; font-style: normal; font-size: .8rem; white-space: nowrap; }
.ls-produkt__cta { background: #3e9bf7; color: #fff; padding: .45rem .9rem; border-radius: 6px; font-size: .85rem; white-space: nowrap; }
.ls-buttons__gruppe { margin-bottom: .6rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.ls-buttons__label { font-size: .8rem; color: #888; margin-right: .2rem; min-width: 60px; }
.ls-button { display: inline-block; padding: .35rem .8rem; border: 1px solid #3e9bf7; border-radius: 999px; color: #3e9bf7; font-size: .88rem; text-decoration: none; }
.ls-button:hover { background: #3e9bf7; color: #fff; text-decoration: none; }
.ls-weitere { margin-top: 2.5rem; }

/* Aus dem Magazin */
.ls-magazin { margin: 2.5rem 0 1rem; }
.ls-h2__sub { font-weight: 400; color: #777; font-size: .95rem; }
.ls-magazin__reihe { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
@media (max-width: 639px) { .ls-magazin__reihe { grid-template-columns: 1fr 1fr; gap: 10px; } }
.ls-magazin__alle { margin: .8rem 0 0; }
.ls-magazin__karte { display: block; border: 1px solid #e3e3e3; border-radius: 10px; overflow: hidden; color: inherit; text-decoration: none; background: #fff; }
.ls-magazin__karte:hover { border-color: #3e9bf7; text-decoration: none; }
.ls-magazin__karte img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #f2f2f2; }
.ls-magazin__titel { display: block; padding: .7rem .8rem .2rem; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.ls-magazin__mehr { display: block; padding: 0 .8rem .7rem; color: #3e9bf7; font-size: .85rem; }

/* Produktseite: wischbare Reihen */
.ls-produktseite { margin: 2rem 0; }
.ls-produktseite .ls-h2 { margin-top: 1.4rem; }
.ls-reihe { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 2px 0 10px; scrollbar-width: thin; }
.ls-reihe .ls-tile { flex: 0 0 calc((100% - 5 * 12px) / 6); min-width: 150px; scroll-snap-align: start; margin: 0; }
@media (max-width: 639px) { .ls-reihe .ls-tile { flex-basis: 44%; min-width: 0; } }
.ls-reihe .ls-tile__media { aspect-ratio: 1 / 1 !important; }   /* in der Reihe quadratisch, damit die Zeile ruhig bleibt */
.ls-produktseite__links { display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 0; }

/* Detailseite: Pfeile */
.ls-zurueck { display: flex; justify-content: space-between; align-items: center; gap: 1rem; grid-column: 1 / -1; }   /* ueber beide Spalten, sonst rutscht das Foto nach rechts */
.ls-nav__pfeil { margin-left: .8rem; white-space: nowrap; }

/* Viewer (Vollbild, Wischen) */
html.ls-viewer-offen, html.ls-viewer-offen body { overflow: hidden; }
.ls-viewer { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.92); display: none; flex-direction: column; color: #fff; }
.ls-viewer--offen { display: flex; }
.ls-viewer__medien { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 48px 8px 8px; }
.ls-viewer__medien img, .ls-viewer__medien video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; background: #111; }
.ls-viewer__text { flex: 0 0 auto; padding: 10px 14px 14px; background: #111; max-height: 42vh; overflow-y: auto; }
.ls-viewer__titel { font-weight: 600; font-size: 1rem; margin-bottom: .2rem; }
.ls-viewer__kurz { color: #bbb; font-size: .85rem; margin-bottom: .6rem; }
.ls-viewer__produkt { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; margin-bottom: .4rem; border-radius: 8px; background: #1e1e1e; color: #fff; text-decoration: none; }
.ls-viewer__produkt:hover { background: #2a2a2a; color: #fff; text-decoration: none; }
.ls-viewer__produkt img { width: 44px; height: 44px; object-fit: contain; border-radius: 4px; background: #fff; }
.ls-viewer__produkt span { flex: 1; font-size: .85rem; line-height: 1.25; }
.ls-viewer__produkt b { background: #3e9bf7; color: #fff; font-weight: 600; padding: .35rem .7rem; border-radius: 6px; font-size: .8rem; white-space: nowrap; }
.ls-viewer__mehr { display: inline-block; margin-top: .2rem; color: #9cc9ff; font-size: .85rem; }
.ls-viewer__zu { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 26px; line-height: 40px; cursor: pointer; z-index: 2; }
.ls-viewer__pfeil { position: absolute; top: 50%; margin-top: -24px; width: 44px; height: 48px; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 32px; line-height: 48px; cursor: pointer; z-index: 2; display: none; }
.ls-viewer__pfeil--links { left: 8px; border-radius: 8px; }
.ls-viewer__pfeil--rechts { right: 8px; border-radius: 8px; }
@media (min-width: 900px) {
    .ls-viewer { flex-direction: row; }
    .ls-viewer__medien { padding: 24px 70px; }
    .ls-viewer__text { flex: 0 0 360px; max-height: none; padding: 60px 24px 24px; }
    .ls-viewer__pfeil { display: block; }
    .ls-viewer__titel { font-size: 1.15rem; }
}
@media (hover: none) { .ls-viewer__pfeil { display: none !important; } }   /* Touch: nur Wischen */
