/* ==========================================================================
   Belle Atelier – Theme (Bootstrap 5.3)
   Gestaltung der alten Website (Schwarz, Weiss, Grün #97be0d, Open Sans),
   neu aufgebaut: mobil zuerst, ohne feste Breiten.
   Farben und Abstände: CSS-Variablen unten anpassen.
   ========================================================================== */

@font-face {
  font-family: "Open Sans";
  src: url("../Fonts/opensans-variable.woff") format("woff");
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../Fonts/opensans-italic-variable.woff") format("woff");
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-style: italic;
  font-display: swap;
}

:root {
  --ba-green: #97be0d;          /* Akzent (Logo, Links auf Schwarz) */
  --ba-green-dark: #5e7a00;     /* Links auf Weiss (Kontrast 4.9:1) */
  --ba-black: #000;
  --ba-white: #fff;
  --ba-grey: #666;              /* Fusszeile */
  --ba-grey-light: #e8e8e8;
  --ba-muted: #999;
  --ba-container: 1100px;
  --ba-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --bs-body-font-family: var(--ba-font);
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.7;
  --bs-body-color: var(--ba-white);
  --bs-body-bg: var(--ba-black);
  --bs-link-color: var(--ba-green);
  --bs-link-color-rgb: 151, 190, 13;
  --bs-link-hover-color: var(--ba-white);
  --bs-link-hover-color-rgb: 255, 255, 255;
  --bs-primary: var(--ba-green);
  --bs-primary-rgb: 151, 190, 13;
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-focus-ring-color: rgba(151, 190, 13, .5);
}

@media (min-width: 992px) {
  :root { --bs-body-font-size: 1.0625rem; }
}
@media (min-width: 1200px) {
  :root { --bs-body-font-size: 1.125rem; } /* alte Website: 18px */
}

body {
  font-family: var(--ba-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: var(--ba-container);
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

a { text-decoration: none; transition: color .15s ease, background-color .15s ease; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--ba-green); outline-offset: 2px; }

.ba-skip {
  position: absolute; top: .5rem; left: .5rem; z-index: 2000;
  background: var(--ba-green); color: #000; padding: .5rem 1rem; font-weight: 600;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --bs-btn-font-weight: 600;
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-padding-y: .6rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .875rem;
}
.btn-primary {
  --bs-btn-color: #000;
  --bs-btn-bg: var(--ba-green);
  --bs-btn-border-color: var(--ba-green);
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #b5d93a;
  --bs-btn-active-border-color: #b5d93a;
}
.btn-outline-primary {
  --bs-btn-color: var(--ba-link);
  --bs-btn-border-color: currentColor;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: var(--ba-green);
  --bs-btn-hover-border-color: var(--ba-green);
}
.btn:hover { text-decoration: none; }

/* --------------------------------------------------------------------------
   Kopfzeile (sticky) – beim Scrollen verkleinert (Klasse .is-scrolled, main.js)
   Breakpoints: Hauptnavigation ab 992 px; passt sie nicht auf eine Zeile,
   setzt main.js .is-collapsed und es erscheint der Menü-Knopf.
   -------------------------------------------------------------------------- */
.ba-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--ba-black);
  color: var(--ba-white);
  transition: box-shadow .25s ease;
}
.ba-header.is-scrolled { box-shadow: 0 1px 0 #222, 0 6px 18px rgba(0, 0, 0, .45); }
.ba-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .6rem;
  transition: padding .25s ease;
}
.ba-header__logo { flex: 0 0 auto; display: block; line-height: 0; }
.ba-header__logo img {
  width: clamp(130px, 36vw, 190px);
  height: auto;
  transition: width .25s ease;
}
.ba-header.is-scrolled .ba-header__logo img { width: 110px; }

.ba-header__right {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
}

/* Adresszeile oben rechts */
.ba-address {
  font-size: .75rem;
  line-height: 1.6;
  color: #ccc;
  text-align: right;
}
.ba-address span { white-space: nowrap; }
.ba-address span + span::before { content: "|"; margin-inline: .75em; color: #777; }
.ba-address .ba-address__br + span::before { content: none; margin: 0; }
.ba-address a { color: #ccc; }
.ba-address a:hover { color: #fff; text-decoration: none; }
.ba-address .ba-address__cta { color: var(--ba-green); font-weight: 600; }

/* Hauptnavigation */
.ba-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  column-gap: var(--ba-nav-gap, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ba-nav li { white-space: nowrap; }
.ba-nav a {
  display: block;
  padding-block: .25rem;
  color: var(--ba-white);
  font-size: var(--ba-nav-size, .9375rem);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.ba-nav a:hover,
.ba-nav a.is-active { color: var(--ba-green); text-decoration: none; }
.ba-nav a.is-active { border-bottom-color: var(--ba-green); }

/* Menü-Knopf */
.ba-menu-btn {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid #444;
  color: #fff;
}
.ba-menu-btn:hover { border-color: var(--ba-green); }
.ba-menu-btn__bars,
.ba-menu-btn__bars::before,
.ba-menu-btn__bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; position: relative;
}
.ba-menu-btn__bars::before,
.ba-menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.ba-menu-btn__bars::before { top: -7px; }
.ba-menu-btn__bars::after { top: 7px; }

/* ab 992 px: Navigation sichtbar */
@media (min-width: 992px) {
  .ba-header__bar { align-items: flex-end; padding-block: .9rem 1rem; }
  .ba-header__logo img { width: 190px; }
  .ba-header.is-scrolled .ba-header__logo img { width: 95px; }
  .ba-header.is-scrolled .ba-header__bar { padding-block: .45rem; align-items: center; }
  .ba-header__right { display: flex; }
  .ba-menu-btn { display: none; }
  .ba-header__address {
    max-height: 3.2rem;
    overflow: hidden;
    margin-bottom: .9rem;
    transition: max-height .25s ease, opacity .2s ease, margin .25s ease;
  }
  .ba-header.is-scrolled .ba-header__address { max-height: 0; opacity: 0; margin-bottom: 0; }

  /* Navigation passt nicht auf eine Zeile -> Menü-Knopf */
  .ba-header.is-collapsed .ba-header__right { display: none; }
  .ba-header.is-collapsed .ba-menu-btn { display: inline-flex; }
  .ba-header.is-collapsed .ba-header__bar { align-items: center; }
}
@media (min-width: 1200px) {
  :root { --ba-nav-gap: 2rem; --ba-nav-size: 1rem; }
  .ba-header__logo img { width: 240px; }
  .ba-header.is-scrolled .ba-header__logo img { width: 120px; }
}
@media (min-width: 1400px) {
  :root { --ba-nav-gap: 2.25rem; --ba-nav-size: 1.0625rem; }
  .ba-header__logo img { width: 274px; } /* wie bisher */
  .ba-header.is-scrolled .ba-header__logo img { width: 137px; }
}

/* Sprungziele nicht unter der Kopfzeile verstecken */
html { scroll-padding-top: 90px; }

/* --------------------------------------------------------------------------
   Bühnenbild + Unternavigation
   -------------------------------------------------------------------------- */
.ba-stage { position: relative; background: var(--ba-black); }
.ba-stage__img { display: block; }
.ba-stage__img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
@media (min-width: 768px) {
  .ba-stage__img img { aspect-ratio: 1300 / 485; max-height: 70vh; }
}

/* Smartphone: keine Unternavigation (Unterseiten im Menü) */
.ba-subnav { display: none; }

/* Tablet (768–991 px): Leiste unter dem Bild, waagrecht scrollbar */
@media (min-width: 768px) {
  .ba-stage { display: flex; flex-direction: column; }
  .ba-stage__img { order: 1; }
  .ba-subnav {
    display: block;
    order: 2;
    position: relative;
    z-index: 2;
    background: #111;
    border-bottom: 1px solid #222;
    font-size: .875rem;
    font-weight: 300;
  }
  .ba-subnav ul {
    display: flex;
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ba-subnav ul::-webkit-scrollbar { display: none; }
  .ba-subnav a {
    display: block;
    white-space: nowrap;
    padding: .7rem 1.1rem;
    color: var(--ba-white);
  }
  .ba-subnav a:hover,
  .ba-subnav a.is-active { background: var(--ba-green); color: #000; text-decoration: none; }
}

/* ab 992 px: halbtransparentes Band über dem Bild (wie bisher) */
@media (min-width: 992px) {
  .ba-stage { display: block; }
  .ba-subnav {
    position: absolute;
    inset: 0 0 auto 0;
    background: rgba(0, 0, 0, .56);
    border: 0;
  }
  .ba-stage--nobanner .ba-subnav { position: relative; background: #111; }
  .ba-subnav ul { flex-wrap: wrap; overflow: visible; }
  .ba-subnav a { padding: .45rem 1.4rem; }
  .ba-subnav li:first-child a { margin-left: -1.4rem; }
}

/* --------------------------------------------------------------------------
   Inhaltsfläche hell / dunkel
   -------------------------------------------------------------------------- */
.ba-surface {
  --ba-fg: var(--ba-white);
  --ba-bg: var(--ba-black);
  --ba-link: var(--ba-green);
  --ba-link-hover: var(--ba-white);
  --ba-heading: var(--ba-white);
  color: var(--ba-fg);
  background: var(--ba-bg);
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 8vw, 6rem);
}
.ba-surface--light {
  --ba-fg: #000;
  --ba-bg: var(--ba-white);
  --ba-link: var(--ba-green-dark);
  --ba-link-hover: #000;
  --ba-heading: #000;
  border-top: 1px solid var(--ba-grey-light);
}
.ba-surface a:not(.btn) { color: var(--ba-link); }
.ba-surface a:not(.btn):hover { color: var(--ba-link-hover); }

/* Abschnitte (Feld «Rahmen» = Hintergrund) */
.sec { padding-block: clamp(.75rem, 2vw, 1.25rem); }
.sec--light, .sec--dark, .sec--grey { padding-block: clamp(2rem, 5vw, 3.5rem); margin-block: 1rem; }
.sec--light { --ba-fg: #000; --ba-link: var(--ba-green-dark); --ba-link-hover: #000; --ba-heading: #000; background: #fff; color: #000; }
.sec--dark { --ba-fg: #fff; --ba-link: var(--ba-green); --ba-link-hover: #fff; --ba-heading: #fff; background: #000; color: #fff; }
.sec--grey { --ba-fg: #000; --ba-link: var(--ba-green-dark); --ba-link-hover: #000; --ba-heading: #000; background: #f2f2f2; color: #000; }
.sec--light a:not(.btn), .sec--dark a:not(.btn), .sec--grey a:not(.btn) { color: var(--ba-link); }
.sec--pt-extra-small { padding-top: 0; } .sec--pb-extra-small { padding-bottom: 0; }
.sec--pt-small { padding-top: 1rem; } .sec--pb-small { padding-bottom: 1rem; }
.sec--pt-medium { padding-top: 2.5rem; } .sec--pb-medium { padding-bottom: 2.5rem; }
.sec--pt-large { padding-top: 4rem; } .sec--pb-large { padding-bottom: 4rem; }
.sec--pt-extra-large { padding-top: 6rem; } .sec--pb-extra-large { padding-bottom: 6rem; }

/* --------------------------------------------------------------------------
   Überschriften und Fliesstext
   -------------------------------------------------------------------------- */
.ce-head { margin-bottom: 1.25rem; }
.ce-h,
.rte h2, .rte h3 {
  color: var(--ba-heading);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .005em;
}
.ce-h { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.6rem); margin: 0; }
.ce-h--3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.3rem); }
.ce-h--4 { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ce-h a { color: inherit !important; }
.ce-sub { margin: .35rem 0 0; color: var(--ba-muted); font-size: 1.05em; }

.rte { max-width: none; }
.rte > :last-child { margin-bottom: 0; }
.rte p, .rte ul, .rte ol, .rte table { margin-bottom: 1em; }
.rte h2 { font-size: clamp(1.2rem, 1rem + .9vw, 1.5rem); margin: 1.5em 0 .75em; }
.rte h3 { font-size: 1.2rem; margin: 1.25em 0 .5em; }
.rte h2:first-child, .rte h3:first-child { margin-top: 0; }
.rte h2.text-center, .rte p.text-center { max-width: none; }
.rte ul { padding-left: 1.25em; }
.rte li + li { margin-top: .25em; }
.rte strong { font-weight: 700; }
.text-justify { text-align: justify; hyphens: auto; }

/* Tabellen (auch alte Layout-Tabellen): mobil untereinander */
.rte table { border-collapse: collapse; }
.rte td, .rte th { vertical-align: top; padding: 0 2rem .5rem 0; }
.rte td p { margin-bottom: .5em; }
@media (max-width: 767.98px) {
  .rte table:not(.table), .rte table:not(.table) tbody, .rte table:not(.table) tr, .rte table:not(.table) td { display: block; width: 100%; }
  .rte table:not(.table) td { padding: 0 0 .5rem; }
}
.rte table.table { --bs-table-bg: transparent; --bs-table-color: inherit; --bs-table-border-color: rgba(128,128,128,.35); width: 100%; max-width: 36rem; }
.rte table.table td { padding: .45rem 1rem .45rem 0; }

/* Trenner (zwei Trenner hintereinander, z. B. um verborgene Inhalte: nur einer) */
.ce--div + .ce--div,
.ce--div:not(:has(~ :not(.ce--div))) { display: none; } /* Trenner am Ende (nach verborgenen Inhalten) */
.ce--div hr, hr.ce-div {
  border: 0;
  border-top: 1px solid currentColor;
  opacity: .18;
  margin: clamp(1.25rem, 3vw, 2rem) 0;
}

/* HTML-Elemente (Karte, Video, Widgets): Iframes passen sich der Breite an */
.ce--html iframe { display: block; max-width: 100%; border: 0; margin-inline: auto; }
.ce--html iframe[src*="google.com/maps"] { width: 100%; }
.ce--html iframe[src*="youtube"],
.ce--html iframe[src*="vimeo"] { width: 100%; max-width: 860px; height: auto; aspect-ratio: 16 / 9; }

/* --------------------------------------------------------------------------
   Text & Medien
   -------------------------------------------------------------------------- */
.tm { display: flex; flex-direction: column; gap: 1.5rem; }
.tm--below .tm-medias { order: 2; }
.tm-medias { display: grid; gap: 1rem; }
.tm--above .tm-medias, .tm--below .tm-medias { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tm-text { min-width: 0; }
.tm--right .tm-medias, .tm--left .tm-medias { max-width: min(100%, var(--tm-w, 480px)); }

@media (min-width: 768px) {
  .tm--right, .tm--left { flex-direction: row; align-items: flex-start; gap: clamp(1.5rem, 4vw, 3rem); }
  .tm--right .tm-medias { order: 2; }
  .tm--right .tm-medias, .tm--left .tm-medias { flex: 0 0 min(40%, var(--tm-w, 40%)); max-width: none; }
  .tm--right .tm-text, .tm--left .tm-text { flex: 1 1 auto; }
}

/* --------------------------------------------------------------------------
   Bilder / Bildraster
   -------------------------------------------------------------------------- */
.ba-media { margin: 0; }
.ba-media img { display: block; width: 100%; height: auto; }
.ba-media__link { display: block; color: inherit; }
.ba-media__link:hover { text-decoration: none; }
.ba-media__link img { transition: opacity .2s ease, transform .3s ease; }
.ba-media__link:hover img { opacity: .85; }
.ba-media__caption {
  margin-top: .6rem;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ba-muted);
  text-align: center;
}
.ba-media__link:hover .ba-media__caption { color: var(--ba-link); }
.ba-media__zoom { display: block; cursor: zoom-in; }

.ba-grid { display: grid; gap: clamp(1rem, 3vw, 2rem); grid-template-columns: 1fr; align-items: start; }
.ba-grid--2, .ba-grid--3, .ba-grid--4, .ba-grid--5, .ba-grid--6 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
  .ba-grid--3, .ba-grid--4, .ba-grid--5, .ba-grid--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
  .ba-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .ba-grid--5 { grid-template-columns: repeat(5, 1fr); }
  .ba-grid--6 { grid-template-columns: repeat(6, 1fr); }
}

/* Video (YouTube/Vimeo) erst nach Klick */
.ba-embed {
  position: relative; aspect-ratio: 16 / 9; background: #111;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; color: #fff;
}
.ba-embed__play {
  width: 72px; height: 72px; border-radius: 50%; border: 0;
  background: var(--ba-green); color: #000; font-size: 1.5rem;
}
.ba-embed__note { color: #bbb; text-align: center; padding-inline: 1rem; }
.ba-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Bild vergrössern */
.ba-lightbox .modal-content { background: transparent; border: 0; }
.ba-lightbox img { display: block; max-width: 100%; max-height: 85vh; margin-inline: auto; }

/* --------------------------------------------------------------------------
   Fusszeile – Smartphone: nur Öffnungszeiten und Kontakt
   -------------------------------------------------------------------------- */
.ba-footer {
  background: var(--ba-grey);
  color: #eee;
  font-size: .875rem;
  line-height: 1.6;
  padding-block: clamp(2rem, 5vw, 2.75rem) 0;
}
.ba-footer a { color: #eee; }
.ba-footer a:hover { color: #fff; text-decoration: underline; }
.ba-footer .ce + .ce { margin-top: 1.25rem; }
.ba-footer .ce-head { margin-bottom: .4rem; }
.ba-footer .ce-h {
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
}
.ba-footer .rte { max-width: none; }
.ba-footer .rte p { margin: 0 0 .5em; }
.ba-footer .rte ul { list-style: none; padding: 0; margin: 0; }
.ba-footer .rte li + li { margin-top: .15em; }
.ba-footer .tm { gap: 1rem; flex-direction: column !important; }
.ba-footer .tm-medias { max-width: 160px; flex: none !important; order: 2; }
.ba-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-block: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: .8125rem;
  color: #ddd;
}
.ba-footer__bottom > :first-child { margin-right: auto; }
@media (max-width: 575.98px) {
  .ba-footer__bottom > :first-child { flex-basis: 100%; }
}
@media (max-width: 767.98px) {
  .ba-footer__col--links { display: none; }
}

/* Smartphone/Tablet: feste Leiste «Anrufen | Termin buchen» */
.ba-actionbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1020;
  display: flex;
  background: #000;
  border-top: 1px solid #222;
  padding-bottom: env(safe-area-inset-bottom);
}
.ba-actionbar__btn {
  flex: 1 1 0;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px;
  color: #fff !important;
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ba-actionbar__btn:hover { text-decoration: none; background: #111; }
.ba-actionbar__btn--primary { background: var(--ba-green); color: #000 !important; }
.ba-actionbar__btn--primary:hover { background: #b5d93a; }
@media (max-width: 991.98px) {
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
}
@media (min-width: 992px) {
  .ba-actionbar { display: none; }
}

/* --------------------------------------------------------------------------
   Aktuell (EXT:news)
   -------------------------------------------------------------------------- */
.ba-news-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.ba-news-card { display: flex; flex-direction: column; background: var(--ba-card-bg, rgba(127, 127, 127, .08)); }
.ba-news-card__img { display: block; overflow: hidden; line-height: 0; }
.ba-news-card__img img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.ba-news-card:hover .ba-news-card__img img { transform: scale(1.03); }
.ba-news-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.25rem 1.5rem; }
.ba-news-card__title { font-size: 1.15rem; font-weight: 600; line-height: 1.35; margin: 0 0 .6rem; }
.ba-news-card__title a { color: var(--ba-heading) !important; }
.ba-news-card__teaser { font-size: .9375rem; line-height: 1.6; margin-bottom: 1rem; }
.ba-news-card .ba-more { margin-top: auto; }
.ba-news-date {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ba-link);
  margin: 0 0 .4rem;
}
.ba-more { font-weight: 700; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.ba-more::after { content: " →"; }
.ba-more--back::after { content: none; }
.ba-more--back::before { content: "← "; }

/* erster Beitrag gross */
.ba-news-card--top { margin-bottom: clamp(1.5rem, 3vw, 2rem); }
@media (min-width: 768px) {
  .ba-news-card--top { flex-direction: row; }
  .ba-news-card--top .ba-news-card__img { flex: 0 0 55%; }
  .ba-news-card--top .ba-news-card__img img { height: 100%; }
  .ba-news-card--top .ba-news-card__body { padding: clamp(1.5rem, 3vw, 2.5rem); justify-content: center; }
  .ba-news-card--top .ba-news-card__title { font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); font-weight: 400; }
  .ba-news-card--top .ba-news-card__teaser { font-size: 1rem; }
  .ba-news-card--top .ba-more { margin-top: 0; }
}

.ba-pager ul { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.ba-pager a, .ba-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; border: 1px solid currentColor; }
.ba-pager span[aria-current] { background: var(--ba-green); border-color: var(--ba-green); color: #000; }
.ba-pager a:hover { text-decoration: none; background: rgba(127, 127, 127, .15); }

/* Detailansicht */
.ba-news-single__head { max-width: 50rem; margin-bottom: 2rem; }
.ba-news-single__title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); font-weight: 400; line-height: 1.25; margin: 0; color: var(--ba-heading); }
.ba-news-single__body { display: grid; gap: 2rem; }
@media (min-width: 992px) {
  .ba-news-single__body { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; align-items: start; }
  .ba-news-single__body--nomedia { grid-template-columns: minmax(0, 50rem); }
  .ba-news-single__media { position: sticky; top: 90px; }
}
.ba-news-single__media { display: grid; gap: 1rem; }
.ba-files { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.ba-files a::before { content: "↓ "; }
.ba-news-back { margin: 2.5rem 0 0; }

/* --------------------------------------------------------------------------
   Mobile Navigation (Offcanvas)
   -------------------------------------------------------------------------- */
.ba-offcanvas {
  --bs-offcanvas-width: min(88vw, 380px);
  --bs-offcanvas-bg: #000;
  --bs-offcanvas-color: #fff;
  border-left: 1px solid #222 !important;
}
.ba-offcanvas .offcanvas-header { border-bottom: 1px solid #222; }
.ba-mnav, .ba-mnav ul { list-style: none; margin: 0; padding: 0; }
.ba-mnav > li { border-bottom: 1px solid #222; }
.ba-mnav__top, .ba-mnav summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 0;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  cursor: pointer;
  list-style: none;
}
.ba-mnav summary::-webkit-details-marker { display: none; }
.ba-mnav summary::after {
  content: ""; width: .6rem; height: .6rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-right: .25rem; transition: transform .2s;
}
.ba-mnav details[open] > summary::after { transform: rotate(-135deg); }
.ba-mnav .is-active, .ba-mnav__top:hover, .ba-mnav summary:hover { color: var(--ba-green); text-decoration: none; }
.ba-mnav details ul { padding: 0 0 .75rem .75rem; }
.ba-mnav details a { display: block; padding: .45rem 0; color: #ddd; font-weight: 300; }
.ba-mnav details a[aria-current="page"] { color: var(--ba-green); font-weight: 600; }
.ba-address--mobile { text-align: left; font-size: .875rem; }
.ba-address--mobile span { display: block; }
.ba-address--mobile span + span::before { content: none; }
.ba-address--mobile .ba-address__br { display: none; }

/* --------------------------------------------------------------------------
   Druck
   -------------------------------------------------------------------------- */
@media print {
  .ba-subnav, .ba-menu-btn, .ba-nav, .ba-offcanvas, .ba-actionbar { display: none !important; }
  .ba-header { position: static; }
  .ba-surface, body { background: #fff !important; color: #000 !important; }
}
