* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    font-family: Arial, sans-serif;

    background-color: #f1f0ea;

    color: #1c1c1c;
}



/* HEADER */

.header {
    position: absolute;

    top: 0;
    left: 0;

    z-index: 10;

    width: 100%;
    height: 80px;

    padding: 0 6%;

    display: flex;

    justify-content: space-between;
    align-items: center;

    color: white;
}


.logo {
    font-size: 22px;

    font-weight: bold;
}


.navigation {
    display: flex;

    gap: 30px;
}


.navigation a {
    color: white;

    text-decoration: none;

    font-size: 15px;
}


.navigation a:hover {
    opacity: 0.65;
}



/* HERO */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding: 120px 6% 70px;

    background-image: url("images/hero.jpg.png");

    background-size: cover;

    background-position: center;

    color: white;
}


.hero-overlay {
    position: absolute;

    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.30) 45%,
        rgba(0, 0, 0, 0.05) 75%
    );
}


.hero-content {
    position: relative;

    z-index: 2;

    max-width: 950px;
}


.hero-small {
    font-size: 14px;

    letter-spacing: 3px;

    margin-bottom: 25px;
}


.hero h1 {
    font-size: clamp(60px, 9vw, 100px);

    line-height: 0.9;

    margin: 0;

    letter-spacing: -5px;
}


.hero-text {
    max-width: 500px;

    margin-top: 35px;

    margin-bottom: 35px;

    font-size: 20px;

    line-height: 1.5;
}


.button {
    display: inline-block;

    padding: 16px 28px;

    background-color: white;

    color: #1c1c1c;

    text-decoration: none;

    font-size: 15px;
}


.button:hover {
    opacity: 0.85;
}



/* ALLGEMEINE BEREICHSÜBERSCHRIFT */

.section-head {
    margin-bottom: 45px;
}


.section-kicker {
    margin: 0 0 10px;

    font-size: 13px;

    letter-spacing: 2px;
}


.section-head h2 {
    margin: 0;

    font-size: clamp(36px, 4.5vw, 56px);

    line-height: 1;
}



/* PROJEKTE */

.projects {
    padding: 110px 6% 130px;
}


.project-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;
}


.project-card {
    overflow: hidden;

    background: #ffffff;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


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

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.12);
}


.project-image {
    overflow: hidden;
}


.project-card img {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 10;

    object-fit: cover;

    transition: transform 0.5s ease;
}


.project-card:hover img {
    transform: scale(1.035);
}


.project-content {
    padding: 28px;
}


.project-number {
    margin: 0 0 18px;

    font-size: 12px;

    letter-spacing: 2px;

    opacity: 0.5;
}


.project-content h3 {
    margin: 0 0 14px;

    font-size: 27px;

    line-height: 1.15;
}


.project-content p:last-child {
    max-width: 38ch;

    margin: 0;

    font-size: 16px;

    line-height: 1.6;

    color: #555;
}



/* VIDEOS */

.videos {
    padding: 110px 6% 130px;

    background-color: #1c1c1c;

    color: white;
}


.videos-head {
    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 40px;
}


.videos-intro {
    max-width: 430px;

    margin: 0 0 5px;

    font-size: 18px;

    line-height: 1.6;

    color: rgba(255, 255, 255, 0.7);
}


.video-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;
}


.video-card {
    display: block;

    color: inherit;

    text-decoration: none;

    cursor: pointer;
}


.video-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 10;

    background-color: #333;
}


.video-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease,
        opacity 0.4s ease;
}


.video-card:hover .video-image img {
    transform: scale(1.04);

    opacity: 0.8;
}


.play-button {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 64px;
    height: 64px;

    display: flex;

    justify-content: center;
    align-items: center;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.94);

    color: #1c1c1c;

    font-size: 20px;

    padding-left: 4px;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}


.video-card:hover .play-button {
    transform:
        translate(-50%, -50%)
        scale(1.08);

    background-color: white;
}


.video-content {
    padding-top: 22px;
}


.video-category {
    margin: 0 0 12px;

    font-size: 11px;

    letter-spacing: 2px;

    color: rgba(255, 255, 255, 0.5);
}


.video-content h3 {
    margin: 0 0 12px;

    font-size: 25px;

    line-height: 1.2;
}


.video-content p:last-child {
    margin: 0;

    max-width: 36ch;

    font-size: 15px;

    line-height: 1.6;

    color: rgba(255, 255, 255, 0.65);
}



/* ÜBER MICH */

.about {
    padding: 110px 6% 130px;

    background-color: #e4e2da;
}


.about-grid {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: clamp(50px, 8vw, 140px);

    align-items: start;
}


.about-heading h2 {
    margin: 0;

    font-size: clamp(36px, 4.5vw, 56px);

    line-height: 1;
}


.about-text {
    max-width: 680px;

    margin-left: auto;
}


.about-lead {
    margin: 0 0 32px;

    font-size: clamp(28px, 3vw, 42px);

    line-height: 1.15;

    font-weight: 600;
}


.about-text p:not(.about-lead) {
    margin: 0 0 22px;

    max-width: 55ch;

    font-size: 17px;

    line-height: 1.7;

    color: #4d4d4d;
}



/* KONTAKT */

.contact {
    padding: 110px 6% 130px;

    background-color: #f1f0ea;
}


.contact-grid {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: clamp(50px, 8vw, 140px);

    align-items: start;
}


.contact h2 {
    margin: 0;

    font-size: clamp(36px, 4.5vw, 56px);

    line-height: 1;
}


.contact-content {
    max-width: 680px;

    margin-left: auto;
}


.contact-lead {
    margin: 0 0 32px;

    font-size: clamp(26px, 3vw, 40px);

    line-height: 1.2;

    font-weight: 600;
}


.contact-mail {
    display: inline-block;

    margin-bottom: 45px;

    color: #1c1c1c;

    font-size: clamp(20px, 2vw, 28px);

    text-decoration: none;

    border-bottom: 1px solid #1c1c1c;

    padding-bottom: 5px;
}


.contact-mail:hover {
    opacity: 0.6;
}


.social-links {
    display: flex;

    flex-wrap: wrap;

    gap: 28px;
}


.social-links a {
    color: #1c1c1c;

    text-decoration: none;

    font-size: 15px;
}


.social-links a:hover {
    opacity: 0.6;
}



/* FOOTER */

.footer {
    padding: 70px 6% 35px;

    background-color: #111111;

    color: white;
}


.footer-main {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 50px;

    padding-bottom: 70px;
}


.footer-name {
    font-size: 28px;

    font-weight: 700;
}


.footer-links {
    display: flex;

    gap: 30px;

    flex-wrap: wrap;
}


.footer a {
    color: white;

    text-decoration: none;
}


.footer a:hover {
    opacity: 0.6;
}


.footer-bottom {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.2);

    font-size: 13px;

    color: rgba(255, 255, 255, 0.6);
}


.footer-bottom p {
    margin: 0;
}


.footer-legal {
    display: flex;

    gap: 25px;

    flex-wrap: wrap;
}


.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
}



/* IMPRESSUM & DATENSCHUTZ */

.legal-page {
    min-height: 100vh;

    padding: 80px 6%;

    background-color: #f1f0ea;
}


.legal-container {
    max-width: 850px;

    margin: 0 auto;
}


.legal-back {
    display: inline-block;

    margin-bottom: 70px;

    color: #1c1c1c;

    text-decoration: none;

    font-size: 14px;
}


.legal-back:hover {
    opacity: 0.6;
}


.legal-container h1 {
    margin: 0 0 50px;

    font-size: clamp(42px, 6vw, 72px);

    line-height: 1;
}


.legal-container h2 {
    margin-top: 45px;

    font-size: 24px;
}


.legal-container p {
    max-width: 70ch;

    font-size: 16px;

    line-height: 1.7;

    color: #4d4d4d;
}



/* COOKIE / CONSENT */

.cookie-banner {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;

    z-index: 9999;

    padding: 24px 6%;

    background-color: #111111;

    color: white;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18);

    display: none;

    max-height: 90vh;

    overflow-y: auto;
}


.cookie-banner.is-visible {
    display: block;
}


.cookie-content {
    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;
}


.cookie-text {
    max-width: 800px;
}


.cookie-text h3 {
    margin: 0 0 10px;

    font-size: 20px;
}


.cookie-text p {
    margin: 0;

    font-size: 14px;

    line-height: 1.6;

    color: rgba(255, 255, 255, 0.75);
}


.cookie-text a {
    color: white;
}


.cookie-actions {
    display: flex;

    gap: 12px;

    flex-shrink: 0;
}


.cookie-button {
    min-width: 120px;

    padding: 13px 20px;

    border: 1px solid white;

    font-family: Arial, sans-serif;

    font-size: 14px;

    cursor: pointer;
}


.cookie-button-primary {
    background-color: white;

    color: #111111;
}


.cookie-button-secondary {
    background-color: transparent;

    color: white;
}


.cookie-button:hover {
    opacity: 0.8;
}



/* TABLET */

@media (max-width: 900px) {

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


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


    .videos-head {
        display: block;
    }


    .videos-intro {
        margin-top: 30px;
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .about-text {
        margin-left: 0;
    }


    .contact-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .contact-content {
        margin-left: 0;
    }

}



/* HANDY */

@media (max-width: 700px) {

    .header {
        height: auto;

        padding-top: 25px;

        padding-bottom: 25px;
    }


    .navigation {
        display: none;
    }


    .hero {
        min-height: 100svh;

        align-items: flex-start;

        padding-top: 200px;

        background-position: 62% center;
    }


    .hero h1 {
        font-size: 55px;

        letter-spacing: -2px;
    }


    .hero-text {
        font-size: 18px;
    }


    .projects {
        padding-top: 80px;

        padding-bottom: 90px;
    }


    .videos {
        padding-top: 80px;

        padding-bottom: 90px;
    }


    .play-button {
        width: 56px;

        height: 56px;

        font-size: 17px;
    }


    .about {
        padding: 80px 6% 90px;
    }


    .contact {
        padding: 80px 6% 90px;
    }


    .footer {
        padding-top: 55px;
    }


    .footer-main {
        display: block;

        padding-bottom: 50px;
    }


    .footer-links {
        margin-top: 35px;

        flex-direction: column;

        gap: 15px;
    }


    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;
    }


    .cookie-banner {
        padding: 22px 6%;
    }


    .cookie-content {
        flex-direction: column;

        align-items: stretch;

        gap: 24px;
    }


    .cookie-actions {
        width: 100%;

        flex-direction: column;
    }


    .cookie-button {
        width: 100%;

        flex: 1;
    }

}