*{
    margin: 0;
    padding: 0;
}
:root{
    --font-size-L: 30px;
    --font-size-M: 22px;
    --font-size-S: 12px;
}
body{
    background-color: #999;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100vw;
}
header{
    display: flex;
    flex-direction: row;
    position: fixed;
    z-index: 100;
}
header a, footer a{
    text-decoration: none;
    color: #000;
}
footer{
    display: flex;
    flex-direction: row;
    align-items: start;
    margin-top: auto;
    margin-bottom: 12px ;
}
video::-webkit-media-controls-overlay-cast-button {
  display: none;
}

/* Verhindert den Abdunkelungs-Effekt */
video:hover::-webkit-media-controls-enclosure {
  background: transparent !important;
}
#hero{
    height: 100vh;
    width: 100vw;
}
#hero.is-hidden {
    height: 0vh;
  }
.menu{
    display: flex;
    flex-direction: row;
}
h1, h2, h3, p, a, li{
    font-size: var(--font-size-M);
    margin-bottom: 0px;
    font-weight: normal;
    letter-spacing: -0.8px;
}
.text li, .infoblock li{
    list-style: none;
}
a{
    color: black;
}
button{
    border-radius: 10px;
    background: #CEFF48;
    box-shadow: 
        0 0 3px 0 #CEFF48,
        0 0 5px 0 #CEFF48, 
        0 0 10px 0 #CEFF48,
        0 0 15px 0 #CEFF48,
        0 0 25px 0 #CEFF48;
    border: none;
    font-size: var(--font-size-L);
    cursor: pointer;
    color: #000;
    letter-spacing: -1.5px;
    margin: 12px;
    height: 20px;
    padding: 0 5px;
    display: flex;
    align-items: center;
}
button:hover{
    background: #000;
    box-shadow: 
        0 0 3px 0 #000,
        0 0 5px 0 #000, 
        0 0 10px 0 #000,
        0 0 15px 0 #000,
        0 0 25px 0 #000;
    color: #B7B7B7;
}
#kontaktbutton{
    text-decoration: none;
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 100;
}
.default-section{
    margin: 48px 12px 12px 12px;
}
.text{
    max-width: 80ch;
}
.margin-bottom-48{
    margin-bottom: 48px;
}
#posts{
    margin: 12px 12px 12px 12px; 
    display: grid;
    grid-template-columns: repeat(3, calc((100vw - 48px) / 3));
    grid-auto-rows: 0px;
    gap: 12px;
}

.post-link{
    /* margin-bottom: 12px; */
    grid-row-end: span 1; 
    width: 100%;
    height: fit-content;
    text-decoration: none;
}
.post{
    display: flex;
    flex-direction: column;
    height: fit-content;
    gap: 0px;
}
.post.display-post {
  height: fit-content;
  pointer-events: none;
}
.displaytext{
    size: 72px;
}
.img-tags{
    position: relative;
}
.post .cover{
    width: 100%;
    height: auto;
    transition: filter .2s;
}
.cover video{
    object-fit: cover;
}
.post-description{
    background: #C5C5C5;
    padding: 4px;
    color: #000;
    margin-top: -12px;
    z-index: 11;
}
.tags{
    display: flex;
    flex-direction: row;
    row-gap: 12px;
    column-gap: 12px;
    margin-left: 12px;
    opacity: 0;
    transition: opacity .2s;
    width: 100%;
    flex-wrap: wrap;
    margin-top: -30px;
    margin-bottom: 24px;
    align-items: flex-end;
    align-content: flex-end;
    position: absolute;
    bottom: 0px;
    left: 0px;
}
.tag{
    border-radius: 16px;
    background: #CEFF48;
    box-shadow: 
        0 0 3px 0 #CEFF48,
        0 0 5px 0 #CEFF48, 
        0 0 5px 0 #CEFF48,
        0 0 10px 0 #CEFF48;
    cursor: pointer;
    color: #000;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    height: 10px;
    padding: 0 2px;
}
.tag-text{
    font-size: var(--font-size-M);
}
/* .tag:hover{
    background: #000;
    box-shadow: 
        0 0 3px 0 #000,
        0 0 5px 0 #000, 
        0 0 5px 0 #000,
        0 0 10px 0 #000;
    color: #999;
} */
.kachel-icon{
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 100;
    height: 32px;
    width: 32px !important;
    border-radius: 21px;
}
.kachel-icon img{
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: -webkit-fill-available;
}
.post-link:hover .tags {
    opacity: 1;
}
.post-link:hover .post-description{
    background: #000;
    color: #C5C5C5;
}
.post-link:hover .cover{
    filter: blur(5px);
}
#about{
    margin: 48px 12px 12px 12px;
}
.info{
    width: 50%;
}
.contact-info{
    opacity: 0;
    margin-left: 5px;
}
/* .contact-container:hover .contact-icon{
    opacity: 0;
} */
.contact-container:hover .contact-info{
    opacity: 1;
    text-decoration: underline;
}
#teampic{
    width: calc(50vw - 12px);
    height: calc(100vh - 60px);
    position: fixed;
    top: 48px;
    right: 12px;
}

#teampic img, #hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.infoblock{
    margin-bottom: 48px;
    max-width: 80ch;
}
#abbinder{
    width: 180px;
}
.client-title{
    display: flex;
    justify-content: end;
    margin-right: 12px;
}

@media screen and (max-width: 900px) {
    #posts{
        margin: 12px; 
        display: grid;
        grid-template-columns: repeat(2, calc((100vw - 36px) / 2));
        grid-auto-rows: 0px;
        gap: 12px;
    }
    #teampic{
        width: calc(100vw - 24px);
        height: fit-content;
        position: relative;
        top: unset;
        right: unset;
        left: unset;
    }
    #teampic img {
        position: relative;
        inset: 0;
        width: 100%;
        height: auto;
        object-fit: unset;
    }
    .info{
        margin-top: 12px;
        width: 100%;
    }   
    .tags{
        opacity: 1;
    }
    footer{
        flex-direction: column;
        max-width: calc(100vw - 24px);
        gap: 6px;
    }
    #about{
        display: flex;
        flex-direction: column;
    }
    .contact-info{
        display: none;
    }
}
@media screen and (max-width: 600px) {
    #posts{
        margin: 6px; 
        display: grid;
        grid-template-columns: repeat(1, calc((100vw - 12px)));
        grid-auto-rows: 0px;
        gap: 6px;
        width: calc(100vw - 12px);
        overflow-x: hidden;
    }
    .client-title{
    justify-content: start;
    margin-top: 48px;
}
}