/*!
 * ===========================================================
 * COMBINED STYLESHEET (unminified) — Zusammengeführt & bereinigt
 * ===========================================================
 *
 * Änderungen/Zusammenführung:
 * - mmenu-light.css entminifiziert und in dieses Stylesheet integriert
 * - Overrides reduziert: gewünschte mmenu-Defaults in den mmenu-Teil übernommen
 *
 */

/**
 * @license
 * MyFonts Webfont Build ID 3867246, 2020-12-16T11:57:38-0500
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: Akko Pro Condensed Bold Italic by Linotype
 * URL: https://www.myfonts.com/collections/linotype-foundry
 
 * © 2026 MyFonts Inc. */

/*!
 * -----------------------------------------------------------
 * Mmenu Light — Attribution
 * -----------------------------------------------------------
 * Quelle: "Mmenu Light" (mmenujs.com/mmenu-light)
 * Autor: Fred Heusschen (www.frebsite.nl)
 * Lizenz: CC-BY-4.0
 * https://creativecommons.org/licenses/by/4.0/
 *
 * Hinweis: Der Code wurde für bessere Lesbarkeit entminifiziert
 * und in dieses Stylesheet integriert.
 */

/* -----------------------------------------------------------
 * MMENU LIGHT — 1. CSS CUSTOM PROPERTIES
 * --------------------------------------------------------- */
:root{
  --mm-ocd-width:80%;
  --mm-ocd-min-width:200px;
  --mm-ocd-max-width:440px
}
/* -----------------------------------------------------------
 * MMENU LIGHT — 2. Body State (Drawer geöffnet)
 * --------------------------------------------------------- */
body.mm-ocd-opened{
  overflow-y:hidden;
  overscroll-behavior:none
}
/* -----------------------------------------------------------
 * MMENU LIGHT — 3. Off-Canvas Drawer Container
 * --------------------------------------------------------- */
.mm-ocd{
  position:fixed;
  top:60px;
  right:0;
  bottom:100%;
  left:0;
  overscroll-behavior:contain;
  transition-property:bottom,background-color;
  transition-duration:0s,.3s;
  transition-timing-function:ease;
  transition-delay:.45s,.15s;
  z-index: 4000;
  background: transparent;

}
.mm-ocd--open{
  bottom:0;
  transition-delay:0s;
  background: transparent;

}
/* -----------------------------------------------------------
 * MMENU LIGHT — 4. Drawer Content
 * --------------------------------------------------------- */
.mm-ocd__content{
  position:absolute;
  top:0;
  bottom:0;
  z-index:2;
  width:var(--mm-ocd-width);
  min-width:var(--mm-ocd-min-width);
  max-width:var(--mm-ocd-max-width);
  transition-property:transform;
  transition-duration:.3s;
  transition-timing-function:ease;
  background: transparent;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
  touch-action: pan-y;

}
.mm-ocd--left .mm-ocd__content{
  left:0;
  transform:translate3d(-100%,0,0)
}
.mm-ocd--right .mm-ocd__content{
  right:0;
  transform:translate3d(100%,0,0)
}
.mm-ocd--open .mm-ocd__content{
  transform:translate3d(0,0,0)
}
/* -----------------------------------------------------------
 * MMENU LIGHT — 5. Drawer Backdrop (Click-Area)
 * --------------------------------------------------------- */
.mm-ocd__backdrop{
  position:absolute;
  top:0;
  bottom:0;
  z-index:3;
  width:clamp(calc(100% - var(--mm-ocd-max-width)),calc(100% - var(--mm-ocd-width)),calc(100% - var(--mm-ocd-min-width)));
  background:rgba(3,2,1,0)
  touch-action: none;

}
.mm-ocd--left .mm-ocd__backdrop{
  right:0
}
.mm-ocd--right .mm-ocd__backdrop{
  left:0
}
/* -----------------------------------------------------------
 * MMENU LIGHT — 6. Sliding Navigation (mm-spn)
 * --------------------------------------------------------- */
.mm-spn,.mm-spn a,.mm-spn li,.mm-spn span,.mm-spn ul{
  display:block;
  padding:0;
  margin:0;
  box-sizing:border-box
}
:root{
  --mm-spn-item-height:60px;
  --mm-spn-item-indent:20px;
  --mm-spn-line-height:24px;
  --mm-spn-panel-offset:30%
}
.mm-spn{
  width:100%;
  height:100%;
  -webkit-tap-highlight-color:transparent;
  -webkit-overflow-scrolling:touch;
  overflow:hidden;
  clip-path:inset(0 0 0 0);
  transform:translateX(0)
}
.mm-spn ul{
  -webkit-overflow-scrolling:touch;
  position:fixed;
  top:0;
  left:100%;
  bottom:0;
  z-index:2;
  width:calc(100% + var(--mm-spn-panel-offset));
  padding-right:var(--mm-spn-panel-offset);
  line-height:var(--mm-spn-line-height);
  overflow:visible;
  overflow-y:auto;
  background:inherit;
  transition:left .3s ease 0s;
  cursor:default
}
.mm-spn ul:after{
  content:"";
  display:block;
  height:var(--mm-spn-item-height)
}
.mm-spn>ul{
  left:0
}
.mm-spn ul.mm-spn--open{
  left:0
}
.mm-spn ul.mm-spn--parent{
  left:calc(-1 * var(--mm-spn-panel-offset));
  overflow:visible
}
.mm-spn li{
  position:relative;
  background:inherit;
  cursor:pointer
}
.mm-spn li:before{
  content:"";
  display:block;
  position:absolute;
  top:calc(var(--mm-spn-item-height)/ 2);
  right:calc(var(--mm-spn-item-height)/ 2);
  z-index:0;
  width:10px;
  height:10px;
  border-top:2px solid;
  border-right:2px solid;
  transform:rotate(45deg) translate(0,-50%);
  opacity:.4
}
.mm-spn li:after{
  content:"";
  display:block;
  margin-left: 0;
  border-top: 1px solid #e5e5e5;
  opacity: 1;
}

.mm-spn li:last-child:after{
  border-top: none;
}

.mm-spn a,.mm-spn span{
  position:relative;
  z-index:1;
  padding:calc((var(--mm-spn-item-height) - var(--mm-spn-line-height))/ 2) var(--mm-spn-item-indent)
}
.mm-spn a{
  background:inherit;
  color:inherit;
  text-decoration:none
}
.mm-spn a:not(:last-child){
  width:calc(100% - var(--mm-spn-item-height))
}
.mm-spn a:not(:last-child):after{
  content:"";
  display:block;
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  border-right:1px solid;
  opacity:.15
}
.mm-spn span{
  background:0 0
}
.mm-spn.mm-spn--navbar{
  cursor:pointer
}
.mm-spn.mm-spn--navbar:before{
  content:"";
  display:block;
  position:absolute;
  top:calc(var(--mm-spn-item-height)/ 2);
  left:var(--mm-spn-item-indent);
  width:10px;
  height:10px;
  margin-top:2px;
  border-top:2px solid;
  border-left:2px solid;
  transform:rotate(-45deg) translate(50%,-50%);
  opacity:.4
}
.mm-spn.mm-spn--navbar.mm-spn--main{
  cursor:default
}
.mm-spn.mm-spn--navbar.mm-spn--main:before{
  content:none;
  display:none
}
.mm-spn.mm-spn--navbar:after{
  content:attr(data-mm-spn-title);
  display:block;
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:var(--mm-spn-item-height);
  padding:0 calc(var(--mm-spn-item-indent) * 2);
  line-height:var(--mm-spn-item-height);
  opacity:.4;
  text-align:center;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis
}
.mm-spn.mm-spn--navbar.mm-spn--main:after{
  padding-left:var(--mm-spn-item-indent)
}
.mm-spn.mm-spn--navbar ul{
  top:var(--mm-spn-item-height)
}
.mm-spn.mm-spn--navbar ul:before{
  content:"";
  display:block;
  position:fixed;
  top:inherit;
  z-index:2;
  width:100%;
  border-top: 1px solid #e5e5e5;
  opacity: 1;

}
.mm-spn.mm-spn--light{
  color:#444;
  background:#f3f3f3
}
.mm-spn.mm-spn--dark{
  color:#ddd;
  background:#333
}
/* .mm-spn.mm-spn--vertical{
  overflow-y:auto
}
.mm-spn.mm-spn--vertical ul{
  width:100%;
  padding-right:0;
  position:static
}
.mm-spn.mm-spn--vertical ul ul{
  display:none;
  padding-left:var(--mm-spn-item-indent)
}
.mm-spn.mm-spn--vertical ul ul:after{
  height:calc(var(--mm-spn-item-height)/ 2)
}
.mm-spn.mm-spn--vertical ul.mm-spn--open{
  display:block
}
.mm-spn.mm-spn--vertical li.mm-spn--open:before{
  transform:rotate(135deg) translate(-50%,0)
}
.mm-spn.mm-spn--vertical ul ul li:last-child:after{
  content:none;
  display:none
} */

/* Safari iOS 26 Liquid Glass Fix */
.safari-glass-fix {
  display: none;
}

/* -----------------------------------------------------------
 * 0. FONTS & ICONS
 * --------------------------------------------------------- */

@font-face {
  font-family: "AkkoProCondensedBoldItalic";
  src: url('webFonts/AkkoProCondensedBoldItalic/font.woff2') format('woff2'), 
       url('webFonts/AkkoProCondensedBoldItalic/font.woff') format('woff');
  
  /* ✅ WICHTIG: Explizit deklarieren! */
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  
  /* ✅ Font-Synthesis verhindern (iPad macht sonst "künstlich bold/italic") */
  font-synthesis: none;
  -webkit-font-synthesis: none;
}

/* --- IBM Plex Sans: Regular (Primärschrift) --- */
@font-face {
  font-family: "IBM Plex Sans";
  src: url('webFonts/IBMplex/ibm-plex-sans-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;         /* Sofort Text zeigen, Font nachladen */
}

/* --- IBM Plex Sans: Bold --- */
@font-face {
  font-family: "IBM Plex Sans";
  src: url('webFonts/IBMplex/ibm-plex-sans-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;         /* Sofort Text zeigen, Font nachladen */
}

/* --- IBM Plex Sans: Italic --- */
@font-face {
  font-family: "IBM Plex Sans";
  src: url('webFonts/IBMplex/ibm-plex-sans-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: optional;
}

/* --- IBM Plex Sans: Bold Italic --- */
@font-face {
  font-family: "IBM Plex Sans";
  src: url('webFonts/IBMplex/ibm-plex-sans-700italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: optional;
}

/* --- IBM Plex Serif: Italic --- */
@font-face {
  font-family: "IBM Plex Serif";
  src: url('webFonts/IBMplex/ibm-plex-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: optional;
}

/* Fix: Safari/iOS clips SVG edges with overflow:hidden (default).
   overflow:visible prevents icons referenced via <use> from being cut off. */
svg {
  overflow: visible;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;    /* Optische Ausrichtung zur Textlinie */
  flex-shrink: 0;
  margin-right: 0.15rem;
}
.hero-meta .icon {
  margin-right: 0.5rem;
}

/* -----------------------------------------------------------
 * 0.1 TYPOGRAPHY
 * --------------------------------------------------------- */
:root {
  /* Font-Stack */
  --font-akko: "AkkoProCondensedBoldItalic", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-plex: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-plex-serif: "IBM Plex Serif", "IBM Plex Sans", Georgia, serif;
}


/* =========================================================
 * AKKO HEADING SYSTEM — Zentrale Typografie-Definition
 * Alle <h1>–<h6> erben automatisch die AKKO-Schrift.
 * Nicht-Heading-Elemente nutzen den Sammel-Selektor unten.
 * ========================================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-akko);
  font-weight: 700;
  font-style: italic;
  font-synthesis: none;
  -webkit-font-synthesis: none;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 1.75rem;
  line-height: 2.15rem;
}

h2 {
  font-size: 1.75rem;
  line-height: 1.2;
  text-transform: uppercase;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  text-transform: uppercase;
}

h4 {
  font-size: 1.1rem;
  line-height: 1.1;
  text-transform: uppercase;
}

h5 {
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
}

h6 {
  font-size: 0.85rem;
  line-height: 1.2;
  text-transform: uppercase;
}

/* --- Sammel-Selektor: Nicht-Heading-Elemente mit AKKO --- */
.topbar a,
.menu > li > a,
.menu > li > span,
:where(#mobile-nav-panel) .menu a,
:where(#mobile-menu).mm-spn li,
:where(#mobile-menu).mm-spn li > a,
:where(#mobile-menu).mm-spn--navbar::after,
:where(#mobile-menu) > ul > li > a,
:where(#mobile-menu) > ul > li > span,
.mobile-nav-menu > ul > li > a,
.hero-headline,
.tabs,
.tab-link,
.big-text,
.tab-item .mega-heading-btn,
.mega-links-col .mega-heading-btn,
.search-content,
.search-content input[type="search"],
.search-content button,
.footer-bottom,
.news-meta .category,
.news-meta .time,
.news-meta .author,
.news-category,
.news-date,
.news-filter-toggle,
.filter-pills-sub-label,
.filter-pill.standalone,
.filter-pill.standalone .filter-pill-label,
.filter-group-label,
.news-card-image .video-badge,
.match-score,
.match-score.upcoming,
.result-score,
.result-top-score,
.result-top-team-name,
.result-top-header strong,
.result-list-row .team-name,
.match-teams,
.match-card-header strong,
.match-row .match-team-home,
.match-row .match-team-away,
.topspiel-header strong,
.topspiel-footer strong,
.topspiel-team-name,
.topspiel-vs,
.topspiel-label,
.standings-table th,
.standings-table .col-team,
.calendar-date .weekday,
.calendar-date .day,
.calendar-date .date,
.event-badge,
.recruit-result-team-btn,
.gallery-caption,
.gallery-overlay-visible,
.cookie-btn,
.external-content-blocked .blocked-content-type,
.hsg-tab {
  font-family: var(--font-akko);
  font-weight: 700;
  font-style: italic;
  font-synthesis: none;
  -webkit-font-synthesis: none;
}


/* =========================================================
 * optimized-styles.css — VERSION 4.0.0 (RESTRUCTURED)
 *
 * Änderungen gegenüber v3.3.2:
 * - Breakpoints vereinheitlicht: Überlappungsmethode (480, 768, 900, 1024, 1280, 1600)
 * - Media Queries nach unten konsolidiert (je Breakpoint 1×)
 * - Kommentar-Stil vereinheitlicht
 * - Tote Code-Blöcke & Duplikate entfernt
 * - Desktop-Search-Dimming: Hover-Override bereinigt
 * ========================================================= */

/* -----------------------------------------------------------
 * 1. CSS CUSTOM PROPERTIES
 * --------------------------------------------------------- */
:root {
  /* Layout */
  --max-width: 1600px;
  /* Colors – Light Mode */
  --theme-color: #333333;
  --topbar: #474747;
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --bg-card: #eeeeee;
  --bg-top: #d20202;
  --bg-card-alt: #333333;
  --bg-menu: #333333;
  --bg-megamenu: #474747;
  --bg-tab-active: #545454;
  --bg-footer: #333333;
  --filter:#838383;
  --filter-light:#bcbcbc;
  --filter-inner:#e7e7e7;
  --accent: #7e39ae;

  --text-primary: #000000;
  --text-secondary: #333333;
  --text-light: #606060;
  --text-menu: #ffffff;
  --text-menu-light: #cccccc;

  --border-color: #e5e5e5;
  --shadow-color: rgba(0, 0, 0, 0.2);

  /* Shadows */
  --shadow-ui: 0 4px 10px var(--shadow-color);
  --shadow-card: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;

  /* Icons */
  --icon-size: 40px;
  --icon-stroke-width: 3;

  /* Transitions */
  --transition-fast: 150ms;
  --transition-normal: 300ms;
  --transition-slower: 600ms;
  --transition-slow: 3500ms;
  --transition-hamburger: 400ms;
  --easing-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --easing-standard: ease;
}

/* -----------------------------------------------------------
 * 2. BASE STYLES
 * --------------------------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-plex);

  background: #333333;
  color: var(--text-primary);
  transition: background-color var(--transition-normal) var(--easing-standard),
              color var(--transition-normal) var(--easing-standard);
}

html {
  background: #333333;    /* #333333 – gleich wie eure Nav */
}

/* -----------------------------------------------------------
 * 4. ACCESSIBILITY — Skip Link & Focus
 * --------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--bg-menu);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

/* Standard-Fokus-Ring */
:focus {
  outline: 3px solid var(--text-primary);
  outline-offset: 2px;
}

/* Progressive Enhancement: focus-visible überschreibt :focus */
@supports selector(:focus-visible) {
  :focus { outline: 2px solid transparent; }
  :focus-visible { outline: 3px solid var(--text-primary); outline-offset: 2px; }
}

.menu > li a:focus-visible,
.tab-link:focus-visible {
  outline-color: white;
  outline-offset: -2px;
}

button:focus-visible,
.hamburger-container:focus-visible,
.search-container:focus-visible,
.shop-container:focus-visible {
  outline-color: var(--text-primary);
}

/* -----------------------------------------------------------
 * 5. LAYOUT — Content Wrapper & Content
 * --------------------------------------------------------- */
.content-wrapper {
  background: #ffffff;
  margin: 0 auto;
  padding: 0;
}

/* UNUSED: .content class does not exist in HTML (only .content-wrapper)
.content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1rem;
  background: var(--bg-primary);
} */

/* .onlydesktop: Mobile-Default versteckt, Desktop per MQ sichtbar */
.onlydesktop {
  display: none;
  color: var(--text-menu-light);
}

/* -----------------------------------------------------------
 * 6. TOPBAR
 * --------------------------------------------------------- */
.topbar {
  background: var(--topbar);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  z-index: 1000;
  position: relative;
}

.topbar nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

.topbar span {
  padding: 0 0.5rem;
}

.topbar a {
  color: var(--text-menu-light);
  text-decoration: none;
  font-size: small;
  padding: 0;
  transition: color var(--transition-fast) var(--easing-standard);
}

.topbar a:hover {
  color: #ffffff;
}

/* -----------------------------------------------------------
 * 7. LOGO
 * --------------------------------------------------------- */
.logo-svg {
  display: block;
  height: 40px;
  width: auto;
}

.mobile-logo {
  margin-right: auto;
}

.mobile-logo .logo-svg {
  height: 35px;
}

.mobile-logo svg {
  height: 35px !important;
}

.logo-desktop svg,
.logo-desktop .logo-svg {
  height: 40px;
  width: auto;
  margin: 10px 0;
}

.logo-desktop svg {
  fill: white;
}

/* -----------------------------------------------------------
 * 8. MOBILE NAVIGATION BAR
 * --------------------------------------------------------- */

.mobile-nav-menu {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  background: var(--bg-menu);
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  padding: 0;
  overflow: hidden;
  transition: transform var(--transition-normal) var(--easing-standard);
  transform: translateY(0);
  will-change: transform;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: block;
}

.mobile-nav-menu.visible {
  display: block;
  transform: translateY(0);
}

.mobile-nav-menu.sticky {
  display: block;
}

.mobile-nav-menu:not(.visible) {
  transform: translateY(-100%);
}

.mobile-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 1rem;
  gap: 0.5rem;
}

.mobile-nav-menu svg {
  height: 50px;
  width: auto;
  fill: white;
}

.mobile-buttons {
  display: flex;
  gap: 0.75rem;
  margin-left: auto;
}

.mobile-nav-menu > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
}

.mobile-nav-menu > ul > li {
  list-style: none;
  margin: 0 1rem;
}

.mobile-nav-menu > ul > li > a {
  display: inline-block;
  padding: 1rem;
  color: white;
  text-decoration: none;
}

/* -----------------------------------------------------------
 * 9. ICON BASE STYLES & DIMMING
 * --------------------------------------------------------- */
.hamburger-container,
.search-container,
.shop-container {
  cursor: pointer;
  display: inline-block;
  user-select: none;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

.hamburger-container svg,
.search-container svg,
.shop-container svg {
  width: var(--icon-size, 70px);
  height: var(--icon-size, 70px);
  display: block;
}

.hamburger-container path,
.search-container path,
.shop-container path {
  fill: none;
  stroke: var(--text-menu);
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hamburger-container path,
.shop-container path {
  stroke-width: var(--icon-stroke-width);
}

.search-container path {
  stroke-width: calc(var(--icon-stroke-width) * var(--icon-size, 70) / 70);
  vector-effect: non-scaling-stroke;
}

/* Icon-Dimming: Inaktive Icons abdunkeln wenn ein Drawer offen ist */
.hamburger-container,
.search-container,
.shop-container,
.mobile-logo {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateZ(0);
  will-change: opacity, transform;
}

/* Hamburger aktiv → andere Icons dimmen */
.mobile-nav-inner.hamburger-active .search-container,
.mobile-nav-inner.hamburger-active .shop-container,
.mobile-nav-inner.hamburger-active .mobile-logo {
  opacity: 0.5;
  transform: translateZ(0) scale(0.9999); /* Erzwingt Repaint auf iOS */
}

.mobile-nav-inner.hamburger-active .search-container:hover,
.mobile-nav-inner.hamburger-active .shop-container:hover,
.mobile-nav-inner.hamburger-active .mobile-logo:hover {
  opacity: 0.7;
  transform: translateZ(0) scale(1);
}

/* Suche aktiv → andere Icons dimmen */
.mobile-nav-inner.search-active .hamburger-container,
.mobile-nav-inner.search-active .shop-container,
.mobile-nav-inner.search-active .mobile-logo {
  opacity: 0.5;
  transform: translateZ(0) scale(0.9999);
}

.mobile-nav-inner.search-active .hamburger-container:hover,
.mobile-nav-inner.search-active .shop-container:hover,
.mobile-nav-inner.search-active .mobile-logo:hover {
  opacity: 0.7;
  transform: translateZ(0) scale(1);
}

/* UNUSED: .shop-active is never set in JS (no shop-drawer implementation)
.mobile-nav-inner.shop-active .hamburger-container,
.mobile-nav-inner.shop-active .search-container,
.mobile-nav-inner.shop-active .mobile-logo {
  opacity: 0.5;
  transform: translateZ(0) scale(0.9999);
}

.mobile-nav-inner.shop-active .hamburger-container:hover,
.mobile-nav-inner.shop-active .search-container:hover,
.mobile-nav-inner.shop-active .mobile-logo:hover {
  opacity: 0.7;
  transform: translateZ(0) scale(1);
} */
/* -----------------------------------------------------------
 * 10. HAMBURGER ANIMATION
 * --------------------------------------------------------- */
.hamburger-container svg {
  transition: transform var(--transition-hamburger) var(--easing-smooth);
  -webkit-transform: translateZ(0);
}

.hamburger-container.active svg {
  transform: rotate(90deg);
}

/* Halbkreise: Dash-Animation zu vollem Kreis */
.hamburger-container svg path:nth-of-type(1),
.hamburger-container svg path:nth-of-type(2) {
  stroke-dasharray: 20 125;
  stroke-dashoffset: -106;
  transition: stroke-dasharray var(--transition-hamburger) var(--easing-smooth),
              stroke-dashoffset var(--transition-hamburger) var(--easing-smooth),
              transform var(--transition-hamburger) var(--easing-smooth);
}

.hamburger-container svg path:nth-of-type(1) { transform-origin: center bottom; }
.hamburger-container svg path:nth-of-type(2) { transform-origin: center top; }

/* Hamburger-Striche: Transformation zu X */
.hamburger-container svg path:nth-of-type(3),
.hamburger-container svg path:nth-of-type(4),
.hamburger-container svg path:nth-of-type(5),
.hamburger-container svg path:nth-of-type(6) {
  transition: transform var(--transition-hamburger) var(--easing-smooth);
}

.hamburger-container.active svg path:nth-of-type(1),
.hamburger-container.active svg path:nth-of-type(2) {
  stroke-dasharray: 93 50;
  stroke-dashoffset: 0;
  transform: rotate(45deg);
}

.hamburger-container.active svg path:nth-of-type(3),
.hamburger-container.active svg path:nth-of-type(4),
.hamburger-container.active svg path:nth-of-type(5),
.hamburger-container.active svg path:nth-of-type(6) {
  transition-delay: 10ms;
}

.hamburger-container svg path:nth-of-type(3),
.hamburger-container svg path:nth-of-type(5) { transform-origin: right; }

.hamburger-container svg path:nth-of-type(4),
.hamburger-container svg path:nth-of-type(6) { transform-origin: left; }

.hamburger-container.active svg path:nth-of-type(3) { transform: translateY(15px) rotate(45deg); }
.hamburger-container.active svg path:nth-of-type(4) { transform: translateY(15px) rotate(-45deg); }
.hamburger-container.active svg path:nth-of-type(5) { transform: translateY(-15px) rotate(-45deg); }
.hamburger-container.active svg path:nth-of-type(6) { transform: translateY(-15px) rotate(45deg); }
/* -----------------------------------------------------------
 * 11. SEARCH ICON ANIMATION (Mobile)
 * --------------------------------------------------------- */
.search-container svg {
  transition: transform var(--transition-hamburger) var(--easing-smooth);
  -webkit-transform: translateZ(0);
}

.search-container.active svg {
  transform: rotate(180deg);
}

/* Path 1: Lupe-Kreis (klein → groß) */
.search-container svg path:nth-of-type(1) {
  transform-origin: 25px 15px;
  transform: scale(0.5);
  transition: transform var(--transition-hamburger) var(--easing-smooth);
}

.search-container.active svg path:nth-of-type(1) {
  transform: scale(1);
}

/* Path 2 & 3: X-Linien (versteckt → sichtbar) */
.search-container svg path:nth-of-type(2),
.search-container svg path:nth-of-type(3) {
  transition: transform var(--transition-hamburger) var(--easing-smooth);
}

.search-container svg path:nth-of-type(2) {
  transform: translateY(13px) translateX(10px) rotate(102.5deg) scale(0.5);
}

.search-container svg path:nth-of-type(3) {
  transform: translateY(13px) translateX(10px) rotate(12.5deg) scale(0.5);
}

.search-container.active svg path:nth-of-type(2),
.search-container.active svg path:nth-of-type(3) {
  transform: rotate(0deg);
}

/* -----------------------------------------------------------
 * 12. DESKTOP HAUPTMENÜ
 * --------------------------------------------------------- */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #333333;
}

.menu {
  display: none;
  background: var(--bg-menu);
  color: var(--text-menu);
  list-style: none;
  position: static;
  z-index: 999;
  margin: 0;
}

.menu > li {
  position: static;
  cursor: pointer;
  padding: 0 clamp(0.75rem, 1.5vw, 2rem);
  flex: 0 0 auto;
}

.menu > li.logo-desktop {
  flex: 0 0 auto;
  padding: 0;
  margin-left: 0;
  margin-right: 2rem;
}

.menu > li.search-desktop-item {
  flex: 0 0 auto;
  padding: 0;
  margin-right: 0;
  margin-left: auto;
}

.menu > li > a,
.menu > li > span {
  color: var(--text-menu);
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  display: block;
  height: 60px;
  line-height: 60px;
  font-size: 1.5rem;
  transition: background-color var(--transition-normal) var(--easing-standard),
              color var(--transition-normal) var(--easing-standard),
              font-size var(--transition-normal) var(--easing-smooth);
}

.menu > li:not(.logo-desktop):not(.search-desktop-item):hover,
.menu > li:not(.logo-desktop):not(.search-desktop-item):focus-within,
.menu > li:not(.logo-desktop):not(.search-desktop-item):active {
  background-color: #474747;
}

.menu > li:not(.logo-desktop):hover > a,
.menu > li:not(.logo-desktop):hover > span,
.menu > li:not(.logo-desktop):focus-within > a,
.menu > li:not(.logo-desktop):focus-within > span {
  color: white;
}

/* Logo + Search desktop: hidden by default (mobile-first) */
.logo-desktop {
  display: none;
  align-items: center;
  margin-right: 2rem;
  flex-shrink: 0;
}

.search-desktop-item {
  display: none;
}

/* -----------------------------------------------------------
 * 13. MEGA MENU
 * --------------------------------------------------------- */
/* ✅ FIX: position: absolute + top: 100% statt position: fixed + top: var(--menu-offset).
   Containing Block ist .main-nav (sticky), dadurch bewegt sich das Megamenü
   immer mit der Nav — kein Spalt bei Elastic Scroll / Rubber-Band. */
.megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  background: var(--bg-megamenu);
  padding: 1rem 0;
  box-shadow: var(--shadow-ui);
  z-index: 1000;
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  opacity: 1;
}

.megamenu-inner {
  display: flex;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  cursor: default;
}

/* --- Megamenü: Link-Spalten mit Überschriften (Neues, Du, Die HSG) --- */
.mega-links {
  display: grid;
  /* grid-template-columns: auto 1fr auto 1fr auto 1fr 1fr; */
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  width: 100%;
  padding: 0.5rem 0;
}

.mega-links.col-3 {
  grid-template-columns: 2fr 1fr auto 1fr 1fr;
}

.mega-links-col {
  margin: 0;
  border: none;
  padding-left: 0;
}

.mega-links-divider {
  display: flex;
  justify-content: center;
  min-width: 2rem;
}

.mega-links-divider::after {
  content: '';
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.075);
}

.mega-links.sponsoren {
  grid-template-columns: auto 1fr auto 1fr auto;
  /* grid-template-columns: auto auto auto;
  justify-content: space-between; */
}

.mega-links.sponsoren .mega-links-col {
  display: flex;
  flex-direction: column;
}

.mega-links.sponsoren .mega-heading-btn {
  align-self: flex-start;
}

.mega-links.sponsoren .mega-links-col:nth-child(1) > a {
  flex: 1;
  display: flex;
  align-items: end;
  margin-bottom: -0.5rem;
}

.mega-sponsor-spacer {
  flex: 1;
}

.mega-links.sponsoren img {
  max-width:250px;
  width: auto;
  height: auto;
  margin-top: 0;
  margin-left: 0.85rem;
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: opacity var(--transition-normal) var(--easing-smooth), filter var(--transition-normal) var(--easing-smooth);
}

.mega-links.sponsoren img:hover {
  filter:none;
  opacity: 1;
}

/* 3. Spalte: zweiter Button + ul kompakt halten */
.mega-links.sponsoren .mega-links-col:nth-child(3) .mega-heading-btn:nth-of-type(2) {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.mega-links.sponsoren .sponsoren-bottom {
  margin-top: auto;
}

/* .mega-links-col {
  margin: 0;
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.075);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.mega-links-col {
  margin: 0;
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.075);
  padding-left: 1.5rem;
} */

/* .mega-links-col:first-child {
  border-left: none;
  padding-left: 0;
} */

/* .mega-links-col {
    margin: 0 3rem 0 0;
    border-right: 1px solid rgba(255, 255, 255, 0.075);
}
*/

.mega-links-col:last-child {
  padding-right: 4rem;
} 

.mega-links-col h4 {
  color: #ffffff;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mega-links.sponsoren .mega-links-col:nth-child(3) ul {
  display: grid;
  grid-template-columns: auto auto;
  align-content: flex-end;
  gap: 0.5rem 3.5rem;
}

.mega-links-col ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* .mega-links-col li {
  padding: 0.25rem 0 0.25rem 0.85rem;
} */

/* .mega-links-col a {
  color: var(--text-menu-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast) var(--easing-standard);
} */

/* .mega-links-col a:hover {
  color: #ffffff;
} */

.mega-links-col .mega-heading-btn {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

/* -----------------------------------------------------------
 * 14. TABS (innerhalb Mega Menus)
 * --------------------------------------------------------- */
.tabs {
  width: 200px;
  color: var(--text-menu);
  font-size: 1.25rem;
  text-transform: uppercase;
      /* display: flex;
    flex-direction: column;
    justify-content: space-between; */
}

.tab-link {
    /* min-width: 200px; */
    /* height: 50px; */
    line-height: 50px;
    cursor: pointer;

    padding: 0.55rem 0 0.55rem 1rem;

    /* margin-top: 1rem;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem; */
    background: transparent;
    transition: background-color var(--transition-fast) var(--easing-standard);
    /* border-bottom: 1px solid white; */
    /* color: #333; */
    opacity: .35;
}

.tab-link:hover,
.tab-link[aria-selected="true"] {
    /* border-bottom: 1px solid white; */
    /* color: white; */
    opacity: 1;
    background-color: #555;
  }

/* Tab-Content: Grid-Stacking – alle Panes liegen übereinander,
   die höchste bestimmt die Container-Höhe. Kein Flackern beim Wechsel. */
.tab-content {
  flex: 1;
  /* border-left: 5px solid #545454; */
  display: grid;
  /* padding-top: 1rem */
  background: linear-gradient(to right, #555, #474747 40%);
  align-content: end;
}

/* Alle Panes stapeln sich in derselben Grid-Zelle.
   visibility: hidden (statt display: none) sorgt dafür, dass
   ALLE Panes zum Layout beitragen, aber nur die aktive sichtbar ist. */
.tab-pane {
  grid-area: 1 / 1;
  /* padding: 1rem; */
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--transition-fast) var(--easing-standard);
  /* background-color: #555 */
  position: relative;
}

.tab-pane.active {
  visibility: visible;
  opacity: 1;
}

.big-text {
  position: absolute;
  top: 0.25rem;
  right: 0;
  font-size: 4rem;
  opacity: 0.025;
  z-index: 0;
  text-transform: uppercase;
  transition: opacity var(--transition-normal) var(--easing-smooth);
}

.tab-grid {
  position: relative;
  padding: 1rem 0 1rem 1rem;
  display: grid;
  /* grid-template-columns: 4fr 3fr 3fr; repeat(3, 1fr);*/
  grid-template-columns: 5fr 2.5fr 2.5fr;
  gap: 2rem;
  z-index: 1;
  align-items: end;
}

.tab-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.tab-item .mega-heading-btn,
.mega-links-col .mega-heading-btn {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #555;
  padding: 0.3rem 0.85rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast) var(--easing-smooth);
}

.tab-item .mega-heading-btn {
  margin: 1.5rem 0 0.25rem 0;
}
.mega-links-col .mega-heading-btn {
  margin: 0.25rem 0 0.25rem 0;
}

.sup-plus {
    font-size: 0.55em;
    position: relative;
    top: -0.3em;
    margin-left: -0.3rem;
    margin-right: -0.3rem;
}

.tab-item .mega-heading-btn:hover,
.mega-links-col .mega-heading-btn:hover {
  background: #808080;
}

.tab-item .mega-heading-btn svg,
.mega-links-col .mega-heading-btn svg {
  width: 28px; height: 28px; fill: none; stroke: currentColor;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--transition-fast) var(--easing-smooth);
  flex-shrink: 0;
}

.tab-item .mega-heading-btn:hover svg,
.mega-links-col .mega-heading-btn:hover svg {
  transform: translateX(3px);
}

/* --- News "Mehr laden" Button --- */


/* Hidden state for load-more pagination */
.news-card.news-hidden {
  display: none !important;
}

.news-card-link:has(.news-hidden) {
  display: none !important;
}

/* Reveal animation for news cards */
@keyframes newsCardReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-card.news-reveal {
  animation: newsCardReveal 0.4s var(--easing-smooth, cubic-bezier(.4,0,.2,1)) both;
}

.tab-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  /* gap: 0.3rem; */
}

.mega-links-col li,
.tab-item li {
    color: var(--text-menu-light);
    font-size: 1rem;
    margin: 0.25rem 0 0.25em 0.85rem;
}

.mega-links-col li a,
.tab-item li a {
    color: white;
    text-decoration: none;
    opacity: 0.65;
    transition: opacity var(--transition-fast) var(--easing-standard);
}

.mega-links-col li a:hover,
.tab-item li a:hover {
    opacity: 1;
}

/* Wrapper für tab-item Images: overflow hidden sorgt dafür,
   dass der Zoom-Effekt innerhalb des Rahmens bleibt. */
.tab-item-image {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.tab-item-image img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.tab-item-image:hover img {
  transform: scale(1.03);
}

/* -----------------------------------------------------------
 * 15. SVG EXIT PATHS (Megamenu-Hover-Pfade)
 * --------------------------------------------------------- */
svg.exit-path {
  display: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1001;
}

.exit-path path,
.trigger-path path,
.tab-path path {
  fill: rgba(255, 2, 2, 0.1);
  stroke: none;
  stroke-width: 0;
}

.exit-path path {
  pointer-events: none;
}

.trigger-path path,
.tab-path path {
  pointer-events: all;
  transition: opacity var(--transition-slower) var(--easing-standard);
}

/* -----------------------------------------------------------
 * 16. SEARCH MENU CONTENT (Drawer-Inhalt)
 * --------------------------------------------------------- */
.search-content {
  padding: 2rem;
}

.search-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.search-content input[type="search"] {
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  margin-bottom: 1rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.search-content button {
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
  background: var(--bg-menu);
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color var(--transition-fast) var(--easing-standard);
}

.search-content button:hover {
  background: purple;
}

.search-suggestions {
  margin-top: 2rem;
}

.search-suggestions h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.search-suggestions ul {
  list-style: none;
  padding: 0;
}

.search-suggestions li {
  margin-bottom: 0.5rem;
}

.search-suggestions a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color var(--transition-fast) var(--easing-standard);
}

.search-suggestions a:hover {
  color: purple;
}
/* =========================================================
 * PROJECT — MMENU LIGHT CUSTOMIZATIONS (scoped)
 * =========================================================
 *
 * Ziel:
 * - Alle projekt-spezifischen Anpassungen für mmenu-light / Mobile Menu /
 *   Search Drawer sind hier gebündelt.
 *
 * Prinzip:
 * - Library-Code (mmenu-light) bleibt oben unangetastet.
 * - Projektanpassungen stehen am Dateiende, damit sie per Cascade/Order greifen
 *   und möglichst wenig !important benötigen.
 *
 * Struktur:
 * - A) Base/Defaults
 * - B) Mobile
 * - C) Tablet/Touch
 * - D) Desktop
 * - E) Accessibility / Preferences
 * ========================================================= */

/* -----------------------------------------------------------
 * A) Base / Defaults
 * --------------------------------------------------------- */

/* Fix: In der obersten Ebene (Main-Panel) soll das Menü ganz oben beginnen */
:where(#mobile-menu).mm-spn.mm-spn--navbar.mm-spn--main ul {
  top: 0;
}

/* Fix: mmenu Navbar-Title ("Menu") im Main-Panel ausblenden */
:where(#mobile-menu).mm-spn--main.mm-spn--navbar::before,
:where(#mobile-menu).mm-spn--main.mm-spn--navbar::after,
.mm-spn.mm-spn--navbar.mm-spn--main::before,
.mm-spn.mm-spn--navbar.mm-spn--main::after {
  content: none;
  display: none;
}

.topbar a,
.menu > li > a,
.menu > li > span,
:where(#mobile-menu).mm-spn li,
:where(#mobile-menu).mm-spn li > a,
:where(#mobile-menu).mm-spn--navbar::after,
:where(#mobile-menu) > ul > li > a,
:where(#mobile-menu) > ul > li > span,
.mobile-nav-menu > ul > li > a,
.tabs,
.search-content,
.search-content input[type="search"],
.search-content button,
.footer-heading,
.footer-bottom,
.cookie-banner h2,
.cookie-category h3,
.cookie-btn,
.external-content-blocked .blocked-content-type {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

body.mm-ocd-opened {
  overflow: hidden;
  position: relative;
}

:where(#mobile-menu).mm-spn > ul > li > a,
:where(#mobile-menu).mm-spn > ul > li > span {
  font-size: x-large;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  min-height: var(--mm-spn-item-height) !important;
  padding: 0 1rem;
}

:where(#mobile-menu).mm-spn li,
:where(#mobile-menu).mm-spn li > a {
  min-height: var(--mm-spn-item-height) !important;
  font-size: x-large;
}

:where(#mobile-menu).mm-spn--navbar {
  --mm-nav-arrow-space: 2rem;
}

:where(#mobile-menu).mm-spn--navbar::after {
  font-size: x-large;
  color: var(--text-primary);
  display: flex !important;
  align-items: center !important;
  height: var(--mm-spn-item-height) !important;
  text-align: left !important;
  line-height: 60px !important;
  padding-left: var(--mm-nav-arrow-space) !important;
  padding-right: calc(var(--mm-spn-item-indent) * 2) !important;
}

:where(#mobile-menu).mm-spn--navbar::before {
  left: calc(var(--mm-nav-arrow-space) / 1.6) !important;
  right: auto !important;
  margin-top: 0 !important;
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

.mm-blur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  background-color: rgba(197, 197, 197, 0);
  transition: background-color 0.5s ease;
}

.mm-blur-overlay.active {
  background-color: rgba(197, 197, 197, 0.9);
  backdrop-filter: blur(3px) brightness(1.15);
  -webkit-backdrop-filter: blur(3px) brightness(1.15);
}

.mm-blur-overlay.animating {
  will-change: backdrop-filter, background-color;
  transition: backdrop-filter 0.5s ease,
              -webkit-backdrop-filter 0.5s ease,
              background-color 0.5s ease;
}

.mm-blur-overlay.closing {
  background-color: rgba(197, 197, 197, 0);
  backdrop-filter: blur(0px) brightness(1);
  -webkit-backdrop-filter: blur(0px) brightness(1);
  transition: backdrop-filter 0.45s ease,
              -webkit-backdrop-filter 0.45s ease,
              background-color 0.45s ease;
}

/* -----------------------------------------------------------
 * 17. MMENU LIGHT — Overrides & Drawer
 * --------------------------------------------------------- */

/* mmenu Navigation Panel */

/* -----------------------------------------------------------
 * 18. BLUR OVERLAY (Drawer-Hintergrund)
 * --------------------------------------------------------- */

/* -----------------------------------------------------------
 * 19. FOOTER
 * --------------------------------------------------------- */

/* -----------------------------------------------------------
 * 19. FOOTER
 * --------------------------------------------------------- */

.footer {
  background: var(--topbar);
  color: white;
  padding: 0.5rem 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto 0;
  padding: 0 1rem 2rem;
  align-items: initial;
}

/* Footer-Logo Spalte */

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: auto;
  max-width: none;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

.footer-logo-img {
  width: 200px;
  height: auto;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-menu-light);
  margin: 0;
  min-width: 220px;
  max-width: 80%;
}

/* Footer-Sektionen (Service, Links, Rechtliches) */

.footer-section {
  display: flex;
  flex-direction: column;
  height: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.30rem;
}

.footer-heading {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1rem 0;
  user-select: none;
}

/* Accordion-Pfeil: Mobile default sichtbar */

.footer-arrow {
  display: block;
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal) var(--easing-smooth);
  flex-shrink: 0;
  transform: rotate(0deg);
  fill: none;
  stroke: var(--text-menu-light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-arrow.is-open {
  transform: rotate(180deg);
}

/* Footer-Links: Mobile als Accordion (geschlossen) */

.footer-links {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-normal) var(--easing-smooth);
  overflow: hidden;
}

.footer-links > ul {
  min-height: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links.is-open {
  grid-template-rows: 1fr;
  padding-bottom: 1rem;
}

.footer-links ul {
  margin-top: 0;
}

.footer-links a {
  color: var(--text-menu-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast) var(--easing-standard);
}

.footer-links a:hover {
  color: white;
}

/* Spacer-Element: Mobile ausgeblendet */

.footer-links li.onlydesktop {
  display: none;
}

/* Footer-Bottom */

.footer-bottom {
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: normal;
  background: var(--bg-footer);
  padding: 1.5rem 0;
  width: 100%;
  margin: 0;
}

.footer-bottom-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

/* Social Media Links */

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #2a2a2a;
  border-radius: 6px;
  color: white;
  transition: background-color var(--transition-fast) var(--easing-standard),
              transform var(--transition-fast) var(--easing-standard);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-facebook:hover  { background: #1877F2; }
.social-instagram:hover { background: #E4405F; }
.social-snapchat:hover  { background: #FFFC00; color: #000000; }
.social-youtube:hover   { background: #FF0000; }
.social-rss:hover       { background: #FFA500; }

/* -----------------------------------------------------------
 * HERO SECTION
 * --------------------------------------------------------- */

.hero {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 400px;                    /* Mobile Default */
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  top: -15%;
  bottom: -15%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  padding: 1.5rem 1rem;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-headline {
  overflow: hidden;
  hyphens: none;
  word-break: normal;
  background: #000;
  color: #fff;
  padding: 0 0.3em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  display: inline;
  max-width: none;
}

.hero-headline-stack {
  position: relative;
  width: 90%;
}

.hero-headline-wrap {
  max-width: 100%;
  overflow: hidden;
}

.hero-headline-bg {
  opacity: 0.65;
}
.hero-headline-bg .hero-headline {
  background: #000;
  color: #000;
}

.hero-headline-fg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 1;
}
.hero-headline-fg .hero-headline {
  background: transparent;
  color: #fff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.8rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  padding: 0 0.5em;
}

/* -----------------------------------------------------------
 * 20. SCROLL TO TOP
 * --------------------------------------------------------- */

.scroll-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 45px;
  height: 45px;
  background: var(--bg-menu);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 998;
  content-visibility: auto;
  contain: layout style paint;

  /* Initial versteckt */
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px) scale(0.8);

  transition:
    opacity var(--transition-fast) var(--easing-smooth),
    visibility var(--transition-fast) var(--easing-smooth),
    transform var(--transition-fast) var(--easing-smooth),
    background-color var(--transition-fast) var(--easing-standard);

  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: var(--shadow-ui);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
  background: #474747;
  transform: translateY(-3px) scale(1.05);
}

.scroll-to-top:active {
  transform: translateY(0) scale(0.95);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  margin: auto;
}
/* -----------------------------------------------------------
 * 21. COOKIE BANNER
 * --------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  -webkit-text-size-adjust: 100%;
}

.cookie-banner.active {
  display: flex;
}

.cookie-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.cookie-banner-content {
  position: relative;
  background: var(--bg-primary);
  color: var(--text-primary);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.cookie-banner-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0;
  gap: 1rem;
}

.cookie-banner-header h2 {
  margin: 0;
}

.cookie-banner-logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  filter: brightness(0);
}

.cookie-banner h2 {
  margin: 0 0 1rem 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.cookie-banner p {
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

/* Cookie-Kategorien */

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cookie-category {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1rem;
  background: var(--bg-secondary);
}

.cookie-category-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cookie-category-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-category h3 {
  font-size: 1.1rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.cookie-badge {
  font-size: 0.75rem;
  background: var(--bg-menu);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-family: sans-serif;
}

/* Cookie-Toggle (Schieberegler) */

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle input:disabled {
  cursor: not-allowed;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition-fast);
  border-radius: 26px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--transition-fast);
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: #4CAF50;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  background-color: var(--bg-menu);
  cursor: not-allowed;
}

/* Cookie-Details Accordion (CSS Grid Animation) */

.cookie-details-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.cookie-details-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cookie-details-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.cookie-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-normal) var(--easing-smooth);
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.cookie-details[hidden] {
  display: grid;
  grid-template-rows: 0fr;
}

.cookie-details:not([hidden]) {
  grid-template-rows: 1fr;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.cookie-details > * {
  min-height: 0;
}

.cookie-details ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.5rem;
}

.cookie-details li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Cookie-Aktionsbuttons */

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Neue .btn im Cookie-Banner: volle Breite auf Mobile, flex-grow auf Desktop */
.cookie-actions .btn {
  flex: 1;
  min-width: 120px;
  margin-top: 0;
  justify-content: center;
}

.cookie-btn {
  flex: 1;
  min-width: 120px;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.cookie-btn-primary {
  background: var(--bg-menu);
  color: white;
}

.cookie-btn-primary:hover {
  background: #474747;
}

.cookie-btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.cookie-btn-secondary:hover {
  border-color: var(--text-primary);
  background: var(--bg-secondary);
}

.cookie-footer-text {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
}

.cookie-footer-text a {
  color: var(--text-primary);
  text-decoration: underline;
}

/* -----------------------------------------------------------
 * 22. EXTERNAL CONTENT BLOCKED (Platzhalter für iframes)
 * --------------------------------------------------------- */

.external-content-blocked {
  background: var(--bg-secondary);
  border: 2px dashed var(--border-color);
  border-radius: 6px;
  padding: 2rem;
  text-align: center;
  margin: 1rem 0;
}

.external-content-blocked .blocked-content-type {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0 0 0.5rem 0;
}

.external-content-blocked p {
  margin: 0 0 1.5rem 0;
  color: var(--text-primary);
}

.external-content-blocked button {
  min-width: 200px;
}

/* Safari iOS 26 Liquid Glass Fix — Mobile default: active */
.safari-glass-fix {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-menu);
  z-index: 998;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform var(--transition-normal) var(--easing-standard);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.safari-glass-fix.visible {
  transform: translateY(0);
}

/* mmenu: Mobile default = volle Breite */
.mm-ocd__content {
  width: 100% !important;
  max-width: 100% !important;
}
.mm-ocd__backdrop {
  display: none !important;
}

/* Search Drawer: Mobile default = volle Breite */
.mm-ocd.search-drawer {
  width: 100% !important;
  max-width: 100% !important;
}
.mm-ocd.search-drawer .mm-ocd__content {
  width: 100% !important;
  max-width: 100% !important;
}
@supports selector(:has(*)) {
  .mm-ocd:has(#search-menu) {
    width: 100% !important;
    max-width: 100% !important;
  }
  .mm-ocd:has(#search-menu) .mm-ocd__content {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Cookie Banner: Mobile-Defaults */
.cookie-category {
  padding: 0.5rem;
}

.cookie-banner-content {
  padding: 1.5rem;
  max-height: 95vh;
}

.cookie-banner h2 {
  font-size: 1.5rem;
}

.cookie-banner-logo {
  height: 30px;
}

.cookie-actions {
  flex-direction: column;
}

.cookie-btn,
.cookie-actions .btn {
  width: 100%;
}

.cookie-banner p {
  line-height: 1.1;
  font-size: 0.875rem;
}

.cookie-details li {
  line-height: 1;
  font-size: 0.875rem;
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
}

/* --- Duplikat-Block entfernt (war identisch mit ~Z.1451–1555) --- */

/* =========================================================
 * SPONSOREN-SEKTION
 * ========================================================= */

.sponsors {
  background: var(--topbar);
  padding: 2rem 0;
  overflow: hidden;
}

.sponsors-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.sponsors-divider {
  width: calc(100% - 2rem);
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 1.5rem;
}

/* --- Hauptsponsor --- */

.sponsor-main {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
}

.sponsor-main .sponsor-item {
  width: 140px;
}

/* --- Sponsor-Grid: Mobile default = Ticker --- */

.sponsor-grid {
  display: flex;
  max-width: none;
  width: calc(100% - 2rem);
  margin: 0 1.5rem;
  overflow: hidden;
  padding: 0.5rem 0;
  gap: 2rem;
  align-items: center;
  justify-items: center;
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right,
    transparent 0%, black 8%, black 92%, transparent 100%);
}

.sponsor-ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  will-change: transform;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.sponsor-ticker-track.is-dragging {
  cursor: grabbing;
}

/* Klone: Mobile default sichtbar */
.sponsor-ticker-track .sponsor-item[aria-hidden="true"] {
  display: flex;
}

/* --- Einzelnes Logo --- */

.sponsor-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  width: 90px;
  flex: 0 0 auto;
  pointer-events: auto;
}

.sponsor-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity var(--transition-normal) var(--easing-smooth);
}

.sponsor-item .sponsor-white {
  opacity: 0.65;
}

.sponsor-item .sponsor-color {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  opacity: 0;
}

.sponsor-item:hover .sponsor-white,
.sponsor-item:active .sponsor-white {
  opacity: 0;
}

.sponsor-item:hover .sponsor-color,
.sponsor-item:active .sponsor-color {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.sponsor-item:focus-visible {
  outline: 2px solid white;
  outline-offset: 8px;
}

/* =========================================================
 * NEWS + SIDEBAR LAYOUT — Mobile-First
 * ========================================================= */

/* --- Haupt-Layout: 1 Spalte (Mobile Default) --- */

.page-content {
  --page-gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--page-gap);
}

/* --- Section-Titel & Widget-Titel --- */

.section-title,
.widget-title,
.recruit-title {
  margin: 0 0 1rem 0;
  padding-bottom: 0;
  /* border-bottom: none; */
}

/* =========================================================
 * NEWS CARDS — Mobile-First (gestapelt)
 * ========================================================= */

.news-column .section-header h2{
  margin-top: 0.015rem;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* news-load-more Button: mobile volle Breite */
#news-load-more {
  width: 100%;
  max-width: none;
}

.news-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 12px;
  transition: transform var(--transition-fast) var(--easing-standard);
}

.news-card-link:hover {
  transform: translateY(-1px);
}

.news-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-card, #f2f2f2);
  border-radius: 12px;
  overflow: hidden;
  padding: 0.75rem;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
}

.news-card:first-child {
  padding-top: 0.75rem;
}

/* Bild */

.news-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 16 / 10;
  background: #e5e5e5;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* Video-Badge */

.news-card-image .video-badge {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 0.7rem;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.video-badge svg {
  width: 12px;
  height: 12px;
  fill: white;
}

/* Text-Bereich */

.news-card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  margin-left: 0;
}

.news-card-body svg {
  margin-left: 0.5rem;
}

.news-card-body svg.ai {
  margin-left: 0rem;
}

/* Meta-Zeile */

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.news-meta .time {
  margin-left: auto;
}

.news-meta .category {
  color: var(--text-primary);
  text-transform: uppercase;
  font-size: 0.95rem;
}

.news-meta .separator {
  margin: 0 0.15rem;
}

.news-meta .author,
.news-meta .time {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.news-meta .author{
  display: none;
}

.news-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-light);
}

.news-date {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Headline — Mobile Default */

.news-headline {
  font-size: 1.1rem;
  line-height: 1.1rem;
  text-transform: none;
  margin: 0 0 0.4rem 0;
  color: var(--text-primary);
}

/* Teaser */

.news-teaser {
  font-size: 0.85rem;
  line-height: 1.15rem;
  color: var(--text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* News-Card Links */

.news-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.news-card-image a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-text-link {
  color: inherit;
  text-decoration: none;
  display: block;
  max-width: 95%;
  margin-bottom: 0.15rem;
}

.news-meta .category a {
  color: inherit;
  text-decoration: none;
}

.news-meta .category a:hover {
  text-decoration: underline;
}

/* =========================================================
 * SIDEBAR — Mobile-First
 * ========================================================= */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  top: auto;
  min-width: 0;
}

.sidebar .widget {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-card);
}

/* Diagonal gradient background behind widgets */
.sidebar-backdrop {
  position: relative;
}

.sidebar-backdrop::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 150px;
  bottom: 100px;
  background: #c8c8c8;
  z-index: 0;
  pointer-events: none;
  clip-path: polygon(
    0% 4.4vw,
    100% 0%,
    100% 100%,
    0% calc(100% - 4.4vw)
  );
}

.news-column {
  margin-bottom: 5rem;
}

/* --- Widget Card --- */

.widget {
  background: var(--bg-card, #f2f2f2);
  border-radius: 12px;
  padding: 1.25rem;
  overflow: hidden;
  min-width: 0;
}

.result-card {
  border: none;
  border-radius: 0;
  padding: 0.5rem 0;
  text-align: center;
}

.match-card-header {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.match-card-header strong {
  display: block;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.match-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}

.match-logos img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

/* UNUSED: .match-score and .match-score.upcoming are not in HTML (only .result-score exists)
.match-score {
  font-size: 2rem;
  letter-spacing: 0.05em;
}

.match-score.upcoming {
  color: var(--text-light);
} */

.result-score {
  font-size: 3rem;
  letter-spacing: 0.05em;
  margin: 0.5rem 0;
}

.match-teams {
  font-size: 0.95rem;
  text-transform: uppercase;
  margin: 0.75rem 0;
  line-height: 1.4;
}

/* Actions (Fanbus, Spielbericht, etc.) */

/* UNUSED: .match-actions removed – not in HTML (only .result-actions exists) */
.result-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

/* UNUSED: .match-action removed – not in HTML (only .result-action exists) */
.result-action {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast) var(--easing-standard);
}

/* UNUSED: .match-action:hover removed */
.result-action:hover {
  color: var(--text-primary);
}

/* UNUSED: .match-action svg removed */
.result-action svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Extra-Ergebnis (kompakte Zeile) */

.result-extra {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.75rem 0 0;
  margin-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

/* =========================================================
 * ERGEBNISSE WIDGET — Topspiel-Style Top Result
 * ========================================================= */

.result-top-card {
  background: var(--bg-top); border: none;
  border-radius: 6px; padding: 1rem; text-align: center;
  color: var(--text-menu);
}

.result-top-header {
  font-size: 0.75rem; color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem; line-height: 1.35;
}

.result-top-header strong {
  display: block;
  text-transform: uppercase; font-size: 1.15rem; color: var(--text-menu);
}

.result-top-logos {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto 1fr;
  justify-items: center;
  gap: 0 1rem;
  margin-bottom: 0.75rem;
}

.result-top-logos img { 
  height: auto;
  width: auto;
  object-fit: contain;
  align-self: center;
  max-width: 75px;
  max-height: 37px;
 }

.result-top-team-block {
  display: contents;
}

.result-top-team-block:first-child > img  { grid-column: 1; grid-row: 1; }
.result-top-team-block:first-child > .result-top-team-name { grid-column: 1; grid-row: 2; }
.result-top-team-block:last-child > img   { grid-column: 3; grid-row: 1; }
.result-top-team-block:last-child > .result-top-team-name  { grid-column: 3; grid-row: 2; }

.result-top-team-name {
  font-size: 0.75rem; text-transform: uppercase;
  text-align: center; line-height: 0.75rem;
  color: var(--text-menu);
  display: flex; align-items: center;
  padding-top: 0.4rem;
}

.result-top-score {
  font-size: 2rem; letter-spacing: 0.05em; color: #fff;
  flex-shrink: 0;
  grid-column: 2; grid-row: 1;
  align-self: center;
}

.result-top-actions {
  display: flex; justify-content: center; gap: 1.5rem;
  padding-top: 0.6rem; border-top: 1px solid rgba(255,255,255,0.25);
}

/* Result List (like match-row in Vorschau) */
.result-list {
  margin-top: 0.5rem;
  background: #fff;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  padding: 1rem;
}

.result-list-row {
  display: contents;
}

.result-list-row > * {
  padding: 0.6rem 0.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 1rem;
  text-align: center;
  align-self: center;
}

.result-list-row:first-child > * { border-top: none; }

.result-list-row .team-name { line-height: 1rem; color: var(--text-light); white-space: nowrap;}
.result-list-row .team-home { text-align: right; }
.result-list-row .team-away { text-align: left; }

.result-list-score {
  color: var(--text-light);
  font-weight: 400;
  font-size: 1rem; 
  color: var(--text-light);
  white-space: nowrap;
  min-width: 3.2em; text-align: center;
  line-height: 1rem;
  white-space: nowrap;
}

/* .result-list-score .score-home { font-weight: 700; color: var(--text-light); }
.result-list-score .score-away { font-weight: 400; } */

.result-list-row .team-away.hsg,
.result-list-row .team-home.hsg,
.result-list-score .hsg { 
  color: var(--text-primary);
}

/* HSG-Marker: eigene Mannschaft hervorheben */
.result-list-row .team-name.hsg { color: var(--text-primary); }

/* =========================================================
 * HSG-TABS — Arrow More Link
 * ========================================================= */

.hsg-tabs-more {
  display: flex; align-items: center; justify-content: center;
  margin-left: auto;
  flex-shrink: 0;
  padding: 0.25rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition-fast) var(--easing-smooth);
}

.hsg-tabs-more:hover { color: var(--text-primary); }

.hsg-tabs-more svg {
  width: 28px; height: 28px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--transition-fast) var(--easing-smooth);
}

.hsg-tabs-more:hover svg { transform: translateX(2px); }

/* =========================================================
 * TABS-WIDGET
 * ========================================================= */
.hsg-tabs-group {
  /* Layout-Stabilität ohne JS-Messung:
     Tabs-Zeile oben (auto), Panels darunter (1fr).
     Alle Panels liegen in derselben Grid-Zelle, die höchste bestimmt die Höhe. */
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
}
.hsg-tabs-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1rem;
  background: #fcfcfc;
  border-radius: 6px;
  padding: 3px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hsg-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.15rem;
  border-bottom: none;
  flex: 1;
  min-width: 0;
}
  /* Ausgeblendet — Titel ist jetzt als eigene widget-title über den Tabs */
/* .hsg-tabs-label {
  display: none;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  margin-right: 0.5rem;
  padding: 0.35rem 0.5rem;
  white-space: nowrap;
  border-bottom: none;
  margin-bottom: 0;
} */

.hsg-tab {
  padding: 0.35rem 0.4rem;
  border: none;
  border-bottom: none;
  border-radius: 3px;
  margin-bottom: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition-fast) var(--easing-standard),
              background var(--transition-fast) var(--easing-standard);
}

.hsg-tab:hover {
  color: var(--text-secondary);
}

.hsg-tab.active {
  color: var(--text-primary);
  background: var(--bg-card);
  border-bottom-color: transparent;
  /* box-shadow: 0 1px 3px rgba(0,0,0,0.1); */
}

.hsg-panels {
  /* Panel-Container ist die zweite Grid-Zeile der Gruppe */
  grid-row: 2;
  grid-column: 1;

  /* Panels werden übereinander gestapelt (keine vertikale Aufsummierung) */
  display: grid;
}

.hsg-panels > .hsg-panel {
  /* Alle Panels teilen sich dieselbe Zelle -> Höhe = Maximum, nicht Summe */
  grid-area: 1 / 1;

  /* Statt display:none: Panels bleiben im Layout (keine Height-Jumps),
     sind aber unsichtbar und nicht interaktiv. */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast) var(--easing-standard);
}

.hsg-panels > .hsg-panel.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.hsg-tabs-equalize .standings-table tbody tr {
  transition: height 0.15s ease;
}

.hsg-tabs-equalize .standings-table td {
  vertical-align: middle;
}

/* Tabelle */
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.standings-table thead {
  border-bottom: 1px solid var(--border-color);
}

.standings-table th {
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--text-light);
  padding: 0.5rem 0.25rem;
  text-align: left;
  white-space: nowrap;
}

.standings-table td {
  padding: 0.3rem 0.25rem;
  white-space: nowrap;
  font-weight: 400;
  color: var(--text-light);
}

/* Nur Vereinsname fett */
.standings-table .col-team {
  text-transform: uppercase;
  font-size: 1rem;
}

/* Spaltenbreiten & Ausrichtung */
.standings-table .col-rank { width: 1rem; }

.standings-table .col-games { width: 1rem; }

.standings-table .col-games,
.standings-table .col-goals,
.standings-table .col-points {
  text-align: center;
}

.standings-table .col-rank,
.standings-table .col-team,
.standings-table .col-games,
.standings-table .col-goals,
.standings-table .col-points,
.standings-table .col-diff {
  width: 1%;           /* so schmal wie möglich */
  white-space: nowrap; /* Text nicht umbrechen */
}

.standings-table .col-diff {
  text-align: right;
}
.standings-table th.col-games,
.standings-table th.col-goals,
.standings-table th.col-points {
  text-align: center;
}

.standings-table th.col-diff {
  text-align: right;
}

.standings-table td:nth-child(1) { text-align: left; }
.standings-table td:nth-child(3),
.standings-table td:nth-child(4),
.standings-table td:nth-child(5) { text-align: center; }
.standings-table td:nth-child(6) { text-align: right; }

/* Standings: Diff-Spalte auf Mobile ausblenden */
.standings-table .col-goals,
.standings-table .col-diff {
  display: none;
}

.standings-table tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.025);
}

.standings-table tr.hsg .col-team {
  color: var(--text-primary);
}

/* --- Terminkalender --- */

.calendar-card {
  border: none;
  border-radius: 6px;
  overflow: hidden;
}

.calendar-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0.75rem;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  transition: background-color var(--transition-fast) var(--easing-standard);
}

.calendar-item:last-child {
  border-bottom: none;
}

.calendar-item:hover {
  background: var(--bg-secondary);
}

.calendar-date {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  line-height: 1;
}

.calendar-date .weekday {
  grid-row: 1 / 3;
  grid-column: 1;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--text-light);
  opacity: 0.5;
  justify-self: center;
}

.calendar-date .day {
  grid-column: 2; grid-row: 1;
  font-size: 2.5rem; color: var(--text-secondary);
  text-align: center;
}

.calendar-date .date {
  grid-column: 2; grid-row: 2;
  font-size: 1.1rem; text-transform: uppercase;
  color: var(--text-light); text-align: center;
}

.calendar-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.calendar-info .event-title {
  font-size: 1.15rem;
  line-height: 1.15rem;
  text-transform: none;
  margin-bottom: 0.25rem;
  padding-right: 1.15rem;
}

.calendar-info .detail-item {
  display: flex; align-items: center; gap: 0.25rem;
  white-space: nowrap;
}

/* =========================================================
 * NEWS FILTER DROPDOWN
 * ========================================================= */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: none;
  margin-bottom: 1.5rem;
  position: relative;    /* NEU */
  min-height: 2.25rem;    /* NEU – entspricht der Button-Höhe */
}

.section-header .section-title {
  border-bottom: none;
  margin-bottom: 0;
}

/* --- Filter Toggle Button --- */

.news-filter-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: baseline;    /* gleiche Ausrichtung wie section-header */
  z-index: 100;
}

.news-filter-wrap.open {
  align-items: flex-start;  /* ab jetzt oben ausrichten, für Dropdown */
  flex-direction: column;
  align-items: flex-end;
  bottom: auto;
  box-shadow: none;
}

.news-filter-toggle {
  font-size: 1.1rem;
  text-transform: uppercase;
  padding: 0.5rem;
  background: transparent;
  color: var(--filter-light);
  border: 1.5px solid var(--filter-light);
  border-radius: 6px;
}

.news-filter-toggle:hover {
  background: var(--filter);
  color: var(--text-menu);
  border-color: var(--filter);
}

.news-filter-toggle.active {
  background: var(--filter);
  color: var(--text-menu);
  border-color: var(--filter);
}

/* Button im geöffneten Zustand: oberer Teil der Card */
.news-filter-wrap.open .news-filter-toggle {
  background: var(--filter);
  color: var(--text-menu);
  border-color: var(--filter);
  border-radius: 6px 6px 0 0;
  width: fit-content;
  margin-left: auto;
}

.news-filter-wrap.open .news-filter-toggle.active {
  background: var(--filter);
  color: var(--text-menu);
  border-color: var(--filter);
}

.news-filter-toggle svg {
  width: 13px;
  height: 13px;
  transition: transform var(--transition-fast) var(--easing-smooth);
  flex-shrink: 0;
  overflow: visible;
  fill: currentColor;
}

/* Outline-Icon: Standard sichtbar */
.news-filter-toggle .filter-icon-outline { display: inline-block; }
.news-filter-toggle .filter-icon-filled { display: none; }

/* Filled-Icon: sichtbar bei aktivem Filter */
.news-filter-toggle.active .filter-icon-outline { display: none; }
.news-filter-toggle.active .filter-icon-filled { display: inline-block; }

/* --- Dropdown Panel --- */

.news-filter-dropdown {
  width: 420px;
  background: var(--filter);
  border: none;
  border-radius: 6px 0 6px 6px;
  display: none;
  max-height: 520px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 0.5rem 0.5rem 0.5rem;
  box-shadow: var(--shadow-card);
}

.news-filter-dropdown.open {
  display: block;
  animation: filterDropIn 0.2s var(--easing-smooth);
}

@keyframes filterDropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* --- Header & Reset --- */

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem 0.25rem 1rem;
  /* border-bottom: 1px solid var(--border-color); */
}

/* Jede Zeile (standalone + group) als weiße Pill-Karte */
.filter-item.standalone,
.filter-group-header {
  background: var(--filter-inner);
  border-radius: 6px;
  margin-top: 0.4rem;
  padding: 0.65rem 0.85rem;
  border-bottom: none;
}

.filter-group-header {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition-fast);
  position: relative;
}
/* 
.filter-group-header:hover {
  background: #fafafa;
} */

/* Aktiv-Indikator: Pill mit Zahl aktiv/gesamt */
.filter-group-count {
  display: none;
  font-family: var(--font-plex);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 10px;
  background: var(--bg-primary);
  color: var(--filter);
  white-space: nowrap;
  margin-left: 0.3rem;
}

.filter-group.has-active-filters .filter-group-count {
  display: inline-block;
}

/* Aufgeklappte Sub-Items: ebenfalls weiß, leicht eingerückt */
.filter-group-items-inner {
  background: var(--filter-inner);
  border-radius: 0 0 6px 6px;
  margin-top: -0.35rem;
  padding-bottom: 0.3rem;
  min-height: 0;
}

/* Group-Header bekommt unteren Radius weg wenn expanded */
.filter-group.expanded .filter-group-header {
  border-radius: 6px 6px 0 0;
}

/* Statische Group (z.B. News): kein Dropdown, Pills direkt sichtbar */
.filter-group-static > .filter-pills-wrap {
  background: var(--filter-inner);
  border-radius: 6px;
  margin-top: 0.4rem;
  padding: 0.5rem;
}

.filter-header-title {
  color: var(--text-menu);
}

.filter-reset {
  opacity:0;
  background: none;
  border: none;
  font-family: var(--font-plex);
  font-size: 0.9rem;
  color: var(--text-menu);
  cursor: pointer;
  padding: 0;
  font-weight: 400;
  /* text-decoration: underline; */
  transition: color var(--transition-fast);
}

/* .filter-reset:hover {
  color: var(--text-primary);
} */

.filter-reset.active {
  opacity: 1;
  color: var(--text-menu);
}

.filter-reset.active:hover {
  color: var(--text-menu-light);
}

/* --- Custom Checkbox (hidden, pills handle state visually) --- */

.filter-group-cb,
.filter-sub-cb {
  display: none;
}

/* --- Filter Groups --- */

.filter-group:last-child {
  border-bottom: none;
}

.filter-group-label {
  font-size: 1.25rem;
  text-transform: uppercase;
  flex: 1;
}

.filter-group-arrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  padding: 0.5rem 0.5rem 0.5rem 1.2rem;
  margin: -0.65rem -0.85rem -0.65rem 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.filter-group-arrow {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition-fast) var(--easing-smooth);
  flex-shrink: 0;
  pointer-events: none;
}

.filter-group.expanded .filter-group-arrow {
  transform: rotate(180deg);
}

/* --- Collapsible Items --- */

.filter-group-items {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-normal) var(--easing-smooth);
  overflow: hidden;
}

.filter-group.expanded .filter-group-items {
  grid-template-rows: 1fr;
}

/* --- Pills Layout --- */

.filter-pills-section {
  padding: 0.3rem 0.5rem 0;
}

.filter-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0.5rem;
}

.filter-pills-sub-label {
  display: flex;
  align-items: center;
  padding: 0.45rem 0.75rem 0.15rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  cursor: pointer;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1.5px solid var(--filter);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast) var(--easing-standard);
  position: relative;
  user-select: none;
}

.filter-pill input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin: 0;
  top: 0;
  left: 0;
  z-index: 1;
}

.filter-pill-label {
  font-family: var(--font-plex);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--filter);
  white-space: nowrap;
  pointer-events: none;
  transition: color var(--transition-fast);
}

/* Pill aktiv */
.filter-pill.active {
  background: var(--bg-primary);
  border-color: var(--bg-primary);
}

.filter-pill.active .filter-pill-label {
  color: var(--filter);
}

/* Pill hover */
.filter-pill:hover {
  border-color: var(--text-primary);
}

.filter-pill:hover .filter-pill-label {
  color: var(--text-primary);
}

.filter-pill.active:hover {
  border-color: var(--bg-primary);
  opacity: 0.9;
}

.filter-pill.active:hover .filter-pill-label {
  color: var(--filter);
}

/* Standalone-Pill (z.B. "News") etwas prominenter */
.filter-pill.standalone {
  text-transform: uppercase;
}

.filter-pill.standalone .filter-pill-label {
  font-size: 0.95rem;
  text-transform: uppercase;
}

/* --- Hidden Cards & Empty State --- */

.news-card.hidden {
  display: none;
}

.news-card-link:has(.news-card.hidden) {
  display: none;
}

.news-empty {
  display: none;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
}

.news-empty.visible {
  display: block;
}

/* --- Mobile --- */

/* News Filter: Mobile default */
.news-filter-dropdown {
  width: calc(100vw - 2rem);
}

/* --- HSG Tabellen: Zeilenhöhe per CSS-Variable (gesetzt durch JS) --- */
/* Nur aktiv, wenn JS der Tabelle die Klasse .hsg-fill gibt. */
.hsg-tabs-group table.standings-table.hsg-fill tbody tr {
  height: var(--hsg-fill-rowh);
}

/* Sicherheit: Tabellen-Zellen bleiben vertikal zentriert; Mannschaft linksbündig */
.hsg-tabs-group table.standings-table th,
.hsg-tabs-group table.standings-table td {
  vertical-align: middle;
}

.hsg-tabs-group table.standings-table .col-team {
  text-align: left;
}

/* =========================================================
 * KALENDER-WIDGET (Termine & Vorschau kombiniert)
 * ========================================================= */

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
  /* margin-bottom: 0.5rem; */
}

.widget-header .widget-title {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* .widget-header .widget-title span — entfernt (Spans aufgeräumt) */

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding-bottom: 0;
  margin-bottom: 0;
  user-select: none;
}

.calendar-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  /* border-radius: 4px; */
  cursor: pointer;
  color: var(--text-light);
  transition: color var(--transition-fast) var(--easing-smooth),
              border-color var(--transition-fast) var(--easing-smooth),
              transform var(--transition-fast) var(--easing-smooth);
  flex-shrink: 0;
  padding: 0;
}

.calendar-nav-btn:hover:not(:disabled) { color: var(--text-primary); border-color: var(--text-secondary); }
.calendar-nav-btn:active:not(:disabled) { transform: scale(0.85); }
.calendar-nav-btn:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.calendar-nav-btn svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.calendar-week-label {
  font-size: 1.25rem;
  color: var(--text-light);
  text-align: left;
  white-space: nowrap;
  line-height: 1;
  transition: opacity var(--transition-fast) var(--easing-smooth);
  /* Eigene Zeile unter Header */
  display: block;
  /* margin-top: 0.5rem; */
  margin-bottom: 0.25rem;
  /* text-align: center; */
}

.calendar-week-label.fading { opacity: 0; }

.calendar-pages { position: relative; overflow: hidden; }

.calendar-page {
  transition: opacity var(--transition-normal) var(--easing-smooth),
              transform var(--transition-normal) var(--easing-smooth);
}

.calendar-page.slide-out-left {
  opacity: 0; transform: translateX(-20px);
  position: absolute; top: 0; left: 0; right: 0; pointer-events: none;
}

.calendar-page.slide-out-right {
  opacity: 0; transform: translateX(20px);
  position: absolute; top: 0; left: 0; right: 0; pointer-events: none;
}

.calendar-page.slide-in-left {
  animation: slideInLeft var(--transition-normal) var(--easing-smooth) forwards;
}

.calendar-page.slide-in-right {
  animation: slideInRight var(--transition-normal) var(--easing-smooth) forwards;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.calendar-pages .calendar-card {
  border-radius: 0 0 6px 6px;
  border-top: none;
}

.calendar-item[aria-controls] {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0.5rem;
  padding: 1.75rem 1rem 1rem 1rem;
  /* border-bottom: 1px solid var(--border-color); */
  cursor: pointer;
  user-select: none;
  transition: background-color var(--transition-fast) var(--easing-smooth);
  text-decoration: none;
  color: inherit;
  align-items: center;
  background: #fff;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  margin-top: 0.5rem;
  position: relative;
}

/* .calendar-item[aria-controls]:hover { background: var(--bg-secondary); } */
.calendar-item[aria-expanded="true"] { 
  background: #fff;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.calendar-info .event-details {
  font-size: 0.8rem; color: var(--text-light);
  display: flex; flex-wrap: wrap; align-items: center;
  line-height: 0.9rem;
  gap: 0.15rem 1.25rem;
}

.calendar-info .event-details .detail-item .icon {
  margin-right: 0rem;
}

.event-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.03em;
  padding: 0.15rem 0.45rem; border-radius: 3px;
  line-height: 1.3;
  z-index: 1;
}

.event-badge.spieltag { background: var(--text-primary); color: var(--bg-primary); }

.event-badge.verein {
  background: transparent; color: var(--text-light);
  border: 1px solid var(--border-color);
}

.calendar-arrow {
  width: 20px; height: 20px; flex-shrink: 0;
  transition: transform var(--transition-normal) var(--easing-smooth);
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 0.25rem;
  fill: none; stroke: var(--text-light); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.calendar-item[aria-expanded="true"] .calendar-arrow { transform: rotate(180deg); }

.calendar-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-normal) var(--easing-smooth);
  overflow: hidden;
  /* border-bottom: 1px solid var(--border-color); */
  background: #fff;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.calendar-panel.is-open { grid-template-rows: 1fr; }
.calendar-panel-inner { min-height: 0; overflow: hidden; }

.calendar-panel-content { 
  padding: 0 1rem 1rem 1rem; 
  background:#fff;
  /* border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px; */
  text-align: center;
}

.match-table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
}

.match-row td {
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  font-size: 1rem;
  vertical-align: middle;
}

.match-row:first-child td { border-top: none; }

.match-row .match-spacer {
  width: 50%;
}

.match-row .match-time {
    font-family: var(--font-plex);
    font-style: normal;
    /* font-size: 0.85rem; */
    color: var(--text-light);
    white-space: nowrap;
    text-align: right;
    padding-right: 0.75rem;
    width: 1%;
}

.match-row .match-vs {
  font-family: var(--font-plex);
  font-style: normal;
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 400;
  text-align: center;
  padding: 0 0.3rem;
  white-space: nowrap;
  width: 1%;
}

.match-row .match-team-home,
.match-row .match-team-away {
  white-space: nowrap;
  width: 1%;
}

.match-row .match-team-home {
  text-align: right;
}

.match-row .match-team-away {
  text-align: left;
}

/* .topspiel-label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-light); margin: 0.5rem 0 0.5rem 0;
  padding-top: 0.75rem; border-top: 2px solid var(--text-primary);
  display: flex; align-items: center; gap: 0.4rem;
} */

/* .topspiel-label::before { content: "★"; font-style: normal; color: var(--text-primary); } */

.topspiel-card {
  background: var(--bg-top); border: none;
  border-radius: 6px; padding: 1rem; text-align: center;
  color: var(--text-menu);
  margin-bottom: 0.5rem;
}

.topspiel-header { font-size: 0.75rem; margin-bottom: 0.75rem; line-height: 1.35; }

.topspiel-header strong {
  display: block;
  text-transform: uppercase; font-size: 1.25rem; color: var(--text-menu);
}

.topspiel-footer { font-size: 0.75rem; color: #fff; line-height: 1.35; }

.topspiel-footer strong {
  display: block;
  text-transform: uppercase; font-size: 1.15rem; color: var(--text-menu);
}

.topspiel-logos {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto 1fr;
  justify-items: center;
  gap: 0 1rem;
  margin-bottom: 0.75rem;
}
.topspiel-logos img {
    height: auto;
    width: auto;
    object-fit: contain;
    align-self: center;
    max-width: 75px;
    max-height: 37px;
}

.topspiel-logo-white {
  filter: brightness(0) invert(1);
}

.topspiel-team-block {
  display: contents;
}

.topspiel-team-block:first-child > img  { grid-column: 1; grid-row: 1; }
.topspiel-team-block:first-child > .topspiel-team-name { grid-column: 1; grid-row: 2; }
.topspiel-team-block:last-child > img   { grid-column: 3; grid-row: 1; }
.topspiel-team-block:last-child > .topspiel-team-name  { grid-column: 3; grid-row: 2; }

.topspiel-team-name {
  font-size: 0.75rem; text-transform: uppercase;
  text-align: center; line-height: 0.75rem;
  color: var(--text-menu);
  display: flex; align-items: center;
  padding-top: 0.4rem;
}

.topspiel-vs {
  font-size: 1.6rem; letter-spacing: 0.05em; color: rgba(255,255,255,0.75);
  flex-shrink: 0;
  grid-column: 2; grid-row: 1;
  align-self: center;
}

.topspiel-actions {
  display: flex; justify-content: center; gap: 1.5rem;
  padding-top: 0.6rem; border-top: 1px solid rgba(255,255,255,0.25);
}

.topspiel-action {
  display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.8rem; color:var(--text-menu);
  text-decoration: none; transition: color var(--transition-fast);
}

.topspiel-action:hover { color: var(--text-menu); }
.topspiel-action svg { width: 14px; height: 14px; fill: currentColor; }

.vereins-text { font-size: 0.85rem; line-height: 1.5; color: var(--text-secondary); margin-bottom: 0.75rem; }

.calendar-empty { padding: 2.5rem 1rem; text-align: center; color: var(--text-light); font-size: 0.9rem; }
.calendar-empty-icon { font-size: 3.5rem; margin-bottom: 0.5rem; opacity: 0.4; }

/* Match/Result mobile defaults */
.match-row .match-time,
.result-list-score {
  font-size: 0.75rem;
}
.match-row td,
.result-list-row > * {
  font-size: 0.85rem;
}

.result-list-row > * {
  padding: 0.6rem 0.25rem;
}

/* =========================================================
 * SIDEBAR WIDGETS: Social + Recruit
 * ========================================================= */

/* Fix: Sidebar/Widget overflow in mobile */
.widget { overflow: hidden; min-width: 0; }
.sidebar { min-width: 0; /* overflow: hidden entfernt — killt position:sticky */ }

/* --- Social Media Widget (runde Icons, nur Farbwechsel hover) --- */

.sidebar-social-links {
  display: flex;
  justify-content: center;
  gap: 0.875rem;
}

.sidebar-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #888;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.sidebar-social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.sidebar-social-icon.social-facebook:hover  { background: #1877F2; }
.sidebar-social-icon.social-instagram:hover { background: #E4405F; }
.sidebar-social-icon.social-snapchat:hover  { background: #FFFC00; color: #000; }
.sidebar-social-icon.social-youtube:hover   { background: #FF0000; }

/* --- Komm zur HSG / Recruit Questionnaire Widget --- */

.widget-social {
  background: var(--bg-card-alt, #333333);
  color: #fff;
  text-align: center;
}

.widget-recruit {
  background: var(--bg-card-alt, #333333);
  color: #fff;
  padding: 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.recruit-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.125rem;
  height: 3px;
}

.recruit-progress-bar {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.recruit-progress-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; height: 100%;
  background: #fff;
  border-radius: 3px;
  width: var(--progress, 33%);
  transition: width 0.3s ease;
}

.recruit-progress-label {
  display: none;
}

.recruit-header {
  text-align: center;
  margin-bottom: 0.25rem;
}

.recruit-title {
  /*
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em; */
  margin: 0;
}

.recruit-question {
  text-align: center;
  font-size: 14px;
  margin: 14px 0 18px;
}

.recruit-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recruit-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  color: #fff;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  width: 100%;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.recruit-option:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.32);
}

.recruit-option-svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex-shrink: 0;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* Buttons with icon: add left padding for the absolutely positioned SVG */
.recruit-option:has(.recruit-option-svg) {
  position: relative;
  padding-left: 52px;
}

.recruit-option-arrow {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.recruit-option-arrow svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition-fast) var(--easing-smooth); 
}

.recruit-option:hover .recruit-option-arrow svg {
  transform: translateX(3px);
}

/* Compact options: 2-column grid (Altersgruppen) */

.recruit-options-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.recruit-option-compact {
  justify-content: center;
  text-align: center;
  padding: 12px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.recruit-option-compact:hover {
  transform: none;
}

/* Back button */

.recruit-bottom-bar {
  display: flex;
  align-items: center;
  margin-top: 14px;
  min-height: 14px;
  position: relative;
}

.recruit-back {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.recruit-back.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.recruit-back svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.recruit-back:hover {
  color: rgba(255,255,255,0.7);
}

.recruit-bottom-text {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-family: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.recruit-bottom-text.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Result screen */

.recruit-result { text-align: center; }

.recruit-result-icon {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
  color: #fff;
}

.recruit-result-overtitle {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.recruit-result-heading {
  text-transform: none;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}

.recruit-result-teams {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 12px;
}

.recruit-result-team-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.recruit-result-team-btn:hover {
  background: rgba(255,255,255,0.18);
}

.recruit-result-team-btn svg {
  position: absolute;
  right: 16px;
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.recruit-result-team-btn:hover svg {
  opacity: 1;
  transform: translateX(3px);
}

.recruit-result-desc {
  font-size: 13px;
  line-height: 15px;
  margin: 0 0 16px;
}

.recruit-result-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.recruit-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #fff;
  color: var(--bg-menu, #333);
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  letter-spacing: 0.03em;
  cursor: pointer;
  font-family: inherit;
}

.recruit-btn-primary svg {
  width: 12px; height: 12px;
  stroke: currentColor; stroke-width: 2.5; fill: none;
}

.recruit-btn-primary:hover { background: #e0e0e0; }

.recruit-btn-secondary {
  padding: 10px 18px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.03em;
  font-family: inherit;
}

.recruit-btn-secondary:hover { background: rgba(255,255,255,0.18); }

/* Dead-end partner links */

.recruit-partner-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.recruit-partner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.15s ease;
}

.recruit-partner-link:hover { background: rgba(255,255,255,0.18); }

.recruit-partner-link svg {
  width: 12px; height: 12px;
  stroke: currentColor; stroke-width: 2.5; fill: none;
}

/* 481–900px: ALL question pages side-by-side, icons + text in one line */
@media (min-width: 481px) and (max-width: 900px) {
  .recruit-options {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .recruit-options > .recruit-option {
    flex: 1 1 calc(50% - 5px);
    width: auto;
    justify-content: center;
    padding: 14px 12px;
  }

  .recruit-options > .recruit-option .recruit-option-arrow {
    display: none;
  }

  /* Compact (Altersgruppen) behält Grid */
  .recruit-options.recruit-options-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

/* Confetti canvas — covers entire widget */

.recruit-confetti-canvas {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  z-index: 3;
}

.recruit-result {
  position: relative;
  z-index: 2;
}

.widget-title,
.section-title,
.recruit-title,
.footer-heading,
.topspiel-header strong,
.result-top-header strong,
.calendar-week-label {
  padding-top: 0;
  margin-top: -0.3em;
}

/* ============================================
   HIGHLIGHT BANNER – Mobile-First
   ============================================ */

.highlight-banner {
  grid-column: 1 / -1;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-card);
  margin-top: 1rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}

.highlight-banner-inner {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.highlight-banner-image {
  position: relative;
  width: 100%;
  min-height: 240px;
  max-height: 250px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.highlight-banner-image[data-align="left"]   { background-position: left center; }
.highlight-banner-image[data-align="center"] { background-position: center center; }
.highlight-banner-image[data-align="right"]  { background-position: right center; }

.highlight-banner-inner:has(.btn--outline-light:hover) .highlight-banner-image {
  transform: scale(1.04);
}

/* Dunkles Overlay für Textlesbarkeit (Mobile default) */
.highlight-banner-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.5s ease;
}

.highlight-banner-inner:has(.btn--outline-light:hover) .highlight-banner-image::after {
  background: rgba(0, 0, 0, 0.15);
}

.highlight-banner-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  max-width: 100%;
  text-align: center;
}

.highlight-banner-content h2 {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: 0.04em;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.highlight-banner-text {
  color: #fff;
  font-family: var(--font-plex);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  max-width: 520px;
}

/* ============================================
   INSTAGRAM FEED – Mobile-First (Slider Default)
   ============================================ */

.instagram-section {
  grid-column: 1 / -1;
  position: relative;
  padding: 3.5rem 0rem 3.5rem 1rem;
  overflow: hidden;
  background: linear-gradient(-45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
  clip-path: polygon(0% 4.4vw, 100% 0%, 100% 100%, 0% calc(100% - 4.4vw));
  margin-left: -1rem;
  margin-right: -1rem;
}

.instagram-section::before {
  display: none;
}

.instagram-inner {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Header */
.ig-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-right: 1rem;
}

.ig-section-title {
  color: #fff;
  margin: 0;
}

/* Mosaic Grid: hidden on mobile */
.ig-mosaic {
  display: none;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  border-radius: 12px;
  overflow: hidden;
}

.ig-mosaic-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  padding: 0.75rem 0.75rem 0.25rem 0.75rem;
  box-shadow: var(--shadow-card);
}

.ig-mosaic-item:first-child {
  grid-row: 1 / 3;
}

/* Image area */
.ig-mosaic-img {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 0;
  border-radius: 8px;
}

.ig-mosaic-img::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 14px 0 0 0;
  z-index: 1;
}

.ig-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-size: cover;
  background-position: center;
}

.ig-mosaic-item:not(:first-child) .ig-thumb {
  aspect-ratio: 1;
}

.ig-mosaic-item:first-child .ig-thumb {
  position: absolute;
  inset: 0;
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .ig-mosaic-item:hover .ig-thumb {
    transform: scale(1.05);
    transition: transform 0.4s ease;
  }

  .ig-mosaic-item:hover .ig-instagram-icon {
    opacity: 0.9;
  }

  .news-card {
    transition: transform var(--transition-fast) var(--easing-standard),
                box-shadow var(--transition-fast) var(--easing-standard);
  }

  .news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
  }

  .news-card-image img {
    transition: transform 0.3s ease;
  }

  .news-card:hover .news-card-image img {
    transform: scale(1.03);
  }
}

/* Instagram icon */
.ig-instagram-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  z-index: 2;
  transition: opacity 0.2s ease;
  opacity: 0.7;
}

.ig-post-channel {
  font-family: var(--font-plex);
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.ig-mosaic-item:first-child .ig-post-channel {
  font-size: 0.78rem;
}

.ig-post-info {
  padding: 0.55rem 0.65rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ig-mosaic-item:first-child .ig-post-info {
  padding: 0.75rem 0.85rem;
  gap: 0.4rem;
}

.ig-post-text {
  font-family: var(--font-plex);
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ig-mosaic-item:first-child .ig-post-text {
  -webkit-line-clamp: 3;
}

.ig-post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-plex);
  font-size: 0.8rem;
  color: var(--text-light);
}

.ig-mosaic-item:first-child .ig-post-meta {
  font-size: 0.85rem;
}

.ig-post-stat {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.ig-post-stat svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
  flex-shrink: 0;
}

.ig-post-stat.likes svg {
  fill: #DD2A7B;
}

.ig-post-date {
  margin-left: auto;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.ig-post-date svg.icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* CTA Buttons */
.ig-cta-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
  max-width: none;
  padding-right: 1rem;
}

/* Neue .btn im ig-cta-row: volle Breite auf Mobile, flex auf Desktop */
.ig-cta-row .btn {
  flex: 1;
  width: 100%;
  margin-top: 0;
}

/* Neue .btn im ig-cta-row: volle Breite auf Mobile, flex-grow auf Desktop */
.ig-cta-row .btn {
  flex: 1;
  margin-top: 0;
  width: 100%;
}

/* Slider: sichtbar auf Mobile (Default) */
.ig-slider {
  display: block;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 1.5rem), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 1.5rem), transparent);
}

.ig-slider-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 1rem 1rem 0;
  scrollbar-width: none;
}

.ig-slider-track::-webkit-scrollbar {
  display: none;
}

.ig-slider-item {
  flex: 0 0 80%;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.75rem 0.25rem 0.75rem;
}

.ig-slider-item .ig-mosaic-img {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
}

.ig-slider-item .ig-thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ig-slider-item .ig-instagram-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  z-index: 2;
  opacity: 0.7;
}

/* =========================================================
 * BILDERGALERIE – Mobile-First (Slider Default)
 * ========================================================= */

.gallery-section {
  grid-column: 1 / -1;
  position: relative;
  padding: 3rem 0 2rem;
}

.gallery-inner {
  position: relative;
  z-index: 1;
}

.gallery-header {
  margin-bottom: 1.5rem;
}

.gallery-title {
  margin: 0 0 0.25rem 0;
  text-align: center;
}

/* Editorial Grid: hidden on mobile */
.gallery-grid {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 8px;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  box-shadow: var(--shadow-card);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .gallery-item:hover img {
    transform: scale(1.05);
    transition: transform 0.4s ease;
  }

  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }
}

/* Grid-Platzierungen */
.gallery-item-0 { grid-column: 1 / 3; grid-row: 1 / 2; }
.gallery-item-1 { grid-column: 3 / 4; grid-row: 1 / 2; }
.gallery-item-2 { grid-column: 4 / 5; grid-row: 1 / 2; }
.gallery-item-3 { grid-column: 1 / 2; grid-row: 2 / 3; }
.gallery-item-4 { grid-column: 2 / 3; grid-row: 2 / 3; }
.gallery-item-5 { grid-column: 3 / 5; grid-row: 2 / 3; }

/* Kategorie-Pill */
.gallery-pill {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 3;
  font-family: var(--font-plex);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  line-height: 1.4;
}

.gallery-count {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-plex);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.gallery-count .icon {
  width: 1rem;
  height: 1rem;
  fill: #fff;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-overlay-visible {
  opacity: 1;
}

.gallery-caption {
  font-size: 0.85rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Slider: sichtbar auf Mobile (Default) */
.gallery-slider {
  display: block;
  position: relative;
  width: calc(100% + 1rem);
  max-width: calc(100vw - 1rem);
}

.gallery-slider::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 1rem;
  width: 1.5rem;
  background: linear-gradient(to right, transparent, #fff);
  z-index: 2;
  pointer-events: none;
}

.gallery-slider-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 1rem 1rem 0;
  scrollbar-width: none;
  max-width: 100%;
}

.gallery-slider-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 80%;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  display: block;
  text-decoration: none;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* Recruit widget: Mobile default */
.widget-recruit { padding: 1.25rem 1rem; }

/* ===========================================================
 * MEDIA QUERIES — Mobile-First (min-width aufsteigend)
 * ===========================================================
 *
 * Breakpoint-System:
 *   Base (kein MQ):  < 480px  — Mobile Default
 *   min-width: 481px          — Larger phones
 *   min-width: 768px          — Tablet
 *   min-width: 900px          — Desktop Nav-Breakpoint
 *   min-width: 1024px         — Desktop
 *   min-width: 1280px         — Large Desktop
 *   min-width: 1600px         — XL Desktop
 *
 * Preference-Queries am Ende.
 * =========================================================== */

/* -----------------------------------------------------------
 * min-width: 481px — Larger Phones
 * --------------------------------------------------------- */
@media (min-width: 481px) {
  .news-list {
    align-items: center;
  }

  .news-card {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    max-width: 500px;
    width: 100%;
  }

  /* Button bündig mit der Card */
  #news-load-more {
    max-width: 500px;
    width: 100%;
  }

  .news-card-body {
    margin-left: 0;
  }

  .news-headline {
    font-size: 1.25rem;
    line-height: 1.25rem;
  }

  .sponsor-main .sponsor-item {
    width: 170px;
  }

  .sponsor-grid .sponsor-item,
  .sponsor-item {
    width: 110px;
  }

  .sponsor-ticker-track {
    gap: 2.5rem;
  }

  .match-row .match-time {
    font-size: 0.85rem;
  }
  .result-list-score {
    font-size: 1rem;
  }
  .match-row td {
    font-size: 1rem;
    padding: 1rem 0;
  }
  .result-list-row > * {
    font-size: 1rem;
    padding: 0.6rem 0.5rem;
  }

  /* Standings: Diff-Spalte wieder zeigen */
  .standings-table .col-goals,
  .standings-table .col-diff {
    display: table-cell;
  }

  /* Gallery: kein margin-right mehr */
  .gallery-section {
    margin-right: 0;
  }

  .gallery-header {
    padding-right: 0;
  }

  .news-filter-dropdown {
    width: 420px;
  }
}

/* -----------------------------------------------------------
 * min-width: 768px — Tablet
 * --------------------------------------------------------- */
@media (min-width: 768px) {
  .hero {
    height: 500px;
  }

  .hero-content {
    padding: 2rem;
  }

  .hero-meta {
    margin-top: 1.5rem;
    font-size: 1rem;
    gap: 0.5rem 1.5rem;
  }

  .news-meta .author {
    display: inline-flex;
  }

  .footer-links li.onlydesktop {
    display: contents;
  }

  /* Cookie Banner: Desktop-Sizing */
  .cookie-category {
    padding: 1rem;
  }

  .cookie-banner-content {
    padding: 2rem;
    max-height: 90vh;
  }

  .cookie-banner h2 {
    font-size: 1.75rem;
  }

  .cookie-banner-logo {
    height: 40px;
  }

  .cookie-actions {
    flex-direction: row;
  }

  .cookie-btn,
  .cookie-actions .btn {
    width: auto;
    min-width: 120px;
  }

  .cookie-banner p {
    line-height: 1.2;
    font-size: inherit;
  }

  .cookie-details li {
    line-height: 1.5;
    font-size: inherit;
  }

  /* mmenu drawer: Content nicht mehr volle Breite, Container bleibt 100% für Blur-Overlay */
  .mm-ocd__content {
    width: var(--mm-ocd-width) !important;
    max-width: var(--mm-ocd-max-width) !important;
    min-width: var(--mm-ocd-min-width) !important;
  }
  .mm-ocd__backdrop {
    display: block !important;
  }

  /* Sponsor: Ticker → Grid */
  .sponsors {
    padding: 3.5rem 0;
  }

  .sponsors-inner {
    padding: 0 2rem;
    gap: 2.5rem;
  }

  .sponsors-divider {
    width: 100%;
    margin: 0;
  }

  .sponsor-main {
    padding: 0;
  }

  .sponsor-main .sponsor-item {
    width: 220px;
  }

  .sponsor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2.5rem;
    max-width: 900px;
    width: 100%;
    margin: 0;
    overflow: visible;
    padding: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .sponsor-ticker-track {
    display: contents;
  }

  /* Klone auf Desktop ausblenden */
  .sponsor-ticker-track .sponsor-item[aria-hidden="true"] {
    display: none;
  }

  .sponsor-grid .sponsor-item,
  .sponsor-item {
    width: 150px;
    flex: initial;
  }

  .highlight-banner-image {
    min-height: 340px;
    max-height: none;
  }

}

/* -----------------------------------------------------------
 * min-width: 769px — Tablet Footer
 * --------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1024px) {
  .news-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
  }

  .news-card {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    max-width: none;
    height: 100%;
  }

  .news-card-body {
    margin-left: 0;
  }

  .footer-grid {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 2rem 2rem;
  }

  .footer-logo {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
    height: auto;
    max-width: none;
  }

  .footer-logo .social-links {
    justify-content: center;
    margin-top: 1.5rem;
  }

  /* Footer: Accordion deaktivieren */
  .footer-section {
    border-top: none;
    padding-top: 0;
  }

  .footer-heading {
    cursor: default;
    padding: 0;
    margin: 0 0 1rem 0;
  }

  .footer-arrow {
    display: none;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .footer-links > ul {
    margin-top: auto;
  }

  /* Instagram: Mosaic statt Slider */
  .instagram-section {
    padding: 4rem 0;
    margin-bottom: 2rem;
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
    background: none;
    clip-path: none;
  }

  .instagram-section::before {
    display: block;
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    top: 0;
    bottom: 0;
    background: linear-gradient(-45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    z-index: 0;
    pointer-events: none;
    clip-path: polygon(0% 4.4vw, 100% 0%, 100% 100%, 0% calc(100% - 4.4vw));
  }

  .ig-header {
    padding-right: 0;
  }

  .ig-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 8px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .ig-mosaic-item:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .ig-mosaic-item:first-child .ig-mosaic-img {
    aspect-ratio: 1;
  }

  .ig-mosaic-item:first-child .ig-thumb {
    position: absolute;
    inset: 0;
  }

  .ig-mosaic-item:not(:first-child) .ig-thumb {
    aspect-ratio: 1;
  }

  .ig-slider {
    display: none;
  }

  .ig-cta-row {
    flex-direction: column;
    align-items: stretch;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 0;
  }

  /* Gallery: Grid statt Slider */
  .gallery-section {
    margin-right: 0;
  }

  .gallery-header {
    padding-right: 0;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 200px 200px 200px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .gallery-title {
    text-align: center;
  }

  .gallery-item-0 { grid-column: 1 / -1; grid-row: 1; }
  .gallery-item-1 { grid-column: 1; grid-row: 2; }
  .gallery-item-2 { grid-column: 2; grid-row: 2; }
  .gallery-item-3 { grid-column: 1; grid-row: 3; }
  .gallery-item-4 { grid-column: 2; grid-row: 3; }
  .gallery-item-5 { display: none; }

  .gallery-slider {
    display: none;
  }

  /* Neue .btn im gallery-inner: bündig mit dem Grid */
  .gallery-inner .btn {
    max-width: 500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* -----------------------------------------------------------
 * min-width: 900px — Desktop Nav
 * --------------------------------------------------------- */
@media (min-width: 900px) {
  .hero {
    height: 600px;
  }

  /* Desktop: Mobile-Nav verstecken */
  .mobile-nav-menu,
  .mobile-nav-menu.visible,
  .mobile-nav-menu.sticky {
    display: none;
  }

  /* Desktop-Menü einblenden */
  .menu {
    display: flex;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
  }

  .logo-desktop {
    display: flex;
  }

  .search-desktop-item {
    display: block;
  }

  .onlydesktop {
    display: block;
  }

  svg.exit-path {
    display: block !important;
  }

  .safari-glass-fix {
    display: none;
  }

  /* Topbar: Desktop-Defaults */
  .topbar {
    padding: 0.5rem 0;
  }

  .topbar nav {
    justify-content: flex-end;
    padding: 0 2rem;
  }

  /* Hintergrund-Erweiterung über volle Viewport-Breite */
  .menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    right: 50%;
    bottom: 0;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--bg-menu);
    z-index: -1;
  }

  .main-nav::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 100px;
    background: inherit;
    pointer-events: none;
  }

  /* Desktop-Suche */
  .search-desktop-item {
    margin-left: auto;
    display: flex;
    align-items: center;
    padding-right: 0 !important;
  }

  .search-desktop-trigger {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 60px;
    cursor: pointer;
  }

  .search-desktop-trigger svg {
    width: 40px;
    height: 40px;
    fill: white;
    transition: transform var(--transition-hamburger) var(--easing-smooth);
    -webkit-transform: translateZ(0);
  }

  .search-desktop-trigger svg path {
    fill: none;
    stroke: white;
    stroke-width: calc(var(--icon-stroke-width) * 40 / 70);
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-box: fill-box;
    transform-origin: center;
    vector-effect: non-scaling-stroke;
  }

  .search-desktop-trigger svg path:nth-of-type(1) {
    transform-origin: 25px 15px;
    transform: scale(0.5);
    transition: transform var(--transition-hamburger) var(--easing-smooth);
  }

  .search-desktop-trigger.active svg path:nth-of-type(1) {
    transform: scale(1);
  }

  .search-desktop-trigger svg path:nth-of-type(2),
  .search-desktop-trigger svg path:nth-of-type(3) {
    transition: transform var(--transition-hamburger) var(--easing-smooth);
  }

  .search-desktop-trigger svg path:nth-of-type(2) {
    transform: translateY(13px) translateX(10px) rotate(102.5deg) scale(0.5);
  }

  .search-desktop-trigger svg path:nth-of-type(3) {
    transform: translateY(13px) translateX(10px) rotate(12.5deg) scale(0.5);
  }

  .search-desktop-trigger.active svg {
    transform: rotate(180deg);
  }

  .search-desktop-trigger.active svg path:nth-of-type(2),
  .search-desktop-trigger.active svg path:nth-of-type(3) {
    transform: rotate(0deg);
  }

  /* Desktop Such-Drawer */
  .mm-ocd.search-drawer {
    --mm-ocd-max-width: none;
    --mm-ocd-width: 100vw;
    max-width: none !important;
    width: 100% !important;
    right: 0 !important;
  }
  .mm-ocd.search-drawer .mm-ocd__content {
    max-width: none;
    width: 100%;
    padding-top: 2rem;
  }

  /* Desktop Menü-Dimming bei offener Suche */
  .menu.search-active > li:not(.search-desktop-item),
  .menu.search-active > li:not(.search-desktop-item) > a,
  .menu.search-active > li:not(.search-desktop-item) > span,
  .menu.search-active > .logo-desktop {
    transition: opacity var(--transition-normal) var(--easing-smooth);
    transform: translateZ(0);
    will-change: opacity;
  }

  .menu.search-active > li:not(.search-desktop-item),
  .menu.search-active > li:not(.search-desktop-item) > a,
  .menu.search-active > li:not(.search-desktop-item) > span,
  .menu.search-active > .logo-desktop,
  .menu.search-active > li:not(.search-desktop-item):hover,
  .menu.search-active > li:not(.search-desktop-item):hover > a,
  .menu.search-active > li:not(.search-desktop-item):hover > span,
  .menu.search-active > .logo-desktop:hover {
    opacity: 0.5;
  }

  .menu.search-active > .search-desktop-item {
    opacity: 1 !important;
  }

  .menu.search-active > li:not(.logo-desktop):not(.search-desktop-item):hover {
    background-color: transparent;
  }

  /* Scroll-to-Top: Desktop-Sizing */
  .scroll-to-top {
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
  }

  .scroll-to-top svg {
    width: 24px;
    height: 24px;
  }

  /* Footer: Desktop-Layout */
  .footer {
    padding: 1rem 0 0;
  }

  .footer-section {
    border-top: none;
    padding-top: 0;
    height: 100%;
  }

  .footer-heading {
    cursor: default;
    padding: 0;
    margin: 0 0 1rem 0;
  }

  .footer-arrow {
    display: none;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: visible;
  }

  .footer-links > ul {
    margin-top: auto;
  }
  .footer-links li.onlydesktop {
    display: contents;
    list-style: none;
    height: 0;
    margin: 0;
    padding: 0;
    line-height: 0;
  }

  .footer-bottom-inner {
    padding: 0 2rem;
  }

  .social-links {
    gap: 0.5rem;
    margin-top: auto;
    justify-content: flex-start;
  }

  .social-links a {
    width: 35px;
    height: 35px;
  }

  .news-meta .author {
    display: inline-flex;
  }

  /* Highlight Banner: Desktop text positioning */

  .highlight-banner-image {
    min-height: 340px;
    max-height: none;
  }

  .highlight-banner-image::after {
    display: none;
  }

  .highlight-banner-content {
    max-width: 50%;
    align-items: flex-start;
    text-align: left;
    padding: 40px;
  }

  .highlight-banner-content[data-align="left"] {
    max-width: 50%;
    align-items: flex-start;
    text-align: left;
  }

  .highlight-banner-content[data-align="right"] {
    max-width: 50%;
    margin-left:50%;
    align-items: flex-start;
    text-align: left;
  }

  .highlight-banner-content[data-align="center"] {
    max-width: 50%;
    margin-left: 25%;
    margin-right: 25%;
    align-items: center;
    text-align: center;
  }

  /* Recruit: Desktop padding */
  .widget-recruit { padding: 1.5rem 1.25rem; }

  /* Recruit: deaktiviere side-by-side */
  .recruit-options {
    flex-direction: column;
    gap: 10px;
  }

  .recruit-options > .recruit-option {
    flex: initial;
    width: 100%;
    justify-content: flex-start;
  }

  .recruit-options > .recruit-option .recruit-option-arrow {
    display: flex;
  }


  .news-load-more {
    width: 50%;
  }
}

@media (min-width: 900px) and (max-width: 1024px) {
  .menu > li > a,
  .menu > li > span {
    font-size: 1.35rem;
  }
  .tabs {
    width: 200px;
    font-size: 1.15rem;
  }

  /* Mega Menu Tabs small desktop */
  .tabs {
    font-size: 1.5rem;
  }
  .mega-links-col:last-child {
    padding-right: 2rem;
  }
  .mega-links.sponsoren img {
    max-width: 165px;
  }
  .mega-links.sponsoren .mega-links-col:nth-child(3) ul {
    gap: 0.5rem 1.5rem;
  }
  .tab-item .mega-heading-btn,
  .mega-links-col .mega-heading-btn {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    margin-top: 0.5rem;
  }
  .mega-links-col li,
  .tab-item li {
    font-size: 0.85rem;
    margin: 0.15rem 0 0.15em 0.85rem;
  }
  .tab-link {
    line-height: 22px;
  }
  .tab-pane .big-text {
    opacity: 0;
  }
  .tab-item .mega-heading-btn svg,
  .mega-links-col .mega-heading-btn svg {
    width: 20px;
    height: 20px;
  }

  /* Standings: Diff-Spalte ausblenden */
  .standings-table .col-goals,
  .standings-table .col-diff {
    display: table-cell;
  }

  .news-meta .author {
    display: none;
  }
}

/* -----------------------------------------------------------
 * min-width: 1025px — Desktop
 * --------------------------------------------------------- */
@media (min-width: 1025px) {
  .news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .news-card {
    grid-template-columns: 200px 1fr;
    gap: 0;
    max-width: none;
    width: auto;
  }

  /* btn--75 übernimmt ab hier (75% zentriert) */
  #news-load-more {
    max-width: none;
    width: 75%;
  }

  .news-card-body {
    margin-left: 1rem;
  }

  .news-card-text-link {
    margin-bottom: 0;
  }

  .page-content {
    grid-template-columns: 1fr 420px;
    --page-gap: 1rem;
    gap: var(--page-gap);
    padding: 2rem;
  }

  .sidebar {
    position: sticky;
    top: 80px;
  }

  .sidebar .widget {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .sidebar-backdrop::before {
    display: none;
  }

  .news-column {
    margin-bottom: 0;
  }

  /* Instagram: Mosaic statt Slider */
  .instagram-section {
    padding: 6rem 0;
    margin-bottom: 2rem;
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
    background: none;
    clip-path: none;
  }

  .instagram-section::before {
    display: block;
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    top: 0;
    bottom: 0;
    background: linear-gradient(-45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    z-index: 0;
    pointer-events: none;
    clip-path: polygon(0% 4.4vw, 100% 0%, 100% 100%, 0% calc(100% - 4.4vw));
  }

  .ig-header {
    padding-right: 0;
  }

  .ig-mosaic {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    max-width: none;
  }

  .ig-mosaic-item:first-child {
    grid-row: 1 / 3;
    grid-column: 1;
  }

  .ig-mosaic-item:first-child .ig-mosaic-img {
    aspect-ratio: auto;
    height: 100%;
  }

  .ig-mosaic-item:first-child .ig-thumb {
    position: absolute;
    inset: 0;
  }

  .ig-mosaic-item:not(:first-child) .ig-thumb {
    aspect-ratio: 1;
  }

  .ig-slider {
    display: none;
  }

  .ig-cta-row {
    flex-direction: row;
    max-width: none;
    padding-right: 0;
  }

  .ig-cta-row .btn {
    width: auto;
  }

  /* Gallery: Grid statt Slider */
  .gallery-section {
    margin-right: 0;
  }

  .gallery-header {
    padding-right: 0;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 200px 200px;
    max-width: none;
  }

  .gallery-title {
    text-align: left;
  }

  .gallery-item-0 { grid-column: 1 / 3; grid-row: 1 / 2; }
  .gallery-item-1 { grid-column: 3 / 4; grid-row: 1 / 2; }
  .gallery-item-2 { grid-column: 4 / 5; grid-row: 1 / 2; }
  .gallery-item-3 { grid-column: 1 / 2; grid-row: 2 / 3; }
  .gallery-item-4 { grid-column: 2 / 3; grid-row: 2 / 3; }
  .gallery-item-5 { display: block; grid-column: 3 / 5; grid-row: 2 / 3; }

  .gallery-slider {
    display: none;
  }

  .gallery-inner .btn {
    max-width: none;
    width: 100%;
  }

  .news-headline {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  .news-teaser {
    font-size: 0.9rem;
    line-height: 1.15rem;
  }

  /* Standings: Diff-Spalte zeigen */
  .standings-table .col-goals,
  .standings-table .col-diff {
    display: table-cell;
  }

  /* Social links: Desktop-Sizing */
  .social-links a {
    width: 35px;
    height: 35px;
  }

  .social-links {
    gap: 0.5rem;
  }

  .footer-grid {
    grid-template-columns: auto auto auto auto;
    justify-content: space-between;
    gap: 4rem;
    padding: 0 2rem 2rem;
    align-items: stretch;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .tabs {
    font-size: 1.6rem;
  }
  .mega-links.sponsoren .mega-links-col:nth-child(3) ul {
    gap: 0.5rem 1.5rem;
  }
  .mega-links.sponsoren img {
    max-width: 200px;
  }
  .tab-item .mega-heading-btn,
  .mega-links-col .mega-heading-btn {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    margin-top: 1rem;
  }
  .mega-links-col li,
  .tab-item li {
    font-size: 0.9rem;
  }
  .tab-link {
    line-height: 29px;
  }
  .tab-item .mega-heading-btn svg,
  .mega-links-col .mega-heading-btn svg {
    width: 24px;
    height: 24px;
  }
  .tab-pane .big-text {
    font-size: 3.5rem;
  }
}

/* -----------------------------------------------------------
 * min-width: 1280px — Large Desktop
 * --------------------------------------------------------- */
@media (min-width: 1280px) {
  .hero {
    height: 700px;
  }

  .news-card {
    grid-template-columns: 320px 1fr;
  }

  .news-headline {
    font-size: 2rem;
    line-height: 2rem;
  }

  .sponsor-main .sponsor-item { width: 320px; }
  .sponsor-grid .sponsor-item,
  .sponsor-item { width: 200px; }

  /* Gallery: Volles 4-Spalten-Grid */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 240px 240px;
    max-width: none;
  }




  /* Instagram: Volles 3-Spalten-Mosaic */
  .ig-mosaic {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    max-width: none;
  }


  .ig-cta-row {
    flex-direction: row;
    max-width: none;
  }


  /* Standings: Diff-Spalte zeigen */
  .standings-table .col-goals,
  .standings-table .col-diff {
    display: table-cell;
  }
}

@media (min-width: 1280px) and (max-width: 1600px) {
  .topbar nav {
    padding: 0 4rem;
  }
  .main-nav {
    padding: 0 2rem;
  }
  .hero-content {
    padding: 2rem 4rem;
  }
  .page-content {
    padding: 2rem 4rem;
  }
  .footer-grid {
    padding: 0 4rem 2rem;
  }

  .menu > li > a,
  .menu > li > span {
    font-size: 1.75rem;
  }
  .tabs {
    width: 250px;
    font-size: 1.5rem;
  }
  .tab-item .mega-heading-btn,
  .mega-links-col .mega-heading-btn {
    margin-bottom: 0.25rem;
    margin-top: 1rem;
  }
  .tab-link {
    line-height: 40px;
  }
}

/* -----------------------------------------------------------
 * min-width: 1600px — XL Desktop
 * --------------------------------------------------------- */
@media (min-width: 1600px) {
  .hero {
    height: 900px;
  }

  .menu > li > a,
  .menu > li > span {
    font-size: 2rem;
  }
  .tabs {
    width: 300px;
    font-size: 2rem;
  }

  .mega-links-col:last-child {
    padding-right: 0;
  }

  .news-headline {
    font-size: 2.5rem;
    line-height: 2.5rem;
  }
  .news-teaser {
    font-size: 1.15rem;
    line-height: 1.35rem;
  }
}

/* -----------------------------------------------------------
 * ACCESSIBILITY / PREFERENCES
 * --------------------------------------------------------- */

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

  .hamburger-container svg,
  .hamburger-container path,
  .search-container svg,
  .search-container path {
    transition: none !important;
  }

  .mobile-nav-menu {
    transition: none !important;
  }

  .footer-arrow,
  .footer-links {
    transition: none !important;
  }

  .scroll-to-top {
    transition: none !important;
  }

  .cookie-toggle-slider,
  .cookie-toggle-slider:before,
  .cookie-details-toggle svg {
    transition: none !important;
  }

  .hero-image {
    will-change: auto;
  }

  .sponsor-item img { transition: none !important; }

  .calendar-arrow, .calendar-panel, .calendar-page,
  .calendar-week-label, .calendar-nav-btn {
    transition: none !important;
    animation: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .mm-blur-overlay.active {
    background-color: rgba(197, 197, 197, 0.85);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --theme-color: #333333;
    --topbar: #9f9f9f;
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --bg-card: #252525;
    --bg-menu: #000000;
    --bg-megamenu: #2a2a2a;
    --bg-tab-active: #3a3a3a;
    --bg-footer: #000000;

    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-light: #606060;
    --text-menu: #ffffff;

    --border-color: #3a3a3a;
    --shadow-color: rgba(0, 0, 0, 0.5);
  }

  .cookie-banner-logo {
    filter: brightness(0) invert(1);
  }

  .external-content-blocked {
    border-color: #555;
  }
}

/* ============================================================
   BTN SYSTEM — v1.2
   Basis: .btn | Varianten: --dark --light --outline-light --outline-dark
   Größen: --sm --default --lg
   Layout: spread = default | .btn--center = Text optisch zentriert, Icon rechts
   Breite: --full --half
   Icons: .btn__icon--right .btn__icon--down
   ============================================================ */

/* --- Basis (Default: spread — Text links, Icon rechts) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  font-family: var(--font-akko);
  font-weight: 700;
  font-style: italic;
  font-size: 1.25rem;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  margin-top: 1rem;
  transition:
    background-color var(--transition-fast) var(--easing-smooth),
    color var(--transition-fast) var(--easing-smooth),
    border-color var(--transition-fast) var(--easing-smooth);
}

.btn:active { transform: scale(0.97); }

/* --- Layout: Text optisch zentriert, Icon direkt rechts daneben --- */
.btn--center {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}
.btn--center > span {
  grid-column: 2;
  text-align: center;
}
.btn--center > svg,
.btn--center > .btn__icon--right,
.btn--center > .btn__icon--down {
  grid-column: 3;
  justify-self: start;
  margin-left: 0.4rem;
}

/* --- Variante 1: Dunkel → transparent on hover --- */
.btn--dark {
  background: var(--bg-card-alt);
  color: var(--text-menu);
  border-color: var(--bg-card-alt);
}
.btn--dark:hover {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

/* --- Variante 2: Weiß/Hell → transparent on hover --- */
.btn--light {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: transparent;
}
.btn--light:hover {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

/* --- Variante 2b: Opac → weißer Hintergrund 35% opacity on hover --- */
.btn--opac {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: transparent;
}
.btn--opac:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
  border-color: transparent;
}

/* --- Variante 3: Outline Weiß (auf dunklem Grund) → weiß filled on hover --- */
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn--outline-light:hover {
  background: #fff;
  color: var(--bg-menu);
  border-color: #fff;
}

/* --- Variante 4: Outline Dunkel → dunkel filled on hover --- */
.btn--outline-dark {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}
.btn--outline-dark:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

/* --- Größen --- */
.btn--sm {
  font-size: 1rem;
  padding: 0.35rem 0.7rem;
}
.btn--lg {
  font-size: 1.5rem;
  padding: 0.8rem 1.6rem;
}

.btn--lowercase {
  text-transform: none;
}

/* --- Breite --- */
.btn--100 { width: 100%; }
.btn--50 { width: 50%; margin-left: auto; margin-right: auto; display: flex; }
.btn--75 { width: 75%; margin-left: auto; margin-right: auto; display: flex; }
.btn--50.btn--center,
.btn--75.btn--center { display: grid; }

/* --- Icons --- */
.btn svg,
.btn .btn__icon--right,
.btn .btn__icon--down {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform var(--transition-fast) var(--easing-smooth);
}
.btn--sm svg,
.btn--sm .btn__icon--right,
.btn--sm .btn__icon--down { width: 20px; height: 20px; }
.btn--lg svg,
.btn--lg .btn__icon--right,
.btn--lg .btn__icon--down { width: 28px; height: 28px; }

.btn:hover .btn__icon--right { transform: translateX(3px); }
.btn:hover .btn__icon--down  { transform: translateY(3px); }

/* === Newsticker === */
.news-ticker {
  display: none; /* JS blendet ein wenn nötig */
  background: #d20202;
  color: #fff;
  align-items: stretch;
  height: 38px;
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.25s ease;
  opacity: 1;
}
.news-ticker.visible {
  display: flex;
}
.news-ticker.hidden {
  display: flex; /* weich ausblenden */
  height: 0;
  opacity: 0;
}
.ticker-label {
  background: rgba(0,0,0,0.22);
  padding: 0 12px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: #fff;
}
.ticker-label svg {
  fill: #fff;
  display: block;
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
}
.ticker-belt {
  display: flex;
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}
.ticker-belt:hover {
  animation-play-state: paused !important;
  -webkit-animation-play-state: paused !important;
}
.ticker-segment {
  display: flex;
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
  font-size: 13px;
  flex-shrink: 0;
}
.ticker-sep {
  opacity: 0.5;
  margin: 0 1.4rem;
  font-size: 15px;
  font-weight: 300;
  flex-shrink: 0;
}
.ticker-item {
  color: #fff;
  text-decoration: none;
}
.ticker-item:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ticker-close {
  background: rgba(0,0,0,0.18);
  border: none;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  padding: 0 15px;
  font-size: 14px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.ticker-close:hover {
  background: rgba(0,0,0,0.38);
  color: #fff;
}

@media (min-width: 769px) {
  .ticker-segment {
    font-size: 1rem;
  }
  .ticker-label svg {
    width: 22px;
    height: 22px;
  }
}

/* Overlay + Countdown liegen exakt über dem Bild (gleiche Box wie .news-card-image) */
.news-card-image .ev-overlay{
  position:absolute; inset:0; z-index:2;
  background:rgba(20,8,44,.55);
  transition:opacity .35s ease; pointer-events:none;
}
.news-card-image .ev-countdown{
  position:absolute; inset:0; z-index:3;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:.05rem; color:#fff; text-align:center;
  transition:opacity .35s ease; pointer-events:none;
}
.ev-countdown .ev-in,
.ev-countdown .ev-lbl{
  font-family:var(--font-akko,'AkkoProCondensedBoldItalic','Arial Narrow',Arial,sans-serif);
  font-style:italic; text-transform:uppercase;
  font-size:1.05rem; letter-spacing:.04em; color:rgba(255,255,255,.85); line-height:1;
}
.ev-countdown .ev-days{
  font-family:var(--font-akko,'AkkoProCondensedBoldItalic','Arial Narrow',Arial,sans-serif);
  font-style:italic; font-weight:700; line-height:.85; color:#fff;
  font-size:clamp(3rem, 2rem + 4vw, 4.5rem);
}
 
/* Hover: Countdown + Overlay ausblenden -> Bild kommt zum Vorschein */
.news-card:hover .ev-overlay,
.news-card:hover .ev-countdown{ opacity:0; }
 
/* Datum + Uhrzeit als eigene, große Zeile */
.ev-when{
  display:flex; flex-wrap:wrap; align-items:center; gap:.3rem 1.1rem;
  margin:.2rem 0 .3rem;
}
.ev-when-item{
  display:inline-flex; align-items:center; gap:.4rem;
  font-family:var(--font-akko,'AkkoProCondensedBoldItalic','Arial Narrow',Arial,sans-serif);
  font-style:italic; text-transform:uppercase;
  font-size:1.2rem; color:var(--accent,#7e39ae); line-height:1;
}
.ev-when-item .icon{ width:1.05em; height:1.05em; fill:currentColor; }