@import "fonts.css";
@import "base.css";
@import "header-footer.css";
@import "bricks.css";

/*------------------------*/
/* theme colors
/*------------------------*/

:root {
    /*--textDark: rgba(38, 50, 56, 1);*/
    --textDark: #88847e ;
    --textMedium: rgba(38, 50, 56, 0.7);
    --borderMedium: rgba(38, 50, 56, 0.2); 
    --borderLight: rgba(38, 50, 56, 0.075);
    
    --accent: #88847e;
    /*-- #d6d6c9;*/
    --textAccent: #88847e;   
    --light:#d6d6c9;
    /* --light: rgba(38, 50, 56, 0.035); '/
}
/*------------------------*/
/* turn grayscale off
/*------------------------*/

img {filter: grayscale(0);}

/*------------------------*/
/* colorize_image
/*------------------------*/

.colorize_image {filter: contrast(1) sepia(1) hue-rotate(160deg) grayscale(0.8)!important;}

/*------------------------*/
/* black_2_textDark
/*------------------------*/

.map::after, .black_2_textDark {filter: contrast(0.7) sepia(1) hue-rotate(160deg)!important;}

/*------------------------*/
/* black_2_textMedium
/*------------------------*/

.black_2_textMedium {filter: contrast(0.3) sepia(0.3) hue-rotate(160deg) brightness(1.4)!important;}

/*------------------------*/
/* black_2_accent
/*------------------------*/

.black_2_accent {filter: contrast(0.11) sepia(1) hue-rotate(340deg) contrast(13)!important;}

a:hover {
    opacity: 0.8;
  }
  
  /* Styles for the hero image */
  .hero {
    /* Photo by mnm.all on Unsplash */
    background: url('https://images.unsplash.com/photo-1642844808996-f61389364b51?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center;
    background-size: cover;
    padding: 4rem 2rem;
    /* grid styles */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: center;
  }
  
  .hero > * {
    color: #d5d5c8;
  }
  
  .hero > h1 {
    font-size: 3rem;
    padding-bottom: 1rem;
  }
  
  .hero > article > p {
    font-size: 1.5rem;
    font-weight: 200;
  }
  
  .hero > article > a {
    padding: 1rem;
    margin-top: .75rem;
  }
  
  /* leistungen_bilder styles */
  .leistungen_bilder {
    padding: 0rem;
  }
  
  .leistungen_bilder > ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 0rem;
    list-style: none;
  }
  
  .leistungen_bilder > ul > li {
    border: 1px solid #d5d5c8;
    border-radius: 0rem;
  }
  
  .leistungen_bilder > ul > li > figure {
    max-height: 250px;
    overflow: hidden;
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
    border-bottom-right-radius: 0rem;
    border-bottom-left-radius: 0rem;
    position: relative;
  }
  .leistungen_bilder > ul > li > figure > a {
    width: 100%;
  }
  .leistungen_bilder > ul > li > figure > a > img{
    width: 100%;
  }  
  
  .leistungen_bilder > ul > li > figure > figcaption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    width: 100%;  
  }
  
  .leistungen_bilder > ul > li > figure > figcaption > h3 {
    color: #d5d5c8;
    padding: .5rem;
    font-size: 1.25rem;
  }
  .leistungen_bilder > ul > li > p {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.75rem .75rem;
    color: #000000;
    color: rgba(0, 0, 0, 0.5);
  }
  
  .leistungen_bilder > ul > li > a {
    padding: .5rem 1rem;
    margin: .5rem;
  }


  
  html {
    box-sizing: border-box;
  }
  *, *:before, *:after {
    box-sizing: inherit;
  }

  .timeline {
    list-style: none;
    height: auto;
    width: auto;
    margin: auto;
    
    li {
      display: flex;
      
      .timestamp {
        display: flex;
        justify-content: right;
        width: 200px;
        padding: 25px;
      }
      
      .status {
        width: 400px;
        border-left: 2px solid #88847e;
        padding: 25px;
        padding-left: 30px;
        position: relative;
        
        &:before {
          content: '';
          border-radius: 20px;
          width: 20px;
          height: 20px;
          background-color: #C6b2a7;
          border: 1px solid #88847e;
          position: absolute;
          left: -11px;
        }
      }
    }
    
    li.complete {
      .status {
        border-left: 4px solid #88847e;
  
        &:before {
          background-color: #88847e;
          border: none;
        }
      }
    }
  }
}

/* video container styling */
.video-container {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Seitenverhältnis */
  position: relative;
  overflow: hidden; /* Hinzugefügt */
}
.video-container .dark-overlay {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1;
}
.video-container video {
  position: absolute; 
  top: 0;
  left: 0;
  height: 100%;
/*  vertical-align: middle; */
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.video-container .overlay-desc {
  position: absolute;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(0,0,0,0);
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  padding: 10px;
  display: flex;
  align-items: end ;
  justify-content: flex-start;
}

.video-container .overlay-desc h1 {
  color: white;
  font-size: 1.9rem;
  font-weight: lighter;
}


/* Media Query für hochkant Browser */
@media (orientation: portrait) {
  .video-container {
      padding-bottom: 100%; /* 1:1 Seitenverhältnis */
  }
}
