/* EventOS Website-Stylesheet
 * https://www.gaswerk-eventbar.ch wird beim Publish durch die Website-URL ersetzt (Schriftart-Pfade).
 * Farben, Schriften und alle CSS-Klassen können hier frei angepasst werden.
 */

/* Inter selbst gehostet (data/fonts/) statt über Google Fonts geladen —
   keine externen Requests/IP-Weitergabe an Google beim Seitenaufruf. */
@font-face {
    font-family: 'Inter';
    src: url('https://www.gaswerk-eventbar.ch/fonts/inter-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    src: url('https://www.gaswerk-eventbar.ch/fonts/inter-regular-ext.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    src: url('https://www.gaswerk-eventbar.ch/fonts/inter-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    src: url('https://www.gaswerk-eventbar.ch/fonts/inter-bold-ext.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'BrauerNeue-Bold';
    src: url('https://www.gaswerk-eventbar.ch/fonts/lineto-brauerneue-bold.woff') format('woff'),
         url('https://www.gaswerk-eventbar.ch/fonts/lineto-brauerneue-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BrauerNeue-Regular';
    src: url('https://www.gaswerk-eventbar.ch/fonts/BrNRg___.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BrauerNeue-Regular-Extended';
    src: url('https://www.gaswerk-eventbar.ch/fonts/BrNRgEx_.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #000000;
    --card: #313131;
    --detail-bg: #d2d2d2;
    --accent: #f43921;
    --muted: #6e6e6e;
    --muted2: #b4b4b4;
    --border: #8b8b8b;
    --brauer: 'BrauerNeue-Bold', Arial, Helvetica, sans-serif;
    --serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
/* ─── Reset & Basis ──────────────────────────────────────────────────────── */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--muted);
    font-family: var(--serif);
    font-size: 16px;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Header & Navigation ────────────────────────────────────────────────── */

#header {
    height: 120px;
    position: sticky;
    top: 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
    z-index: 100;
}

/* backdrop-filter auf ::before auslagern, damit position:fixed Kinder (nav, burger)
   wieder relativ zum Viewport positioniert werden und nicht relativ zu #header */
#header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: -1;
}

#header.scrolled {
    border-bottom-color: rgba(255,255,255,0.08);
}

#header .inner {
    position: relative;
    height: 100%;
}

.logo {
    position: absolute;
    top: 25px;
    left: 0;
    font-family: var(--brauer);
    font-size: 2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
}

.logo em {
    color: var(--accent);
    font-style: normal;
}

nav {
    position: absolute;
    top: 55px;
    right: 0;
    display: flex;
}

nav a {
    font-family: var(--brauer);
    font-size: 20px;
    line-height: 22px;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
    padding: 0 0 20px 0;
    margin: 0 0 0 25px;
    display: block;
}

nav a:hover,
nav a.active {
    color: var(--accent);
}

/* ─── Dropdown-Navigation ────────────────────────────────────────────────── */

.nav-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-left: 25px;
}

.nav-item > a {
    padding: 0 0 20px 0;
    margin: 0;
    font-family: var(--brauer);
    font-size: 20px;
    line-height: 22px;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
    display: block;
}

.nav-item > a:hover,
.nav-item > a.active,
.nav-item:hover > a { color: var(--accent); }

.nav-item > a::after {
    content: ' ▾';
    font-size: 11px;
    opacity: 0.45;
    vertical-align: middle;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% - 12px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 190px;
    background: rgba(8,8,8,0.98);
    border: 1px solid rgba(255,255,255,0.07);
    border-top: 2px solid var(--accent);
    padding: 6px 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 200;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 10px 22px;
    font-family: var(--brauer);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin: 0;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a.active { color: var(--accent); background: rgba(255,255,255,0.04); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hero {
    background: var(--bg);
    padding: 80px 0 40px;
    text-align: center;
}

/* Wenn weder Hero-Titel noch Untertitel gesetzt sind (z.B. Hero-Titel im
   Seiten-Template entfernt), ganzen Hero-Block mit seinem Padding zusammen-
   klappen statt einen leeren schwarzen Balken zu zeigen. Prüft gezielt auf die
   beiden Inhalts-Elemente statt auf :empty, da .inner wegen Einrückung/Zeilen-
   umbrüchen im Template meist Whitespace-Textknoten enthält (zählt für :empty
   schon als "nicht leer"). */
.hero:not(:has(.hero-brand, .hero-sub)) {
    display: none;
}

.hero-brand {
    font-family: var(--brauer);
    font-size: clamp(40px, 8vw, 80px);
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}

.hero-brand em {
    color: var(--accent);
    font-style: normal;
}

.hero-sub {
    font-family: var(--brauer);
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 14px;
}

.hero-more {
    font-family: var(--brauer);
    font-size: 15px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 30px 0 0;
    background: var(--accent);
    padding: 13px 28px;
    border-radius: 2px;
    transition: background 0.2s, transform 0.15s;
}

.hero-more:hover {
    background: #c92e0f;
    transform: translateY(-2px);
}

/* ─── Slider ─────────────────────────────────────────────────────────────── */

.slider {
    position: relative;
    overflow: hidden;
    height: 480px;
    background: #000;
    max-width: 1040px;
    margin: 0 auto;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: flex-end;
}

.slide-inner {
    padding: 40px;
    max-width: 700px;
}

.slide-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(22px, 4vw, 40px);
    color: #fff;
    line-height: 1.25;
}

.slide-date {
    font-family: var(--brauer);
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 10px;
}

.slide-link {
    font-family: var(--brauer);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    background: var(--accent);
    padding: 10px 20px;
    text-decoration: none;
    transition: background 0.2s;
}

.slide-link:hover {
    background: #c92e0f;
}

.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.dot.active {
    background: var(--accent);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 14px;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    font-size: 20px;
    transition: background 0.2s, border-color 0.2s;
    pointer-events: all;
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.slide-eyebrow {
    font-family: var(--brauer);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

@media (max-width: 640px) {
    .slider { height: 280px; }
    .slide-inner { padding: 20px; }
    .slide-title { font-size: 20px; }
}

/* ─── Page-Slider (Content-Seiten) ──────────────────────────────────────── */

.page-slider {
    height: 460px;
    max-width: 100%;
    margin: 0 0 0 0;
}
.page-slider .slide-overlay { background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 60%); }

@media (max-width: 640px) {
    .page-slider { height: 240px; }
}

/* ─── Events-Grid ────────────────────────────────────────────────────────── */

.section-title {
    color: var(--muted);
    font-family: var(--brauer);
    font-size: 20px;
    line-height: 22px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 40px 0 15px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 20px;
    background: var(--accent);
    flex-shrink: 0;
    border-radius: 2px;
}

.archive-year {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 10px 0;
}
.archive-year summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--brauer);
    font-size: 22px;
    letter-spacing: 0.08em;
    color: #fff;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.archive-year summary::-webkit-details-marker { display: none; }
.archive-year summary::before {
    content: '+';
    color: var(--accent);
    font-size: 22px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.archive-year[open] summary::before { content: '–'; }
.archive-year .archive-count {
    font-family: var(--serif);
    font-size: 13px;
    letter-spacing: normal;
    color: var(--muted);
    text-transform: none;
}
.archive-year .events-grid { padding-top: 20px; }

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    padding-bottom: 60px;
}

@media (max-width: 640px) {
    .events-grid { grid-template-columns: 1fr; }
}

a.eventpreview {
    display: flex;
    align-items: stretch;
    background: var(--card);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

a.eventpreview:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(244,57,33,0.18);
}

.ep-mask {
    display: none;
}

.eventdate {
    background: var(--accent);
    width: 70px;
    min-width: 70px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    flex-shrink: 0;
    padding: .5rem;
}

.wochentag {
    font-family: var(--brauer);
    font-size: 22px;
    line-height: 26px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.tag {
    font-family: var(--brauer);
    font-size: 40px;
    line-height: 40px;
    letter-spacing: 0.12em;
}

.monat {
    font-family: var(--brauer);
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 8px;
}

.eventimg {
    width: 150px;
    min-width: 150px;
    height: 150px;
    overflow: hidden;
    background: #111;
    flex-shrink: 0;
    position: relative;
}

.eventimg img {
    transition: transform 0.45s ease;
}

a.eventpreview:hover .eventimg img {
    transform: scale(1.05);
}

.ev-sonderfall {
    display: inline-block;
    margin-top: 8px;
    font-family: var(--brauer);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: #000;
    color: #fff;
    padding: 3px 10px;
}

.eventimg-ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
}

.eventdesc {
    padding: 15px 10px 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.eventart {
    font-family: var(--brauer);
    font-size: 16px;
    line-height: 20px;
    color: var(--muted2);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.eventtitle {
    font-family: var(--brauer);
    font-size: 22px;
    line-height: 26px;
    color: #fff;
    margin-top: 4px;
    transition: color 0.2s;
}

a.eventpreview:hover .eventtitle {
    color: var(--accent);
}

.no-events {
    text-align: center;
    padding: 80px 0;
    color: var(--muted);
    font-family: var(--brauer);
    font-size: 20px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ─── Event-Detail ───────────────────────────────────────────────────────── */

.lightgrey {
    background: var(--detail-bg);
}

.lightgrey-inner {
    padding: 40px 0;
}

h1.titel {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 25px;
    line-height: 33px;
    color: var(--accent);
    padding: 0 0 30px 0;
    margin: 0;
}

.eventinfobox {
    padding: 0 0 20px 0;
    border-bottom: 1px solid var(--border);
    color: #000;
    font-family: var(--brauer);
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 25px;
}

.eventinfobox .lbl {
    color: var(--accent);
    margin-right: 8px;
}

.eventinfobox a {
    color: var(--accent);
    text-decoration: underline;
}

.eventinfobox a:hover {
    color: #000;
}

.eventinfobox .ticket-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 11px 24px;
    border-radius: 2px;
    transition: background 0.2s, transform 0.15s;
}

.eventinfobox .ticket-btn:hover {
    background: #c92e0f;
    color: #fff;
    transform: translateY(-2px);
}

.eventinfobox-cta {
    margin-top: 10px;
}

.ticket-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.ticket-modal.open {
    display: block;
}

.ticket-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.ticket-modal-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(900px, 94vw);
    height: min(85vh, 900px);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.ticket-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.ticket-embed-frame {
    display: block;
    border: none;
}

@media (max-width: 640px) {
    .ticket-modal-panel {
        width: 100vw;
        /* 100vh zählt auf vielen Handy-Browsern die volle Seitenhöhe OHNE die
           Adressleiste/System-Navigationsleiste abzuziehen — der untere Teil (hier:
           Eventfrogs "Deine Auswahl"-Leiste) landet dann unsichtbar dahinter.
           100dvh berücksichtigt die tatsächlich sichtbare Höhe; env(...) reserviert
           zusätzlich Platz für Home-Indicator/Gesten-Leiste. */
        height: 100vh;
        height: 100dvh;
        padding-bottom: env(safe-area-inset-bottom);
        border-radius: 0;
    }
}

.eventinhalt {
    color: #000;
    font-family: var(--serif);
    margin-bottom: 20px;
}

.linkbox {
    border-top: 1px solid var(--border);
    padding: 20px 0 0 0;
    margin: 0 0 20px 0;
    font-family: var(--brauer);
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.linkbox .lbl {
    color: var(--accent);
    margin-right: 8px;
}

.linkbox a {
    color: #8c8c8c;
    text-decoration: underline;
}

.linkbox a:hover {
    color: #000;
    text-decoration: none;
}

.eventinfobox + .linkbox {
    border-top: none;
    padding-top: 0;
}

.detail-cols {
    overflow: hidden;
}

.detail-photo {
    float: right;
    width: 45%;
    margin: 0 0 24px 40px;
}

@media (max-width: 640px) {
    .detail-photo { float: none; width: 100%; margin: 0 0 24px 0; }
}

.band-ph {
    background: #bbb;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-family: var(--brauer);
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn-back {
    font-family: var(--brauer);
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    display: inline-block;
    padding: 20px 0;
}

.btn-back:hover {
    color: var(--accent);
}

/* ─── Inhaltsseiten ──────────────────────────────────────────────────────── */

.page-title {
    font-family: var(--brauer);
    font-size: 30px;
    line-height: 36px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 30px 0;
}

.prose {
    color: #000;
    font-family: var(--serif);
    line-height: 1.6;
}

.prose p { margin-bottom: 12px; }
.prose ul, .prose ol { margin: 0 0 12px 24px; }
.prose li { margin-bottom: 4px; }
.prose strong { font-weight: 700; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose a:hover { color: #000; }

/* Manuell eingebettete iframes (z.B. Eventfrog-Ticketwidget) haben von sich aus einen
   transparenten Hintergrund — füllt der eingebettete Inhalt nicht die ganze angegebene
   Höhe, scheint sonst der Seitenhintergrund statt Weiss durch. */
.prose iframe {
    background: #fff;
    border-radius: 4px;
    max-width: 100%;
}

/* Bildergalerie (unzugeschnitten) — im Unterschied zur Header-Grafik oben keine feste
   Höhe/kein Zuschnitt: jedes Bild behält sein echtes Seitenverhältnis. --pg-width wird
   pro Seite im Editor eingestellt; 100% = volle Breite des .inner-Inhaltscontainers,
   NICHT die ganze Bildschirmbreite (die Grafik sitzt ja innerhalb von .inner). */
.page-gallery {
    position: relative;
    width: var(--pg-width, 100%);
    max-width: 100%;
    margin: 0 auto 30px;
}

.pg-slide {
    display: none;
    text-align: center;
}

.pg-slide.active {
    display: block;
}

.pg-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.pg-caption {
    font-family: var(--serif);
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.page-gallery .slider-dots {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 12px;
}

.page-gallery .dot {
    background: rgba(0, 0, 0, 0.2);
}

.page-gallery .dot.active {
    background: var(--accent);
}

.prose h2 {
    font-family: var(--brauer);
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 28px 0 12px;
}

.prose h3 {
    font-family: var(--brauer);
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #333;
    margin: 22px 0 10px;
}

.team-section {
    margin-top: 40px;
}

.team-heading {
    font-family: var(--brauer);
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 24px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px 24px;
}

.team-member-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #ddd;
    margin-bottom: 10px;
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-name {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 16px;
    color: #000;
}

.team-member-role {
    font-family: var(--brauer);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 3px 0 6px 0;
}

.team-member-contact {
    font-family: var(--brauer);
    font-size: 12px;
}

.team-member-contact a {
    color: #8c8c8c;
    text-decoration: underline;
    display: block;
}

.team-member-contact a:hover {
    color: #000;
    text-decoration: none;
}

@media (max-width: 640px) {
    .team-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px 16px; }
}

.prose h4 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 16px;
    margin: 16px 0 8px;
    color: #000;
}

.prose figure.image { margin: 20px 0; text-align: center; }
.prose figure.image img { max-width: 100%; height: auto; }
.prose figure.image figcaption { font-family: var(--serif); font-size: 13px; color: #666; margin-top: 6px; }

.prose figure.media {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 24px 0;
}

.prose figure.media iframe,
.prose figure.media > div > iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.prose figure.media > div { position: absolute; inset: 0; }

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: var(--serif);
}

.prose td, .prose th {
    border: 1px solid var(--border);
    padding: 8px 14px;
    color: #000;
}

.prose th {
    background: #2a2a2a;
    color: #fff;
    font-family: var(--brauer);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.prose blockquote {
    border-left: 4px solid var(--accent);
    margin: 20px 0;
    padding: 10px 20px;
    background: rgba(0,0,0,.04);
    color: #333;
    font-style: italic;
}

.prose hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 30px 0;
}

.prose code {
    background: #eee;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-family: monospace;
}

/* ─── Kontakt ────────────────────────────────────────────────────────────── */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 640px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.contact-block-title {
    font-family: var(--brauer);
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */

#footer {
    background: #000;
    color: var(--muted);
    padding: 50px 0 30px;
    border-top: 3px solid var(--accent);
}

.footer-cols {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    max-height: 60px;
    width: auto;
    filter: invert(1);
    opacity: 0.6;
}

.footer-address {
    font-family: var(--brauer);
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer-name {
    color: var(--accent);
    margin-bottom: 4px;
}

.footer-left-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    padding-top: 4px;
}

.footer-link {
    font-family: var(--brauer);
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
}

.footer-link:hover {
    color: #fff;
}

.footer-social-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-social {
    color: var(--muted);
    display: inline-block;
    line-height: 0;
}

.footer-social:hover {
    color: var(--accent);
}

@media (max-width: 640px) {
    .footer-cols { flex-direction: column; }
    .footer-right { align-items: flex-start; }
}

/* ─── Event-Detail: Pressetext & YouTube ─────────────────────────────────── */

.presstext {
    margin: 2rem 0;
    font-size: .97rem;
    line-height: 1.7;
    color: var(--detail-text, #333);
}

.yt-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.yt-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ─── Burger-Navigation (Mobil) ──────────────────────────────────────────── */

.nav-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 6px;
}

.nav-burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--muted2);
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--accent);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--accent);
}

@media (max-width: 768px) {
    #header {
        height: 82px;
    }

    #header::before {
        height: 72px;
    }

    .logo {
        top: 14px;
        left: 30px;
        font-size: 1.3rem;
    }

    .logo img {
        max-height: 42px;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.90);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 90px 0 40px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1000;
    }

    nav.open {
        opacity: 1;
        pointer-events: auto;
    }

    nav a {
        font-size: 24px;
        line-height: 1;
        margin: 0;
        padding: 22px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        width: 100%;
        text-align: left;
    }

    .nav-burger {
        display: flex;
        position: fixed;
        top: 14px;
        right: 12px;
        z-index: 1001;
    }

    .nav-item {
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        width: 100%;
    }

    .nav-item > a {
        font-size: 24px;
        padding: 22px 30px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        margin: 0;
        text-align: left;
    }

    .nav-item > a::after { display: none; }

    .nav-dropdown {
        /* Kein eigenes pointer-events:auto mehr setzen — das hat bisher die
           pointer-events:none des geschlossenen <nav> überstimmt (ein Kind-Element
           kann pointer-events:none eines Vorfahren mit einem eigenen "auto" aushebeln),
           wodurch die Untermenü-Links (Bar/Küche/Technik etc.) auch bei geschlossenem
           Menü unsichtbar anklickbar blieben ("Geister-Klicks"). Jetzt erbt die
           Klickbarkeit korrekt vom <nav>/<nav.open>-Zustand. */
        position: static;
        opacity: 1;
        transform: none;
        background: rgba(255,255,255,0.03);
        border: none;
        min-width: auto;
        padding: 0;
        width: 100%;
    }

    .nav-dropdown a {
        padding: 13px 30px 13px 58px;
        font-size: 15px;
        letter-spacing: 0.18em;
        color: rgba(255,255,255,0.42);
        border-bottom: 1px solid rgba(255,255,255,0.04);
        white-space: normal;
        background: none;
    }

    .eventimg {
        width: 100px;
        min-width: 100px;
        height: 130px;
    }

    .eventdate {
        width: 58px;
        min-width: 58px;
        height: 130px;
    }

    .tag {
        font-size: 30px;
        line-height: 34px;
    }

    .wochentag {
        font-size: 16px;
        line-height: 20px;
    }

    h1.titel {
        font-size: 20px;
        line-height: 27px;
    }
}