:root {
  --bs-primary: #b8973f;
  --bs-primary-rgb: 184, 151, 63;
  --bs-link-color: #b8973f;
  --bs-link-color-rgb: 184, 151, 63;
  --bs-link-hover-color: #9a7d33;
  --bs-link-hover-color-rgb: 154, 125, 51;
}

.list-inline-item a {
  text-decoration: none;
}

h2 a {
  color: #b8973f !important;
}

.lead a {
  color: #b8973f !important;
  text-decoration: none;  
}

.small-text a strong {
  color: #b8973f !important;
  text-decoration: none;
}

.small-text a {
  text-decoration: none;
}

.navbar-mainnavigation .nav-link.active::after,
.navbar-mainnavigation .nav-link:hover::after {
  background-color: #b8973f !important;
}

.navbar-mainnavigation .nav-link.nav-link-main:before {
  background-color: #b8973f !important;
}

.features-icons-icon .bi {
  color: #b8973f !important;
}

.form-actions .form-navigation .btn-primary {
  border-color: #b8973f !important;
  background-color: #b8973f !important;
}

.form-actions .form-navigation .btn-outline-primary {
  border-color: #b8973f !important;
  color: #b8973f !important;
}

.form-actions .form-navigation .btn-outline-primary:hover {
  border-color: #b8973f !important;
  opacity: 0.75;
}

.btn-gold {
  --bs-btn-color: #fff;
  --bs-btn-bg: #b8973f;
  --bs-btn-border-color: #b8973f;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #9a7d33;
  --bs-btn-hover-border-color: #9a7d33;
}

.breadcrumb-link-title {
  text-decoration: none;
}

.masthead {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  /* randlos, bricht aus dem Container aus */
  padding: 6rem 0;
  /* background: url("/fileadmin/content/image/surround_studio_header_2.jpg") center / cover no-repeat; */
}

.masthead-overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.5); */
  /* Abdunklung, Wert nach Geschmack */
}

.features-icons-icon .bi {
  font-size: 4.5rem;
  line-height: 1;
}

.features-icons-item {
  max-width: 20rem;
}

.showcase-img {
  min-height: 20rem;
  background-size: cover;
  background-position: center;
}

.showcase-text {
  padding: 3rem 1.5rem;
}

.showcase h2 a {
  color: #212529;
  text-decoration: none;
}

.showcase h2 a:hover {
  text-decoration: underline;
}

@media (min-width: 992px) {
  .showcase-img {
    min-height: 30rem;
  }

  .showcase-text {
    padding: 5rem;
  }
}

.testimonial-item {
  max-width: 18rem;
}

.testimonial-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  /* verhindert Verzerrung, falls das Bild nicht quadratisch ist */
}

#map-canvas {
  position: relative;
  height: 615px;
  width: 100%;
  float: left;
}

#page-footer {
  display: none;
}

.scroll-top:hover {
  background-color: #b8973f !important;
}

.lightgallery a {
  display: block;
  overflow: hidden;
  transition: opacity .3s ease, filter .3s ease, transform .3s ease;
}

.lightgallery a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Wenn über der Galerie ein Element gehovert wird: alle abdunkeln */
.lightgallery:hover a {
  opacity: .45;
  filter: grayscale(.3);
}

/* Das gehoverte Element wieder voll darstellen */
.lightgallery a:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.0);
}

@media (hover: hover) {
  .lightgallery:hover a { opacity: .75; }
  .lightgallery a:hover { opacity: 1; }
}

.lightgallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lightgallery a {
  flex: 1 1 auto;
  height: 220px;
  /* Breite ergibt sich aus dem Bild */
}

.lightgallery a img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* letzte Zeile nicht auf volle Breite strecken */
.lightgallery::after {
  content: "";
  flex-grow: 999;
}

.small-text {
  font-size: 1.05rem;
  font-weight: 300;
}

.list-group-item-gold {
  background-color: #b8973f;
  color: #fff;
  border-color: #b8973f;
  font-weight: 600;
}

/* Referenzliste auf größeren Bildschirmen in Spalten */
@media (min-width: 768px) {
  .reference-list {
    display: block;
    column-count: 2;
    column-gap: 2rem;
  }
  .reference-list .list-group-item {
    break-inside: avoid;
  }
}
@media (min-width: 1200px) {
  .reference-list { column-count: 3; }
}
