/* ============================================================
   Marco Neumann — main stylesheet
   Single-file CSS, no build step.

   Every color, font-size, spacing, radius lives as a custom
   property on :root so it can be retuned centrally.
   ============================================================ */

/* ---- Webfonts (self-hosted, no CDN) ---- */
@font-face {
    font-family: "Quicksand";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/quicksand-v37-latin-regular.woff2") format("woff2");
}
@font-face {
    font-family: "Quicksand";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/fonts/quicksand-v37-latin-700.woff2") format("woff2");
}

/* ---- Design tokens ---- */
:root {
    color-scheme: dark;

    /* Surfaces — Cool Slate (dark) */
    --color-bg:        #232830;  /* page background (BG mittel) */
    --color-surface:   #2C323B;  /* cards, elevated surfaces (BG hoch) */
    --color-bg-deep:   #181B20;  /* input fields, deepest level */
    --color-fg:        #E3E7EE;
    --color-fg-muted:  #9EA7B4;
    --color-border:    #383F49;

    /* Accent — Pure Lemon (primary actions, focus, "you are here") */
    --color-accent:       #FFCB57;
    --color-accent-fg:    #1F1808;
    --color-accent-hover: #F5BE3E;

    /* Secondary — Royal Blue (links, info, secondary cover/badges) */
    --color-secondary:       #5BB0F2;
    --color-secondary-hover: #82C2F6;

    /* Status */
    --color-error:        #E26565;
    --color-error-bg:     color-mix(in srgb, var(--color-error) 18%, transparent);
    --color-success:      #7BC58A;
    --color-success-bg:   color-mix(in srgb, var(--color-success) 18%, transparent);

    /* Type */
    --font-sans: "Quicksand", -apple-system, BlinkMacSystemFont,
                 "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;

    --fs-xs:  clamp(0.78rem, 0.74rem + 0.2vw, 0.86rem);
    --fs-sm:  clamp(0.88rem, 0.84rem + 0.2vw, 0.96rem);
    --fs-md:  clamp(1.00rem, 0.96rem + 0.25vw, 1.12rem);
    --fs-lg:  clamp(1.15rem, 1.08rem + 0.4vw, 1.32rem);
    --fs-xl:  clamp(1.40rem, 1.25rem + 0.8vw, 1.75rem);
    --fs-2xl: clamp(1.80rem, 1.55rem + 1.2vw, 2.40rem);
    --fs-3xl: clamp(2.30rem, 1.95rem + 1.8vw, 3.40rem);

    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4.5rem;
    --space-9: 6rem;

    /* Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;

    /* Layout */
    --container-w:        72rem;
    --container-narrow-w: 44rem;
    --container-pad:      clamp(1rem, 4vw, 2rem);

    /* Motion */
    --motion-fast: 120ms;
    --motion-med:  200ms;

    /* Z-index */
    --z-nav:      40;
    --z-overlay:  90;
    --z-modal:    100;
}

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

html, body { margin: 0; padding: 0; }

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

body {
    background: var(--color-bg);
    color: var(--color-fg);
    font-family: var(--font-sans);
    font-size: var(--fs-md);
    line-height: 1.55;
    min-height: 100vh;
}

img, svg, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}
/* Keep audio separate — `height: auto` collapses native UA controls to 0. */
audio {
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
a:hover { color: var(--color-secondary-hover); }

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

h1, h2, h3, h4 {
    margin: 0 0 var(--space-4);
    line-height: 1.2;
    font-weight: 700;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: clamp(1.50rem, 1.30rem + 0.9vw, 2.00rem); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

* + h2 { margin-top: var(--space-7); }
* + h3 { margin-top: var(--space-6); }

p { margin: 0 0 var(--space-4); }
.lead { font-size: var(--fs-lg); color: var(--color-fg-muted); }

/* ---- Layout primitives ---- */
.container {
    width: 100%;
    max-width: var(--container-w);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}
.container.narrow { max-width: var(--container-narrow-w); }

.section {
    padding-block: var(--space-8);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-4);
    background: var(--color-fg);
    color: var(--color-bg);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    z-index: var(--z-modal);
}
.skip-link:focus { top: var(--space-4); }

/* ---- Header / nav ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-nav);
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    min-height: 64px;
    padding-block: var(--space-3);
}

.site-header__brand {
    font-weight: 700;
    font-size: var(--fs-lg);
    color: var(--color-fg);
    text-decoration: none;
    margin-right: auto;
}

.site-nav__list {
    display: flex;
    gap: var(--space-5);
    list-style: none;
    margin: 0; padding: 0;
}
.site-nav a {
    color: var(--color-fg);
    text-decoration: none;
    font-weight: 500;
}
.site-nav a[aria-current="page"] {
    color: var(--color-accent);
}

/* ---- Mobile nav ---- */
.nav-toggle {
    display: none;
    appearance: none;
    background: transparent;
    border: 0;
    padding: var(--space-2);
    cursor: pointer;
}
.nav-toggle__box {
    display: inline-grid;
    gap: 4px;
    width: 26px;
}
.nav-toggle__bar {
    display: block;
    height: 2px;
    background: var(--color-fg);
    border-radius: 1px;
}

.nav-backdrop, .mobile-nav { display: none; }

@media (max-width: 960px) {
    .site-nav { display: none; }
    .nav-toggle { display: inline-flex; }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: var(--z-overlay);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--motion-med);
    }
    .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

    .mobile-nav {
        display: block;
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: min(80vw, 320px);
        background: var(--color-bg);
        z-index: calc(var(--z-overlay) + 1);
        transform: translateX(100%);
        transition: transform var(--motion-med);
        padding: var(--space-7) var(--space-5);
        overflow-y: auto;
    }
    .mobile-nav.is-open { transform: translateX(0); }
    .mobile-nav__list {
        list-style: none;
        margin: 0; padding: 0;
        display: grid;
        gap: var(--space-4);
    }
    .mobile-nav a {
        color: var(--color-fg);
        text-decoration: none;
        font-size: var(--fs-lg);
    }
    .mobile-nav a[aria-current="page"] { color: var(--color-accent); }

    body.is-nav-open { overflow: hidden; }
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--motion-fast), color var(--motion-fast), border-color var(--motion-fast);
}
.btn--primary {
    background: var(--color-accent);
    color: var(--color-accent-fg);
}
.btn--primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-accent-fg);
}
.btn--secondary {
    background: transparent;
    color: var(--color-fg);
    border-color: var(--color-fg-muted);
}
.btn--secondary:hover {
    background: var(--color-surface);
    color: var(--color-fg);
    border-color: var(--color-fg);
}
.btn[disabled], .btn--disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---- Forms ---- */
.form-row { margin-bottom: var(--space-5); }
.form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-2);
}
.form-row__optional {
    color: var(--color-fg-muted);
    font-weight: 400;
}
.form-row input,
.form-row textarea {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg-deep);
    color: var(--color-fg);
    font: inherit;
}
.form-row textarea {
    resize: none;
}
.form-row input[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
    border-color: var(--color-error);
}
.form-row__error {
    margin-top: var(--space-2);
    color: var(--color-error);
    font-size: var(--fs-sm);
}
.form-success {
    background: var(--color-success-bg);
    border: 1px solid var(--color-success);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    margin-bottom: var(--space-5);
}
.form-success__title {
    margin-top: 0;
    color: var(--color-success);
}
.form-error {
    background: var(--color-error-bg);
    border: 1px solid var(--color-error);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin-bottom: var(--space-5);
    color: var(--color-error);
}

/* Honeypot — visually hidden but still in the layout for bots. */
.newsletter__honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---- Footer ---- */
.site-footer {
    margin-top: var(--space-9);
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding-block: var(--space-7) var(--space-5);
}
.site-footer__grid {
    display: grid;
    gap: var(--space-6);
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.site-footer__brand {
    font-weight: 700;
    margin-bottom: var(--space-2);
}
.site-footer__brand a {
    color: var(--color-fg);
    text-decoration: none;
}
.site-footer__brand a:hover { text-decoration: underline; }
.site-footer__tagline {
    color: var(--color-fg-muted);
    margin: 0;
}
.site-footer__heading {
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-3);
    color: var(--color-fg-muted);
}
.site-footer__list {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    gap: var(--space-2);
}
.site-footer__list a {
    color: var(--color-fg);
    text-decoration: none;
}
.site-footer__list a:hover { text-decoration: underline; }
.site-footer__bottom {
    margin-top: var(--space-6);
    font-size: var(--fs-sm);
    color: var(--color-fg-muted);
}

/* ---- Utility ---- */
.muted { color: var(--color-fg-muted); }

/* ---- Inline SVG icons (Material Symbols, self-hosted) ---- */
.icon {
    display: inline-block;
    flex: none;
    fill: currentColor;
    vertical-align: middle;
}

/* ---- Section variants ---- */
.section--surface {
    background: var(--color-surface);
}
.section--tight {
    padding-block: var(--space-6);
}
.section__title {
    margin-bottom: var(--space-5);
}
.section__title--sm {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-3);
}

/* ---- Hero ----
   min-height + flex-center gives every hero a consistent size regardless
   of how much title/lead/CTA content sits in it. Padding stays small —
   min-height is doing the visual work. */
.hero {
    --hero-img: url('/assets/img/hero.webp');
    display: flex;
    align-items: center;
    min-height: clamp(364px, 41.6vw, 546px);
    padding-block: clamp(var(--space-5), 5vw, var(--space-7));
    background:
        linear-gradient(to right,
            color-mix(in srgb, var(--color-bg) 75%, transparent) 0%,
            color-mix(in srgb, var(--color-bg) 50%, transparent) 55%,
            color-mix(in srgb, var(--color-bg) 25%, transparent) 100%),
        var(--hero-img) 70% 50% / cover no-repeat,
        var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}
@media (max-width: 720px) {
    .hero {
        background:
            linear-gradient(to bottom,
                color-mix(in srgb, var(--color-bg) 65%, transparent) 0%,
                color-mix(in srgb, var(--color-bg) 80%, transparent) 100%),
            var(--hero-img) 70% 50% / cover no-repeat,
            var(--color-bg);
    }
}
.hero__title {
    /* Steeper fluid scale than the global h1: at ~400px CSS viewport
       (iPhone 16 Pro and similar) the three category words must each fit
       on one line. Lower bound 1.85rem ≈ 29.6px keeps small phones safe. */
    font-size: clamp(1.85rem, 1.3rem + 2.5vw, 3.40rem);
    max-width: 22ch;
    margin-bottom: var(--space-5);
    line-height: 1.35;
}
.hero__lead {
    max-width: 60ch;
    font-size: var(--fs-lg);
    color: var(--color-fg);
    margin-bottom: var(--space-6);
}
.hero__title,
.hero__lead {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 1),
        0 3px 12px rgba(0, 0, 0, 1);
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin: 0;
}
.hero__demo {
    margin-top: var(--space-3);
    max-width: 320px;
    text-align: center;
}
.hero__demo-label {
    margin: 0 0 var(--space-2);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-fg);
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 1),
        0 3px 12px rgba(0, 0, 0, 1);
}
.hero__demo audio {
    width: 100%;
    max-width: 320px;
    /* drop-shadow on a solid filled shape reads much stronger than text-shadow
       on thin glyphs at the same values — dial alpha + blur down so the player
       sits in roughly the same visual depth as the headline text above it. */
    filter:
        drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45))
        drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

/* ---- Category cards ---- */
.category-grid {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-block: var(--space-5) var(--space-6);
}
.category-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-6);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-fg);
    text-decoration: none;
    transition: border-color var(--motion-fast), background var(--motion-fast);
}
.category-card:hover {
    border-color: var(--color-accent);
    color: var(--color-fg);
}
.category-card__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-accent);
    margin-bottom: var(--space-1);
    align-self: center;
}
.category-card__icon {
    width: 44px;
    height: 44px;
}
.category-card__title {
    margin: 0;
    font-size: var(--fs-xl);
    text-align: center;
}
.category-card__desc {
    margin: 0;
    color: var(--color-fg-muted);
    flex-grow: 1;
}
.category-card__cta {
    color: var(--color-accent);
    font-weight: 600;
    text-align: center;
    font-size: var(--fs-sm);
}

/* ---- Sprecher page ---- */
.sprecher-portrait {
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto var(--space-6);
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-border);
    background: #000;
}
.sprecher-page h2 {
    margin-top: var(--space-7);
}
.sprecher-page h1 + .lead {
    margin-bottom: var(--space-6);
}
.sprecher-page .pullquote {
    margin-block: var(--space-6);
}
.sprecher-page audio {
    display: block;
    width: 100%;
    margin-top: var(--space-4);
}

/* ---- Pullquote (used on Sprecher page) ---- */
.pullquote {
    position: relative;
    margin: var(--space-3) 0;
    padding: var(--space-2) var(--space-3) var(--space-2) calc(var(--space-3) + 2.5rem);
    border-left: 3px solid var(--color-accent);
    background: var(--color-surface);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--color-fg);
}
.pullquote::before {
    content: "\201C";
    position: absolute;
    top: -0.25em;
    left: 0.4rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--color-accent);
    font-style: normal;
    pointer-events: none;
}
.pullquote p { margin: 0; }
.pullquote p + p { margin-top: var(--space-1); }

/* ---- About Marco (home) ---- */
.about-marco {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    flex-wrap: wrap;
}
.about-marco__portrait {
    flex: 0 0 auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-border);
    background: #000;
}
.about-marco__text {
    flex: 1 1 16rem;
    min-width: 0;
}
.about-marco__text > p:first-child { margin-top: 0; }
.about-marco__text > p:last-child { margin-bottom: 0; }
@media (max-width: 480px) {
    .about-marco { justify-content: center; }
    .about-marco__portrait { width: 140px; height: 140px; }
}

/* ---- FAQ (native details/summary) ---- */
.faq__item {
    border-top: 1px solid var(--color-border);
    padding-block: var(--space-4);
}
.faq__item:last-of-type {
    border-bottom: 1px solid var(--color-border);
}
.faq__item > summary {
    cursor: pointer;
    font-weight: 600;
    font-size: var(--fs-lg);
    list-style: none;
    padding-right: var(--space-5);
    position: relative;
}
.faq__item > summary::-webkit-details-marker {
    display: none;
}
.faq__item > summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: var(--fs-xl);
    color: var(--color-accent);
    transition: transform var(--motion-fast);
}
.faq__item[open] > summary::after {
    content: "–";
}
.faq__item > p {
    margin: var(--space-3) 0 0;
    color: var(--color-fg-muted);
}

/* ---- Product grid + cards (catalog listings, bundle contents) ----
   Covers are designed 16:9 — the container locks the aspect ratio so non-16:9
   covers letterbox rather than crop (object-fit: contain). */
.product-grid {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    margin-block: var(--space-5);
}
.product-grid--inset {
    margin-top: var(--space-4);
}
.product-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--motion-med), border-color var(--motion-fast);
}
.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent);
}
.product-card__link {
    display: block;
    color: var(--color-fg);
    text-decoration: none;
}
.product-card__link:hover,
.product-card__link:focus-visible {
    color: var(--color-fg);
    text-decoration: none;
}
.product-card__cover {
    aspect-ratio: 16 / 9;
    width: 100%;
    background: var(--color-bg-deep);
    overflow: hidden;
}
.product-card__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--color-bg-deep);
}
.product-card__body {
    padding: var(--space-4) var(--space-5) var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.product-card__title {
    margin: 0;
    font-size: var(--fs-lg);
}
.product-card__subtitle {
    margin: 0;
    color: var(--color-fg-muted);
    font-size: var(--fs-sm);
}
.product-card__meta {
    margin: var(--space-2) 0 0;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}
.product-card__price {
    color: var(--color-accent);
    font-weight: 600;
}
.product-pill {
    display: inline-block;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75em;
    background: var(--color-bg-deep);
    color: var(--color-fg-muted);
}
.product-pill--bundle,
.product-pill--bundle-only {
    /* Solid, prominent — but with the same "label, not interactive" feel
       as the green Exklusiv badge. Dark text + an icon to differentiate
       semantically from the yellow filter-chip states. */
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    color: var(--color-bg-deep);
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    font-size: 0.78em;
    letter-spacing: 0.02em;
}
.product-pill--bundle {
    background: var(--color-error);
}
.product-pill--bundle-only {
    background: var(--color-secondary);
}
.product-pill__icon {
    display: inline-flex;
    align-items: center;
}
.product-pill__icon .icon {
    width: 1.05em;
    height: 1.05em;
}
.product-pill--exclusive {
    /* Green like the newsletter-success notice — distinct from the yellow
       accent that signals an interactive / selected filter-chip state, so
       the badge reads as "label" rather than "click me to toggle". */
    background: var(--color-success);
    color: var(--color-bg-deep);
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    font-size: 0.78em;
    letter-spacing: 0.02em;
}
.product-pill--exclusive > span[aria-hidden] {
    margin-right: 0.15em;
}

/* ---- Tag filter chips (category listings) ----
   Multi-select: every chip toggles its own slug in ?tags=a,b,c. Inactive
   chips reserve the same trailing icon slot as active ones so toggling
   doesn't reflow the row. */
.tag-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin: var(--space-5) 0 var(--space-3);
}
.tag-filter__legend {
    color: var(--color-fg-muted);
    font-size: var(--fs-sm);
}
.tag-filter__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}
.tag-filter__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.55rem 0.22rem 0.7rem;
    border-radius: 999px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-fg);
    font-size: var(--fs-xs);
    text-decoration: none;
    transition: background var(--motion-fast), color var(--motion-fast), border-color var(--motion-fast);
}
.tag-filter__chip:hover,
.tag-filter__chip:focus-visible {
    border-color: var(--color-accent);
    color: var(--color-fg);
    text-decoration: none;
}
.tag-filter__chip[aria-current="true"] {
    background: var(--color-accent);
    color: var(--color-accent-fg);
    border-color: var(--color-accent);
    font-weight: 600;
}
.tag-filter__chip--all {
    /* "Alle" has no removable state, so no icon slot to balance against. */
    padding-right: 0.7rem;
}
.tag-filter__label {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
}
.tag-filter__count {
    opacity: 0.7;
    font-size: 0.9em;
}
/* Trailing icon slot — always reserved so width stays stable across states.
   Visible only on the active chip; the inactive chip keeps the same slot
   width via the empty span. */
.tag-filter__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.05em;
    height: 1.05em;
    visibility: hidden;
}
.tag-filter__chip[aria-current="true"] .tag-filter__remove {
    visibility: visible;
}
.tag-filter__remove .icon {
    width: 100%;
    height: 100%;
    opacity: 0.85;
}
.tag-filter__chip[aria-current="true"]:hover .tag-filter__remove .icon {
    opacity: 1;
}

/* "Mehr anzeigen" — centered under the product grid. */
.catalog-more {
    text-align: center;
    margin-top: var(--space-5);
}

/* ---- Product detail page ---- */
.product-detail__back {
    margin: 0 0 var(--space-4);
    color: var(--color-fg-muted);
}
.product-detail {
    margin-block: var(--space-4) var(--space-6);
}
.product-detail__cover {
    aspect-ratio: 16 / 9;
    width: 100%;
    background: var(--color-bg-deep);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-5);
}
.product-detail__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--color-bg-deep);
}
.product-detail__title {
    margin: 0;
}
.product-detail__subtitle {
    color: var(--color-fg-muted);
    font-size: var(--fs-lg);
    margin: var(--space-2) 0 0;
}
.product-detail__pills {
    margin-block: var(--space-3);
}
.product-detail__desc {
    margin-block: var(--space-5);
}
.product-detail__facts {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: var(--space-2) var(--space-5);
    margin-block: var(--space-4);
}
.product-detail__facts dt {
    color: var(--color-fg-muted);
}
.product-detail__facts dd {
    margin: 0;
}
.product-detail__bundle-intro {
    margin: var(--space-5) 0 var(--space-2);
    color: var(--color-fg-muted);
}
.product-detail__buy {
    margin-block: var(--space-5) var(--space-2);
}
.product-detail__license-note {
    margin-block: 0 var(--space-5);
    font-size: var(--fs-sm);
    color: var(--color-fg-muted);
}
.product-detail__license-note a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}
.product-detail__license-note a:hover,
.product-detail__license-note a:focus-visible {
    color: var(--color-accent);
}
.product-detail__bundle-list {
    margin-block: var(--space-3);
    padding-left: var(--space-5);
}
.product-detail__heading {
    margin-top: var(--space-6);
    font-size: var(--fs-xl);
}
.btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---- Shop pitch (category pages: USP row + soft YouTube link) ----
   Sits between the intro paragraph and the product grid. Icons live in
   includes/icons.php as inline SVG (self-hosted Material Icons). */
.shop-pitch {
    margin: var(--space-5) 0 var(--space-6);
    padding: var(--space-5);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}
.shop-pitch__usps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}
@media (min-width: 760px) {
    .shop-pitch__usps {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-5);
    }
    .shop-pitch__usps--four {
        grid-template-columns: repeat(2, 1fr);
    }
}
.shop-pitch__usps > li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-3);
    align-items: start;
    margin: 0;
}
.shop-pitch__icon {
    color: var(--color-accent);
    line-height: 0;
}
.shop-pitch__icon svg {
    display: block;
    width: 28px;
    height: 28px;
}
.shop-pitch__usp-head {
    display: block;
    font-weight: 700;
    margin-bottom: 0.2em;
}
.shop-pitch__usp-text {
    color: var(--color-fg-muted);
    font-size: var(--fs-sm);
    line-height: 1.45;
}
.shop-pitch__channel {
    margin: var(--space-5) 0 0;
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
    font-size: var(--fs-sm);
    color: var(--color-fg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
}
.shop-pitch__channel-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #000;
    flex-shrink: 0;
}
