/* naumenko-multimedia.de – Komponenten auf Basis von tokens.css.
   Grundregeln gelten nur fuer body.nm (neue Seiten). Header, Footer und
   Bausteine mit Praefix site-/nm- koennen auch auf alten Case-Seiten laufen. */

/* ---------- Basis ---------- */
:where(body.nm),
:where(body.nm) *,
:where(body.nm) *::before,
:where(body.nm) *::after {
    box-sizing: border-box;
}

body.nm {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

:where(body.nm) :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd) {
    margin: 0;
}

:where(body.nm) :where(ul, ol)[role="list"],
:where(body.nm) .plain-list {
    list-style: none;
    padding: 0;
}

:where(body.nm) img,
:where(body.nm) video,
:where(body.nm) svg {
    display: block;
    max-width: 100%;
}

:where(body.nm) img,
:where(body.nm) video {
    height: auto;
}

:where(body.nm) a {
    color: inherit;
    text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
    text-underline-offset: .2em;
}

:where(body.nm) a:hover {
    text-decoration-color: currentColor;
}

:where(body.nm) :where(h1, h2, h3, h4) {
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-wrap: balance;
}

:where(body.nm) :where(p) {
    text-wrap: pretty;
}

:where(body.nm) :focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 200;
    padding: .5rem 1rem;
    border-radius: var(--radius);
    background: var(--brand);
    color: var(--on-brand) !important;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* Bild je Farbschema */
[data-theme="dark"] .only-light,
:root:not([data-theme="dark"]) .only-dark {
    display: none !important;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
    font-family: var(--font-sans);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 4rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    color: var(--text) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: .9375rem;
    letter-spacing: .04em;
    white-space: nowrap;
}

.site-logo img {
    width: 2rem;
    height: 2rem;
}

.site-logo b {
    color: var(--brand);
    font-weight: 600;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin-left: auto;
}

.site-nav a {
    padding: .5rem .75rem;
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: .9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .15s, background-color .15s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--text);
    background: var(--bg-subtle);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.site-menu-btn {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

/* Theme-Umschalter: drei feste Buttons */
.site-theme {
    display: inline-flex;
    padding: 2px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
}

.site-theme button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    height: 1.75rem;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}

.site-theme button svg {
    width: 1rem;
    height: 1rem;
}

.site-theme button:hover {
    color: var(--text);
}

.site-theme button[aria-checked="true"] {
    background: var(--bg-subtle);
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--line);
}

@media (max-width: 52rem) {
    .site-menu-btn {
        display: inline-flex;
    }

    .site-header__inner {
        gap: .75rem;
    }

    .site-header__actions {
        margin-left: auto;
    }

    .site-header__actions .btn {
        display: none;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: .5rem var(--gutter) 1rem;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        display: none;
    }

    .site-header.is-open .site-nav {
        display: flex;
    }

    .site-nav a {
        padding: .75rem .5rem;
        font-size: 1rem;
    }

    .site-nav .site-nav__cta {
        display: block;
        margin-top: .5rem;
        text-align: center;
        background: var(--brand);
        color: var(--on-brand);
    }
}

@media (min-width: 52.01rem) {
    .site-nav .site-nav__cta {
        display: none;
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 2.5rem;
    padding: .5rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text) !important;
    font: inherit;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}

.btn:hover {
    border-color: var(--text-muted);
}

.btn--primary {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--on-brand) !important;
}

.btn--primary:hover {
    background: var(--brand-strong);
    border-color: var(--brand-strong);
}

.btn--lg {
    min-height: 3rem;
    padding: .75rem 1.25rem;
    font-size: 1rem;
}

.btn svg {
    width: 1rem;
    height: 1rem;
    flex: none;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    color: var(--brand) !important;
    font-weight: 600;
    text-decoration: none !important;
}

.link-arrow::after {
    content: '→';
    transition: transform .2s var(--ease);
}

.link-arrow:hover::after {
    transform: translateX(3px);
}

/* ---------- Abschnitte ---------- */
.section {
    padding-block: var(--section-y);
}

.section--subtle {
    background: var(--bg-subtle);
    border-block: 1px solid var(--line);
}

.section-head {
    max-width: 42rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.375rem);
}

.section-head p {
    margin-top: .875rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.eyebrow {
    display: block;
    margin-bottom: .75rem;
    color: var(--brand);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
    padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    letter-spacing: -.03em;
}

.hero__lead {
    margin-top: 1.25rem;
    max-width: 34rem;
    color: var(--text-muted);
    font-size: 1.1875rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--text-muted);
    font-size: .9375rem;
}

.trust strong {
    color: var(--text);
    font-weight: 600;
}

.trust span[aria-hidden] {
    color: var(--line-strong);
}

@media (max-width: 56rem) {
    .hero__grid {
        grid-template-columns: 1fr;
    }
}

/* Screenshot im Browserrahmen */
.frame {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.frame__bar {
    display: flex;
    align-items: center;
    gap: .375rem;
    height: 2rem;
    padding-inline: .75rem;
    border-bottom: 1px solid var(--line);
    background: var(--bg-subtle);
}

.frame__bar i {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--line-strong);
}

.frame__bar span {
    margin-left: .5rem;
    color: var(--text-muted);
    font-size: .75rem;
}

.frame img {
    width: 100%;
}

.frame-caption {
    margin-top: .75rem;
    color: var(--text-muted);
    font-size: .875rem;
}

/* ---------- Karten ---------- */
.grid {
    display: grid;
    gap: 1.25rem;
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 60rem) {
    .grid--3 {
        grid-template-columns: 1fr;
    }
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color .2s;
}

.card:has(a.card__link:hover),
a.card:hover {
    border-color: var(--brand);
}

.card h3 {
    font-size: 1.25rem;
    letter-spacing: -.01em;
}

.card p {
    color: var(--text-muted);
}

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    background: var(--brand-soft);
    color: var(--brand);
}

.card__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.card__list {
    display: grid;
    gap: .375rem;
    margin: .25rem 0 0;
    padding: 0;
    list-style: none;
    font-size: .9375rem;
}

.card__list li {
    position: relative;
    padding-left: 1.125rem;
}

.card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .65em;
    width: .375rem;
    height: .375rem;
    border-radius: 50%;
    background: var(--brand);
}

.card__foot {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: .9375rem;
}

/* ganze Karte klickbar, Link bleibt das Ziel */
.card__link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    color: var(--text-muted);
    font-size: .875rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    height: 1.5rem;
    padding: 0 .5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.badge--brand {
    border-color: color-mix(in srgb, var(--brand) 35%, transparent);
    background: var(--brand-soft);
    color: var(--brand);
}

.result {
    display: flex;
    gap: .5rem;
    color: var(--text) !important;
    font-size: .9375rem;
    font-weight: 500;
}

.result::before {
    content: '';
    flex: none;
    width: 3px;
    border-radius: 2px;
    background: var(--brand);
}

/* ---------- Produkt (brandbill) ---------- */
.product {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.product__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: clamp(1.5rem, 4vw, 2.75rem);
}

.product__name {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    font-size: 1.875rem;
    font-weight: 600;
    letter-spacing: -.02em;
}

.product__name svg {
    width: 2rem;
    height: 2rem;
    color: var(--text);
}

.product__name .accent,
.bb-accent {
    color: var(--brand);
}

.product__body > p {
    color: var(--text-muted);
    font-size: 1.0625rem;
}

.product__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: auto;
    padding-top: .5rem;
}

.product__media {
    display: flex;
    align-items: flex-end;
    padding: clamp(1.25rem, 3vw, 2rem) 0 0 clamp(1.25rem, 3vw, 2rem);
    background: var(--bg-subtle);
    border-left: 1px solid var(--line);
}

.product__media .frame {
    width: 100%;
    border-right: 0;
    border-bottom: 0;
    border-radius: var(--radius) 0 0 0;
}

@media (max-width: 56rem) {
    .product {
        grid-template-columns: 1fr;
    }

    .product__media {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

/* ---------- Cases ---------- */
.case-card {
    overflow: hidden;
    padding: 0;
    gap: 0;
}

.case-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--bg-subtle);
}

.case-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.case-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .75rem;
    padding: 1.25rem 1.5rem 1.5rem;
}

.case-card__body .link-arrow {
    margin-top: auto;
    padding-top: .5rem;
}

/* ---------- Arbeitsweise ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    counter-reset: step;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    padding-top: 1.25rem;
    border-top: 2px solid var(--line);
}

.steps li:first-child {
    border-top-color: var(--brand);
}

.steps__num {
    display: block;
    margin-bottom: .75rem;
    color: var(--brand);
    font-family: var(--font-mono);
    font-size: .875rem;
    font-weight: 600;
}

.steps h3 {
    font-size: 1.25rem;
}

.steps p {
    margin-top: .5rem;
    color: var(--text-muted);
}

@media (max-width: 52rem) {
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ---------- Über mich ---------- */
.about {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.about__photo {
    width: clamp(6rem, 14vw, 9rem);
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-subtle);
}

.about__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.375rem);
}

.about p {
    margin-top: 1rem;
    max-width: 44rem;
    color: var(--text-muted);
    font-size: 1.0625rem;
}

.about p strong {
    color: var(--text);
    font-weight: 600;
}

.facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, max-content));
    gap: 1rem 2.5rem;
    margin-top: 1.75rem;
    padding: 0;
    list-style: none;
}

.facts strong {
    display: block;
    color: var(--text);
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -.01em;
}

.facts span {
    color: var(--text-muted);
    font-size: .875rem;
}

@media (max-width: 40rem) {
    .about {
        grid-template-columns: 1fr;
    }

    .facts {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- FAQ ---------- */
.faq {
    max-width: 48rem;
    border-top: 1px solid var(--line);
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 0;
    font-size: 1.0625rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    flex: none;
    color: var(--text-muted);
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1;
}

.faq details[open] summary::after {
    content: '−';
}

.faq details p {
    padding-bottom: 1.25rem;
    max-width: 42rem;
    color: var(--text-muted);
}

/* ---------- Kontakt ---------- */
.contact {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 4rem);
}

.contact__direct {
    display: grid;
    gap: .75rem;
    margin-top: 2rem;
    padding: 0;
    list-style: none;
}

.contact__direct a {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
}

.contact__direct a:hover {
    color: var(--brand);
}

.contact__direct svg {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--text-muted);
}

.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.form__field {
    display: grid;
    gap: .375rem;
}

.form__field--full {
    grid-column: 1 / -1;
}

.form label {
    font-size: .875rem;
    font-weight: 600;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: .625rem .75rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    font: inherit;
    font-size: 1rem;
    transition: border-color .15s, box-shadow .15s;
}

.form select {
    appearance: none;
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238893a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
}

.form textarea {
    min-height: 8.5rem;
    resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent);
}

.form .is-invalid {
    border-color: #D93025;
}

.form__error {
    display: none;
    color: #D93025;
    font-size: .8125rem;
}

.is-invalid + .form__error {
    display: block;
}

.form__hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form__foot {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.form__note {
    color: var(--text-muted);
    font-size: .8125rem;
}

.form__status {
    grid-column: 1 / -1;
    display: none;
    padding: .75rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: .9375rem;
}

.form__status.is-success {
    display: block;
    border-color: color-mix(in srgb, #1E8E3E 40%, transparent);
    background: color-mix(in srgb, #1E8E3E 8%, transparent);
}

.form__status.is-error {
    display: block;
    border-color: color-mix(in srgb, #D93025 40%, transparent);
    background: color-mix(in srgb, #D93025 8%, transparent);
}

.nm-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: nm-spin .7s linear infinite;
}

.nm-spinner[hidden] {
    display: none;
}

@keyframes nm-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 52rem) {
    .contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 36rem) {
    .form {
        grid-template-columns: 1fr;
    }
}

/* ---------- Showroom ---------- */
.page-head {
    padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2rem);
}

.page-head h1 {
    font-size: clamp(2.25rem, 4.5vw, 3rem);
    letter-spacing: -.03em;
}

.page-head p {
    margin-top: 1rem;
    max-width: 40rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.crumb {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: .875rem;
}

.crumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.crumb a:hover {
    color: var(--text);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    height: 2.25rem;
    padding: 0 .875rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--text-muted) !important;
    font: inherit;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
}

.chip:hover {
    color: var(--text) !important;
    border-color: var(--text-muted);
}

.chip[aria-pressed="true"],
.chip[aria-current="true"] {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand) !important;
}

.chip small {
    color: inherit;
    font-size: .75rem;
    font-weight: 500;
    opacity: .7;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.tiles > [hidden] {
    display: none;
}

@media (max-width: 48rem) {
    .tiles {
        grid-template-columns: 1fr;
    }
}

.tile__kpi {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    padding: .75rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-subtle);
    font-size: .875rem;
    color: var(--text-muted);
}

.tile__kpi strong {
    color: var(--text);
    font-size: 1.125rem;
    font-weight: 600;
}

.empty-note {
    padding: 2rem;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    color: var(--text-muted);
    text-align: center;
}

/* Archivliste */
.archive {
    border-top: 1px solid var(--line);
}

.archive li {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.archive time {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .875rem;
}

.archive h3 {
    font-size: 1.0625rem;
}

.archive p {
    margin-top: .25rem;
    color: var(--text-muted);
    font-size: .9375rem;
}

@media (max-width: 36rem) {
    .archive li {
        grid-template-columns: 1fr;
        gap: .25rem;
    }
}

/* Video erst beim Klick laden */
.video-lazy {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #000;
    cursor: pointer;
    aspect-ratio: 16 / 9;
}

.video-lazy img,
.video-lazy video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-lazy__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, .05));
}

.video-lazy__play span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .625rem 1rem;
    border-radius: var(--radius);
    background: rgba(0, 0, 0, .6);
}

/* Naechster Case */
.next-case {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text) !important;
    text-decoration: none !important;
    font-family: var(--font-sans);
}

.next-case:hover {
    border-color: var(--brand);
}

.next-case small {
    display: block;
    color: var(--text-muted);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.next-case strong {
    font-size: 1.25rem;
    font-weight: 600;
}

.next-case span[aria-hidden] {
    color: var(--brand);
    font-size: 1.5rem;
}

/* ---------- Rechtstexte ---------- */
.prose {
    max-width: 46rem;
    padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section-y);
}

.prose h1 {
    margin-bottom: 2rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-transform: none !important;
}

.prose h2 {
    margin: 2.5rem 0 .75rem;
    font-size: 1.375rem;
    text-transform: none !important;
}

.prose h3 {
    margin: 1.75rem 0 .5rem;
    font-size: 1.125rem;
    text-transform: none !important;
}

.prose h4 {
    margin: 1.25rem 0 .5rem;
    font-size: 1rem;
}

.prose p,
.prose ul,
.prose ol {
    margin: 0 0 1rem;
    color: var(--text-muted);
}

.prose ul,
.prose ol {
    padding-left: 1.25rem;
}

.prose li {
    margin-bottom: .375rem;
}

.prose a {
    color: var(--brand);
    word-break: break-word;
}

.prose strong {
    color: var(--text);
}

/* ---------- Footer ---------- */
.site-footer {
    padding-inline: 0;
    padding-block: 3rem 2rem;
    border-top: 1px solid var(--line);
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: .9375rem;
}

.site-footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--text);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
}

.site-footer h2 {
    margin-bottom: .75rem;
    color: var(--text);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.site-footer ul {
    display: grid;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer address {
    font-style: normal;
    line-height: 1.7;
}

.site-footer__claim {
    max-width: 18rem;
    margin-top: .75rem;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: .875rem;
}

@media (max-width: 52rem) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 30rem) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

html:has(body.nm) {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

/* Case-Seiten: Video erst nach Klick laden (Overlay-Player) */
.video-gate {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
    font-family: var(--font-sans);
}

.video-gate img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .85;
}

.video-gate__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.125rem;
    border-radius: var(--radius);
    background: rgba(0, 0, 0, .88);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.video-gate__btn small {
    font-weight: 400;
    opacity: .75;
}

.video-gate:hover .video-gate__btn {
    background: var(--brand);
    color: var(--on-brand);
}

@media (max-width: 26rem) {
    .site-header .site-logo span {
        display: none;
    }
}

/* Theme-Umschalter klappt zusammen wie bei brandbill: nur das aktive Symbol,
   Klick klappt auf, nach Auswahl oder kurzer Zeit wieder zu (theme.js). */
.site-theme button {
    transition: width .25s var(--ease), opacity .2s, padding .25s;
}

.site-theme:not(.is-expanded) button[aria-checked="false"] {
    width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.site-theme:not(.is-expanded) button[aria-checked="true"] {
    background: transparent;
    box-shadow: none;
    color: var(--text);
}

.site-theme {
    gap: 0;
}

/* Header auf dem Handy: mehr Luft am Rand, nichts darf ueberstehen */
@media (max-width: 52rem) {
    .site-header__inner {
        padding-inline: max(1.25rem, var(--gutter));
    }

    .site-header__actions {
        gap: .5rem;
        flex: none;
    }

    .site-logo {
        min-width: 0;
    }
}

.site-theme {
    height: 2.5rem;
    align-items: center;
    padding: 0 3px;
}

.site-theme button {
    height: 2rem;
}

/* Header-Buttons einheitlich 2.5rem, auch der zugeklappte Umschalter */
.site-menu-btn {
    width: 2.5rem;
    height: 2.5rem;
}

.site-theme:not(.is-expanded) {
    width: 2.5rem;
    justify-content: center;
    padding: 0;
}

.site-theme:not(.is-expanded) button[aria-checked="true"] {
    width: 2.5rem;
    height: 2.5rem;
}

@media (max-width: 36rem) {
    .form__foot .btn {
        width: 100%;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__grid > div:first-child,
    .site-footer__grid > div:last-child {
        grid-column: 1 / -1;
    }
}

/* "Naechster Case" am Ende der Case-Seiten */
.next-case-wrap {
    width: 100%;
    max-width: var(--container);
    margin: clamp(2rem, 5vw, 3rem) auto clamp(3rem, 7vw, 5rem);
    padding-inline: var(--gutter);
}

/* Showroom-Filter mobil in einer Zeile, notfalls seitlich wischbar */
@media (max-width: 36rem) {
    .chips {
        flex-wrap: nowrap;
        gap: .375rem;
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .chips::-webkit-scrollbar {
        display: none;
    }

    .chip {
        flex: none;
        height: 2.125rem;
        padding: 0 .75rem;
        font-size: .8125rem;
    }

    .chip small {
        display: none;
    }
}

/* Konami-Code: kurzer Hinweis unten, Akzentfarbe wechselt kurz */
.nm-toast {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 400;
    max-width: min(30rem, calc(100% - 2rem));
    padding: .875rem 1.125rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: .9375rem;
    transform: translate(-50%, 150%);
    transition: transform .4s var(--ease);
}

.nm-toast.is-in {
    transform: translate(-50%, 0);
}

.nm-toast a {
    color: var(--brand);
}

.nm-konami {
    --brand: #8B5CF6;
    --brand-strong: #7C3AED;
    --brand-soft: color-mix(in srgb, #8B5CF6 14%, transparent);
}

/* brandbill-Schriftzug in seiner Standard-Akzentfarbe (Blau) */
.product__name .accent,
.bb-accent,
.bb-wordmark > span,
.bb-mark .bb-accent {
    color: var(--bb-brand) !important;
}

/* Header-CTA ruhig wie die übrigen Header-Buttons, Akzent erst beim Hover */
.site-header__actions .btn--primary {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--text-primary) !important;
}

.site-header__actions .btn--primary:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--on-brand) !important;
}
