/* cairo-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/cairo-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cairo-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/cairo-v31-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cairo-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/cairo-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cairo-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/cairo-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cairo-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/cairo-v31-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



:root {
  --section-padding: 5rem;
  --col-hbl: #a4144f;
  --col-txt: #575756;
  --bs-nav-link-font-size: 1.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--col-txt);
  padding-top: 72px; /* Platz für fixed navbar */
  background-color: #ededed;
}
img {
  max-width: 100%;
}

.hbl {
  color: var(--col-hbl);
}
.hbl-bg {
  background-color: var(--col-hbl);
  color: #fff;
}
.font-big {
  font-size: 1.8rem;
  line-height: 2.5rem;
}
@media (max-width:767.98px) {
  .font-big {
    font-size:1.5rem;
  }
}
@media (max-width:767.98px) {
  .hidemobile {
    display:none;
  }
}

/* navbar */
.navbar {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  z-index: 1050;

  /* Verhindert, dass die Navbar breiter als das Viewport wird */
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}
.navbar.border-bottom {
  border-bottom: 15px solid #a4144f !important;
  box-sizing: border-box;
}

.navbar-brand img {
  display: block;
  max-height: 120px;
  width: auto;

  /* Sicherstellen, dass das Bild nicht übersteht */
  max-width: 100%;
  height: auto;
}







/* 2:1-optimierte Slideshow */
.hero-carousel .carousel-item {
  aspect-ratio: 2 / 1;
  height: auto;
  min-height: 220px;
  max-height: 760px;
  background: #f8f9fa;
}

.hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #f8f9fa;
}

.hero-carousel .carousel-inner {
  overflow: hidden;
}
.carousel {
  top: 89px;
}


/* sections */

.section {
  padding: var(--section-padding) 0;
}
#about.section {
  padding-top: 0 !important;
  z-index:1040;
  position: relative;
}

.section-alt {
  background: #ededed;
}

.card {
  /* background-color: #ededed !important;*/
}
.card-clean {
  border: 0;
  border-radius: 1rem;
  box-shadow:none; /* 0 10px 30px rgba(0, 0, 0, 0.06); */
}

.footer {
  border-top: 1px solid #e9ecef;
}

.nav-link {
  color: #2b2b2b;
}

.nav-link:hover,
.nav-link:focus {
  color: #000;
}

.btn-dark {
  border-radius: 999px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.kandidaten img {
  border-radius: var(--bs-border-radius-xl) !important;
}
.kandidaten h3.h5 {
  font-size: 2rem;
  color:var(--col-hbl);
  font-weight: 700;
}
.kandidaten h4 {
  font-size: 2.0rem;
  line-height: 60px;
  font-weight: 800;
  padding: 50px 0;
}

@media (max-width:767.98px) {
  .kandidaten h3.h5 {
    margin-top:15px;
  }
  .kandidaten h4 {
    font-size: 1.5rem;
    line-height: 40px;
    font-weight: 700;
    padding: 20px 0;
  }
}
@media (max-width:575.98px) {
  .kandidaten h4 {
    font-size: 1.1rem;
    line-height: 30px;
  }
}


.kandidaten h5 {
  font-size: 1.5rem;
}
.kandidaten p {
  margin-top: 20px;
  font-size: 1.2rem;
}
.kandidaten .card.last {
  border: 5px solid var(--col-hbl);
}


/* Slogan */
.slogan h3.h1 {
  font-size: 3.5rem;
  font-weight: bold;
}
@media (max-width:767.98px) {
  .slogan h3.h1 {
    font-size: 1.5rem;
    font-weight: bold;
  }
}


/* banner */
.row.banner {
  background-color: var(--col-hbl);
  border-radius: 30px;
  padding: 40px 0px;
  margin:0px;
}
.row.banner .bannericon {
  text-align: center;
  /* border-right: 4px solid #fff; */
}
.row.banner .bannericon > img {
  max-width: 120px;
}
.row.banner > .col-12 > .row {
  align-items: center;
}
.row.banner .col-12.col-md-9 {
  padding-left: 90px;
  border-left: 4px solid #fff;
  text-align:left;
}
.row.banner .col-md-9 {
  text-align: center;
}
.row.banner h4 {
  color:#fff;
  font-size: 200%;
  line-height: 150%;
  font-weight: bolder;
}
@media (max-width: 991.98px) {
  .row.banner .col-12.col-md-9 {
    padding-left: 45px;
  }
}
@media (max-width: 767.98px) {
  .row.banner .col-12.col-md-9 {
    border-left: none;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }
}




/* Orte */

.icon-orte {
  width:153px;
  height: 123px;
  display: block;
  float: left;
  background: url(../images/icon_haende.webp) no-repeat left center;
}
.ort {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 2rem;
  background: url(../images/icon_ort25.webp) no-repeat left center;
  /* background-size: contain;*/
}
.ort > span {
  display: inline-block;
  margin-left: 48px;
}

/** unter Orte **/
#gallery .col-lg-5, #gallery .col-lg-7 {
  margin-bottom: 15px;
}
#gallery .headline {
  font-size: 2rem;
  color: var(--col-txt);
  font-weight: bold;
}

.bgimg {
  position: relative;
  background-size: cover;
}
.overlay {
  background:#fff;
  color: inherit;
  position: absolute;
  left: 0px;
  bottom:0px;
  padding: 15px;
  border-top-right-radius: 20px
}
#gallery .overlay .headline {
  color: var(--col-hbl);
  font-weight: bold;
  font-size: 1.5rem;
  text-transform: uppercase;
}
.overlay p {
  padding-top: 15px;
  font-size: 1.25rem;
  margin-bottom: 0;
}

.claim {
  font-size: 2.25rem;
  font-weight: bold;
  color: var(--col-txt);
  line-height: 3rem;
  text-indent: -33px;
  margin-left: 30px;
}
.claim > span {
  font-size: 4rem;
  font-weight: bold;
  color: var(--col-hbl);
  font-family: serif;
}

#gallery .ansage {
  font-size: 1.5rem;
  color: var(--col-txt);
  font-weight: bolder;
}
#gallery .col-8 {
  border-left: 3px solid var(--col-hbl);
}
#gallery .col-lg-7 > .row {
  align-items: center;
}
#gallery .icon {
  max-width: 70%;
}


/* contact */
#contact, #contact a, #contact a:visited {
  background-color: var(--col-hbl);
  color: #fff;
}
#contact a, #contact a:visited {
  font-size: 1.5rem;
  line-height: 3rem;
  font-weight: bolder;
  text-decoration:none;
}
#contact .buergernah {
   max-width:70%;
}
@media (max-width:767.98px) {
  #contact a, #contact a:visited {
    font-size: 1.2rem;
  }
  #contact .buergernah {
     max-width:20%;
  }
}
#contact a:hover {
  text-decoration: underline;
  cursor:pointer;
}
#contact img.icon {
  max-width: 50px;
  height: auto;
  margin-right: 15px;
}
@media (max-width:767.98px) {
  #contact img.icon {
    max-width: 25px;
    height: auto;
    margin-right: 10px;
  }
}
#contact .mail,
#contact .fb,
#contact .inst {
  margin: 20px;
}
#contact .col-lg-2 {
  border-right: 2px solid #fff;
}
@media (max-width:991.98px) {
  #contact .col-lg-2 {
    border-right: none
  }
}




/* Bottom */
#bottom .icon {
  max-width: 150px;
}
#bottom h3.h2 {
  font-size: 200%;
  line-height: 200%;
}
#bottom .borderright {
  border-right: 3px solid var(--col-hbl);
}
@media (max-width:991.98px) {
  #bottom .borderright,
  #bottom .order-4 {
    border-right: none;
    text-align: center;
  }
}

@media (max-width:767.98px) {
  br.lg {
    display: none;
  }
  #bottom .btmicon {
    width: 30%;
  }
}


@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 0.75rem;
  }
  .ort {
      padding-left: 30px;
      background: url(../images/icon_ort25.webp) no-repeat 30px center;
  }
}

@media (max-width: 575.98px) {
  :root {
    --section-padding: 4rem;
  }

  .hero-carousel .carousel-item {
    min-height: 200px;
  }
}
