/* ========================================
   FALLWERK – GRUNDLAYOUT
======================================== */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background: #06101f;
    color: #f4f7fb;

    line-height: 1.6;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
}


button {
    font: inherit;
}


section {
    scroll-margin-top: 90px;
}



/* ========================================
   NAVIGATION
======================================== */

.main-nav {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    background: rgba(2, 9, 21, 0.72);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


.nav-container {
    width: min(1180px, calc(100% - 50px));

    margin: 0 auto;

    min-height: 72px;

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

    gap: 30px;
}


.nav-brand {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;

    text-decoration: none;

    font-weight: 700;

    letter-spacing: 0.08em;
}


.nav-brand img {
    width: 34px;
    height: 34px;

    object-fit: contain;
}


.nav-brand span {
    font-size: 0.95rem;
}


.nav-links {
    display: flex;
    align-items: center;

    gap: 32px;
}


.nav-links a {
    position: relative;

    text-decoration: none;

    white-space: nowrap;

    font-size: 0.87rem;

    color: #b7c1cf;

    transition: color 0.2s ease;
}


.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: #1679ff;

    transition: width 0.25s ease;
}


.nav-links a:hover {
    color: #ffffff;
}


.nav-links a:hover::after {
    width: 100%;
}



/* ========================================
   HERO
======================================== */

.hero {
    min-height: 62vh;

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

    text-align: center;

    padding: 120px 25px 45px;

    background:

        linear-gradient(
            to bottom,
            transparent 65%,
            rgba(8, 19, 33, 0.35) 78%,
            rgba(8, 19, 33, 0.75) 90%,
            #081321 100%
        ),

        radial-gradient(
            circle at 70% 35%,
            rgba(20, 112, 255, 0.16),
            transparent 35%
        ),

        radial-gradient(
            circle at 20% 70%,
            rgba(0, 92, 220, 0.09),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #020915 0%,
            #06162d 55%,
            #03101f 100%
        );

    position: relative;
    overflow: hidden;
}


.hero::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    border: 1px solid rgba(46, 125, 255, 0.12);

    transform: rotate(45deg);

    right: -300px;
    top: -300px;
}


.hero::after {
    content: "";

    position: absolute;

    width: 500px;
    max-width: 80%;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(35, 125, 255, 0.35),
        transparent
    );

    left: 50%;
    bottom: 70px;

    transform: translateX(-50%);
}


.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1100px;
}


.hero-logo {
    width: min(760px, 88%);

    margin: 0 auto;

    height: auto;
}


.hero-text {
    margin-top: 22px;

    font-size: 1rem;

    letter-spacing: 0.28em;

    text-transform: uppercase;

    color: #9caabc;
}



/* ========================================
   ALLGEMEIN
======================================== */

main {
    background: #081321;
}


.section-container {
    width: min(1120px, calc(100% - 50px));

    margin: 0 auto;
}


.section-label {
    margin-bottom: 18px;

    color: #2581ff;

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 0.24em;

    text-transform: uppercase;
}



/* ========================================
   INTRO
======================================== */

.intro {
    max-width: 900px;

    margin: 0 auto;

    padding: 90px 30px 115px;

    text-align: center;
}


.intro h1 {
    margin-bottom: 25px;

    font-size: clamp(2rem, 4vw, 3.2rem);

    line-height: 1.15;

    letter-spacing: -0.03em;
}


.intro p:not(.section-label) {
    max-width: 720px;

    margin: 0 auto;

    font-size: 1.15rem;

    color: #aeb9c7;
}



/* ========================================
   PROJEKTE
======================================== */

.projects {
    padding: 110px 0 130px;

    background:

        radial-gradient(
            circle at 50% 100%,
            rgba(22, 121, 255, 0.06),
            transparent 35%
        ),

        #050e1b;

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

    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}


.section-heading {
    max-width: 760px;

    margin-bottom: 55px;
}


.section-heading h2 {
    margin-bottom: 20px;

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.15;

    letter-spacing: -0.03em;
}


.section-heading > p:last-child {
    color: #96a5b8;

    font-size: 1.05rem;
}


.project-grid {
    display: grid;

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

    gap: 25px;
}


.project-card {
    padding: 32px;

    background:

        radial-gradient(
            circle at 100% 0%,
            rgba(23, 121, 255, 0.12),
            transparent 40%
        ),

        #091525;

    border: 1px solid rgba(255, 255, 255, 0.07);

    border-radius: 12px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}


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

    border-color: rgba(37, 129, 255, 0.32);
}


.project-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;

    margin-bottom: 22px;
}


.project-type {
    margin-bottom: 7px;

    color: #718197;

    font-size: 0.72rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


.project-card h3 {
    font-size: 1.9rem;

    line-height: 1.15;

    letter-spacing: -0.03em;
}


.project-number {
    color: #267fff;

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 0.16em;
}


.project-description {
    min-height: 104px;

    margin-bottom: 25px;

    color: #aab5c4;

    font-size: 0.96rem;
}



/* ========================================
   YOUTUBE PLAYER
======================================== */

.youtube-player {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 50% 45%,
            rgba(30, 126, 255, 0.14),
            transparent 36%
        ),

        linear-gradient(
            145deg,
            #071526,
            #020914
        );

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 9px;
}


.youtube-player iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


.youtube-placeholder {
    position: absolute;

    inset: 0;

    padding: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}


.youtube-play-symbol {
    width: 54px;
    height: 54px;

    margin-bottom: 17px;

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

    padding-left: 4px;

    border: 1px solid rgba(37, 129, 255, 0.4);

    border-radius: 50%;

    background: rgba(37, 129, 255, 0.08);

    color: #2581ff;

    font-size: 1.15rem;
}


.youtube-placeholder strong {
    margin-bottom: 7px;

    font-size: 1rem;
}


.youtube-placeholder p {
    max-width: 340px;

    margin-bottom: 19px;

    color: #8493a6;

    font-size: 0.79rem;
}


.youtube-load-button {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 10px 17px;

    border: 1px solid rgba(37, 129, 255, 0.45);

    border-radius: 5px;

    background: rgba(37, 129, 255, 0.08);

    color: #ffffff;

    cursor: pointer;

    font-size: 0.83rem;

    font-weight: 700;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.youtube-load-button:hover {
    background: rgba(37, 129, 255, 0.18);

    border-color: #2581ff;

    transform: translateY(-1px);
}


.youtube-load-button span {
    color: #2581ff;
}



/* ========================================
   PROJEKT FOOTER
======================================== */

.project-footer {
    padding-top: 22px;
}


.project-link {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: #2581ff;

    font-size: 0.9rem;

    font-weight: 700;
}


.project-link span {
    transition: transform 0.2s ease;
}


.project-link:hover span {
    transform: translateX(4px);
}



/* ========================================
   ÜBER FALLWERK
======================================== */

.about {
    padding: 130px 0;

    background:

        radial-gradient(
            circle at 10% 50%,
            rgba(20, 112, 255, 0.09),
            transparent 30%
        ),

        #081321;
}


.about-inner {
    width: min(1080px, calc(100% - 50px));

    margin: 0 auto;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 110px;
}


.about-title h2 {
    font-size: clamp(2.8rem, 6vw, 5.2rem);

    line-height: 0.98;

    letter-spacing: -0.05em;
}


.about-text {
    padding-top: 40px;
}


.about-text p {
    margin-bottom: 25px;

    color: #aab5c4;

    font-size: 1.07rem;
}



/* ========================================
   KONTAKT
======================================== */

.contact {
    padding: 130px 25px;

    text-align: center;

    background:

        radial-gradient(
            circle at 50% 100%,
            rgba(16, 112, 255, 0.13),
            transparent 35%
        ),

        #050e1b;

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


.contact-inner {
    max-width: 730px;

    margin: 0 auto;
}


.contact h2 {
    margin-bottom: 22px;

    font-size: clamp(2.3rem, 5vw, 4rem);

    line-height: 1.1;

    letter-spacing: -0.04em;
}


.contact p:not(.section-label) {
    color: #98a7b9;

    font-size: 1.05rem;
}


.contact-button {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-top: 35px;

    padding: 14px 24px;

    background: #1679ff;
    color: #ffffff;

    border-radius: 6px;

    text-decoration: none;

    font-size: 0.95rem;

    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-button:hover {
    background: #3189ff;

    transform: translateY(-2px);

    box-shadow: 0 10px 30px rgba(22, 121, 255, 0.18);
}


.contact-button span {
    transition: transform 0.2s ease;
}


.contact-button:hover span {
    transform: translateX(4px);
}



/* ========================================
   FOOTER
======================================== */

footer {
    background: #020914;

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

    padding: 32px 40px;

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

    gap: 20px;

    color: #758398;

    font-size: 0.88rem;
}


.footer-brand {
    display: flex;
    align-items: center;

    gap: 14px;
}


.footer-brand img {
    width: 27px;
    height: 27px;

    object-fit: contain;
}


footer nav {
    display: flex;

    gap: 25px;
}


footer a {
    color: #aeb9c7;

    text-decoration: none;

    transition: color 0.2s ease;
}


footer a:hover {
    color: #2581ff;
}



/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

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


    .project-description {
        min-height: auto;
    }


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

        gap: 25px;
    }


    .about-text {
        padding-top: 15px;
    }

}



/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {

    .nav-container {
        width: calc(100% - 30px);

        min-height: 62px;
    }


    .nav-brand span {
        display: none;
    }


    .nav-brand img {
        width: 32px;
        height: 32px;
    }


    .nav-links {
        gap: 18px;
    }


    .nav-links a {
        font-size: 0.74rem;
    }


    .nav-links a:nth-child(3) {
        display: none;
    }


    .hero {
        min-height: 55vh;

        padding: 105px 20px 40px;
    }


    .hero-logo {
        width: 100%;
    }


    .hero-text {
        margin-top: 18px;

        font-size: 0.72rem;

        letter-spacing: 0.17em;
    }


    .intro {
        padding: 70px 22px 85px;
    }


    .intro p:not(.section-label) {
        font-size: 1rem;
    }


    .section-container {
        width: calc(100% - 40px);
    }


    .projects {
        padding: 80px 0 95px;
    }


    .section-heading {
        margin-bottom: 40px;
    }


    .project-card {
        padding: 23px;
    }


    .project-card h3 {
        font-size: 1.65rem;
    }


    .project-description {
        font-size: 0.92rem;
    }


    .youtube-placeholder {
        padding: 15px;
    }


    .youtube-play-symbol {
        width: 42px;
        height: 42px;

        margin-bottom: 9px;

        font-size: 0.9rem;
    }


    .youtube-placeholder strong {
        font-size: 0.87rem;
    }


    .youtube-placeholder p {
        margin-bottom: 11px;

        font-size: 0.68rem;
    }


    .youtube-load-button {
        padding: 7px 12px;

        font-size: 0.73rem;
    }


    .about {
        padding: 90px 0;
    }


    .about-inner {
        width: calc(100% - 40px);
    }


    .contact {
        padding: 95px 22px;
    }


    footer {
        padding: 30px 20px;

        flex-direction: column;

        text-align: center;
    }

}