@font-face {
    font-display: swap;
    font-family: 'OpenSans';
    src: url(../../font/OpenSans-VariableFont_wdth\,wght.ttf);
    format('truetype');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
html {
    scroll-behavior: smooth;
}
h1, h2, h3 {
    font-variation-settings: 'wght'646;
}
/* ---------------Mobile--------------- */
@media (max-width: 700px){
    .wrapper {
        min-width: 320px;
    }

    .superspalter {
        display: flex;
        flex-direction: column;
        margin: 2%;
    }
    .zweispalter {
        flex-direction: column;
        margin: 2%;
        height: auto;
    }
    .backgroundPhoto1 {
        margin-top: 8rem;
        position: relative;
        transition: 0.5s;
    }
    .backgroundPhoto1 .supSpMobile {
        position: absolute;
        top: 28%;
        transform: translate(-50%,-50%);
    }
    .grid_spezial_1 {
        max-height: 900px;
        width: 100%;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas: 
        "img1 img2"
        "img3 img4"
        "img5 img6"
        ;
    }
    .textPhrase {
        min-width: 300px;
    }
    footer {
        width: 100%;
        min-width: 320px;
    }
    .zweispalter {
        flex-direction: column;
        margin: 2%;
        height: auto;
    }
}
/* ---------------Desktop--------------- */
@media (min-width: 701px){
    .grid_spezial_1 {
        max-width: 1300px;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas: 
        "img1 img2 img3"
        "img4 img5 img6"
        ;
    }
    #hauptNav {
        background: rgb(255, 255, 255);
    }
}
/* ------------------------------------------------------------------- */
body {
    background: rgba(240, 240, 240, 1);
}
.wrapper1600 {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}
.wrapper1300 {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.wrapper {
    margin-left: auto;
    margin-right: auto;
    background: rgb(240, 240, 240);
}
/* ---------------Header--------------- */
.topheader {
    background: rgba(255, 255, 255, 1);
    height: 100px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10;
    text-transform: uppercase;
}
/* ---------------Navi--------------- */
#hauptNav {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 100px;
    bottom: 0;
    background-color: rgba(255, 255, 255, 1);
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    text-align: center;
}
#hauptNav ul {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    display: flex;
    flex-direction: column;
}
#hauptNav a {
    text-decoration: none;
    font: 2rem OpenSans, sans-serif;
    font-variation-settings: 'wght' 328;
    padding: 12px 12px ;
    transition: 0.3s;
    display: block;
}
/* ---------------imgHeader Slippry--------------- */
.imgHeader {
    align-items: center;
    background-size: cover;
    position: relative;
    z-index: 3;
    max-height: 60vh;
    overflow: hidden;
}
#imgHeaderText {
    position: absolute;
    display: flexbox;
    left: 50%;
    top: 50%;
    z-index: 4;
    transform: translate(-50%,-50%);
    text-align: center;
}
.sy-caption-wrap .sy-caption {
    background-color: transparent;
    font-size: x-large;
    opacity: 1;
    }
#main_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3.5rem;
    transition: 0.4s;
}
#main_nav img {
    max-height: 90%;
}
.navi_weg {
    transform: translateY(-100%);
}
main {
    margin-top: 100px;
    z-index: 2;
    position: relative;
    min-height: 100vh;
}
/* --------------------- animation-burger-button --------------------- */
#topnav:target {
    background: red;
}
#burger {
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: #ffffff;
}
.line {
    height: 2px;
    width: 60%;
    background: rgb(0, 0, 0);
    display: block;
    position: absolute;
    left: 20%;
    right: 20%;
    transition: 0.2s;
}
.line:nth-child(1) {top:calc(35% - 1px);}
.line:nth-child(2) {top:calc(50% - 1px);}
.line:nth-child(3) {top:calc(65% - 1px);}
#burger:hover .line:nth-child(1) {
    top: 40%;
    transform: rotate(-45deg) scaleX(0.7) translateX(5px);
    -webkit-transform: rotate(-45deg) scaleX(0.7) translateX(5px);
    background: rgb(174, 174, 174);
    height: 3px;
    transition: 0.2s;
}
#burger:hover .line:nth-child(2) {
    transform: rotate(90deg) translateY(5px);
    -webkit-transform: rotate(90deg) translateY(5px);
    background: rgb(174, 174, 174);
    height: 4px;
    transition: 0.2s;
}
#burger:hover .line:nth-child(3) {
    top: 60%;
    transition: 0.2s;
    background: rgb(174, 174, 174);
    height: 3px;
    transform: rotate(45deg) scaleX(0.7) translateX(5px) ;
    -webkit-transform: rotate(45deg) scaleX(0.7) translateX(5px) ;
}
#navchecker:checked ~ #burger .line:nth-child(1) {
    top:calc(50% - 1px);
    transform: rotate(135deg);
    transition: 0.3s;
    background: rgb(0, 0, 0);
}
#navchecker:checked ~ #burger .line:nth-child(2) {
    top:calc(50% - 1px);
    opacity: 0;
    transition: 0.3s;
}
#navchecker:checked ~ #burger .line:nth-child(3) {
    top:calc(50% - 1px);
    transform: rotate(-135deg);
    transition: 0.3s;
    background: rgb(0, 0, 0);
}
/* ------------------------- Navi ------------------------- */
#hauptNav {
    position: fixed;
    right: 10%;
    opacity: 0;
    transition: 0.3s;
}
#hauptNav a {
    color: grey;
    text-decoration: none;
}
#hauptNav ul {
    display: flex;
    list-style: none;
} 
#navchecker:checked ~ #hauptNav {
    opacity: 1;
    visibility: visible;
}
#navchecker:checked ~ #hauptNav a {
    transform: translateY(0);
    color: rgb(0, 0, 0);
}
/* ---------------Navi hover a------------------- */
#hauptNav li:hover {
    transform: scale(1.1);
    transition: 0.3s;
}
#navchecker {
    display: none;
}
/* -------------------- Phrase ------------------------------ */
.textPhrase {
    border-left: gray 2px solid;
    border-right: gray 2px solid;
    border-radius: 4px;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: 5vh;
    margin-bottom: 5vh;
    text-align: center;
    padding: 2% 2%;
}
.textPhrase p {
    margin-top: 1rem;
}
/* --------------------- Superspalter --------------------- */
.superspalter { 
    display: flex; 
    position: absolute;
    bottom: -50px;
    align-items: center;
    max-width: 1600px;
    left: 50%;
    transform: translateX(-50%);
}
.superspalter > * { flex: 1 0 0; }
.gap1 {
    gap: 1rem;
}
.gap2 {
    gap: 2rem;
}
.gap3 {
    gap: 3rem;
}
.card {
    position: relative;
    box-shadow: 5px 5px 5px rgba(77, 77, 77, 0.4);
    min-width: 230px;
}
.card > figure {
    border-radius: 5px;
}
.card > figcaption {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: azure;
}
.backgroundPhoto1 {
    min-height: 200px;
    height: 20vh;
    background: url(../images/imgHeader2.jpg) no-repeat;
    top: 0;
    position: relative;
    width: 100%;
    object-fit: cover;
}
.backgroundPhoto2 {
    min-height: 200px;
    height: 20vh;
    background: url(../images/imgHeader3.jpg) center no-repeat;
    align-items: center;
    top: 0;
    object-fit: cover;
    width: 100%;
    filter: grayscale(1);
}
#dreiSpContainer {
    height: 450px;
}
/* --------------------------Grid----------------------------- */
div[class*="grid"] img {
    width: 100%;
    height: 100%;
    align-items: center;
    object-fit: cover;
}
.grid_spezial_1 {
    display: grid;
    gap: 0.3rem;
    overflow: hidden;
    max-height: 900px;
    max-width: 1300px;
}
.img1  { grid-area: img1; }
.img2  { grid-area: img2; }
.img3  { grid-area: img3; }
.img4  { grid-area: img4; }
.img5  { grid-area: img5; }
.img6  { grid-area: img6; }
.grid_spezial_1 figure:hover .textGrid {
    opacity: 1;
    transition: 0.4s;
}
.grid_spezial_1 figure {
    position: relative;
}
.textGrid {
    position: absolute;
    inset:0;
    color: #000000;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;

}
/* ---------------------------Zweispalter---------------------------- */
.zweispalter {
    display: flex;
    margin: 2% 0;
    margin-left: auto;
    margin-right: auto;
}
.zweispalter > div {
    flex-basis: 50%;
    margin-top: 100px;
    border-radius: 5px;
}
.kontakt > * {
    min-width: 250px;
    text-decoration: none;
}
.kontakt a {
    text-align: left ;
    text-decoration: none;
}
.full_size_fixed_container {
    min-width: 300px;
}
/* ---------------------------Footer---------------------------- */
footer {
    position: sticky;
    text-align: center;
    align-items: center;
    padding-top: 4%;
    padding-bottom: 4%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-color: #000000;
}
footer img {
	height: 140px;
	border: 1px solid rgb(144, 144, 144);
	border-radius: 5px;
	margin: 0 auto 2%;
}
footer div {
    color: white;
}
footer a {
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}
footer a:hover  {
color: rgb(198, 198, 198);
}
/* ---------------------------Back-top---------------------------- */
#back_top {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    text-align: center;
    display: none;
    transition: 0.5s;
    transform: translate(-50%,-50%);
}
#back_top a {
    text-decoration: none;
    color: #fff;
    line-height: 48px;
}
#back_top:hover {
    background-color: rgba(255, 255, 255, 0.5);
}
/* ----------------------------Kontakt-form--------------------------- */
#form {
    width: auto;
    box-sizing: border-box;
}
#name {
    width: 80%;
    border: none;
    border-bottom: 2px solid rgb(90, 90, 90);
}
#email {
    width: 80%;
    border: none;
    border-bottom: 2px solid rgb(90, 90, 90);
    background: rgba(192, 192, 192, 0);
}
#telefon {
    width: 80%;
    border: none;
    border-bottom: 2px solid rgb(90, 90, 90);
}
#Frage {
    background: rgba(192, 192, 192, 0);
    width: 80%;
    border: none;
    border-bottom: 2px solid rgb(90, 90, 90);
}
#form form>*  {
    padding: 1rem;   
}
input[type=text] {
    width: 80%;
    border: none;
    border-bottom: 2px solid rgb(90, 90, 90);
    background: rgba(192, 192, 192, 0);
    outline: none;
}
input[type=checkbox] {
    border-radius: 50%;
    outline: none;
} 
input {
    min-height: 30px;
    outline: none;
}
input[type=submit] {
    background: rgba(112, 112, 112, 0.9);
    border: none;
    color: white;
    padding: 4px 22px;
    text-decoration: none;
    margin: 4px 2px;
    border-radius:20px;
    cursor: pointer;
    outline: none;
}
#Frage{
    outline: none;
}
/* -----------------------------Buero--------------------------------- */
.textPhraseProjekte {
    padding: 4%;
}
.pdfDowloadBuero p {
    text-decoration: none;
    color: rebeccapurple;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: 30px;
}
/* -------------------------Datenschutzerklaerung------------------------------------- */
.datenschutzerklaerung {
    main {
        padding-top: 4%;
        padding-bottom: 2%;
    }
    article {
        padding: 4% ; 
    }
    main p {
        padding: 2% ; 
        text-align: start;
    }
    main h1, h2, h3 {
        padding: 2% ; 
    }
}
/* ------------------------------Kontakt-Seite--------------------------------------- */
#inhaltKontakt {
    padding-top: 15%;
}
/* ------------------------------Portfolio--------------------------------------- */
.gridProjekte {
    margin-top: 12%;
}
.titleP {
    padding-top: 4%;
}
.textPhraseProjekte {
    margin-top: 8%;
}
/* ------------------------------impressum--------------------------------------- */
.impressum {
    main {
        padding-top: 4%;
        padding-bottom: 2%;
    }
    article {
        padding: 4% ; 
    }
    main p {
        padding: 2% ; 
        text-align: start;
    }
    main h1, h2, h3 {
        padding: 2% ; 
        text-align: start;
    }
}


