/* --- FONTS --- */
@font-face {
  font-display: swap; 
  font-family: 'Teko-Regular';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/Teko-Regular.ttf') format('truetype'); 
}

@font-face {
  font-display: swap; 
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400; 
  src: url('fonts/IBMPlexSans-VariableFont_wdth\,wght.ttf') format('truetype'); 
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Beibehaltung von clamp für dynamische Skalierung */
    font-size: clamp(0.75rem, 0.8vw + 0.8vh, 1rem);
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #000000 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- TYPOGRAFIE SYSTEM --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Teko-Regular', sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1rem; 
    line-height: 1.1; 
}

h2 { font-size: 2.625rem; margin-top: 0rem; margin-bottom: 1rem; }
h4 { font-size: 2rem; margin-top: 2.5rem; margin-bottom: 0.75rem; }
h5 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 0.5rem; }

p {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85); 
    line-height: 1.6; 
    margin-bottom: 1.5rem;
}

/* --- BILD- & VIDEO-ELEMENTE --- */
.bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
    background-color: #000;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

/* --- LOGO (SAFE ZONE TOP) --- */
.logo {
    position: fixed;
    width: clamp(19.75rem, 25vw, 35.25rem);
    top: clamp(1.25rem, 4vh, 2.5rem);
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 50; 
    transition: opacity 0.4s ease, transform 0.4s ease;
}

a.logo {
    display: block;
}

a.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.logo.hidden {
    opacity: 0;
    transform: translate(-50%, -1.875rem);
    pointer-events: none;
}

/* --- FOOTER (SAFE ZONE BOTTOM) --- */
.legal-footer {
    position: fixed;
    bottom: clamp(0.9375rem, 3vh, 1.875rem);
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 50; 
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 3vw, 1.5rem); 
}

.legal-footer a {
    font-family: 'Teko-Regular', sans-serif;
    font-size: clamp(1.2rem, 1.2vw + 0.5vh, 1.125rem);
    font-weight: 600; 
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    letter-spacing: 0.0625rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.legal-footer a:hover {
    color: #BAFEFE;
}

/* --- LINKS --- */
a {
    color: #2fe5e5;
    text-decoration: none;
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.link-container a {
    font-family: 'Teko-Regular', sans-serif;
    font-size: clamp(2rem, 7vh + 0.5vw, 1.5rem);
    font-weight: 600; 
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.125rem;
}

.link-container a:hover {
    color: #2fe5e5;
    text-shadow: 0 0 0.625rem rgba(0, 255, 255, 0.5);
    text-decoration: none; 
}

/* --- DYNAMISCHER LINK-WRAPPER --- */
/* --- DYNAMISCHER LINK-WRAPPER (FIXED) --- */
.link-container {
    position: absolute;
    /* Zentrierung erzwungen durch Flexbox & feste Positionierung */
    top: 15vh;        /* Fester Startpunkt in Relation zum Viewport */
    bottom: 12vh;     /* Fester Endpunkt */
    left: 50%;
    transform: translateX(-50%);
    
    width: 100%;
    max-width: 90vw;
    z-index: 10;
    
    display: flex;
    flex-direction: column;
    justify-content: center; /* WICHTIG: Zentriert die Links vertikal im Container */
    align-items: center;
    gap: 1.5rem;             /* Festerer Abstand für Stabilität */
    
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    
-webkit-mask-image: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 15%, 
        black 16%, 
        black 85%, 
        transparent 100%);
    mask-image: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 15%, 
        black 16%, 
        black 85%, 
        transparent 100%);
}