:root {
    /* Variables */
    
    --clr-gray100: #f0f7f8;
    --clr-gray200: #cfd8dc;
    --clr-gray300: #a7b7be;
    --clr-gray400: #6b7e86;
    --clr-gray500: #425a65;   
    --radius: 1rem; /* Common border radius */
    /* Info for responsive design 10px = 0,5% */
}

 /* montserrat-regular - latin */
 @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('montserrat-v25-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('montserrat-v25-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  }
 /* allura-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Allura';
    font-style: normal;
    font-weight: 400;
    src: url('allura-v21-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('allura-v21-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  }
  

  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    display: flex;
    flex-direction: column; 
    background: white;
    font-family: 'Montserrat'; /* , sans-serif; */
    font-style: normal;
    font-weight: 400;
    width: 100%;  
}

.headline_footline_common{
    display: block;
    left: 5rem;
    width: calc(100vw - 5rem);
    position: relative;
    z-index: 0;
    background-image: url('logo_background.svg#svgView(preserveAspectRatio(none))');
    background-size: calc(100vw - 5rem) 100%;
}
.headline_footline_common::before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.2);
}
#headline{
    height: 20vh;
    border-bottom-color: black;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}
#footline{
    height: auto;
    border-top: black;
    border-top-style: solid;
    border-width: 1px;
    /* box-shadow:  0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}

#headline_background__logo { 
    max-width: 40vw; 
    height: 14vh;
    margin: 1% 50vw ; 
    transform: translate(-50%, -20vh); 
    z-index: 999; 
    opacity: 1;
    position: absolute;
}
.footer_txt {
    margin: 1%;
    padding: 1%;
    position: relative;
    font-size: clamp(1rem, 2.8vw, 1.5rem);
}

/* Content Bereich*/
.flex-container {
    display: flex;
    position: relative;
    flex-direction: column;           
    height: 100%;
    margin: 0.25% 0.25% 0.25% calc(5rem + 0.25%);
}
.flex-item {
    margin: 0.5% 0.5% 0.5% 0.5%;
    border-radius: var(--radius);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}      


/* Navigation PC*/
.nav__list {
    background: white;
    box-shadow: 0px 0px 10px var(--clr-gray200);
    padding: 1rem 0;
    width: 5rem;
    height: 100%;
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 1rem;
}
.nav__item {
    list-style: none;
    font-size: 0.6rem;
    text-align: center;
    transition: all 200ms ease-in;
}
.svg{
    fill: var(--clr-gray400);
    width: 1.8rem;
    transition: all 200ms ease-in;
}     
.svg:hover{
    fill: var(--clr-gray500);
}
.a1 {
    color: var(--clr-gray400);
    text-decoration: none;
}
.a1:hover {
    color: var(--clr-gray500);
}



/* Item Beschreibungen_Main*/
#ueberschrift_1 {
    background-color: lightgray;
    width: calc(100vw - 5rem);
    font-size: 3vw;
    text-shadow: 2px 2px 2px grey;
    border-radius: 0 0 var(--radius) var(--radius);
    margin: 0 0 1% 5rem;
    text-align: center; 
    padding: 1%;
}
.main_grid-container{
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 2;
    grid-auto-rows: minmax(1%, auto);
    gap: 1vw;
    grid-auto-flow: row;
    grid-template-areas: 
    "1 2"
    "3 3";
}
.main_grid_item_1{
    grid-area: 1;
}
.main_grid_item_2{
    grid-area: 2;
}
.main_grid_item_3{
    grid-area: 3;
}
#main_gi1__img{
    grid-area: 1;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    background-repeat: no-repeat;
    background-size: cover;
}

.about_grid-container{
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 1;
    grid-auto-rows: minmax(1%, auto);
    gap: 1vw;
    grid-auto-flow: row;
    grid-template-areas: 
    "1 2 3";
}
.about_grid_item_1{
    grid-area: 1;
}
.about_grid_item_2{
    grid-area: 2;
}
.about_grid_item_3{
    grid-area: 3;
}
#about_gi1__img{
    grid-area: 1;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    background-repeat: no-repeat;
    background-size: cover;
}
#about_gi3__img{
    grid-area: 3;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    background-repeat: no-repeat;
    background-size: cover;
}

.services_grid-container{
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 2;
    grid-auto-rows: minmax(1%, auto);
    gap: 1vw;
    grid-auto-flow: row;
    grid-template-areas: 
    "1 2";
}
.services_grid_item_1{
    grid-area: 1;
}
.services_grid_item_2{
    grid-area: 2;
}
#services_gi1__img{
    grid-area: 1;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    background-repeat: no-repeat;
    background-size: cover;
}
#i1__fi{
    width: calc(100% - 1%);
    line-height: 150%;
    font-size: clamp( 1.2rem 1vw 2rem);
    padding: 1%;
}



/* Navigation Mobile*/
@media screen and (max-width: 550px) {
    .nav__list {
        flex-direction: row;
        width: 100vw;
        height: 5rem;
        bottom: 0;
        justify-content: space-around;
        align-items: center;
        padding: 0 1rem;
        z-index: 999; 
        position:relative;
        overflow: hidden;
        display: flex;
    }
    .flex-container {
        margin: 5px 5px 5px 5px;         
        height: calc(100% - 5rem);
        border-radius: 0 0 var(--radius) var(--radius);
    }
    #i1__img{
       width: 102%;
        border-radius: var(--radius) ;
    }
    #ueberschrift_1 {
        width: 100vw;
        font-size: 3vw;
        margin: 0 0 1% 0;
    }
    .headline_footline_common{
        width: 100vw;
        left: 0;
        background-size: 100vw 100%; 
    }
    .headline_footline_common::before{
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(255, 255, 255, 0.2);
    }
    .main_grid-container{
        grid-template-columns: 1fr;
        grid-template-rows: 3;
        grid-template-areas: 
    "1"
    "2"
    "3";
    }
    .about_grid-container{
        grid-template-columns: 1fr;
        grid-template-rows: 3;
        grid-template-areas: 
    "1"
    "2"
    "3";
    }
    .services_grid-container{
        grid-template-columns: 1fr;
        grid-template-rows: 2;
        grid-template-areas: 
    "1"
    "2";
    }
}