/* =========================================================
   TSV – GLOBAL (CLEAN) – NAV + GLOBAL ELEMENTE
   - Sticky Header + Desktop/Mobile Menu
   - Top/Bottom Fade
   - Footer (Powered-by aus, Copyright)
   - Home Feed + Hero Slider
   - Post: Beitragsbild
   ========================================================= */

/* =========================
   1) TOKENS / BASE
   ========================= */
:root{
  --tsv-head-h: 64px;

  --tsv-red-core: rgba(160, 0, 0, 1);
  --tsv-red-edge: rgba(20, 0, 0, .90);
  --tsv-red-mid:  rgba(120, 0, 0, .95);

  --tsv-drop-bg: rgba(140,0,0,.68);
  --tsv-drop-blur: 14px;
  --tsv-drop-radius: 14px;
  --tsv-drop-shadow: 0 18px 40px rgba(0,0,0,.35);

  --tsv-max: 1200px;
  --tsv-pad-x: 24px;

  /* News/Posts: zentrierte, breitere Inhalts-Spalte im gh-canvas-Grid */
  --content-width: 960px;
  --container-width: 1200px;

  --tsv-head-fade-h: clamp(140px, 18vw, 260px);

  /* (Token bleibt hier erlaubt, aber KEINE page-template Regeln in diesem Block) */
  --tsv-page-hero-maxw: min(1100px, calc(100% - 2 * 24px));
  --tsv-page-hero-h: clamp(286px, 39vh, 442px);
  --tsv-page-hero-radius: 18px;
  --tsv-page-hero-pos: 70%;
}

/* =========================
   2) HEADER BAR (GLOBAL / NAV)
   ========================= */
#gh-head{
  position: sticky !important;
  top: 0 !important;
  z-index: 999999 !important;

  background: linear-gradient(
    to right,
    rgba(160, 0, 0, 0) 0%,
    rgba(160, 0, 0, 0.85) 30%,
    rgba(160, 0, 0, 1) 35%,
    rgba(160, 0, 0, 1) 65%,
    rgba(160, 0, 0, 0.85) 82%,
    rgba(160, 0, 0, 0) 100%
  ) !important;

  height: var(--tsv-head-h) !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#gh-head, #gh-head *{
  color:#fff !important;
  fill:#fff !important;
  stroke:#fff !important;
}

#gh-head .gh-head-inner,
#gh-head .gh-head-brand,
#gh-head .gh-head-menu,
#gh-head .gh-head-actions{
  border: 0 !important;
  box-shadow: none !important;
}

#gh-head::before,
#gh-head .gh-head-inner::before,
#gh-head .gh-head-inner::after,
#gh-head .gh-head-menu::before,
#gh-head .gh-head-menu::after{
  content: none !important;
  display: none !important;
}

#gh-head .nav,
#gh-head .nav li{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}

/* =========================================================
   ? DESKTOP NAV OVERFLOW + MORE + FANSHOP
   ========================================================= */
@media (min-width: 768px){
  /* Alle Nav-Punkte sichtbar erzwingen */
  #gh-head .gh-head-menu .nav > li{
    display: flex !important;
  }

  /* Sicherstellen: nichts clipped das Menü */
  #gh-head .gh-head-menu{
    overflow: visible !important;
    min-width: 0 !important;
  }
  #gh-head .gh-head-inner{
    overflow: visible !important;
  }

  /* Fanshop-Button im Header ausblenden */
  #gh-head .gh-head-actions .tsv-fanshop{
    display: none !important;
  }
}

/* =========================================================
   NAV FIX: <button.nav-dropdown-toggle> wie <a> stylen
   ========================================================= */
#gh-head .nav-dropdown-toggle{
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font: inherit !important;
  color: inherit !important;
  line-height: inherit !important;
  cursor: pointer !important;
}


/* =========================
   2.5) TOP-FADE (GLOBAL)
   ========================= */
.site-content::before{
  content: none !important;
  display: none !important;
}

body::before{
  content: "" !important;
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: var(--tsv-head-h) !important;
  height: var(--tsv-head-fade-h) !important;

  background: linear-gradient(
    to right,
    rgba(160, 0, 0, 0) 0%,
    rgba(160, 0, 0, 0.85) 30%,
    rgba(160, 0, 0, 1) 35%,
    rgba(160, 0, 0, 1) 65%,
    rgba(160, 0, 0, 0.85) 82%,
    rgba(160, 0, 0, 0) 100%
  ) !important;

  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.85) 35%,
    rgba(0,0,0,0.45) 65%,
    rgba(0,0,0,0) 100%
  ) !important;
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.85) 35%,
    rgba(0,0,0,0.45) 65%,
    rgba(0,0,0,0) 100%
  ) !important;

  pointer-events: none !important;
  z-index: 0 !important;
}

.viewport,
.site-content,
.site-header-content,
#site-main{
  position: relative !important;
  z-index: 1 !important;
}

body.gh-head-open::before{ opacity: 0 !important; }

@media (max-width: 767px){
  :root{ --tsv-head-fade-h: clamp(110px, 22vw, 180px); }
}

/* =========================
   2.6) FOOTER-FADE (GLOBAL)
   ========================= */
body::after{
  content: "" !important;
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: clamp(140px, 18vw, 260px) !important;

  background: linear-gradient(
    to right,
    rgba(160, 0, 0, 0) 0%,
    rgba(160, 0, 0, 0.85) 30%,
    rgba(160, 0, 0, 1) 35%,
    rgba(160, 0, 0, 1) 65%,
    rgba(160, 0, 0, 0.85) 82%,
    rgba(160, 0, 0, 0) 100%
  ) !important;

  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.85) 35%,
    rgba(0,0,0,0.45) 65%,
    rgba(0,0,0,0) 100%
  ) !important;
  mask-image: linear-gradient(
    to top,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.85) 35%,
    rgba(0,0,0,0.45) 65%,
    rgba(0,0,0,0) 100%
  ) !important;

  pointer-events: none !important;
  z-index: 0 !important;
}

body.gh-head-open::after{ opacity: 0 !important; }

@media (max-width: 767px){
  body::after{ height: clamp(110px, 22vw, 180px) !important; }
}

/* =========================
   3) DESKTOP/TABLET (>=768px)  NAV
   ========================= */
@media (min-width: 768px){

  header#gh-head.gh-head.outer{ display:block !important; }

  header#gh-head > .gh-head-inner.inner,
  #gh-head .gh-head-inner{
    max-width: var(--tsv-max) !important;
    margin: 0 auto !important;
    padding: 0 var(--tsv-pad-x) !important;

    display: grid !important;
    grid-template-columns: auto minmax(0,1fr) auto !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    column-gap: 0 !important;

    height: var(--tsv-head-h) !important;
    min-height: var(--tsv-head-h) !important;
  }

  body.is-head-stacked #gh-head .gh-head-menu,
  body.is-head-stacked #gh-head .gh-head-brand,
  body.is-head-stacked #gh-head .gh-head-actions{
    grid-row: 1 !important;
    margin: 0 !important;
  }

  #gh-head .gh-head-brand{
    grid-column: 1 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    height: var(--tsv-head-h) !important;
  }

  #gh-head .gh-head-menu{
    grid-column: 2 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    height: var(--tsv-head-h) !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  #gh-head .gh-head-actions{
    grid-column: 3 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    height: var(--tsv-head-h) !important;
  }

  #gh-head .gh-burger{ display:none !important; }

  /* ? 7 Elemente sollen reinpassen: gap + font-size skalieren */
  #gh-head .gh-head-menu .nav{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    gap: var(--tsv-nav-gap, 18px) !important;
    height: var(--tsv-head-h) !important;

    white-space: nowrap !important;
    flex-wrap: nowrap !important;
  }

  #gh-head .gh-head-menu .nav > li{
    position: relative !important;
    height: var(--tsv-head-h) !important;
    display:flex !important;
    align-items:center !important;
    flex: 0 0 auto !important;
  }

  #gh-head .gh-head-menu .nav > li > a,
  #gh-head .gh-head-menu .nav > li > .nav-dropdown-toggle{
    height: var(--tsv-head-h) !important;
    display:flex !important;
    align-items:center !important;

    padding: 0 clamp(6px, 0.9vw, 12px) !important;
    font-weight: 700 !important;
    text-decoration: none !important;

    /* skaliert runter damit 7 Punkte sichtbar bleiben */
    font-size: var(--tsv-nav-fs, clamp(15px, 1.25vw, 22px)) !important;
    line-height: 1 !important;
  }

  #gh-head .gh-search{
    width: 44px !important;
    height: var(--tsv-head-h) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow:none !important;
    margin:0 !important;
    padding:0 !important;
  }

  #gh-head .nav-dropdown-menu{
    position:absolute !important;
    top: 100% !important;
    left: 0 !important;

    min-width: 240px !important;
    margin:0 !important;
    padding: 8px 0 !important;

    background: var(--tsv-drop-bg) !important;
    backdrop-filter: blur(var(--tsv-drop-blur)) saturate(170%) !important;
    -webkit-backdrop-filter: blur(var(--tsv-drop-blur)) saturate(170%) !important;
    border-radius: var(--tsv-drop-radius) !important;
    box-shadow: var(--tsv-drop-shadow) !important;

    border: 0 !important;
    overflow: hidden !important;
    z-index: 1000000 !important;

    display:block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity .18s ease, visibility 0s linear .18s !important;
  }

  #gh-head .nav-dropdown:hover > .nav-dropdown-menu,
  #gh-head .nav-dropdown:focus-within > .nav-dropdown-menu{
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity .18s ease !important;
  }

  #gh-head .nav-dropdown-menu a{
    display:block !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    color:#fff !important;
    background: transparent !important;
    white-space: nowrap !important;
  }
  #gh-head .nav-dropdown-menu a:hover{ background: rgba(255,255,255,.14) !important; }


}

/* =========================
   4) MOBILE (<=767px)  NAV
   ========================= */
@media (max-width: 767px){
  :root, body{ --tsv-header-current: 74px; --tsv-head-h: 74px; }
  body::before{ content: none !important; }
  #gh-head .gh-head-menu{ display:none !important; }
  #gh-head .gh-head-logo img{ height: 56px !important; max-height: 56px !important; transform: none !important; margin: 0 !important; display: block !important; }
  #gh-head{ box-shadow: none !important; }

  body:not(.gh-head-open) #gh-head .gh-head-inner,
  body:not(.gh-head-open) #gh-head .gh-head-brand{
    height: 74px !important;
    min-height: 74px !important;
    align-items: center !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body:not(.gh-head-open) #gh-head .gh-head-logo{
    height: 74px !important;
    align-items: center !important;
    margin: 0 !important;
    transform: none !important;
  }

  body:not(.gh-head-open) #gh-head .gh-burger{
    height: 44px !important;
    margin: 0 !important;
    top: auto !important;
    transform: none !important;
    align-self: center !important;
  }

  #gh-head .gh-burger{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:44px !important;
    height: var(--tsv-head-h) !important;
    background: transparent !important;
    border: 0 !important;
  }

  body.gh-head-open{
    --menu-width: 360px;
    --item-gap: 10px;
    --logo-to-menu: 16px;

    --logo-height: 56px;

    --breath-speed: 5.5s;
    --breath-scale-3: 1.02;

    --glow-weak: rgba(196,0,0,.22);

    --arrow-hitbox: 48px;
  }

  #gh-head .gh-burger{
    width:44px !important;
    height:44px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    position:relative !important;
    padding:0 !important;
    z-index:100005 !important;
  }
  #gh-head .gh-burger span,
  #gh-head .gh-burger svg{ display:none !important; }

  #gh-head .gh-burger::before,
  #gh-head .gh-burger::after{
    content:"" !important;
    position:absolute !important;
    left:10px !important; right:10px !important;
    height:2px !important;
    background:#fff !important;
    border-radius:2px !important;
    transition:.25s ease !important;
  }
  #gh-head .gh-burger::before{ top:16px !important; box-shadow:0 6px 0 #fff !important; }
  #gh-head .gh-burger::after{ top:28px !important; }
  body.gh-head-open #gh-head .gh-burger::before{ top:22px !important; transform:rotate(45deg) !important; box-shadow:none !important; }
  body.gh-head-open #gh-head .gh-burger::after{ top:22px !important; transform:rotate(-45deg) !important; }

  body.gh-head-open #gh-head{
    position:fixed !important;
    inset:0 !important;
    height:100% !important;
    height:100dvh !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling: touch !important;

    background: linear-gradient(
      to top,
      rgba(196,0,0,.95) 0%,
      rgba(196,0,0,.80) 42%,
      rgba(196,0,0,.55) 72%,
      rgba(196,0,0,.25) 100%
    ) !important;

    backdrop-filter: blur(14px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(160%) !important;
  }

  body.gh-head-open #gh-head .gh-head-inner{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    gap:0 !important;
    padding-top:12px !important;
    padding-bottom:16px !important;
  }

  body.gh-head-open #gh-head .gh-head-brand,
  body.gh-head-open #gh-head .gh-head-menu,
  body.gh-head-open #gh-head .gh-head-actions{
    height:auto !important;
    min-height:0 !important;
  }

  body.gh-head-open #gh-head .gh-head-brand{
    width:100% !important;
    display:grid !important;
    grid-template-columns:44px 1fr 44px !important;
    align-items:center !important;
    margin:0 !important;
  }

  body.gh-head-open #gh-head .gh-head-logo{
    grid-column:2 !important;
    justify-self:center !important;
    position:relative !important;
    isolation:isolate !important;
    margin:0 !important;
  }

  body.gh-head-open #gh-head .gh-head-logo img{
    height: var(--logo-height) !important;
    width:auto !important;
    max-height:none !important;
    transform-origin:center center !important;
    will-change: transform, filter !important;
    animation: logoBreath var(--breath-speed) ease-in-out infinite !important;
    filter:
      drop-shadow(0 12px 24px rgba(0,0,0,.38))
      drop-shadow(0 0 12px var(--glow-weak))
      brightness(1.04)
      contrast(1.12) !important;
  }

  body.gh-head-open #gh-head .gh-burger{
    grid-column:3 !important;
    justify-self:end !important;
  }

  body.gh-head-open #gh-head .gh-head-menu{
    display:block !important;
    width:100% !important;
    margin-top: var(--logo-to-menu) !important;
  }

  body.gh-head-open #gh-head .gh-head-menu .nav{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap: var(--item-gap) !important;
    width:min(var(--menu-width), 92vw) !important;
    margin:0 auto !important;
    padding:0 !important;
  }

  @keyframes logoBreath{
    0%,100%{ transform: scale(1); }
    40%{ transform: scale(1.04); }
    55%{ transform: scale(var(--breath-scale-3)); }
  }

  @media (prefers-reduced-motion: reduce){
    body.gh-head-open #gh-head .gh-head-logo img{ animation:none !important; }
  }

  body.gh-head-open #gh-head .gh-head-menu .nav > li{ width: 100% !important; height: auto !important; display: block !important; }

  body.gh-head-open #gh-head .gh-head-menu .nav > li > a,
  body.gh-head-open #gh-head .gh-head-menu .nav > li > button.nav-dropdown-toggle{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    background: rgba(60, 0, 0, 0.35) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    box-shadow:
      0 10px 22px rgba(0,0,0,.22),
      inset 0 1px 0 rgba(255,255,255,.08) !important;
    backdrop-filter: blur(10px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(160%) !important;
  }

  body.gh-head-open #gh-head .nav-dropdown-head{
    width:100% !important;
    justify-content:center !important;
    position:relative !important;
    height:auto !important;
    display:flex !important;
    align-items:center !important;
    min-height:48px !important;
    padding:14px 16px !important;
    border-radius:12px !important;
    font-weight:700 !important;
    font-size:17px !important;
    line-height:1 !important;
    text-decoration:none !important;
    background:rgba(60,0,0,0.35) !important;
    border:1px solid rgba(255,255,255,.14) !important;
    box-shadow:0 10px 22px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.08) !important;
    backdrop-filter:blur(10px) saturate(160%) !important;
    -webkit-backdrop-filter:blur(10px) saturate(160%) !important;
  }

  body.gh-head-open #gh-head .nav-dropdown .nav-main-link{
    height:auto !important;
    padding:0 !important;
    font-size:inherit !important;
    font-weight:inherit !important;
    line-height:1 !important;
  }

  body.gh-head-open #gh-head .nav-submenu-toggle{
    position:absolute !important;
    right:14px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    width:30px !important;
    height:30px !important;
    border:1px solid rgba(255,255,255,.22) !important;
    border-radius:8px !important;
    background:rgba(0,0,0,.18) !important;
  }

  body.gh-head-open #gh-head .nav-dropdown-menu{
    position: static !important;
    display: none !important;
    margin-top: 6px !important;
    padding: 10px !important;
    border-radius: 14px !important;
    min-width: 0 !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;

    background: rgba(0,0,0,.16) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow:
      0 12px 28px rgba(0,0,0,.28),
      inset 0 1px 0 rgba(255,255,255,.06) !important;
    backdrop-filter: blur(10px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(160%) !important;
  }

  body.gh-head-open #gh-head .nav-dropdown.is-open > .nav-dropdown-menu{ display: block !important; }
  body.gh-head-open #gh-head .nav-dropdown-menu li{ margin: 3px 0 !important; }

  body.gh-head-open #gh-head .nav-dropdown-menu a{
    display: block !important;
    text-align: center !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
    background: rgba(255,255,255,.07) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
  }
}

/* =========================
   6) FOOTER + COPYRIGHT + IMPRESSUM (GLOBAL)
   ========================= */
.site-footer::before{ content: none !important; display: none !important; }

.site-footer{
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background: transparent !important;
}

.gh-powered-by{ display:none !important; }

.site-footer .inner{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  text-align:center !important;
}

.site-footer .site-footer-nav{
  width:100% !important;
  text-align:center !important;
}

/* ? echtes Copyright anzeigen */
.site-footer .copyright{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;

  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: .2px !important;
  color: rgba(255,255,255,.90) !important;
}

/* ? altes Fake-Copyright (dein vorheriges ::after am Footer) entfernen */
.site-footer::after{
  content: none !important;
  display: none !important;
}

/* ? WICHTIG: KEIN Fake-Impressum per ::after (sonst doppelt) */
.site-footer .copyright::after{
  content: none !important;
  display: none !important;
}

/* ? Styling für den echten Link, den dein Script einfügt */
.site-footer .copyright a.tsv-footer-impressum-link{
  color: rgba(255,255,255,.92) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  cursor: pointer !important;
}

.site-footer .copyright a.tsv-footer-impressum-link:hover{
  opacity: 1 !important;
}

/* Mobile */
@media (max-width: 767px){
  .site-footer{ padding-bottom: 44px !important; }

  .site-footer .copyright{
    font-size: 11px !important;
    gap: 10px !important;
  }

  .site-footer .copyright a.tsv-footer-impressum-link{
    margin-left: 10px !important;
    padding-left: 10px !important;
  }
}

/* =========================
   7) DESKTOP FLUID SCALING + LOGO FINAL (NAV)
   ========================= */
@media (min-width: 768px){
  :root{
    --tsv-head-h: clamp(62px, 5.5vw, 82px);
    --tsv-max:    clamp(980px, 92vw, 1480px);
    --tsv-pad-x:  clamp(16px, 2.4vw, 40px);

    /* ? so passen 7 Top-Items besser rein */
    --tsv-nav-fs:  clamp(14px, 1.15vw, 22px);
    --tsv-nav-gap: clamp(10px, 1.7vw, 26px);
  }

  #gh-head,
  #gh-head .gh-head-inner,
  #gh-head .gh-head-brand,
  #gh-head .gh-head-menu,
  #gh-head .gh-head-actions{
    height: var(--tsv-head-h) !important;
    min-height: var(--tsv-head-h) !important;
  }

  #gh-head .gh-head-menu .nav{ gap: var(--tsv-nav-gap) !important; }

  #gh-head .gh-search{
    width: clamp(40px, 3.2vw, 52px) !important;
    height: var(--tsv-head-h) !important;
  }

  #gh-head .gh-head-logo img{
    height: clamp(62px, 5.2vw, 98px) !important;
    width:auto !important;
    max-height:none !important;
    filter:
      drop-shadow(0 10px 22px rgba(0,0,0,.52))
      drop-shadow(0 0 18px rgba(196,0,0,.42))
      brightness(1.10)
      contrast(1.22) !important;
    transform-origin:center center !important;
    backface-visibility:hidden !important;
  }

  #gh-head .gh-head-logo{
    transform: translate(58px, 32px) !important;
  }

  #gh-head .gh-head-brand,
  #gh-head .gh-head-menu,
  #gh-head .gh-head-actions{
    transform: translateY(8px) !important;
  }
}
@media (max-width: 767px){
  #gh-head .gh-head-logo img{ transform:none !important; filter:none !important; }
}

/* =========================
   HOME: Feed 2-spaltig + Cards (HOME ONLY)
   ========================= */
.home-template .post-feed{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2.2vw, 34px) !important;
  align-items: stretch !important;
}
.home-template .post-feed .post-card-large{ grid-column: auto !important; width: auto !important; }
.home-template .post-feed .post-card{
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  grid-template-columns: 1fr !important;
  align-content: start !important;
}
.home-template .post-feed .post-card > .post-card-image-link{
  grid-row: 1 !important;
  grid-column: 1 !important;
  width: 100% !important;
  display: block !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  position: relative !important;
}
.home-template .post-feed .post-card .post-card-image{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.home-template .post-feed .post-card > .post-card-content{
  grid-row: 2 !important;
  grid-column: 1 !important;
  width: 100% !important;
  position: static !important;
  float: none !important;
  clear: both !important;
}
.home-template .post-feed .post-card .post-card-content-link{ display: block !important; }
@media (max-width: 767px){
  .home-template .post-feed{ grid-template-columns: 1fr !important; }
}

/* =========================
   POST: Beitragsbild professionell (POST ONLY)
   ========================= */
.post-template .article-image{
  max-width: min(980px, calc(100% - 2 * 24px)) !important;
  margin: 18px auto 26px auto !important;
  max-height: clamp(220px, 38vh, 420px) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.35) !important;
}
.post-template .article-image img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* =========================
   EINHEITLICHER TOP-ABSTAND UNTER DER NAVIGATION
   - News + Seiten: 80px wie /verein/
   - Hero-Seiten (Alte Herren, Dart, Fitness) + /sponsoren/ per :not() ausgenommen
   ========================= */
.post-template .article{
  padding-top: 80px !important;
}

body:not(.page-alte-herren):not(.page-dart):not(.page-fitness):not(.page-sponsoren) .page-template .article-header{
  padding-top: 80px !important;
}

body:not(.page-alte-herren):not(.page-dart):not(.page-fitness):not(.page-sponsoren) .page-template .gh-content:only-child > *:first-child:not(.kg-width-full){
  margin-top: 80px !important;
}

/* =========================
   HEADER: WhatsApp Button neben Lupe (NAV)
   ========================= */
#gh-head .gh-head-actions{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
}
#gh-head .tsv-wa{
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;
  height: var(--tsv-head-h) !important;
  padding: 0 12px !important;
  color:#fff !important;
  text-decoration:none !important;
  font-weight:700 !important;
  font-size: clamp(15px, 1.1vw, 18px) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
#gh-head .tsv-wa__icon{
  width: 28px !important;
  height: 28px !important;
  border-radius: 999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background: rgba(0,0,0,.22) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12) !important;
}
#gh-head .tsv-wa__icon svg{
  width: 18px !important;
  height: 18px !important;
  display:block !important;
  color:#fff !important;
}
@media (max-width: 767px){
  #gh-head .tsv-wa{ padding: 0 6px !important; gap: 0 !important; }
  #gh-head .tsv-wa__label{ display:none !important; }
}

/* Fanshop global verstecken (nur im mobilen offenen Menü) */
#gh-head .tsv-fanshop{
  display: none !important;
}

/* Desktop: kompakter WhatsApp-Button im Header */
@media (min-width: 768px){
  #gh-head .tsv-wa{
    position: relative !important;
    padding: 4px 12px !important;
    height: 36px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(0,0,0,.16) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.06),
      0 4px 12px rgba(0,0,0,.22) !important;
    font-size: 14px !important;
    line-height: 1 !important;
    transition:
      background .2s ease,
      border-color .2s ease,
      box-shadow .2s ease,
      transform .15s ease !important;
  }
  #gh-head .tsv-wa__icon{
    width: 22px !important;
    height: 22px !important;
    background: rgba(37,211,102,.16) !important;
    box-shadow: inset 0 0 0 1px rgba(37,211,102,.28) !important;
  }
  #gh-head .tsv-wa__icon svg{
    width: 14px !important;
    height: 14px !important;
  }
  #gh-head .tsv-wa:hover{
    background: rgba(0,0,0,.24) !important;
    border-color: rgba(37,211,102,.40) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.08),
      0 8px 18px rgba(0,0,0,.32) !important;
    transform: translateY(-1px) !important;
  }
  #gh-head .tsv-wa:focus-visible{
    outline: none !important;
    box-shadow:
      0 0 0 2px rgba(37,211,102,.40),
      0 8px 18px rgba(0,0,0,.32) !important;
  }
}

/* Mobile: WhatsApp als Menü-Kachel im offenen Menü */
@media (max-width: 767px){
  body.gh-head-open #gh-head .gh-head-actions .gh-search{
    display: none !important;
  }
  body.gh-head-open #gh-head .gh-head-actions{
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: min(var(--menu-width, 360px), 92vw) !important;
    margin: var(--item-gap, 12px) auto 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    gap: var(--item-gap, 12px) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body.gh-head-open #gh-head .tsv-fanshop{
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    background: rgba(60, 0, 0, 0.35) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    box-shadow:
      0 10px 22px rgba(0,0,0,.22),
      inset 0 1px 0 rgba(255,255,255,.08) !important;
    backdrop-filter: blur(10px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(160%) !important;
  }
  body.gh-head-open #gh-head a.tsv-wa,
  body.gh-head-open #gh-head .tsv-wa{
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    background: rgba(60, 0, 0, 0.35) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    box-shadow:
      0 10px 22px rgba(0,0,0,.22),
      inset 0 1px 0 rgba(255,255,255,.08) !important;
    backdrop-filter: blur(10px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(160%) !important;
  }
  body.gh-head-open #gh-head .tsv-wa__label{
    display: inline !important;
  }
  body.gh-head-open #gh-head .tsv-wa__icon{
    width: 22px !important;
    height: 22px !important;
    background: rgba(255,255,255,.06) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12) !important;
  }
}

/* =========================
   VEREIN PAGE ONLY
   ========================= */
body.page-verein{
  --verein-maxw: min(1100px, calc(100% - 48px));
}

body.page-verein .gh-content{
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.page-verein .verein-wrapper::before{
  content: none !important;
  display: none !important;
  background: none !important;
}
body.page-verein .tsv-verein-hero .hero-logo-watermark{
  display: none !important;
}
body.page-verein .tsv-verein-hero .hero-bg{
  background: none !important;
}

body.page-verein .tsv-verein-hero{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 32px 0 64px !important;
  position: relative;
}

body.page-verein .tsv-verein-hero .hero-content{
  width: 100% !important;
  max-width: var(--verein-maxw) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.page-verein .tsv-verein-hero .card-grid{
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: 18px !important;
}

body.page-verein .tsv-verein-hero .card{
  position: relative;
  display: block;
  padding: 18px;
  border-radius: 18px;
  text-decoration: none !important;
  background: rgba(12,12,14,.58);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.94) !important;
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body.page-verein .tsv-verein-hero .card::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:-10px;
  height:18px;
  border-radius:999px;
  background: radial-gradient(
    60% 120% at 50% 40%,
    rgba(255,70,70,.55),
    rgba(196,0,20,.35),
    transparent 70%
  );
  filter: blur(4px);
  pointer-events:none;
}

body.page-verein .tsv-verein-hero .card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 26px 60px rgba(0,0,0,.6);
}

body.page-verein .tsv-verein-hero .icon{
  width:42px;
  height:42px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  margin-bottom:12px;
  font-size:18px;
}

body.page-verein .tsv-verein-hero h3{
  margin:0 0 6px;
  font-size:16px;
  font-weight:750;
}

body.page-verein .tsv-verein-hero p{
  margin:0;
  font-size:13px;
  color: rgba(255,255,255,.7);
}

body.page-verein .tsv-verein-hero .card--cta{
  background: linear-gradient(180deg, rgba(196,0,20,.95), rgba(90,0,10,.95));
  border-color: rgba(255,255,255,.25);
}

body.page-verein .tsv-verein-hero .badge{
  font-size:11px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,215,0,.25);
  border: 1px solid rgba(255,215,0,.35);
  white-space: nowrap;
}

@media (max-width: 980px){
  body.page-verein .tsv-verein-hero .card-grid{
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 640px){
  body.page-verein{
    --verein-maxw: calc(100% - 36px);
  }
  body.page-verein .tsv-verein-hero .card-grid{
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   ? PHASE 15: HARD OVERRIDE – Turnen <button> wie <a>
   ========================================================= */
@media (min-width: 768px){
  body #gh-head .gh-head-menu .nav > li > button.nav-dropdown-toggle,
  body #gh-head .gh-head-menu .nav > li > button.nav-dropdown-toggle:hover,
  body #gh-head .gh-head-menu .nav > li > button.nav-dropdown-toggle:focus,
  body #gh-head .gh-head-menu .nav > li > button.nav-dropdown-toggle:active,
  body #gh-head .gh-head-menu .nav > li > button.nav-dropdown-toggle:focus-visible{
    -webkit-appearance: none !important;
    appearance: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: inherit !important;
    font: inherit !important;
    font-size: var(--tsv-nav-fs, clamp(15px, 1.25vw, 22px)) !important;
    font-weight: 700 !important;
    padding: 0 clamp(6px, 0.9vw, 12px) !important;
    height: var(--tsv-head-h) !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    outline: none !important;
  }
}

/* =========================
   FitVids replacement – responsive video embeds
   ========================= */
.gh-content iframe,
.gh-content embed,
.gh-content object {
  max-width: 100%;
}

.gh-content .kg-embed-card > iframe,
.gh-content .kg-embed-card > embed,
.gh-content .kg-embed-card > object {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}

/* =========================
   Lightbox
   ========================= */
.tsv-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: rgba(0, 0, 0, 0.92);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.tsv-lightbox--open {
  display: flex;
}
.tsv-lightbox__img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  cursor: default;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
.tsv-lightbox__close {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.tsv-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* =========================
   Gallery cards (kg-gallery-card)
   ========================= */
.kg-gallery-card {
  margin-top: 0;
}

.kg-gallery-card figcaption {
  margin: 1.5rem 0 0;
}

.kg-gallery-container {
  display: flex;
  flex-direction: column;
}

.kg-gallery-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.kg-gallery-row:not(:first-of-type) {
  margin: 0.75em 0 0 0;
}

.kg-gallery-image {
  background-color: var(--color-lightgrey);
}

.kg-gallery-image:not(:first-of-type) {
  margin: 0 0 0 0.75em;
}

.kg-gallery-image img {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   TSV Header/Hero refinement (launch polish)
   ========================================================= */
:root {
  --tsv-header-h: 86px;
  --tsv-header-h-compact: 72px;
  --tsv-header-max: 1320px;
  --tsv-header-pad: clamp(14px, 2.2vw, 30px);
  --tsv-header-gap: clamp(14px, 1.7vw, 28px);
  --tsv-nav-gap: clamp(12px, 1.5vw, 24px);
  --tsv-nav-font: clamp(15px, 1.15vw, 19px);
  --tsv-red-strong: #c10015;
  --tsv-red-dark: #430007;
}

body {
  --tsv-header-current: var(--tsv-header-h);
}

body.tsv-head-compact {
  --tsv-header-current: var(--tsv-header-h-compact);
}

#gh-head {
  position: sticky !important;
  top: 0 !important;
  z-index: 10000 !important;
  height: var(--tsv-header-current) !important;
  min-height: var(--tsv-header-current) !important;
  overflow: visible !important;
  background: linear-gradient(90deg, #2a0005 0%, #5f000b 16%, #8d000f 50%, #5f000b 84%, #2a0005 100%) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32) !important;
  transition: height 200ms ease, box-shadow 200ms ease, background 200ms ease !important;
}

#gh-head .gh-head-inner {
  height: 100% !important;
  min-height: 100% !important;
  max-width: var(--tsv-header-max) !important;
  padding: 0 var(--tsv-header-pad) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  column-gap: var(--tsv-header-gap) !important;
}

#gh-head .gh-head-brand,
#gh-head .gh-head-menu,
#gh-head .gh-head-actions {
  height: 100% !important;
  min-height: 100% !important;
  display: flex !important;
  align-items: center !important;
}

#gh-head .gh-head-brand {
  justify-content: flex-start !important;
}

#gh-head .gh-head-menu {
  justify-content: center !important;
  min-width: 0 !important;
}

#gh-head .gh-head-actions {
  justify-content: flex-end !important;
  gap: 10px !important;
}

#gh-head .gh-head-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  width: auto !important;
  text-decoration: none !important;
  padding: 0 6px 0 0 !important;
}

#gh-head .gh-head-logo img {
  display: block !important;
  width: auto !important;
  height: clamp(70px, 5.1vw, 80px) !important;
  max-height: none !important;
  transform: translateY(7px) !important;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4)) !important;
  transition: height 200ms ease, transform 200ms ease !important;
}

body.tsv-head-compact #gh-head .gh-head-logo img {
  height: clamp(62px, 4.6vw, 72px) !important;
  transform: translateY(4px) !important;
}

#gh-head .gh-head-menu .nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--tsv-nav-gap) !important;
}

#gh-head .gh-head-menu .nav > .nav-item {
  position: relative !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
}

#gh-head .gh-head-menu .nav-main-link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 100% !important;
  padding: 0 clamp(4px, 0.8vw, 10px) !important;
  font-size: var(--tsv-nav-font) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

#gh-head .gh-head-menu .nav-main-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: calc(100% - 10px);
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

#gh-head .gh-head-menu .nav-main-link:hover::after,
#gh-head .gh-head-menu .nav-main-link:focus-visible::after,
#gh-head .gh-head-menu .is-active > .nav-main-link::after,
#gh-head .gh-head-menu .nav-dropdown.is-active .nav-main-link::after {
  transform: translateX(-50%) scaleX(1);
}

#gh-head .gh-head-menu .nav-main-link:focus-visible,
#gh-head .gh-head-actions a:focus-visible,
#gh-head .gh-head-actions button:focus-visible,
#gh-head .gh-burger:focus-visible,
#gh-head .nav-submenu-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8) !important;
  outline-offset: 2px !important;
}

#gh-head .nav-dropdown-head {
  display: inline-flex;
  align-items: center;
  height: 100%;
  gap: 2px;
}

#gh-head .nav-submenu-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  margin-right: 2px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: inherit !important;
  cursor: pointer !important;
}

#gh-head .nav-submenu-toggle::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 160ms ease;
}

#gh-head .nav-dropdown.is-open > .nav-dropdown-head .nav-submenu-toggle::before {
  transform: rotate(-135deg) translateY(-1px);
}

#gh-head .nav-dropdown-menu {
  position: absolute !important;
  left: 0 !important;
  top: calc(100% + 8px) !important;
  min-width: 230px !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  border-radius: 14px !important;
  background: rgba(56, 0, 8, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(4px) !important;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0ms linear 180ms !important;
  z-index: 10050 !important;
}

#gh-head .nav-dropdown:hover > .nav-dropdown-menu,
#gh-head .nav-dropdown:focus-within > .nav-dropdown-menu,
#gh-head .nav-dropdown.is-open > .nav-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
  transition: opacity 180ms ease, transform 180ms ease !important;
}

#gh-head .nav-dropdown-menu a {
  display: block !important;
  padding: 10px 16px !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

#gh-head .nav-dropdown-menu a:hover,
#gh-head .nav-dropdown-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.14) !important;
}

#gh-head .gh-search {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(0, 0, 0, 0.14) !important;
  margin: 0 !important;
}

#gh-head .gh-search svg {
  width: 17px !important;
  height: 17px !important;
}

#gh-head .gh-head-actions .tsv-fanshop {
  display: none !important;
}

#gh-head .tsv-wa {
  height: 38px !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: rgba(0, 0, 0, 0.16) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease !important;
}

#gh-head .tsv-wa:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(37, 211, 102, 0.55) !important;
  background: rgba(37, 211, 102, 0.16) !important;
}

#gh-head .tsv-wa__icon {
  width: 21px !important;
  height: 21px !important;
  background: rgba(0, 0, 0, 0.2) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15) !important;
}

/* Hero */
.home-template .site-header-content {
  position: relative !important;
  min-height: clamp(520px, 72vh, 760px) !important;
  padding-top: calc(var(--tsv-header-current) + clamp(46px, 8vw, 96px)) !important;
  padding-bottom: clamp(56px, 8vw, 110px) !important;
  align-items: flex-end !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.home-template .site-header-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 0, 0, 0.25) 0%, rgba(20, 0, 0, 0.35) 38%, rgba(18, 0, 0, 0.58) 100%);
  pointer-events: none;
}

.home-template .site-header-content .tsv-hero-slides {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
}

.home-template .site-header-content .tsv-hero-slide {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center 35% !important;
  background-repeat: no-repeat !important;
  opacity: 0 !important;
  transition: opacity 1.2s ease !important;
  filter: brightness(0.85) contrast(1.05) saturate(1.05) !important;
}

.home-template .site-header-content .tsv-hero-slide.is-active {
  opacity: 1 !important;
}

.home-template .site-header-content::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55)) !important;
}

.home-template .site-header-inner {
  position: relative;
  z-index: 2;
  max-width: min(900px, calc(100% - 18px));
  text-align: center;
  background: transparent;
}

.home-template .site-title {
  margin: 0;
  color: #fff !important;
  font-size: clamp(34px, 5.3vw, 66px) !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.home-template .site-description {
  margin: 12px 0 0 !important;
  max-width: none !important;
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: clamp(20px, 2.4vw, 31px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.home-template .site-hero-copy {
  margin: 14px auto 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.5;
}

.home-template .site-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.home-template .site-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 182px;
  padding: 11px 18px;
  border-radius: 12px;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.home-template .site-hero-btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #c10015 0%, #950012 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.home-template .site-hero-btn--secondary {
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.home-template .site-hero-btn:hover,
.home-template .site-hero-btn:focus-visible {
  transform: translateY(-1px);
}

/* Search overlay */
.tsv-search-open {
  overflow: hidden;
}

.tsv-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tsv-search-overlay[hidden] {
  display: none !important;
}

.tsv-search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 0, 0, 0.72);
}

.tsv-search-overlay__panel {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 32px));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(60, 0, 10, 0.97) 0%, rgba(28, 0, 6, 0.97) 100%);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.48);
  padding: 22px 22px 20px;
  color: #fff;
}

.tsv-search-overlay__panel h2 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 32px);
}

.tsv-search-overlay__hint {
  margin: 10px 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.tsv-search-overlay__cta {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  cursor: pointer;
}

.tsv-search-overlay__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1366px) {
  :root {
    --tsv-nav-font: clamp(14px, 1.12vw, 17px);
    --tsv-nav-gap: clamp(8px, 1.1vw, 16px);
  }
}

@media (max-width: 1024px) {
  #gh-head .gh-head-inner {
    column-gap: 14px !important;
  }

  #gh-head .tsv-wa__label {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .home-template .site-header-content {
    min-height: clamp(440px, 62vh, 560px) !important;
    padding-top: calc(var(--tsv-header-current) + 36px) !important;
    padding-bottom: 52px !important;
  }

  .home-template .site-header-inner {
    max-width: min(640px, calc(100% - 16px));
  }

  .home-template .site-hero-copy {
    max-width: 500px;
    font-size: 15px;
  }

  .home-template .site-hero-btn {
    min-width: 0;
    width: 100%;
  }

  .home-template .site-hero-ctas {
    width: min(420px, 100%);
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================
   NEWS: HEADER-GEOMETRIE WIE /verein/
   - Titel + Byline zentrieren
   - Beitragsbild vollständig sichtbar, natürliches Seitenverhältnis,
     max. so breit wie der Content (960px), keine Höhenbegrenzung
   - 80px Top-Abstand + 960px Content-Breite bleiben (siehe oben)
   - Hero-Seiten (page-template) nicht betroffen
   ========================= */
.post-template .article-header{
  text-align: center !important;
}

.post-template .article-tag{
  display: flex !important;
  justify-content: center !important;
}

.post-template .article-byline-content{
  justify-content: center !important;
}

body.post-template .article-image{
  max-width: var(--content-width, 960px) !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.post-template .article-image img{
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

@media (max-width: 767px) {
  body:not(.gh-head-open) {
    --tsv-header-current: 74px !important;
  }

  body:not(.gh-head-open)::before {
    content: none !important;
  }

  body:not(.gh-head-open) #gh-head {
    height: 74px !important;
    min-height: 74px !important;
  }

  body:not(.gh-head-open) #gh-head .gh-head-inner,
  body:not(.gh-head-open) #gh-head .gh-head-brand,
  body:not(.gh-head-open) #gh-head .gh-head-logo {
    height: 74px !important;
    min-height: 74px !important;
    align-items: center !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    transform: none !important;
  }

  body:not(.gh-head-open) #gh-head .gh-head-logo img {
    height: 56px !important;
    max-height: 56px !important;
    margin: 0 !important;
    transform: none !important;
  }

  body:not(.gh-head-open) #gh-head .gh-burger {
    height: 44px !important;
    margin: 0 !important;
    top: auto !important;
    transform: none !important;
  }

  body.gh-head-open #gh-head .gh-head-inner {
    height: auto !important;
    min-height: 100% !important;
  }

  body.gh-head-open #gh-head #tsv-mobile-menu.gh-head-menu {
    order: 1 !important;
    width: min(360px, calc(100vw - 32px)) !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 16px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
    flex: 0 0 auto !important;
  }

  body.gh-head-open #gh-head #tsv-mobile-menu.gh-head-menu .nav {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 10px !important;
  }

  body.gh-head-open #gh-head #tsv-mobile-menu.gh-head-menu .nav > li {
    width: 100% !important;
    display: block !important;
    flex: 0 0 auto !important;
  }

  body.gh-head-open #gh-head #tsv-mobile-menu.gh-head-menu .nav > li > a.nav-main-link,
  body.gh-head-open #gh-head #tsv-mobile-menu.gh-head-menu .nav > li > .nav-dropdown-head,
  body.gh-head-open #gh-head .gh-head-actions > a.tsv-wa {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    background: rgba(60, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(160%) !important;
  }

  body.gh-head-open #gh-head #tsv-mobile-menu.gh-head-menu .nav > li > .nav-dropdown-head {
    position: relative !important;
    padding: 0 16px !important;
  }

  body.gh-head-open #gh-head #tsv-mobile-menu.gh-head-menu .nav > li > .nav-dropdown-head .nav-main-link {
    height: auto !important;
    padding: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: 1 !important;
  }

  body.gh-head-open #gh-head #tsv-mobile-menu.gh-head-menu .nav-main-link::after {
    content: none !important;
  }

  body.gh-head-open #gh-head #tsv-mobile-menu.gh-head-menu .nav > li > .nav-dropdown-head .nav-submenu-toggle {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 30px !important;
    height: 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 8px !important;
    background: rgba(0, 0, 0, 0.18) !important;
  }

  body.gh-head-open #gh-head #tsv-mobile-menu.gh-head-menu .nav-dropdown-menu {
    position: static !important;
    width: 100% !important;
    margin-top: 6px !important;
  }

  body.gh-head-open #gh-head .gh-head-inner > .gh-head-actions {
    order: 2 !important;
    position: static !important;
    width: min(360px, calc(100vw - 32px)) !important;
    margin: 10px auto 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    gap: 10px !important;
    flex: 0 0 auto !important;
    transform: none !important;
    z-index: auto !important;
    box-sizing: border-box !important;
  }

  body.gh-head-open #gh-head .gh-head-inner > .gh-head-actions > a.tsv-wa .tsv-wa__icon {
    width: 22px !important;
    height: 22px !important;
  }
}
