/* Eigene Ergänzungen zum Original-Theme (assets/legacy). Kein Build-Schritt. */
/* Public Sans, selbst gehostet (Google Fonts, OFL), Variable Font 100-900, latin + latin-ext. */
@font-face {
  font-family: 'Public Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/public-sans-italic-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/public-sans-italic.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/public-sans-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/public-sans.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Font Awesome ist nicht eingebunden (Fremd-CDN): leere Icon-Elemente verhalten sich wie mit der FA-Grundregel (Breite, Zeilenhöhe). */
/* Wie die Font-Awesome-Grundregel: nur Elemente mit Stil-Klasse (fa-solid, fa-light …) sind inline-block; ein leeres
   <i class="me-3 fa-fw"> im Handy-Menü bleibt wie live inline (ohne Breite). */
i:is([class*="fa-solid"], [class*="fa-regular"], [class*="fa-light"], [class*="fa-thin"], [class*="fa-duotone"], [class*="fa-sharp"], [class*="fa-brands"], .fa, .fas, .far, .fal, .fad, .fab) { display: inline-block; font-style: normal; line-height: 1; text-rendering: auto; }
i:is([class*="fa-solid"], [class*="fa-regular"], [class*="fa-light"], [class*="fa-thin"], [class*="fa-duotone"], [class*="fa-sharp"], [class*="fa-brands"], .fa, .fas, .far, .fal, .fad, .fab).fa-fw { width: 1.25em; }
/* Geöffnetes Handy-Menü schiebt die Seite nach rechts: kein seitlicher Überlauf (sonst zoomt das Handy heraus). */
html:has(body.mm-wrapper--opened) { overflow-x: hidden; }

/* Einwilligung externe Medien (inc/consent.php): Platzhalter füllen die Video-Box bzw. die Breite des Spotify-Players. */
div.jm-consent[data-service] { display: block; width: 100%; min-width: 0; }
.responsive-video > div.jm-consent[data-service] { position: absolute; inset: 0; height: 100%; min-height: 0; }
.responsive-video > div.jm-consent[data-service]::before { content: none; }
/* Spotify: inline-block wie das iframe auf live (Grundlinien-Abstand darunter, sonst 7px kürzer). */
div.jm-consent[data-service="spotify"] { display: inline-block; vertical-align: baseline; border-radius: 12px; overflow: hidden; background-color: #1f1f1f; }
div.jm-consent[data-service="spotify"]::before { content: none; }
div.jm-consent[data-service] iframe { border: 0; }

/* Montserrat 400 für das eingebettete Newsletter-Formular (ActiveCampaign, live per fonts.bunny.net) – lokal statt Fremdserver. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/montserrat-latin.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/montserrat-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* Hero-Buttons: nebeneinander wie TYPO3 (12px Abstand = me-2 + Leerzeichen); auf schmalen Handys
   (< ~370px) umbrechend mit 8px Abstand statt aneinanderklebend und sauber zentriert. */
.jm-hero-btns { display: flex; flex-wrap: wrap; justify-content: center; column-gap: .75rem; row-gap: .5rem; }
@media (min-width: 768px) { .jm-hero-btns { justify-content: flex-start; } }
