@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --ink: #1a1a1a;
    --ink-soft: #6b6b6b;
    --accent: #5268d8;
    --accent-dark: #4256c2;
    --tint-bg: #f0f0f0;
    --dark-bg: #0d0d0d;
    --border: #e2e2e2;
    --font-display: 'Oswald', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.5;
    background: #fff;
}

h1, h2, h3, h4,
.eyebrow, .display-font {
    font-family: var(--font-display);
    text-transform: uppercase;
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 20px;
}

.block { border-bottom: 1px solid var(--border); }
.block.tint { background: var(--tint-bg); }
.block.dark, .section .cta-band { background: var(--dark-bg); color: #fff; }

.block-head { margin-bottom: 32px; max-width: 640px; }
.block-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--accent);
    margin-bottom: 8px;
}
.block.dark .eyebrow { color: #a9b6f0; }

h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; letter-spacing: -.01em; margin: 0 0 8px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 2px;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    text-decoration: none;
    border: 2px solid transparent;
    transition: filter .15s, background-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: var(--tint-bg); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: inherit; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

.block-cta { margin-top: 24px; }

/* split */
.split { display: grid; gap: 40px; }
.split.rev .split-text { order: 2; }
.split-list { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 8px; }
.split-list .bc { display: inline-flex; margin-right: 8px; color: var(--accent); }

/* cards */
.cards { display: grid; gap: 2px; grid-template-columns: repeat(2, 1fr); background: var(--border); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) {
    .cards.c3, .cards.c4 { grid-template-columns: repeat(2, 1fr); }
}
.mini { display: block; padding: 28px 24px; background: #fff; text-decoration: none; color: inherit; }
.mini h4 { margin: 12px 0 6px; font-size: 17px; }
.mini p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.mini.accent { background: var(--accent); color: #fff; }
.mini.accent p { color: rgba(255,255,255,.8); }

/* cta */
.cta-band { text-align: center; padding: 56px 20px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* faq */
.faq { max-width: 720px; margin-inline: auto; display: grid; gap: 2px; background: var(--border); }
.faq-item { background: #fff; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: none; padding: 18px 20px; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.faq-a { display: none; padding: 0 20px 18px; color: var(--ink-soft); }
.faq-item.open .faq-a { display: block; }

/* team / player cards */
.team { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.tcard { position: relative; text-align: left; }
.tphoto {
    position: relative;
    aspect-ratio: 3/4;
    width: 100%;
    border-radius: 0;
    margin: 0 0 12px;
    background: var(--accent);
    background-image:
        linear-gradient(30deg, var(--accent-dark) 12%, transparent 12.5%, transparent 87%, var(--accent-dark) 87.5%, var(--accent-dark)),
        linear-gradient(150deg, var(--accent-dark) 12%, transparent 12.5%, transparent 87%, var(--accent-dark) 87.5%, var(--accent-dark)),
        linear-gradient(30deg, var(--accent-dark) 12%, transparent 12.5%, transparent 87%, var(--accent-dark) 87.5%, var(--accent-dark)),
        linear-gradient(150deg, var(--accent-dark) 12%, transparent 12.5%, transparent 87%, var(--accent-dark) 87.5%, var(--accent-dark)),
        linear-gradient(60deg, #6278e8 25%, transparent 25.5%, transparent 75%, #6278e8 75%, #6278e8),
        linear-gradient(60deg, #6278e8 25%, transparent 25.5%, transparent 75%, #6278e8 75%, #6278e8);
    background-size: 60px 104px;
    background-position: 0 0, 0 0, 30px 52px, 30px 52px, 0 0, 30px 52px;
    font-weight: 700;
    overflow: hidden;
}
.tphoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Pure player cards (no role/email/description) get the live-site's vertical
   name-bar treatment, overlaid on the photo. Cards with extra info (e.g. the
   Vorstand board-member grid, which reuses this same component) keep that
   info readable as a normal caption below the photo instead. */
.tbody:not(:has(.role, .tmail, p)) {
    position: absolute;
    left: 0; top: 0;
    width: 30px;
    height: calc(100% - 12px);
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.tbody:not(:has(.role, .tmail, p)) h4 {
    margin: 0;
    transform: rotate(-90deg);
    white-space: nowrap;
    color: #fff;
    font-size: 13px;
    letter-spacing: .01em;
}
.tbody:has(.role, .tmail, p) h4 { margin: 0 0 4px; font-size: 16px; font-family: var(--font-body); text-transform: none; }
.role { color: var(--ink-soft); font-size: 13px; font-family: var(--font-body); text-transform: none; margin-top: 2px; }
.tmail { font-size: 13px; color: var(--accent); }
.tcard p:not(.role) { font-family: var(--font-body); text-transform: none; font-size: 13px; color: var(--ink-soft); margin: 4px 0 0; }

/* team-profile: single person + opening hours (e.g. Kegelbahnwirtin) */
.team-profile { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
.team-profile-person { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: start; }
.team-profile-photo { aspect-ratio: 3/4; background: var(--accent); }
.team-profile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-profile-body h4 { font-size: 16px; font-family: var(--font-body); text-transform: none; margin: 0 0 4px; }
.team-profile-hours { max-width: 480px; }
.team-profile-hours h5 { font-family: var(--font-display); text-transform: uppercase; font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.hours-card { border: 1px solid var(--border); padding: 8px 24px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 12px 0; }
.hours-table td:first-child { font-family: var(--font-display); text-transform: uppercase; font-size: 12px; letter-spacing: .04em; }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }
@media (min-width: 900px) {
    .team-profile { grid-template-columns: 320px 1fr; gap: 48px; }
    .team-profile-person { grid-template-columns: 1fr; }
}

/* timeline */
.timeline { display: grid; gap: 4px; max-width: 720px; margin-inline: auto; }
.tl-yearrow { margin: 24px 0 8px; }
.tl-yeartag { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); }
.tl-item { display: grid; grid-template-columns: 24px 1fr; gap: 16px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--accent); }
.tl-line { flex: 1; width: 2px; background: var(--border); margin-top: 4px; }
.tl-card { padding-bottom: 24px; }
.tl-top { display: flex; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.tl-card h4 { font-size: 17px; margin: 0 0 4px; }
.tl-item.win .tl-badge { color: var(--accent); font-weight: 700; }
.tl-desc { color: var(--ink-soft); font-family: var(--font-body); text-transform: none; }
.tl-photo img { max-width: 100%; margin-top: 8px; }

/* lazy-loaded images: shimmer placeholder until the real image has loaded */
@keyframes img-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.lazy-img { background: linear-gradient(90deg, var(--tint-bg) 25%, #fff 37%, var(--tint-bg) 63%); background-size: 400% 100%; animation: img-shimmer 1.6s ease-in-out infinite; opacity: 0; transition: opacity .35s ease; }
.lazy-img.is-loaded { opacity: 1; animation: none; background: none; }

/* gallery */
.gallery { display: grid; gap: 2px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery-item { margin: 0; padding: 0; }
.gallery-item img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-placeholder { width: 100%; aspect-ratio: 1/1; background: var(--tint-bg); display: flex; align-items: center; justify-content: center; }
figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 6px; font-family: var(--font-body); text-transform: none; }
.block.dark .gallery-placeholder { background: #1a1a1a; color: #fff; }
.gallery-trigger { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }

/* gallery lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(13,13,13,.94); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: min(1100px, 84vw); max-height: 84vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox-img { max-width: 100%; max-height: 76vh; object-fit: contain; }
.lightbox-caption { color: rgba(255,255,255,.8); font-size: 14px; text-align: center; margin: 0; min-height: 1em; }
.lightbox-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: #fff; cursor: pointer; padding: 8px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 48px; height: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox-nav:hover { background: rgba(255,255,255,.18); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
@media (max-width: 640px) {
    .lightbox-nav { width: 40px; height: 40px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

/* downloads */
.downloads { display: grid; gap: 2px; background: var(--border); }
.download-row { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; text-decoration: none; color: inherit; }
.dl-ic { color: var(--accent); }
.dl-desc { margin-left: auto; color: var(--ink-soft); font-size: 13px; }

/* contact */
.contact-methods { display: grid; gap: 2px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); background: var(--border); }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; background: #fff; text-decoration: none; color: inherit; position: relative; }
.contact-ic { color: var(--accent); }
.contact-val { color: var(--ink-soft); font-size: 14px; }
.contact-go { position: absolute; top: 20px; right: 20px; }

/* news grid */
.news-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.news-card { display: block; text-decoration: none; color: inherit; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.news-thumb { overflow: hidden; }
.news-thumb img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform .4s ease; }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-card h4 { padding: 18px 18px 0; font-size: 18px; font-family: var(--font-body); text-transform: none; font-weight: 700; letter-spacing: normal; }
.news-card p { padding: 0 18px; color: var(--ink-soft); font-size: 14px; }
.news-card p:last-child { padding-bottom: 18px; }
.news-date { display: block; padding: 18px 18px 0; font-family: var(--font-display); text-transform: uppercase; font-size: 11px; color: var(--accent); font-weight: 700; letter-spacing: .04em; }

/* logos */
.logos { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: center; }
.logos img { max-height: 40px; opacity: .7; }

/* statement */
.statement { max-width: 760px; margin-inline: auto; }
.statement h2 { margin-top: 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--dark-bg); color: #fff; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; max-width: 1200px; margin: 0 auto; height: 64px; }
.nav-logo {
  height: 100px;
  display: block;
  background-color: var(--dark-bg);
  margin-top: 50px;
}
.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-links { display: flex; align-items: center; height: 100%; gap: 0; }
.nav-link {
    padding: 0 16px;
    height: 100%;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    background: none;
    border: none;
    font-family: var(--font-display);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background-color .15s, color .15s;
}
.nav-link.active, .nav-link:hover { background: var(--accent); color: #fff; }
.nav-drop { position: relative; height: 100%; }
.nav-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--border); padding: 8px; min-width: 200px; box-shadow: 0 12px 30px -16px rgba(0,0,0,.4); }
.nav-drop.open .nav-menu, .nav-drop:hover .nav-menu { display: block; }
.nav-menu-link { display: block; padding: 8px 12px; text-decoration: none; color: var(--ink); font-size: 14px; font-family: var(--font-body); text-transform: none; }
.nav-menu-link:hover, .nav-menu-link.active { background: var(--tint-bg); color: var(--accent); }
.nav-burger { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 6px; }
.mobile-menu { display: none; flex-direction: column; padding: 12px 20px 20px; border-top: 1px solid rgba(255,255,255,.12); background: var(--dark-bg); }
.mobile-menu.open { display: flex; padding-top: 40px; }
.mlink { padding: 12px 4px; text-decoration: none; color: #fff; font-family: var(--font-display); text-transform: uppercase; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; background: none; border-left: none; border-right: none; border-top: none; width: 100%; text-align: left; font: inherit; cursor: pointer; }
.msub { display: flex; flex-direction: column; padding-left: 12px; }
.msub[hidden] { display: none; }
.msub-link { border-bottom: none; font-weight: 500; color: #b8b8b8; }

@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-burger { display: block; }
}

/* hero (homepage) — default: no photo yet, a simple padded dark banner like
   the subpage hero. Once page.heroImageName is set (.hero--media), it
   becomes the full-bleed diagonal-split photo with the text overlaid at the
   bottom, per the redesign. */
.hero { background: var(--dark-bg); }
.hero .hero-grid { position: static; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 72px 20px; color: #fff; max-width: none; }
.hero.hero--media { position: relative; overflow: hidden; }
.hero.hero--media .hero-grid { position: absolute; inset: 0; justify-content: flex-end; padding: 0 20px 24px; }
.hero-media { position: relative; width: 100%; height: 600px; max-height: 70vh; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,13,13,.75), rgba(13,13,13,0) 55%); }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.hero-slide.active { opacity: 1; }
.hero-pill { display: inline-block; background: rgba(13,13,13,.6); border: 1px solid rgba(255,255,255,.3); padding: 6px 16px; font-family: var(--font-display); text-transform: uppercase; font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.hero h1 { font-size: clamp(28px, 5vw, 52px); line-height: 1.05; margin: 0 0 16px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero h1 .hl { color: var(--accent); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 0 20px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.4); border: none; padding: 0; cursor: pointer; }
.hero-dot.active { background: #fff; }

/* homepage "next termin" spotlight, right below the hero */
.next-termin { background: #fff; padding: 56px 0; }
.next-termin .wrap { padding: 0 20px; }
.next-termin h2 { margin: 0 0 24px; }
.next-termin-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 20px 0; border-top: 1px solid var(--border); text-decoration: none; color: inherit; transition: background-color .15s; }
.next-termin-row:last-of-type { border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.next-termin-row:hover { background: var(--tint-bg); }
.next-termin-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; }
.next-termin-date { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.next-termin-title { font-size: 17px; font-weight: 600; }
.next-termin-time { color: var(--ink-soft); font-size: 14px; }
.next-termin-more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); text-transform: uppercase; font-size: 12px; font-weight: 700; color: var(--accent); }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* hero (subpages) */
.page-hero { background: var(--dark-bg); color: #fff; padding: 48px 0 56px; text-align: left; }
.page-hero .wrap { padding: 0 20px; max-width: 1200px; }
.page-hero .eyebrow.center { text-align: left; margin-inline: 0; }
.page-hero h1 { font-size: clamp(32px, 6vw, 64px); font-weight: 700; margin: 8px 0 0; color: #fff; }
.ph-sub { color: rgba(255,255,255,.7); max-width: 60ch; margin: 16px 0 0; font-family: var(--font-body); text-transform: none; }
.ph-cta { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.ph-breadcrumb { display: flex; gap: 8px; align-items: center; font-family: var(--font-display); text-transform: uppercase; font-size: 11px; letter-spacing: .04em; color: rgba(255,255,255,.5); margin: 0 0 16px; }
.ph-breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; }
.ph-breadcrumb a:hover { color: #fff; }
.ph-breadcrumb .current { color: var(--accent); }
.search-form { display: flex; gap: 12px; margin-top: 24px; max-width: 480px; }
.search-form input { flex: 1; padding: 12px 16px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; border-radius: 6px; font-size: 15px; }
.search-form input::placeholder { color: rgba(255,255,255,.5); }
.search-results { list-style: none; margin: 16px 0 40px; padding: 0; }
.search-results li { padding: 16px 0; border-bottom: 1px solid var(--border); }
.search-results a { font-weight: 600; text-decoration: none; color: var(--ink); }
.search-results a:hover { color: var(--accent); }
.search-results p { margin: 6px 0 0; color: var(--ink-soft); }
.nav-search-toggle { background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); display: flex; }
.nav-search { display: none; align-items: center; gap: 8px; }
.nav-search.open { display: flex; }
.nav-search input { padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; }

/* footer */
footer { background: var(--dark-bg); color: #b8b8b8; }
footer .wrap { padding: 72px 20px 28px; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 48px; }
.foot-logo { height: 44px; margin-bottom: 16px; }
.foot-about, .foot-address { font-size: 14px; color: #9a9a9a; margin: 4px 0; line-height: 1.6; }
.foot-col h5 { margin: 0 0 20px; font-size: 15px; font-family: var(--font-display); text-transform: uppercase; color: var(--accent); }
.foot-col a { display: block; color: #9a9a9a; text-decoration: none; font-size: 14px; margin-bottom: 10px; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: #7a7a7a; }
.foot-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-legal a { color: #7a7a7a; text-decoration: none; }
.foot-legal a:hover { color: #fff; }

/* cookie banner */
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--border); padding: 18px 20px; box-shadow: 0 18px 40px -20px rgba(0,0,0,.3); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; z-index: 100; }
.cookie-banner[hidden] { display: none; }
.cookie-banner-text { margin: 0; font-size: 13px; color: var(--ink-soft); flex: 1; min-width: 220px; }
.cookie-banner-text a { color: var(--accent); }
.cookie-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner-btn { background: var(--accent); color: #fff; border: none; border-radius: 2px; padding: 10px 20px; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.cookie-banner-btn--ghost { background: transparent; color: var(--ink-soft); border: 1px solid var(--border); }

/* migrated WP raw-HTML content */
.wp-content img { max-width: 100%; height: auto; }
.wp-content h1, .wp-content h2, .wp-content h3 { line-height: 1.2; }
.wp-content p { color: var(--ink-soft); font-family: var(--font-body); }
.wp-content a { color: var(--accent); }

/* WP Gutenberg image galleries embedded in migrated content render as a
   plain <ul> (blocks-gallery-grid / wp-block-gallery) — style it as a photo
   grid instead of a bulleted list. */
.wp-content ul.blocks-gallery-grid,
.wp-content .wp-block-gallery,
.wp-content ul.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    list-style: none;
    margin: 24px 0;
    padding: 0;
}
.wp-content ul.blocks-gallery-grid li,
.wp-content .wp-block-gallery .blocks-gallery-item,
.wp-content ul.gallery li {
    margin: 0;
}
.wp-content ul.blocks-gallery-grid figure,
.wp-content .wp-block-gallery figure,
.wp-content ul.gallery figure {
    margin: 0;
}
.wp-content ul.blocks-gallery-grid img,
.wp-content .wp-block-gallery img,
.wp-content ul.gallery img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* calendar */
.cal-ical-actions { display: flex; justify-content: center; gap: 12px; margin-bottom: 24px; }
.cal-ical-btn { display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; }
.cal-ical-btn:hover { color: var(--accent); border-color: var(--accent); }
.cal-head { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 24px; }
.cal-head h2 { margin: 0; min-width: 200px; text-align: center; }
.cal-nav { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 18px; }
.cal-nav:hover { color: var(--accent); border-color: var(--accent); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.cal-dow { background: var(--tint-bg); padding: 10px 8px; text-align: center; font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.cal-day { background: #fff; min-height: 84px; padding: 6px; font-size: 12px; min-width: 0; }
.cal-day-out { background: #fafafa; }
.cal-day-out .cal-daynum { color: #ccc; }
.cal-daynum { display: inline-block; font-weight: 700; margin-bottom: 4px; }
.cal-day-today .cal-daynum { background: var(--accent); color: #fff; border-radius: 999px; padding: 1px 7px; }
.cal-entry { display: block; font-size: 11px; padding: 2px 5px; text-decoration: none; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-entry-game { background: var(--tint-bg); color: var(--accent); font-weight: 600; }
.cal-entry-event { background: #eef1fb; color: #3b4d99; }
@media (max-width: 700px) {
    .cal-dow { font-size: 10px; padding: 4px; }
    .cal-day { min-height: 56px; padding: 4px; font-size: 11px; }
    .cal-entry { font-size: 9px; padding: 1px 10px; height: 16px; border-radius: 999px; margin-top: 2px; }
}

/* termine list */
.termine-list { display: grid; gap: 1px; background: var(--border); }
.termine-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; text-decoration: none; color: inherit; background: #fff; }
.ti-date { display: flex; flex-direction: column; align-items: center; min-width: 56px; }
.ti-day { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.ti-time { font-size: 12px; color: var(--ink-soft); }
.ti-badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 2px 8px; margin-bottom: 6px; }
.ti-badge-game { background: var(--accent); color: #fff; }
.ti-badge-event { background: #94a0b8; color: #fff; }
.ti-body h4 { margin: 0 0 4px; font-family: var(--font-body); text-transform: none; font-size: 17px; }
.ti-venue { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* termin detail */
.termin-detail { max-width: 640px; margin-inline: auto; }

/* pretix-linked event landing page */
.evt-hero { background: var(--dark-bg); color: #fff; padding: 72px 20px; text-align: center; background-image: radial-gradient(at 15% 15%, rgba(82,104,216,.25), transparent 55%), radial-gradient(at 85% 85%, rgba(255,102,0,.18), transparent 55%); }
.evt-eyebrow { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: #ff8a3d; margin-bottom: 12px; }
.evt-hero h1 { font-size: clamp(32px, 6vw, 56px); margin: 0 0 24px; }
.evt-hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.evt-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 10px 20px; font-family: var(--font-display); text-transform: uppercase; font-size: 14px; }
.evt-details-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
.evt-section-title { font-size: 24px; border-left: 6px solid var(--accent); padding-left: 16px; margin: 0 0 24px; }
.evt-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 24px; }
.evt-card { background: var(--tint-bg); border-top: 4px solid #ff6600; padding: 24px; }
.evt-card--accent { border-top-color: var(--accent); }
.evt-card h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0 0 8px; }
.evt-card p { color: var(--ink-soft); font-size: 14px; margin: 0; line-height: 1.6; }
.evt-description .wp-content { background: var(--dark-bg); color: #fff; padding: 32px; }
.evt-tickets-panel { background: var(--tint-bg); border: 2px dashed var(--border); padding: 40px; }
.evt-map { height: 360px; margin-top: 48px; }
@media (min-width: 900px) {
    .evt-details-grid { grid-template-columns: 1.4fr 1fr; }
}
.tickets-panel h2 { font-size: 20px; margin: 0 0 16px; }
.ticket-list { list-style: none; margin: 0 0 20px; padding: 0; border: 1px solid var(--border); }
.ticket-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 14px; }
.ticket-row:last-child { border-bottom: none; }
.ticket-row--soldout { color: var(--ink-soft); }
.ticket-status { font-family: var(--font-display); text-transform: uppercase; font-size: 11px; letter-spacing: .04em; color: var(--accent); }
.ticket-row--soldout .ticket-status { color: var(--ink-soft); }

/* standings / fixtures table */
.table-panel { background: #fff; border: 1px solid var(--border); box-shadow: 0 12px 30px -20px rgba(0,0,0,.2); overflow: hidden; }
.table-panel-head { padding: 20px 28px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.table-panel-head h2 { margin: 0; }
.table-panel-updated { font-size: 12px; color: var(--ink-soft); font-family: var(--font-body); text-transform: none; }
.table-scroll { overflow-x: auto; }
.standings-table, .fixtures-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.standings-table thead, .fixtures-table thead { background: var(--tint-bg); }
.standings-table th, .fixtures-table th { padding: 12px 20px; font-family: var(--font-display); text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--ink-soft); }
.standings-table td, .fixtures-table td { padding: 14px 20px; border-top: 1px solid var(--border); }
.standings-table tr.is-self td, .fixtures-table tr.is-self td { background: #eef1fc; font-weight: 700; }
.standings-table .rank { font-weight: 700; }
.standings-table .diff-pos { color: #1f8a4c; }
.standings-table .diff-neg { color: #c53030; }

/* Halloween event landing page (one-off sales page, termine/event_show_halloween.html.twig) */
.pricing-cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 1000px; margin: 0 auto; }
.pricing-card { background: #fff; border: 1px solid var(--border); padding: 32px 28px; text-align: center; }
.pricing-card--highlight { border: 2px solid var(--accent); background: var(--tint-bg); }
.pricing-card-badge { display: inline-block; font-family: var(--font-display); text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--accent); padding: 4px 10px; margin-bottom: 12px; }
.pricing-card h3 { margin: 0; font-size: 15px; }
.pricing-card .price { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--ink); margin: 8px 0; }
.pricing-card .price small { font-family: var(--font-body); text-transform: none; font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.pricing-card p.note { color: var(--ink-soft); font-size: 14px; margin: 0 0 20px; }

.group-ticket-band { background: var(--dark-bg); color: #fff; padding: 72px 20px; text-align: center; background-image: radial-gradient(at 20% 20%, rgba(82,104,216,.3), transparent 55%), radial-gradient(at 80% 80%, rgba(255,102,0,.2), transparent 55%); }
.group-ticket-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin: 32px 0; }
.group-ticket-stat strong { display: block; font-family: var(--font-display); font-size: 36px; }
.group-ticket-stat span { display: block; font-size: 13px; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }
.group-ticket-headline { font-size: clamp(24px, 4vw, 40px); margin: 24px 0; }

.placeholder-card { border: 2px dashed var(--border); padding: 28px; text-align: center; color: var(--ink-soft); }
.placeholder-photo { width: 96px; height: 96px; border-radius: 999px; background: var(--tint-bg); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); }
.placeholder-tag { display: inline-block; font-family: var(--font-display); text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--ink-soft); border: 1px solid var(--border); padding: 3px 8px; margin-top: 12px; }
.placeholder-card--dark { background: var(--dark-bg); border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.7); }
.placeholder-card--dark .placeholder-photo { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
.placeholder-card--dark h4 { color: #fff; font-family: var(--font-body); text-transform: none; font-size: 20px; margin: 0 0 4px; }
.placeholder-card--dark .placeholder-tag { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.3); }
.placeholder-card--wide { grid-column: span 2; }

.dj-card { text-align: center; color: #fff; background: var(--dark-bg); padding: 20px 16px 24px; }
.dj-photo { aspect-ratio: 1/1; max-width: 280px; margin: 0 auto 16px; overflow: hidden; }
.dj-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dj-card h4 { font-size: 20px; margin: 0 0 4px; }
.dj-card p { color: rgba(255,255,255,.7); font-family: var(--font-body); text-transform: none; margin: 0 0 4px; }

/* visual editor */
.ve-editable { outline: 1px dashed transparent; transition: outline-color .15s, background .15s; cursor: text; }
.ve-editable:hover { outline-color: #b7c2f5; }
.ve-editable:focus { outline: 2px solid var(--accent); background: #f2f4fd; }
[data-block-id] { position: relative; }
[data-controller~="block-sort"] [data-block-id] { cursor: grab; }
[data-item-id] { position: relative; }
