/* ==========================================================================
   Eisenbiker – Stylesheet
   Farben und Schriften zentral in :root anpassbar
   ========================================================================== */

@font-face {
    font-family: "Anton";
    src: url("../fonts/anton.woff") format("woff");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "DM Sans";
    src: url("../fonts/dmsans.woff") format("woff");
    font-weight: 100 1000;
    font-display: swap;
}

:root {
    --bg: #0c0c0d;
    --bg-2: #121214;
    --surface: #17171a;
    --surface-2: #1e1e22;
    --line: rgba(255, 255, 255, .08);
    --line-gold: rgba(214, 180, 90, .28);
    --text: #ece8df;
    --muted: #9b968b;
    --gold: #d6b45a;
    --gold-light: #f2d98e;
    --gold-dark: #a8842e;
    --gold-grad: linear-gradient(180deg, #f4dc93 0%, #d6b45a 55%, #b08b33 100%);
    --red: #e0564b;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
    --font-head: "Anton", "Bahnschrift", "Arial Narrow", Impact, sans-serif;
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --container: 1180px;
    --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }
::selection { background: var(--gold); color: #111; }

h1, h2, h3 {
    font-family: var(--font-head);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: .02em;
    text-transform: uppercase;
    margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; letter-spacing: .03em; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(780px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.pt-0 { padding-top: 0 !important; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--gold); color: #111; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Kicker / Labels ---------- */
.kicker {
    display: inline-flex; align-items: center; gap: .6em;
    font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold); margin: 0 0 .9rem;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold-grad); }
.kicker a { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .85em 1.5em; border-radius: 999px; border: 1px solid transparent;
    font: 700 .95rem/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase;
    cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-gold { background: var(--gold-grad); color: #17130a; box-shadow: 0 10px 30px -10px rgba(214, 180, 90, .55); }
.btn-gold:hover { color: #17130a; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(214, 180, 90, .7); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--text); border-color: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, .12); }
.btn-outline { color: var(--gold); border-color: var(--line-gold); background: transparent; }
.btn-outline:hover { background: rgba(214, 180, 90, .1); color: var(--gold-light); }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; font-size: .92rem; letter-spacing: .05em; text-transform: uppercase; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

.badge { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .3em .7em; border-radius: 999px; margin-bottom: .6rem; }
.badge-red { background: rgba(224, 86, 75, .15); color: #ff8a80; border: 1px solid rgba(224, 86, 75, .4); }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: rgba(12, 12, 13, .72);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: background .3s;
}
.home .site-header:not(.scrolled) { background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0)); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home .site-header { position: fixed; left: 0; right: 0; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand img { width: 64px; height: auto; }
.brand span {
    font-family: var(--font-head); font-size: 1.45rem; letter-spacing: .08em; text-transform: uppercase;
    background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
    position: relative; color: var(--text); font-weight: 600; font-size: .95rem;
    padding: .55em 1em; border-radius: 999px; transition: background .2s, color .2s;
}
.main-nav a:hover { color: var(--gold-light); background: rgba(255,255,255,.05); }
.main-nav a.active { color: var(--gold); }
.main-nav a.active::after {
    content: ""; position: absolute; left: 1em; right: 1em; bottom: .25em; height: 2px; border-radius: 2px; background: var(--gold-grad);
}

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04); cursor: pointer; padding: 0; position: relative; z-index: 2; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--gold); transition: transform .3s, opacity .2s, top .3s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; }
    .brand span { font-size: 1.25rem; }
    .brand img { width: 52px; }
}

/* ==========================================================================
   Hero (Startseite)
   ========================================================================== */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: grid; place-items: center; text-align: center; overflow: hidden;
    padding: calc(var(--header-h) + 40px) 0 100px;
    background:
        radial-gradient(60% 50% at 50% 38%, rgba(214, 180, 90, .16), transparent 70%),
        radial-gradient(90% 60% at 50% 110%, rgba(214, 180, 90, .08), transparent 60%),
        var(--bg);
    isolation: isolate;
}
.hero-bg {
    position: absolute; inset: 0; z-index: -2;
    background-size: cover; background-position: center;
    transform: scale(1.06); animation: heroZoom 18s ease-out forwards;
}
.hero.has-image::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(70% 55% at 50% 40%, rgba(12,12,13,.35), rgba(12,12,13,.85) 75%),
        linear-gradient(180deg, rgba(12,12,13,.5) 0%, rgba(12,12,13,.35) 40%, var(--bg) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-lines {
    position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background:
        repeating-linear-gradient(90deg, transparent 0 119px, rgba(214,180,90,.05) 119px 120px),
        repeating-linear-gradient(0deg, transparent 0 119px, rgba(214,180,90,.035) 119px 120px);
    mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent 75%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-logo {
    width: min(640px, 88vw); margin-bottom: 18px;
    filter: drop-shadow(0 12px 40px rgba(214, 180, 90, .25));
    animation: rise 1s cubic-bezier(.2,.7,.2,1) both;
}
.hero-tagline {
    font-family: var(--font-head); text-transform: uppercase; letter-spacing: .32em;
    font-size: clamp(.95rem, 2vw, 1.2rem); color: var(--gold-light); margin: 0 0 18px;
    animation: rise 1s .15s cubic-bezier(.2,.7,.2,1) both;
}
.hero-text { max-width: 620px; color: #cfcabf; font-size: 1.1rem; animation: rise 1s .3s cubic-bezier(.2,.7,.2,1) both; }
.hero-text p { margin: 0 0 .6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; animation: rise 1s .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.scroll-hint {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    width: 26px; height: 42px; border: 2px solid rgba(214,180,90,.5); border-radius: 14px;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scrollDot 1.8s infinite; }
@media (max-width: 820px), (max-height: 700px) { .scroll-hint { display: none; } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero {
    position: relative; padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 6vw, 70px);
    background: radial-gradient(50% 120% at 15% 0%, rgba(214,180,90,.12), transparent 60%);
    overflow: hidden;
}
.page-hero::after {
    content: ""; position: absolute; right: -60px; top: 50%; width: 520px; height: 140px; transform: translateY(-50%);
    background: url("../img/emblem.png") center/contain no-repeat; opacity: .06; pointer-events: none;
}
.page-hero h1 { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .25em; }
.page-hero .lead { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 0; }

/* ==========================================================================
   Sektionen
   ========================================================================== */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.h-sub { font-size: 1.6rem; display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.count { font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: var(--gold); background: rgba(214,180,90,.12); border: 1px solid var(--line-gold); border-radius: 999px; padding: .2em .7em; letter-spacing: 0; }

.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Nächste Tour ---------- */
.next-tour-section { padding-top: 0; padding-bottom: 0; position: relative; z-index: 2; }
.next-tour {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
    background: linear-gradient(135deg, rgba(214,180,90,.12), rgba(214,180,90,.02) 50%), var(--surface);
    border: 1px solid var(--line-gold); border-radius: calc(var(--radius) + 6px);
    padding: 26px 30px; box-shadow: var(--shadow);
}
.next-tour .tour { background: none; border: 0; padding: 0; box-shadow: none; }
.next-tour .tour:hover { transform: none; }
.next-tour-label { display: flex; flex-direction: column; padding-right: 28px; border-right: 1px solid var(--line); }
.next-tour-label .kicker { margin-bottom: .4rem; }
.countdown { font-family: var(--font-head); font-size: 2rem; font-weight: 400; text-transform: uppercase; color: var(--text); line-height: 1; }
@media (max-width: 900px) {
    .next-tour { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
    .next-tour-label { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 14px; flex-direction: row; justify-content: space-between; align-items: center; }
    .next-tour-label .kicker { margin: 0; white-space: nowrap; }
    .countdown { font-size: 1.5rem; white-space: nowrap; }
    .next-tour .btn { justify-self: start; }
}

/* ---------- Touren ---------- */
.tour-list { display: grid; gap: 16px; }
.tour {
    display: grid; grid-template-columns: 92px 1fr; gap: 24px; align-items: start;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px 24px; transition: border-color .25s, transform .25s, background .25s;
}
.tour:hover { border-color: var(--line-gold); transform: translateY(-2px); }
.tour:target { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214,180,90,.12); }
.tour-date {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border-radius: 12px; padding: 12px 6px; text-align: center;
    background: linear-gradient(180deg, rgba(214,180,90,.16), rgba(214,180,90,.04));
    border: 1px solid var(--line-gold);
}
.tour-date .d { font-family: var(--font-head); font-size: 2.4rem; line-height: 1; color: var(--gold-light); }
.tour-date .m { font-weight: 800; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.tour-date .y { font-size: .75rem; color: var(--muted); }
.tour-body h3 { margin-bottom: .45rem; font-size: 1.5rem; }
.tour-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--muted); font-size: .94rem; }
.tour-meta li { display: inline-flex; align-items: center; gap: .45em; }
.tour-meta .icon { color: var(--gold); }
.tour-desc { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.tour.is-cancelled h3 { text-decoration: line-through; text-decoration-color: var(--red); opacity: .7; }
.tour-list.is-past .tour { opacity: .7; }
.tour-list.is-past .tour-date { filter: grayscale(1); }
@media (max-width: 560px) {
    .tour { grid-template-columns: 64px 1fr; gap: 16px; padding: 18px; }
    .tour-date .d { font-size: 1.8rem; }
    .tour-body h3 { font-size: 1.25rem; }
    .tour-meta { flex-direction: column; gap: 4px; }
}

.past-tours summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; }
.past-tours summary::-webkit-details-marker { display: none; }
.past-tours summary h2 { margin: 0; }
.past-tours summary::after { content: "+"; margin-left: auto; font-size: 1.8rem; color: var(--gold); line-height: 1; transition: transform .3s; }
.past-tours[open] summary::after { transform: rotate(45deg); }
.past-tours[open] summary { margin-bottom: 24px; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.news-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .3s, border-color .3s, box-shadow .3s;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: var(--shadow); }
.news-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-media.no-image { display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, rgba(214,180,90,.12), transparent 70%), var(--surface-2); }
.news-media .placeholder-emblem { width: 55%; height: auto; object-fit: contain; opacity: .35; }
.news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-body time { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.news-body h3 { margin: .45rem 0 .55rem; font-size: 1.4rem; }
.news-body h3 a { color: var(--text); }
.news-body h3 a:hover { color: var(--gold-light); }
.news-body p { color: var(--muted); margin: 0 0 18px; font-size: .97rem; }
.news-body .more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.news-body .more .icon { transition: transform .2s; }
.news-body .more:hover .icon { transform: translateX(4px); }

.article-image { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.article-image .gallery-item { aspect-ratio: auto; }
.article-image img { width: 100%; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--text); font-weight: 700; }
.pagination a:hover { border-color: var(--line-gold); }
.pagination a.active { background: var(--gold-grad); color: #17130a; border-color: transparent; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery-item {
    position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px;
    background: var(--surface-2); border: 1px solid var(--line);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .4s; }
.gallery-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--gold); transition: box-shadow .3s; }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(1.08); }
.gallery-item:hover::after { box-shadow: inset 0 0 0 2px var(--gold); }
.gallery-caption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: .88rem; font-weight: 600; color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,.8)); transform: translateY(100%); transition: transform .3s;
}
.gallery-item:hover .gallery-caption, .gallery-item:focus-visible .gallery-caption { transform: none; }
.gallery-item.is-hidden { display: none; }
@media (hover: none) { .gallery-caption { transform: none; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { font: 600 .9rem var(--font-body); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .5em 1.1em; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--line-gold); }
.chip.active { background: var(--gold-grad); color: #17130a; border-color: transparent; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
    background: rgba(5,5,6,.95); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox figcaption { margin-top: 14px; color: #ddd; text-align: center; min-height: 1.4em; }
.lightbox button {
    position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06); color: #fff; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; transition: background .2s;
}
.lightbox button:hover { background: rgba(214,180,90,.3); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 32px; left: 24px; color: var(--muted); font-size: .9rem; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } }

/* ---------- Über uns ---------- */
.about-section { background: radial-gradient(60% 80% at 100% 50%, rgba(214,180,90,.08), transparent 60%); }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about-card {
    background: var(--surface); border: 1px solid var(--line-gold); border-radius: calc(var(--radius) + 6px);
    padding: 36px; text-align: center; box-shadow: var(--shadow);
}
.about-emblem { width: 70%; margin: 0 auto 22px; opacity: .9; }
.about-card p { color: var(--muted); }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Fließtext ---------- */
.prose p { margin: 0 0 1em; }
.prose strong { color: #fff; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-gold); word-break: break-word; }
.prose-lg { font-size: 1.1rem; }

.empty-state {
    display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
    padding: 56px 20px; border: 1px dashed var(--line-gold); border-radius: var(--radius); color: var(--muted);
    background: rgba(214,180,90,.03);
}
.empty-state .icon { width: 40px; height: 40px; color: var(--gold); opacity: .7; }
.empty-state p { margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #08080a; border-top: 1px solid var(--line); padding-top: 64px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 220px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); margin: 0; }
.site-footer h3 { font-size: 1rem; letter-spacing: .14em; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--text); }
.site-footer ul a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--gold); }
.admin-link { opacity: .6; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ==========================================================================
   Fahrdaten, Tour-Detailseite, Strecke & Höhenprofil
   ========================================================================== */
.tour-body h3 a { color: inherit; }
.tour-body h3 a:hover { color: var(--gold-light); }
.tour-list.is-past .tour { opacity: 1; }
.ride-stats { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ride-stats li { display: inline-flex; align-items: center; gap: .45em; font-size: .9rem; color: var(--muted); background: rgba(214,180,90,.07); border: 1px solid var(--line-gold); border-radius: 999px; padding: .3em .85em; }
.ride-stats strong { color: var(--text); font-weight: 700; }
.ride-stats .icon { color: var(--gold); }
.tour-route-link { display: inline-flex; align-items: center; gap: .45em; margin-top: 12px; font-weight: 700; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; }
.tour-route-link .icon:last-child { transition: transform .2s; }
.tour-route-link:hover .icon:last-child { transform: translateX(3px); }

.season-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 24px; }
.season-stats div, .stat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.season-stats strong, .stat-tile strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 2rem; line-height: 1.1; color: var(--gold-light); }
.season-stats span, .stat-tile span { color: var(--muted); font-size: .85rem; }

.tour-meta-lg { font-size: 1.02rem; gap: 8px 24px; }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 28px; }
.stat-tile strong small { font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--muted); margin-left: 4px; }

.route-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 22px 24px 18px; margin-bottom: 32px; }
.route-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.route-head .h-sub { margin: 0; }
.route-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-sm-pub { padding: .6em 1.1em; font-size: .8rem; }
.route-view { border-radius: 12px; overflow: hidden; background: radial-gradient(70% 70% at 50% 50%, rgba(214,180,90,.07), transparent 70%), var(--bg-2); border: 1px solid var(--line); }
.route-svg { width: 100%; height: auto; max-height: 560px; display: block; }
.route-shadow { fill: none; stroke: rgba(0,0,0,.6); stroke-width: 9; stroke-linejoin: round; stroke-linecap: round; }
.route-line { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.route-start { fill: var(--gold-light); stroke: #111; stroke-width: 3; }
.route-end { fill: #111; stroke: var(--gold-light); stroke-width: 4; }
.route-label { fill: var(--text); font: 600 22px var(--font-body); paint-order: stroke; stroke: rgba(0,0,0,.8); stroke-width: 5px; }
.route-cursor { fill: #fff; stroke: var(--gold); stroke-width: 4; pointer-events: none; }
.route-map { height: min(560px, 70vh); }
.route-map .leaflet-container { font-family: var(--font-body); }
.map-note { margin: 8px 0 0; }
.ele-title { font-size: 1.05rem; color: var(--muted); margin: 22px 0 8px; }
.ele-wrap { position: relative; }
.ele-svg { width: 100%; height: auto; display: block; overflow: visible; touch-action: pan-y; }
.ele-grid line { stroke: rgba(255,255,255,.07); stroke-width: 1; }
.ele-grid text { fill: var(--muted); font: 13px var(--font-body); }
.ele-area { fill: rgba(214,180,90,.16); }
.ele-line { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; }
.ele-cross { stroke: rgba(255,255,255,.45); stroke-width: 1; stroke-dasharray: 3 3; }
.ele-dot { fill: var(--gold-light); stroke: var(--bg); stroke-width: 2; }
.ele-hit { fill: transparent; cursor: crosshair; }
.ele-tip { position: absolute; transform: translate(-50%, -100%); pointer-events: none; background: #0b0b0c; border: 1px solid var(--line-gold); border-radius: 8px; padding: 6px 10px; font-size: .82rem; white-space: nowrap; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.3; }
.ele-tip strong { color: var(--text); }
.ele-tip span { color: var(--muted); }
.tour-text { max-width: 780px; margin-bottom: 36px; }
@media (max-width: 560px) {
    .route-card { padding: 16px 14px 12px; }
    .stat-tiles { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .stat-tile { padding: 12px 14px; }
    .stat-tile strong { font-size: 1.6rem; }
    .route-label { font-size: 30px; }
}

.ele-tip[hidden] { display: none; }
.ele-mobile { display: none; }
@media (max-width: 600px) {
    .ele-desktop { display: none; }
    .ele-mobile { display: block; }
    .ele-mobile .ele-grid text { font-size: 12px; }
}

/* Admin-Leiste (nur sichtbar, wenn man in der Verwaltung angemeldet ist) */
.admin-bar {
    position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 90;
    display: flex; align-items: center; gap: 4px; padding: 6px;
    background: rgba(14, 14, 16, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line-gold); border-radius: 999px; box-shadow: 0 16px 40px -10px rgba(0,0,0,.8);
    font-size: .88rem; white-space: nowrap;
}
.admin-bar a, .admin-bar button {
    display: inline-flex; align-items: center; gap: 6px; color: var(--text); font: 600 .88rem var(--font-body);
    padding: .55em 1em; border-radius: 999px; background: none; border: 0; cursor: pointer;
}
.admin-bar a:hover, .admin-bar button:hover { background: rgba(214,180,90,.14); color: var(--gold-light); }
.admin-bar form { margin: 0; }
.ab-user { color: var(--gold); padding: 0 10px 0 12px; font-weight: 700; }
.ab-mail b { background: var(--gold); color: #17130a; font-size: .72rem; font-weight: 800; border-radius: 999px; padding: .1em .55em; }
.ab-mail b[hidden] { display: none; }
.ab-edit { color: var(--gold) !important; }
body:has(.admin-bar) .site-footer { padding-bottom: 80px; }
@media (max-width: 640px) {
    .admin-bar { left: 8px; right: 8px; bottom: 8px; transform: none; justify-content: space-around; padding: 4px; padding-bottom: max(4px, env(safe-area-inset-bottom)); border-radius: 18px; }
    .admin-bar a, .admin-bar button { padding: .6em .55em; font-size: .82rem; }
    .ab-user, .admin-bar button span { display: none; }
}
body:has(.admin-bar) .scroll-hint { display: none; }

/* ==========================================================================
   Trommel-Menü (Handy)
   ========================================================================== */
.drum-menu {
    position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column;
    background: radial-gradient(80% 50% at 50% 50%, rgba(214,180,90,.10), transparent 70%), #09090a;
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
    overscroll-behavior: contain;
}
.drum-menu.open { opacity: 1; visibility: visible; }
.drum-menu[hidden] { display: none; }
.drum-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; flex: none; }
.drum-close { width: 44px; height: 44px; border: 1px solid var(--line-gold); border-radius: 12px; background: rgba(255,255,255,.04); cursor: pointer; position: relative; padding: 0; }
.drum-close span { position: absolute; left: 11px; right: 11px; top: 21px; height: 2px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.drum-close span + span { transform: rotate(-45deg); }

.drum-stage {
    position: relative; flex: 1; width: 100%; perspective: 800px; perspective-origin: 50% 50%;
    overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab;
    -webkit-mask-image: linear-gradient(transparent 0%, #000 22%, #000 78%, transparent 100%);
            mask-image: linear-gradient(transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.drum-stage:active { cursor: grabbing; }
.drum { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; transform-style: preserve-3d; }
.drum li {
    position: absolute; left: 0; right: 0; top: 50%; height: 72px; margin-top: -36px;
    display: flex; align-items: center; justify-content: center;
    backface-visibility: hidden; -webkit-backface-visibility: hidden; will-change: transform, opacity;
}
.drum a {
    font-family: var(--font-head); font-size: clamp(2.2rem, 11vw, 3.2rem); line-height: 1; letter-spacing: .04em;
    text-transform: uppercase; color: #8d897f; padding: 8px 28px; -webkit-tap-highlight-color: transparent;
    transition: color .2s; -webkit-user-drag: none;
}
.drum li.is-center a { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.drum li.is-current a::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-left: 12px; vertical-align: middle; transform: translateY(-4px); }
.drum-window {
    position: absolute; left: 16px; right: 16px; top: 50%; height: 78px; transform: translateY(-50%); pointer-events: none;
    border-top: 1px solid var(--line-gold); border-bottom: 1px solid var(--line-gold); border-radius: 16px;
    background: linear-gradient(90deg, rgba(214,180,90,0), rgba(214,180,90,.08) 50%, rgba(214,180,90,0));
}
.drum-window span { position: absolute; right: 14px; top: 50%; transform: translateY(-52%); color: var(--gold); font-size: 2.4rem; line-height: 1; animation: drumNudge 1.6s ease-in-out infinite; }
@keyframes drumNudge { 50% { transform: translate(5px, -52%); } }
.drum-hint { flex: none; text-align: center; color: var(--muted); font-size: .85rem; margin: 0; padding: 14px 20px max(22px, env(safe-area-inset-bottom)); letter-spacing: .04em; }

/* Ohne Animation (Systemeinstellung „Bewegung reduzieren“): einfache Liste */
.drum-menu.flat .drum-stage { touch-action: auto; overflow-y: auto; -webkit-mask-image: none; mask-image: none; cursor: auto; display: flex; align-items: center; }
.drum-menu.flat .drum { position: static; width: 100%; padding: 20px 0; }
.drum-menu.flat .drum li { position: static; margin: 0; height: auto; padding: 6px 0; }
.drum-menu.flat .drum a { color: var(--text); }
.drum-menu.flat .drum li.is-current a { color: var(--gold); }
.drum-menu.flat .drum-window, .drum-menu.flat .drum-hint { display: none; }
body.drum-open { overflow: hidden; }
