/* ============================================================
   Cuxhaven-Beat – Grundlayout
   Farbwelt des Altbestands: Schwarz, Gold, Grau
   ============================================================ */

:root {
    --black: #0b0b0c;
    --ink: #17171a;
    --ink-soft: #24242a;
    --gold: #ffcc33;
    --gold-dark: #d9a800;
    --gray: #9d9d9e;
    --gray-light: #c9c9c9;
    --paper: #f4f2ec;
    --white: #ffffff;
    --radius: 14px;
    --radius-sm: 8px;
    --max: 1180px;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Georgia", "Times New Roman", serif;
}

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

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

h1, h2, h3 {
    line-height: 1.15;
    margin: 0 0 0.6em;
    letter-spacing: -0.01em;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
}

p {
    margin: 0 0 1em;
}

/* Kurze Überschriften und Vorspänne gleichmäßig umbrechen, keine Waisen. */
h1,
h2,
h3,
.page-lead,
.hero-lead,
.intro-lead {
    text-wrap: balance;
}

p,
li {
    text-wrap: pretty;
}

.wrap {
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto;
}

.visually-hidden {
    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: -4rem;
    z-index: 100;
    background: var(--gold);
    color: var(--black);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top 0.2s ease;
}

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

/* ---------- Kopfbereich ---------- */

.site-header {
    background: var(--black);
    color: var(--white);
    border-bottom: 4px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 40;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 84px;
}

.brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--white);
    line-height: 1.1;
}

.brand-mark {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 0.02em;
}

.brand-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gray-light);
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.15rem;
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.main-nav a {
    color: var(--gray-light);
    text-decoration: none;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    position: relative;
    transition: transform 0.2s ease;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after  { top: 7px; }

/* ---------- Hauptbereich ---------- */

main {
    padding-block: clamp(2rem, 5vw, 4rem);
    min-height: 60vh;
}

.eyebrow {
    margin: 0 0 0.8rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold-dark);
    font-weight: 700;
}

.hero {
    max-width: 780px;
    padding-block: 1rem 2.5rem;
}

.hero-lead,
.page-lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: #3f3f46;
    max-width: 62ch;
}

.page-lead-wide {
    max-width: 70ch;
}

@media (max-width: 760px) {
    .page-lead-wide {
        max-width: 62ch;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--black);
    color: var(--gold);
}

.button-primary:hover {
    background: var(--ink-soft);
}

.button-ghost {
    border-color: var(--black);
    color: var(--black);
}

.button-ghost:hover {
    background: var(--black);
    color: var(--white);
}

/* ---------- Zahlen ---------- */

/* ---------- Karten ---------- */

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.card {
    background: var(--white);
    padding: 1.6rem;
    border-radius: var(--radius);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    border-top: 3px solid var(--gold);
}

.card p {
    color: #4b4b52;
}

.link-arrow {
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
}

.link-arrow:hover {
    color: var(--gold-dark);
}

/* ---------- Album ---------- */

.page-head {
    max-width: 780px;
    margin-bottom: 2.5rem;
}

.category-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
}

.category-cover {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    min-height: 0;
    background: var(--black);
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 3rem;
}

.category-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.2rem;
}

.category-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.category-desc {
    color: #5a5a61;
    font-size: 0.9rem;
    text-wrap: balance;
}

.category-count {
    margin-top: auto;
    padding-top: 0.6rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold-dark);
    font-weight: 700;
}

.notice {
    background: var(--white);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.4rem;
    max-width: 720px;
}

/* ---------- Fussbereich ---------- */

.site-footer {
    background: var(--black);
    color: var(--gray);
    padding-block: 2.5rem;
    margin-top: 4rem;
    font-size: 0.85rem;
}

.footer-inner {
    display: grid;
    gap: 0.75rem;
}

.footer-brand {
    color: var(--gray-light);
    margin: 0;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-nav a {
    color: var(--gray-light);
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-copy {
    margin: 0;
    color: #6f6f76;
}

.footer-credits {
    margin: 0;
    color: #6f6f76;
    font-size: 0.78rem;
}

.footer-credits a {
    color: var(--gray-light);
    text-decoration-color: var(--gold);
    text-underline-offset: 2px;
}

.footer-credits a:hover {
    color: var(--gold);
}

/* ---------- Mobil ---------- */

@media (max-width: 760px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        gap: 0;
        padding-bottom: 1rem;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 0.7rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .header-inner {
        flex-wrap: wrap;
    }
}

/* ---------- Textseiten ---------- */

.prose {
    max-width: 68ch;
}

.prose h2 {
    margin-top: 2.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.prose h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.prose a {
    color: var(--black);
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.prose a.button {
    text-decoration: none;
}

.prose a.button-primary {
    color: var(--gold);
}

.prose a.button-primary:hover {
    color: var(--gold);
}

.prose a.button-ghost {
    color: var(--black);
}

.prose a.button-ghost:hover {
    color: var(--white);
}

.prose a:hover {
    color: var(--gold-dark);
}

.muted {
    color: #6b6b72;
    font-size: 0.9rem;
}

.author-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.author-photo {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Gäste sehen die neuesten Fotos nur verschwommen. */
.photo-grid.is-guest .photo-frame img {
    filter: blur(14px);
    transform: scale(1.08);
}

.photo-grid.is-guest .photo-card:hover .photo-frame img {
    transform: scale(1.08);
}

.gallery-lock {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    background: var(--white);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
}

.gallery-lock p {
    margin: 0;
}

.book-cover {
    float: right;
    width: min(220px, 40%);
    margin: 0 0 1rem 1.5rem;
}

.book-cover img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    .book-cover {
        float: none;
        width: min(220px, 70%);
        margin: 0 auto 1.5rem;
    }
}

/* ---------- Album-Detail ---------- */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b6b72;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
}

.breadcrumb a:hover {
    color: var(--gold-dark);
}

.category-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.photo-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.photo-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: var(--ink);
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.photo-frame {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ink);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.photo-card:hover .photo-frame img,
.photo-card:focus-visible .photo-frame img {
    transform: scale(1.04);
}

.photo-caption {
    padding: 0.7rem 0.8rem;
    font-size: 0.85rem;
    line-height: 1.35;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.pagination-info {
    font-size: 0.85rem;
    color: #6b6b72;
}

.photo-detail {
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.photo-detail figure {
    margin: 0;
}

.photo-detail-link {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ink);
}

.photo-detail img {
    width: 100%;
    height: auto;
}

.photo-detail figcaption {
    margin-top: 0.6rem;
    text-align: right;
}

.photo-meta {
    margin-top: 1.5rem;
    max-width: 68ch;
}

.photo-meta h1 {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.comments {
    max-width: 780px;
    margin: 0 auto;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.comment {
    background: var(--white);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
}

.comment-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0 0 0.4rem;
    font-size: 0.85rem;
}

.comment-text {
    color: #3f3f46;
    font-size: 0.95rem;
}

/* ---------- Startseite: Galerie ---------- */

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-head h2 {
    margin: 0;
}

.section-head .eyebrow {
    margin-bottom: 0.3rem;
}

.home-gallery {
    margin-block: 1rem 3.5rem;
}

/* ---------- Lightbox ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.94);
}

.lightbox[hidden] {
    display: none;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox-figure {
    margin: 0;
    max-width: min(92vw, 1400px);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.lightbox-figure img {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    background: #111;
}

.lightbox-caption {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem 1.2rem;
    color: var(--gray-light);
    font-size: 0.9rem;
    text-align: center;
}

.lightbox-counter {
    color: var(--gray);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.lightbox-detail {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 204, 51, 0.5);
}

.lightbox-detail:hover {
    color: var(--white);
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1.2rem;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.lightbox-nav {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

/* ---------- Intro / Start ---------- */

.intro {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 204, 51, 0.18), transparent 55%),
        var(--black);
    color: var(--white);
    text-align: center;
    transition: opacity 0.3s ease;
}

.intro[hidden] {
    display: none;
}

.intro.is-closing {
    opacity: 0;
}

.intro-inner {
    max-width: 760px;
}

.intro-banner {
    width: min(640px, 90vw);
    margin: 0 auto 1.5rem;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.intro-kicker {
    margin: 0 0 0.4rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gray);
}

.intro h1 {
    color: var(--gold);
    font-size: clamp(2rem, 6vw, 3.4rem);
    margin-bottom: 0.5rem;
}

.intro-lead {
    color: var(--gray-light);
    font-size: 1.05rem;
    margin-bottom: 1.8rem;
}

.intro-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.intro .button-primary {
    background: var(--gold);
    color: var(--black);
}

.intro .button-ghost {
    background: rgba(255, 204, 51, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.intro .button-ghost:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.intro .button:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 3px;
}

.intro-hint {
    margin-top: 1.2rem;
    font-size: 0.75rem;
    color: var(--gray);
}

.intro-ai {
    margin-top: 0.6rem;
    font-size: 0.72rem;
    color: var(--gray);
}

.intro-ai a {
    color: var(--gray-light);
    text-decoration-color: var(--gold);
    text-underline-offset: 2px;
}

.intro-ai a:hover {
    color: var(--gold);
}

body.intro-open {
    overflow: hidden;
}

/* ---------- Startseite: Hero mit Cover ---------- */

.hero-home {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2.5rem;
    align-items: center;
    max-width: none;
}

.hero-cover {
    margin: 0;
    text-align: center;
}

.hero-cover img {
    width: min(240px, 80%);
    margin: 0 auto 0.8rem;
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

/* ---------- Audio ---------- */

.audio-section {
    margin-block: 1rem 3rem;
}

.audio-card {
    max-width: 560px;
    padding: 1.2rem 1.3rem;
    background: var(--white);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius-sm);
}

.audio-card audio {
    width: 100%;
}

.audio-card .muted {
    margin: 0.6rem 0 0;
}

.clip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.6rem;
    max-width: 760px;
    margin-top: 1rem;
}

.clip-button {
    padding: 0.7rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.clip-button:hover,
.clip-button:focus-visible,
.clip-button.is-playing {
    background: var(--black);
    border-color: var(--black);
    color: var(--gold);
}

/* ---------- Inhalte: Kapitel, Bands, Partner ---------- */

.chapter-list {
    margin: 0 0 1.8rem;
}

.chapter-list dt {
    font-weight: 700;
    margin-top: 1rem;
}

.chapter-list dd {
    margin: 0.15rem 0 0;
    color: #4b4b52;
}

.band-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.2rem 1.5rem;
}

.band-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.95rem;
}

.band-list span:last-child {
    color: #6b6b72;
    white-space: nowrap;
}

.order-box {
    margin-top: 1rem;
    padding: 1.2rem 1.4rem;
    background: var(--white);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
}

.order-box a.button-primary {
    background: var(--gold);
    color: var(--black);
}

.order-box a.button-primary:hover {
    background: var(--black);
    color: var(--gold);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.partner-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--white);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
}

.partner-logo {
    flex: 0 0 auto;
    width: 110px;
    max-height: 80px;
    object-fit: contain;
}

.partner-body h2 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.partner-body p {
    font-size: 0.9rem;
    color: #4b4b52;
    margin-bottom: 0.6rem;
}

.supporter-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
    display: grid;
    gap: 1rem;
    max-width: 820px;
}

.supporter-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-sm);
}

.supporter-list img {
    flex: 0 0 auto;
    width: 80px;
    max-height: 60px;
    object-fit: contain;
}

.supporter-list p {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
    color: #4b4b52;
}

.author-profile {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
}

.author-profile .author-photo {
    margin: 0;
}

.author-profile h3 {
    margin-top: 1.4rem;
}

@media (max-width: 760px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.6rem;
    }

    .author-profile {
        grid-template-columns: 1fr;
    }

    .partner-card {
        flex-direction: column;
    }

    .hero-home {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-cover {
        order: -1;
    }

    .hero-cover img {
        width: min(220px, 60%);
    }

    .photo-caption {
        font-size: 0.78rem;
        padding: 0.5rem 0.6rem;
    }

    .lightbox {
        padding: 1rem;
        gap: 0.4rem;
    }

    .lightbox-nav {
        position: fixed;
        bottom: 1rem;
        width: 2.6rem;
        height: 2.6rem;
        font-size: 1.6rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .lightbox-figure img {
        max-height: 70vh;
    }
}

/* ---------- Besucherzähler ---------- */

.counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin: 2rem 0 3rem;
    padding: 1rem 1.2rem;
    background: var(--black);
    border: 1px solid rgba(255, 204, 51, 0.35);
    border-radius: var(--radius-sm);
}

.counter-label {
    margin: 0;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray);
}

.counter-digits {
    display: flex;
    gap: 0.25rem;
}

.counter-digit {
    display: grid;
    place-items: center;
    width: 1.6rem;
    height: 2.2rem;
    background: #111;
    color: var(--gold);
    font-family: ui-monospace, Consolas, monospace;
    font-size: 1.4rem;
    border-radius: 3px;
    box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.08), inset 0 2px 6px rgba(0, 0, 0, 0.8);
}

.counter-today {
    margin: 0;
    font-size: 0.8rem;
    color: var(--gray-light);
}

.counter-online {
    margin: 0.15rem 0 0;
    color: var(--gray);
    font-size: 0.78rem;
    text-align: center;
}

.counter-online strong {
    color: var(--gold);
}

.counter-online-names {
    display: block;
    max-width: 70ch;
    margin-top: 0.25rem;
    color: var(--gray-light);
    font-size: 0.72rem;
    line-height: 1.5;
}

/* ---------- Konto-Navigation ---------- */

.account-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.account-nav a {
    color: var(--gray-light);
    text-decoration: none;
}

.account-nav a:hover {
    color: var(--gold);
}

.link-button {
    background: none;
    border: 0;
    padding: 0;
    color: var(--gray-light);
    font: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    cursor: pointer;
}

.link-button:hover {
    color: var(--gold);
}

.inline-form {
    display: inline;
    margin: 0;
}

/* ---------- Album-Filter ---------- */

.album-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    background: var(--white);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
}

.album-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b6b72;
}

.album-filter-field input,
.album-filter-field select {
    font: inherit;
    font-size: 0.95rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 6px;
    background: var(--white);
    color: var(--ink);
    text-transform: none;
    letter-spacing: normal;
}

.album-filter-actions {
    display: flex;
    gap: 0.5rem;
}

/* ---------- Formulare und Verwaltung ---------- */

.form {
    display: grid;
    gap: 1rem;
    max-width: 620px;
}

.form-row {
    display: grid;
    gap: 0.35rem;
}

.form-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b6b72;
}

.form-input,
.form-select,
.form-textarea,
.form-file {
    font: inherit;
    padding: 0.6rem 0.7rem;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 6px;
    background: var(--white);
    color: var(--ink);
}

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

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.form-errors {
    padding: 0.8rem 1rem;
    background: #fff1f1;
    border-left: 4px solid #c0392b;
    border-radius: 6px;
    color: #7a1f16;
}

.notice-success {
    border-left-color: #2e7d32;
}

.notice-error {
    border-left-color: #c0392b;
}

.notice-info {
    border-left-color: #355ad2;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #eee;
    color: #333;
}

.badge-pending {
    background: #fff3cd;
    color: #7a5b00;
}

.badge-published {
    background: #e6f4ea;
    color: #1e5b2a;
}

.badge-hidden {
    background: #f1f1f1;
    color: #666;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 0.7rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
}

.data-table th {
    background: #f7f6f2;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b6b72;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.button-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.button-danger {
    background: #c0392b;
    color: var(--white);
}

.admin-section {
    margin-block: 2rem;
}

.admin-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.admin-thumb {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.upload-history,
.upload-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.upload-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem;
    background: var(--white);
    border-radius: 6px;
}

.upload-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

/* ---------- Clips ---------- */

.clips-player {
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius);
    padding: clamp(1rem, 3vw, 2rem);
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.clips-now {
    max-width: 70ch;
    margin-bottom: 1.2rem;
}

.clips-now .eyebrow {
    color: var(--gold);
}

.clips-now-title {
    color: var(--white);
    margin-bottom: 0.4rem;
}

.clips-now-text {
    margin: 0;
    color: var(--gray-light);
}

.clips-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.clips-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.clips-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.2rem;
    margin-top: 1rem;
}

.clips-status {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-light);
}

.clips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.clips-card {
    background: var(--white);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.clips-card.is-active {
    border-top-color: var(--black);
}

.clips-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.clips-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--black);
    overflow: hidden;
}

.clips-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clips-thumb::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid var(--white);
    opacity: 0.9;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.clips-duration {
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    z-index: 2;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    background: rgba(11, 11, 12, 0.8);
    color: var(--white);
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
}

.clips-card-body {
    display: block;
    padding: 0.8rem 0.9rem 0.95rem;
}

.clips-card-title {
    display: block;
    font-weight: 600;
    line-height: 1.3;
}

.clips-card-artist {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #6b6b72;
}

.clips-note {
    max-width: 70ch;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ---------- Forum-Archiv ---------- */

.archive-category {
    margin-top: 2.5rem;
}

.archive-category h2 {
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
}

.forum-list,
.topic-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.forum-list {
    display: grid;
    gap: 0.8rem;
}

.forum-item {
    padding: 0.9rem 1.1rem;
    background: var(--white);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
}

.forum-title {
    color: var(--black);
    font-weight: 700;
    text-decoration: none;
}

.forum-title:hover {
    color: var(--gold-dark);
}

.forum-desc {
    margin: 0.35rem 0;
    color: #4a4a50;
    font-size: 0.92rem;
}

.forum-meta,
.topic-meta {
    margin: 0;
    color: #6b6b72;
    font-size: 0.8rem;
}

.topic-item {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.topic-item.is-pinned {
    padding-left: 0.8rem;
    border-left: 3px solid var(--gold);
}

.topic-title {
    display: inline-block;
    color: var(--black);
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.topic-title:hover {
    color: var(--gold-dark);
}

.topic-meta {
    margin-top: 0.3rem;
}

.archive-posts {
    display: grid;
    gap: 1.2rem;
    margin-top: 2rem;
}

.archive-post {
    padding: 1.1rem 1.3rem;
    background: var(--white);
    border-left: 4px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-sm);
}

.archive-post-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.archive-post-date,
.archive-post-number {
    color: #6b6b72;
    font-size: 0.8rem;
}

.archive-post-date {
    margin-left: 0.5rem;
}

.archive-post-number {
    text-decoration: none;
}

.archive-post-text {
    overflow-wrap: anywhere;
}

.archive-post-text p {
    margin: 0 0 0.9rem;
}

.archive-post-subject {
    margin: 0.2rem 0 0.6rem;
    font-weight: 700;
}

.archive-post-note {
    margin: 0.8rem 0 0;
    color: #6b6b72;
    font-size: 0.8rem;
}

.archive-quote {
    margin: 0.8rem 0;
    padding: 0.6rem 0.9rem;
    background: #f7f6f2;
    border-left: 3px solid var(--gold);
}

.archive-code {
    padding: 0.8rem;
    overflow-x: auto;
    background: var(--black);
    color: var(--white);
    border-radius: 6px;
}

.archive-list {
    margin: 0.5rem 0 0.9rem 1.2rem;
}

.archive-underline {
    text-decoration: underline;
}

.archive-center {
    text-align: center;
}

/* ---------- In Memoriam ---------- */

.memorial-feature {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    margin-top: 1.5rem;
    padding: 2rem;
    background: var(--black);
    color: var(--gray-light);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
}

.memorial-portrait {
    margin: 0;
}

.memorial-portrait img {
    width: 100%;
    max-width: 180px;
    border: 1px solid rgba(255, 204, 51, 0.35);
    border-radius: 8px;
}

.memorial-body h2 {
    margin-bottom: 0.2rem;
    color: var(--gold);
}

.memorial-nick {
    display: block;
    color: var(--gray);
    font-size: 0.55em;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.memorial-died {
    margin-top: 0;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.memorial-body p {
    color: var(--gray-light);
}

.memorial-quote {
    margin: 1.2rem 0;
    padding: 0.2rem 0 0.2rem 1rem;
    border-left: 3px solid var(--gold);
}

.memorial-quote p {
    color: var(--white);
    font-style: italic;
}

.memorial-quote cite {
    color: var(--gray);
    font-size: 0.8rem;
    font-style: normal;
}

.memorial-section {
    margin-top: 2.5rem;
}

.memorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.memorial-person {
    padding: 1rem 1.2rem;
    background: var(--white);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
}

.memorial-person h3 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
}

.memorial-person h3 a {
    color: var(--black);
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.memorial-person h3 a:hover {
    color: var(--gold-dark);
}

.memorial-link-label {
    display: inline-block;
    margin-left: 0.35rem;
    color: #6b6b72;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: middle;
}

.memorial-source {
    display: inline-block;
    margin-top: 0.6rem;
    color: var(--black);
    font-size: 0.8rem;
    text-decoration-color: var(--gold);
    text-underline-offset: 3px;
}

.memorial-source:hover {
    color: var(--gold-dark);
}

.memorial-person p {
    margin: 0.3rem 0 0;
    color: #4a4a50;
    font-size: 0.9rem;
}

.memorial-meta {
    color: #6b6b72 !important;
    font-size: 0.8rem !important;
}

.memorial-names {
    line-height: 1.8;
}

@media (max-width: 760px) {
    .memorial-feature {
        grid-template-columns: 1fr;
        padding: 1.4rem;
    }

    .memorial-portrait img {
        max-width: 140px;
    }
}

/* ---------- Datenschutz-Hinweis ---------- */

.privacy-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 150;
    padding: 1rem 0;
    background: var(--black);
    color: var(--gray-light);
    border-top: 3px solid var(--gold);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
}

.privacy-banner[hidden] {
    display: none;
}

.privacy-banner-inner {
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.privacy-banner-copy {
    max-width: 68ch;
}

.privacy-banner .eyebrow {
    margin-bottom: 0.25rem;
    color: var(--gold);
}

.privacy-banner h2 {
    margin-bottom: 0.25rem;
    color: var(--white);
    font-size: 1.1rem;
}

.privacy-banner p {
    margin: 0 0 0.35rem;
    color: var(--gray-light);
    font-size: 0.85rem;
}

.privacy-banner-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.privacy-banner-links a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 204, 51, 0.45);
}

.privacy-banner-links a:hover {
    color: var(--white);
}

.privacy-banner-actions {
    flex-shrink: 0;
}

.privacy-banner-actions .button {
    white-space: nowrap;
}

.privacy-banner .button-primary {
    background: var(--gold);
    color: var(--black);
}

.privacy-banner .button-primary:hover {
    background: var(--white);
    color: var(--black);
}

body.privacy-banner-open {
    padding-bottom: 12rem;
}

@media (max-width: 760px) {
    .privacy-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .privacy-banner-actions .button {
        width: 100%;
    }

    body.privacy-banner-open {
        padding-bottom: 19rem;
    }
}

/* ---------- Bilder im Forum-Archiv ---------- */

.archive-post-text .archive-inline-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0.8rem 0;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #111;
}

.archive-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.archive-attachment {
    margin: 0;
    max-width: min(100%, 420px);
}

.archive-attachment a {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    background: #111;
}

.archive-attachment img {
    display: block;
    width: 100%;
    height: auto;
}

.archive-attachment figcaption {
    margin-top: 0.35rem;
    color: #6b6b72;
    font-size: 0.75rem;
}

/* ---------- Tags, Sichtbarkeit, Zoom ---------- */

.photo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.8rem;
    text-decoration: none;
}

.tag:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.photo-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 0.7rem;
}

.photo-zoom {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    flex-direction: column;
    background: rgba(6, 6, 7, 0.97);
    color: var(--white);
}

.photo-zoom[hidden] {
    display: none;
}

.photo-zoom-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
    background: var(--black);
    border-bottom: 2px solid var(--gold);
}

.photo-zoom-stage {
    flex: 1;
    overflow: auto;
    padding: 1rem;
    text-align: center;
    touch-action: pan-x pan-y;
    overscroll-behavior: contain;
}

.photo-zoom-stage img {
    display: block;
    max-width: none;
    height: auto;
    margin: 0 auto;
    background: #111;
}

body.photo-zoom-open {
    overflow: hidden;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.4rem 1rem;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.92rem;
}

.checkbox-row input {
    margin-top: 0.25rem;
}

.admin-edit-grid {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.admin-edit-preview {
    margin: 0;
}

.admin-edit-preview img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 760px) {
    .admin-edit-grid {
        grid-template-columns: 1fr;
    }

    .form-row-split {
        grid-template-columns: 1fr;
    }
}

.photo-zoom-toolbar .is-active {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.album-all-link {
    margin-top: 1.2rem;
}

.photo-category {
    display: block;
    margin-top: 0.15rem;
    color: #6b6b72;
    font-size: 0.72rem;
}

/* ---------- Bild des Tages ---------- */

.daily-photo {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 0;
    margin: 2.5rem 0 1.5rem;
    background: var(--black);
    color: var(--gray-light);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    overflow: hidden;
}

.daily-photo-media {
    display: block;
    min-height: 300px;
    background: #111;
}

.daily-photo-media img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
}

.daily-photo-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.daily-photo-copy h2 {
    margin-bottom: 0.3rem;
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.daily-photo-copy p {
    color: var(--gray-light);
}

.daily-photo-copy .link-arrow {
    align-self: flex-start;
    margin-top: 1rem;
    color: var(--gold);
}

@media (max-width: 760px) {
    .daily-photo {
        grid-template-columns: 1fr;
    }

    .daily-photo-media {
        min-height: 220px;
    }

    .daily-photo-copy {
        padding: 1.4rem;
    }
}

/* ---------- Admin: Bild des Tages ---------- */

.featured-admin-list {
    display: grid;
    gap: 1rem;
}

.featured-admin-item {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
}

.featured-admin-thumb img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    background: #111;
}

.featured-admin-date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0 0 0.4rem;
}

.featured-admin-body h3 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
}

.featured-admin-form {
    margin-top: 0.8rem;
}

.featured-admin-form .form-label {
    margin-top: 0.6rem;
}

.featured-search {
    max-width: 640px;
    margin-bottom: 1.2rem;
}

.featured-search-row {
    display: flex;
    gap: 0.6rem;
}

.featured-search-row .form-input {
    flex: 1;
}

.featured-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1rem;
}

.featured-result {
    padding: 0.9rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    border-top: 3px solid var(--gold);
}

.featured-result img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    background: #111;
}

.featured-result h3 {
    margin: 0.6rem 0 0.2rem;
    font-size: 0.95rem;
}

.featured-result form {
    margin-top: 0.7rem;
}

@media (max-width: 760px) {
    .featured-admin-item {
        grid-template-columns: 1fr;
    }

    .featured-admin-thumb img {
        max-width: 220px;
    }
}

/* ============================================================
   Design 2026: bewegter, editorialer, weniger starr
   ============================================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    pointer-events: none;
}

.site-header {
    background: rgba(11, 11, 12, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-home {
    position: relative;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    padding-block: 2.5rem 3.5rem;
    isolation: isolate;
}

.hero-home::before {
    content: "CUX ’66";
    position: absolute;
    top: -2.5rem;
    left: -1.5rem;
    z-index: -1;
    font-family: var(--font-display);
    font-size: clamp(6rem, 17vw, 15rem);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(11, 11, 12, 0.07);
    pointer-events: none;
    white-space: nowrap;
}

.hero-copy h1 {
    font-size: clamp(3.2rem, 6.5vw, 6rem);
    line-height: 0.92;
    letter-spacing: -0.045em;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
    color: var(--gold-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-meta span + span::before {
    content: "/";
    margin-right: 0.5rem;
    color: rgba(0, 0, 0, 0.3);
}

.hero-cover img {
    width: min(310px, 92%);
    transform: rotate(-2.5deg);
    box-shadow:
        18px 22px 0 rgba(255, 204, 51, 0.22),
        0 28px 55px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-cover:hover img {
    transform: rotate(0deg) scale(1.02);
    box-shadow:
        10px 14px 0 rgba(255, 204, 51, 0.3),
        0 30px 60px rgba(0, 0, 0, 0.32);
}

.marquee {
    overflow: hidden;
    margin: 0 0 2rem;
    background: var(--black);
    color: var(--gold);
    border-block: 1px solid rgba(255, 204, 51, 0.35);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 34s linear infinite;
}

.marquee-track span {
    padding: 0.75rem 1.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

.counter {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
    padding: 1rem 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0;
}

.counter-digits {
    justify-content: flex-start;
}

.counter-online {
    margin: 0;
    text-align: right;
}

.section-head {
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.section-no {
    margin-right: 0.5rem;
    color: var(--gold-dark);
    font-variant-numeric: tabular-nums;
}

.audio-section {
    position: relative;
    margin: 3rem 0;
    padding: 2.5rem;
    background: var(--black);
    color: var(--gray-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.audio-section::after {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -35%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 204, 51, 0.22), transparent 65%);
    pointer-events: none;
}

.audio-section > * {
    position: relative;
    z-index: 1;
}

.audio-section .eyebrow {
    color: var(--gold);
}

.audio-section h2 {
    color: var(--white);
}

.audio-section .section-head {
    border-bottom-color: rgba(255, 255, 255, 0.16);
}

.audio-section .audio-card {
    max-width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 204, 51, 0.3);
    border-top: 3px solid var(--gold);
}

.audio-section .clip-button {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.audio-section .clip-button:hover,
.audio-section .clip-button:focus-visible,
.audio-section .clip-button.is-playing {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.audio-eq {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 38px;
    margin-bottom: 1rem;
}

.audio-eq span {
    width: 4px;
    height: 12px;
    background: var(--gold);
    animation: eq 1.1s ease-in-out infinite alternate;
}

.audio-eq span:nth-child(2n) { animation-delay: 0.15s; }
.audio-eq span:nth-child(3n) { animation-delay: 0.3s; }
.audio-eq span:nth-child(4n) { animation-delay: 0.45s; }
.audio-eq span:nth-child(5n) { animation-delay: 0.6s; }

@keyframes eq {
    to { height: 34px; }
}

.home-gallery .photo-grid {
    grid-auto-flow: dense;
}

.home-gallery .photo-grid li:first-child {
    grid-column: span 2;
}

.home-gallery .photo-grid li:first-child .photo-frame {
    aspect-ratio: 16 / 9;
}

.teaser-section {
    margin-top: 3.5rem;
}

.teaser-section .teaser-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    gap: 1.2rem;
}

.teaser-section .card:first-child {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    background: var(--black);
    color: var(--gray-light);
    border-top-color: var(--gold);
}

.teaser-section .card:first-child h2 {
    color: var(--gold);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.teaser-section .card:first-child p {
    color: var(--gray-light);
}

.teaser-section .card:first-child .link-arrow {
    color: var(--gold);
    align-self: flex-start;
}

html.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

html.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 760px) {
    .hero-home {
        grid-template-columns: 1fr;
        padding-block: 1.5rem 2.5rem;
    }

    .hero-home::before {
        top: -1rem;
        font-size: 6rem;
    }

    .counter {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

    .counter-digits {
        justify-content: center;
    }

    .counter-online {
        text-align: center;
    }

    .audio-section {
        padding: 1.4rem;
    }

    .home-gallery .photo-grid li:first-child {
        grid-column: auto;
    }

    .home-gallery .photo-grid li:first-child .photo-frame {
        aspect-ratio: 4 / 3;
    }

    .teaser-section .teaser-grid {
        grid-template-columns: 1fr;
    }

    .teaser-section .card:first-child {
        grid-row: auto;
        min-height: 0;
    }

    .marquee-track span {
        padding: 0.65rem 1rem;
        font-size: 0.65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track,
    .audio-eq span {
        animation: none;
    }

    .hero-cover img {
        transition: none;
    }

    html.reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
