/* ==========================================================================
   DIE PIONIERE DES ÖSTERREICHISCHEN LIGAFUSSBALLS
   Designsystem: Wiener Jugendstil / Otto-Wagner-Eleganz / hist. Archiv
   ========================================================================== */

:root {
    /* Farbpalette */
    --color-cream: #F4EFE2;
    --color-cream-deep: #ECE3D0;
    --color-ink: #1E1B16;
    --color-dark-green: #1F3D2E;
    --color-dark-green-deep: #15291E;
    --color-gold: #C6A552;
    --color-brass: #AD8A4E;
    --color-burgundy: #5C2330;
    --color-brown: #4A372A;

    /* Typografie */
    --font-display: 'Cinzel', serif;
    --font-subheading: 'Playfair Display', serif;
    --font-body: 'Inter', 'Source Sans Pro', sans-serif;
    --font-caption: 'Cormorant Garamond', serif;

    /* Layout */
    --header-height: 72px;
    --book-bar-height: 76px;
    --radius-card: 6px;
    --shadow-soft: 0 4px 16px rgba(30, 27, 22, 0.08);
    --shadow-card: 0 2px 10px rgba(30, 27, 22, 0.06);

    --max-width: 1280px;
}

/* ---- Dark mode tokens ---- */
[data-bs-theme="dark"] {
    --color-cream: #1A2620;
    --color-cream-deep: #14201B;
    --color-ink: #EDE6D6;
    --color-dark-green: #C6A552;
    --color-dark-green-deep: #0F1A15;
    --color-gold: #D9BD7C;
    --color-brass: #C7A872;
    --color-burgundy: #C98A93;
    --color-brown: #D8CBB8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   GRID FALLBACK (in case Bootstrap CDN is unreachable)
   Mirrors the most common row/col patterns used on this site.
   ========================================================================== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
}
.row > [class*="col-"] {
    padding: 0 0.5rem;
    margin-bottom: 1rem;
    flex: 1 1 100%;
    max-width: 100%;
}
@media (min-width: 576px) {
    .row > .col-sm-6 { flex: 1 1 50%; max-width: 50%; }
}
@media (min-width: 768px) {
    .row > .col-md-4 { flex: 1 1 33.3333%; max-width: 33.3333%; }
    .row > .col-md-6 { flex: 1 1 50%; max-width: 50%; }
    .row > .col-md-5 { flex: 1 1 41.6667%; max-width: 41.6667%; }
    .row > .col-md-7 { flex: 1 1 58.3333%; max-width: 58.3333%; }
}
@media (min-width: 992px) {
    .row > .col-lg-3 { flex: 1 1 25%; max-width: 25%; }
    .row > .col-lg-4 { flex: 1 1 33.3333%; max-width: 33.3333%; }
    .row > .col-xl { flex: 1 1 0%; max-width: 100%; }
}
.g-2 > * { padding: 0.25rem; }
.g-3 > * { padding: 0.5rem; }
.g-4 > * { padding: 0.75rem; }

body {
    margin: 0;
    background-color: var(--color-cream);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    transition: background-color 0.4s ease, color 0.4s ease;
}

a {
    color: var(--color-burgundy);
    text-decoration: none;
}
a:hover {
    color: var(--color-gold);
}

[data-bs-theme="dark"] a {
    color: var(--color-gold);
}
[data-bs-theme="dark"] a:hover {
    color: var(--color-burgundy);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-subheading);
    font-weight: 600;
    color: var(--color-dark-green);
    letter-spacing: 0.01em;
}

[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6 {
    color: var(--color-ink);
}

.display-heading {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 2px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-cream);
    border-bottom: 1px solid var(--color-brass);
    box-shadow: var(--shadow-soft);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.6rem 1.5rem;
    min-height: var(--header-height);
}

.header-logo img {
    display: block;
    height: 48px;
    width: auto;
    border-radius: 4px;
}

.header-title {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--color-dark-green);
    text-decoration: none;
}
[data-bs-theme="dark"] .header-title {
    color: var(--color-ink);
}

.header-title-main {
    font-family: var(--font-display);
    font-size: clamp(0.85rem, 2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.primary-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.15rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
}

.primary-nav a {
    color: var(--color-ink);
    white-space: nowrap;
    padding: 0.3rem 0.45rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.primary-nav a:hover {
    color: var(--color-burgundy);
    border-bottom-color: var(--color-gold);
}
[data-bs-theme="dark"] .primary-nav a:hover {
    color: var(--color-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--color-brass);
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 20px;
    margin: 0 auto;
    background-color: var(--color-dark-green);
    transition: transform 0.25s, opacity 0.25s;
}
[data-bs-theme="dark"] .nav-toggle span {
    background-color: var(--color-ink);
}
/* Hamburger → X when open */
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   BOOK BAR (persistent on every page)
   ========================================================================== */
.book-bar {
    background: linear-gradient(135deg, var(--color-dark-green) 0%, var(--color-dark-green-deep) 100%);
    color: var(--color-cream);
    border-bottom: 1px solid var(--color-gold);
}
[data-bs-theme="dark"] .book-bar {
    background: linear-gradient(135deg, #0F1A15 0%, #0A130F 100%);
    color: var(--color-ink);
}

.book-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1.5rem;
    min-height: var(--book-bar-height);
}

.book-bar-cover {
    flex-shrink: 0;
}

.book-cover-placeholder {
    width: 46px;
    height: 64px;
    border: 1px solid var(--color-gold);
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    background: rgba(198, 165, 82, 0.08);
    color: var(--color-gold);
    text-align: center;
    padding: 0.2rem;
}
.book-cover-img {
    width: 46px;
    height: 64px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid var(--color-gold);
    display: block;
}
.book-cover-medium {
    width: 90px;
    height: auto;
    border-radius: 3px;
    border: 1px solid var(--color-gold);
    box-shadow: var(--shadow-card);
}
.archive-card img.book-cover-medium {
    width: 90px;
    height: auto;
    object-fit: contain;
    border-radius: 3px;
    border: 1px solid var(--color-gold);
    box-shadow: var(--shadow-card);
}
.book-cover-ornament {
    font-size: 0.85rem;
}
.book-cover-label {
    font-family: var(--font-caption);
    font-size: 0.55rem;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.book-bar-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.book-bar-eyebrow {
    font-family: var(--font-caption);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
}
.book-bar-title {
    font-family: var(--font-subheading);
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.book-bar-button {
    flex-shrink: 0;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 0.45rem 1.1rem;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.book-bar-button:hover {
    background-color: var(--color-gold);
    color: var(--color-dark-green-deep);
}

.book-bar-all {
    flex-shrink: 0;
    color: var(--color-cream);
    font-size: 0.82rem;
    text-decoration: underline;
    opacity: 0.8;
    white-space: nowrap;
}
.book-bar-all:hover {
    opacity: 1;
    color: var(--color-gold);
}

/* ==========================================================================
   ORNAMENT DIVIDER (signature element)
   ========================================================================== */
.ornament-divider {
    width: 100%;
    max-width: 600px;
    height: 28px;
    color: var(--color-brass);
    display: block;
    margin: 0 auto;
}
.section-divider {
    text-align: center;
    margin: 2.5rem 0;
}

/* ==========================================================================
   LAYOUT HELPERS
   ========================================================================== */
.page-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}
.page-container-narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.eyebrow {
    font-family: var(--font-caption);
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-brass);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.page-lead {
    font-family: var(--font-subheading);
    font-size: 1.15rem;
    color: var(--color-brown);
    max-width: 720px;
}
[data-bs-theme="dark"] .page-lead {
    color: var(--color-ink);
    opacity: 0.85;
}

/* ==========================================================================
   HERO (Startseite)
   ========================================================================== */
.hero {
    position: relative;
    height: 64vh;
    min-height: 480px;
    max-height: 760px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-dark-green-deep);
    color: var(--color-cream);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2.4s ease-in-out;
}
.hero-bg.active {
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,26,21,0.65) 0%, rgba(15,26,21,0.92) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 3rem 1.5rem;
}

.hero-ball-watermark {
    position: absolute;
    bottom: -8%;
    right: -6%;
    width: 320px;
    height: 320px;
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--color-cream);
    text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

.hero-subtitle {
    font-family: var(--font-subheading);
    font-size: clamp(1.05rem, 2.4vw, 1.5rem);
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.hero-intro {
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(244, 239, 226, 0.92);
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.archive-card {
    background-color: var(--color-cream-deep);
    border: 1px solid rgba(173, 138, 78, 0.35);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: block;
    height: 100%;
}
.archive-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}
.archive-card-body {
    padding: 1.25rem 1.4rem;
}
.archive-card-title {
    font-family: var(--font-subheading);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--color-dark-green);
}
[data-bs-theme="dark"] .archive-card-title {
    color: var(--color-ink);
}
.archive-card-meta {
    font-family: var(--font-caption);
    font-size: 0.9rem;
    color: var(--color-brass);
}
.archive-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

/* ==========================================================================
   ANECDOTE NOTES ("Notizzettel")
   ========================================================================== */
.anekdote-note {
    background-color: var(--color-cream-deep);
    background-image:
        repeating-linear-gradient(transparent, transparent 27px, rgba(173,138,78,0.12) 28px);
    border: 1px solid rgba(173, 138, 78, 0.4);
    border-left: 4px solid var(--color-gold);
    border-radius: 2px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-card);
    font-family: var(--font-caption);
    font-size: 1.08rem;
    line-height: 1.7;
}
.anekdote-text {
    color: var(--color-ink);
    margin-bottom: 0.6rem;
}
.anekdote-meta {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--color-brass);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
    align-items: center;
}
.anekdote-kategorie {
    border: 1px solid var(--color-brass);
    border-radius: 99px;
    padding: 0.1rem 0.7rem;
    font-size: 0.72rem;
}
.meta-sep {
    color: var(--color-brass);
    opacity: 0.6;
}
.anekdote-quelle {
    font-family: var(--font-caption);
    font-size: 0.85rem;
    color: var(--color-brown);
    opacity: 0.8;
    font-style: italic;
}

/* ==========================================================================
   TABLES (historical print look, modern usability)
   ========================================================================== */
.historic-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--color-brass);
    border-radius: var(--radius-card);
    margin-bottom: 1.5rem;
}
table.historic-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    background-color: var(--color-cream-deep);
}
table.historic-table caption {
    font-family: var(--font-subheading);
    font-size: 1.05rem;
    padding: 0.6rem 1rem;
    text-align: left;
    color: var(--color-dark-green);
    background-color: rgba(198, 165, 82, 0.12);
}
[data-bs-theme="dark"] table.historic-table caption {
    color: var(--color-ink);
}
table.historic-table th, table.historic-table td {
    padding: 0.55rem 0.8rem;
    border-bottom: 1px solid rgba(173,138,78,0.25);
    text-align: left;
    white-space: nowrap;
}
table.historic-table th {
    font-family: var(--font-subheading);
    font-weight: 600;
    color: var(--color-dark-green);
    border-bottom: 2px solid var(--color-gold);
}
[data-bs-theme="dark"] table.historic-table th {
    color: var(--color-ink);
}
table.historic-table tbody tr:hover {
    background-color: rgba(198, 165, 82, 0.08);
}
table.historic-table td.numeric, table.historic-table th.numeric {
    text-align: center;
}
table.historic-table tr.rank-1 td:first-child {
    border-left: 3px solid var(--color-gold);
}

/* ==========================================================================
   PHOTO GALLERY (masonry + lightbox)
   ========================================================================== */
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-auto-rows: 10px;
    gap: 1rem;
}
.masonry-item {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    background-color: var(--color-cream-deep);
}
.masonry-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
    loading: lazy;
}
.masonry-item:hover img {
    transform: scale(1.03);
}
.masonry-caption {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(to top, rgba(21,41,30,0.85), transparent);
    color: #F4EFE2;
    font-family: var(--font-caption);
    font-size: 0.85rem;
    padding: 1.5rem 0.8rem 0.6rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.masonry-item:hover .masonry-caption {
    opacity: 1;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 17, 14, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}
.lightbox-overlay.active {
    display: flex;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-caption {
    color: var(--color-cream);
    font-family: var(--font-caption);
    font-size: 1.05rem;
    margin-top: 1rem;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
    cursor: pointer;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
    cursor: pointer;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ==========================================================================
   SEARCH
   ========================================================================== */
.search-box {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}
.search-input {
    width: 100%;
    font-family: var(--font-subheading);
    font-size: 1.15rem;
    padding: 0.85rem 1.3rem;
    border: 2px solid var(--color-brass);
    border-radius: 99px;
    background-color: var(--color-cream-deep);
    color: var(--color-ink);
}
.search-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(198,165,82,0.2);
}
.search-suggestions {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    right: 0;
    background-color: var(--color-cream-deep);
    border: 1px solid var(--color-brass);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    z-index: 50;
    overflow: hidden;
    display: none;
}
.search-suggestions.active { display: block; }
.search-suggestion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(173,138,78,0.15);
}
.search-suggestion:last-child { border-bottom: none; }
.search-suggestion:hover, .search-suggestion.active-suggestion {
    background-color: rgba(198,165,82,0.15);
}
.search-suggestion-type {
    font-family: var(--font-caption);
    font-size: 0.78rem;
    color: var(--color-brass);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: linear-gradient(135deg, var(--color-dark-green-deep) 0%, #0E1B14 100%);
    color: var(--color-cream);
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 3rem;
}
[data-bs-theme="dark"] .site-footer {
    background: linear-gradient(135deg, #0A130F 0%, #060B08 100%);
}
.site-footer .container-fluid {
    max-width: var(--max-width);
    margin: 0 auto;
}
.footer-ornament { color: var(--color-brass); margin-bottom: 2rem; }
.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.4rem;
}
.footer-subtitle {
    font-family: var(--font-caption);
    font-style: italic;
    color: rgba(244,239,226,0.75);
    max-width: 360px;
}
.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 0.5rem 2rem;
}
.footer-nav a {
    color: rgba(244,239,226,0.85);
    font-size: 0.92rem;
}
.footer-nav a:hover { color: var(--color-gold); }
.footer-bottom {
    border-top: 1px solid rgba(173,138,78,0.25);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: rgba(244,239,226,0.55);
}
.footer-impressum-link {
    color: rgba(244,239,226,0.55);
    text-decoration: underline;
}
.footer-impressum-link:hover { color: var(--color-gold); }

/* ==========================================================================
   DARK MODE TOGGLE
   ========================================================================== */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--color-brass);
    color: var(--color-ink);
    border-radius: 99px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE / MOBILE FIRST
   ========================================================================== */
@media (max-width: 1100px) {
    .primary-nav a { padding: 0.3rem 0.35rem; font-size: 0.78rem; }
}

@media (max-width: 991px) {
    .nav-toggle { display: flex; }
    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-cream);
        border-bottom: 2px solid var(--color-gold);
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1.5rem 1rem;
        gap: 0;
        display: none;
        box-shadow: var(--shadow-soft);
        z-index: 999;
    }
    .primary-nav.open { display: flex; }
    .primary-nav a {
        width: 100%;
        padding: 0.6rem 0;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(173,138,78,0.2);
        border-left: none;
    }
    .primary-nav a:last-child { border-bottom: none; }
    .header-title-main { font-size: 0.9rem; }
}
}

@media (max-width: 576px) {
    .hero { min-height: 56vh; }
    .book-bar-text { display: none; }
    .book-bar-inner { justify-content: space-between; }
}

/* ==========================================================================
   ERGÄNZUNGEN (automatisch hinzugefügt)
   ========================================================================== */

/* 1. Typografie – größer und kräftiger */
body {
    font-size: 17px;
    font-weight: 500;
}

/* 2. Cookie-Banner */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-dark-green-deep, #15291E);
    color: #e0e0e0;
    padding: 14px 20px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 9999;
    font-size: 14px;
    border-top: 2px solid var(--color-gold, #C6A552);
    flex-wrap: wrap;
}
#cookie-banner p {
    margin: 0;
    flex: 1 1 300px;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
#cookie-accept {
    background: var(--color-gold, #C6A552);
    color: #1F3D2E;
    border: none;
    padding: 8px 18px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 3px;
    font-size: 14px;
}
#cookie-accept:hover { background: #D9BD7C; }
#cookie-decline {
    background: transparent;
    color: var(--color-gold, #C6A552);
    border: 1px solid var(--color-gold, #C6A552);
    padding: 8px 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 3px;
    font-size: 14px;
}
#cookie-decline:hover { background: rgba(198,165,82,0.12); }

/* 3. Hörbuch-Teaser auf Startseite */
.hoerbuch-teaser {
    border: 2px solid var(--color-gold, #C6A552);
    border-radius: 6px;
    padding: 24px 28px;
    margin: 32px 0;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    background: rgba(198, 165, 82, 0.06);
}
.hoerbuch-teaser-thumb { flex-shrink: 0; }
.hoerbuch-teaser-thumb img {
    width: 160px;
    height: auto;
    border-radius: 4px;
    border: 1px solid var(--color-gold, #C6A552);
    display: block;
}
.hoerbuch-teaser-text h3 {
    color: var(--color-dark-green, #1F3D2E);
    margin-top: 0;
    font-size: 1.2em;
}
[data-bs-theme="dark"] .hoerbuch-teaser-text h3 { color: var(--color-gold); }
.hoerbuch-teaser-text p { margin-bottom: 12px; }
.hoerbuch-teaser-text .btn-hoerbuch {
    display: inline-block;
    background: var(--color-gold, #C6A552);
    color: #1F3D2E;
    padding: 9px 20px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    transition: background 0.2s;
}
.hoerbuch-teaser-text .btn-hoerbuch:hover { background: #D9BD7C; color: #1F3D2E; }
@media (max-width: 580px) {
    .hoerbuch-teaser { flex-direction: column; }
    .hoerbuch-teaser-thumb img { width: 120px; }
}

/* 4. Spielerfoto im Profil */
.spieler-foto {
    float: right;
    margin: 0 0 20px 24px;
    max-width: 200px;
}
.spieler-foto img {
    width: 100%;
    border-radius: 4px;
    border: 2px solid var(--color-gold, #C6A552);
    display: block;
}
.spieler-foto figcaption {
    font-family: var(--font-caption, serif);
    font-style: italic;
    font-size: 12px;
    color: var(--color-brass, #AD8A4E);
    text-align: center;
    margin-top: 6px;
}
@media (max-width: 540px) {
    .spieler-foto {
        float: none;
        margin: 0 auto 16px;
        max-width: 140px;
        display: block;
    }
}

/* Zusatztext – Spieler- und Vereinsprofile */
.player-zusatztext p {
    line-height: 1.75;
    margin-bottom: 0.9rem;
    max-width: 72ch;
}
.player-zusatztext p:last-child {
    margin-bottom: 0;
}
