/* Reset */

*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
body {
  /* line-height: 1; */
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
#root, #__next {
  isolation: isolate;
}

/* studioe */

body {
    font-family: "Raleway", sans-serif;
    line-height: 1.7;
    font-size:14px;
    background-color: #f8f9f9;
    color:#575757;
}

h1 {

}

h2 {
    text-align: center;
    font-size: 30px;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom:36px;
    color:#000;
}

h3 {
    margin-bottom:16px;
    display: none;
}

h4 {
    font-size:18px;
}

#wrap {

}

#header {
    position: fixed;
    left:0;
    width:100%;
    top:0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    transition: background-color 240ms linear;
    background-color:#000;
}

#header-inner {
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width:100%;
    max-width:1030px;
}

#logo {
    width:180px;
}

#nav-button {
    width:40px;
    height:40px;
    background-color:#fff;
    margin-right: 16px;
}

#nav {
    position:absolute;
    top:0;
    right:0;
    display:none;
    flex-direction: column;
    align-items: end;
    gap: 16px;
    top: 80px;
    background-color: #000;
    padding: 36px;
    padding-right: 16px;
    padding-top: 16px;
}

#nav.active {
    display:flex;
}

#nav a{
    color:#fff;
    font-weight:600;
    text-decoration: none;
    text-transform: uppercase;
    mix-blend-mode: difference;
}

#nav a:hover {
    color:#f8931d;
}

#top {
    height:600px;
}


#top video{
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.section {
    display:flex;
    flex-direction: row;
    justify-content: center;
}

.section-inner {
    width:100%;
    max-width:1030px;
    padding: 120px 36px;
    background-position:center center;
    background-size:cover;
}

.block-container {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top:48px;
}

.block {
    flex: 0 0 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
}

.block img{
    width:80px;
    margin-bottom: 16px;
}

#about .block-container {
    margin-left:-36px;
    margin-right:-36px;
}

#audio {
    background-image:url(assets/img/hg-audio.jpg);
    color:#fff
}

#video {
    background-image:url(assets/img/hg-multimedia.jpg);
    color:#fff
}

#audio h2,#video h2{
    color:#fff
}

#audio .block img,#video .block img{
    width:140px;
}


#audio-detail .block-container, #video-detail .block-container {
    margin:0;
}

#audio-detail .block,#video-detail .block {
    flex: 100%;
    flex-direction: row;
    text-align: left;
    gap:16px;
    align-items: start;
}

#audio-detail .block img,#video-detail .block img{
    width:80px;
}

#idea {
    background-image:url(assets/img/hg-ideekonzept-1.png);
    background-color: rgba(255, 255, 255, 0.6); /* White overlay at 50% opacity */
    background-blend-mode: overlay;
}

#referenzen h3 {
    text-align: center;
}

#referenzen-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: center;
    margin-top: 24px;
    font-weight: 700;
    color: #f8941e;
    letter-spacing: 0.4px;
}

#partner-container {
    text-align: center;
    margin-top: 48px;
    display:flex;
    flex-direction:column;
    align-items:center;
}

#partner-container a {
    margin-top:16px;
}

#partner-container img{
    max-width:480px;
    width:100%;
}

#kontakt {
    text-align: center;
    border-top: 1px solid;
    color: #fff;
    background-color: #000;
}

#kontakt h2 {
    color:#fff;
}

#kontakt h4 {
    font-size:18px;
}

#kontakt p {
    margin-bottom:16px;
} 

#kontakt a {
    display:inline-block;
    color:#000;
    font-weight:600;
    text-decoration: none;
    background-color:#fff;
    border-radius: 999px;
    padding:8px 16px;
}

#kontakt a:first-of-type {
    margin-right:8px;
}

@media screen and (min-width: 940px) {
    h2 {
        font-size: 40px;
        letter-spacing: 3.5px;
    }
    #header {
        background-color:transparent;
    }
    #header.scrolled {
    background-color: #000000;
    /* backdrop-filter: blur(4px); */
    }
    #nav-button {
        display:none;
    }
    #nav {
        position: initial;
        flex-direction: row;
        align-items: center;
        gap:36px;
        background-color:transparent;
        top:initial;
        padding:0;
        display:flex;
    }
    .section-inner {
        /* padding: 120px ; */
    }
    .block {
        flex: 0 0 33.333333%;
    }
    
    #audio .block, #video .block {
        padding:24px;
    }

    #audio-detail .block, #video-detail .block {
        flex:50%;
        padding: 16px;
    }
}