/* General */
* {
     font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

body {
    background-color: #061f36;
    color: #fff;
    padding: 0;
    margin: 0;
}

/* Partial Header styles */
.header {
    background-color: #12395b!important;
}

header .container-fluid {
    background-color: #111112;
}

.contact-data {
    color: white;
    opacity: 0.5;
    text-decoration: none;
}

.fas {
    opacity: 0.9;
}

.search-input {
    padding: 0.35rem 0.75rem;
    font-size: 0.9rem;
    border-radius: 1rem;
    border: 1px solid #d8d8d8;
    outline: none;
    transition: all 0.3s ease;
    background-color: none;
    opacity: 0.8;
}

.search-input:focus {
    opacity: 0.9;
}

/* Home Styles*/
.home-header {
    background-image: url('/static/images/schusterreiter_header_wallpaper.jpg');
    background-size: cover;
    background-position: center;
    height: 75vh;
    color: white;
}

.fas-fa-check {
    background-color: #ff9700;
}

.home-header h1 {
    font-size: 2.5rem;
}

@media (max-width: 768px) {
    .home-header h1 {
        font-size: 1.8rem;
    }
}

.cta-btn {
    color: white;
    background-color: #ff9700;
    border: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-btn:hover {
    background-color: rgb(254, 177, 61);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Footer styles */
.bottom-footer {
  background-color: #001423 !important;
}

#social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgb(85, 85, 85);
  text-decoration: none;
}

#social-icon i {
  font-size: 18px;
  color: #fff;
}

.copyright {
  color: #858585;
} 

/* Impressum styles */
#impressumWrapper {
    background-color: #061f36;
    color: white;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.footer-href:hover {
  color: #12395b !important;
}

.icon-hover {
  color: rgb(6, 2, 21);
  transition: color 0.3s;
}

.icon-hover:hover {
  color: white;
}

/* Pages styles */
.form-control, textarea {
    border-radius: 25px;
}

.form-control::placeholder, textarea::placeholder {
    color: white;
    opacity: 0.4;
}

textarea.form-control {
    border-radius: 10px;
}

.kontakt-input, textarea {
    background: none !important;
    border: solid 0.5px grey !important;
}

.kontakt-input:focus, textarea:focus {
    box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.247) !important;
}

.btn-custom {
    background-color: #12395b;
    color: #fff;
    border-radius: 25px;
    padding: 0.5rem 2rem;
    font-weight: 600;
}

.btn-custom:hover {
    background-color: #163d5f;
}

.icon-text i {
    margin-right: 10px;
    color: #fff;
}

.keyword {
    color: #12395b;
}

.ueber-uns-header {
    background-image: url('/static/images/background_heating_07.jpg');
}

.referenzen-header {
    background-image: url('/static/images/featured_image_portfolio.jpg');
}

.heizung-und-sanitär-header {
    background-image: url('/static/images/background_heating_07.jpg');
}

.solar–PV-und-thermie-header {
    background-image: url('/static/images/background_heating_07.jpg');
}

.wasserschaden-versicherungsschaden-header {
    background-image: url('/static/images/background_heating_07.jpg');
}

.modernisierung-header {
    background-image: url('/static/images/background_heating_07.jpg');
}

.altbausanierung-header {
    background-image: url('/static/images/background_heating_07.jpg');
}

.schluesselfertigbau-header {
    background-image: url('/static/images/background_heating_07.jpg');
}

.kontakt-header {
    background-image: url('/static/images/featured_image.jpg');
}

.kontakt-header, 
.schluesselfertigbau-header,
.referenzen-header,
.altbausanierung-header,
.modernisierung-header,
.wasserschaden-versicherungsschaden-header,
.solar–PV-und-thermie-header,
.heizung-und-sanitär-header,
.ueber-uns-header {
    position: relative;
    background-size: cover;
    background-position: center -50px;
    height: 43vh;
    color: white;
}

@media (max-width: 767.98px) {
    .kontakt-header, 
    .schluesselfertigbau-header,
    .referenzen-header,
    .altbausanierung-header,
    .modernisierung-header,
    .wasserschaden-versicherungsschaden-header,
    .solar–PV-und-thermie-header,
    .heizung-und-sanitär-header,
    .ueber-uns-header {
        height: 24vh;
    }
}

.kontakt-header::before, 
.schluesselfertigbau-header::before,
.referenzen-header::before,
.altbausanierung-header::before,
.modernisierung-header::before,
.wasserschaden-versicherungsschaden-header::before,
.solar–PV-und-thermie-header::before,
.heizung-und-sanitär-header::before,
.ueber-uns-header::before,
.home-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.4);
    z-index: 1;
}

.kontakt-header .content, 
.schluesselfertigbau-header .content,
.referenzen-header .content,
.altbausanierung-header .content,
.modernisierung-header .content,
.wasserschaden-versicherungsschaden-header .content,
.solar–PV-und-thermie-header .content,
.heizung-und-sanitär-header .content,
.ueber-uns-header .content {
    position: relative;
    z-index: 2;
}

#carouselExample div div img{
    max-width: 950px;
    align-self: center;
    justify-self: center;
}

/* Referenzen styles */
#referenzen {
    text-decoration: none;
    color: rgba(175, 175, 175, 0.873);
    font-weight: bolder;
    font-size: 13px;
}

#fb-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #3b5998;
    text-decoration: none;
}

#fb-icon i {
    font-size: 15px;
    color: #fff;
}

/* Index styles */
#partner-logo1:hover, #partner-logo2:hover, #partner-logo3:hover {
  filter: grayscale(1) !important;
}

.custom-progress {
  height: 10px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.custom-progress-bar {
  background: linear-gradient(to right, rgba(18, 57, 91, 0.5), #12395b);
  width: 0;
  height: 100%;
  border-radius: 0;
  transition: width 1s ease-in-out;
}

.border-start {
  border-left: 1px solid rgba(0, 0, 0, 0.092);
}

.border-end {
  border-right: 1px solid rgba(0, 0, 0, 0.092);
}

.divider {
  width: 60px;
  height: 1px;
  background-color: #12395b;
}

.card-img-top {
  --bs-card-inner-border-radius: 0;
  border-radius: 0 !important;
}

.card {
  background-color: rgba(0, 21, 36, 0.8);
  border-radius: 0 !important;
}

.carousel-background {
  position: relative;
  overflow: hidden;
}

.carousel-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  z-index: 0;
  transition: background-image 0.5s ease-in-out;
}

.carousel-background > * {
  position: relative;
  z-index: 1;
}

.before-after-wrapper {
  max-width: 900px;
  outline: 1px solid rgba(255, 255, 255, 0.298);
  position: relative;
  aspect-ratio: 3/2;
}

.before-after-wrapper::before {
  background-color: hsla(172, 61%, 82%, 75%);
  border-radius: 40px;
  top: 10px;
  color: rgba(255, 255, 255, 0.298);
  content: 'before';
  left: 10px;
  opacity: 0;
  padding: 5px 10px;
  position: absolute;
  transition: opacity 200ms ease-in-out;
  z-index: 15;
}

.before-after-wrapper::after {
  background-color: hsla(172, 61%, 82%, 75%);
  border-radius: 40px;
  top: 10px;
  color: rgba(255, 255, 255, 0.298);
  opacity: 0;
  padding: 5px 10px;
  position: absolute;
  right: 10px;
  transition: opacity 200ms ease-in-out;
  z-index: 15;
  content: 'after';
}

:global(.before-after-wrapper.show-after::after) {
  opacity: 1;
}

.before-image-wrapper {
  bottom: 0;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  z-index: 10;
}

.before-image {
  background-size: cover;
  height: 100%;
  width: 100%;
}

.after-image {
  background-size: cover;
  inset: 0;
  position: absolute;
}

.handle {
  align-items: center;
  background: rgba(43, 43, 43, 0.781);
  bottom: 0;
  cursor: grab;
  display: flex;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 0;
  width: 4px;
  z-index: 20;
}

.handle::before {
  content: '';
  position: absolute;
  inset: 0 -20px;
}

.handle::after {
  align-items: center;
  background: rgba(43, 43, 43, 0.904);
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  color: rgba(43, 43, 43, 0.781);
  content: '';
  display: flex;
  font-size: 16px;
  font-weight: bold;
  justify-content: center;
  max-height: 40px;
  max-width: 40px;
  min-height: 40px;
  min-width: 40px;
}

.home-header {
    position: relative;
    color: white;
    min-height: 50vh;
    background-image: url('/static/images/schusterreiter_header_wallpaper.jpg');
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
}

.home-header > .container {
    position: relative;
    z-index: 2;
}