/* =========================
   FONT FACES
========================= */
/* Magra – Headlines */
@font-face {
    font-family: 'Magra';
    src: url('/media/fonts/Magra-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Magra';
    src: url('/media/fonts/Magra-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Literata – Body / Editorial */
@font-face {
    font-family: 'Literata';
    src: url('/media/fonts/Literata-VariableFont.woff2') format('woff2');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}

/* =========================
   GLOBAL TYPE SETUP
========================= */
:root {
    --font-headline: 'Magra', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Literata', Georgia, 'Times New Roman', serif;
}

/* =========================
   BASE TEXT
========================= */
html,
body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* =========================
   HEADLINES
========================= */
h1,
h2,
h3,
h4,
h5,
.hero-title,
.project-hero-text h1,
.film-project-title,
.editorial-block p:first-child {
    font-family: var(--font-headline);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* stärkere Akzente */
strong,
b {
    font-weight: 700;
}

/* =========================
   SITE IDENTITY (NAME)
========================= */
.site-identity {
    position: fixed;
    top: 4vh;
    left: 4vw;
    font-family: var(--font-headline);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.25;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    pointer-events: auto;
}

.site-identity span {
    display: block;
}

.site-identity,
.site-identity:hover,
.site-identity:focus,
.site-identity:active {
    text-decoration: none !important;
}

.site-identity:hover {
    opacity: 0.75;
    text-decoration: none;
}

/* =========================
   EDITORIAL / ABOUT
========================= */
.about-text p,
.film-about-text p,
.project-text p,
.legal-block p {
    font-family: var(--font-body);
}

/* =========================
   NAV / UI
========================= */
.utility-nav,
.outro-link,
.outro-alt,
button {
    font-family: var(--font-headline);
}

/* =========================
   RESET – WICHTIG
========================= */
/* erzwingt echtes Dokument-Scrolling */
html,
body {
    width: 100%;
    height: auto !important;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: auto !important;
    overflow-x: hidden;
}

/* =========================
   LEGAL BASE
========================= */
body.legal {
    background: #000;
    color: rgba(255,255,255,0.8);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
}

/* =========================
   NAV
========================= */
.utility-nav {
    position: relative;

    /* NICHT fixed */
    padding: 6vh 8vw 0;
}

.utility-nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.utility-nav a:hover {
    opacity: 1;
}

/* =========================
   CONTAINER
========================= */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 8vh 8vw 16vh;
}

/* =========================
   SECTIONS
========================= */
.legal-section {
    margin-bottom: 14vh;
}

.legal-section h1 {
    font-size: 1.1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 5vh;
    opacity: 0.85;
}

/* =========================
   BLOCKS
========================= */
.legal-block {
    margin-bottom: 8vh;
}

.legal-block h2 {
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 4vh 0 1.5rem;
    opacity: 0.6;
}

.legal-block h3,
.legal-block h4 {
    font-size: 0.8rem;
    margin: 2.5rem 0 1rem;
    opacity: 0.75;
}

.legal-block p,
.legal-block li {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-bottom: 1.2rem;
}

.legal-block ul {
    padding-left: 1.2rem;
    margin-bottom: 2rem;
}

/* =========================
   NOTES
========================= */
.legal-note {
    font-size: 0.75rem;
    opacity: 0.45;
    margin-bottom: 2rem;
}

/* =========================
   DETAILS / SUMMARY
========================= */
details {
    margin-bottom: 6vh;
}

summary {
    cursor: pointer;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 2rem;
}

summary:hover {
    opacity: 1;
}

/* =========================
   LINKS
========================= */
a {
    color: rgba(255,255,255,0.85);
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.utility-nav {
    display: flex;
    justify-content: flex-end;

    /* schiebt Inhalt nach rechts */
    padding: 6vh 8vw 0;
}