/* Blogshorts: schlankes Glas-Theme (iOS-inspiriert). Kein Build-Schritt, keine externen Anfragen. */

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-roman.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --bg: #f2f2f7;
    --blob-1: #ffd3e6;
    --blob-2: #c9e0ff;
    --blob-3: #e1d8ff;
    --blob-4: #cdf3e3;
    --ink: #1c1c1e;
    --ink-2: #55555c;
    --glass: rgba(255, 255, 255, 0.58);
    --glass-strong: rgba(255, 255, 255, 0.75);
    --glass-edge: rgba(255, 255, 255, 0.8);
    --btn-bg: #1c1c1e;
    --btn-ink: #ffffff;
    --shadow: 0 10px 34px rgba(40, 40, 90, 0.10);
    --shadow-lg: 0 24px 64px rgba(30, 30, 60, 0.20);
    --overlay: rgba(24, 24, 28, 0.5);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
    .bs-logo { filter: invert(1) hue-rotate(180deg); }   /* das Logo hat dunkle Schrift für den hellen Hintergrund */
    :root {
        --bg: #0d0d12;
        --blob-1: #3a1c33;
        --blob-2: #172b4d;
        --blob-3: #2a2257;
        --blob-4: #123a30;
        --ink: #f5f5f7;
        --ink-2: #b0b0ba;
        --glass: rgba(44, 44, 52, 0.55);
        --glass-strong: rgba(60, 60, 70, 0.7);
        --glass-edge: rgba(255, 255, 255, 0.14);
        --btn-bg: #f5f5f7;
        --btn-ink: #1c1c1e;
        --shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
        --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
    }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(900px 620px at 6% -4%, var(--blob-1) 0%, transparent 62%),
        radial-gradient(820px 640px at 96% 8%, var(--blob-2) 0%, transparent 62%),
        radial-gradient(900px 700px at 55% 55%, var(--blob-3) 0%, transparent 62%),
        radial-gradient(800px 600px at 4% 92%, var(--blob-4) 0%, transparent 60%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 12px; }

.bs-sr {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.bs-skip {
    position: absolute; left: 16px; top: -64px; z-index: 100;
    padding: 12px 18px; border-radius: 16px; background: var(--btn-bg); color: var(--btn-ink);
}
.bs-skip:focus { top: 16px; }

.bs-muted { color: var(--ink-2); }

.bs-eyebrow {
    font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
}

/* Glas */
.bs-glass,
.bs-nav,
.bs-footer {
    background: var(--glass);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid var(--glass-edge);
    box-shadow: var(--shadow);
}

.bs-wrap {
    max-width: 1312px;
    margin: 0 auto;
    padding: 24px 24px 64px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.bs-main { display: flex; flex-direction: column; gap: 32px; min-width: 0; }

/* Buttons */
.bs-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 24px; border-radius: 28px; border: 1px solid transparent;
    font-size: 16px; font-weight: 600; cursor: pointer; text-align: center;
}
.bs-btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.bs-btn-ghost { background: var(--glass-strong); border-color: var(--glass-edge); color: var(--ink); }

.bs-icon-btn {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--glass-edge);
    background: var(--glass-strong); color: var(--ink); cursor: pointer;
}

/* Kopfzeile */
.bs-nav {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
    padding: 10px 12px 10px 14px; border-radius: 36px;
}
.bs-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.bs-logo { display: block; height: 56px; width: auto; max-width: min(240px, 58vw); }
.bs-footer-title { display: inline-block; }
.bs-footer-title .bs-logo { height: 48px; }
.bs-links { display: flex; flex-wrap: wrap; gap: 4px; }
.bs-link { padding: 11px 16px; border-radius: 22px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.bs-link:hover, .bs-link.is-current { color: var(--ink); background: var(--glass-strong); }
.bs-nav-cta { min-height: 44px; padding: 10px 20px; font-size: 15px; }

/* Hero */
.bs-hero {
    display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
    padding: 32px; border-radius: 44px; box-shadow: var(--shadow-lg);
}
.bs-hero-cover {
    position: relative; display: block; flex: 0 0 auto; width: 360px; max-width: 100%;
    aspect-ratio: 9 / 16; border-radius: 32px; overflow: hidden; background: #c9c9d6; box-shadow: var(--shadow-lg);
}
.bs-hero-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bs-play {
    position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
    border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.28); border: 1px solid rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
}
.bs-hero-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.bs-badge {
    padding: 8px 14px; border-radius: 18px; background: var(--btn-bg); color: var(--btn-ink);
    font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
}
.bs-hero-title { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; }
.bs-lead { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 560px; }
.bs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Blogs (Autoren) */
.bs-avatar {
    flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #fff;
}
.bs-avatar-empty { background: var(--glass-strong); border: 1px solid var(--glass-edge); }
.bs-avatar-sm { width: 32px; height: 32px; }
.bs-avatar-lg { width: 48px; height: 48px; }
.bs-avatar-xl { width: 64px; height: 64px; }
.bs-avatar-hero { width: 96px; height: 96px; }
.bs-meta-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
.bs-meta-text b { font-size: 16px; font-weight: 700; }
.bs-meta-text small { font-size: 13px; color: var(--ink-2); }
.bs-publisher-compact {
    display: flex; align-items: center; gap: 14px; padding: 8px 20px 8px 8px; border-radius: 34px;
    background: var(--glass-strong); border: 1px solid var(--glass-edge);
}

/* Abschnitt, Chips, Raster */
.bs-section { display: flex; flex-direction: column; gap: 20px; }
.bs-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.bs-section-head h2 { font-size: 30px; letter-spacing: -0.02em; font-weight: 700; }
.bs-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bs-chip {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 18px 6px 6px;
    border-radius: 24px; border: 1px solid var(--glass-edge); background: var(--glass); font-size: 15px; font-weight: 600;
    -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
}
.bs-chip-all { padding-left: 20px; }
.bs-chip.is-current { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }

.bs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.bs-card {
    position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden;
    background: #d8d8e0; box-shadow: var(--shadow-lg); transition: transform 0.25s ease;
}
.bs-card:hover { transform: translateY(-4px); }
.bs-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bs-card-empty { background: linear-gradient(160deg, var(--blob-1), var(--blob-2)); }
.bs-card-meta {
    position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 10px;
    padding: 8px 12px 8px 8px; border-radius: 24px; color: #fff; background: var(--overlay);
    -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.28);
}
.bs-card-meta .bs-meta-text { flex: 1 1 auto; }
.bs-card-meta b, .bs-card-meta small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-card-meta b { font-size: 13px; }
.bs-card-meta small { font-size: 12px; color: rgba(255, 255, 255, 0.88); }
.bs-arrow { display: none; }

.bs-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
.bs-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 56px 24px 60px; border-radius: 36px; text-align: center; color: var(--ink-2); }
.bs-empty-icon { display: flex; align-items: center; justify-content: center; width: 132px; height: 132px; margin-bottom: 8px; border-radius: 50%; background: var(--glass-strong); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-lg); }
.bs-empty-title { margin: 0; font-size: clamp(22px, 3vw, 28px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.bs-empty p { margin: 0; max-width: 420px; }

/* Short ansehen */
.bs-watch {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    grid-template-rows: repeat(14, auto);
    column-gap: 28px;
    align-items: start;
}
.bs-watch > * { grid-column: 2; margin-bottom: 20px; min-width: 0; }
.bs-body { display: contents; }
.bs-body > * { grid-column: 2; margin: 0 0 20px; min-width: 0; }

.bs-stage, .bs-body > .bs-player {
    grid-column: 1; grid-row: 1 / -1; margin: 0;
}
/* Bühne und Player bleiben beim Scrollen stehen (sticky) und wachsen nicht mit dem langen Text rechts mit.
   --sh = Höhe der Bühne (höchstens 780px, nie höher als der Bildschirm), der Player sitzt mittig darin. */
.bs-watch { --sh: min(780px, calc(100vh - 48px)); --pw: min(405px, calc((var(--sh) - 104px) * 0.5625)); --off: calc((var(--sh) - var(--pw) * 16 / 9) / 2); }
.bs-stage {
    position: sticky; top: 24px; align-self: start; overflow: hidden; border-radius: 44px; background: #c9c9d6;
    box-shadow: var(--shadow-lg); height: var(--sh); min-height: 560px;
}
.bs-stage::before {
    content: ""; position: absolute; inset: -60px; background: var(--poster, none) center / cover no-repeat, #c9c9d6;
    filter: blur(46px) saturate(1.3) brightness(0.9);
}
.bs-body > .bs-player {
    position: sticky; top: calc(24px + var(--off)); z-index: 1; align-self: start; justify-self: center;
    margin: var(--off) 0 0; width: var(--pw); aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden;
    background: #000; box-shadow: 0 30px 80px rgba(10, 10, 30, 0.45); border: 1px solid rgba(255, 255, 255, 0.35);
}
.bs-player video, .bs-player iframe, .bs-player img {
    position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover;
}

/* Einwilligung vor dem YouTube-Video */
.bs-player.is-gated video { visibility: hidden; }
.bs-consent { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 22px; text-align: center; color: #fff;
    background: linear-gradient(rgba(16, 16, 24, 0.62), rgba(16, 16, 24, 0.82)), var(--consent-poster, none) center / cover no-repeat, #1c1c22; }
.bs-consent::before { content: ""; position: absolute; inset: 0; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.bs-consent-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 320px; }
.bs-consent-title { font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; }
.bs-consent-text { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.bs-consent-links { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.bs-consent-links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; opacity: .9; }
.bs-consent-links a:hover { opacity: 1; }
.bs-consent .bs-btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
.bs-consent .bs-btn-primary { background: #fff; color: #1c1c1e; }
.bs-consent .bs-btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
@media (max-width: 400px) { .bs-consent { padding: 16px; } .bs-consent-text { font-size: 13px; } }

.bs-publisher {
    display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 14px; border-radius: 32px;
}
.bs-publisher-main { display: flex; align-items: center; gap: 16px; flex: 1 1 auto; min-width: 0; }
.bs-publisher .bs-meta-text b { font-size: 20px; letter-spacing: -0.01em; }
.bs-host { font-size: 14px; color: var(--ink-2); }

.bs-watch-head { display: flex; flex-direction: column; gap: 10px; padding: 8px 6px 0; }
.bs-title { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; overflow-wrap: anywhere; }

.bs-body > p {
    font-size: 17px; line-height: 1.55; color: var(--ink-2); padding: 0 6px; overflow-wrap: anywhere;
}
.bs-body > p a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

.bs-body .bs-source, .bs-body .bs-youtube {
    display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
    padding: 14px 24px; border-radius: 28px; font-size: 17px; font-weight: 600; text-align: center;
}
.bs-body .bs-source { background: var(--btn-bg); color: var(--btn-ink); box-shadow: var(--shadow); }
.bs-body .bs-youtube { background: var(--glass-strong); border: 1px solid var(--glass-edge); color: var(--ink); }

.bs-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 18px 20px; border-radius: 30px; }
.bs-share-url { flex: 1 1 200px; min-width: 0; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }

.bs-more { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 30px; }
.bs-more-item { display: flex; align-items: center; gap: 14px; padding: 6px; border-radius: 20px; font-size: 16px; font-weight: 600; line-height: 1.3; }
.bs-more-item img, .bs-more-empty { width: 54px; height: 96px; flex: 0 0 auto; border-radius: 14px; object-fit: cover; background: #d8d8e0; }

/* Autor-, Tag-, Seiten- und Fehlerseiten */
.bs-author { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 32px; border-radius: 40px; }
.bs-author-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.bs-page { padding: 40px; border-radius: 40px; display: flex; flex-direction: column; gap: 20px; max-width: 800px; width: 100%; margin: 0 auto; }
.bs-prose { font-size: 18px; line-height: 1.65; }
.bs-prose p, .bs-prose ul, .bs-prose ol { margin: 0 0 1em; }
.bs-prose a { text-decoration: underline; text-underline-offset: 3px; }
.bs-prose img { border-radius: 20px; }
.bs-prose .kg-width-wide { margin-left: -24px; margin-right: -24px; }
.bs-prose .kg-width-full { margin-left: -40px; margin-right: -40px; }
.bs-prose .kg-width-full img { border-radius: 0; }
.bs-page-image { width: 100%; border-radius: 28px; }
.bs-error { align-items: flex-start; }

/* Fuß */
.bs-footer {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px 28px; padding: 24px 32px; border-radius: 36px;
}
.bs-footer-brand { display: flex; flex-direction: column; gap: 6px; justify-self: start; font-size: 14px; }
.bs-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; justify-self: end; font-size: 14px; font-weight: 500; }
.bs-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; grid-column: 2; grid-row: 1; }
.bs-footer-brand { grid-column: 1; grid-row: 1; }
.bs-footer-links { grid-column: 3; grid-row: 1; }
.bs-social:not(:has(a)) { display: none; }
@media (max-width: 760px) {
    .bs-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .bs-footer-brand, .bs-social, .bs-footer-links { grid-column: 1; grid-row: auto; justify-self: center; justify-content: center; }
}
.bs-footer-desc { margin: -8px 0 0; text-align: center; font-size: 14px; }
.bs-social-link { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--glass-strong); border: 1px solid var(--glass-edge); color: var(--ink); transition: transform .2s ease; }
.bs-social-link:hover { transform: translateY(-3px); }

/* Schmale Bildschirme */
@media (max-width: 960px) {
    .bs-watch { display: flex; flex-direction: column; gap: 0; }
    .bs-watch > * { margin-bottom: 20px; }
    .bs-stage { display: none; }
    .bs-body { display: contents; }
    .bs-body > .bs-player { order: -1; position: relative; top: auto; margin: 0 0 20px; width: min(405px, 100%); align-self: center; justify-self: auto; }
    .bs-publisher { order: -1; }
    .bs-hero { padding: 20px; gap: 28px; border-radius: 36px; }
    .bs-hero-cover { width: 100%; max-width: 360px; margin: 0 auto; }
}

@media (max-width: 560px) {
    .bs-wrap { padding: 16px 16px 48px; gap: 24px; }
    .bs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .bs-card { border-radius: 22px; }
    .bs-card-meta { left: 6px; right: 6px; bottom: 6px; padding: 6px 8px 6px 6px; gap: 8px; }
    .bs-card-meta .bs-avatar { width: 28px; height: 28px; }
    .bs-card-meta .bs-arrow { display: none; }
    .bs-links { display: none; }
    .bs-author, .bs-page { padding: 24px; }
    .bs-section-head h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .bs-card { transition: none; }
    .bs-card:hover { transform: none; }
}

/* Übersichtsseite "Blogs" */
.bs-more-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 8px 4px; }
.bs-more-link:hover { color: var(--ink); }
.bs-blogs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.bs-blog { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 32px; overflow: hidden; }
.bs-blog-head { display: flex; align-items: center; gap: 16px; }
.bs-blog-name { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.bs-blog-name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bs-count { display: block; width: fit-content; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--glass-edge); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.bs-blog-bio { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Stapel: die neuesten Shorts wie das Cover Flow des alten iPod touch hintereinander im Raum.
   Mitte = vorn, links/rechts schräg gedreht und gestaffelt dahinter. Beim Überfahren öffnet sich die Reihe,
   eine überfahrene Karte hebt sich an ihrem Platz nach vorn. */
.bs-stack { --w: 168px; --h: 298px; position: relative; height: calc(var(--h) + 96px); margin: 0 -6px; padding-top: 14px; border-radius: 26px;
    perspective: 1100px; perspective-origin: 50% 38%;
    background: radial-gradient(ellipse 72% 55% at 50% 45%, var(--glass-strong), transparent 74%);
    --cx: 0%;   --cry: 0deg;  --cz: 90px;  --czi: 5; --cdim: 1;
    --l1x: -84%; --l1ry: 56deg; --l1z: -30px; --l1zi: 3; --l1dim: .9;
    --l2x: -112%; --l2ry: 56deg; --l2z: -120px; --l2zi: 1; --l2dim: .78;
    --r1x: 84%;  --r1ry: -56deg; --r1z: -30px; --r1zi: 3; --r1dim: .9;
    --r2x: 112%; --r2ry: -56deg; --r2z: -120px; --r2zi: 1; --r2dim: .78;
    transition: none; }
.bs-stack:hover { --l1x: -94%; --r1x: 94%; --l2x: -126%; --r2x: 126%; }
.bs-stack-item { --x: var(--cx); --ry: var(--cry); --z: var(--cz); --dim: var(--cdim); z-index: var(--czi); position: absolute; top: 14px; left: 50%; width: var(--w); height: var(--h); margin-left: calc(var(--w) / -2); border-radius: 18px; filter: brightness(var(--dim));
    backface-visibility: hidden;
    transform: translateX(var(--x)) translateZ(var(--z)) rotateY(var(--ry));
    transition: transform .7s cubic-bezier(.22, 1, .36, 1), filter .5s ease; will-change: transform; }
.bs-stack-face { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: #d8d8e0; box-shadow: 0 0 0 1px var(--glass-edge), 0 16px 34px rgba(30, 30, 60, 0.26); transition: box-shadow .5s ease; }
.bs-stack-mirror { position: absolute; left: 0; right: 0; top: calc(100% + 3px); height: 100%; border-radius: 18px; overflow: hidden; transform: scaleY(-1); pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 68%, rgba(0, 0, 0, 0.3)); mask-image: linear-gradient(to bottom, transparent 68%, rgba(0, 0, 0, 0.3)); }
.bs-stack-mirror img, .bs-stack-mirror .bs-card-empty { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #d8d8e0; }
.bs-stack-face img, .bs-stack-face .bs-card-empty { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bs-stack-face::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(100deg, rgba(255, 255, 255, 0.22), transparent 38%); opacity: .7; pointer-events: none; }
/* Grundordnung (neuester Short in der Mitte, Nr. 2 links, Nr. 3 rechts) */
.bs-stack-item:nth-child(2) { --x: var(--l1x); --ry: var(--l1ry); --z: var(--l1z); --dim: var(--l1dim); z-index: var(--l1zi); }
.bs-stack-item:nth-child(3) { --x: var(--r1x); --ry: var(--r1ry); --z: var(--r1z); --dim: var(--r1dim); z-index: var(--r1zi); }
/* Überfahrene Karte bleibt an ihrem Platz, hebt sich nach vorn und richtet sich ein Stück auf (kein Umsortieren: das ließ die Karte unter der Maus wegwandern) */
.bs-stack-item:hover, .bs-stack-item:focus-visible { z-index: 6; --dim: 1; }
.bs-stack-item:nth-child(1):hover { --z: 100px; }
.bs-stack-item:nth-child(2):hover { --z: 40px; --ry: 38deg; --x: calc(var(--l1x) - 2%); }
.bs-stack-item:nth-child(3):hover { --z: 40px; --ry: -38deg; --x: calc(var(--r1x) + 2%); }
.bs-stack-item:hover .bs-stack-face { box-shadow: 0 0 0 1px var(--glass-edge), 0 26px 46px rgba(30, 30, 60, 0.34); }
.bs-stack-item:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.bs-stack[data-count="2"] .bs-stack-item:nth-child(2) { --l1x: -80%; }
.bs-blog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
@media (max-width: 760px) { .bs-blogs { grid-template-columns: 1fr; } .bs-blog { padding: 22px; } }
@media (max-width: 560px) { .bs-stack { --w: 150px; --h: 267px; --l1x: -66%; --r1x: 66%; --l2x: -86%; --r2x: 86%; } .bs-stack:hover { --l1x: -72%; --r1x: 72%; --l2x: -92%; --r2x: 92%; } }
@media (max-width: 400px) { .bs-stack { --w: 132px; --h: 235px; } }
@media (prefers-reduced-motion: reduce) { .bs-stack-item { transition: none; } }
