/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0f0f0f;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* VIDEO */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.9)
    );
    z-index: 2;
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TEXT */
.hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    margin: 0.8rem 0 2rem;
    opacity: 0.85;
}

/* CARD */
.hero-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-card h2 {
    margin-bottom: 1rem;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 1rem 1.6rem;
    background-color: #6c63ff;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    width: fit-content;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.btn:hover {
    background-color: #554ee0;
    transform: translateY(-2px);
}

.btn.secondary {
    background-color: #6c63ff;
    color: white;
    text-decoration: none;
    border: 2px solid #6c63ff;
   
}

.btn.secondary:hover {
    background-color: #6c63ff;
    color: white;
    transform: translateY(-2px);
}

/* SECTIONS */
.section {
    padding: 5rem 0;
    background-color: #fafafa;
    color: #1e1e1e;
}

.section.dark {
    background-color: #121212;
    color: white;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* SKILLS */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.skills-grid ul {
    list-style: none;
}

.skills-grid li {
    margin-bottom: 0.4rem;
}

.link-card {
    text-decoration: none;
    color: inherit;
}

.link-card:hover {
    transform: translateY(-8px);
}

/* PROJECTS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    padding: 0 3rem;
}

.project-card {
    display: block; /* wichtig für <a> */
    background-color: white;
    color: #1e1e1e;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
}

/* FOOTER */
footer {
    background-color: #0a0a0a;
    color: #aaa;
    text-align: center;
    padding: 2rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-card {
        padding: 1.5rem;
    }
}

/* -------------------- */
/* FILMPROJEKTE-SPECIFIC */
/* -------------------- */

/* SUB-HERO HEADER */
.sub-hero {
    padding: 6rem 0 3rem;
    background-color: #1a1a1a;
    text-align: center;
}

.sub-hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

.sub-hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin: 1rem 0 2rem;
}

/* FILM GRID */
.film-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

/* FILM CARD */
.film-card {
    background-color: #1e1e1e;
    color: white;
    padding: 1.8rem;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.film-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

/* Genre kleiner */
.film-card .genre {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

/* DETAILS ON HOVER */
.film-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 1rem;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.film-card:hover .film-details {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE FILMPROJEKTE */
@media (max-width: 768px) {
    .sub-hero h1 {
        font-size: 2.2rem;
    }

    .film-grid {
        grid-template-columns: 1fr;
    }

    .film-card {
        padding: 1.5rem;
    }
}

/* -------------------- */
/* PROFILSEITE LAYOUT   */
/* -------------------- */

.profile-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* PROFILBILD */
.profile-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* TEXTBEREICH */
.profile-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.profile-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.profile-content p {
    opacity: 0.9;
}

.profile-content ul {
    margin-top: 1rem;
    list-style: none;
    padding-left: 0;
}

.profile-content li {
    margin-bottom: 0.6rem;
    opacity: 0.85;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .profile-image img {
        margin: 0 auto;
        max-width: 300px;
    }
 }

 /* -------------------- */
/* ÜBER-MICH LAYOUT     */
/* -------------------- */

.about-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 4rem;
    align-items: center;
}

/* BILD LINKS */
.about-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 25px 50px rgba(0,0,0,0.45);
}

/* TEXT RECHTS */
.about-text h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .about-image img {
        max-width: 320px;
        margin: 0 auto;
    }
}
/* -------------------- */
/* INTERAKTIVE ANWENDUNGEN */
/* -------------------- */

.interactive-project {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Bild bewusst kleiner */
.interactive-project .project-image img {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 35px rgba(0,0,0,0.35);
}

/* Responsive */
@media (max-width: 900px) {
    .interactive-project {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .interactive-project .project-image img {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ANIMATION GRID */
.animation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

/* ANIMATION CARD */
.animation-card {
    background-color: #1e1e1e;
    color: white;
    padding: 1.6rem;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.animation-card:hover {
    transform: translateY(-6px);
}

/* BILDER KLEINER & EINHEITLICH */
.animation-card img {
    width: 100%;
    height: 180px;          
    object-fit: cover;      
    border-radius: 12px;
    margin-bottom: 1rem;
}

/* LIGHTBOX OVERLAY */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

/* LIGHTBOX IMAGE */
.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    animation: zoomIn 0.3s ease;
}

/* ZOOM ANIMATION */
@keyframes zoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* CURSOR */
.animation-card img {
    cursor: zoom-in;
}