/*
 * Globale Basis-Styles für alle öffentlichen Seiten (auch die WordPress-exakten Templates,
 * die site.css nicht laden): Skip-Link, Fokus, Kontrast, Überlaufschutz.
 */

.skip-link {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #fff;
    color: #0f0e13;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-200%);
    transition: transform 0.15s ease-in-out;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid #fca5a5;
    outline-offset: 2px;
}

main:focus {
    outline: none;
}

/* Sichtbarer Tastaturfokus für alle interaktiven Elemente, auch ohne .focus-ring. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 3px solid #ff6161;
    outline-offset: 2px;
}

/* Markenrot als Textfarbe auf dunklem Grund erreicht nur 3,6:1; hellere Variante erfüllt WCAG AA (>= 4,5:1). */
.text-primary {
    color: rgb(255 97 97);
}

.text-primary\/80,
.text-primary\/60 {
    color: rgb(255 97 97 / 90%);
}

/* Lange Wörter (z. B. „MITGLIEDSCHAFT“ in der Pixelschrift) dürfen die Seite nicht verbreitern. */
h1,
h2,
h3,
h4 {
    overflow-wrap: break-word;
    hyphens: auto;
}

@media (max-width: 639px) {
    /* Pixelschrift nur noch im Community-Block der Startseite */
    h2.crt-flicker {
        font-size: min(1.875rem, 6.2vw);
        line-height: 1.2;
    }

    h1.text-5xl {
        font-size: min(3rem, 10vw);
        line-height: 1.1;
    }
}

/* Desktop-Dropdown: überbrückt die Lücke zum Menüpunkt, damit der Hover auf dem Weg nach unten nicht abreißt. */
.nav-dropdown::before { content: ''; position: absolute; right: 0; bottom: 100%; left: 0; height: calc(.25rem + 1px); }
/* Touch: Sticky-Hover darf ein per Tippen geschlossenes Dropdown nicht offen halten. */
.nav-item.is-dismissed .nav-dropdown { opacity: 0; visibility: hidden; }
/* Per Klick, Tippen oder Tastatur geöffnet; Menüpunkte mit eigenem Link öffnen beim Fokus per Tastatur. */
.nav-item.is-open .nav-dropdown,
.nav-item > a:focus-visible + .nav-dropdown,
.nav-item > .nav-dropdown:focus-within { opacity: 1; visibility: visible; }

/* Mobiles Hauptmenü: Slide-in-Panel von rechts (nur < lg). */
.mm-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: .75rem; background: transparent; cursor: pointer; transition: background-color .2s ease; }
.mm-toggle:hover { background: rgb(255 255 255 / 6%); }
.mm-root { position: fixed; inset: 0; z-index: 1100; visibility: hidden; pointer-events: none; transition: visibility 0s linear .3s; }
.mm-root[hidden] { display: block; }
.mm-root.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mm-backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / 65%); opacity: 0; transition: opacity .3s ease; }
.mm-root.is-open .mm-backdrop { opacity: 1; }
.mm-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(88vw, 24rem); background: #17161d; border-left: 1px solid rgb(255 255 255 / 10%); border-radius: 1.25rem 0 0 1.25rem; box-shadow: -12px 0 32px rgb(0 0 0 / 50%); transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); overflow: hidden; }
.mm-root.is-open .mm-panel { transform: none; }
.mm-panel__head { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; padding: .75rem 1rem .75rem 1.25rem; border-bottom: 1px solid rgb(255 255 255 / 8%); }
.mm-panel__logo img { display: block; width: auto; height: 2.5rem; }
.mm-close { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: .75rem; background: rgb(255 255 255 / 6%); color: #fff; cursor: pointer; transition: background-color .2s ease; }
.mm-close:hover { background: #df2020; }
.mm-nav { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: .5rem .75rem; }
.mm-list, .mm-sub__list { margin: 0; padding: 0; list-style: none; }
.mm-item { margin: .15rem 0; border-radius: .75rem; }
.mm-row { display: flex; align-items: stretch; }
.mm-link { display: flex; flex: 1 1 auto; align-items: center; gap: .85rem; min-height: 3.25rem; padding: .6rem .9rem; border: 0; border-radius: .75rem; background: transparent; color: #fff; font: inherit; font-size: 1.05rem; font-weight: 700; line-height: 1.3; text-align: left; text-decoration: none; cursor: pointer; transition: background-color .2s ease; }
.mm-link:hover, .mm-link:focus-visible { background: rgb(255 255 255 / 7%); }
.mm-link[aria-current="page"] { background: rgb(223 32 32 / 16%); box-shadow: inset 3px 0 0 #df2020; }
.mm-item.is-active > .mm-row > .mm-link:not([aria-current]) { box-shadow: inset 3px 0 0 #df2020; }
.mm-link__icon { flex: 0 0 auto; width: 1.5rem; height: 1.5rem; object-fit: contain; }
.mm-link--button .mm-chevron, .mm-expand i { margin-left: auto; font-size: .8rem; color: rgb(255 255 255 / 55%); transition: transform .25s ease; }
.mm-expand { flex: 0 0 3.25rem; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: .75rem; background: transparent; cursor: pointer; }
.mm-expand i { margin: 0; }
.mm-expand:hover { background: rgb(255 255 255 / 7%); }
[aria-expanded="true"] > .mm-chevron, .mm-expand[aria-expanded="true"] i { transform: rotate(180deg); color: #df2020; }
.mm-heading { display: block; padding: 1rem .9rem .35rem; color: rgb(255 255 255 / 55%); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mm-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.mm-sub > .mm-sub__list { overflow: hidden; min-height: 0; }
.mm-sub > .mm-sub__list { visibility: hidden; transition: visibility 0s linear .28s; }
.mm-item.is-open .mm-sub { grid-template-rows: 1fr; }
.mm-item.is-open .mm-sub > .mm-sub__list { visibility: visible; transition-delay: 0s; }
.mm-sub__list { margin-left: 1.55rem !important; padding-left: .5rem !important; border-left: 1px solid rgb(255 255 255 / 12%); }
.mm-link--child { min-height: 2.9rem; font-size: .98rem; font-weight: 500; color: rgb(255 255 255 / 85%); }
.mm-actions { flex: 0 0 auto; display: grid; gap: .65rem; padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid rgb(255 255 255 / 8%); background: #121116; }
.mm-actions__row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .65rem; }
.mm-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; padding: .5rem 1rem; border: 2px solid transparent; border-radius: .75rem; color: #fff; font-size: .95rem; font-weight: 700; text-decoration: none; transition: background-color .2s ease, border-color .2s ease; }
.mm-btn--primary { background: #df2020; }
.mm-btn--primary:hover { background: #c01a1a; }
.mm-btn--ghost { border-color: rgb(255 255 255 / 18%); background: rgb(255 255 255 / 4%); }
.mm-btn--ghost:hover { border-color: rgb(255 255 255 / 35%); }
.mm-register { color: rgb(255 255 255 / 65%); font-size: .85rem; text-align: center; text-decoration: none; }
.mm-register strong { color: #fff; }
.mm-socials { display: flex; justify-content: center; gap: .6rem; margin: .25rem 0 0; padding: 0; list-style: none; }
.mm-socials a { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 999px; background: rgb(255 255 255 / 6%); color: #df2020; font-size: 1.1rem; transition: background-color .2s ease, color .2s ease; }
.mm-socials a:hover { background: #df2020; color: #fff; }
.mm-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .4rem; border-radius: 999px; background: #df2020; color: #fff; font-size: .75rem; font-weight: 700; }
.mm-btn--ghost .mm-badge { position: absolute; top: -.45rem; right: -.35rem; }
body.mm-locked { overflow: hidden; }
@media (min-width: 1024px) { .mm-root, .mm-toggle { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mm-root, .mm-backdrop, .mm-panel, .mm-sub, .mm-expand i, .mm-chevron { transition: none !important; } }

.consent-banner__panel,
.consent-banner__copy,
.consent-banner__actions {
    min-width: 0;
    max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Fehlerseiten (404, 403, 419, 429, 500, 503) */
.error-page {
    display: flex;
    min-height: 60vh;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    text-align: center;
}

.error-page__inner {
    max-width: 40rem;
}

.error-page__code {
    margin: 0 0 1rem;
    color: #df2020;
    font-family: Nintendoid1, monospace;
    font-size: clamp(3rem, 14vw, 6rem);
    line-height: 1;
}

.error-page__title {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: 700;
}

.error-page__text {
    margin: 0 0 2rem;
    color: #d4d4d8;
    line-height: 1.6;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.error-page__button {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    padding: 0.65rem 1.25rem;
    border: 1px solid #3b3a47;
    border-radius: 0.6rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.error-page__button--primary {
    border-color: transparent;
    background: #df2020;
}

/* Shop (template-shop.php): zentrierte Kartenreihen mit fester Kartenbreite wie in WordPress. */
.bign-shop-centered-products > * {
    flex: 0 1 20rem;
    max-width: 100%;
}

/* Produkttitel brechen wie in WordPress an Leerzeichen, nicht per Silbentrennung. */
.entry-title {
    hyphens: manual;
}

/*
 * Ergänzende Tailwind-Utilities, die das aus WordPress übernommene theme/css/tailwind.css nicht enthält
 * (dort sind nur im WordPress-Theme verwendete Klassen kompiliert). Werte wie Tailwind 3.4.
 */
.mt-5 { margin-top: 1.25rem; }
.pt-5 { padding-top: 1.25rem; }
.space-y-0\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: .125rem; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: .25rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: .75rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.font-normal { font-weight: 400; }
.leading-5 { line-height: 1.25rem; }
.min-w-5 { min-width: 1.25rem; }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }
.underline { text-decoration-line: underline; }
.underline-offset-4 { text-underline-offset: 4px; }
.decoration-white\/20 { text-decoration-color: rgba(255, 255, 255, .2); }
.bg-black\/20 { background-color: rgba(0, 0, 0, .2); }
.bg-green-900\/30 { background-color: rgba(20, 83, 45, .3); }
.bg-primary\/90 { background-color: rgba(223, 32, 32, .9); }
.border-green-400\/20 { border-color: rgba(74, 222, 128, .2); }
.text-green-100 { color: #dcfce7; }
.text-red-100 { color: #fee2e2; }
.text-cyan-300 { color: #67e8f9; }
.to-green-300 { --tw-gradient-to: #86efac var(--tw-gradient-to-position); }
.text-\[15px\] { font-size: 15px; }
.aspect-video { aspect-ratio: 16 / 9; }
.grid-cols-\[56px_1fr_auto\] { grid-template-columns: 56px 1fr auto; }
.group:focus-within .group-focus-within\:opacity-100 { opacity: 1; }

@media (min-width: 768px) {
    .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
    .md\:p-10 { padding: 2.5rem; }
    .md\:w-64 { width: 16rem; }
}

.shop-buy-card h1 {
    hyphens: manual;
}

/*
 * Tailwind-Utilities, die Laravel-Ansichten nutzen, das vorkompilierte WordPress-Theme (theme/css/tailwind.css)
 * aber nicht enthält. Gleiche Werte wie Tailwind, damit die Klassen überall wie gewohnt funktionieren.
 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.whitespace-pre-line { white-space: pre-line; }
.leading-none { line-height: 1; }
.tracking-\[0\.18em\] { letter-spacing: .18em; }
.tracking-\[0\.28em\] { letter-spacing: .28em; }
.max-w-xl { max-width: 36rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-16 { padding-bottom: 4rem; }
.pl-5 { padding-left: 1.25rem; }
.text-yellow-200 { color: #fef08a; }
.bg-red-500\/10 { background-color: rgb(239 68 68 / 10%); }
.border-red-400\/40 { border-color: rgb(248 113 113 / 40%); }
.decoration-white\/30 { text-decoration-color: rgb(255 255 255 / 30%); }
@media (min-width: 640px) {
    .sm\:col-span-2 { grid-column: span 2 / span 2; }
    .sm\:max-w-xs { max-width: 20rem; }
    .sm\:p-8 { padding: 2rem; }
    .sm\:grid-cols-\[1fr_8rem\] { grid-template-columns: 1fr 8rem; }
    .sm\:grid-cols-\[8rem_1fr\] { grid-template-columns: 8rem 1fr; }
}
@media (min-width: 768px) {
    .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
}


/* ==========================================================================
   Rote Buttons (Nintendo-Stil): flach, kein Verlauf, kein Glow, harte 3D-Kante.
   Gilt fuer .bign-btn (ohne --secondary), .bign-btn--primary und .bign-btn-cta--aurora/--sunset.
   --sunset ist ebenfalls flach rot; --secondary bleibt unveraendert.
   ========================================================================== */
.bign-btn:not(.bign-btn--secondary),
.bign-btn-cta--aurora,
.bign-btn-cta--sunset {
    background: #df2020;
    background-image: none;
    box-shadow: 0 4px 0 #8e1515;
    filter: none;
    text-shadow: none;
    transform: none;
    transition: translate .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.bign-btn:not(.bign-btn--secondary):hover,
.bign-btn-cta--aurora:hover,
.bign-btn-cta--sunset:hover {
    background: #df2020;
    background-image: none;
    box-shadow: 0 6px 0 #8e1515;
    filter: none;
    transform: none;
    translate: 0 -2px;
}

.bign-btn:not(.bign-btn--secondary):not(.hh-cta):hover,
.bign-btn-cta--aurora:hover,
.bign-btn-cta--sunset:hover {
    animation: bign-block-bump .2s ease-out;
}

.bign-btn:not(.bign-btn--secondary):focus {
    filter: none;
    transform: none;
}

.bign-btn:not(.bign-btn--secondary):focus-visible,
.bign-btn-cta--aurora:focus-visible,
.bign-btn-cta--sunset:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.bign-btn:not(.bign-btn--secondary):active,
.bign-btn-cta--aurora:active,
.bign-btn-cta--sunset:active {
    animation: none;
    box-shadow: 0 1px 0 #8e1515;
    translate: 0 3px;
}

@keyframes bign-block-bump {
    0% { translate: 0 0; }
    45% { translate: 0 -6px; }
    100% { translate: 0 -2px; }
}

@media (prefers-reduced-motion: reduce) {
    .bign-btn:not(.bign-btn--secondary),
    .bign-btn-cta--aurora,
    .bign-btn-cta--sunset,
    .contact-form__button {
        animation: none !important;
        transition: none;
        translate: none !important;
    }
}

/* ==========================================================================
   Sekundär-Button (Ghost): transparent mit heller Kontur, gleiche Form und Größe
   wie .bign-btn-cta--aurora (Kontur als inset-Schatten, damit die Höhe identisch bleibt).
   Nutzung: class="bign-btn-cta bign-btn-cta--lg bign-btn-cta--ghost" + optionales Icon.
   ========================================================================== */
.bign-btn-cta--ghost {
    gap: .5rem;
    background: transparent;
    background-image: none;
    color: #fff;
    font-weight: 700;
    box-shadow: inset 0 0 0 2px hsla(0, 0%, 100%, .35);
    filter: none;
    transform: none;
    transition: translate .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.bign-btn-cta--ghost:hover {
    background-color: rgba(223, 32, 32, .14);
    box-shadow: inset 0 0 0 2px #df2020;
    transform: none;
    translate: 0 -2px;
}
.bign-btn-cta--ghost:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.bign-btn-cta--ghost:active { translate: 0 1px; }
@media (prefers-reduced-motion: reduce) {
    .bign-btn-cta--ghost { transition: none; }
    .bign-btn-cta--ghost:hover, .bign-btn-cta--ghost:active { translate: none; }
}

/* ==========================================================================
   Beitragskarte (Partial blog._card): News-Übersicht, Kategorie-Archive und Startseite.
   Bild 16:10 im eigenen runden Rahmen, Datum als Meta-Zeile, Titel als Karten-Link.
   Hover/Fokus: Bild zoomt sanft, Farbverlauf blendet ein, Akzentrand, Pfeil wandert.
   Animiert werden nur transform und opacity.
   ========================================================================== */
.post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid hsla(0, 0%, 100%, .12);
    border-radius: 1.25rem;
    background: linear-gradient(140deg, #18171e, #201f28);
    box-shadow: 0 16px 36px rgba(15, 15, 22, .45);
}
.post-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(223, 32, 32, .75);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
.post-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    margin: .55rem .55rem 0;
    overflow: hidden;
    border-radius: .9rem;
    isolation: isolate;
    background: #121117;
}
.post-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.post-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(223, 32, 32, .5), rgba(18, 17, 23, .1) 55%, transparent);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
}
.post-card__body { display: flex; flex: 1; flex-direction: column; gap: .5rem; padding: 1rem 1.25rem 1.25rem; }
.post-card__meta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a3a2b0;
}
.post-card__meta::before { content: ""; width: .45rem; height: .45rem; border-radius: 999px; background: #df2020; }
.post-card__title { margin: 0; font-size: 1.15rem; font-weight: 800; line-height: 1.3; color: #fff; overflow-wrap: break-word; }
.post-card__title a { color: inherit; text-decoration: none; }
/* Der Titel-Link deckt die ganze Karte ab; "Weiterlesen" liegt darüber. */
.post-card__title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card__excerpt { margin: 0; font-size: .95rem; line-height: 1.55; color: #b8b8c4; }
.post-card__more {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    align-self: flex-start;
    margin-top: auto;
    padding-top: .5rem;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}
.post-card__more i { color: #df2020; font-size: .85em; transition: transform .3s ease; }
.post-card:hover::after, .post-card:focus-within::after { opacity: 1; }
.post-card:hover .post-card__img, .post-card:focus-within .post-card__img { transform: scale(1.06); }
.post-card:hover .post-card__shade, .post-card:focus-within .post-card__shade { opacity: 1; }
.post-card:hover .post-card__title, .post-card:focus-within .post-card__title { color: #ff8a8a; }
.post-card:hover .post-card__more i, .post-card:focus-within .post-card__more i { transform: translateX(5px); }
.post-card a:focus-visible { outline: 3px solid #ffd84d; outline-offset: 3px; border-radius: .25rem; }
@media (prefers-reduced-motion: reduce) {
    .post-card::after, .post-card__img, .post-card__shade, .post-card__more i { transition: none; }
    .post-card:hover .post-card__img, .post-card:focus-within .post-card__img,
    .post-card:hover .post-card__more i, .post-card:focus-within .post-card__more i { transform: none; }
}

/*
 * Beitragsseite (/news/{slug}) und gemeinsame Hilfsklassen der News-Ansichten.
 */

.bign-divider {
    width: 6rem;
    height: 3px;
    border-radius: 999px;
    background: #df2020;
}

.bign-divider--sm {
    width: 3.5rem;
}

.post-crumbs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.post-crumbs__fixed {
    flex: 0 0 auto;
}

.post-crumbs__current {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 639px) {
    .post-crumbs {
        flex-wrap: wrap;
    }

    .post-crumbs__current {
        flex-basis: 100%;
        white-space: normal;
    }
}

.post-article__title {
    margin: 0 auto 1.25rem;
    max-width: 24ch;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
}

.post-chip {
    display: inline-block;
    padding: 0.15rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #e5e7eb;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s;
}

.post-chip:hover {
    border-color: #df2020;
    background: rgba(223, 32, 32, 0.18);
}

.post-measure {
    max-width: 68ch;
    margin-inline: auto;
}

.entry-content {
    color: #d1d5db;
    font-size: 1.0625rem;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.entry-content > * + * {
    margin-top: 1.25rem;
}

.entry-content .entry-lead,
.entry-lead-block .entry-lead {
    color: #f3f4f6;
    font-size: 1.25rem;
    line-height: 1.6;
}

.entry-lead-block {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #fff;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 2.25rem;
}

.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.4rem; }
.entry-content h4 { font-size: 1.15rem; }

.entry-content a {
    color: #fca5a5;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a:hover {
    color: #fff;
}

.entry-content strong,
.entry-content b {
    color: #fff;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5rem;
}

.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: 0.4rem; }

.entry-content blockquote {
    padding: 0.25rem 0 0.25rem 1.25rem;
    border-left: 4px solid #df2020;
    color: #e5e7eb;
    font-style: italic;
}

.entry-content img,
.entry-content video,
.entry-content figure {
    max-width: 100%;
    height: auto;
}

.entry-content img {
    border-radius: 0.75rem;
}

.entry-content figure {
    margin-inline: 0;
}

.entry-content figcaption {
    margin-top: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
    text-align: center;
}

.entry-content iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 0.75rem;
}

.entry-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
}

.entry-content th {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.entry-content hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.post-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.post-share__back {
    color: #9ca3af;
    font-size: 0.9rem;
}

.post-pager {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .post-pager {
        grid-template-columns: 1fr 1fr;
    }

    .post-pager__item--next {
        grid-column: 2;
    }
}

.post-pager__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 0.75rem;
    background: rgba(31, 41, 55, 0.5);
    transition: background-color 0.3s, transform 0.3s;
}

.post-pager__item:hover {
    background: rgba(55, 65, 81, 0.5);
    transform: translateY(-2px);
}

.post-pager__thumb {
    flex: 0 0 auto;
    width: 5rem;
    height: 5rem;
    overflow: hidden;
    border-radius: 0.5rem;
}

.post-pager__text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.post-pager__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Beitragsseite: Magazin-Layout */
.post-wrap { max-width: 56rem; }
.post-measure { max-width: 47.5rem; margin-inline: auto; }
.post-head { margin-bottom: 1.5rem; }
.post-head__cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.post-chip--accent { background: #df2020; border-color: #df2020; color: #fff; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.75rem; }
.post-chip--accent:hover { background: #b81818; border-color: #b81818; }
.post-head .post-article__title { margin: 0 0 1rem; max-width: none; color: #fff; font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; font-size: clamp(1.7rem, 4.6vw, 2.5rem); text-wrap: balance; }
.post-head .post-meta { justify-content: flex-start; gap: 0.35rem 0.7rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
i.post-meta__ico { margin-right: 0.4rem; opacity: 0.8; }
.post-meta__sep { color: #4b5563; }
.post-hero { margin-top: 0; margin-bottom: 2rem; border-radius: 0.9rem; overflow: hidden; background: #111; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.post-hero__img { display: block; width: 100%; height: auto; max-height: 26rem; object-fit: contain; margin-inline: auto; }
.post-article .entry-content { font-size: 1.0625rem; line-height: 1.75; }
.post-article .entry-content p { max-width: 70ch; }
.post-article .entry-content h2 { font-size: 1.5rem; padding-bottom: 0.4rem; border-bottom: 2px solid rgba(223, 32, 32, 0.55); }
.post-article .entry-content h3 { font-size: 1.25rem; }
.post-article .entry-content ul > li::marker { color: #df2020; }
.post-article .entry-content blockquote { padding: 0.9rem 1.25rem; border-left: 4px solid #df2020; border-radius: 0 0.6rem 0.6rem 0; background: rgba(255, 255, 255, 0.04); }
.post-article .entry-content blockquote > * + * { margin-top: 0.6rem; }
.post-article .entry-content .wp-block-gallery, .post-article .entry-content .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.6rem; list-style: none; padding: 0; }
.post-article .entry-content .wp-block-gallery figure, .post-article .entry-content .gallery > * { margin: 0; }
.post-article .entry-content .wp-block-gallery img, .post-article .entry-content .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-article .entry-content img { max-height: 32rem; width: auto; margin-inline: auto; }
.post-article .entry-content a { text-decoration-thickness: 1px; }
.post-article .entry-content .wp-block-embed, .post-article .entry-content iframe { max-width: 100%; }
.post-article .entry-content figure { margin: 1.75rem 0; }
@media (max-width: 639px) {
    .post-hero { border-radius: 0.7rem; margin-inline: -0.25rem; }
    .post-hero__img { max-height: 18rem; }
    .post-article .entry-content { font-size: 1rem; }
}

/* News-Übersicht: vier Beiträge pro Reihe auf breiten Bildschirmen */
@media (min-width: 1280px) { .blog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 1280px) {
    .blog-grid h3 { font-size: 1.1rem; line-height: 1.35; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
    .blog-grid p.barlow-text { display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: .92rem; }
}
/* Startseite: vier News pro Reihe schon ab 1024px (acht Beiträge = zwei volle Reihen) */
@media (min-width: 1024px) { .blog-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } .blog-grid--home h3 { font-size: 1.05rem; line-height: 1.35; } .blog-grid--home p.barlow-text { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .9rem; } }

/*
 * DESIGN-SYSTEM (flach, dunkel, dezent Nintendo)
 * Palette: Seite #121117, Band/Sektion #16151c, Karte/Panel #1b1a23, Linie #2c2b36, Akzent #df2020.
 * 1. Hintergrund: kein Muster. Seite = Fläche A (#121117). Eigene Flächen nur als Karte/Panel,
 *    Header-Band. Startseite: eigene neutrale Grau-Verläufe je Sektion (#front-*, siehe home-hero.css)
 *    und geschwungene Hero-Kante (.home-curve) wie im Original - ohne Rot-Töne.
 * 2. Seitenkopf: jede Innenseite hat ein vollbreites Band (.page-band:
 *    h1 weiß, roter Balken .bign-divider, Intro) mit weichem Bogen-Übergang (.pixel-edge) darunter.
 *    Startseite, Podcast, Shop, Mitgliedschaft, Retrotest und Beitrag enden ebenfalls auf .pixel-edge.
 * 3. Sektionen: .sec-title (weiße Überschrift, kleiner roter Balken, zentriert);
 *    vollbreite Sektionen werden durch Linie + roten Pixel-Treppenrand getrennt.
 * 4. Karten: #1b1a23, 1px Linie, Radius 1rem; ?-Block-Bump nur bei klickbaren Karten.
 *    Panels (.panel): gleiche Fläche, für Infoboxen/Leerzustände.
 * 5. Buttons: rot flach (primär), Outline (sekundär).
 * 6. Nintendo-Details ausschließlich: Pixel-Münze in Eyebrow-Pills, Pixel-Zinnen-Kante, Backstein-Kante, ?-Block-Bump.
 */
:root {
    --flat-page: #121117;
    --flat-section: #16151c;
    --flat-panel: #1b1a23;
    --flat-line: #2c2b36;
    --flat-red: #df2020;
    /* Backstein-/Boden-Kachel für die Kante unter dem Header. */
}

/* Die vorkompilierte Theme-CSS legt einen roten Farbverlauf über die Seite - hier entfernt. */
body::before {
    content: none;
}

/* Flache Flächen (ersetzen die früheren Verlaufs-Hintergründe). */
/* Seitenfläche: dunkler Grund mit sehr dezentem Punktraster und zwei weichen Rand-Glows
   (Rot links, Blau rechts) unterhalb des Seitenkopfs. Scrollt normal mit (kein fixed). */
body.surface-page {
    background-color: var(--flat-page);
    background-image:
        radial-gradient(56rem 40rem at 0% 72rem, rgba(223, 32, 32, .055), transparent 70%),
        radial-gradient(52rem 40rem at 100% 130rem, rgba(74, 134, 232, .05), transparent 70%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .04) 0 1.2px, transparent 1.6px);
    background-size: auto, auto, 26px 26px;
    background-repeat: no-repeat, no-repeat, repeat;
}

.surface-page:not(body) {
    background: transparent;
}

/* Vollbreites Seitenkopf-Band für alle Innenseiten (Komponente x-page-header). */
/* Seitenköpfe (.page-band, Podcast- und Retrotest-Hero): Atmosphäre wie auf der Startseite.
   Weiche Lichtflecken in der Akzentfarbe, dezente Diagonalen wie in den Startseiten-Sektionen
   und ein dunkler Grundverlauf. Nur Gradients, keine Bilder, Filter oder Animationen. */
.page-band, .pc-hero, .rt-hero {
    --band-accent: #df2020;
    background:
        radial-gradient(42rem 22rem at 12% 0%, color-mix(in srgb, var(--band-accent) 24%, transparent), transparent 70%),
        radial-gradient(38rem 20rem at 88% 100%, color-mix(in srgb, var(--band-accent) 15%, transparent), transparent 72%),
        radial-gradient(30rem 14rem at 50% 45%, rgba(255, 255, 255, .035), transparent 70%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .022) 0 12px, transparent 12px 24px),
        linear-gradient(180deg, #1d1c26 0%, #16151c 100%);
}
.page-band--yellow, .pc-hero { --band-accent: #f5b800; }
.page-band--green { --band-accent: #43d05a; }
.page-band--blue { --band-accent: #4a86e8; }
.page-band--yellow .bign-divider, .pc-hero .bign-divider { background: #f5b800; }
.page-band--green .bign-divider { background: #43d05a; }
.page-band--blue .bign-divider { background: #4a86e8; }
.page-band--yellow + .pixel-edge::before, .pc-hero + .pixel-edge::before { background: #f5b800; }
.page-band--green + .pixel-edge::before { background: #43d05a; }
.page-band--blue + .pixel-edge::before { background: #4a86e8; }

.page-band {
    padding: 4.5rem 1rem 3.5rem;
    text-align: center;
}

.page-band__inner {
    max-width: 52rem;
    margin: 0 auto;
}

.page-band__title {
    margin: 0 0 1.25rem;
    color: #fff;
    font-size: clamp(2rem, 5vw + .5rem, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: .02em;
    text-transform: uppercase;
    overflow-wrap: break-word;
    hyphens: auto;
}

.page-band__lead {
    max-width: 42rem;
    margin: 1.5rem auto 0;
    color: #cfcfd8;
    font-size: 1.05rem;
    line-height: 1.6;
}

.page-band__lead p {
    margin: 0;
}

/* Inhaltsbereich unter dem Band: einheitliche Breite und Abstände. */
.page-body {
    max-width: 80rem;
    margin: 0 auto;
    padding: 3.5rem 1rem 5rem;
}

@media (min-width: 640px) {
    .page-body { padding-left: 2rem; padding-right: 2rem; }
}

/* Sektionsüberschrift: Eyebrow-Pill, weiße Überschrift, kleiner roter Balken. */
.sec-title {
    margin: 0 0 2rem;
    text-align: center;
}

.sec-title h2,
h2.sec-title__text,
.sec-h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.5rem, 2.2vw + .8rem, 2.15rem);
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.15;
    text-transform: uppercase;
}

h2.sec-title__text,
.sec-h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.sec-h2 {
    margin-bottom: 1.25rem;
}

.sec-title::after,
h2.sec-title__text::after,
.sec-h2::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    margin: .9rem auto 0;
    border-radius: 999px;
    background: var(--flat-red);
}

.sec-title p {
    max-width: 40rem;
    margin: 1rem auto 0;
    color: #b8b8c4;
}

/* Karte (Utility für Markup ohne eigene Kartenklasse). */
.flat-card {
    border: 1px solid var(--flat-line);
    border-radius: 1rem;
    background: var(--flat-panel);
}

/* Panel: Infobox / Leerzustand. */
.panel {
    padding: 1.75rem;
    border: 1px solid var(--flat-line);
    border-radius: 1rem;
    background: var(--flat-panel);
}

/* Überschriften in reinem Weiß statt Verlaufstext. */
.heading-solid {
    color: #fff;
}

/* Einfaches, flaches Abdunkeln über Bildern. */
.overlay-flat {
    background-color: rgb(18 17 23 / 45%);
}

.overlay-flat--strong {
    background-color: rgb(18 17 23 / 78%);
}

/* Graue Tailwind-Flächen (blaustichig) auf die Flat-Palette abbilden. */
.bg-gray-900 {
    background-color: var(--flat-section);
}

.bg-gray-800,
.bg-gray-800\/30 {
    background-color: var(--flat-panel);
}


/*
 * Nintendo-Akzente (zurückhaltend): Sektionstrenner, Boden-Kante, Eyebrow-Pills, Block-Bump.
 */

/* Feine Trennlinie + kleine abgerundete rote Lasche am Anfang jeder Sektion (wie auf der Startseite). */
main > section + section,
.sep-sections > section + section,
.bign-section + .bign-section,
.msec + .msec,
.bign-section-sep {
    position: relative;
    border-top: 1px solid #2c2b36;
}

main > section + section::before,
.sep-sections > section + section::before,
.bign-section + .bign-section::before,
.msec + .msec::before,
.bign-section-sep::before {
    content: "";
    position: absolute;
    z-index: 11;
    top: -1px;
    left: calc(50% - 40px);
    width: 80px;
    height: 6px;
    background: var(--flat-red);
    border-radius: 0 0 999px 999px;
    pointer-events: none;
}

/* Übergang unter dem Seitenkopf: flacher Bogen in Seitenfarbe, der in den Kopf hineinragt
   (wie die Hero-Kante der Startseite), mit kleiner roter Lasche in der Mitte. Statisch. */
.pixel-edge {
    position: relative;
    z-index: 12;
    height: 28px;
    margin-top: -28px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: var(--flat-page);
    pointer-events: none;
}

.pixel-edge::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 96px;
    height: 6px;
    margin: 0 auto;
    border-radius: 0 0 999px 999px;
    background: var(--flat-red);
}

@media (max-width: 640px) {
    .pixel-edge { height: 18px; margin-top: -18px; }
    .pixel-edge::before { width: 72px; height: 5px; }
}

.pixel-edge + section {
    border-top: 0 !important;
}

.pixel-edge + section::before {
    display: none !important;
}
/* Karten: kurzer "?-Block"-Bump beim Hover. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .bump-card:hover,
    .bign-card--lift:hover,
    .join-card:hover,
    .plan-card:hover {
        animation: flat-bump .28s ease-out;
    }

    @keyframes flat-bump {
        0% { transform: translateY(0); }
        40% { transform: translateY(-6px); }
        100% { transform: translateY(0); }
    }
}


/* Vereinheitlichung bestehender Kartenklassen auf das Karten-Schema (#1b1a23, 1px Linie, Radius 1rem). */
.bign-host-card,
.podcast-show,
.partner-card,
.team-card {
    border: 1px solid var(--flat-line);
    border-radius: 1rem;
    background: var(--flat-panel);
    box-shadow: none;
}

.sec-title .bign-rich-text {
    max-width: 40rem;
    margin: 1rem auto 0;
}

/* Deko-Punkte auf Karten (Partial partials.card-pixels): rund statt eckig. */
.pixel-element { border-radius: 999px; }
