@font-face {
  font-family: 'CustomSansSerif';
  src: url('/assets/fonts/csusr.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'CustomSansSerif';
  src: url('/assets/fonts/csutb.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}


body {
  font-family: 'CustomSansSerif', sans-serif;
  color: #646362;
  background: rgba(157, 123, 85, 0.06);
}



h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
  font-family: 'CustomSansSerif', sans-serif;
  font-weight: bold;
  text-align: center;
  color: #646362;
}


h1,
.h1 {
  font-size: calc(1.325rem + 0.9vw);
  text-transform: uppercase;
}

@media (min-width: 1200px) {

  h1,
  .h1 {
    font-size: 2rem;
  }
}

h2,
.h2 {
  font-size: calc(1.3rem + 0.6vw);
}

@media (min-width: 1200px) {

  h2,
  .h2 {
    font-size: 1.75rem;
  }
}

h3,
.h3 {
  font-size: calc(1.275rem + 0.3vw);
}

@media (min-width: 1200px) {

  h3,
  .h3 {
    font-size: 1.5rem;
  }
}


h4,
.h4 {
  font-size: calc(1.250rem + 0.1vw);
}

@media (min-width: 1200px) {

  h4,
  .h4 {
    font-size: 1.25rem;
  }
}

header h1 {
  color: #f9f7f5
}


header.masthead .site-heading .subheading {
  font-family: 'CustomSansSerif', sans-serif;
}

header.masthead .post-heading .subheading {
  font-family: 'CustomSansSerif', sans-serif;
}

header.masthead .page-heading .subheading,
header.masthead .site-heading .subheading {
  font-family: 'CustomSansSerif', sans-serif;
}

#mainNav {
  font-family: 'CustomSansSerif', sans-serif;
}

.btn {
  font-family: 'CustomSansSerif', sans-serif;
}

#mainNav .navbar-nav>li.nav-item>a.nav-link {
  font-size: 0.9rem;
}

#home-logo {
  width: 100%;
  margin-bottom: 2rem;
}


header.masthead .page-heading .subheading,
header.masthead .site-heading .subheading {
  font-size: 1.5rem;
}

.watermark {
  position: absolute;
  bottom: 0;
  right: 3%;
  width: 80%;
  height: auto;
  opacity: 0.21;
  z-index: 1;
}


.navbar-toggler {

  padding: 0 !important;
}

.navbar-toggler-icon {
  vertical-align: bottom;
}

.toggler-centered {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.width-0 {
  width: 0 !important;
}


@media (min-width: 600px) {
  #home-logo {
    width: 25rem;
    margin-bottom: 2rem;
  }

  header.masthead .page-heading .subheading,
  header.masthead .site-heading .subheading {
    font-size: 1.8rem;
  }

  .watermark {
    width: 30rem;
  }
}

@media (min-width: 992px) {
  #home-logo {
    width: 28.5rem;
    margin-bottom: 2rem;
  }

  header.masthead .page-heading .subheading,
  header.masthead .site-heading .subheading {
    font-size: 1.8rem;
  }

  .watermark {
    width: 41rem;
  }
}

.footer {
  background: linear-gradient(45deg, rgb(51, 125, 88), rgb(157, 123, 85));
}

.footer .d-flex {
  align-items: baseline;
}



.navbar-toggler {
  color: #fff;
  border: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}


.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-collapse.collapsing,
.navbar-collapse.show {
  background-color: rgba(157, 123, 85, 0.85);
}

.navbar>.container,
.navbar>.container-fluid,
.navbar>.container-sm,
.navbar>.container-md,
.navbar>.container-lg,
.navbar>.container-xl,
.navbar>.container-xxl {
  align-items: baseline;
}


#mainNav .navbar-nav>li.nav-item>a.nav-link {
  color: #f9f7f5
}

#mainNav .navbar-nav>li.nav-item>a.nav-link:focus,
#mainNav .navbar-nav>li.nav-item>a.nav-link:hover {
  color: rgba(255, 255, 255, 0.4);
}

a {
  color: #f9f7f5
}

a:hover {
  color: rgba(255, 255, 255, 0.7);
}


.standard img {
  max-width: 100%;
  margin: 0;
}



#mainNav .navbar-brand {
  color: #f9f7f5;
  margin-top: 0.5rem;
}

header.masthead .page-heading,
header.masthead .post-heading,
header.masthead .site-heading {
  color: #f9f7f5;
}

.text-white {
  color: #f9f7f5 !important;
}


#mainNav {
  border-bottom: 1px solid transparent;
  background: transparent;
}

#mainNav .navbar-brand {
  color: color: #f9f7f5
}

#mainNav .navbar-brand:focus,
#mainNav .navbar-brand:hover {
  color: rgba(255, 255, 255, 0.8);
}

#mainNav .navbar-nav>li.nav-item>a.nav-link {
  color: color: #f9f7f5
}

#mainNav .navbar-nav>li.nav-item>a.nav-link:focus,
#mainNav .navbar-nav>li.nav-item>a.nav-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

#mainNav {
  transition: background-color 0.2s;
  /* Force Hardware Acceleration in WebKit */
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#mainNav.is-fixed {
  /* when the user scrolls down, we hide the header right above the viewport */
  position: fixed;
  top: -83px;
  transition: transform 0.2s;
  border-bottom: 1px solid white;
  background-color: rgba(255, 255, 255, 0.9);
}

#mainNav.is-fixed .navbar-brand {
  color: #212529;
}

#mainNav.is-fixed .navbar-brand:focus,
#mainNav.is-fixed .navbar-brand:hover {
  color: #0085A1;
}

#mainNav.is-fixed .navbar-nav>li.nav-item>a {
  color: #212529;
}

#mainNav.is-fixed .navbar-nav>li.nav-item>a:focus,
#mainNav.is-fixed .navbar-nav>li.nav-item>a:hover {
  color: #0085A1;
}

#mainNav.is-visible {
  /* if the user changes the scrolling direction, we show the header */
  transform: translate3d(0, 100%, 0);
}




footer .footernav {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.0625em;
  text-transform: uppercase;
}

footer {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}


#logo {
  position: absolute;
  top: 20%;
  width: 20%;
  min-width: 50px;
  max-width: 250px;
  visibility: hidden;
}


.navbar {
  --bs-navbar-padding-x: 0;
  --bs-navbar-padding-y: 0;
}


#map {
  height: 33.3rem;
  width: 100%;
}


header.header-home {
  height: 100vh;
  /* Setzt die Höhe des Headers auf die Höhe des Viewports */
  display: flex;
  justify-content: center;
  /* Zentriert den Inhalt horizontal */
  align-items: center;
  /* Zentriert den Inhalt vertikal */
  margin: 0;
}



.image-grid-container {
  margin-left: -1%;
  /* Kompensiert das zusätzliche Padding */
  margin-right: -1%;
  /* Kompensiert das zusätzliche Padding */
  width: auto;
}

.image-tile-container {
  padding: 1%;
  /* Setzt das Padding auf 1% des umgebenden Containers */
}

.ratio-1-1 {
  position: relative;
  width: 100%;
  padding-top: 100%;
  /* Behält das quadratische Verhältnis bei */
}

.ratio-1-1 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}







header.masthead:before {
  z-index: 1;
}

.site-heading {
  position: relative;
  z-index: 1;
}

header.masthead {
  background: none;
}







@keyframes zoomIn {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.background-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.active {
  opacity: 1;
  animation: zoomIn 5s linear forwards;
  /* Linearer Zoom von 1 auf 1.1 */
}





.referenz h3 {
  margin-bottom: 2rem;
}


.referenz hr {
  margin-top: 2.3rem;
  margin-bottom: 3.3rem;
}

.kontakt .standard a,
.impressum .standard a,
.datenschutz .standard a {
  color: #646362;
  text-decoration: none;
}

.kontakt .standard a:hover,
.impressum .standard a:hover,
.datenschutz .standard a:hover {
  opacity: 0.8;
}


.btn {
  min-width: 14rem;
  min-height: 2.14rem;
}


.btn-secondary {
  --bs-btn-color: #f9f7f5;
  /* Schriftfarbe */
  --bs-btn-bg: #646362;
  /* Hintergrundfarbe */
  --bs-btn-border-color: transparent;
  /* Randfarbe transparent für keinen Rand */
  --bs-btn-hover-color: #f9f7f5;
  /* Schriftfarbe beim Hover */
  --bs-btn-hover-bg: rgba(0, 0, 0, 0.4);
  /* Hintergrundfarbe beim Hover */
  --bs-btn-hover-border-color: transparent;
  /* Randfarbe beim Hover transparent */
  --bs-btn-focus-shadow-rgb: 130, 138, 145;
  /* Schattenfarbe beim Fokussieren */
  --bs-btn-active-color: #f9f7f5;
  /* Schriftfarbe im aktiven Zustand */
  --bs-btn-active-bg: rgba(0, 0, 0, 0.4);
  /* Hintergrundfarbe im aktiven Zustand */
  --bs-btn-active-border-color: transparent;
  /* Randfarbe im aktiven Zustand transparent */
  --bs-btn-active-shadow: none;
  /* Kein Schatten im aktiven Zustand */
  --bs-btn-disabled-color: #f9f7f5;
  /* Schriftfarbe im deaktivierten Zustand */
  --bs-btn-disabled-bg: #646362;
  /* Hintergrundfarbe im deaktivierten Zustand */
  --bs-btn-disabled-border-color: transparent;
  /* Randfarbe im deaktivierten Zustand transparent */
  font-size: 1.25rem;
  /* Schriftgröße */
}



.btn-primary {
  --bs-btn-color: #646362;
  /* Schriftfarbe invertiert */
  --bs-btn-bg: #f9f7f5;
  /* Hintergrundfarbe invertiert */
  --bs-btn-border-color: transparent;
  /* Rand bleibt transparent */
  --bs-btn-hover-color: rgba(0, 0, 0, 0.4);
  /* Schriftfarbe beim Hover invertiert */
  --bs-btn-hover-bg: #ffffff;
  /* Hintergrundfarbe beim Hover bleibt gleich (da bereits invertiert) */
  --bs-btn-hover-border-color: transparent;
  /* Randfarbe beim Hover bleibt transparent */
  --bs-btn-focus-shadow-rgb: 130, 138, 145;
  /* Schattenfarbe beim Fokussieren bleibt gleich */
  --bs-btn-active-color: rgba(0, 0, 0, 0.4);
  /* Schriftfarbe im aktiven Zustand invertiert */
  --bs-btn-active-bg: #f9f7f5;
  /* Hintergrundfarbe im aktiven Zustand bleibt gleich */
  --bs-btn-active-border-color: transparent;
  /* Randfarbe im aktiven Zustand bleibt transparent */
  --bs-btn-active-shadow: none;
  /* Kein Schatten im aktiven Zustand */
  --bs-btn-disabled-color: #646362;
  /* Schriftfarbe im deaktivierten Zustand invertiert */
  --bs-btn-disabled-bg: #f9f7f5;
  /* Hintergrundfarbe im deaktivierten Zustand invertiert */
  --bs-btn-disabled-border-color: transparent;
  /* Randfarbe im deaktivierten Zustand bleibt transparent */
  font-size: 1.25rem;
  /* Schriftgröße bleibt gleich */
}


.form-control {
  border: none;
}

.form-control:focus {
  border: none;
  box-shadow: none;
}


.alert-success {
  --bs-alert-color: #f9f7f5;
  --bs-alert-bg: rgb(51, 125, 88);
  --bs-alert-border-color: #badbcc;
}

.footercr {
  color: #f9f7f5;
  margin-right: 2.5rem;
}

.kontakt form {
  margin-bottom: 2rem;
}



.form-control:focus,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill,
.form-control {
  background-color: white;
  color: #646362 !important;
  font-size: 1.25rem;
}

.form-control:focus {
  border-color: rgb(51, 125, 88);
}

input:-internal-autofill-selected {
  background-color: white !important;
  color: #646362 !important;
}


.home header.masthead {
  margin-bottom: 0;
}

.referenz h6 {
  margin-top: 1rem;
}

.icon-bildstapel {
  display: inline-block;
  width: 20px;
  height: 16px;
  background-image: url('../images/Bildstapel_Icon.svg');
  background-size: cover;
  margin-right: 5px;
}

.icon-bildstapel.invisible {
  width: 0;
  margin-right: 0;
}




/* Standardmäßig werden die Galerien angezeigt */
.gallery {
  display: flex;
}

/* Standardmäßig ist der "Bilder anzeigen"-Button ausgeblendet */
.toggle-gallery-btn {
  display: none;
}

/* Anpassungen für Bildschirmbreiten unter 800px */
@media (max-width: 992px) {
  .gallery {
    display: none;
    /* Galerien sind versteckt */
  }

  .toggle-gallery-btn {
    display: block;
    /* "Bilder anzeigen"-Button wird angezeigt */
  }
}


.referenz .standard {
  margin-bottom: 3rem;
}

.kontakt .standard {
  margin-bottom: 2rem;
}


.standard figure {
  margin: 2rem 0 2.85rem 0;
}

.standard p {
  margin-bottom: 2.5rem;
}

header.masthead {
  margin-bottom: 3.5rem;
  padding-top: calc(5em + 57px);
  padding-bottom: 5rem;
  height: 21rem;
}


.standard {
  margin-bottom: 1.3rem;

  text-align: justify;
  text-align-last: center;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}




@media (min-width: 576px) {
  header.masthead {
    margin-bottom: 4.5rem;
    padding-top: 9rem;
    padding-bottom: 8rem;
    height: 22.8rem;
  }

  .standard p {
    margin-bottom: 3.0rem;
  }

  .standard figure {
    margin: 2rem 0 3.25rem 0;
  }

  .standard {
    margin-bottom: 1.6rem;
  }

  .referenz .standard {
    margin-bottom: 4rem;
  }

  .kontakt .standard {
    margin-bottom: 3rem;
  }

}

@media (min-width: 992px) {
  header.masthead {
    margin-bottom: 5.5rem;
    padding-top: 12.5rem;
    padding-bottom: 12.5rem;
    height: 33.5rem;
  }

  .standard p {
    margin-bottom: 3.5rem;
  }

  .standard figure {
    margin: 2rem 0 3.85rem 0;
  }

  .standard {
    margin-bottom: 2rem;
  }

  .referenz .standard {
    margin-bottom: 5rem;
  }

  .kontakt .standard {
    margin-bottom: 4rem;
  }


}



/* .sl-wrapper .sl-close
{
  top: 68px !important;
  right: 37px !important;
} */

.sl-wrapper .sl-close:hover {
  color: rgba(0, 0, 0, 0.4);
}

.referenz .ratio-4-3 {
  position: relative;
  /* Damit das Pseudoelement relativ zum Elternelement positioniert werden kann */
  padding-bottom: 1rem;
}

.referenz .ratio-4-3::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* Position am unteren Rand des Elternelements */
  height: 2px;
  /* Höhe des "Borderrands" */
  background: linear-gradient(45deg, rgb(51, 125, 88), rgb(157, 123, 85));
  /* Der Gradient */
  opacity: 0;
  /* Unsichtbar, bis das Elternelement gehovert wird */
  transition: opacity 0.3s;
  /* Optional: Fügt einen Übergangseffekt hinzu */
}

.referenz .ratio-4-3:hover::after {
  opacity: 1;
  /* Macht den Gradientenrand sichtbar beim Hover */
}


.befmap {
  margin-top: 4.5rem;
}

.datenschutz h1,
.datenschutz h2,
.datenschutz h3 {
  margin-bottom: 2rem;
}

.bef-braun {
  color: rgb(157, 123, 85);
  /* color: rgb(51, 125, 88); */
}


.sl-wrapper .sl-close {
  font-size: 2.3rem !important;
  margin-top: -8px !important;
}

@media (min-width: 992px) {
  .sl-wrapper .sl-close {
    font-size: 3rem !important;
    margin-top: -10px !important;
    margin-right: -5px !important;
  }
}


/* Chrome, Firefox 19+ & Safari */
::placeholder {
  color: #646362;
}

/* Internet Explorer 10+ */
:-ms-input-placeholder {
  color: #646362
}

/* Microsoft Edge */
::-ms-input-placeholder {
  color: #646362
}

/* Für den Fall, dass du Bootstrap oder eine andere CSS-Bibliothek verwendest,
   könnte es notwendig sein, die Spezifität deiner Selektoren zu erhöhen: */
.form-control::placeholder { /* Dies fügt die Klasse .form-control hinzu, um die Spezifität zu erhöhen */
  color: #646362!important; /* `!important` kann helfen, aber seine Verwendung sollte minimiert werden */
}

header#header.masthead.header-home {
  height: 100vh;
}
