body {
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
}

img {
  max-inline-size: 100%;
}

.container {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: grid;
    background-color: white;
    grid-template-columns: 2rem 1fr 12rem;
    grid-template-rows: 2rem 2rem 1fr 2rem;
    grid-template-areas:
    "header header header"
    "headbar headbar headbar"
    "nav main main"
    "footer footer footer";
}

header{
    grid-area: header;
    position: fixed;
    border-bottom: solid 1px rgba(0, 0, 87, 0.35);
    top: 0;
    height: 2rem;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: rgb(210, 205, 205);
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    letter-spacing: 0.2rem;
    display: grid;
    grid-template-columns: 1fr 8.0rem 6rem;
}

.head-01 {
    height: 100%;
    display: flex;
    justify-content: left;
    margin-left: 2rem;
    align-items: center;
}

.head-02 {
  height: 100%;
  display: flex;
  justify-content: end;
  margin-right: 0.2rem;
  align-items: center;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.head-03 {
    height: 100%;
    display: flex;
    justify-content: end;
    padding-right: 1.0rem;
    align-items: center; 
}

.headbar{
  background-color: white;
  grid-area: headbar;
  position: fixed;
  top: 2rem;
  width: 100%;
  height: 2rem;
  padding: 0;
}

.sidebar {
  display: none;
}

.highlight {
  color: rgba(167, 16, 8, 0.869);
}

nav{
    grid-area: nav;
    position: fixed;
    left: 0;
    height: 100%;
    display: flex;
    padding-left: 1rem;
}

nav ul {
  list-style-type: none;
  background-color: none;
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 2.0rem;
  padding: 0;
}

nav li {
  height: 1.4rem;
  width: 10rem;
  display: flex;
  align-items: center;
  margin: 0 0 0.75rem 0;
  border-radius: 4px;
}

nav a {
  color: black;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-decoration: none;
  text-transform: uppercase;
  padding-left: 2rem;
}

a:hover {
  text-decoration: underline;
}

.Home {
  background-color: rgba(235, 173, 137, 0.718);
}
.Referenzen {
  background-color: rgba(246, 246, 113, 0.709);
}

.Buero {
  background-color: rgba(146, 215, 140, 0.715);
}

.Kontakt {
  background-color: rgba(166, 213, 255, 0.714);
}

.Impressum {
  background-color: rgba(241, 179, 255, 0.712);
}
















main{
  grid-area: main;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0 1.0rem 1.0rem 0;
  box-sizing: border-box;
  overflow-y: auto;
  scrollbar-gutter: stable;
  color: rgb(100, 100, 100);
}

h1, h2 {
  margin: 0;
  padding: 1.5rem 0 1.5rem 0;

  font-size: 0.8rem;
  color: rgb(70, 70, 70);
  letter-spacing: 0.1rem;
}

h3, h4 {
  margin: 0;
  padding: 1.0rem 0 1.0rem 0;

  font-size: 0.8rem;
  color: rgb(70, 70, 70);
  letter-spacing: 0.1rem;
}


p {
  margin: 0;
  padding: 1.0rem 0 1.0rem 0;
  font-size: 0.8rem;
  letter-spacing: 1px;
  line-height: 1.5;
}





.ref-container-top-foto {
  width: 100%;
  max-width: 1200px;
  display: grid;
  text-align: start;
  border-bottom: solid 1px rgba(200, 200, 200, 0.50);
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
}

.ref-conainer-info-block {
  width: 100%;
  max-width: 1200px;
  margin-top: 1rem;
  display: grid;
  box-sizing: border-box;
  grid-template-columns:repeat(auto-fit, minmax(380px, 1fr));
  border-bottom: solid 1px rgb(200, 200, 200);
  gap: 2rem;
  
}











.ref-info-tabelle {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows:  repeat(auto-fit, 55px);
}


.ref-info-beschreibung {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  width: 100%;
  padding-bottom: 1.0rem;
  line-height: 1.6;
}




.gallery {
  width: 100%;
  max-width: 1200px;
  margin-top: 2rem;
  display: grid;
  box-sizing: border-box;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  grid-template-rows: repeat(auto-fit, 180px);
  gap: 1.0rem;
}


.gallery div {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.gallery img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border: solid rgb(120, 120, 120) 1px;
  border-radius: 6px;
}




















footer{
    grid-area: footer;
    position: fixed;
    bottom: 0;
    box-sizing: border-box;
    background-color: rgb(210, 205, 205);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 2rem
}








@media  (min-width: 768px) {

    .container {
      grid-template-columns: 2rem 1fr 12rem;
      grid-template-rows: 3rem 2rem 1fr 2rem;
      grid-template-areas: 
      "header header header"
      "headbar headbar headbar"
      "nav main sidebar"
      "footer footer footer";
    }

    header{
    font-size: 1.3rem;
    height: 3.0rem;
    grid-template-columns: 1fr 1fr 12rem;
    letter-spacing: 0.5rem;
    align-items: end;
    }

    .head-02 {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    justify-content: right;
    padding-right: 0.60rem;
    align-items: center;
    }

    .head-03 {
    border-left: solid 1px rgba(0, 0, 87, 0.35);
    justify-content: start;
    align-items: center;
    padding-left: 1rem;
    }

    .headbar{
    top: 3.0rem;
}


    .sidebar {
    grid-area: sidebar;
    margin: 0;
    padding: 0;
    border-left: solid 1px rgba(0, 0, 87, 0.35);
    width: 12rem;
    position: fixed;
    right: 0;
    top: 3rem;
    bottom: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: start;
    font-size: 0.75rem;
    color: rgb(115, 115, 115);
    line-height: 1.5;
    font-weight: bold;
    overflow-y: auto;
    scrollbar-gutter: stable;
  }

   .sb-Teil-01 {
    width: 100%;
    padding: 2rem 1rem 1rem 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }

  .sb-Teil-02 {
    width: 100%;
    padding: 2rem 1rem 1rem 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }

  .sb-Teil-03 {
    width: 100%;
    padding-left: 1rem;
    padding-bottom: 2rem;
    box-sizing: border-box;
  }

  .Logo {
    width: 80%;
    padding-top: 3rem;
  }



  main{
  font-size: 0.9rem;
}


} 



@media (min-width: 992px) {


}








@media (min-width: 1200px) {


}








    


