/* ==========================================================================
   OMUNE – Designsystem
   Ranger Green · Olive Drab · Coyote · Sand · Anthrazit
   Schriften lokal: Rajdhani (Überschriften), IBM Plex Sans (Text), IBM Plex Mono (Metadaten)
   ========================================================================== */

@font-face { font-family: "Rajdhani"; src: url("../fonts/rajdhani-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("../fonts/rajdhani-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("../fonts/rajdhani-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
    --bg: #111410;
    --bg-2: #1a1e18;
    --surface: #242a21;
    --surface-2: #2b3127;
    --ranger: #59664a;
    --olive: #70795a;
    --coyote: #80664b;
    --sand: #c4b69a;
    --sand-bright: #d8cbaf;
    --text: #e7e6dc;
    --text-2: #a9ada0;
    --text-3: #868a7e;
    --border: #41483a;
    --border-soft: #2f362b;
    --success: #71886a;
    --warning: #c3a063;
    --danger: #b0644f;
    --verified: #79ab57;
    --discord: #5865f2;        /* Discord-Lila („Blurple“) für verifizierte Gästebucheinträge */
    --discord-soft: #a5acff;   /* hellere Variante für Text auf dunklem Grund */
    --like: #c9735a;

    --font-head: "Rajdhani", "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
    --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

    --container: 1240px;
    --gutter: 16px;
    --radius: 2px;
    --header-h: 64px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow: 0 18px 40px -24px rgba(0, 0, 0, .8);
}

@media (min-width: 700px) { :root { --gutter: 24px; --header-h: 72px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 1rem/1.65 var(--font-body);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sand-bright); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.05; letter-spacing: .01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
code, pre, .mono { font-family: var(--font-mono); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
::selection { background: var(--olive); color: #fff; }

.icon { width: 1.1em; height: 1.1em; flex: none; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; 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: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--sand); color: var(--bg); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.muted { color: var(--text-2); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
main { display: block; min-height: 60vh; }
main:focus { outline: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    height: var(--header-h);
    background: rgba(17, 20, 16, .86);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    border-bottom: 1px solid var(--border-soft);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 34px; }
@media (min-width: 700px) { .brand img { height: 40px; } }

.main-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.nav-list, .nav-social { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav-list { gap: 2px; }
.nav-link {
    position: relative; display: flex; align-items: baseline; gap: 6px; white-space: nowrap;
    padding: 10px 10px;
    color: var(--text-2); text-decoration: none;
    font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .08em;
    transition: color .2s var(--ease);
}
.nav-index { font-family: var(--font-mono); font-size: .66rem; color: var(--text-3); letter-spacing: 0; }
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--sand); }
.nav-link.is-active .nav-index { color: var(--sand); }
.nav-social { gap: 4px; padding-left: 16px; border-left: 1px solid var(--border); }
.nav-social a { display: grid; place-items: center; width: 34px; height: 34px; color: var(--text-2); }
.nav-social a:hover { color: var(--sand); }
.nav-social .icon { width: 17px; height: 17px; }

.header-tools { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; }
.lang-switch a { color: var(--text-2); text-decoration: none; padding: 6px 4px; }
.lang-switch a:hover { color: var(--text); }

/* ---------- Wartungsmodus ---------- */
.staff-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; padding: 8px 16px; background: rgba(195, 160, 99, .14); border-bottom: 1px solid rgba(195, 160, 99, .45); color: var(--warning); font-size: .74rem; letter-spacing: .04em; }
.staff-banner span { display: inline-flex; align-items: center; gap: 8px; }
.staff-banner .icon { width: 14px; height: 14px; }
.staff-banner form { margin: 0; }
.staff-banner .btn-text { color: var(--text-2); }
.maint { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; overflow: hidden; }
.maint-card { position: relative; width: min(560px, 100%); display: grid; gap: 16px; padding: 32px 28px; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--warning); box-shadow: var(--shadow); }
.maint-logo { width: 150px; height: auto; margin-bottom: 8px; }
.maint .kicker { margin: 0; }
.maint .kicker-num .icon { width: 14px; height: 14px; color: var(--warning); vertical-align: -2px; }
.maint-title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.maint-text { margin: 0; color: var(--text-2); }
.maint .notice { margin: 0; }
.maint-team { display: grid; gap: 10px; justify-items: start; padding-top: 16px; border-top: 1px solid var(--border-soft); }
.maint-team-label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.maint-team-label .icon { width: 14px; height: 14px; }
.maint-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; font-size: .74rem; letter-spacing: .06em; }
.maint-links a { color: var(--text-3); text-decoration: none; border-bottom: 1px solid var(--border); }
.maint-links a:hover { color: var(--sand); border-color: var(--sand); }

/* Musik-Schalter: schwebt unten links */
.music-toggle {
    position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60;
    display: grid; place-items: center; width: 46px; height: 44px; padding: 0;
    background: rgba(17, 20, 16, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border: 1px solid var(--border); border-left: 3px solid var(--text-3); border-radius: var(--radius);
    color: var(--text-2); cursor: pointer; box-shadow: var(--shadow);
    transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.music-toggle:hover { color: var(--sand); border-color: var(--olive); background: rgba(36, 42, 33, .92); }
.music-toggle[aria-pressed="true"] { color: var(--sand); border-left-color: var(--sand); }
.music-toggle-icon { display: grid; place-items: center; }
.music-toggle .icon { width: 20px; height: 20px; }
.music-toggle .music-icon-off, .music-toggle[aria-pressed="false"] .music-icon-on { display: none; }
.music-toggle[aria-pressed="false"] .music-icon-off { display: block; }
@media (max-width: 700px) { .music-toggle { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); } }
@media print { .music-toggle { display: none; } }
.lang-current { color: var(--bg); background: var(--sand); padding: 2px 6px; font-weight: 500; }
.lang-sep { color: var(--text-3); }
.nav-toggle { display: none; width: 42px; height: 42px; place-items: center; background: transparent; border: 1px solid var(--border); color: var(--text); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Desktop: Social-Icons nur im mobilen Menü und im Footer, damit alle Menüpunkte einzeilig passen */
@media (min-width: 1100px) {
    .main-nav .nav-social { display: none; }
    .nav-link { padding-left: 8px; padding-right: 8px; }
    .nav-link.is-active::after { left: 8px; right: 8px; }
}

@media (max-width: 1099px) {
    .header-inner { justify-content: space-between; }
    .js .nav-toggle { display: grid; }
    .js .main-nav {
        position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
        flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
        padding: 24px var(--gutter) 40px;
        background: var(--bg);
        overflow-y: auto;
        visibility: hidden; opacity: 0; transform: translateY(-8px);
        transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
    }
    .js .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
    /* backdrop-filter würde das fixierte Menü an die 64 px hohe Kopfzeile binden → auf Mobilgeräten deaktivieren */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
    .js .main-nav { height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
    .js .nav-link { padding: 13px 4px; font-size: 1.3rem; }
    body.nav-open main, body.nav-open .site-footer { visibility: hidden; }
    .js .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .js .nav-link { padding: 16px 4px; font-size: 1.5rem; border-bottom: 1px solid var(--border-soft); gap: 14px; }
    .js .nav-link.is-active::after { left: 4px; right: auto; width: 40px; bottom: -1px; }
    .js .nav-social { border-left: 0; padding-left: 0; gap: 8px; }
    .js .nav-social a { width: 46px; height: 46px; border: 1px solid var(--border); }
    .no-js .site-header { height: auto; position: static; }
    .no-js .header-inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
    .no-js .main-nav { order: 3; flex-basis: 100%; justify-content: flex-start; flex-wrap: wrap; }
    .no-js .nav-list { flex-wrap: wrap; }
    body.nav-open { overflow: hidden; }
}

/* ---------- Typo-Elemente ---------- */
.kicker {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
    font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-2);
}
.kicker-num { color: var(--sand); }
.kicker-sep { color: var(--text-3); }
.meta-line { font-size: .78rem; color: var(--text-3); letter-spacing: .04em; margin-top: 14px; }
.page-title { font-size: clamp(2.4rem, 6vw, 4.2rem); text-transform: uppercase; letter-spacing: .02em; }
.page-lead { max-width: 62ch; margin-top: 16px; font-size: 1.08rem; color: var(--text-2); }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.5rem); text-transform: uppercase; }
.sub-title { font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; margin: 28px 0 14px; }
.sub-title:first-child { margin-top: 0; }
.prose { max-width: 70ch; }
.prose p { color: var(--text); }
.placeholder-text { font-style: italic; }
.todo { color: var(--warning); font-family: var(--font-mono); font-size: .88em; }

/* ---------- Buttons & Links ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px;
    font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
    color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
    cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { color: var(--text); border-color: var(--olive); background: var(--surface); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sand); color: #14170f; border-color: var(--sand); }
.btn-primary:hover { background: var(--sand-bright); border-color: var(--sand-bright); color: #14170f; }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: rgba(196, 182, 154, .06); }
.btn-small { min-height: 38px; padding: 8px 14px; font-size: .9rem; gap: 8px; }
.btn-danger { background: transparent; border-color: rgba(176, 100, 79, .55); color: #e3a493; }
.btn-danger:hover { background: rgba(176, 100, 79, .14); border-color: var(--danger); color: #f0b7a7; }
.btn[disabled], .btn.is-loading { opacity: .6; cursor: progress; }
.btn-text { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; background: none; border: 0; color: var(--text-3); font-size: .8rem; cursor: pointer; font-family: var(--font-mono); }
.btn-text:hover { color: var(--sand); }
.btn-text .icon { width: 14px; height: 14px; }
.link-arrow {
    display: inline-flex; align-items: center; gap: 8px; flex: none;
    font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; color: var(--sand);
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-small { font-size: .82rem; color: var(--text-2); }

/* ---------- Badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
    display: inline-flex; align-items: center; gap: 5px; margin: 0;
    padding: 3px 8px; border: 1px solid var(--border); border-radius: var(--radius);
    font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); background: rgba(36, 42, 33, .6);
}
.badge .icon { width: 12px; height: 12px; }
.badge-color { border-color: rgba(128, 102, 75, .6); color: #d4bfa2; }
.status-in_use { border-color: rgba(113, 136, 106, .7); color: #a7c09f; }
.status-archived { border-color: var(--border); color: var(--text-3); }
.status-planned { border-color: rgba(195, 160, 99, .6); color: var(--warning); }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list .badge { font-size: .78rem; padding: 6px 12px; }

/* ---------- Raster / Karten-Linien ---------- */
.grid-lines {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(196, 182, 154, .045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(196, 182, 154, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, #000 30%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--border-soft); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 38% 58%; filter: saturate(.72) contrast(1.06) brightness(.82); }
.hero-shade {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(17, 20, 16, .94) 0%, rgba(17, 20, 16, .72) 42%, rgba(17, 20, 16, .25) 75%, rgba(17, 20, 16, .35) 100%),
        linear-gradient(0deg, rgba(17, 20, 16, 1) 0%, rgba(17, 20, 16, 0) 38%);
}
.hero .grid-lines { z-index: -1; mask-image: linear-gradient(90deg, #000, transparent 65%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 65%); }
.hero-inner { padding-top: 96px; padding-bottom: 64px; }
.hero-title { margin: 0 0 18px; }
.hero-title img { width: min(560px, 86vw); height: auto; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .5)); }
.hero-callsign { display: flex; gap: 12px; align-items: center; margin: 0 0 22px; font-size: .9rem; color: var(--text); letter-spacing: .06em; }
.hero-callsign span { color: var(--sand); font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; padding: 2px 8px; border: 1px solid rgba(196, 182, 154, .45); }
.hero-motto { margin: 0 0 16px; padding-left: 16px; border-left: 2px solid var(--sand); }
.hero-motto p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; letter-spacing: .02em; color: var(--text); }
.hero-lead { max-width: 54ch; color: var(--text-2); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-status { margin-top: 32px; }
@media (max-width: 699px) {
    .hero { min-height: auto; }
    .hero-inner { padding-top: 140px; padding-bottom: 40px; }
    .hero-media img { object-position: 45% 35%; }
    .hero-shade { background: linear-gradient(0deg, rgba(17, 20, 16, 1) 8%, rgba(17, 20, 16, .78) 55%, rgba(17, 20, 16, .35) 100%); }
    .hero-actions .btn { flex: 1 1 100%; }
}

/* Live-Status */
.live-pill {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px;
    border: 1px solid var(--border); background: rgba(17, 20, 16, .7);
    font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; color: var(--text-2); text-decoration: none;
}
.live-pill:hover { color: var(--text); border-color: var(--olive); }
.live-pill .icon { width: 15px; height: 15px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.live-pill.is-live { border-color: rgba(195, 160, 99, .7); color: var(--text); }
.live-pill.is-live .live-dot { background: #d9534f; box-shadow: 0 0 0 0 rgba(217, 83, 79, .6); animation: live 2.4s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(217, 83, 79, .5); } 70% { box-shadow: 0 0 0 8px rgba(217, 83, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0); } }

/* ---------- Sektionen ---------- */
.section { position: relative; padding: 72px 0; }
.section-tight { padding-top: 40px; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
@media (min-width: 900px) { .section { padding: 96px 0; } .section-tight { padding-top: 48px; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; padding-bottom: 18px; border-bottom: 1px solid var(--border-soft); }
.section-lead { margin-top: 10px; color: var(--text-2); max-width: 60ch; }
.two-col { display: grid; gap: 56px; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; gap: 48px; } }

.page-hero { position: relative; padding: 72px 0 48px; border-bottom: 1px solid var(--border-soft); background: linear-gradient(180deg, var(--bg-2), var(--bg)); overflow: hidden; }
@media (min-width: 900px) { .page-hero { padding: 104px 0 64px; } }
.page-hero .container { position: relative; }
.page-hero-banner { isolation: isolate; padding-top: 120px; }
.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(.55) saturate(.6); }
.page-hero-banner .hero-shade { background: linear-gradient(90deg, rgba(17, 20, 16, .95) 0%, rgba(17, 20, 16, .55) 70%, rgba(17, 20, 16, .35)), linear-gradient(0deg, var(--bg) 0%, transparent 50%); }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.anchor-nav a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--border); padding-bottom: 3px; }
.anchor-nav a:hover { color: var(--sand); border-color: var(--sand); }

/* ---------- Dossier (Startseite) ---------- */
.dossier-grid { display: grid; grid-template-columns: 1fr; margin: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
@media (min-width: 560px) { .dossier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .dossier-grid { grid-template-columns: repeat(3, 1fr); } }
.dossier-cell { min-width: 0; padding: 20px 22px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(43, 49, 39, .35), transparent); }
.dossier-cell dt { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--text-3); margin-bottom: 8px; }
.dossier-cell dd { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.dossier-cell dd.mono { font-family: var(--font-mono); font-size: 1rem; font-weight: 500; }

/* ---------- Videos ---------- */
.video-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.video-card { background: var(--surface); border: 1px solid var(--border-soft); display: flex; flex-direction: column; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .4s var(--ease), filter .3s; }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card:hover .video-thumb img { transform: scale(1.03); filter: saturate(1); }
.video-play {
    position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px;
    background: linear-gradient(0deg, rgba(17, 20, 16, .55), rgba(17, 20, 16, .1)); border: 0; color: var(--text); cursor: pointer; width: 100%; padding: 16px;
    font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
}
.video-play .play-ring { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(231, 230, 220, .7); background: rgba(17, 20, 16, .5); }
.video-play .icon { width: 20px; height: 20px; margin-left: 3px; }
.video-play:hover .play-ring { background: var(--sand); color: var(--bg); border-color: var(--sand); }
.video-consent { position: absolute; inset: 0; display: grid; align-content: center; gap: 12px; padding: 16px; background: rgba(17, 20, 16, .94); font-size: .82rem; color: var(--text-2); text-align: center; justify-items: center; }
.video-body { padding: 16px 18px 18px; display: grid; gap: 8px; flex: 1; align-content: start; }
.video-date { font-size: .74rem; color: var(--text-3); letter-spacing: .06em; }
.video-title { font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; line-height: 1.2; color: var(--text); }
.video-link { margin-top: auto; padding-top: 6px; }
.video-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 2px 7px; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: #14170f; background: var(--sand); pointer-events: none; }
.video-thumb.is-short img { object-position: center 30%; }

/* Instagram */
.ig-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.ig-thumb { aspect-ratio: 4 / 5; }
.ig-thumb.is-embedded { aspect-ratio: auto; height: 640px; background: #fff; }
.ig-caption { margin: 0; font-size: .9rem; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ig-fallback { grid-column: 1 / -1; }
.ig-placeholder {
    position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: #fff;
    background: linear-gradient(135deg, #3d2a4f 0%, #6b2f4a 45%, #8a5a2b 100%);
}
.ig-placeholder .icon { width: 42px; height: 42px; opacity: .9; }
.ig-placeholder .mono { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.ig-loadall { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border-soft); border-left: 3px solid var(--sand); }
.ig-loadall p { margin: 0; max-width: 70ch; font-size: .86rem; color: var(--text-2); }
.ig-module .notice { grid-column: 1 / -1; }
.video-date .icon { display: inline-block; width: 13px; height: 13px; margin-right: 6px; vertical-align: -2px; color: var(--sand); }
.video-date a { color: var(--text-2); text-decoration: none; }
.video-date a:hover { color: var(--sand); }
.video-note { margin: 0; font-size: .88rem; color: var(--text-2); }
.video-card.is-skeleton .video-thumb, .video-card.is-skeleton .video-body span { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.6s infinite linear; }
.video-card.is-skeleton .video-body span { display: block; height: 12px; width: 40%; }
.video-card.is-skeleton .video-body span + span { height: 18px; width: 85%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.video-module .notice { grid-column: 1 / -1; }

/* ---------- Ausrüstung ---------- */
.gear-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.gear-card { background: var(--surface); border: 1px solid var(--border-soft); transition: border-color .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.gear-card:hover { border-color: var(--olive); transform: translateY(-2px); box-shadow: var(--shadow); }
.gear-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.gear-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--border-soft); }
.gear-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.gear-id { position: absolute; top: 10px; left: 10px; padding: 2px 6px; font-size: .66rem; color: var(--text-2); background: rgba(17, 20, 16, .75); letter-spacing: .1em; }
.gear-body { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; flex: 1; }
.gear-meta { margin: 0; font-size: .72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.gear-name { font-size: 1.22rem; font-weight: 600; line-height: 1.2; }
.gear-group + .gear-group { margin-top: 48px; }
.gear-group-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; }
.gear-group-title .mono { font-size: .78rem; color: var(--sand); font-weight: 400; }
.gear-group-count { margin-left: auto; font-size: .78rem; color: var(--text-3); font-weight: 400; }
.gear-src { position: absolute; right: 10px; bottom: 10px; padding: 2px 6px; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); background: rgba(17, 20, 16, .78); border: 1px solid var(--border); }
.badge-loadout { text-decoration: none; color: var(--sand); border-color: rgba(196, 182, 154, .45); }
.badge-loadout:hover { color: var(--sand-bright); border-color: var(--sand); }
.spec-table dd.badges { gap: 6px; }

/* Rotierende Ausrüstung (Startseite) */
.gear-carousel { position: relative; }
.carousel-controls { display: flex; justify-content: flex-end; gap: 8px; margin: -12px 0 14px; }
.carousel-controls[hidden] { display: none; }
.carousel-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; transition: border-color .2s, color .2s; }
.carousel-btn:hover { border-color: var(--sand); color: var(--sand); }
.carousel-btn .icon { width: 16px; height: 16px; }
.carousel-btn .icon-play { display: none; }
.carousel-btn[aria-pressed="true"] .icon-play { display: block; }
.carousel-btn[aria-pressed="true"] .icon-pause { display: none; }
.carousel-track {
    list-style: none; margin: 0; padding: 4px 0 14px;
    display: grid; grid-auto-flow: column; gap: 18px;
    grid-auto-columns: minmax(250px, calc((100% - 3 * 18px) / 4));
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.carousel-track:focus-visible { outline-offset: 6px; }
.carousel-item { scroll-snap-align: start; min-width: 0; display: flex; }
.carousel-item .gear-card { width: 100%; }
@media (max-width: 1099px) { .carousel-track { grid-auto-columns: minmax(250px, calc((100% - 2 * 18px) / 3)); } }
@media (max-width: 760px) { .carousel-track { grid-auto-columns: minmax(230px, 78%); } }

/* Loadout-Auswahl */
.loadout-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.chips-label { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); }
.chips-label .icon { width: 15px; height: 15px; color: var(--sand); }
.chip {
    display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 14px;
    border: 1px solid var(--border); background: var(--surface); color: var(--text-2); text-decoration: none;
    font-family: var(--font-head); font-weight: 600; font-size: .98rem; letter-spacing: .06em; text-transform: uppercase;
}
.chip:hover { color: var(--text); border-color: var(--olive); }
.chip.is-active { color: #14170f; background: var(--sand); border-color: var(--sand); }
.chip-count { font-size: .7rem; font-weight: 400; color: inherit; opacity: .75; }
.loadout-intro { margin-bottom: 18px; padding: 16px 18px; border-left: 3px solid var(--sand); background: var(--surface); }
.loadout-intro .sub-title { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.loadout-intro .icon { color: var(--sand); }

/* Wishlist */
.wish-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border-soft); transition: border-color .2s var(--ease); }
.wish-card:hover { border-color: var(--olive); }
.wish-card .gear-body { gap: 10px; }
.wish-card.is-fulfilled { opacity: .72; }
.wish-card.is-fulfilled img { filter: grayscale(.7); }
.wish-desc { margin: 0; color: var(--text-2); font-size: .92rem; }
.wish-btn { margin-top: auto; align-self: flex-start; }
.wish-done-title { display: flex; align-items: center; gap: 10px; margin-top: 48px; }
.wish-done-title .icon { color: var(--success); }
.priority-high { border-color: rgba(195, 160, 99, .7); color: var(--warning); }
.priority-medium { border-color: rgba(113, 136, 106, .7); color: #a7c09f; }
.priority-low { color: var(--text-3); }

.placeholder {
    width: 100%; height: 100%; min-height: 160px; display: grid; place-content: center; justify-items: center; gap: 10px;
    color: var(--text-3);
    background:
        repeating-linear-gradient(135deg, rgba(196, 182, 154, .035) 0 1px, transparent 1px 12px),
        radial-gradient(circle at 50% 45%, rgba(89, 102, 74, .25), transparent 70%),
        var(--bg-2);
}
.placeholder .icon { width: 38px; height: 38px; opacity: .7; }
.placeholder .mono { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }

/* Filter (ausklappbar) */
.filter-panel { margin-bottom: 28px; background: var(--surface); border: 1px solid var(--border-soft); border-left: 3px solid var(--olive); }
.filter-panel[open] { border-left-color: var(--sand); }
.filter-summary {
    display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 18px; cursor: pointer; list-style: none;
    font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text);
}
.filter-summary::-webkit-details-marker { display: none; }
.filter-summary:hover { background: rgba(196, 182, 154, .05); }
.filter-summary-label { display: inline-flex; align-items: center; gap: 10px; }
.filter-summary-label .icon { width: 17px; height: 17px; color: var(--sand); }
.filter-summary-count { padding: 2px 8px; background: var(--sand); color: #14170f; font-size: .68rem; letter-spacing: .08em; }
.filter-summary-chevron { width: 18px; height: 18px; margin-left: auto; color: var(--text-2); transition: transform .2s var(--ease); }
.filter-panel[open] .filter-summary-chevron { transform: rotate(90deg); }
.filter-panel[open] .filter-summary { border-bottom: 1px solid var(--border-soft); }
.filter-bar {
    display: grid; gap: 14px 16px; padding: 20px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .filter-bar { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .filter-bar { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } .filter-bar .field-search { grid-column: span 2; } }
@media (min-width: 1000px) { .filter-bar .field-check { grid-column: 1 / 3; } .filter-bar .filter-actions { grid-column: 3 / -1; } }
.filter-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.js [data-no-js-only] { display: none; }
.result-count { font-size: .8rem; color: var(--text-2); letter-spacing: .06em; margin: 0 0 22px; }
[data-filter-results].is-loading { opacity: .55; transition: opacity .15s; }

/* ---------- Formulare ---------- */
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: .8rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); }
.field input[type="text"], .field input[type="search"], .field input[type="email"], .field input[type="url"], .field input[type="password"],
.field input[type="number"], .field input[type="date"], .field select, .field textarea {
    width: 100%; min-height: 46px; padding: 10px 12px;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text);
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sand); box-shadow: 0 0 0 3px rgba(196, 182, 154, .15); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field-error { margin: 0; color: #e3a493; font-size: .85rem; }
.hint { margin: 0; font-size: .74rem; color: var(--text-3); }
.req { color: var(--sand); }
.optional { text-transform: none; letter-spacing: 0; color: var(--text-3); }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); width: 16px; height: 16px; pointer-events: none; }
.input-icon input { padding-left: 36px !important; }
.field-check { align-content: end; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; font-family: var(--font-body) !important; font-size: .92rem !important; color: var(--text) !important; min-height: 46px; }
.check input { width: 18px; height: 18px; accent-color: var(--sand); flex: none; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--text-3); }
.form-note .icon { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form .check span { line-height: 1.5; }
.contact-form .check { align-items: flex-start; min-height: 0; }
.contact-form .check input { margin-top: 3px; }

/* ---------- Hinweise / Leerzustände ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 20px; border: 1px solid var(--border); border-left-width: 3px; background: var(--surface); font-size: .92rem; }
.notice .icon { margin-top: 3px; }
.notice ul { margin: 6px 0 0; padding-left: 18px; }
.notice-success { border-left-color: var(--success); }
.notice-success .icon { color: var(--success); }
.notice-error { border-left-color: var(--danger); }
.notice-error .icon { color: var(--danger); }
.notice-warning { border-left-color: var(--warning); }
.notice-warning .icon { color: var(--warning); }
.empty-state { display: grid; justify-items: start; gap: 8px; padding: 32px 28px; border: 1px dashed var(--border); background: repeating-linear-gradient(135deg, rgba(196, 182, 154, .02) 0 1px, transparent 1px 14px); }
.empty-state > .icon { width: 26px; height: 26px; color: var(--olive); margin-bottom: 6px; }
.empty-title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; }
.empty-text { margin: 0; color: var(--text-2); font-size: .94rem; max-width: 52ch; }
.empty-text:empty { display: none; }
.empty-state .btn { margin-top: 10px; }

/* ---------- Field Log / Events ---------- */
.report-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-soft); }
.report-row { display: grid; grid-template-columns: 110px 1fr; gap: 4px 16px; padding: 16px 4px; border-bottom: 1px solid var(--border-soft); color: var(--text); text-decoration: none; }
.report-row:hover { background: rgba(43, 49, 39, .35); color: var(--text); }
.report-row time { font-size: .8rem; color: var(--sand); padding-top: 3px; }
.report-title { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
.report-loc { grid-column: 2; font-size: .74rem; color: var(--text-3); }
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.event-row { display: grid; gap: 10px; padding: 18px; background: var(--surface); border: 1px solid var(--border-soft); border-left: 3px solid var(--olive); }
.event-list.is-past .event-row { border-left-color: var(--border); opacity: .9; }
.event-date { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--sand); }
.event-date .icon { width: 15px; height: 15px; }
.event-title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 0; font-size: .75rem; color: var(--text-3); }
.event-meta span { display: inline-flex; align-items: center; gap: 5px; }
.event-meta .icon { width: 13px; height: 13px; }
.event-desc { margin: 8px 0 0; color: var(--text-2); font-size: .94rem; }
.report-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.report-card { background: var(--surface); border: 1px solid var(--border-soft); transition: border-color .2s; }
.report-card:hover { border-color: var(--olive); }
.report-card a { display: block; color: inherit; text-decoration: none; height: 100%; }
.report-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.report-media img { width: 100%; height: 100%; object-fit: cover; }
.report-body { padding: 18px; display: grid; gap: 8px; }
.report-summary { color: var(--text-2); font-size: .94rem; }
.note-box { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--border); background: var(--surface); }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-list a { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Galerie & Lightbox ---------- */
.gallery-grid { list-style: none; margin: 0; padding: 0; columns: 2 160px; column-gap: 14px; }
@media (min-width: 900px) { .gallery-grid { columns: 4 220px; column-gap: 16px; } }
.gallery-item { break-inside: avoid; margin-bottom: 16px; }
.gallery-link { display: block; overflow: hidden; border: 1px solid var(--border-soft); background: var(--bg-2); }
.gallery-link img { width: 100%; filter: saturate(.82) contrast(1.03); transition: transform .5s var(--ease), filter .3s; }
.gallery-link:hover img { transform: scale(1.03); filter: saturate(1); }
.gallery-caption { margin: 8px 0 0; font-size: .72rem; color: var(--text-3); letter-spacing: .04em; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; color: var(--text); }
.lightbox::backdrop { background: rgba(10, 12, 9, .94); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 56px 12px 24px; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; height: 100%; align-content: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border: 1px solid var(--border-soft); }
.lightbox figcaption { font-size: .78rem; color: var(--text-2); text-align: center; }
.lb-count { color: var(--text-3); margin-left: 8px; }
.lightbox-close, .lightbox-nav { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--border); background: rgba(17, 20, 16, .8); color: var(--text); cursor: pointer; }
.lightbox-close:hover, .lightbox-nav:hover { border-color: var(--sand); color: var(--sand); }
.lightbox-close { position: absolute; top: 10px; right: 12px; }
.lightbox .icon { width: 22px; height: 22px; }
@media (max-width: 600px) { .lightbox-inner { grid-template-columns: 1fr; } .lightbox-nav { position: absolute; bottom: 14px; } .lightbox-nav.prev { left: 12px; } .lightbox-nav.next { right: 12px; } .lightbox img { max-height: calc(100vh - 170px); } }

/* ---------- Detailseiten ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; font-size: .78rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.breadcrumb a { display: inline-flex; align-items: center; gap: 4px; color: var(--sand); text-decoration: none; }
.breadcrumb .icon { width: 14px; height: 14px; }
.detail-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .detail-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } }
.detail-media { margin: 0; border: 1px solid var(--border-soft); background: var(--bg-2); }
.detail-media img { width: 100%; }
.detail-media .placeholder { aspect-ratio: 4 / 3; }
.detail-media figcaption { padding: 10px 14px; font-size: .72rem; color: var(--text-3); border-top: 1px solid var(--border-soft); }
.detail-media.wide { margin: 28px 0; }

/* Bilderslider (Ausrüstung) */
.gear-slider { position: relative; }
.slider-viewport { position: relative; }
.slider-track {
    display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 2px solid var(--sand); outline-offset: -2px; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; min-width: 0; }
.slide-zoom { display: block; aspect-ratio: 4 / 3; background: var(--bg); cursor: zoom-in; }
.slide-zoom img { width: 100%; height: 100%; object-fit: contain; }
.slider-nav {
    position: absolute; top: calc(50% - 40px); z-index: 2; display: grid; place-items: center; width: 44px; height: 44px;
    background: rgba(13, 15, 12, .78); border: 1px solid var(--border); color: var(--text); cursor: pointer; transition: border-color .2s, color .2s, opacity .2s;
}
.slider-nav:hover { border-color: var(--sand); color: var(--sand); }
.slider-nav.prev { left: 10px; }
.slider-nav.next { right: 10px; }
.slider-nav .icon { width: 20px; height: 20px; }
.slider-nav[disabled] { opacity: .3; cursor: default; }
.slider-count { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 3px 8px; font-size: .7rem; letter-spacing: .1em; color: var(--text); background: rgba(13, 15, 12, .78); border: 1px solid var(--border); pointer-events: none; }
.slider-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; border-top: 1px solid var(--border-soft); }
.slider-thumb { position: relative; flex: 0 0 auto; width: 72px; height: 54px; padding: 0; background: var(--bg-2); border: 2px solid transparent; opacity: .6; cursor: pointer; transition: opacity .2s, border-color .2s; }
.slider-thumb img { width: 100%; height: 100%; object-fit: cover; }
.slider-thumb:hover, .slider-thumb.is-active { opacity: 1; }
.slider-thumb.is-active { border-color: var(--sand); }
.slider-thumb-tag { position: absolute; right: 2px; bottom: 2px; padding: 0 3px; font-size: .58rem; color: #14170f; background: var(--sand); }
@media (hover: none) { .slider-nav { top: calc(50% - 36px); width: 40px; height: 40px; } }
@media (max-width: 600px) {
    .detail-grid { gap: 24px; }
    .detail-media { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-left: 0; border-right: 0; }
    .slider-thumbs { padding: 8px var(--gutter); }
    .slider-thumb { width: 60px; height: 45px; }
}
.gear-count { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; font-size: .66rem; color: var(--text); background: rgba(17, 20, 16, .78); border: 1px solid var(--border); }
.gear-count .icon { width: 12px; height: 12px; }
.detail-title { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 16px; }
.detail-body .badges { margin-bottom: 24px; }
.detail-body .btn { margin-top: 24px; }
.spec-table { margin: 0 0 28px; border-top: 1px solid var(--border); }
.spec-table > div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.spec-table dt { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); padding-top: 3px; }
.spec-table dd { margin: 0; }
.spec-table .dd-strong { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; }
.spec-inline { margin-top: 24px; }

/* ---------- Gästebuch ---------- */
.gb-layout { display: grid; gap: 48px; }
@media (min-width: 960px) { .gb-layout { grid-template-columns: minmax(320px, 420px) 1fr; gap: 56px; align-items: start; } .gb-form-col { position: sticky; top: calc(var(--header-h) + 24px); } }
.panel { padding: 24px; background: var(--surface); border: 1px solid var(--border-soft); }
.gb-form { display: grid; gap: 18px; }
.gb-panel[data-gb-panel="name"] { display: grid; gap: 18px; }   /* Anzeigename + Callsign mit gleichem Abstand wie im Formular */
.gb-form .btn { width: 100%; }
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.list-head .sub-title { margin: 0; }
.list-head .mono { font-size: .76rem; }
.log-list { display: grid; gap: 14px; }
.log-entry { position: relative; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border-soft); border-left: 3px solid var(--ranger); }
.log-entry-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: .72rem; color: var(--text-3); letter-spacing: .06em; margin-bottom: 8px; }
.log-id { color: var(--sand); }
.log-author { margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.log-author strong { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; }
.log-callsign { font-size: .8rem; color: var(--text-2); }
.log-message { color: var(--text); overflow-wrap: anywhere; }
.log-report { display: flex; justify-content: flex-end; margin-left: auto; }
.log-entry-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; }
.log-entry-foot:empty { display: none; }
.log-likes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.log-likes:empty { display: none; }
.log-list.compact .log-entry { padding: 14px 16px; }

/* Verifiziert (Discord) */
.verified-icon { color: var(--discord); }
.verified-badge { display: inline-flex; align-self: center; line-height: 0; }
.verified-badge .icon { width: 18px; height: 18px; }
.log-entry.is-verified { border-left-color: var(--discord); }

/* Discord-Look: Profilbild links, Name + Trusted-Haken, Nachricht – im Stil der Website */
.log-entry.is-discord { border-color: rgba(88, 101, 242, .32); border-left-color: var(--discord); background: linear-gradient(100deg, rgba(88, 101, 242, .16), rgba(88, 101, 242, .04) 55%, transparent), var(--surface); }
.log-entry.is-discord .log-id { color: var(--discord-soft); }
.dc-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.dc-main { min-width: 0; }
.dc-main .log-author { margin-bottom: 4px; }
.dc-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--discord); box-shadow: 0 0 0 2px rgba(88, 101, 242, .55); }
.dc-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dc-avatar.is-default .icon { width: 24px; height: 24px; color: #fff; }
.own-avatar { margin: 10px 0 0 58px; font-size: .82rem; }
.own-avatar .btn-text { color: var(--discord-soft); }
.own-avatar .icon { width: 15px; height: 15px; }
.log-list.compact .dc-row { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
.log-list.compact .dc-avatar { width: 36px; height: 36px; }
@media (max-width: 480px) { .dc-row { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; } .dc-avatar { width: 38px; height: 38px; } .own-avatar { margin-left: 50px; } }

/* Likes */
.like-form { margin: 0; }
.like-btn {
    display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 4px 12px;
    background: transparent; border: 1px solid var(--border); border-radius: 999px; color: var(--text-2);
    font-size: .8rem; cursor: pointer; transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.like-btn .icon { width: 15px; height: 15px; }
.like-btn:hover { color: var(--like); border-color: var(--like); }
.like-btn[aria-pressed="true"] { color: var(--like); border-color: rgba(201, 115, 90, .6); background: rgba(201, 115, 90, .1); }
/* Das Herz-Symbol hat keine eigene Füllung und erbt sie vom Icon (leer bzw. gefüllt). */
.icon-heart { fill: none; }
.icon-heart.is-filled, .like-btn[aria-pressed="true"] .icon-heart, .owner-like .icon-heart { fill: currentColor; }
.like-btn[disabled] { cursor: progress; }
.like-btn.is-static { cursor: default; }
.like-btn.is-static:hover { color: var(--text-2); border-color: var(--border); }
.like-btn.is-pop .icon { animation: like-pop .35s var(--ease); }
@keyframes like-pop { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .like-btn.is-pop .icon { animation: none; } }
.owner-like { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--like); letter-spacing: .04em; }
.owner-like .icon { width: 13px; height: 13px; }

/* Eintragsart: Name & Callsign oder Discord */
.gb-mode { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
.gb-mode-legend { padding: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); }
.gb-mode-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gb-mode-opt { position: relative; display: block; cursor: pointer; }
.gb-mode-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gb-mode-opt > span {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; height: 100%; min-height: 46px; padding: 8px 10px;
    border: 1px solid var(--border); background: var(--bg); color: var(--text-2); text-align: center;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .04em; line-height: 1.15;
    transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.gb-mode-opt > span .icon { width: 16px; height: 16px; flex: none; }
.gb-mode-opt:hover > span { border-color: var(--olive); color: var(--text); }
.gb-mode-opt input:checked + span { border-color: var(--sand); color: var(--text); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--sand); }
.gb-mode-opt input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }
.gb-form:has(input[name="mode"][value="name"]:checked) [data-gb-panel="discord"] { display: none; }
.gb-form:has(input[name="mode"][value="discord"]:checked) [data-gb-panel="name"] { display: none; }
.gb-verified-box { display: grid; gap: 10px; justify-items: start; padding: 14px 16px; border: 1px solid rgba(88, 101, 242, .5); background: rgba(88, 101, 242, .1); }
.gb-verified-box.is-pending { border-color: var(--border); background: var(--bg-2); }
.gb-form-col, .gb-verified-box { min-width: 0; }
.gb-verified-box p { overflow-wrap: anywhere; }   /* lange Adressen (z. B. Redirect-URL) nicht über den Rand laufen lassen */
.gb-verified-box p { margin: 0; font-size: .92rem; }
.gb-verified-name { display: flex; align-items: center; gap: 8px; }
.gb-verified-name .icon { width: 20px; height: 20px; flex: none; }
.gb-verified-name strong { font-family: var(--font-head); font-size: 1.15rem; letter-spacing: .02em; }
.btn-discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn-discord:hover { background: #4752c4; border-color: #4752c4; color: #fff; }
.btn-discord.is-disabled { opacity: .45; cursor: not-allowed; }
.btn-discord.is-disabled:hover { background: #5865f2; border-color: #5865f2; }

/* Trusted (Discord-verifiziert) */
.verified-badge { gap: 5px; align-items: center; }
.trusted-label { padding: 1px 6px; border-radius: 3px; background: var(--discord); color: #fff; font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.own-verify { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; padding: 12px 14px; border: 1px dashed rgba(88, 101, 242, .5); background: rgba(88, 101, 242, .06); }
.own-verify p { display: flex; align-items: center; gap: 8px; margin: 0; flex: 1 1 220px; font-size: .88rem; color: var(--text-2); }
.own-verify p .icon { width: 18px; height: 18px; flex: none; }
.own-verify .hint { flex-basis: 100%; }

/* ---------- Eventkalender (Monatsansicht) ---------- */
.no-js [data-calendar] { display: none; }
.js [data-cal-fallback] { display: none; }
.cal { --cal-gap: 4px; padding: 18px; background: var(--surface); border: 1px solid var(--border-soft); }
@media (min-width: 700px) { .cal { padding: 24px; --cal-gap: 6px; } }
.cal-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cal-title { margin: 0; flex: 1 1 auto; min-width: 0; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: .06em; text-transform: uppercase; }
.cal-nav { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--border); background: var(--bg); color: var(--text); cursor: pointer; transition: border-color .15s var(--ease), color .15s var(--ease); }
.cal-nav:hover:not(:disabled) { border-color: var(--sand); color: var(--sand); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-nav .icon { width: 20px; height: 20px; }
.cal-today { order: 4; flex: 1 1 100%; }
@media (min-width: 700px) { .cal-today { order: 0; flex: none; } .cal-title { text-align: left; order: -1; } }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 10px; font-size: .7rem; color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }
.cal-dot.is-past { background: var(--text-3); }
.cal-dot.is-today { background: transparent; border: 2px solid var(--olive); }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--cal-gap); }
.cal-weekdays span { padding: 6px 0; text-align: center; font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.cal-cell {
    position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 4px; min-width: 0;
    min-height: 54px; padding: 6px; background: var(--bg); border: 1px solid var(--border-soft); color: var(--text-2); text-align: left;
}
@media (min-width: 700px) { .cal-cell { min-height: 96px; padding: 8px; } }
.cal-cell.is-empty { background: transparent; border-color: transparent; }
.cal-cell.is-before { color: var(--text-3); }
.cal-cell.is-today { border-color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); }
.cal-cell.is-today .cal-num { color: var(--sand); }
.cal-num { font-family: var(--font-mono); font-size: .78rem; }
.cal-cell.has-events { cursor: pointer; background: var(--surface-2); border-color: var(--border); transition: border-color .15s var(--ease), background .15s var(--ease); }
.cal-cell.has-events:hover, .cal-cell.has-events:focus-visible { border-color: var(--sand); background: #323a2d; }
.cal-chips { display: none; }
.cal-dots { display: flex; gap: 3px; margin-top: auto; }
@media (min-width: 700px) {
    .cal-chips { display: grid; gap: 3px; }
    .cal-dots { display: none; }
}
.cal-chip {
    display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 2px 6px;
    background: rgba(196, 182, 154, .16); border-left: 2px solid var(--sand); color: var(--text);
    font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .02em; line-height: 1.3;
}
.cal-chip:not(.is-start) { border-left-color: transparent; }
.cal-chip.is-past { background: rgba(134, 138, 126, .14); border-left-color: var(--text-3); color: var(--text-2); }
.cal-chip.is-past:not(.is-start) { border-left-color: transparent; }
.cal-chip-more { font-family: var(--font-mono); font-size: .68rem; color: var(--text-2); }
.cal-month-list { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
.cal-list-title { margin: 0 0 12px; font-family: var(--font-mono); font-size: .76rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); }
.cal-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cal-event {
    display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: baseline; width: 100%; padding: 12px 14px;
    background: var(--bg); border: 1px solid var(--border-soft); border-left: 3px solid var(--sand); color: var(--text); text-align: left; cursor: pointer;
    transition: border-color .15s var(--ease), background .15s var(--ease);
}
.cal-event:hover, .cal-event:focus-visible { border-color: var(--sand); background: var(--surface-2); }
.cal-event.is-past { border-left-color: var(--text-3); color: var(--text-2); }
.cal-event-date { grid-row: span 2; font-size: .76rem; color: var(--sand); white-space: nowrap; }
.cal-event.is-past .cal-event-date { color: var(--text-3); }
.cal-event-title { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; line-height: 1.2; }
.cal-event-org { font-size: .72rem; color: var(--text-3); }
@media (max-width: 520px) { .cal-event { grid-template-columns: 1fr; } .cal-event-date { grid-row: auto; } }
.cal-empty { margin: 0 0 12px; color: var(--text-2); }
.cal-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-jump .btn { text-transform: none; letter-spacing: .02em; font-weight: 600; text-align: left; }

/* Event-Popup */
.event-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--border); border-top: 3px solid var(--sand); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.event-dialog::backdrop { background: rgba(10, 12, 9, .82); }
.event-dialog[open] { animation: dialog-in .2s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .event-dialog[open], .site-dialog[open] { animation: none; } }
.event-dialog-inner { position: relative; display: grid; gap: 14px; padding: 24px 22px 22px; }
.event-dialog-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); background: var(--bg); color: var(--text); cursor: pointer; }
.event-dialog-close:hover { border-color: var(--sand); color: var(--sand); }
.event-dialog-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; padding-right: 48px; font-size: .78rem; color: var(--sand); letter-spacing: .06em; }
.event-dialog-kicker .icon { width: 15px; height: 15px; }
.event-dialog-kicker .badge.is-upcoming { color: var(--sand); border-color: rgba(196, 182, 154, .45); }
.event-dialog-kicker .badge.is-empty { display: none; }
.event-dialog-title { margin: 0; padding-right: 40px; font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; line-height: 1.1; letter-spacing: .02em; }
.event-dialog .event-meta { margin: 0; }
.event-dialog-desc { margin: 0; color: var(--text-2); white-space: pre-line; }
.event-dialog-media { display: grid; gap: 8px; }
.event-dialog-media figure { margin: 0; display: grid; gap: 6px; }
.event-dialog-media img { width: 100%; max-height: 320px; object-fit: cover; border: 1px solid var(--border-soft); background: var(--bg-2); }
.event-dialog-media figcaption { font-size: .72rem; color: var(--text-3); }
.event-dialog-media figcaption:empty { display: none; }
.event-dialog-thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.event-dialog-thumbs:empty { display: none; }
.event-dialog-thumbs button { width: 60px; aspect-ratio: 1; padding: 0; overflow: hidden; border: 1px solid var(--border-soft); background: var(--bg-2); cursor: pointer; opacity: .65; }
.event-dialog-thumbs button[aria-current="true"], .event-dialog-thumbs button:hover { opacity: 1; border-color: var(--sand); }
.event-dialog-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.event-dialog .btn-primary { justify-self: start; }

/* ---------- Hinweis-Popup (erster Besuch) ---------- */
.site-dialog { width: min(520px, calc(100vw - 24px)); padding: 0; border: 1px solid var(--border); border-top: 3px solid var(--warning); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.site-dialog::backdrop { background: rgba(10, 12, 9, .82); }
.site-dialog[open] { animation: dialog-in .25s var(--ease); }
.site-dialog-inner { display: grid; gap: 14px; padding: 26px 24px 24px; background: repeating-linear-gradient(135deg, rgba(195, 160, 99, .035) 0 1px, transparent 1px 14px); }
.site-dialog .kicker { margin: 0; }
.site-dialog .kicker-num .icon { width: 14px; height: 14px; color: var(--warning); vertical-align: -2px; }
.site-dialog-title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 2rem; line-height: 1.05; letter-spacing: .04em; text-transform: uppercase; }
.site-dialog-text { margin: 0; color: var(--text-2); }
.site-dialog-link { margin: 0; }
.site-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.site-dialog-actions .btn { flex: 1 1 200px; }

/* Event-Bilder */
.event-photos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; }
.event-photos a { display: block; width: 84px; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--border-soft); background: var(--bg-2); }
.event-photos img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .4s var(--ease), filter .3s; }
.event-photos a:hover img { transform: scale(1.05); filter: saturate(1); }
.event-photos .more { display: grid; place-items: center; width: 84px; aspect-ratio: 1; border: 1px dashed var(--border); font-size: .78rem; color: var(--text-2); }
.log-list.compact .log-message { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; color: var(--text-2); }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; font-size: .8rem; color: var(--text-2); }
.pagination a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.pagination .icon { width: 14px; height: 14px; }

/* ---------- Operator ---------- */
.dossier { display: grid; gap: 40px; }
@media (min-width: 960px) { .dossier { grid-template-columns: minmax(300px, 440px) 1fr; gap: 64px; align-items: start; } .dossier-photo { position: sticky; top: calc(var(--header-h) + 24px); } }
.dossier-photo { margin: 0; border: 1px solid var(--border); background: var(--bg-2); padding: 10px; }
.dossier-photo img { width: 100%; filter: contrast(1.05); }
.dossier-photo figcaption { padding: 10px 4px 2px; font-size: .74rem; color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; }
.dossier-sheet { margin-bottom: 36px; }
.sheet-head { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 0; font-size: .72rem; color: var(--sand); letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid var(--sand); }
.dossier-body .tag-list { margin-bottom: 8px; }
.team-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.team-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px 24px; background: var(--surface); border: 1px solid var(--border-soft); }
.team-card > .icon { width: 28px; height: 28px; color: var(--olive); }
.team-index { position: absolute; top: 14px; right: 16px; font-size: .7rem; color: var(--text-3); letter-spacing: .12em; }
.team-name { font-size: 1.6rem; text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Kanäle ---------- */
.channel-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.channel-card { display: grid; gap: 4px; padding: 22px; height: 100%; background: var(--surface); border: 1px solid var(--border-soft); color: var(--text); text-decoration: none; transition: border-color .2s, transform .25s var(--ease); }
.channel-card:hover { color: var(--text); border-color: var(--olive); transform: translateY(-2px); }
.channel-card > .icon { width: 26px; height: 26px; margin-bottom: 10px; color: var(--sand); }
.channel-name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .05em; }
.channel-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sand); }
.channel-cta .icon { width: 13px; height: 13px; }

/* ---------- Media / Twitch ---------- */
.twitch-layout { display: grid; gap: 24px; }
@media (min-width: 960px) { .twitch-layout { grid-template-columns: 1fr 300px; align-items: start; } }
.embed-frame { position: relative; aspect-ratio: 16 / 9; background: var(--bg); border: 1px solid var(--border); overflow: hidden; }
.embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.consent-box {
    position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center;
    background: repeating-linear-gradient(135deg, rgba(196, 182, 154, .03) 0 1px, transparent 1px 14px), radial-gradient(circle at 50% 40%, rgba(89, 102, 74, .25), transparent 70%);
}
.consent-box > .icon { width: 34px; height: 34px; color: var(--sand); }
.consent-title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .05em; }
.consent-text { margin: 0; max-width: 52ch; color: var(--text-2); font-size: .9rem; }
@media (max-width: 520px) { .embed-frame { aspect-ratio: auto; min-height: 320px; } }
.twitch-side { padding: 22px; background: var(--surface); border: 1px solid var(--border-soft); display: grid; gap: 6px; align-content: start; }
.side-label { margin: 10px 0 2px; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); }
.side-label:first-child { margin-top: 0; }
.side-value { margin: 0; font-family: var(--font-mono); }
.side-note { margin: 8px 0 0; font-size: .85rem; color: var(--text-2); }
.side-links { display: grid; gap: 8px; margin-top: 18px; }

/* ---------- Rechtliches / Fehler ---------- */
.legal .prose { max-width: 760px; }
.legal .sub-title { font-size: 1.2rem; margin-top: 32px; }
.legal .page-title { margin-bottom: 28px; }
.error-page { min-height: 60vh; display: flex; align-items: center; overflow: hidden; }
.error-page .page-lead { margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; background: #0d0f0c; border-top: 1px solid var(--border-soft); padding-top: 56px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { width: 170px; height: auto; margin-bottom: 14px; }
.footer-motto { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--text); margin-bottom: 6px; }
.footer-brand .meta-line { margin-top: 0; }
.footer-heading { font-family: var(--font-mono); font-weight: 500; font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--text-3); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--text-2); text-decoration: none; font-size: .94rem; display: inline-flex; align-items: center; gap: 10px; }
.footer-col a:hover { color: var(--sand); }
.footer-social .icon { width: 16px; height: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--border-soft); font-family: var(--font-mono); font-size: .72rem; color: var(--text-3); letter-spacing: .04em; }

/* Footer auf Tablets: 2 × 2 statt 4 schmaler Spalten */
@media (min-width: 700px) and (max-width: 999px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 32px; } }

/* Footer auf dem Handy: kompakt, passt auf einen Bildschirm */
@media (max-width: 699px) {
    .site-footer { padding-top: 32px; }
    .footer-grid { grid-template-columns: 1fr; gap: 22px; padding-bottom: 22px; }
    .footer-brand { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; }
    .footer-brand img { width: 96px; margin: 0; grid-row: span 2; }
    .footer-motto { font-size: 1rem; margin: 0; }
    .footer-brand .meta-line { font-size: .7rem; }
    .footer-heading { margin-bottom: 10px; }
    /* Bereiche zweispaltig */
    .footer-sections ul { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
    /* Rechtliches in einer Zeile */
    .footer-legal { display: flex !important; flex-wrap: wrap; gap: 4px 18px !important; }
    .footer-col a { font-size: .9rem; padding: 3px 0; }
    /* Kanäle nur als Icon-Buttons in einer Reihe */
    .footer-social { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
    .footer-social a { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); }
    .footer-social a > span:not(.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;
    }
    .footer-social .icon { width: 19px; height: 19px; }
    .footer-bottom { flex-direction: column; gap: 4px; padding-top: 14px; padding-bottom: 20px; font-size: .66rem; }
}

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