@charset "UTF-8";

/* Farbsystem */
/*------------------------------------*/

/* Farben des Inhaltsbereichs. Navbar und Footer nutzen weiterhin #102694 / #ffe600 */
:root {
  --bh-navy: #14306a;
  --bh-accent: #2c64ad;
  --bh-accent-hover: #1d4a87;
  --bh-text: #475569;
  --bh-surface: #f3f6fb;
  --bh-texture-bg: #eef0f2;
  --bh-border: #e3eaf4;
  --bh-border-strong: #d5dfed;
  --bh-line: #c9d6ec;
  --bh-cta-from: #0e2a5c;
  --bh-cta-to: #1a3f80;
  --bh-shade-rgb: 14, 42, 92;
}

/* Bootstrap-Farben nur innerhalb von <main> umstellen – Navbar (header) und Footer
   liegen ausserhalb und behalten so ihre bisherigen Farben */
main {
  --bs-body-color: var(--bh-text);
  --bs-heading-color: var(--bh-navy);
  --bs-primary: var(--bh-accent);
  --bs-primary-rgb: 44, 100, 173;
  --bs-dark-rgb: 20, 48, 106;
  --bs-link-color: var(--bh-accent);
  --bs-link-color-rgb: 44, 100, 173;
  --bs-link-hover-color: var(--bh-accent-hover);
  --bs-link-hover-color-rgb: 29, 74, 135;
  --bs-border-color: var(--bh-border);
  --bs-border-color-translucent: var(--bh-border);
  color: var(--bs-body-color);
}

main .btn-primary {
  --bs-btn-bg: var(--bh-accent);
  --bs-btn-border-color: var(--bh-accent);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--bh-accent-hover);
  --bs-btn-hover-border-color: var(--bh-accent-hover);
  --bs-btn-focus-shadow-rgb: 44, 100, 173;
  --bs-btn-active-bg: var(--bh-accent-hover);
  --bs-btn-active-border-color: var(--bh-accent-hover);
}

main .card {
  box-shadow: 0 2px 10px rgba(20, 48, 106, 0.05);
}

body {
  background-color: var(--bh-surface);
}

/* Sticky Footer: Auf kurzen Seiten füllt der Inhaltsbereich den freien Platz, der Footer
   sitzt am unteren Bildschirmrand. dvh berücksichtigt die Adressleiste auf dem Handy,
   100vh ist die Rückfallebene für ältere Browser. */
#layoutDefault {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

#layoutDefault_content {
  flex: 1 0 auto;
}

/* Betontextur für einzelne Inhaltsbänder; flow-root hält die Abstände
   der Plugins innerhalb der Fläche. overflow-x: clip schneidet Slide-Animationen
   (scrollCue slideInLeft/Right, ±30px) ab, damit die Seite auf dem Handy nicht
   kurz breiter wird und seitlich wackelt */
.bg-texture {
  display: flow-root;
  overflow-x: clip;
  background-color: var(--bh-texture-bg);
  background-image: url("../assets/images/background.26d9234f52d6.webp");
  background-position: center;
  background-attachment: fixed;
  background-size: contain;
}

/* Handys und Tablets: iOS ignoriert background-attachment: fixed und würde das Bild
   dann auf die ganze Höhe des Abschnitts skalieren (stark gezoomt, unscharf, je Seite
   anders). Darum hier nach der Breite skalieren und vertikal wiederholen */
@media (max-width: 991.98px), (hover: none) {
  .bg-texture {
    background-attachment: scroll;
    background-position: center top;
    background-size: 100% auto;
    background-repeat: repeat-y;
  }
}

.clip-x {
  overflow-x: clip;
}

.bg-cta-banholzer {
  background-image: linear-gradient(90deg, var(--bh-cta-from), var(--bh-cta-to));
}

/* Dienstleistungsseiten: Sprung-Buttons im Seitenkopf und Kontakt-Banner */
.jump-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--bh-border-strong);
  border-radius: 999px;
  background-color: #ffffff;
  color: var(--bh-accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.jump-link:hover,
.jump-link:focus-visible {
  background-color: var(--bh-accent);
  border-color: var(--bh-accent);
  color: #ffffff;
}

/* Abstand zur mitlaufenden Navbar beim Anspringen */
.section-anchor {
  scroll-margin-top: 6rem;
}

.cta-banner__text {
  flex: 1 1 26rem;
  max-width: 39rem;
}

.cta-banner__actions {
  flex: 1 1 16rem;
  max-width: 20rem;
}

.btn-cta-outline {
  --bs-btn-color: #ffffff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.7);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.12);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.7);
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: rgba(255, 255, 255, 0.2);
  --bs-btn-active-border-color: #ffffff;
}

.cta-mail {
  color: #ffffff;
  text-decoration: none;
}

.cta-mail:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* General Code*/
/*------------------------------------*/
.bg-banholzer {
  --bs-bg-opacity: 1;
  background-color: #102694 !important;
  /*rgba(16, 38, 148, 0.25);*/
}

.border-banholzer {
  border-color: #102694 !important;
}

.bg-white-banholzer {
  background-color: var(--bh-surface) !important;
}

@font-face {
  font-family: "Stencil";
  src: url("../assets/fonts/stencil/StagStencil-Bold-Web.c76a0241d50d.woff2") format("woff2"),
    url("../assets/fonts/stencil/StagStencil-Bold-Web.24ccc77e43f2.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

/* Public Sans (Grundschrift), lokal statt über Google Fonts. Variable Font, deckt alle Gewichte ab.
   latin-ext wird nur geladen, wenn die Seite solche Zeichen enthält. Lizenz: assets/fonts/public-sans/OFL.txt */
@font-face {
  font-family: "Public Sans";
  src: url("../assets/fonts/public-sans/public-sans-latin-wght-normal.e4c9b081863a.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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";
  src: url("../assets/fonts/public-sans/public-sans-latin-ext-wght-normal.d0a5d26ee7e7.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}

@font-face {
  font-family: "Public Sans";
  src: url("../assets/fonts/public-sans/public-sans-latin-wght-italic.5ac660b00f40.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  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";
  src: url("../assets/fonts/public-sans/public-sans-latin-ext-wght-italic.70c4758ac72a.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  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;
}

.StagStencil-Bold-Web {
  font-family: "Stencil";
  font-weight: 700;
  font-style: normal;
}

.hero-banholzer {
  align-items: center;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.navbar-banholzer {
  --bs-navbar-color: #ffffff !important;
  --bs-navbar-hover-color: #ffe600 !important;
}

::-moz-selection {
  color: #102694 !important;
  background: #ffe600 !important;
}

::selection {
  color: #102694 !important;
  background: #ffe600 !important;
}

.bg-gradient-banholzer {
  background-color: #102694 !important;
  /*background-image: linear-gradient(135deg, #102694 0%, rgba(85, 5, 160, 0.8) 100%) !important;*/
  background-image: linear-gradient(135deg,
      #102694 0%,
      #102694 100%) !important;
}

.bg-gradient-banholzer-blue {
  background-color: #102694 !important;
  /*background-image: linear-gradient(135deg, #102694 0%, rgba(85, 5, 160, 0.8) 100%) !important;*/
  background-image: linear-gradient(135deg,
      #102694 0%,
      #0061f2 100%) !important;
}

.footer-text-banholzer {
  color: #ffe600 !important;
  font-family: Stencil;
  font-size: 1.5rem !important;
  font-weight: normal !important;
  letter-spacing: 1px;
}

.footer-text-banholzer-secnd {
  color: #ffffff !important;
  opacity: 0.95;
  font-weight: bold;
}

/* Textlinks im Footer (Mail, Telefon, Impressum …): Theme-Hover (.text-reset:hover = Blau) wäre auf dem
   blauen Footer unsichtbar. Social-Buttons (.btn) behalten ihren eigenen Hover. */
.footer-phone-hours {
  font-size: 0.875rem;
  font-weight: normal;
}

.footer-banholzer a:not(.btn):hover,
.footer-banholzer a:not(.btn):focus-visible {
  color: #ffe600 !important;
}

.text-primary-banholzer {
  color: #363d47 !important;
}

.footer-image-banholzer {
  width: 30% !important;
}

/* Immer gleich grosse Fläche, egal welches Bild in den Website-Einstellungen hinterlegt ist */
.footer-image-banholzer img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: right center;
}

.py-10-ban {
  padding-top: 6rem !important;
}

.text-color-banholzer {
  color: var(--bh-accent) !important;
}

.text-banholzer-logo {
  color: #ffe600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.text-banholzer-yellow {
  color: #ffe600 !important;
  font-family: Stencil;
  letter-spacing: 1px;
}

.page-header-ui-ban {
  position: relative;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.page-headline-ban {
  font-family: Stencil !important;
  color: black !important;
  font-size: clamp(1rem, 6vw, 3rem);
  text-align: center;
  border-color: #ffe600 !important;
}

.h1-add-ban {
  font-size: calc(1.5rem + 0.3vw) !important;
}

.icon-link-banholzer {
  color: var(--bh-accent) !important;
}

.icon-link-banholzer:hover {
  color: var(--bh-accent-hover) !important;
}

.icon-link > .icon-tabler {
  flex-shrink: 0;
  transition: transform 0.2s ease-in-out;
}

.icon-link-hover:hover > .icon-tabler,
.icon-link-hover:focus-visible > .icon-tabler {
  transform: var(--bs-icon-link-transform, translate3d(0.25em, 0, 0));
}

@media (prefers-reduced-motion: reduce) {
  .icon-link > .icon-tabler {
    transition: none;
  }
}

/* Theme-Icons als Tabler-SVG (Maske), die Farbe kommt von color. Das Theme setzt hier noch die
   Schrift bootstrap-icons, die es nicht mehr gibt: content ersetzt das Zeichen. */
.navbar .dropdown .dropdown-toggle::after {
  content: "";
  width: 1em;
  height: 1.5rem;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") center / 1em no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") center / 1em no-repeat;
}

.btn-scroll-top::after {
  content: "";
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5l0 14'/%3E%3Cpath d='M18 11l-6 -6'/%3E%3Cpath d='M6 11l6 -6'/%3E%3C/svg%3E") center / 1.5rem no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5l0 14'/%3E%3Cpath d='M18 11l-6 -6'/%3E%3Cpath d='M6 11l6 -6'/%3E%3C/svg%3E") center / 1.5rem no-repeat;
}

/* Im Theme vorgesehen, auf der Website ungenutzt: ohne Schrift kein Ersatzzeichen anzeigen */
.blockquote::before,
.accordions-icon > a::before,
.swiper-button-prev::after,
.swiper-button-next::after {
  content: none;
}

/* Flotte-Tabs (inaktiv) und Standort-Auswahl auf Kontakt */
.nav-lb-tab .nav-item .nav-link {
  color: var(--bh-text);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: rgba(var(--bs-primary-rgb), 0.1);
}

@media screen and (max-width: 768px) {
  .footer-image-banholzer {
    display: none;
  }

  .footer-banholzer {
    padding-top: 2.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  #cards-banholzer {
    padding-top: 2.5rem !important;
  }

  .navbar-banholzer {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  .navbar-toggler-banholzer {
    padding-top: 1rem !important;
    padding-bottom: 0rem !important;
  }

  .px-10-ban {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .team-foto {
    height: 30vh;
  }
  
}

/* Navbar bleibt oben (sticky). Auf Handy/Tablet blendet js/header.js sie beim
   Herunterscrollen aus (.site-header--hidden) und beim Hochscrollen wieder ein.
   Ausgeblendet wird über top statt transform: transform würde das Offcanvas-Menü
   (position: fixed) an den Header binden. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: top 0.25s ease, box-shadow 0.25s ease;
}

.site-header--scrolled {
  box-shadow: 0 2px 12px rgba(var(--bh-shade-rgb), 0.25);
}

.site-header--hidden {
  top: calc(-1 * var(--site-header-height, 80px) - 12px);
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

/* Navbar */
@media screen and (max-width: 990px) {
  .dropdown-item {
    color: white !important;
  }
}

/* Ab dem Aufklapp-Breakpoint (navbar-expand-lg) steht der Pfeil in der Textzeile
   statt als Float. Das Theme setzt float:right, wodurch der Pfeil nicht zur
   Mindestbreite des Links zählt und bei knappem Platz unter das Label fällt. */
@media screen and (min-width: 992px) {
  .navbar-banholzer .navbar-nav .dropdown-toggle::after {
    float: none;
    display: inline-block;
    margin-left: 0.375rem;
    line-height: 1;
    vertical-align: middle;
  }

  /* Der Pfeil zählt jetzt zur Breite mit — das Padding wird von 1rem auf
     0.75rem reduziert, damit die Menüpunkte nicht gestaucht werden. */
  .navbar-banholzer .navbar-nav .nav-item .nav-link {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    white-space: nowrap;
  }
}

@media screen and (min-width: 769px) {
  .footer-image-grid-banholzer {
    display: grid !important;
    justify-items: end;
  }

  .carousel-banholzer {
    padding-right: 2.5rem !important;
    padding-left: 2.5rem !important;
    container-type: normal;
  }

  .container-banholzer {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
  }

  .footer-banholzer {
    padding-top: 2rem !important;
    padding-bottom: 0.5rem !important;
  }

  .footer-slogan-banholzer {
    padding-top: 30px;
  }

  .px-10-ban {
    padding-left: 6rem !important;
    padding-right: 6rem !important;
  }

  #cards-banholzer {
    padding-top: 3rem !important;
  }

  .team-foto {
    height: 50vh;
  }

}

/* Büroarbeiter Code */
/*------------------------------------*/

.card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Horizontale Zentrierung */
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  /* Abstand zwischen den Zeilen */
}

.contact-item:last-child {
  margin-bottom: 0;
  /* Entfernen Sie den unteren Rand des letzten Elements */
}

.contact-item .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-team-name {
  margin-left: 0.5rem;
  /* Abstand zwischen Icon und Text */
}

/* News Carousel Code*/
/*------------------------------------*/
@media (max-width: 768px) {
  .carousel-inner .carousel-item>div {
    display: none;
  }

  .carousel-inner .carousel-item>div:first-child {
    display: block;
  }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
  display: flex;
}

/* Timeline Code*/
/*------------------------------------*/

/* Vertikaler Zeitstrahl: auf dem Handy Linie links, ab Tablet Linie in der Mitte
   und die Karten abwechselnd links / rechts */
.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  width: 2px;
  background-color: var(--bh-line);
}

.timeline__item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 3rem;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__dot {
  position: absolute;
  top: 1.5rem;
  left: calc(1rem - 8px);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid var(--bh-accent);
}

/* Jahreszahl unten links auf dem Foto, lesbar dank .news-hero-scrim */
.timeline__year {
  font-family: Stencil;
  font-size: 2.75rem;
  line-height: 1;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(var(--bh-shade-rgb), 0.6);
}

@media screen and (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline__item {
    width: 50%;
    padding-left: 0;
    padding-right: 3rem;
  }

  .timeline__item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 3rem;
  }

  /* Versatz, damit die Karten ineinandergreifen */
  .timeline__item:nth-child(n+2) {
    margin-top: -5rem;
  }

  .timeline__dot {
    left: auto;
    right: -9px;
  }

  .timeline__item:nth-child(even) .timeline__dot {
    right: auto;
    left: -9px;
  }
}

/* News / Blog Code */
/*------------------------------------*/

/* Feste 16:9-Bildfläche: zeigt 16:9-Fotos vollständig an,
   abweichende Formate werden mittig zugeschnitten */
.news-media-16x9 {
  display: block;
  aspect-ratio: 16 / 9;
}

/* News-Einzelansicht */
.news-lead {
  color: var(--bh-navy);
  font-size: 1.125rem;
}

.news-media img {
  width: 100%;
  height: auto;
}

.news-media .carousel,
.news-media .lightbox-link {
  border-radius: 0.75rem;
  overflow: hidden;
}

.news-media .carousel-indicators {
  display: none;
}

.news-media .carousel-control-prev,
.news-media .carousel-control-next {
  width: 3.5rem;
  opacity: 1;
}

.news-media .carousel-control-prev-icon,
.news-media .carousel-control-next-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  background-size: 1.25rem;
}

.news-media .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314306a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6l6 6'/%3E%3C/svg%3E");
}

.news-media .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314306a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6l-6 6'/%3E%3C/svg%3E");
}

.news-carousel__counter {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background-color: rgba(var(--bh-shade-rgb), 0.8);
  color: #ffffff;
  font-size: 0.8125rem;
  pointer-events: none;
}

.news-nav {
  border-top: 1px solid var(--bh-border);
}

.news-nav .icon-link {
  align-items: flex-start;
  max-width: 48%;
}

/* News-Karten auf der Startseite */
.news-media-16x10 {
  display: block;
  aspect-ratio: 16 / 10;
}

.news-card {
  border: 1px solid var(--bh-border);
  border-radius: 0.75rem;
}

.news-card__date {
  font-size: 0.875rem;
  color: var(--bh-text);
}

.news-card__footer {
  align-items: flex-start;
  background-color: transparent;
  border-top: 1px solid var(--bh-border);
  padding: 0.875rem 1.5rem;
}

/* Bild-Zoom beim Hover über die ganze Karte, Fokusrahmen für die Tastatur */
.news-card:hover .zoom-img img {
  transform: scale(1.05);
}

.news-card:focus-within {
  outline: 2px solid var(--bh-accent);
  outline-offset: 2px;
}

/* Abdunklung am unteren Bildrand, damit der Titel auf dem Foto lesbar bleibt */
.news-hero-scrim {
  height: 70%;
  pointer-events: none;
  background-image: linear-gradient(180deg,
      rgba(var(--bh-shade-rgb), 0) 0%,
      rgba(var(--bh-shade-rgb), 0.25) 45%,
      rgba(var(--bh-shade-rgb), 0.85) 100%);
}

/* Seitenbild der zweispaltigen News-Karten braucht auf dem Handy eine eigene Höhe,
   da es als Hintergrundbild ohne Inhalt gesetzt ist */
.news-card-media {
  min-height: 14rem;
}

@media screen and (min-width: 768px) {
  .news-card-media {
    min-height: 0;
  }

  /* Weisse Schrift erst ab Tablet, wo der Text über dem Foto liegt */
  .text-md-white-stable {
    color: #ffffff !important;
  }
}

/* Aktive Seite in den News-Seitenbuttons: Theme setzt hier sonst sein eigenes Violett */
.pagination {
  --bs-pagination-active-bg: var(--bh-accent);
  --bs-pagination-active-border-color: var(--bh-accent);
}

/* Impressum / Datenschutz Code */
/*------------------------------------*/

/* Der Text kommt als CKEditor-Block aus dem CMS – Abstände und Trennlinien
   werden hier gesetzt, damit im Editor nur Überschriften und Absätze nötig sind */
.legal-text h1 + p {
  font-size: 1.25rem;
  font-weight: 500;
}

.legal-text hr {
  margin: 2rem 0;
}

.legal-text a {
  color: inherit;
}

.legal-text h2 {
  margin-top: 2rem;
  padding-top: 2rem;
  margin-bottom: 1rem;
  border-top: 1px solid var(--bs-border-color);
}

/* Baustellen Avatar Sizing */
/*------------------------------------*/

@media screen and (max-width: 1400px) {
  .avatar-banholzer {
    height: 10rem !important;
    width: 10rem !important;
  }
}

@media screen and (max-width: 990px) {
  .avatar-banholzer {
    height: 16rem !important;
    width: 16rem !important;
  }
}

/* Handy: zwei Karten nebeneinander, das Foto füllt die Kartenbreite */
@media screen and (max-width: 767.98px) {
  .avatar-banholzer {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1;
  }
}

@media screen and (min-width: 1400px) {
  .avatar-banholzer {
    height: 16rem !important;
    width: 16rem !important;
  }
}
/* PhotoBanner Karussell Code*/
/*------------------------------------*/
.hero-photobanner {
  position: relative;
}

.hero-photobanner-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.hero-photobanner-bg .carousel-inner,
.hero-photobanner-bg .carousel-item {
  height: 100%;
}

.hero-photobanner-bg .carousel-item>picture {
  display: block;
  height: 100%;
  flex: 1 0 100%;
}

.hero-photobanner-bg .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photobanner-scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
      rgba(var(--bh-shade-rgb), 0.8) 0%,
      rgba(var(--bh-shade-rgb), 0.45) 45%,
      rgba(var(--bh-shade-rgb), 0) 80%);
}

@media (max-width: 991.98px) {
  .hero-photobanner-scrim {
    background: linear-gradient(180deg,
        rgba(var(--bh-shade-rgb), 0.45) 0%,
        rgba(var(--bh-shade-rgb), 0.6) 100%);
  }
}

.hero-photobanner-content {
  position: relative;
  z-index: 2;
  flex: 1 1 100%;
  width: 100%;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
