/* ==========================================================================
   Hush Hush – Stylesheet
   Farben und Schriften oben als Variablen, damit sie leicht änderbar sind.
   ========================================================================== */

@font-face {
    font-family: "FS Silas Slab";
    src: url("../fonts/FSSilasSlabWeb-Bold.woff2") format("woff2"),
         url("../fonts/FSSilasSlabWeb-Bold.woff") format("woff");
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "Work Sans";
    src: url("../fonts/WorkSans-Regular.woff") format("woff");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Work Sans";
    src: url("../fonts/WorkSans-Bold.woff") format("woff");
    font-weight: 600 700;
    font-display: swap;
}

:root {
    --tuerkis: #00efc7;
    --schwarz: #000;
    --dunkel: #0a0a0a;
    --hellgrau: #dcdcdc;
    --weiss: #fff;
    --slab: "FS Silas Slab", Rockwell, "Roboto Slab", Georgia, serif;
    --sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;
    --nav-hoehe: 60px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-hoehe);
    -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    background: var(--weiss);
    color: var(--schwarz);
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; transition: color .1s ease-in-out, background-color .1s ease-in-out; }
a:hover { color: var(--tuerkis); }
button { font: inherit; color: inherit; }
::selection { background: var(--tuerkis); color: var(--schwarz); }

.visuell-versteckt {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; margin: -1px;
}
.sprunglink {
    position: absolute; left: 8px; top: -100px; z-index: 1000;
    background: var(--tuerkis); color: #000; padding: 8px 12px;
}
.sprunglink:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--tuerkis); outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero {
    height: 100vh;
    height: 100svh;
    min-height: 420px;
    background: radial-gradient(#fff, var(--hellgrau));
    display: grid;
    place-items: center;
    overflow: hidden;
}
.hero__bild {
    height: 90vh;
    height: 90svh;
    width: auto;
    max-width: 92vw;
    object-fit: contain;
}

/* ---------- Navigation ---------- */
.hauptnav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--dunkel);
    height: var(--nav-hoehe);
}
.ist-unterseite .hauptnav { position: fixed; left: 0; right: 0; }
.ist-unterseite main { padding-top: var(--nav-hoehe); }

.hauptnav__innen {
    max-width: 2000px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hauptnav__logo img { width: 150px; height: auto; margin-top: 5px; }
.hauptnav__liste {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.hauptnav__liste a {
    display: block;
    margin: 0 5px 0 10px;
    padding: 0 6px;
    font-family: var(--slab);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.6;
    color: var(--tuerkis);
    text-decoration: none;
}
.hauptnav__liste li:last-child a { margin-right: 0; }
.hauptnav__liste a:hover { background: var(--tuerkis); color: #000; }
.hauptnav__knopf { display: none; }

@media (max-width: 768px) {
    .hauptnav__innen { padding: 0 20px; }
    .hauptnav__knopf {
        display: block;
        width: 44px; height: 44px;
        margin-right: -10px;
        background: none; border: 0; cursor: pointer;
        position: relative;
    }
    .hauptnav__striche,
    .hauptnav__striche::before,
    .hauptnav__striche::after {
        position: absolute; left: 11px; width: 22px; height: 2px; background: var(--tuerkis);
        content: ""; transition: transform .2s;
    }
    .hauptnav__striche { top: 21px; }
    .hauptnav__striche::before { left: 0; top: -7px; }
    .hauptnav__striche::after { left: 0; top: 7px; }
    .hauptnav__knopf[aria-expanded="true"] .hauptnav__striche { background: transparent; }
    .hauptnav__knopf[aria-expanded="true"] .hauptnav__striche::before { transform: translateY(7px) rotate(45deg); }
    .hauptnav__knopf[aria-expanded="true"] .hauptnav__striche::after { transform: translateY(-7px) rotate(-45deg); }

    .hauptnav__liste {
        display: none;
        position: absolute;
        top: var(--nav-hoehe); left: 0; right: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, .9);
        padding: 10px 0 20px;
    }
    .hauptnav__liste.offen { display: flex; }
    .hauptnav__liste a { margin: 6px 20px; font-size: 22px; display: inline-block; }
}

/* ---------- Social-Leiste links ---------- */
.socialleiste {
    position: fixed;
    left: 0;
    top: 50%;
    z-index: 60;
    width: 45px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: rgba(255, 255, 255, .5);
    transform: translateY(-50%);
}
.socialleiste a {
    display: block;
    width: 42px;
    height: 32px;
    margin-bottom: 5px;
    background-repeat: no-repeat;
    background-size: 78px 32px;
    background-position: -40px 0;
    transition: none;
}
.socialleiste a:hover, .socialleiste a:focus-visible { background-position: 4px 0; }
.socialleiste__facebook  { background-image: url("../../bilder/site/social-facebook.png"); }
.socialleiste__instagram { background-image: url("../../bilder/site/social-instagram.png"); }
.socialleiste__linkedin  { background-image: url("../../bilder/site/social-linkedin.png"); }
.socialleiste__youtube   { background-image: url("../../bilder/site/social-youtube.png"); }
.socialleiste__vimeo     { background-image: url("../../bilder/site/social-vimeo.png"); }
.socialleiste__spotify   { background-image: url("../../bilder/site/social-spotify.png"); }
@media (max-width: 768px) {
    /* Auf dem Handy als Reihe im Footer statt am Rand */
    .socialleiste {
        position: static;
        transform: none;
        width: auto;
        display: flex;
        justify-content: center;
        gap: 6px;
        margin: 10px 0 18px;
        background: none;
    }
    .socialleiste a { margin: 0; }
}

/* ---------- Intro (dunkler Bereich) ---------- */
.intro {
    background: var(--dunkel);
    padding: 120px 20px;
}
.intro__text {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--slab);
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.3;
    color: var(--hellgrau);
}
@media (max-width: 768px) {
    .intro { padding: 70px 10px; }
    .intro__text { font-size: 1.8rem; text-align: center; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding-top: 70px; padding-bottom: 80px; }
.abschnitt__titel {
    margin: 0 0 50px;
    font-family: var(--slab);
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    text-align: center;
    color: #000;
}
.abschnitt__titel::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin: 22px auto 0;
    background: #000;
}

/* ---------- Work: Filter ---------- */
.filter {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    margin: 0 0 25px;
    padding: 0 10px;
}
.filter button {
    background: none;
    border: 0;
    padding: 7px 20px 6px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
}
.filter button:hover { color: var(--tuerkis); }
.filter button[aria-pressed="true"] { background: #000; color: #fff; }

/* ---------- Work: Raster ---------- */
.raster {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) { .raster { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .raster { grid-template-columns: repeat(2, 1fr); } }

.kachel a {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
}
.kachel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.kachel__titel {
    position: absolute;
    inset: auto 0 0 0;
    padding: 15px 20px;
    background: #000;
    color: var(--tuerkis);
    text-align: center;
    font-size: 14px;
    line-height: 1.35;
    transform: translateY(100%);
    transition: transform .25s ease;
}
.kachel a:hover img, .kachel a:focus-visible img { transform: scale(1.04); }
.kachel a:hover .kachel__titel,
.kachel a:focus-visible .kachel__titel { transform: translateY(0); }
@media (hover: none) {
    .kachel__titel { transform: none; background: rgba(0, 0, 0, .8); padding: 8px 10px; font-size: 12px; }
}

/* ---------- Releases ---------- */
.releases {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    width: 90%;
    max-width: 930px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    transition: opacity .2s;
}
.releases.gedimmt { opacity: .4; }
.release__knopf {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #eee;
    cursor: pointer;
    aspect-ratio: 1;
    overflow: hidden;
}
.release__knopf img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0;
    transition: transform .2s;
}
.release__titel {
    position: absolute;
    inset: auto 0 0 0;
    padding: 25px;
    background: #000;
    color: var(--tuerkis);
    text-align: center;
    transform: scaleY(0);
    transform-origin: center bottom;
    transition: transform .2s;
}
.release__knopf:hover img, .release__knopf:focus-visible img { transform: translateY(-30px) scale(1.12); }
.release__knopf:hover .release__titel,
.release__knopf:focus-visible .release__titel { transform: scaleY(1); }
@media (max-width: 1200px) { .releases { gap: 10px; max-width: 720px; } }
@media (max-width: 720px) {
    .releases { gap: 5px; max-width: 340px; }
    .release__titel { padding: 8px; font-size: 9px; line-height: 1.2; }
}

.release-popup {
    width: 400px;
    max-width: 90vw;
    max-height: calc(100vh - 120px);
    padding: 20px 50px;
    border: 10px solid var(--tuerkis);
    background: #fff;
    color: #000;
    margin-top: 90px;
}
.release-popup::backdrop { background: transparent; }
.release-popup__zu {
    position: absolute;
    top: 5px;
    right: 13px;
    border: 0;
    background: none;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
}
.release-popup__bild { width: 100%; aspect-ratio: 1; object-fit: cover; margin: 25px auto; }
.release-popup__daten { margin: 0 0 10px; }
.release-popup__daten div { margin: .2em 0; }
.release-popup__daten dt { display: inline; font-weight: 700; }
.release-popup__daten dd { display: inline; margin: 0; }
.release-popup__link {
    display: inline-block;
    margin: 10px 0 15px;
    padding: 5px 10px;
    background: #000;
    color: var(--tuerkis);
    font-weight: 700;
    text-decoration: none;
}
.release-popup__link:hover { color: #fff; }
@media (max-width: 720px) {
    .release-popup { padding: 10px 30px; margin-top: 70px; font-size: 12px; }
}

/* ---------- Library ---------- */
.library__vorschau { display: block; }
.library__vorschau img { width: 100%; }
.library {
    width: 1000px;
    max-width: 90vw;
    margin: 0 auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.library .medium--audio { width: 500px; max-width: 100%; }
.library__marke {
    display: inline-block;
    max-width: 900px;
    margin: 50px auto 10px;
    padding: 10px 20px 5px;
    background: var(--tuerkis);
    color: #000;
    font-family: var(--slab);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
}
.library h4 {
    margin: 0 0 10px;
    padding-top: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
}
.library p { margin: 0 0 1em; }
.library__katalog { margin-top: 80px; }
.library__katalog img { width: 234px; }

/* ---------- Team ---------- */
.team {
    position: relative;
    display: flex;
    gap: 0;
    width: 70%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 50px;
    text-align: center;
    font-size: 16px;
}
.team__person { flex: 1; }
.team__person img { width: 100%; }
.team__person > p { margin: 0; }
.markiert, .credit strong {
    background: var(--tuerkis);
    color: #000;
    padding: 2px 5px;
    margin-right: 5px;
    font-weight: 600;
}
.team__person > p:first-of-type { margin-top: 20px; }
.vita {
    position: relative;
    margin: 50px 0;
    padding: 0 25px;
}
.vita p {
    margin: 0;
    max-height: 150px;
    overflow: hidden;
    text-align: justify;
    hyphens: auto;
    font-size: 14px;
    transition: max-height .3s ease-in-out;
}
.vita::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: 125px;
    height: 25px;
    background: linear-gradient(rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
    transition: opacity .3s;
}
.team.offen .vita p { max-height: 1000px; }
.team.offen .vita::after { opacity: 0; }
.vita__knopf {
    position: absolute;
    left: calc(50% - 15px);
    width: 30px; height: 30px;
    border: 0;
    border-radius: 50%;
    background: #eee;
    cursor: pointer;
}
.vita__knopf::before { content: "+"; font-size: 18px; line-height: 30px; color: #fff; }
.vita__knopf:hover { background: var(--tuerkis); }
.team.offen .vita__knopf { display: none; }
.vita__knopf--einzeln { display: none; bottom: -50px; }
.vita__knopf--alle { bottom: 0; }
@media (max-width: 768px) {
    .team { flex-direction: column; align-items: center; width: 100%; padding: 0 20px; }
    .team__person { max-width: 300px; margin-bottom: 50px; }
    .vita__knopf--alle { display: none; }
    .vita__knopf--einzeln { display: block; }
}
@media (min-width: 769px) and (max-width: 980px) {
    .team__person p { font-size: 1.6vw; }
}

/* ---------- Kontakt ---------- */
.abschnitt--kontakt { padding-top: 70px; padding-bottom: 90px; }
.kontakt {
    font-style: normal;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
}
.kontakt a { text-decoration: none; }

/* ---------- Footer ---------- */
.fuss {
    position: relative;
    background: var(--dunkel);
    color: #fff;
    padding: 30px 35px 25px;
    text-align: center;
}
.fuss small { font-size: 11px; line-height: 1.8; }
.fuss a { color: #fff; text-decoration: underline; margin: 0 4px; }
.fuss a:hover { color: var(--tuerkis); }
.fuss .socialleiste a { margin: 0 0 5px; }
@media (max-width: 768px) { .fuss .socialleiste a { margin: 0; } }
.fuss__hoch {
    position: absolute;
    left: calc(50% - 20px);
    top: -40px;
    width: 40px;
    height: 40px;
    margin: 0 !important;
    background: var(--dunkel);
}
.fuss__hoch::before {
    content: "";
    position: absolute;
    left: 13px; top: 17px;
    width: 12px; height: 12px;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: rotate(45deg);
}
.fuss__hoch:hover { background: var(--tuerkis); }

/* ---------- Einbettungen (Video/Audio erst nach Klick) ---------- */
.medium { margin: 0 auto 20px; width: 750px; max-width: 100%; }
.medium--video .einbettung,
.medium--video iframe {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    padding: 0;
    background: #000;
    cursor: pointer;
}
.einbettung img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.einbettung:hover img { opacity: 1; }
.einbettung__play {
    position: absolute;
    left: 50%; top: 50%;
    width: 74px; height: 74px;
    margin: -37px 0 0 -37px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .75);
    transition: background .2s;
}
.einbettung__play::after {
    content: "";
    position: absolute;
    left: 29px; top: 22px;
    border-style: solid;
    border-width: 15px 0 15px 24px;
    border-color: transparent transparent transparent var(--tuerkis);
}
.einbettung:hover .einbettung__play { background: #000; }
.einbettung__hinweis { margin: 6px 0 0; font-size: 11px; color: #777; text-align: left; }
.medium--audio .einbettung {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: var(--h, 352px);
    max-height: 400px;
    border: 1px solid #ddd;
    background: #f4f4f4;
    cursor: pointer;
    font-weight: 600;
}
.medium--audio .einbettung__play { position: relative; left: auto; top: auto; margin: 0; width: 54px; height: 54px; flex: none; }
.medium--audio .einbettung__play::after { left: 21px; top: 15px; border-width: 12px 0 12px 19px; }
.medium--audio .einbettung:hover { border-color: var(--tuerkis); }
.medium--audio iframe { display: block; width: 100%; height: var(--h, 352px); border: 0; }
.medium--bild img { width: 100%; }
.einbettung__immer {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 6px;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}
.einbettung__immer input { margin: 2px 0 0; accent-color: #000; }

/* ---------- Projekt (Overlay und Einzelseite) ---------- */
.projekt { padding: 0 20px; }
.projekt__info { width: 750px; max-width: 100%; margin: 25px auto 0; }
.projekt__titel {
    margin: 0 0 8px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    text-align: left;
}
.credit { margin: 0 0 4px; }
.credit a { text-decoration: underline; }
.projekt__text { margin-top: 16px; }

.overlay {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.overlay::backdrop { background: #fff; }
.overlay__leiste {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    height: 50px;
    background: rgba(255, 255, 255, .92);
}
.overlay__leiste button {
    width: 50px; height: 50px;
    border: 0; background: none; cursor: pointer;
    position: relative;
    opacity: .65;
}
.overlay__leiste button:hover { opacity: 1; }
.overlay__leiste button:disabled { visibility: hidden; }
.overlay__zurueck::before, .overlay__weiter::before {
    content: "";
    position: absolute; left: 21px; top: 20px;
    width: 9px; height: 9px;
    border-left: 2px solid #000; border-bottom: 2px solid #000;
    transform: rotate(45deg);
}
.overlay__weiter::before { left: 17px; transform: rotate(-135deg); }
.overlay__zu { margin-left: auto; }
.overlay__zu::before, .overlay__zu::after {
    content: "";
    position: absolute; left: 16px; top: 24px;
    width: 18px; height: 2px; background: #000;
    transform: rotate(45deg);
}
.overlay__zu::after { transform: rotate(-45deg); }
.overlay__inhalt { padding: 10px 0 80px; }
.overlay__inhalt.laedt { opacity: .3; }
body.overlay-offen { overflow: hidden; }

.projektseite { padding: 50px 0 60px; }
.projektseite__nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    width: 750px;
    max-width: calc(100% - 40px);
    margin: 60px auto 0;
    font-size: 13px;
}
.projektseite__nav a { text-decoration: none; }
.projektseite__nach { text-align: right; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.textseite {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 20px 80px;
    text-align: center;
    font-size: 14px;
}
.textseite h2 { font-size: 18px; margin: 2em 0 .5em; }
.textseite h3 { font-size: 15px; margin: 1.6em 0 .4em; }
.textseite ul { list-style: none; padding: 0; }
.textseite a { word-break: break-word; }
