/* ================================================
   Benjamin Simon — benjaminsimon.de
   ================================================ */

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

:root {
    --black:    #0D0D0D;
    --white:    #FFFFFF;
    --gray:     #F4F4F4;
    --mid-gray: #888888;
    --font:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ---- NAVIGATION ---- */

#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.75rem 2.5rem;
    transition: background 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
    border-bottom: 1px solid transparent;
}

#nav.scrolled {
    background: var(--white);
    padding: 1.1rem 2.5rem;
    border-bottom-color: #e8e8e8;
}

.nav-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.35s ease, opacity 0.2s ease;
}

.nav-logo-img:hover {
    opacity: 0.7;
}

#nav.scrolled .nav-logo-img {
    filter: brightness(0);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.35s ease, opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.55;
}

#nav.scrolled .nav-links a {
    color: var(--black);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: background 0.35s ease;
}

#nav.scrolled .nav-toggle span {
    background: var(--black);
}


/* ---- HERO ---- */

#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    padding: 4rem 2.5rem;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-color: #1c1c1c;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center top;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.hero-content h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.0;
    margin-bottom: 1rem;
}

.hero-sub {
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}


/* ---- LABELS ---- */

.label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mid-gray);
    margin-bottom: 1.25rem;
}

.label--light {
    color: rgba(255, 255, 255, 0.4);
}


/* ---- BUTTONS ---- */

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.btn:hover {
    opacity: 0.65;
}

.btn--outline {
    background: transparent;
    color: var(--black);
    border: 1.5px solid currentColor;
}

.btn--outline:hover {
    background: var(--black);
    color: var(--white);
    opacity: 1;
}


/* ---- SCHAUSPIEL ---- */

#schauspiel {
    display: flex;
    align-items: stretch;
    min-height: 90vh;
}

.split {
    display: flex;
    width: 100%;
}

.split-image {
    flex: 1 1 50%;
    min-height: 65vh;
    background-color: #2e2e2e;
    background-image: url('../images/schauspiel.jpg');
    background-size: cover;
    background-position: center top;
}

.split-content {
    flex: 1 1 50%;
    padding: 6rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-content h2 {
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    font-weight: 300;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 1.75rem;
}

.split-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    font-weight: 300;
    margin-bottom: 2.75rem;
    max-width: 36ch;
}


/* ---- CONSULTING ---- */

#consulting {
    background: var(--black);
    color: var(--white);
}

.consulting-visual {
    height: 65vh;
    background-color: #111111;
    background-image: url('../images/consulting.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.consulting-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.consulting-content {
    padding: 6rem 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.consulting-content h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.0;
    margin-bottom: 1.75rem;
}

.consulting-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    max-width: 52ch;
    margin-bottom: 4rem;
}

.services {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.services li {
    display: flex;
    align-items: baseline;
    gap: 2.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.service-title {
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    flex: 0 0 220px;
}

.service-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    font-weight: 300;
}


/* ---- KONTAKT ---- */

#kontakt {
    padding: 9rem 2.5rem;
    background: var(--gray);
    text-align: center;
}

.kontakt-inner {
    max-width: 560px;
    margin: 0 auto;
}

#kontakt h2 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

#kontakt > .kontakt-inner > p {
    font-size: 1rem;
    color: #666;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 3rem;
}

.kontakt-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ---- FOOTER ---- */

footer {
    padding: 1.5rem 2.5rem;
    border-top: 1px solid #e8e8e8;
    text-align: center;
    font-size: 0.78rem;
    color: var(--mid-gray);
    letter-spacing: 0.03em;
}

footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--black);
}


/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
    .split-content {
        padding: 4rem 3rem;
    }

    .service-title {
        flex: 0 0 160px;
    }
}

@media (max-width: 768px) {
    /* Nav */
    #nav {
        padding: 1.4rem 1.5rem;
    }

    #nav.scrolled {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        border-bottom: 1px solid #e8e8e8;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        color: var(--black);
        font-size: 0.9rem;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero */
    #hero {
        padding: 3rem 1.5rem;
        align-items: flex-end;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    /* Split */
    .split {
        flex-direction: column;
    }

    .split-image {
        height: 55vw;
        min-height: 280px;
        flex: none;
    }

    .split-content {
        padding: 3.5rem 1.5rem;
    }

    .split-content p {
        max-width: 100%;
    }

    /* Consulting */
    .consulting-visual {
        height: 55vw;
        min-height: 240px;
    }

    .consulting-content {
        padding: 4rem 1.5rem;
    }

    .services li {
        flex-direction: column;
        gap: 0.5rem;
    }

    .service-title {
        flex: none;
    }

    /* Kontakt */
    #kontakt {
        padding: 6rem 1.5rem;
    }

    footer {
        padding: 1.5rem;
    }
}
