/*
Theme Name: BW Lubolz Sport
Theme URI: https://blau-weiss-lubolz.de/
Author: Vincent (SV Blau-Weiss Lubolz 1930 e.V.)
Description: Dynamische Sport-Variante des BW-Lubolz-Themes: schraege Schnitte, kursive Display-Titel, Adler-Rot als Energie-Akzent. Gleicher Funktionsumfang (Lightbox mit Zoom, Ausklapp-Menue ohne Scrollbalken, PDF-Vorschaubilder, DSGVO-freundlich, keine Cookies durch das Theme).
Version: 2.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bw-lubolz
Tags: sports, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================================
   1. Schriften (lokal gehostet - kein externer Request, DSGVO-konform)
   ========================================================================= */
@font-face {
  font-family: "Oswald";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/oswald-500.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Oswald";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/oswald-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Oswald";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/oswald-700.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Oswald";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/oswald-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/inter-400.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/inter-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/inter-600.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/inter-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/inter-700.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/inter-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* =========================================================================
   2. Design-Tokens
   ========================================================================= */
:root {
  --bwl-blue: #4456a2;          /* Vereinsblau (exakt aus dem Wappen) */
  --bwl-blue-bright: #6376c5;   /* helleres Akzentblau */
  --bwl-navy: #26305a;          /* Tiefe (Hero, Footer, dunkle Flaechen) */
  --bwl-navy-deep: #1b2341;     /* noch dunkler */
  --bwl-red: #e02412;           /* Adler-Rot (aus dem Wappen) - Energie-Akzent */
  --bwl-red-deep: #b31c0e;
  --bwl-ink: #1b1f32;           /* Fliesstext */
  --bwl-muted: #6c7394;         /* gedaempfter Text */
  --bwl-mist: #eef0f8;          /* helle Sektionsflaeche */
  --bwl-white: #ffffff;
  --bwl-line: rgba(38,48,90,.14);
  --bwl-shadow: 0 10px 34px rgba(27,35,65,.16);
  --bwl-shadow-sm: 0 3px 12px rgba(27,35,65,.11);

  --bwl-font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --bwl-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --bwl-wrap: 1200px;
  --bwl-radius: 8px;
  --bwl-radius-sm: 5px;
  --bwl-header-h: 100px;
  --bwl-slant: -8deg;           /* sportlicher Schraegwinkel */

  /* Trikot-Streifen (Signature) */
  --bwl-stripe: repeating-linear-gradient(135deg,
      var(--bwl-blue) 0 22px, #ffffff 22px 26px);
  /* Renn-Streifen: blau-weiss-rot */
  --bwl-race: linear-gradient(90deg,
      var(--bwl-blue) 0 62%, var(--bwl-blue-bright) 62% 100%);
}

/* =========================================================================
   3. Reset & Grundlagen
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--bwl-font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--bwl-ink);
  background: var(--bwl-white);
  overflow-x: clip;            /* kein horizontales Scrollen, ohne sticky zu brechen */
  -webkit-font-smoothing: antialiased;
}
@supports not (overflow: clip) { body { overflow-x: hidden; } }

img, iframe, video, embed, object, svg {
  max-width: 100%;
  height: auto;
}
img { display: block; }

a { color: var(--bwl-blue); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bwl-font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .015em;
  color: var(--bwl-navy);
  margin: 0 0 .5em;
  text-wrap: balance;
}
/* Sport-Note: grosse Titel kursiv nach vorn geneigt (Tempo-Optik) */
h1, h2 { font-style: italic; text-transform: uppercase; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); text-transform: uppercase; letter-spacing: .03em; }
p { margin: 0 0 1.1em; }

/* Fokus immer sichtbar (Barrierefreiheit) */
:focus-visible {
  outline: 3px solid var(--bwl-blue-bright);
  outline-offset: 2px;
  border-radius: 3px;
}

.bwl-wrap { width: min(100% - 2.4rem, var(--bwl-wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--bwl-navy); color: #fff; padding: .8rem 1.2rem;
  font-family: var(--bwl-font-display); text-transform: uppercase; letter-spacing: .04em;
}
.skip-link:focus { left: 12px; top: 12px; text-decoration: none; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}

/* =========================================================================
   4. Buttons
   ========================================================================= */
.btn,
.wp-block-button__link,
button.bwl-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--bwl-font-display); font-weight: 600; font-style: italic;
  text-transform: uppercase; letter-spacing: .05em; font-size: .98rem;
  padding: .72rem 1.5rem; border-radius: 4px; border: 2px solid transparent;
  background: var(--bwl-blue); color: #fff !important; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  text-decoration: none;
  transform: skewX(var(--bwl-slant));
}
.btn:hover, .btn:focus {
  background: var(--bwl-blue-bright);
  transform: skewX(var(--bwl-slant)) translateY(-2px);
  box-shadow: 0 8px 20px rgba(68,86,162,.35);
  text-decoration: none; color:#fff;
}
.btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--outline { background: #fff; color: var(--bwl-blue) !important; border-color: var(--bwl-blue); }
.btn--outline:hover { background: var(--bwl-blue); color:#fff !important; }

/* =========================================================================
   5. Trikot-Streifen-Band (Signature)
   ========================================================================= */
.kit-stripe { background: var(--bwl-stripe); }
.kit-stripe--top { height: 7px; }

/* =========================================================================
   6. Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--bwl-line);
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}
/* Beim Scrollen transparenter mit weichem Schatten – und etwas kompakter,
   aber Logo und alle Menuepunkte bleiben jederzeit sichtbar/erreichbar. */
.site-header.is-scrolled {
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 8px 26px rgba(27,35,65,.12);
  border-bottom-color: transparent;
}
.site-header.is-scrolled .header-inner { min-height: 68px; }
.site-header.is-scrolled .custom-logo { height: 50px; }
.custom-logo { transition: height .3s ease; }
.header-inner { transition: min-height .3s ease; }
@media (prefers-reduced-motion: reduce) {
  .custom-logo, .header-inner { transition: none; }
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--bwl-header-h);
}
.site-branding { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.site-branding .custom-logo-link { display: inline-flex; flex: none; }
.custom-logo { width: auto; height: 80px; display: block; }
.brand-text { min-width: 0; }
.site-title {
  font-family: var(--bwl-font-display); font-weight: 700; text-transform: uppercase;
  font-size: 1.08rem; line-height: 1; margin: 0; letter-spacing: .01em; color: var(--bwl-navy);
}
.site-title a { color: inherit; text-decoration: none; }
.site-description {
  margin: .2rem 0 0; font-size: .76rem; color: var(--bwl-blue);
  font-weight: 600; letter-spacing: .01em;
}
/* Bei gesetztem Logo den Textblock auf grossen Schirmen ausblenden, schlank halten */
.has-logo .brand-text { display: none; }
@media (min-width: 560px) { .has-logo .brand-text { display: block; } }

/* =========================================================================
   7. Navigation - gemeinsam
   ========================================================================= */
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation a {
  display: block; text-decoration: none; color: var(--bwl-navy);
  font-family: var(--bwl-font-display); font-weight: 500;
  text-transform: uppercase; letter-spacing: .03em;
}
.menu-toggle, .submenu-toggle { font-family: var(--bwl-font-display); }

/* Hamburger */
.menu-toggle {
  display: none; align-items: center; gap: .55rem;
  background: var(--bwl-blue); color: #fff; border: 0; cursor: pointer;
  padding: .6rem .95rem; border-radius: 999px; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .05em; font-weight: 600;
}
.menu-toggle .bars { width: 18px; height: 13px; position: relative; display: inline-block; }
.menu-toggle .bars i {
  position: absolute; left: 0; right: 0; height: 2.2px; background: #fff; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle .bars i:nth-child(1){ top: 0; }
.menu-toggle .bars i:nth-child(2){ top: 5.4px; }
.menu-toggle .bars i:nth-child(3){ top: 10.8px; }

.menu-backdrop { display: none; }

/* Panel-Kopf (Menue-Titel + Schliessen-X) wird beim Push-Down nicht benoetigt. */
.nav-panel-head { display: none; }

/* =========================================================================
   8. Navigation - DESKTOP (>= 1024px): horizontale Leiste mit Flyouts
   ========================================================================= */
@media (min-width: 1024px) {
  /* Eine Zeile: kein Umbruch; Platz kommt aus kompakteren Abstaenden + Schriftgroessen. */
  .primary-menu { display: flex; flex-wrap: nowrap; align-items: center; gap: .1rem; justify-content: flex-end; }
  .primary-menu > li { position: relative; white-space: nowrap; }
  .primary-menu > li > a { padding: .65rem .55rem .78rem; font-size: .92rem; border-radius: 4px; position: relative; }
  /* Auf schmaleren Desktops (Laptop) weiter verdichten, damit alles in eine Zeile passt. */
  @media (max-width: 1450px) {
    .primary-menu > li > a { font-size: .84rem; padding-left: .42rem; padding-right: .42rem; letter-spacing: 0; }
  }
  @media (max-width: 1200px) {
    .primary-menu > li > a { font-size: .78rem; padding-left: .34rem; padding-right: .34rem; }
  }
  /* roter Tempo-Unterstrich, faehrt beim Hover ein */
  .primary-menu > li > a::before {
    content: ""; position: absolute; left: .45rem; right: .45rem; bottom: .32rem; height: 3px;
    background: var(--bwl-blue); transform: skewX(var(--bwl-slant)) scaleX(0);
    transform-origin: left; transition: transform .22s ease; border-radius: 2px;
  }
  .primary-menu > li > a:hover::before,
  .primary-menu > li:focus-within > a::before,
  .primary-menu > li.current-menu-item > a::before,
  .primary-menu > li.current-menu-ancestor > a::before { transform: skewX(var(--bwl-slant)) scaleX(1); }
  .primary-menu > li > a:hover,
  .primary-menu > li:focus-within > a,
  .primary-menu > li.current-menu-item > a,
  .primary-menu > li.current-menu-ancestor > a { color: var(--bwl-blue); }

  /* Pfeil bei Eltern */
  .primary-menu .menu-item-has-children > a::after {
    content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .45em;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }
  .primary-menu .sub-menu .menu-item-has-children > a::after { transform: translateY(-1px) rotate(-45deg); margin-left: auto; }

  /* Dropdown */
  .primary-menu .sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 248px; max-width: 320px;
    background: #fff; border: 1px solid var(--bwl-line); border-radius: var(--bwl-radius-sm);
    box-shadow: var(--bwl-shadow); padding: .4rem; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    z-index: 50;
  }
  .primary-menu li:hover > .sub-menu,
  .primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  /* Die letzten beiden Top-Level-Punkte: Dropdown rechtsbuendig oeffnen,
     damit am rechten Bildschirmrand nichts uebersteht. */
  .primary-menu > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; }

  .primary-menu .sub-menu a {
    padding: .58rem .8rem; border-radius: 7px; font-size: .9rem; color: var(--bwl-ink);
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  }
  .primary-menu .sub-menu a:hover,
  .primary-menu .sub-menu li:focus-within > a { background: var(--bwl-mist); color: var(--bwl-blue); }

  /* 3. Ebene als seitliches Flyout, oeffnet nach LINKS (Nav sitzt rechts,
     so ragt auf Laptops nichts ueber den Bildschirmrand hinaus). */
  .primary-menu .sub-menu .sub-menu { top: -.4rem; left: auto; right: 100%; }

  .submenu-toggle { display: none !important; }
  .menu-toggle, .menu-backdrop { display: none !important; }
}

/* =========================================================================
   9. Navigation - MOBIL (< 1024px): ausklappendes Menue (Push-Down)
      Kein eigener Scroll-Container -> keine separaten Scrollbalken.
      Untermenues klappen als Akkordeon auf; die Seite selbst scrollt normal.
   ========================================================================= */
@media (max-width: 1023.98px) {
  /* Im Normalfall bleibt der Header sticky (Smart-Header).
     Nur bei OFFENEM Menue wird er in den Fluss gesetzt, damit das
     ausgeklappte Menue die Seite normal verlaengert (Push-Down). */
  .menu-open .site-header { position: relative; }
  .header-inner { flex-wrap: wrap; }
  .custom-logo { height: 66px; }

  .menu-toggle { display: inline-flex; }

  /* Navigation bricht in eine eigene, volle Zeile unter Logo + Hamburger um. */
  .main-navigation {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    display: none;                 /* geschlossen */
    border-top: 1px solid var(--bwl-line);
    margin-top: .15rem;
  }
  .menu-open .main-navigation { display: block; }   /* offen */

  /* Schliessen-Kopf wird im Push-Down nicht gebraucht (global ausgeblendet). */

  .primary-menu { padding: .15rem 0 .35rem; }
  .primary-menu li { position: relative; border-bottom: 1px solid var(--bwl-line); }
  .primary-menu > li:last-child { border-bottom: 0; }
  .primary-menu a {
    padding: .9rem .2rem; color: var(--bwl-navy);
    font-size: 1.02rem; min-height: 3rem; display: flex; align-items: center;
    overflow-wrap: anywhere;       /* nie horizontal ueberlaufen */
  }
  .primary-menu .menu-item-has-children > a { padding-right: 60px; }
  .primary-menu .current-menu-item > a,
  .primary-menu .current-menu-ancestor > a { color: var(--bwl-blue); }

  /* Aufklapp-Button (per JS eingefuegt). */
  .submenu-toggle {
    position: absolute; top: 0; right: 0; width: 54px; height: 3rem;
    border: 0; border-left: 1px solid var(--bwl-line);
    background: transparent; color: var(--bwl-navy); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
  }
  .submenu-toggle::before {
    content: ""; width: .58rem; height: .58rem;
    border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px); transition: transform .22s ease;
  }
  .submenu-toggle[aria-expanded="true"]::before { transform: rotate(-135deg) translateY(2px); }
  .submenu-toggle:hover { background: var(--bwl-mist); color: var(--bwl-blue); }

  /* Untermenues eingeklappt (Akkordeon) - robustes Ein-/Ausblenden. */
  .primary-menu .sub-menu {
    display: none; margin: 0; padding-left: .9rem;
    background: var(--bwl-mist); border-top: 1px solid var(--bwl-line);
  }
  .primary-menu li.is-open > .sub-menu { display: block; }
  .primary-menu .sub-menu li { border-color: rgba(38,48,90,.10); }
  .primary-menu .sub-menu a { font-size: .96rem; padding: .8rem .2rem; min-height: 2.7rem; }
  .primary-menu .sub-menu .submenu-toggle { height: 2.7rem; }

  /* Kein Off-Canvas, kein Overlay mehr. */
  .menu-backdrop { display: none !important; }

  /* Hamburger -> X */
  .menu-open .menu-toggle .bars i:nth-child(1){ transform: translateY(5.4px) rotate(45deg); }
  .menu-open .menu-toggle .bars i:nth-child(2){ opacity: 0; }
  .menu-open .menu-toggle .bars i:nth-child(3){ transform: translateY(-5.4px) rotate(-45deg); }
}

/* Ohne JS: Menue als normale Liste mit ausgeklappten Untermenues. */
.no-js .menu-toggle { display: none; }
@media (max-width: 1023.98px) {
  .no-js .main-navigation { display: block; }
  .no-js .primary-menu .sub-menu { display: block; }
  .no-js .submenu-toggle { display: none; }
}

/* =========================================================================
   10. Hero (Startseite / News-Index)
   ========================================================================= */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(120% 140% at 85% -10%, var(--bwl-blue-bright) 0%, transparent 55%),
    linear-gradient(160deg, var(--bwl-blue) 0%, var(--bwl-navy) 100%);
  /* sportlicher Diagonal-Schnitt unten */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(18px, 3.2vw, 44px)), 0 100%);
  padding-bottom: clamp(18px, 3.2vw, 44px);
}
.hero::before {
  /* Renn-Streifen als Tempo-Linie oben */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--bwl-race);
}
.hero::after {
  /* diagonaler Trikot-Streifen-Akzent rechts */
  content: ""; position: absolute; top: 0; bottom: 0; right: -8%; width: 46%;
  background: var(--bwl-stripe); opacity: .10; transform: skewX(-12deg);
  pointer-events: none;
}
.hero-inner { position: relative; padding: clamp(2.6rem, 7vw, 5.2rem) 0; z-index: 1; }
.hero .eyebrow {
  display: inline-block; font-family: var(--bwl-font-display); text-transform: uppercase;
  letter-spacing: .14em; font-weight: 600; font-size: .82rem; font-style: italic;
  background: var(--bwl-blue-bright); padding: .35rem .9rem; margin-bottom: 1rem;
  transform: skewX(var(--bwl-slant)); border-radius: 3px;
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 6.4vw, 4.2rem); margin: 0 0 .4rem; }
.hero .hero-tagline {
  font-family: var(--bwl-font-display); text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(1rem, 2.6vw, 1.5rem); font-weight: 500; color: rgba(255,255,255,.92); margin: 0 0 1.6rem;
  max-width: 30ch; font-style: italic;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* schlanker Seitenkopf fuer Unterseiten/Archive */
.page-banner {
  background: linear-gradient(160deg, var(--bwl-blue) 0%, var(--bwl-navy) 100%);
  color: #fff; padding: clamp(1.8rem, 5vw, 3rem) 0; position: relative; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(10px, 1.8vw, 24px)), 0 100%);
  padding-bottom: clamp(2.2rem, 5.6vw, 3.6rem);
}
.page-banner::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--bwl-race);
}
.page-banner::after {
  content: ""; position: absolute; inset: 0 -10% auto auto; width: 38%; height: 100%;
  background: var(--bwl-stripe); opacity: .08; transform: skewX(-12deg);
}
.page-banner h1, .page-banner h2 { color: #fff; margin: 0; position: relative; }
.page-banner .crumbs { position: relative; color: rgba(255,255,255,.8); font-size: .85rem; margin-bottom: .5rem; }
.page-banner .crumbs a { color: #fff; }

/* =========================================================================
   11. Layout-Sektionen
   ========================================================================= */
.site-main { padding: clamp(2rem, 5vw, 3.4rem) 0; }
.content-area { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem; align-items: start; }
/* Grid-Spalten duerfen schmaler werden als ihr Inhalt -> kein Ueberlauf durch breite Bilder/Widgets. */
.primary-content, .sidebar { min-width: 0; }
@media (min-width: 992px) {
  .content-area.has-sidebar { grid-template-columns: minmax(0,1fr) 320px; }
}

.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.6rem; flex-wrap: wrap;
}
.section-head h2 { margin: 0; position: relative; padding-bottom: .55rem; }
/* Renn-Streifen als Unterstrich, leicht schraeg */
.section-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 74px; height: 5px;
  background: var(--bwl-race); transform: skewX(var(--bwl-slant)); border-radius: 2px;
}
.section-head .eyebrow {
  font-family: var(--bwl-font-display); text-transform: uppercase; letter-spacing: .1em;
  color: var(--bwl-blue); font-weight: 600; font-size: .82rem; font-style: italic;
}

/* =========================================================================
   12. News / Beitragskarten
   ========================================================================= */
.post-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .post-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 992px) { .post-grid { grid-template-columns: repeat(2,1fr); } }
/* Sidebar-Layout: ab 1180px drei Spalten ohne Sidebar, mit Sidebar zwei. */
@media (min-width: 1180px) { .content-area:not(.has-sidebar) .post-grid { grid-template-columns: repeat(3,1fr); } }

.card {
  background: #fff; border: 1px solid var(--bwl-line); border-radius: var(--bwl-radius);
  overflow: hidden; box-shadow: var(--bwl-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
  position: relative;
}
/* Renn-Streifen oben, faehrt beim Hover ein */
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--bwl-race); transform: scaleX(0); transform-origin: left;
  transition: transform .28s ease; z-index: 1;
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-5px); box-shadow: var(--bwl-shadow); }
.card .card-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--bwl-mist); }
.card .card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-thumb img { transform: scale(1.06); }
.card .card-thumb--placeholder { background: var(--bwl-stripe); opacity: .85; }
.card .card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card .card-cats { display: flex; flex-wrap: wrap; gap: .45rem; align-self: flex-start; }
.card .card-cat {
  align-self: flex-start; font-family: var(--bwl-font-display); text-transform: uppercase;
  letter-spacing: .06em; font-size: .72rem; font-weight: 600; font-style: italic; color: #fff;
  background: var(--bwl-blue); padding: .25rem .65rem; border-radius: 3px; text-decoration: none;
  transform: skewX(var(--bwl-slant));
}
.card .card-cat:hover { background: var(--bwl-blue-bright); }
.card .card-title { margin: 0; font-size: 1.3rem; line-height: 1.12; font-style: italic; text-transform: uppercase; }
.card .card-title a { color: var(--bwl-navy); text-decoration: none; }
.card .card-title a:hover { color: var(--bwl-blue); }
.card .card-meta { font-size: .82rem; color: var(--bwl-muted); }
.card .card-excerpt { color: var(--bwl-ink); margin: 0; }
.card .card-more {
  margin-top: auto; align-self: flex-start; font-family: var(--bwl-font-display);
  text-transform: uppercase; letter-spacing: .04em; font-weight: 600; font-size: .9rem; color: var(--bwl-blue);
}
.card .card-more::after { content: " \2192"; color: var(--bwl-blue-bright); }
.card .card-more { font-style: italic; }

/* Klassische Volltext-Liste (Customizer: News-Darstellung -> Klassisch) */
.post-list { display: block; }
.post-classic {
  padding-bottom: 2.4rem;
  margin-bottom: 2.4rem;
  border-bottom: 1px solid var(--bwl-line);
}
.post-list .post-classic:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.post-classic-head .card-cats { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; }
.post-classic-head .card-cat {
  display: inline-block;
  font-family: var(--bwl-font-display); text-transform: uppercase; letter-spacing: .05em;
  font-weight: 600; font-size: .8rem; font-style: italic; color: #fff; background: var(--bwl-blue);
  padding: .25rem .75rem; border-radius: 3px; text-decoration: none;
  transform: skewX(var(--bwl-slant));
}
.post-classic-head .card-cat:hover { background: var(--bwl-blue-bright); }
.post-classic-title { margin: .1rem 0 .35rem; font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.15; }
.post-classic-title a { color: var(--bwl-navy); text-decoration: none; }
.post-classic-title a:hover { color: var(--bwl-blue); }
.post-classic .card-meta { font-size: .85rem; color: var(--bwl-muted); margin: 0 0 1rem; }
.post-classic-thumb { display: block; margin: 0 0 1.4rem; border-radius: var(--bwl-radius); overflow: hidden; box-shadow: var(--bwl-shadow-sm); }
.post-classic-thumb img { width: 100%; height: auto; display: block; }
.post-classic-content { font-size: 1.04rem; }
.post-classic-content img { max-width: 100%; height: auto; border-radius: var(--bwl-radius-sm); }
.post-classic-content .more-link {
  display: inline-block; margin-top: .6rem; font-family: var(--bwl-font-display);
  text-transform: uppercase; letter-spacing: .04em; font-weight: 600; color: var(--bwl-blue); text-decoration: none;
}
.post-classic-content .more-link::after { content: " \2192"; color: var(--bwl-blue-bright); }
.post-classic-content .more-link { font-style: italic; }

/* =========================================================================
   13. Einzelbeitrag / Seite
   ========================================================================= */
.entry { background:#fff; }
.entry-header { margin-bottom: 1.4rem; }
.entry-meta { color: var(--bwl-muted); font-size: .88rem; margin-bottom: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.entry-cats { display: inline-flex; flex-wrap: wrap; gap: .45rem; }
.entry-meta .cat-link {
  font-family: var(--bwl-font-display); text-transform: uppercase; letter-spacing: .05em;
  font-weight: 600; font-style: italic; color: #fff; background: var(--bwl-blue);
  padding: .15rem .65rem; border-radius: 3px; text-decoration: none;
  transform: skewX(var(--bwl-slant)); display: inline-block;
}
.entry-meta .cat-link:hover { background: var(--bwl-blue-bright); }
.featured-media { border-radius: var(--bwl-radius); overflow: hidden; margin-bottom: 1.8rem; box-shadow: var(--bwl-shadow-sm); }
.featured-media img { width: 100%; }

.entry-content { font-size: 1.075rem; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content a { color: var(--bwl-blue); text-decoration: underline; text-underline-offset: 2px; }
.entry-content img { max-width: 100%; border-radius: 10px; height: auto; }
.entry-content figure { margin: 1.6em 0; max-width: 100%; }
/* Eingebettete Medien (Videos, betterplace-Widget, iframes, Base64-Bilder)
   nie breiter als der Inhaltsbereich – verhindert abgeschnittene Inhalte. */
.entry-content iframe,
.entry-content video,
.entry-content embed,
.entry-content object,
.post-classic-content iframe,
.post-classic-content video,
.post-classic-content embed,
.post-classic-content object {
  max-width: 100%;
}

/* Vergroesserbare Artikelbilder + Lightbox-Overlay */
.entry-content img, .post-classic-content img { cursor: zoom-in; }
.bwl-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  background: rgba(27,35,65,.93); padding: 4vmin; cursor: zoom-out;
}
.bwl-lightbox.is-open { display: flex; }
.bwl-lightbox img {
  max-width: 96vw; max-height: 92vh; width: auto; height: auto;
  border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.55);
  cursor: default; touch-action: none; transform-origin: center center;
  will-change: transform; user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
}
.bwl-lightbox.is-zoomed { cursor: grab; }
.bwl-lightbox.is-zoomed img { cursor: grab; }
.bwl-lightbox.is-grabbing, .bwl-lightbox.is-grabbing img { cursor: grabbing; }
.bwl-lightbox-hint {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  color: rgba(255,255,255,.85); font-size: .82rem; background: rgba(27,35,65,.45);
  padding: .35rem .8rem; border-radius: 999px; pointer-events: none;
  transition: opacity .4s ease;
}
.bwl-lightbox-close {
  position: absolute; top: 14px; right: 14px; width: 48px; height: 48px;
  background: rgba(255,255,255,.16); border: 0; border-radius: 50%; color: #fff;
  font-size: 1.9rem; line-height: 1; cursor: pointer;
}
.bwl-lightbox-close:hover, .bwl-lightbox-close:focus { background: rgba(255,255,255,.3); }
.entry-content figcaption { font-size: .85rem; color: var(--bwl-muted); text-align: center; margin-top: .5rem; }
.entry-content blockquote {
  margin: 1.6em 0; padding: .6em 1.3em; border-left: 4px solid var(--bwl-blue);
  background: var(--bwl-mist); border-radius: 0 10px 10px 0; font-style: italic;
}
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin: .35em 0; }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--bwl-line); padding: .6rem .8rem; text-align: left; }
.entry-content th { background: var(--bwl-mist); font-family: var(--bwl-font-display); text-transform: uppercase; font-size: .85rem; letter-spacing: .03em; }

.entry-footer { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--bwl-line); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.tag-list a {
  display: inline-block; font-size: .82rem; background: var(--bwl-mist); color: var(--bwl-blue);
  padding: .25rem .7rem; border-radius: 999px; margin: .2rem .3rem .2rem 0; text-decoration: none;
}
.tag-list a:hover { background: var(--bwl-blue); color: #fff; }

.post-navigation { margin-top: 2.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-navigation a { display: block; padding: 1rem 1.2rem; border: 1px solid var(--bwl-line); border-radius: var(--bwl-radius-sm); text-decoration: none; background:#fff; }
.post-navigation a:hover { border-color: var(--bwl-blue); }
.post-navigation .nav-subtitle { display:block; font-family: var(--bwl-font-display); text-transform: uppercase; font-size:.72rem; letter-spacing:.06em; color: var(--bwl-muted); }
.post-navigation .nav-next { text-align: right; }
@media (max-width: 560px){ .post-navigation { grid-template-columns: 1fr; } }

/* =========================================================================
   14. Pagination
   ========================================================================= */
.pagination { margin-top: 2.6rem; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px;
  padding: 0 .8rem; border-radius: 10px; border: 1px solid var(--bwl-line); background:#fff;
  font-family: var(--bwl-font-display); font-weight: 600; color: var(--bwl-navy); text-decoration: none;
}
.pagination .page-numbers.current { background: var(--bwl-blue); color: #fff; border-color: var(--bwl-blue); }
.pagination a.page-numbers:hover { border-color: var(--bwl-blue); color: var(--bwl-blue); }

/* =========================================================================
   15. Sidebar / Widgets
   ========================================================================= */
.widget { background:#fff; border: 1px solid var(--bwl-line); border-radius: var(--bwl-radius); padding: 1.3rem 1.4rem; margin-bottom: 1.6rem; box-shadow: var(--bwl-shadow-sm); }
.widget-title {
  font-size: 1.15rem; text-transform: uppercase; font-style: italic;
  margin: 0 0 1rem; padding-bottom: .55rem; display: inline-block;
  position: relative; border-bottom: 0;
}
.widget-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px;
  background: var(--bwl-race); transform: skewX(var(--bwl-slant)); border-radius: 2px;
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: .45rem 0; border-bottom: 1px solid var(--bwl-line); }
.widget li:last-child { border-bottom: 0; }
.widget a { text-decoration: none; color: var(--bwl-ink); }
.widget a:hover { color: var(--bwl-blue); }
/* Widget-/Sidebar-Inhalte nie breiter als die Spalte (Bilder, Spenden-Widget, iframes). */
.widget img, .sidebar img,
.widget iframe, .sidebar iframe,
.widget video, .sidebar video,
.widget embed, .sidebar embed,
.widget object, .sidebar object,
.widget *, .sidebar * { max-width: 100%; }
.widget img, .sidebar img { height: auto; }
.widget, .sidebar { overflow-wrap: anywhere; }

/* Mitglieder-CTA: roter, pulsierender Button.
   Einfach als Custom-HTML-Widget einsetzen:
   <a class="sidebar-red-button" href="...">Jetzt Mitglied werden !</a>
   (Das frühere "Zusätzliche CSS" wird dann nicht mehr gebraucht.) */
.sidebar-red-button {
  display: block;
  background-color: #e60000;
  color: #fff;
  text-align: center;
  padding: 18px 14px;
  text-decoration: none;
  border-radius: 8px;
  font-family: var(--bwl-font-display);
  font-weight: 800;
  font-size: 1.1em;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(230,0,0,.3);
  border: none;
  transition: transform .15s ease, background-color .15s ease;
  animation: bwl-pulse 2s infinite;
}
.widget .sidebar-red-button { color: #fff; }
.sidebar-red-button:hover,
.sidebar-red-button:focus {
  background-color: #b30000;
  color: #fff;
  animation: none;
  transform: scale(1.05);
}
@keyframes bwl-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-red-button { animation: none; }
}

.searchform { display: flex; gap: .5rem; }
.searchform input[type="search"] { flex: 1; min-width: 0; padding: .7rem .9rem; border: 1px solid var(--bwl-line); border-radius: 10px; font: inherit; }
.searchform button { border:0; }

/* =========================================================================
   16. DSGVO-Embeds: responsiv + YouTube Zwei-Klick-Loesung
   ========================================================================= */
.bwl-embed { position: relative; width: 100%; aspect-ratio: 16/9; margin: 1.6em 0; border-radius: var(--bwl-radius); overflow: hidden; background: #000; }
.bwl-embed iframe, .bwl-embed video, .bwl-embed object, .bwl-embed embed {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
/* nicht-16:9-Embeds (z. B. Tweets) frei lassen */
.bwl-embed--auto { position: static; aspect-ratio: auto; height: auto; }
.bwl-embed--auto iframe { position: static; height: auto; }

.bwl-yt {
  position: relative; width: 100%; aspect-ratio: 16/9; margin: 1.6em 0;
  border-radius: var(--bwl-radius); overflow: hidden; cursor: pointer;
  background: var(--bwl-navy) center/cover no-repeat; border: 0; padding: 0; display: block; color: #fff;
}
.bwl-yt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,48,90,.25), rgba(38,48,90,.78)); }
.bwl-yt .bwl-yt-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; padding: 1.2rem; text-align: center; }
.bwl-yt .bwl-yt-play {
  width: 70px; height: 70px; border-radius: 50%; background: var(--bwl-blue);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .18s ease, background .18s ease;
}
.bwl-yt:hover .bwl-yt-play { transform: scale(1.08); background: var(--bwl-blue-bright); }
.bwl-yt .bwl-yt-play::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.bwl-yt .bwl-yt-label { font-family: var(--bwl-font-display); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; font-size: 1.02rem; }
.bwl-yt .bwl-yt-note { font-size: .8rem; color: rgba(255,255,255,.85); max-width: 38ch; line-height: 1.4; }
.bwl-yt .bwl-yt-note a { color: #fff; text-decoration: underline; }

/* =========================================================================
   17. Footer
   ========================================================================= */
.site-footer { background: var(--bwl-navy); color: rgba(255,255,255,.82); margin-top: 2rem; }
.footer-widgets { display: grid; gap: 2rem; grid-template-columns: 1fr; padding: clamp(2.4rem,5vw,3.4rem) 0 2rem; }
@media (min-width: 700px) { .footer-widgets { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px) { .footer-widgets { grid-template-columns: repeat(4,1fr); } }
.site-footer .widget { background: transparent; border: 0; box-shadow: none; padding: 0; margin: 0; }
.site-footer .widget-title { color: #fff; }
.site-footer a { color: rgba(255,255,255,.9); }
.site-footer a:hover { color: #fff; }
.site-footer .widget li { border-bottom-color: rgba(255,255,255,.12); }
.footer-brand .site-title { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.7); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 1.2rem 0; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; align-items: center; }
.footer-bottom nav a { margin-left: 1.1rem; }
.footer-bottom nav a:first-child { margin-left: 0; }

/* "Nach oben" */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 150;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--bwl-blue); color: #fff; box-shadow: var(--bwl-shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease;
  display: grid; place-items: center; font-size: 1.3rem;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--bwl-blue-bright); }

/* =========================================================================
   18. Diverses
   ========================================================================= */
.no-results { background: var(--bwl-mist); border-radius: var(--bwl-radius); padding: 2rem; text-align: center; }
.alignwide { width: min(100%, 1100px); margin-inline: auto; }
.alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: .4rem 1.4rem 1rem 0; }
.alignright { float: right; margin: .4rem 0 1rem 1.4rem; }
.sticky-badge { display:inline-block; background: var(--bwl-blue-bright); color:#fff; font-family: var(--bwl-font-display); text-transform: uppercase; font-size:.7rem; letter-spacing:.06em; padding:.2rem .55rem; border-radius:999px; }

/* =========================================================================
   19. Archiv / Suche / 404 / Kommentare
   ========================================================================= */
.btn--solid { background: var(--bwl-blue); color: #fff !important; border-color: var(--bwl-blue); }
.btn--solid:hover, .btn--solid:focus { background: var(--bwl-blue-bright); border-color: var(--bwl-blue-bright); }

.archive-description { margin-top: .8rem; max-width: 60ch; color: rgba(255,255,255,.92); }
.archive-description p { margin: .4rem 0 0; }

/* Suche */
.search-term { color: var(--bwl-blue-bright); }
.search-banner-form { margin-top: 1rem; max-width: 460px; }
.search-banner-form .searchform input[type="search"] { background: #fff; }
.search-count { color: var(--bwl-muted); margin: 0 0 1.4rem; }
.search-submit {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 1rem; border: 0; border-radius: 10px;
  background: var(--bwl-blue); color: #fff; cursor: pointer;
  transition: background .15s ease;
}
.search-submit:hover, .search-submit:focus { background: var(--bwl-blue-bright); }
.search-submit svg { display: block; }

/* 404 */
.error-404 { max-width: 760px; margin: 0 auto; text-align: center; padding: 1rem 0 1.5rem; }
.error-404-code {
  font-family: var(--bwl-font-display); font-weight: 700;
  font-size: clamp(4.5rem, 18vw, 9rem); line-height: 1; margin: 0;
  color: var(--bwl-blue); letter-spacing: .02em;
}
.error-404-lead { font-size: 1.1rem; color: var(--bwl-ink); margin: .4rem auto 1.6rem; max-width: 52ch; }
.error-404-search { max-width: 460px; margin: 0 auto 1.6rem; }
.error-404-actions { margin-bottom: 2.6rem; }
.error-404-recent { text-align: left; margin-top: 2rem; }
.error-404-recent h2 { margin: 0 0 1.2rem; }

/* Kommentare */
.comments-area { margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--bwl-line); }
.comments-title { margin: 0 0 1.4rem; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list ol.children { list-style: none; margin: 1rem 0 0 1.2rem; padding-left: 1rem; border-left: 2px solid var(--bwl-line); }
.comment-list li.comment { margin-bottom: 1.2rem; }
.comment-body {
  background: #fff; border: 1px solid var(--bwl-line);
  border-radius: var(--bwl-radius-sm); padding: 1rem 1.2rem; box-shadow: var(--bwl-shadow-sm);
}
.comment-author { font-family: var(--bwl-font-display); font-weight: 600; }
.comment-author .says { display: none; }
.comment-metadata { font-size: .85rem; color: var(--bwl-muted); margin: .15rem 0 .6rem; }
.comment-metadata a { color: inherit; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-reply-link, .comment-edit-link { font-weight: 600; font-size: .9rem; }
.comment-form { display: grid; gap: 1rem; max-width: 640px; margin-top: 1rem; }
.comment-form p { margin: 0; }
.comment-notes, .comment-form .logged-in-as { font-size: .9rem; color: var(--bwl-muted); }
.comment-form label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .92rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; padding: .7rem .9rem; font: inherit;
  border: 1px solid var(--bwl-line); border-radius: var(--bwl-radius-sm); background: #fff;
}
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus {
  outline: none; border-color: var(--bwl-blue-bright);
  box-shadow: 0 0 0 3px rgba(28,124,229,.18);
}
.comment-form .form-submit { margin-top: .2rem; }
.no-comments { color: var(--bwl-muted); }

@media print {
  .site-header, .site-footer, .to-top, .menu-toggle, .menu-backdrop, .post-navigation, .pagination { display: none !important; }
  body { color: #000; }
}

/* =========================================================================
   19. Sponsoren-Raster (Seitenvorlage "Sponsoren-Raster")
   Verwandelt verlinkte Logos automatisch in zentrierte Chips.
   ========================================================================= */
.sponsors-content { max-width: none; }
/* Absaetze aufloesen, damit alle Logo-Links in EINEM Raster fliessen */
.sponsors-content p { display: contents; }
.sponsors-content {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
  gap: 1.3rem;
}
/* Jeder Logo-Link wird ein Chip */
.sponsors-content a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .75rem;
  background: #fff; border: 1px solid var(--bwl-line); border-radius: var(--bwl-radius);
  box-shadow: var(--bwl-shadow-sm);
  padding: 1.2rem 1.4rem 1rem;
  width: clamp(200px, 26vw, 260px); min-height: 190px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative; overflow: hidden;
}
.sponsors-content a::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--bwl-race); transform: scaleX(0); transform-origin: left;
  transition: transform .28s ease;
}
.sponsors-content a:hover { transform: translateY(-5px); box-shadow: var(--bwl-shadow); border-color: var(--bwl-blue-bright); }
.sponsors-content a:hover::before { transform: scaleX(1); }
.sponsors-content a img {
  max-width: 100%; max-height: 110px; width: auto; height: auto;
  object-fit: contain; border-radius: 0;
  cursor: pointer; /* Logo-Klick fuehrt zum Sponsor, keine Lightbox */
}
/* Namens-Tag (wird per JS aus der verlinkten Website erzeugt) */
.sponsor-name {
  font-family: var(--bwl-font-display); font-style: italic; font-weight: 600;
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--bwl-blue); background: var(--bwl-mist);
  padding: .22rem .7rem; border-radius: 3px; transform: skewX(var(--bwl-slant));
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sponsors-content a:hover .sponsor-name { background: var(--bwl-blue); color: #fff; }
/* Leere Links (Altlasten im Inhalt) ausblenden */
.sponsors-content a:empty { display: none; }
@media (max-width: 560px) {
  .sponsors-content a { width: calc(50% - .7rem); min-height: 150px; padding: .9rem .8rem .8rem; }
  .sponsors-content a img { max-height: 80px; }
}
