/* Grundstruktur */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: #000;
}

/* Fonts einbinden */

@font-face {
    font-family: 'InterSemiBold';
    src: url('Inter_28pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'InterExtraLight';
    src: url('Inter_18pt-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

/* Fonts */

.content h1 { font-family: 'InterSemiBold', sans-serif; font-size: 32px; letter-spacing: -1px; margin-top: 35px; }
.content h2 { font-family: 'InterSemiBold', sans-serif; font-size: 24px; }
.content p { font-family: 'InterExtraLight', sans-serif; font-size: 19px; line-height: 26px; }
.content strong { font-family: 'InterSemiBold', sans-serif; font-size: 20px; }
.content a { color: #ffa200; text-decoration: none; }

/* Schwarzes Overlay (fade-out) */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: black;
    animation: fadeOut 1s ease forwards;
    z-index: 10;
    pointer-events: none;
}

/* Hintergrundbild */

.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    animation: colorize 0.5s ease 1s forwards;
    transform-origin: center;
    will-change: transform;
}

/* Content-Container */

.content {
    position: relative;
    z-index: 2;
    max-width: 825px;
    width: 100%;
    margin: 0 auto;
    padding: 180px 20px 100px 20px;
    color: white;
    text-align: left;
    box-sizing: border-box;
    user-select: text;
}

/* Fade-In Animation für Content-Elemente */

.content > * {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 1s ease 1s forwards;
}
.content img { animation-delay: 1s; max-width: 410px; width: 100%; height: auto; }
.content h1 { animation-delay: 1.3s; }
.content h2 { animation-delay: 1.6s; }
.content p { animation-delay: 1.6s; }

/* Keyframes */

@keyframes fadeOut { from {opacity:1;} to {opacity:0;} }
@keyframes colorize { from {filter:grayscale(100%);} to {filter:grayscale(0%);} }
@keyframes fadeInUp { from {opacity:0; transform:translateY(10px);} to {opacity:1; transform:translateY(0);} }

/* Mobile Anpassungen */

@media (max-width: 768px) {
    body {
        padding: 20px 0;
    }
    .content {
        padding: 50px 40px;
    }
    .content h1 { font-size: 28px; }
    .content h2 { font-size: 22px; }
    .content p { font-size: 16px; }
}