/*
 * Dunkler Auftritt fuer die oeffentliche Seite (Entwurf, 03.11.2026).
 * Wird nach main.css geladen und ueberschreibt nur, was sich aendert:
 * Farben, Schriften, Kopf, Fuss und die Startseite. Der Adminbereich hat
 * ein eigenes Layout und bleibt hell.
 */

/* ------------------------------------------------------------ Schriften
 * Lokal ausgeliefert (SIL Open Font License, siehe OFL.txt im Ordner),
 * keine Anfrage an Google oder ein anderes CDN.
 */
@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/barlow-condensed/barlow-condensed-latin-500-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-condensed/barlow-condensed-latin-600-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/barlow-condensed/barlow-condensed-latin-700-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/barlow-condensed/barlow-condensed-latin-800-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/barlow-condensed/barlow-condensed-latin-900-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/barlow-condensed/barlow-condensed-latin-700-italic.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/barlow-condensed/barlow-condensed-latin-800-italic.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: italic;
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/barlow-condensed/barlow-condensed-latin-900-italic.woff2") format("woff2");
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/manrope/manrope-latin-wght-normal.woff2") format("woff2");
}

/* ------------------------------------------------------------ Farben */
:root {
    --color-primary: #E03A2C;
    --color-primary-dark: #B92C20;
    --color-primary-deep: #8E2B20;
    --color-bg: #0F0F10;
    --color-surface: #18181A;
    --color-paper: #1C1C1F;
    --color-surface-muted: #26262A;
    --color-text: #F2EFEA;
    --color-text-muted: #A7A099;
    --color-border: rgba(255, 255, 255, 0.09);
    --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.45);
    --shadow-lift: 0 18px 42px rgba(0, 0, 0, 0.55);
    --color-header: rgba(12, 12, 13, 0.86);
    --color-header-soft: #141416;
    --color-accent-dark: #FF6A5C;
    --stage-width: 1320px;
}

html {
    color-scheme: dark;
}

body {
    overflow-x: clip;
    background: var(--color-bg);
}

a {
    color: var(--color-accent-dark);
}

a:hover {
    color: #ffffff;
}

/* Rennstreifen: drei schraege Balken wie im Logo */
.wordmark__stripes,
.home-section__title::before {
    display: inline-grid;
    gap: 0.13em;
}

/* ------------------------------------------------------------ Kopf */
.site-header {
    background: var(--color-header);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.site-header__inner {
    width: min(100% - 2rem, var(--stage-width));
    padding: 0.7rem 0;
}

.brand,
.brand:hover {
    color: var(--color-text);
}

.wordmark {
    display: grid;
    gap: 0.18rem;
    line-height: 1;
}

.wordmark__name {
    display: inline-flex;
    align-items: flex-end;
    gap: 0.28em;
    color: #F4F1EC;
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 2.5vw, 2.15rem);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.wordmark__accent {
    color: var(--color-primary);
}

.wordmark__stripes {
    justify-items: end;
    margin: 0 0 0.16em -0.05em;
}

.wordmark__stripes i {
    display: block;
    height: 0.09em;
    min-height: 2px;
    background: var(--color-primary);
    transform: skewX(-35deg);
}

.wordmark__stripes i:nth-child(1) { width: 1.05em; }
.wordmark__stripes i:nth-child(2) { width: 0.85em; }
.wordmark__stripes i:nth-child(3) { width: 0.65em; }

.wordmark__sub {
    color: var(--color-text-muted);
    font-size: clamp(0.62rem, 0.8vw, 0.72rem);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.main-nav__link,
.main-nav__dropdown summary {
    color: #E9E5DF;
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.main-nav__link:hover,
.main-nav__link.is-active {
    color: var(--color-primary);
}

/* ------------------------------------------------------------ Buehne (Startbild) */
.hero--stage {
    width: 100vw;
    max-width: none;
    min-height: clamp(32rem, 84vh, 52rem);
    margin: 0 0 0 calc(50% - 50vw);
    background: #0B0B0C;
    transform: none;
}

.hero--stage .hero__media img {
    object-position: 62% center;
    animation: buehne-zoom 18s ease-out both;
}

@keyframes buehne-zoom {
    from { transform: scale(1.07); }
    to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .hero--stage .hero__media img {
        animation: none;
    }
}

.hero--stage .hero__media::after {
    background:
        linear-gradient(90deg, rgba(10, 10, 11, 0.9) 0%, rgba(10, 10, 11, 0.62) 30%, rgba(10, 10, 11, 0.08) 58%, rgba(10, 10, 11, 0) 75%),
        linear-gradient(0deg, var(--color-bg) 0%, rgba(15, 15, 16, 0.6) 14%, rgba(15, 15, 16, 0) 38%);
}

.hero--stage .hero__content {
    align-content: end;
    max-width: none;
    width: min(100% - 2rem, var(--stage-width));
    margin: 0 auto;
    padding: 6rem 0 clamp(2.5rem, 6vh, 4.5rem);
}

.hero--stage .hero__content > * {
    max-width: 40rem;
}

.hero--stage .hero__eyebrow {
    color: var(--color-primary);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
}

.hero--stage h1 {
    margin-bottom: 1.1rem;
    font-family: var(--font-display);
    font-size: clamp(3.6rem, 8.2vw, 7.4rem);
    font-style: italic;
    font-weight: 900;
    line-height: 0.84;
    letter-spacing: 0.005em;
}

.hero--stage h1 span {
    color: #ffffff;
    font-size: 0.62em;
    font-style: italic;
    letter-spacing: 0.04em;
}

.hero--stage h1 strong {
    color: var(--color-primary);
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.hero--stage h1::after {
    width: 5.5rem;
    height: 0.6rem;
    margin-top: 1.1rem;
    background: repeating-linear-gradient(180deg, var(--color-primary) 0 2px, transparent 2px 4px);
    transform: skewX(-35deg);
}

.hero--stage .hero__text {
    max-width: 31rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    font-weight: 600;
    line-height: 1.55;
}

.hero--stage .hero__actions {
    margin-top: 1.6rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 4vw, 3.2rem);
    margin: clamp(2rem, 5vh, 3.2rem) 0 0;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats div {
    display: flex;
    flex-direction: column-reverse;
}

.hero-stats dd {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    font-style: italic;
    font-weight: 800;
    line-height: 1;
}

/* Klappziffern: home-motion.js baut je Ziffer ein Kaertchen */
.hero-stats .flip-count {
    display: flex;
    gap: 0.08em;
    font-style: normal;
    perspective: 400px;
}

.flip-count__card {
    position: relative;
    display: inline-block;
    min-width: 0.78em;
    padding: 0.1em 0.08em 0.06em;
    border-radius: 0.12em;
    background: linear-gradient(180deg, #2A2A2E 0%, #202024 49%, #18181B 51%, #1E1E22 100%);
    box-shadow: 0 0.12em 0.3em rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    text-align: center;
    transform-origin: center;
}

/* Die Trennfuge in der Mitte, wie bei einer Fallblattanzeige */
.flip-count__card::after {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(0, 0, 0, 0.75);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    content: "";
}

.flip-count__card.is-flipping {
    animation: klappe 220ms cubic-bezier(0.3, 0.6, 0.4, 1);
}

.flip-count__sep {
    align-self: flex-end;
    padding-bottom: 0.05em;
}

@keyframes klappe {
    0% {
        transform: rotateX(-88deg);
        filter: brightness(0.55);
    }

    100% {
        transform: none;
        filter: none;
    }
}

.hero-stats dt {
    margin-top: 0.45rem;
    color: var(--color-text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* ------------------------------------------------------------ Knoepfe */
.button {
    min-height: 2.9rem;
    padding: 0.6rem 1.25rem;
    border-radius: 0.22rem;
    background: var(--color-primary);
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    box-shadow: 0 10px 26px rgba(224, 58, 44, 0.28);
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(224, 58, 44, 0.38);
}

.button--secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    backdrop-filter: blur(4px);
}

.button--secondary:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

/* ------------------------------------------------------------ Termin im Startbild */
.event-teaser,
.event-teaser:hover {
    margin-top: 1.4rem;
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--color-text);
    background: rgba(18, 18, 20, 0.62);
    box-shadow: none;
}

.event-teaser strong {
    color: #ffffff;
}

/* ------------------------------------------------------------ Abschnitte */
/* Breiter als der Inhaltsbereich und mittig - ueber den Rand statt ueber
 * transform, denn die Einblend-Bewegung (motion-ready) setzt transform selbst. */
.home-section {
    width: min(100vw - 2rem, var(--stage-width));
    margin: clamp(2.6rem, 6vw, 4.6rem) 0 0 calc(50% - min(50vw - 1rem, var(--stage-width) / 2));
}

.home-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1.25rem;
}

.home-section__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.home-section__title::before {
    width: 2.4rem;
    height: 0.55em;
    background: repeating-linear-gradient(180deg, var(--color-primary) 0 3px, transparent 3px 7px);
    transform: skewX(-35deg);
    content: "";
}

.home-section__more {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.home-section__more:hover {
    color: #ffffff;
}

.home-section__more svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
}

.home-empty-state {
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--color-text-muted);
    background: var(--color-surface);
}

/* ------------------------------------------------------------ Fotoband */
.photo-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(9.5rem, 15vw, 14.5rem);
    gap: 0.5rem;
}

.photo-band__item {
    position: relative;
    overflow: hidden;
    border-radius: 0.3rem;
    background: #1A1A1C;
}

.photo-band__item--lead {
    grid-column: span 2;
    grid-row: span 2;
}

.photo-band__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.photo-band__item::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0) 45%);
    opacity: 0;
    transition: opacity 260ms ease;
    content: "";
}

.photo-band__caption {
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.75rem;
    z-index: 1;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.15;
    opacity: 0;
    transform: translateY(0.4rem);
    transition: opacity 260ms ease, transform 260ms ease;
}

.photo-band__item:hover img,
.photo-band__item:focus-visible img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.04);
}

.photo-band__item:hover::after,
.photo-band__item:focus-visible::after,
.photo-band__item:hover .photo-band__caption,
.photo-band__item:focus-visible .photo-band__caption {
    opacity: 1;
    transform: none;
}

/* ------------------------------------------------------------ Album-Plakate */
.album-posters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(11rem, 16vw, 15rem);
    gap: 0.75rem;
}

.album-poster {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 0.3rem;
    color: #ffffff;
    background: #1A1A1C;
    text-decoration: none;
    isolation: isolate;
}

.album-poster::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--poster-image, var(--image-hero-harald)) center / cover;
    transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
    content: "";
}

.album-poster::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(8, 8, 9, 0.92) 0%, rgba(8, 8, 9, 0.35) 45%, rgba(8, 8, 9, 0) 70%);
    content: "";
}

.album-poster:hover {
    color: #ffffff;
}

.album-poster:hover::before {
    transform: scale(1.06);
}

.album-poster--lead {
    grid-column: span 2;
    grid-row: span 2;
}

.album-poster__meta {
    display: grid;
    gap: 0.15rem;
    padding: 1rem 1.1rem;
}

.album-poster__badge {
    justify-self: start;
    margin-bottom: 0.35rem;
    padding: 0.15rem 0.55rem;
    border-radius: 0.15rem;
    color: #ffffff;
    background: var(--color-primary);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transform: skewX(-12deg);
}

.album-poster__context {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.album-poster strong {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    font-style: italic;
    font-weight: 800;
    line-height: 1.02;
    text-transform: uppercase;
}

.album-poster--lead strong {
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
}

.album-poster em {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 700;
}

/* ------------------------------------------------------------ Termin-Band */
.home-cta {
    position: relative;
    overflow: hidden;
    border-radius: 0.3rem;
    background:
        linear-gradient(100deg, rgba(185, 44, 32, 0.96) 0%, rgba(142, 43, 32, 0.9) 45%, rgba(20, 14, 12, 0.55) 100%),
        var(--image-hero-harald) center 40% / cover;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 1.8rem 100%, 0 calc(100% - 1.8rem));
}

.home-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem 2rem;
    padding: clamp(1.6rem, 3.5vw, 2.6rem) clamp(1.4rem, 3.5vw, 3rem);
}

.home-cta__text {
    flex: 1 1 22rem;
}

.home-cta .eyebrow {
    margin-bottom: 0.25rem;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.2em;
}

.home-cta h2 {
    margin-bottom: 0.35rem;
    color: #ffffff;
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.home-cta p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
}

.home-cta__date {
    display: grid;
    place-items: center;
    min-width: 5.5rem;
    padding: 0.6rem 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    font-family: var(--font-display);
    line-height: 1;
}

.home-cta__date span {
    font-size: 2.6rem;
    font-style: italic;
    font-weight: 900;
}

.home-cta__date strong {
    font-size: 1rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-cta .button {
    color: var(--color-primary-dark);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.home-cta .button:hover {
    color: #ffffff;
    background: #111112;
}

/* ------------------------------------------------------------ Unterseiten
 * main.css hat hier feste helle Flaechen statt Farbvariablen.
 */
.page-intro h1 {
    font-style: italic;
    font-weight: 900;
    letter-spacing: 0.005em;
}

.main-nav__dropdown-panel {
    background: var(--color-surface);
}

.section--warm,
.album-row,
.mini-album,
.event-series,
.event-series__header {
    background: var(--color-surface);
}

.album-row:hover,
.mini-album:hover {
    background: var(--color-surface-muted);
}

.album-row,
.mini-album,
.event-series,
.event-series__header,
.event-item + .event-item {
    border-color: var(--color-border);
}

.event-item--shared {
    background: rgba(255, 255, 255, 0.03);
}

.event-item h4 time {
    color: var(--color-primary);
}

.event-links a,
.event-links--compact a {
    border-color: rgba(224, 58, 44, 0.45);
    color: var(--color-accent-dark);
    background: transparent;
}

.event-links a:hover {
    color: #ffffff;
    background: var(--color-primary);
}

.public-social-link__item {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-text);
    background: var(--color-surface);
}

.public-social-link__item:hover {
    border-color: var(--color-primary);
    background: var(--color-surface-muted);
}

/* Die Symbole sind Umrisse wie im Fuss - ohne das fuellt der Browser sie schwarz. */
.public-social-link__item svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.footer-social__link {
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.footer-social__link:hover {
    color: #ffffff;
    border-color: var(--color-primary);
    background: var(--color-primary);
}

/* ------------------------------------------------------------ Bewegung
 * Startbild: Zeilen fahren nacheinander herein, die Streifen ziehen auf.
 * Laufband: neue Alben ziehen durch wie ein Renn-Ticker.
 * Scrollen: Fotos und Alben gleiten ins Bild (Klasse setzt home-motion.js).
 * Mit "Bewegung reduzieren" steht alles still.
 */
@keyframes einfahren {
    from {
        opacity: 0;
        transform: translateX(-2.5rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes streifen-ziehen {
    from {
        transform: skewX(-35deg) scaleX(0);
    }

    to {
        transform: skewX(-35deg) scaleX(1);
    }
}

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

.hero--stage .hero__eyebrow,
.hero--stage h1 span,
.hero--stage h1 strong,
.hero--stage .hero__text,
.hero--stage .hero__actions,
.hero--stage .event-teaser,
.hero--stage .hero-stats {
    animation: einfahren 800ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* Erst "Willkommen bei", kurz danach schiesst "Sportfoto Luis" hinterher. */
.hero--stage .hero__eyebrow { animation-delay: 150ms; }
.hero--stage h1 span { animation-delay: 300ms; }
.hero--stage h1 strong {
    animation: reinschiessen 650ms cubic-bezier(0.25, 1.4, 0.4, 1) 950ms both;
}
.hero--stage .hero__text { animation-delay: 1500ms; }
.hero--stage .hero__actions { animation-delay: 1650ms; }
.hero--stage .event-teaser { animation-delay: 1750ms; }
.hero--stage .hero-stats { animation-delay: 1800ms; }

@keyframes reinschiessen {
    from {
        opacity: 0;
        transform: translateX(-5rem) skewX(-8deg);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hero--stage h1::after {
    transform-origin: left center;
    animation: streifen-ziehen 600ms cubic-bezier(0.2, 0.8, 0.2, 1) 1300ms both;
}

.home-ticker {
    position: relative;
    z-index: 2;
    width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    overflow: hidden;
    background: var(--color-primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.home-ticker__track {
    display: flex;
    width: max-content;
    animation: laufband 45s linear infinite;
}

.home-ticker:hover .home-ticker__track,
.home-ticker:focus-within .home-ticker__track {
    animation-play-state: paused;
}

.home-ticker__list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-ticker a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0 0.75rem 1.6rem;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-ticker a::after {
    margin-left: 1rem;
    opacity: 0.55;
    content: "+++";
}

.home-ticker a:hover strong {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.home-ticker strong {
    font-style: italic;
    font-weight: 900;
}

.home-ticker a span {
    font-weight: 600;
    opacity: 0.85;
}

.home-ticker__new {
    padding: 0.05rem 0.45rem;
    color: #ffffff;
    background: #111112;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    transform: skewX(-12deg);
}

.home-ticker a .home-ticker__new {
    opacity: 1;
}

.motion-ready .photo-band__item,
.motion-ready .album-poster,
.motion-ready .home-cta {
    opacity: 0;
    transform: translateY(1.6rem);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.motion-ready .photo-band__item.is-visible,
.motion-ready .album-poster.is-visible,
.motion-ready .home-cta.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero--stage .hero__eyebrow,
    .hero--stage h1 span,
    .hero--stage h1 strong,
    .hero--stage h1::after,
    .hero--stage .hero__text,
    .hero--stage .hero__actions,
    .hero--stage .event-teaser,
    .hero--stage .hero-stats,
    .home-ticker__track {
        animation: none;
    }

    /* Steht still: einmal die Eintraege, umgebrochen statt Scrollbalken */
    .home-ticker__track {
        width: auto;
    }

    .home-ticker__list {
        flex-wrap: wrap;
    }

    .home-ticker__list[aria-hidden="true"] {
        display: none;
    }
}

/* ------------------------------------------------------------ Galerie-Karten
 * Auf hellem Grund dunkelte ein Verlauf die Bilder bis 78 % ab - auf dunklem
 * Grund frisst er die Farben. Hier nur noch ein Hauch am unteren Rand.
 */
.album-card--public {
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.album-card--public:hover {
    border-color: rgba(224, 58, 44, 0.5);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    transform: translateY(-3px);
}

.album-card--public .album-card__cover--photo {
    background:
        linear-gradient(0deg, rgba(10, 10, 11, 0.45), rgba(10, 10, 11, 0) 40%),
        var(--album-preview-image) center / cover;
}

.album-card--public .album-card__cover:hover,
.album-card--public .album-card__cover:focus-visible {
    filter: saturate(1.1) brightness(1.06);
}

.album-card__body h2 {
    font-style: italic;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.album-card .button--card {
    min-height: 2.4rem;
    border-color: rgba(255, 255, 255, 0.18);
    background: transparent;
    font-size: 1rem;
}

.album-card .button--card:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

/* ------------------------------------------------------------ Grossansicht
 * Fast schwarz statt durchscheinend: Das Foto steht frei, die Seite
 * dahinter lenkt nicht ab.
 */
.lightbox__backdrop {
    background: rgba(5, 5, 6, 0.96);
    backdrop-filter: blur(6px);
}

.lightbox__image {
    border-radius: 0.2rem;
    background: #111112;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.lightbox__close,
.lightbox__nav {
    background: rgba(255, 255, 255, 0.08);
}

.lightbox__close:hover,
.lightbox__nav:hover {
    background: var(--color-primary);
}

/* Beschriftung groesser, damit sie neben dem Foto lesbar bleibt */
.lightbox__image {
    max-height: calc(100vh - 11rem);
}

.lightbox__caption {
    gap: 0.55rem;
    color: #ffffff;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
}

.lightbox__counter {
    padding: 0.05rem 0.5rem;
    border-radius: 0.15rem;
    color: #ffffff;
    background: var(--color-primary);
    font-size: 1.05rem;
    font-weight: 700;
}

.lightbox__meta {
    gap: 0.4rem 1.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
}

.lightbox__download {
    padding: 0.15rem 0.7rem;
    border: 1px solid rgba(224, 58, 44, 0.6);
    border-radius: 0.2rem;
    color: #ffffff;
}

.lightbox__download:hover {
    color: #ffffff;
    background: var(--color-primary);
}

/* ------------------------------------------------------------ Wartungsseite */
.maintenance-body {
    background:
        linear-gradient(135deg, rgba(10, 10, 11, 0.92), rgba(10, 10, 11, 0.78)),
        var(--image-hero-harald) center / cover fixed;
}

.maintenance-card {
    border-color: var(--color-border);
    background: rgba(24, 24, 26, 0.94);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.maintenance-brand.wordmark {
    margin: 0;
}

.maintenance-brand .wordmark__name {
    font-size: clamp(2rem, 5vw, 3rem);
}

.maintenance-brand .wordmark__sub {
    font-size: 0.85rem;
}

.maintenance-content h1 {
    color: #ffffff;
    font-style: italic;
    font-weight: 900;
}

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

.maintenance-closing {
    color: var(--color-primary);
}

/* ------------------------------------------------------------ Fuss */
.site-main {
    padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.site-footer {
    background: #0A0A0B;
    border-top: 3px solid var(--color-primary);
}

.site-footer__inner {
    width: min(100% - 2rem, var(--stage-width));
    padding: 1.4rem 0;
}

.footer-brand span,
.footer-brand a,
.footer-nav a {
    color: var(--color-text-muted);
}

.footer-nav a + a::before {
    color: rgba(255, 255, 255, 0.25);
}

/* ------------------------------------------------------------ Schmal */
@media (max-width: 820px) {
    .photo-band,
    .album-posters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero--stage .hero__content {
        padding-top: 4rem;
    }
}

@media (max-width: 560px) {
    .hero--stage {
        min-height: 36rem;
    }

    .hero--stage .hero__media img {
        object-position: 70% center;
    }

    .hero--stage .hero__media::after {
        background:
            linear-gradient(0deg, var(--color-bg) 0%, rgba(10, 10, 11, 0.86) 45%, rgba(10, 10, 11, 0.5) 100%);
    }

    .photo-band {
        grid-auto-rows: 8.5rem;
    }

    .album-posters {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: 12rem;
    }

    .album-poster--lead {
        grid-column: auto;
        grid-row: span 1;
    }

    .wordmark__sub {
        display: none;
    }
}
